/* Scooby reseller directory and product picker. */
:root {
    color-scheme: dark;
    --bg: #0a0c10;
    --panel: #11151c;
    --text: #f3f5f9;
    --muted: #98a2b5;
    --accent: #b0c9ff;
    --line: #ffffff13;
    --line-strong: #ffffff25
}
* {
    box-sizing: border-box
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter,system-ui,-apple-system,sans-serif;
    line-height: 1.6
}
body.dialog-open {
    overflow: hidden
}
a {
    color: inherit;
    text-decoration: none
}
button,input,select {
    font: inherit
}
button {
    cursor: pointer;
    color: inherit
}
button,a,select {
    -webkit-tap-highlight-color: transparent
}
button:focus-visible,a:focus-visible,select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px
}
[hidden] {
    display: none!important
}
svg {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0
}
img {
    display: block;
    max-width: 100%
}
h1,h2,h3,p {
    margin: 0
}
h1,h2,h3 {
    line-height: 1.2;
    letter-spacing: -.04em
}
.skip-link {
    position: fixed;
    top: -80px;
    left: 18px;
    z-index: 5000;
    padding: 12px 18px;
    background: var(--accent);
    color: #0d1830;
    border-radius: 6px
}
.skip-link:focus {
    top: 12px
}
.partner-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #0a0c10f5;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px)
}
.header-inner {
    max-width: 1220px;
    min-height: 76px;
    padding: 12px 30px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}
