/* AccountShop storefront: shared navigation and comparison-friendly cards. */
body { background-image: linear-gradient(180deg, rgba(13,14,26,.62), rgba(13,14,26,.84)), url('/public/images/bg.png') !important; }
:root[data-theme="light"] body { background-image: linear-gradient(180deg, rgba(246,247,251,.91), rgba(246,247,251,.97)), url('/public/images/bg.png') !important; }
.shop-container { width: min(1280px, 100%); margin-inline: auto; padding-inline: 32px; }
[data-navbar] .nav-bar-row { display: grid; grid-template-columns: auto minmax(160px, 1fr) auto; height: auto; min-height: 72px; gap: 0 32px; padding-top: 12px; }
[data-navbar].is-scrolled .nav-bar-row { height: auto; }
.shop-nav-search { display: flex; align-items: center; width: 100%; max-width: 520px; height: 42px; background: #171928; border: 1px solid #303248; border-radius: 10px; }
.shop-nav-search input { min-width: 0; width: 100%; padding: 10px 14px; background: transparent; color: #e2e8f0; font-size: 14px; border: 0; outline: none; }
.shop-nav-search button { display: grid; place-items: center; flex: 0 0 44px; height: 40px; color: #a78bfa; }
.shop-nav-search:focus-within { outline: 2px solid #a78bfa; outline-offset: 2px; }
[data-navbar] .shop-nav-categories { grid-row: 2; grid-column: 1 / -1; justify-content: center; border-top: 1px solid #242639; margin-top: 12px; padding: 5px 0; }
[data-navbar] .shop-nav-categories { position: relative; }
[data-navbar] .shop-nav-categories > .relative { position: static; }
[data-navbar] .shop-nav-categories .mega-panel { left: 0; max-width: 100%; }
[data-navbar] .shop-nav-actions { grid-column: 3; grid-row: 1; flex-shrink: 0; }
[data-navbar] .shop-nav-actions [data-global-search-trigger] { display: none; }
[data-navbar] .mega-panel::before { animation: none; background: #37314c; }
.storefront-home { background: transparent; color: #e2e8f0; }
.shop-hero { position: relative; isolation: isolate; overflow: hidden; padding: 50px 0 42px; background: linear-gradient(90deg, rgba(13,14,26,.25), transparent); }
.shop-hero-orbs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.shop-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; }
.shop-hero-copy { min-width: 0; }
.shop-eyebrow { display: block; color: #b8a1ee; font-size: 12px; font-weight: 700; letter-spacing: .16em; margin-bottom: 17px; }
.shop-hero h1 { color: #f5f5fa; font-size: clamp(38px, 4.5vw, 60px); line-height: 1.06; letter-spacing: -.045em; font-weight: 800; margin: 0 0 20px; }
.shop-hero h1 span { color: #b89aff; }
.shop-hero-copy > p { color: #a6acc3; font-size: 16px; line-height: 1.7; max-width: 465px; margin: 0 0 26px; }
.shop-search { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; background: #191b2b; border: 1px solid #48415e; border-radius: 12px; box-shadow: 0 10px 32px #0002; }
.shop-search > svg { flex-shrink: 0; color: #a7a9c0; }
.shop-search input { width: 100%; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font-size: 16px; }
.shop-search:focus-within { outline: 2px solid #a78bfa; outline-offset: 3px; }
.shop-search button { background: #7c3aed; color: #fff; border-radius: 8px; padding: 14px 17px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .18s; }
.shop-search button:hover { background: #6d28d9; }
.shop-search button span { margin-left: 10px; }
.shop-shortcuts { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; margin-top: 14px; color: #949bb2; }
.shop-shortcuts a { color: #ccd0e1; text-decoration: underline; text-decoration-color: #55546a; text-underline-offset: 4px; }
.shop-shortcuts a:hover { color: #c4b5fd; }
.shop-seller-link { display: inline-block; margin-top: 26px; font-size: 13px; color: #9da5bd; }
.shop-seller-link strong { color: #c4b5fd; font-weight: 600; margin-left: 5px; }
.shop-hero-art { display: grid; grid-template-columns: 1.18fr 1fr; grid-template-rows: 162px 162px; gap: 12px; transform: rotate(-2deg); }
.shop-art-card { position: relative; overflow: hidden; min-width: 0; background: #25273b; border: 1px solid #ffffff20; border-radius: 15px; box-shadow: 0 15px 40px #0003; }
.shop-art-card-0 { grid-row: 1 / 3; }
.shop-art-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.shop-art-card:hover img { transform: scale(1.04); }
.shop-art-card > span { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: linear-gradient(180deg, #0d0e1a00 15%, #0d0e1aaa 65%, #0d0e1af5); }
.shop-art-card small { font-size: 10px; letter-spacing: .11em; color: #ded3fa; margin-bottom: 7px; }
.shop-art-card strong { font-size: 18px; line-height: 1.25; font-weight: 700; color: #fff; }
.shop-art-card-0 strong { font-size: 28px; }
.shop-art-card em { display: flex; justify-content: space-between; align-items: center; font-style: normal; font-size: 12px; color: #cad0de; margin-top: 10px; }
.shop-art-card em b { font-size: 18px; }
.shop-art-card:not(.shop-art-card-0) small { display: none; }
.shop-protection { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; border-block: 1px solid #282a3e; padding: 20px 0; font-size: 12px; }
.shop-protection > strong { font-size: 13px; color: #dfe1ed; }
.shop-protection ol { display: flex; flex: 1; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 0; padding: 0; list-style: none; color: #adb4cb; }
.shop-protection li { display: flex; align-items: center; gap: 8px; }
.shop-protection li span { color: #a78bfa; font-size: 11px; font-weight: 700; }
.shop-protection-more { color: #c4b5fd; }
.storefront-home .shop-section { padding-block: 38px; }
.storefront-home .section-title { font-size: 26px; letter-spacing: -.025em; }
.shop-game-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.storefront-home .featured-tile { aspect-ratio: 3 / 4; border-radius: 12px; border-color: #2a2c42; }
.storefront-home .featured-tile-name { font-size: 15px; line-height: 1.3; }
.storefront-home .featured-tile-body { padding: 14px; }
.storefront-home .featured-tile-count { color: #bdc4d8; font-weight: 400; }
.storefront-home .featured-tile-count::before { display: none; }
.storefront-home .featured-tile:hover { box-shadow: 0 16px 30px #0003; }
.storefront-home .reveal, .storefront-home .stagger-children > * { opacity: 1; transform: none; }
.storefront-home .section-divider { opacity: .4; }
.listing-card-shell .listing-card-link { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 12px 16px; padding: 20px !important; height: 100%; }
.listing-card-shell .listing-card-main { display: contents; }
.listing-card-shell .listing-card-head { min-width: 0; padding-right: 78px; margin: 0; }
.listing-game-name { font-size: 12px; font-weight: 600; color: #b6a0e5; margin-bottom: 5px; }
.listing-card-shell .listing-card-head h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; line-height: 1.5; min-height: 3em; font-size: 14px; }
.listing-card-shell .listing-card-facts { grid-column: 1 / -1; margin: 0; gap: 6px; }
.listing-card-shell .listing-card-facts > span { font-size: 11px; line-height: 1.4; padding: 4px 7px; border-radius: 5px; }
.listing-card-shell .listing-card-facts .listing-region { color: #cbd5e1; background: #24273b; border: 1px solid #36394e; }
.listing-card-shell .listing-card-main > .flex.items-center { grid-column: 1 / -1; min-width: 0; }
.listing-card-shell .listing-seller { flex-wrap: wrap; gap: 7px; }
.listing-card-shell .listing-seller > .truncate { color: #adb4c8; max-width: 130px; }
.listing-card-shell .listing-card-price-rail { grid-column: 1 / -1; width: 100%; margin: 0; padding: 14px 0 0; flex-direction: row; align-items: baseline; justify-content: space-between; border-top: 1px solid #ffffff12; }
.listing-card-shell .listing-card-price { font-size: 23px; letter-spacing: -.03em; }
.listing-card-shell.listing-card-spotlight::before { display: none; }
.listing-card-shell.card { background: #151726; border-color: #2a2c40; border-radius: 12px; margin-bottom: 0; }
.listing-card-shell.card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px #0002; }
.shop-search button:focus-visible, .storefront-home a:focus-visible, [data-navbar] button:focus-visible, .listing-card-shell a:focus-visible { outline: 2px solid #a78bfa; outline-offset: 4px; }
:root[data-theme="light"] .storefront-home { background: transparent; color: #182033; }
:root[data-theme="light"] .shop-hero { background: linear-gradient(90deg, rgba(246,247,251,.4), transparent); }
:root[data-theme="light"] .shop-hero-orbs { opacity: .5; }
:root[data-theme="light"] .shop-hero h1 { color: #171d30; }
:root[data-theme="light"] .shop-hero h1 span, :root[data-theme="light"] .shop-eyebrow { color: #6d28d9; }
:root[data-theme="light"] .shop-hero-copy > p, :root[data-theme="light"] .shop-shortcuts, :root[data-theme="light"] .shop-seller-link { color: #566078; }
:root[data-theme="light"] .shop-search, :root[data-theme="light"] .shop-nav-search { background: #fff; border-color: #d4cde2; }
:root[data-theme="light"] .shop-search input, :root[data-theme="light"] .shop-nav-search input { color: #171d30; }
:root[data-theme="light"] .shop-shortcuts a, :root[data-theme="light"] .shop-seller-link strong, :root[data-theme="light"] .shop-protection-more, :root[data-theme="light"] .listing-game-name { color: #6d28d9; }
:root[data-theme="light"] .shop-protection, :root[data-theme="light"] [data-navbar] .shop-nav-categories { border-color: #dcdfea; }
:root[data-theme="light"] .shop-protection > strong { color: #1e293b; }
:root[data-theme="light"] .shop-protection ol, :root[data-theme="light"] .listing-card-shell .listing-seller > .truncate { color: #475569; }
:root[data-theme="light"] .listing-card-shell .listing-card-price-rail { border-color: #e2e8f0; }
:root[data-theme="light"] .listing-card-shell .listing-card-facts .listing-region { background: #f1f5f9; border-color: #cbd5e1; color: #334155; }
@media (max-width: 1100px) {
    [data-navbar] .nav-bar-row { gap: 0 20px; }
    [data-navbar] .wallet-badge { display: none; }
    .shop-hero-grid { gap: 28px; }
    .shop-game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .storefront-home .featured-tile { aspect-ratio: 16 / 10; }
    .shop-protection-more { display: none; }
}
@media (max-width: 767px) {
    [data-navbar] .nav-bar-row { display: flex; padding: 0; height: 64px; gap: 10px; }
    [data-navbar].is-scrolled .nav-bar-row { height: 64px; }
    [data-navbar] .shop-nav-categories, .shop-nav-search { display: none; }
    [data-navbar] .shop-nav-actions { gap: 4px; }
    [data-navbar] .shop-mobile-toggle { display: inline-flex; }
    [data-navbar] .shop-nav-actions .btn-signup { display: none; }
    .shop-container { padding-inline: 20px; }
    .shop-hero { padding: 32px 0; }
    .shop-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .shop-hero h1 { font-size: 42px; }
    .shop-hero-art { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 150px; transform: none; gap: 8px; }
    .shop-art-card-0 { grid-row: auto; }
    .shop-art-card > span { padding: 10px; }
    .shop-art-card small, .shop-art-card em { display: none; }
    .shop-art-card strong, .shop-art-card-0 strong { font-size: 14px; }
    .shop-search { gap: 8px; padding-left: 12px; }
    .shop-search button { padding: 13px 12px; }
    .shop-search button span { display: none; }
    .shop-protection { display: block; }
    .shop-protection ol { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; }
    .shop-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .storefront-home .shop-section { padding-block: 28px; }
    .storefront-home .section-title { font-size: 23px; }
    .listing-card-shell .listing-card-link { padding: 16px !important; gap: 12px; grid-template-columns: 46px minmax(0, 1fr); }
    .listing-card-shell .listing-card-link > .w-14 { width: 46px; height: 46px; }
    .listing-card-shell .listing-card-head { padding: 0; }
    .listing-card-shell .listing-game-name { padding-right: 78px; min-height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    .storefront-home *, .listing-card-shell, [data-navbar] * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