.brand {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -1.4px;
    white-space: nowrap
}
.brand>span {
    margin-left: 17px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    color: #768298
}
.partner-nav {
    display: flex;
    align-items: center;
    gap: 26px
}
.partner-nav a {
    font-size: 12px;
    color: var(--muted)
}
.partner-nav a:hover,.partner-nav a[aria-current] {
    color: var(--text)
}
.partner-nav a[aria-current] {
    position: relative
}
.partner-nav a[aria-current]:after {
    content: '';
    position: absolute;
    inset: auto 0 -25px;
    height: 2px;
    background: var(--accent)
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px
}
.account-link {
    display: flex;
    gap: 8px;
    align-items: center;
    border: 1px solid var(--line-strong);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    color: #d2daea
}
.account-link svg {
    width: 15px;
    height: 15px
}
.menu-toggle {
    display: none;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: transparent;
    padding: 9px
}
.directory-shell {
    max-width: 1160px;
    margin: auto;
    padding: 0 30px
}
.directory-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 0 50px
}
.eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    color: var(--accent);
    line-height: 1.5
}
.directory-hero .eyebrow {
    margin-bottom: 20px
}
.directory-hero h1 {
    font-size: clamp(42px,5.2vw,66px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -.058em
}
.directory-hero h1>span {
    color: var(--accent)
}
.hero-description {
    margin-top: 22px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9
}
.hero-aside {
    padding: 12px 16px 0 0;
    min-width: 246px
}
.network-symbol {
    width: 102px;
    height: 102px;
    margin-bottom: 12px
}
.network-symbol svg {
    width: 100%;
    height: 100%;
    stroke: #334665;
    stroke-width: 1
}
.network-symbol .network-point {
    fill: var(--accent);
    stroke: var(--bg);
    stroke-width: 3
}
.hero-aside p {
    font-size: 16px;
    line-height: 1.6;
    color: #dce4f1;
    letter-spacing: -.02em
}
.hero-aside a {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 11px
}
.hero-aside a:hover {
    color: var(--accent)
}
.hero-aside a svg {
    width: 15px;
    height: 15px
}
.directory {
    border-top: 1px solid var(--line);
    padding-top: 28px
}
.directory-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px
}
.directory-heading h2 {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.025em
}
.directory-count {
    font-size: 11px;
    color: var(--muted)
}
.directory-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px
}
.region-filters {
    display: flex;
    gap: 5px;
    flex-wrap: wrap
}
.region-filters button {
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    padding: 9px 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 12px
}
.region-filters button:hover {
    color: var(--text);
    background: #ffffff05
}
.region-filters button[aria-pressed=true] {
    background: #1a2435;
    border-color: #334661;
    color: #d6e3ff
}
.region-filters button span {
    font-size: 10px;
    color: #8392aa;
    background: #ffffff07;
    border-radius: 4px;
    padding: 0 5px
}
.region-filters button[aria-pressed=true] span {
    background: #b0c9ff15;
    color: var(--accent)
}
.game-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: var(--muted)
}
.game-filter select {
    width: 150px;
    max-width: 100%;
    padding: 9px 12px;
    background: #11151c;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    font-size: 12px;
    color: #e0e6f1;
    cursor: pointer
}
.reseller-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px
}
.reseller-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--line-strong);
    background: #101319;
    border-radius: 12px;
    padding: 24px;
    transition: border-color .2s,background .2s
}
.reseller-card:hover {
    border-color: #485570;
    background: #131821
}
.official-card {
    background: #121b29;
    border-color: #3c5173
}
.official-card:hover {
    background: #162135;
    border-color: #7292c6
}
.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px
}
.seller-avatar {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff05;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0
}
.seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}
.store-tag {
    font-size: 10px;
    color: #99a5b8;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 4px 9px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 4px
}
.official-tag {
    color: #bdd2ff;
    border-color: #b0c9ff28;
    background: #b0c9ff09
}
.official-tag svg {
    width: 13px;
    height: 13px
}
.reseller-card h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.03em
}
.seller-description {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
    margin-top: 10px;
    min-height: 44px
}
.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 21px 0 23px
}
.game-tags span {
    padding: 3px 8px;
    color: #b6c0d1;
    background: #ffffff04;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 10px;
    line-height: 1.5
}
.card-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line)
}
.card-bottom .payment-note {
    grid-column: 1;
    grid-row: 1
}
.card-bottom .choose-products {
    grid-column: 1 / -1;
    grid-row: 2
}
.payment-note {
    display: block;
    font-size: 10px;
    color: #7e8ba2;
    margin-bottom: 12px
}
.choose-products {
    width: 100%;
    min-height: 41px;
    padding: 10px 12px;
    border: 1px solid #ffffff1b;
    border-radius: 6px;
    background: #ffffff04;
    text-align: left;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    font-weight: 500
}
.choose-products svg {
    width: 17px;
    height: 17px;
    color: #aebbd0
}
.choose-products:hover {
    background: #ffffff0b;
    border-color: #ffffff40
}
.official-card .choose-products {
    background: var(--accent);
    color: #152239;
    border-color: var(--accent)
}
.official-card .choose-products:hover {
    background: #c4d7ff
}
.official-card .choose-products svg {
    color: inherit
}
.seller-contact {
    display: block;
    grid-column: 2;
    grid-row: 1;
    font-size: 10px;
    color: var(--muted);
    text-align: right;
    margin: 0 0 12px
}
.seller-contact:hover {
    color: var(--accent)
}
.direct-products a {
    font-size: 12px;
    color: var(--accent)
}
.directory-empty {
    border: 1px dashed #ffffff26;
    border-radius: 12px;
    padding: 50px 20px;
    text-align: center;
    min-height: 290px
}
.empty-symbol {
    display: block;
    color: var(--accent);
    font-size: 32px;
    margin-bottom: 15px
}
.directory-empty h3 {
    font-size: 23px
}
.directory-empty p {
    font-size: 13px;
    color: var(--muted);
    margin: 12px auto 22px;
    max-width: 380px
}
.reset-filters {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 9px 14px;
    font-size: 12px;
    color: var(--accent);
    border: 1px solid #b0c9ff40;
    background: #b0c9ff08;
    border-radius: 6px
}
.directory-help {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin: 38px 0 48px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}
.directory-help>div {
    display: flex;
    gap: 15px;
    align-items: center
}
.help-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #ffffff20;
    border-radius: 50%;
    font-size: 14px;
    color: #a1b7db
}
.directory-help strong {
    font-size: 12px;
    font-weight: 500;
    display: block
}
.directory-help p>span {
    font-size: 11px;
    color: var(--muted);
    display: block;
    margin-top: 3px
}
.directory-help>a {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    color: var(--accent)
}
.directory-help>a svg {
    width: 17px;
    height: 17px
}
.partner-footer {
    max-width: 1160px;
    margin: auto;
    padding: 0 30px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}
.partner-footer>div {
    display: flex;
    align-items: center;
    gap: 22px
}
.footer-brand {
    font-weight: 700;
    letter-spacing: -1px;
    font-size: 20px
}
.partner-footer span,.partner-footer nav a {
    font-size: 10px;
    color: #7d899d
}
.partner-footer nav {
    display: flex;
    gap: 22px
}
.partner-footer nav a {
    display: flex;
    align-items: center;
    gap: 5px
}
.partner-footer svg {
    width: 12px;
    height: 12px
}
.reseller-dialog {
    padding: 0;
    width: calc(100% - 36px);
    max-width: 560px;
    max-height: calc(100dvh - 40px);
    margin: auto;
    color: var(--text);
    background: #10151e;
    border: 1px solid #3c4658;
    border-radius: 18px;
    overflow: auto;
    box-shadow: 0 30px 100px #0008
}
.reseller-dialog::backdrop {
    background: #04070dc7;
    backdrop-filter: blur(7px)
}
.reseller-dialog[open] {
    animation: dialog-in .18s ease-out
}
.dialog-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 23px 28px;
    background: #ffffff02;
    border-bottom: 1px solid var(--line)
}
.dialog-seller {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0
}
.dialog-seller .seller-avatar {
    width: 40px;
    height: 40px;
    border-radius: 9px
}
.dialog-seller .eyebrow {
    font-size: 8px;
    letter-spacing: .16em;
    color: #7f91ae;
    display: block;
    margin-bottom: 3px
}
.dialog-seller p {
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere
}
.dialog-close {
    background: #ffffff05;
    flex-shrink: 0;
    border: 1px solid #ffffff14;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #a8b3c6
}
.dialog-close:hover {
    background: #ffffff0e;
    color: #fff
}
.dialog-close svg {
    width: 17px;
    height: 17px
}
.dialog-body {
    padding: 28px
}
.dialog-step {
    font-size: 9px;
    letter-spacing: .16em;
    color: #91afe7;
    margin-bottom: 10px
}
.dialog-body h2 {
    font-size: 31px;
    letter-spacing: -.045em;
    font-weight: 600;
    outline: none
}
.dialog-body>p#dialog-description {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    margin-top: 9px
}
.product-options,.payment-options {
    display: grid;
    gap: 10px;
    margin-top: 24px
}
.product-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 17px;
    text-align: left;
    background: #171d28;
    border: 1px solid #ffffff12;
    border-radius: 10px;
    padding: 13px;
    transition: background .18s,border-color .18s
}
.product-option:hover {
    background: #202b3d;
    border-color: #789bc660
}
.product-art {
    position: relative;
    display: block;
    overflow: hidden;
    width: 96px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 7px;
    background: #222733
}
.product-art .product-art-scene {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.8);
}
.product-art .product-art-logo {
    position: absolute;
    inset: 15% 25%;
    width: 50%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px #0009);
}
.product-art--gta5 .product-art-logo { inset: 8% 18%; width: 64%; height: 84%; }
.product-art--rdr2 .product-art-logo { inset: 12% 10%; width: 80%; height: 76%; }
.product-copy {
    flex: 1;
    min-width: 0
}
.product-copy strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4
}
.product-copy small {
    display: block;
    font-size: 11px;
    line-height: 1.5;
    color: #8d9bb0;
    margin-top: 5px
}
.option-arrow {
    width: 17px;
    height: 17px;
    margin: 0 5px;
    color: #98add0
}
.dialog-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    border-top: 1px solid var(--line);
    padding: 17px 28px;
    font-size: 10px;
    line-height: 1.6;
    color: #8291a8
}
.dialog-footer svg {
    width: 13px;
    height: 13px
}
.dialog-back {
    border: 0;
    background: none;
    font-size: 11px;
    color: var(--accent);
    padding: 0;
    margin-bottom: 20px
}
.selected-product {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 12px;
    border: 1px solid #ffffff10;
    border-radius: 8px;
    background: #ffffff03
}
.selected-product > .product-art {
    width: 56px;
    height: 35px;
    object-fit: contain;
    border-radius: 4px
}
.selected-product strong {
    font-size: 12px;
    font-weight: 500
}
.payment-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 15px;
    border: 1px solid #ffffff17;
    border-radius: 9px;
    background: #171d28
}
.payment-option:hover {
    border-color: #789bc660;
    background: #202b3d
}
.payment-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: #abc7ff0a;
    border-radius: 8px;
    color: var(--accent);
    flex-shrink: 0
}
.payment-icon svg {
    width: 20px;
    height: 20px
}
.payment-copy {
    flex: 1;
    min-width: 0
}
.payment-copy strong {
    display: block;
    font-size: 13px;
    font-weight: 500
}
.payment-copy small {
    display: block;
    color: #8d9bb0;
    font-size: 10px;
    margin-top: 4px;
    overflow-wrap: anywhere
}
.payment-option:first-child {
    border-color: #6989b150
}
.payment-option .option-arrow {
    margin: 0;
    width: 15px;
    height: 15px
}
@keyframes dialog-in {
    from {
        opacity: 0;
        transform: translateY(8px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}
@media(min-width:1100px) {
    .reseller-card {
        min-height: 328px
    }
}
@media(max-width:1000px) {
    .header-inner {
        gap: 14px
    }
    .partner-nav {
        gap: 18px
    }
    .brand>span {
        display: none
    }
    .reseller-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
    .hero-aside {
        min-width: 220px;
        padding-right: 0
    }
    .directory-hero h1 {
        font-size: 55px
    }
}
@media(max-width:680px) {
    .header-inner {
        padding: 12px 20px;
        min-height: 68px
    }
    .brand {
        font-size: 23px
    }
    .account-link {
        display: none
    }
    .menu-toggle {
        display: block
    }
    .partner-nav {
        display: none;
        position: absolute;
        top: 100%;
        inset-inline: 0;
        background: #0e131c;
        padding: 20px;
        justify-content: center;
        border-bottom: 1px solid var(--line-strong)
    }
    .partner-nav.is-open {
        display: flex
    }
    .partner-nav a[aria-current]:after {
        bottom: -20px
    }
    .directory-shell {
        padding: 0 20px
    }
    .directory-hero {
        padding: 38px 0 32px;
        gap: 15px
    }
    .directory-hero h1 {
        font-size: clamp(39px,8.6vw,54px)
    }
    .directory-hero .eyebrow {
        font-size: 9px;
        margin-bottom: 16px
    }
    .hero-description {
        font-size: 12px;
        margin-top: 18px
    }
    .hero-description br {
        display: none
    }
    .hero-aside {
        display: none
    }
    .directory {
        padding-top: 23px
    }
    .directory-tools {
        align-items: stretch;
        flex-direction: column;
        gap: 16px
    }
    .region-filters {
        gap: 3px
    }
    .region-filters button {
        font-size: 11px;
        padding: 8px 10px;
        gap: 7px
    }
    .game-filter {
        justify-content: space-between
    }
    .game-filter select {
        width: 180px
    }
    .directory-heading {
        margin-bottom: 20px
    }
    .directory-heading h2 {
        font-size: 18px
    }
    .reseller-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }
    .reseller-card {
        padding: 22px
    }
    .card-top {
        margin-bottom: 18px
    }
    .seller-description {
        min-height: 0
    }
    .game-tags {
        margin-top: 18px;
        margin-bottom: 20px
    }
    .directory-help {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-top: 30px;
        margin-bottom: 30px
    }
    .directory-help>a {
        margin-left: 49px;
        font-size: 11px
    }
    .partner-footer {
        padding: 0 20px 25px;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px
    }
    .partner-footer>div {
        gap: 16px
    }
    .partner-footer nav {
        gap: 25px
    }
    .dialog-top {
        padding: 20px
    }
    .dialog-body {
        padding: 24px 20px
    }
    .dialog-body h2 {
        font-size: 28px
    }
    .dialog-footer {
        padding: 15px 20px
    }
    .product-option {
        padding: 12px;
        gap: 12px
    }
    .product-art {
        width: 72px;
        height: 45px
    }
    .product-copy strong {
        font-size: 13px
    }
    .product-copy small {
        font-size: 10px
    }
    .option-arrow {
        margin: 0;
        width: 15px
    }
    .payment-option {
        padding: 14px 12px;
        gap: 11px
    }
    .reseller-dialog {
        width: calc(100% - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 14px
    }
}
@media(prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        animation: none!important;
        transition: none!important;
        scroll-behavior: auto!important
    }
}
