:root {
  --ink: #142138;
  --muted: #738197;
  --blue: #5369df;
  --blue-strong: #3a51ca;
  --line: #e9e6e0;
  --wash: #fff8eb;
  --white: #fff;
  --green: #91ddbb;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-display: "Manrope", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; overscroll-behavior-y: none; }
body { margin: 0; color: var(--ink); background: var(--wash); background-image: radial-gradient(ellipse at 5% 35%,rgba(255,197,100,.15),transparent 33%),radial-gradient(ellipse at 97% 72%,rgba(100,182,255,.13),transparent 33%),radial-gradient(ellipse at 56% 98%,rgba(120,219,176,.12),transparent 36%); font-family: var(--font-body); font-size: 15px; -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.content-width { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.topbar { height: 78px; padding: 0 max(32px, calc((100% - 1230px)/2)); background: rgba(255,255,255,.94); display: flex; align-items: center; justify-content: space-between; gap: 26px; border-bottom: 1px solid rgba(233,224,211,.9); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.brand, .brand img, .brand span { -webkit-tap-highlight-color: transparent; }.brand:active, .brand:focus { color: inherit; background: transparent; filter: none; }.brand:active img { opacity: 1; filter: none; transform: none; }
.brand img { display: block; border-radius: 12px; object-fit: contain; }
.brand b { margin-left: 3px; color: #4c6485; font-weight: 600; letter-spacing: -.025em; }
.store-brand-group, .account-brand-group { display: flex; align-items: center; gap: 10px; }
.section-menu-toggle { display: none; flex: 0 0 auto; }
.section-menu-toggle:not([hidden]) { display: grid; }
.section-menu-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
body.has-user-session .topnav, body.has-user-session .mobile-menu { display: none !important; }
.section-menu-scrim { position: fixed; inset: var(--section-menu-top, 78px) 0 0; z-index: 90; border: 0; background: rgba(14,27,48,.08); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); cursor: default; }
.section-menu-scrim[hidden] { display: none; }
.section-drawer { position: fixed; z-index: 91; top: var(--section-menu-top, 78px); left: 0; display: flex; flex-direction: column; gap: 0; width: min(350px, 50vw); height: max-content; max-height: calc(100vh - var(--section-menu-top, 78px)); max-height: calc(100dvh - var(--section-menu-top, 78px)); min-height: 0; overflow-y: auto; padding: 23px clamp(10px, 4vw, 19px) max(16px, env(safe-area-inset-bottom)); border-right: 1px solid rgba(231,239,251,.24); color: #fff; background: rgba(12,24,43,.26); box-shadow: 18px 0 55px rgba(8,16,32,.16); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transform: translateX(-103%); visibility: hidden; transition: transform .22s ease, visibility .22s; }
.section-drawer.is-open { transform: translateX(0); visibility: visible; }
.section-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 0 1px 12px; border-bottom: 1px solid rgba(235,242,252,.25); }
.section-drawer-head .panel-kicker { color: rgba(255,255,255,.72); font-size: 10px; letter-spacing: .12em; font-weight: 700; }
.section-drawer-head h2 { margin: 5px 0 0; font-family: var(--font-display); font-size: 22px; letter-spacing: -.04em; }
.section-drawer-close { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.32); border-radius: 11px; color: #fff; background: rgba(255,255,255,.12); font-size: 23px; line-height: 1; cursor: pointer; }
.section-drawer-close:hover { background: rgba(255,255,255,.22); }
.section-drawer-nav { display: grid; gap: 3px; padding-top: 8px; }
.section-drawer-nav a { display: flex; align-items: center; min-height: 40px; padding: 5px 9px; border: 1px solid transparent; border-radius: 10px; color: #fff; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; text-shadow: 0 1px 4px rgba(0,0,0,.38); }
.section-drawer-nav a:hover, .section-drawer-nav a:focus-visible { border-color: rgba(255,255,255,.32); outline: none; color: #fff; background: rgba(255,255,255,.16); }
.section-drawer-nav a[aria-current="page"] { border-color: rgba(255,255,255,.28); color:#fff; background:rgba(255,255,255,.13); }
.section-drawer-nav .section-drawer-account { margin-top: 8px; border-color: rgba(255,222,160,.4); color: #fff; background: rgba(190,130,44,.3); }
.section-drawer-divider { height: 1px; margin: 5px 3px; background: rgba(235,242,252,.25); }
.section-drawer [hidden] { display: none !important; }
body.section-menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .section-drawer { transition: none; } }
.topnav { display: flex; align-items: center; gap: 36px; height: 100%; margin-left: auto; margin-right: auto; }
.nav-link { height: 100%; display: inline-flex; align-items: center; color: #738097; font-size: 13px; font-weight: 600; position: relative; transition: color .18s ease; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; bottom: 0; border-radius: 3px; background: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 17px; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; color: #354662; background: transparent; border-radius: 13px; cursor: pointer; transition: background .18s ease; }
.icon-button:hover { background: #f0f3f9; }
.icon-button svg, .search-box svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; width: 19px; height: 19px; }
.cart-toggle { position: relative; }.cart-count { position: absolute; top: 1px; right: 0; min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; border-radius: 20px; color: #fff; background: #e88849; font-size: 9px; font-weight: 800; line-height: 1; }.cart-count[hidden] { display: none; }
.admin-top-link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px; font-size: 12px; font-weight: 700; border: 1px solid #e5eaf3; border-radius: 12px; background: white; transition: box-shadow .18s ease, transform .18s ease; }
.admin-top-link:hover { box-shadow: 0 5px 18px rgba(31,61,101,.09); transform: translateY(-1px); }
.account-top-link { display:inline-flex;align-items:center;justify-content:center;height:41px;padding:0 15px;border:1px solid #edd9ae;border-radius:12px;color:#73501f;background:linear-gradient(110deg,#fff3d6,#ffe8bd);box-shadow:0 4px 12px rgba(207,151,63,.1);font-size:11px;font-weight:700;transition:.18s; }.account-top-link:hover { transform:translateY(-1px);border-color:#e5c681;background:linear-gradient(110deg,#ffedc4,#ffdfa5); }
.account-top-link.has-support-unread::after { content:""; width:8px; height:8px; margin-left:2px; border:1px solid rgba(255,255,255,.9); border-radius:50%; background:#16ad65; box-shadow:0 0 0 2px rgba(22,173,101,.16); animation:support-message-pulse 1.15s ease-in-out infinite; }
@keyframes support-message-pulse { 0%,100% { opacity:1; box-shadow:0 0 0 2px rgba(22,173,101,.16); } 50% { opacity:.42; box-shadow:0 0 0 5px rgba(22,173,101,.04); } }
@media(prefers-reduced-motion:reduce) { .account-top-link.has-support-unread::after { animation:none; } }
.admin-dot { width: 7px; height: 7px; border-radius: 100%; background: #7ed2aa; box-shadow: 0 0 0 3px #edf8f2; }
.mobile-menu { display: none; }
.hero-wrap { padding-top: 26px; }
.hero { overflow: hidden; position: relative; min-height: 424px; padding: 60px 70px 52px; border-radius: 25px; background: radial-gradient(ellipse at 76% 102%,rgba(50,174,212,.45),transparent 43%), radial-gradient(ellipse at 102% 0%,rgba(115,87,239,.48),transparent 36%), linear-gradient(117deg,#203c76 0%,#294e99 55%,#4543ae 100%); color: white; box-shadow: 0 24px 64px rgba(48,74,153,.22); isolation: isolate; }
.hero::before { position: absolute; content: ""; width: 410px; height: 410px; border: 1px solid rgba(172,202,249,.11); border-radius: 50%; right: 76px; top: 8px; z-index: -1; }
.hero::after { position: absolute; content: ""; width: 300px; height: 300px; border: 1px solid rgba(172,202,249,.12); border-radius: 50%; right: 130px; top: 63px; z-index: -1; }
.hero-content { width: 58%; max-width: 620px; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #76859b; font-size: 10px; letter-spacing: .17em; font-weight: 700; line-height: 1.4; }
.eyebrow-light { padding: 8px 12px; color: #d1dfef; background: rgba(255,255,255,.075); border: 1px solid rgba(230,239,255,.1); border-radius: 99px; letter-spacing: .025em; font-size: 11px; }
.eyebrow-controller { flex: 0 0 auto; width: 18px; height: 15px; overflow: visible; color: #a6e9c8; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.hero h1 { margin: 22px 0 14px; font-family: var(--font-display); font-size: clamp(36px, 4vw, 51px); line-height: 1.13; font-weight: 700; letter-spacing: -.055em; }
.hero h1 span { color: #a9d9ca; }
.hero-content > p { max-width: 460px; margin: 0; color: #c3ccdb; font-size: 14px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 27px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 15px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; font-size: 12px; font-weight: 700; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-white { color: #192842; background: white; box-shadow: 0 8px 22px rgba(2,13,33,.18); }
.button-white:hover { background: #f2f6ff; }
.hero-text-link { color: #e5ebf4; font-size: 12px; font-weight: 600; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 29px; color: #a8b5c8; font-size: 10px; }
.hero-bottom-label { position: absolute; bottom: 27px; left: 70px; color: #91a0b5; font-size: 8px; letter-spacing: .16em; font-weight: 700; }
.hero-bottom-label span { color: #bbd5f4; margin-right: 8px; }
.hero-orbit { position: absolute; width: 8px; height: 8px; background: #a7e6c9; border-radius: 50%; box-shadow: 0 0 16px rgba(170,255,210,.8); }
.orbit-one { right: 14.2%; top: 23%; }
.orbit-two { right: 34.5%; bottom: 15%; width: 5px; height: 5px; opacity: .7; }
.hero-art { position: absolute; width: 42%; max-width: 455px; height: 350px; top: 37px; right: 36px; }
.art-glow { position: absolute; width: 268px; height: 268px; border-radius: 50%; background: #598dec; opacity: .25; filter: blur(64px); top: 42px; left: 69px; }
.art-tile { display: grid; place-items: center; position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.38); box-shadow: 0 26px 46px rgba(5,13,32,.28), inset 0 1px 1px rgba(255,255,255,.55); border-radius: 29px; transform-style: preserve-3d; }
.tile-back { width: 139px; height: 139px; top: 85px; right: 20px; transform: rotate(12deg); background: linear-gradient(142deg,#b9ecd8,#6fcaac); opacity: .9; }
.tile-back img, .tile-mid img { width: 100%; height: 100%; object-fit: cover; }
.tile-back img, .tile-mid img { width: 100%; height: 100%; object-fit: cover; }
.tile-orbit { width: 67px; height: 67px; border: 2px solid rgba(21,59,71,.23); border-radius: 50%; transform: rotate(-24deg) scaleY(.46); position: relative; }
.tile-orbit::before, .tile-orbit::after { content: ""; position: absolute; inset: -9px 10px; border: 2px solid rgba(21,59,71,.23); border-radius: 50%; }
.tile-orbit::after { inset: 15px -8px; }
.tile-orbit span { position: absolute; width: 9px; height: 9px; top: -5px; left: 27px; border-radius: 50%; background: #183c54; }
.tile-orbit span:nth-child(2) { top: 30px; left: -4px; }
.tile-orbit span:nth-child(3) { top: 57px; left: 29px; }
.tile-mid { width: 118px; height: 118px; top: 42px; left: 72px; transform: rotate(-10deg); color: #466ee0; background: linear-gradient(145deg,#fcfcff,#cfdcff); }
.tile-sun { font-size: 33px; position: absolute; top: 15px; right: 18px; color: #97adff; }
.tile-bars { width: 59px; display: grid; gap: 7px; }
.tile-bars i { height: 5px; border-radius: 5px; background: linear-gradient(90deg,#3c73e5 60%,#adc3f8 60%); }
.tile-bars i:nth-child(2) { width: 43px; background: #a5b8ed; }
.tile-bars i:nth-child(3) { width: 51px; background: linear-gradient(90deg,#8caff4 50%,#d9e1fa 50%); }
.tile-front { width: 154px; height: 154px; top: 137px; left: 151px; z-index: 2; transform: rotate(5deg); border-radius: 34px; align-content: center; background: linear-gradient(145deg,#337ce4,#4c51c7); box-shadow: 0 26px 44px rgba(6,22,60,.4),inset 0 1px 1px rgba(255,255,255,.54); }
.tile-front img { width: 116px; height: 116px; border-radius: 28px; object-fit: contain; box-shadow: 0 8px 20px rgba(6,22,60,.22); }
.checkout-body h2 { margin: 10px 38px 8px 0; color: #20324d; font-family: var(--font-display); font-size: 22px; letter-spacing: -.04em; }
.checkout-body > p { color: #77869a; font-size: 12px; line-height: 1.75; }
.checkout-kicker { color: #55856f; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.checkout-product { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 21px 0; padding: 14px 0; border-block: 1px solid #edf0f5; color: #52627a; font-size: 12px; }
.checkout-product b { color: #20324d; font-size: 15px; white-space: nowrap; }
.paypal-button-container { width: min(100%, 420px); margin: 12px auto 0; }
.paypal-button-container[hidden] { display: none; }
.native-wallet-container { display: grid; gap: 9px; width: min(100%, 420px); margin: 9px auto 0; }
.native-wallet-container[hidden] { display: none; }
.native-wallet-container google-pay-button { width: 100%; min-height: 48px; }
.native-wallet-container apple-pay-button { display: block; width: 100%; height: 48px; }

/* PayPal v6 renders each eligible payment as its own foreground action. */
.paypal-button-container { display: grid; gap: 9px; }
.paypal-button-container[hidden] { display: none; }
.paypal-button-container paypal-button, .paypal-button-container paylater-button, .paypal-button-container paypal-pay-later-button,
.paypal-button-container paypal-credit-button, .paypal-button-container venmo-button,
.paypal-button-container paypal-basic-card-container { display: block; width: 100%; min-height: 46px; }
.paypal-button-container paypal-basic-card-button { display: block; width: 100%; min-height: 48px; }
.paypal-card-fields { display: grid; gap: 10px; padding: 14px; border: 1px solid #e5eaf2; border-radius: 12px; background: #fbfcfe; }
.paypal-card-fields h3 { margin: 0; color: #263852; font-size: 13px; }
.paypal-card-fields label { display: grid; gap: 5px; color: #53627a; font-size: 10px; font-weight: 600; }
.paypal-card-input { display: block; height: 42px; padding: 0 10px; border: 1px solid #dfe5ee; border-radius: 8px; background: #fff; }
.paypal-card-input iframe { width: 100%; height: 100%; }
.paypal-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.paypal-card-submit { min-height: 43px; color: #fff; background: #263852; }
.paypal-card-submit:disabled { opacity: .55; }
.paypal-guest-card-button { display:block; width:100%; min-height:48px; }
.payment-recheck { margin-top: 9px; }
.payment-recheck[hidden] { display: none; }
.checkout-error.is-pending { border-color: #f0dfbd; color: #8b682e; background: #fffaf0; }
.checkout-note { margin: 12px 0 0; font-size: 10px !important; }
.art-spark { position: absolute; color: #b5ebcd; }
.spark-a { right: 67px; top: 57px; font-size: 20px; }
.spark-b { left: 44px; bottom: 73px; font-size: 17px; color: #b7cbff; }
.spark-c { right: 48px; bottom: 63px; font-size: 35px; color: white; opacity: .8; }
.art-caption { position: absolute; display: flex; align-items: center; gap: 8px; right: 22px; bottom: 17px; color: #b2c1d5; font-size: 9px; letter-spacing: .04em; }
.caption-line { width: 18px; height: 1px; background: #a6dfc2; }
.trust-row { min-height: 104px; display: flex; align-items: center; justify-content: center; gap: clamp(24px, 6.7vw, 92px); margin-top: 17px; border: 1px solid #eee6d8; border-radius: 18px; background: rgba(255,255,255,.86); box-shadow: 0 9px 24px rgba(74,74,78,.04); }
.trust-item { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.trust-icon { width: 35px; height: 35px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; }
.trust-blue { color: #5366d1; background: #eeeefe; }
.trust-green { color: #37896b; background: #e2f7eb; font-weight: 700; }
.trust-orange { color: #dc8b38; background: #fff0d5; font-size: 19px; }
.trust-item div { display: grid; gap: 4px; }
.trust-item b { font-size: 11px; font-weight: 700; }
.trust-item div span { color: #8591a2; font-size: 10px; }
.mobile-apps { display: block; margin-top: 27px; }
.mobile-apps-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.mobile-apps-heading h2 { margin: 0; color: #243650; font-family: var(--font-display); font-size: 15px; letter-spacing: -.035em; }
.mobile-apps-heading a { color: #4d67c7; font-size: 11px; font-weight: 700; white-space: nowrap; }
.mobile-app-grid { display: flex; gap: 12px; width: 100%; overflow-x: auto; overflow-anchor: none; scroll-behavior: auto; padding: 2px 1px 10px; scrollbar-width: thin; scrollbar-color: #c8d2e3 transparent; }
.mobile-app-grid::-webkit-scrollbar { height: 4px; }
.mobile-app-grid::-webkit-scrollbar-thumb { border-radius: 4px; background: #c8d2e3; }
.mobile-app-tile { flex: 0 0 142px; min-width: 0; min-height: 130px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; padding: 10px 6px; border: 1px solid #e3eaf3; border-radius: 15px; color: #263853; background: linear-gradient(150deg,#fff,#f6f8ff); box-shadow: 0 7px 18px rgba(41,61,111,.07); text-align: center; cursor: pointer; scroll-snap-align: start; }
.mobile-app-tile:hover { border-color: #b8c9f2; background: #fff; }
.mobile-app-tile .app-icon { width: 48px; height: 48px; border-radius: 14px; }
.mobile-app-tile .app-icon img { object-fit: cover; }
.mobile-app-name { width: 100%; overflow: hidden; color: #243650; font-size: 11px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mobile-app-price { color: #9a681e; font-size: 11px; font-weight: 700; }
.mobile-app-price.free { color: #338361; }
.app-rating-preview { display:inline-flex;align-items:center;gap:4px;color:#77859a;font-size:9px;font-weight:600; }.app-rating-preview b { color:#e3a628;font-size:11px; }
.mobile-app-rating { color:#8290a2;font-size:9px; }.mobile-app-rating b { color:#e3a628; }
.trust-separator { width: 1px; height: 31px; background: #e1e6ef; }
.catalog-section { padding-top: 77px; padding-bottom: 68px; min-height: 430px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.heading-mark { width: 18px; height: 2px; background: #5f88eb; border-radius: 5px; }
.section-heading h2, .about-section h2 { margin: 10px 0 7px; font-family: var(--font-display); font-size: clamp(26px, 3.3vw, 36px); line-height: 1.23; letter-spacing: -.052em; font-weight: 700; }
.section-heading p { margin: 0; color: #7d8a9d; font-size: 12px; }
.search-box { width: 248px; height: 43px; padding: 0 10px 0 14px; border: 1px solid #e4e9f1; border-radius: 12px; display: flex; gap: 9px; align-items: center; background: #fff; color: #8591a4; transition: border-color .15s, box-shadow .15s; }
.search-box:focus-within { border-color: #a7a2eb; box-shadow: 0 0 0 3px rgba(103,98,209,.11); }
.search-box svg { width: 16px; height: 16px; flex: 0 0 auto; }
.search-box input { border: 0; background: transparent; min-width: 0; width: 100%; outline: 0; color: var(--ink); font-size: 11px; }
.search-box input::placeholder { color: #9aa5b3; }
.search-box kbd { display: grid; place-items: center; min-width: 20px; height: 21px; border: 1px solid #ebedf2; border-radius: 6px; color: #a1abba; background: #fafbfd; font-family: var(--font-body); font-size: 11px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 27px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.category-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.category-tab { min-height: 32px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; color: #738197; border: 1px solid transparent; border-radius: 9px; background: transparent; font-size: 10px; font-weight: 600; cursor: pointer; transition: all .17s; }
.category-tab:hover { color: #28456f; background: #eef3fb; }
.category-tab.selected { color: #4a5bc0; border-color: #dddffb; background: linear-gradient(110deg,#f0efff,#e9f3ff); box-shadow:0 2px 7px rgba(77,83,186,.06); }
.game-genre-filter { display: flex; align-items: center; gap: 13px; margin-top: 12px; }
.game-genre-label { flex: 0 0 auto; color: #738197; font-size: 10px; font-weight: 700; }
.game-genre-tabs { display: flex; gap: 7px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: thin; }
.game-genre-tab { min-height: 29px; flex: 0 0 auto; padding: 0 12px; border: 1px solid #dce3ec; border-radius: 99px; color: #586a83; background: rgba(255,255,255,.75); font-size: 10px; font-weight: 600; cursor: pointer; }
.game-genre-tab.selected { border-color: #86d2b3; color: #176e56; background: #e5f7ef; }
.tab-count { opacity: .65; font-size: 9px; }
.catalog-count { color: #8996a8; font-size: 10px; white-space: nowrap; }
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; padding-top: 21px; }
.app-card { min-width: 0; overflow: hidden; padding: 17px; border: 1px solid #e9e5dd; border-radius: 16px; background: linear-gradient(156deg,#fff 70%,#fffaf1); box-shadow: 0 7px 17px rgba(72,71,81,.045); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; cursor: pointer; }
.app-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(57,69,125,.12); border-color: #d8d5ed; }
.app-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.app-icon { flex: 0 0 auto; display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(58,89,145,.08); border-radius: 16px; color: #346cdf; background: linear-gradient(140deg,#e9f0ff,#f1f6ff); overflow: hidden; }
.app-card:nth-child(4n + 1) .app-icon { color:#4f5ed1;background:linear-gradient(145deg,#eceaff,#cfeaff); }.app-card:nth-child(4n + 2) .app-icon { color:#23866b;background:linear-gradient(145deg,#e0fff0,#c5edda); }.app-card:nth-child(4n + 3) .app-icon { color:#b56d28;background:linear-gradient(145deg,#fff0cb,#ffdbad); }.app-card:nth-child(4n + 4) .app-icon { color:#bb5770;background:linear-gradient(145deg,#ffe4ee,#eadfff); }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-icon > span { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.app-category { display: inline-flex; align-items: center; min-height: 23px; padding: 0 8px; color: #74849b; background: #f4f6fa; border-radius: 7px; font-size: 9px; font-weight: 600; }
.app-card h3 { overflow: hidden; margin: 14px 0 5px; color: #17243a; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.app-title-button { max-width: 100%; overflow: hidden; padding: 0; border: 0; color: inherit; background: transparent; font: inherit; letter-spacing: inherit; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }.app-title-button:hover { color: #3469d2; }
.app-summary { min-height: 37px; margin: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #8490a1; font-size: 10px; line-height: 1.65; }
.app-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 15px; margin-top: 13px; border-top: 1px solid #f0f2f6; }
.paid-card-actions { display: flex; gap: 6px; }.paid-card-actions .card-action { min-width: 0; padding-inline: 8px; }.card-action:disabled { cursor: default; opacity: .75; }.card-action.cart-action { color: #5264a6; border-color: #dfe4f2; background: #f2f4fb; }.card-action.cart-action:hover { background: #e9edf8; }
.app-card-bottom .cart-action { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 34px; width: auto; min-height: 31px; padding: 0 8px; border-radius: 9px; }
.cart-action-symbol { font-size: 17px; line-height: 1; }
.cart-action-symbol svg { display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round; }
.cart-action-label { font-size: 9px; font-weight: 700; }
.cart-action.is-in-cart { color: #338361; border-color: #cdeada; background: #e7f8ec; }
.price-label { color: #1e3050; font-size: 11px; font-weight: 700; }
.price-label.free { color: #429978; }
.price-label.purchased { color: #5365c5; }
.mobile-app-price.purchased { color: #5365c5; }
.card-action { height: 31px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; color: #3469d2; border: 1px solid #e1e9f8; border-radius: 9px; background: #f7f9ff; font-size: 9px; font-weight: 700; cursor: pointer; transition: background .15s, border .15s; white-space: nowrap; }
.card-action:hover { background: #ebf2ff; border-color: #d2e0fc; }
.card-action.buy-action { color:#8d5b19;border-color:#f1d9a9;background:linear-gradient(110deg,#fff1cc,#ffe3b0); }.card-action.buy-action:hover { border-color:#e6c47f;background:linear-gradient(110deg,#ffe7aa,#ffd693); }.card-action.free-action { color:#338361;border-color:#cdeada;background:linear-gradient(110deg,#e7f8ec,#d8f2ea); }.card-action.free-action:hover { border-color:#b3dfc7;background:linear-gradient(110deg,#d9f4e2,#c7ecdf); }
.card-action span { font-size: 12px; }
.featured-tag { display: flex; align-items: center; gap: 5px; color: #a37828; font-size: 8px; font-weight: 700; letter-spacing: .06em; }
.featured-tag span { font-size: 12px; color: #d6a449; }
.empty-state { min-height: 322px; display: flex; align-items: center; flex-direction: column; justify-content: center; padding: 24px; text-align: center; }
.empty-art { width: 115px; height: 99px; position: relative; display: grid; place-items: center; margin-bottom: 16px; }
.empty-window { width: 69px; height: 57px; position: absolute; left: 17px; top: 15px; padding: 9px; border: 1px solid #dce7f4; border-radius: 11px; background: linear-gradient(135deg,#fff,#f4f8ff); box-shadow: 0 7px 16px rgba(58,95,153,.1); transform: rotate(-8deg); }
.empty-window span { display: inline-block; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%; background: #89aff2; }
.empty-window span:nth-child(2) { background: #9fd7bf; }.empty-window span:nth-child(3) { background: #f2cd9d; }
.empty-window i { display: block; margin-top: 5px; text-align: center; color: #78a0ea; font-size: 19px; font-style: normal; }
.empty-orbit { width: 101px; height: 39px; border: 1px dashed #a8c2e9; border-radius: 50%; transform: rotate(-11deg); }
.empty-state .eyebrow { font-size: 8px; }
.empty-state h3 { margin: 8px 0 6px; font-family: var(--font-display); font-size: 23px; letter-spacing: -.045em; }
.empty-state p { max-width: 382px; margin: 0 0 18px; color: #8190a4; font-size: 11px; line-height: 1.7; }
.button-outline { min-height: 37px; padding: 0 13px; gap: 12px; border-color: #dde6f3; color: #345eae; background: white; font-size: 10px; }
.button-outline:hover { background: #f7f9fd; border-color: #cddcf3; }
.no-results { min-height: 210px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 9px; color: #718096; font-size: 12px; }
.no-results > span { font-size: 30px; color: #7d9fdb; }
.no-results button { border: 0; background: transparent; color: #3568d1; font-size: 11px; font-weight: 700; cursor: pointer; }
.catalog-footer { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 27px; color: #98a4b4; font-size: 10px; }
.footer-flower { color: #7db99f; font-size: 15px; }
.about-section { min-height: 190px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 36px; margin-bottom: 32px; padding: 28px 32px; border: 1px solid #e9dfca; border-radius: 19px; background: linear-gradient(110deg,#fff1d7,#fff9ee 59%,#edf5ff); }
.about-section h2 { margin: 9px 0 0; font-size: 26px; }
.about-section h2 span { color: #7c8ca3; }
.about-description-window { max-width: 520px; margin: 0; color: #667791; font-size: 12px; line-height: 1.8; }
.about-description-window p { margin: 0; }
.site-footer { border-top: 1px solid #ece2d2; background: rgba(255,255,255,.8); }
.footer-inner { min-height: 74px; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-size: 13px; gap: 8px; }.footer-brand img { border-radius: 10px; }
.copyright, .footer-admin { color: #8995a5; font-size: 9px; }.copyright { position: absolute; left: 50%; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.footer-admin { color: #93672a; font-weight: 700; }
.app-dialog { position: fixed; width: min(485px, calc(100vw - 32px)); max-width: none; max-height: min(82vh,760px); padding: 0; overflow: auto; border: 1px solid #e5eaf2; border-radius: 22px; color: var(--ink); background: #fff; box-shadow: 0 30px 100px rgba(15,35,65,.24); }
.app-dialog::backdrop { background: rgba(17,32,54,.51); backdrop-filter: blur(3px); }
.dialog-close { position: sticky; top: 13px; float: right; display: grid; place-items: center; width: 34px; height: 34px; margin: 13px 13px -47px 0; border: 1px solid #e9edf2; border-radius: 11px; color: #697990; background: rgba(255,255,255,.89); font-size: 21px; line-height: 1; cursor: pointer; z-index: 2; }
.dialog-body { padding: 28px; }
.dialog-app-head { display: flex; align-items: center; gap: 16px; padding: 9px 37px 21px 0; border-bottom: 1px solid #edf0f5; }
.dialog-app-head .app-icon { width: 68px; height: 68px; border-radius: 20px; }
.dialog-app-head .app-icon > span { font-size: 27px; }
.dialog-app-head h2 { margin: 5px 0 5px; font-family: var(--font-display); font-size: 22px; letter-spacing: -.04em; }
.dialog-app-head .app-category { min-height: 20px; font-size: 9px; }
.dialog-version { color: #8490a3; font-size: 10px; }
.dialog-summary { margin: 19px 0 8px; color: #40516a; font-size: 13px; font-weight: 700; line-height: 1.7; }
.dialog-description { margin: 0; white-space: pre-line; color: #77869a; font-size: 12px; line-height: 1.8; }
.dialog-price-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 23px; padding: 14px 0; border-top: 1px solid #edf0f5; color: #728096; font-size: 11px; }
.dialog-price-row b { color: #1e3050; font-size: 15px; }
.dialog-owned-status { margin:0;padding:9px 11px;border:1px solid #dce3fb;border-radius:10px;color:#4d5db9;background:#f4f6ff;font-size:11px;font-weight:700; }
.dialog-action { width: 100%; min-height: 45px; border: 0; color: white; background: linear-gradient(100deg,#3878e7,#4d68dd); box-shadow: 0 7px 15px rgba(55,101,207,.19); }
.dialog-action:hover { background: linear-gradient(100deg,#306edb,#425ed0); }
.dialog-action:disabled, .dialog-action.is-disabled { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; }
.dialog-purchase-actions { display: flex; gap: 8px; }.dialog-purchase-actions .dialog-action, .dialog-purchase-actions .dialog-cart-action { flex: 1 1 0; min-width: 0; padding-inline: 4px; font-size: 10px; white-space: nowrap; }.dialog-cart-action { min-height: 43px; border: 1px solid #dde4f3; color: #435a9c; background: #f4f6fc; }.dialog-cart-action:hover { background: #e9edf8; }
.cart-dialog { width: min(540px, calc(100vw - 32px)); margin: auto; }.cart-body h2 { margin: 8px 40px 6px 0; font-family: var(--font-display); font-size: 24px; letter-spacing: -.045em; }.cart-intro { margin: 0 0 17px; color: #78869a; font-size: 12px; }.cart-items { display: grid; max-height: min(45vh,370px); overflow-y: auto; border-top: 1px solid #eef1f5; }.cart-item { display: grid; grid-template-columns: 20px 43px minmax(0,1fr) auto 24px; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #eef1f5; }.cart-item-select { display: grid; place-items: center; position: relative; }.cart-item-select input { position: absolute; width: 18px; height: 18px; opacity: 0; }.cart-item-check { width: 17px; height: 17px; border: 1px solid #cad4e5; border-radius: 5px; background: #fff; }.cart-item-select input:checked + .cart-item-check { border-color: #5468d8; background: #5468d8; box-shadow: inset 0 0 0 4px white; }.cart-item .app-icon { width: 42px; height: 42px; border-radius: 12px; }.cart-item-info { min-width: 0; display: grid; gap: 4px; }.cart-item-info b { overflow: hidden; color: #23334c; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.cart-item-info span { color: #8894a5; font-size: 10px; }.cart-item-price { color: #253753; font-size: 12px; white-space: nowrap; }.cart-remove { width: 25px; height: 25px; border: 0; border-radius: 7px; color: #9aa4b3; background: transparent; font-size: 19px; cursor: pointer; }.cart-remove:hover { color: #c34d57; background: #fff0f0; }.cart-empty { display: grid; justify-items: center; gap: 12px; padding: 25px; color: #78869a; font-size: 12px; }.cart-empty button { border: 0; color: #425fc1; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }.cart-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 0 13px; color: #78869a; font-size: 11px; }.cart-summary b { color: #182a46; font-size: 18px; }.cart-dialog .dialog-action:disabled { cursor: not-allowed; opacity: .55; }
.cart-item { cursor: pointer; transition: background .15s ease; }.cart-item:hover { background: #f8f9ff; }.cart-remove { cursor: pointer; }
.payment-note { margin: 11px 0 0; color: #8c98a8; font-size: 9px; line-height: 1.6; text-align: center; }
.checkout-error { margin: 12px 0; padding: 12px 14px; border: 1px solid #edc4c8; border-radius: 11px; color: #8c3039; background: #fff1f2; font-size: 12px; font-weight: 600; line-height: 1.55; text-align: left; }
.checkout-error[hidden] { display: none !important; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 40; padding: 11px 16px; color: #fff; background: #1a2942; border-radius: 12px; font-size: 12px; box-shadow: 0 11px 30px rgba(11,29,55,.22); opacity: 0; transform: translate(-50%,12px); pointer-events: none; transition: opacity .18s, transform .18s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
[hidden] { display: none !important; }
@media (max-width: 1000px) {
  .hero { padding-left: 48px; }.hero-bottom-label { left: 48px; }.hero-content { width: 61%; }.hero-art { right: 12px; transform: scale(.9); transform-origin: right center; }
  .trust-row { gap: 28px; }.trust-item div span { font-size: 9px; }.app-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  :root { --section-menu-top: 66px; }
  .content-width { width: min(100% - 38px, 580px); }
  .topbar { height: 66px; padding-inline: 19px; }.brand { font-size: 14px; gap: 8px; }.brand img { width: 34px; height: 34px; }
  .topnav { display: flex; position: absolute; z-index: 21; top: calc(100% + 2px); left: auto; right: 19px; width: max-content; min-width: 0; max-width: calc(100vw - 32px); height: auto; margin: 0; padding: 0; align-items: flex-end; flex-direction: column; gap: 8px; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
  .topnav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); transition-delay: 0s; }.nav-link { min-width: 190px; min-height: 46px; height: auto; justify-content: flex-end; padding: 0 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 13px; color: #142743; background: rgba(255,255,255,.25); box-shadow: 0 6px 18px rgba(20,39,68,.12); backdrop-filter: blur(18px) saturate(155%); -webkit-backdrop-filter: blur(18px) saturate(155%); font-size: 15px; font-weight: 700; text-align: right; text-shadow: 0 1px 2px rgba(255,255,255,.7); }.nav-link:hover, .nav-link.active { color: #102952; background: rgba(255,255,255,.4); }.nav-link.active::after { display: none; }
  .header-actions { gap: 6px; }.admin-top-link { height: 36px; padding-inline: 11px; font-size: 10px; }.account-top-link { height:36px;padding-inline:10px;gap:7px;font-size:9px; }.admin-dot { width: 6px; height: 6px; }.search-toggle { display: none; }.cart-toggle { position:absolute;top:50%;left:50%;width:34px;height:36px;transform:translate(-50%,-50%); }.cart-toggle svg { width: 18px; height: 18px; }.cart-count { top: 0; right: -1px; }.mobile-menu { width: 35px; height: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }.mobile-menu span { width: 15px; height: 1.7px; background: #384966; border-radius: 2px; transition: transform .18s ease, opacity .18s ease; }.mobile-menu.is-open span:first-child { transform: translateY(2.85px) rotate(45deg); }.mobile-menu.is-open span:last-child { transform: translateY(-2.85px) rotate(-45deg); }
  .hero-wrap { padding-top: 15px; }.hero { min-height: 590px; padding: 32px 26px 38px; border-radius: 20px; }.hero-content { width: 100%; }.hero h1 { max-width: 450px; margin-top: 19px; font-size: clamp(34px, 8.5vw, 43px); }.hero-content > p { max-width: 390px; font-size: 12px; }.hero-actions { gap: 16px; margin-top: 22px; }.button-white { min-height: 42px; padding-inline: 13px; gap: 9px; font-size: 10px; }.hero-text-link { font-size: 10px; }.hero-note { margin-top: 19px; font-size: 9px; }
  .hero-art { width: 300px; height: 244px; top: auto; right: calc(50% - 150px); bottom: 20px; max-width: none; transform: scale(.69); transform-origin: center bottom; }.hero::before { width: 300px; height: 300px; top: auto; right: calc(50% - 150px); bottom: 15px; }.hero::after { width: 228px; height: 228px; top: auto; right: calc(50% - 114px); bottom: 51px; }.hero-bottom-label { display: none; }
  .topnav, .mobile-menu { display: none !important; }
  .trust-row { display: none; }
  .mobile-apps { display: block; margin-top: 13px; }
  .mobile-apps-heading h2 { font-size: 16px; }
  .mobile-app-tile { min-height: 126px; }
  .catalog-section { padding-top: 52px; padding-bottom: 42px; min-height: 365px; }.section-heading { display: block; }.section-heading h2 { font-size: 28px; }.section-heading p { font-size: 11px; }.search-box { width: 100%; margin-top: 18px; }.catalog-toolbar { margin-top: 19px; align-items: start; flex-direction: column; gap: 11px; }.category-tabs { gap: 5px; }.category-tab { min-height: 29px; padding-inline: 9px; font-size: 9px; }.catalog-count { align-self: end; font-size: 9px; }.app-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding-top: 14px; }.app-card { padding: 13px; border-radius: 14px; }.app-icon { width: 46px; height: 46px; border-radius: 14px; }.app-icon > span { font-size: 20px; }.app-category { padding-inline: 7px; font-size: 8px; }.app-card h3 { font-size: 12px; margin-top: 12px; }.app-summary { font-size: 9px; min-height: 35px; }.app-card-bottom { margin-top: 10px; padding-top: 10px; gap: 5px; }.price-label { font-size: 9px; }.app-card-bottom .cart-action { width: 30px; min-width: 30px; min-height: 29px; padding: 0; }.cart-action-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }.card-action { height: 29px; padding-inline: 8px; font-size: 8px; }.app-dialog { border-radius: 18px; }.dialog-body { padding: 23px; }
  .about-section { min-height: 0; grid-template-columns: minmax(0,1fr); gap: 13px; padding-block: 24px; }.about-copy { grid-column: 1; }.about-section h2 { font-size: 23px; }.about-description-window { height: 112px; max-width: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; color: #64758c; font-size: 12px; line-height: 1.85; mask-image: linear-gradient(to bottom, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%); }.about-description-window::-webkit-scrollbar { display: none; }.about-description-window:focus-visible { outline: 1px solid rgba(92,119,166,.4); outline-offset: 3px; border-radius: 3px; }.footer-inner { min-height: 68px; flex-wrap: wrap; padding-block: 13px; }.footer-brand { font-size: 12px; }.footer-brand img { width: 29px; height: 29px; }.copyright { position:static; order:3; width:100%; transform:none; white-space:normal; }.footer-admin { font-size: 9px; }
}
@media (max-width: 390px) {
  .content-width { width: calc(100% - 28px); }.topbar { padding-inline: 14px; }.admin-top-link { padding-inline: 8px; }.hero { padding-inline: 20px; }.hero-actions { gap: 11px; }.hero-text-link { font-size: 9px; }.app-grid { gap: 8px; }.app-card { padding: 11px; }.card-action { padding-inline: 6px; }
}

/* New TAS-owned PC games and physical products storefront sections. */
.pc-games-section { padding-block: 54px 30px; }
.pc-games-section .section-heading { align-items: center; }
.pc-games-section .section-heading h2, .physical-store-card h2 { margin-top: 9px; }
.pc-games-browse { flex: 0 0 auto; }
.pc-games-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.pc-game-card { min-width: 0; padding: 16px; border: 1px solid #e5e8f1; border-radius: 16px; background: linear-gradient(150deg,#fff,#f5f7ff); box-shadow: 0 8px 20px rgba(46,64,112,.06); }
.pc-game-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.pc-game-card .app-icon { width: 50px; height: 50px; }
.pc-game-card .app-category { min-height: 22px; }
.pc-game-open { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 9px; padding: 0; border: 0; color: #22344f; background: transparent; text-align: left; cursor: pointer; }
.pc-game-open b { max-width: 100%; overflow: hidden; color: #192b46; font-family: var(--font-display); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.pc-game-open span { min-height: 35px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #74839a; font-size: 11px; line-height: 1.55; }
.pc-game-open:hover b { color: #435fc5; }
.pc-game-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; padding-top: 11px; border-top: 1px solid #e9edf5; color: #3e8a6d; font-size: 11px; font-weight: 700; }
.pc-game-card-bottom > span:last-child { color: #7887a0; font-size: 20px; line-height: 1; }
.pc-games-empty { min-height: 122px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; margin-top: 22px; padding: 20px; border: 1px dashed #d8dfed; border-radius: 16px; color: #566986; background: rgba(255,255,255,.58); text-align: center; }
.pc-games-empty[hidden] { display: none; }
.pc-games-empty b { color: #2b3c58; font-size: 13px; }
.pc-games-empty p { margin: 0; color: #8390a3; font-size: 11px; }
.pc-games-empty-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 11px; color: #5367ca; background: #edf0ff; font-size: 19px; }
.physical-store-section { padding-block: 24px 45px; }
.physical-store-card { min-height: 190px; display: grid; grid-template-columns: minmax(160px, .75fr) 1.25fr; align-items: center; gap: clamp(22px, 5vw, 62px); overflow: hidden; padding: 28px clamp(24px, 5vw, 56px); border: 1px solid #e6e9f2; border-radius: 22px; background: linear-gradient(120deg,#f3f5ff 0%,#fff 55%,#f0fbf6 100%); }
.physical-store-card h2 { margin-bottom: 8px; color: #1c2d49; font-family: var(--font-display); font-size: clamp(23px, 3vw, 31px); letter-spacing: -.045em; }
.physical-store-card p { max-width: 620px; margin: 0; color: #718199; font-size: 12px; line-height: 1.7; }
.physical-store-status { display: inline-flex; min-height: 27px; align-items: center; margin-top: 15px; padding: 0 11px; border: 1px solid #dbe4f2; border-radius: 99px; color: #5367a1; background: rgba(255,255,255,.75); font-size: 10px; font-weight: 700; }
.physical-store-art { min-height: 112px; position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; }
.physical-store-art::before { content: ''; position: absolute; width: 164px; height: 112px; border-radius: 40%; background: radial-gradient(ellipse,#dce3ff 0%,rgba(226,240,255,.28) 68%,transparent 70%); }
.physical-store-art span { z-index: 1; width: 62px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(87,111,175,.14); border-radius: 17px; color: #5367ca; background: linear-gradient(145deg,#fff,#edf1ff); box-shadow: 0 12px 22px rgba(54,76,139,.12); font-size: 27px; }
.physical-store-art span:nth-child(2) { transform: translateY(-11px); color: #389276; background: linear-gradient(145deg,#fff,#e9fbf4); }
.physical-store-art span:nth-child(1) { transform: rotate(-9deg) translateY(6px); }
.physical-store-art span:nth-child(3) { transform: rotate(8deg) translateY(6px); color: #d49b31; }
.physical-store-heading { margin-bottom: 20px; }
.physical-products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.physical-product-card { min-width: 0; overflow: hidden; border: 1px solid #e5e9f2; border-radius: 18px; background: #fff; box-shadow: 0 9px 24px rgba(42,59,103,.07); }
.physical-product-image { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: linear-gradient(140deg,#edf1ff,#f1fbf6); }
.physical-product-image img { width: 100%; height: 100%; object-fit: cover; }
.physical-product-fallback { color: #7284d6; font-size: 55px; }
.physical-product-info { padding: 17px; }
.physical-product-stock { color: #348567; font-size: 10px; font-weight: 700; }
.physical-product-stock.is-empty { color: #a07255; }
.physical-product-info h3 { overflow: hidden; margin: 8px 0 5px; color: #1d2d49; font-family: var(--font-display); font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.physical-product-info p { min-height: 38px; margin: 0; color: #78869a; font-size: 11px; line-height: 1.65; }
.physical-product-buy-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #edf0f5; }
.physical-product-buy-row > b { color: #20324f; font-size: 15px; white-space: nowrap; }
.physical-buy-button { min-height: 38px; padding-inline: 14px; border-radius: 10px; color: white; background: linear-gradient(110deg,#5368da,#3671cf); box-shadow: 0 5px 12px rgba(59,93,190,.16); font-size: 11px; font-weight: 700; }
.physical-buy-button:hover:not(:disabled) { filter: brightness(1.04); transform: translateY(-1px); }
.physical-buy-button:disabled { color: #8b95a5; border-color: #e6e9ef; background: #f1f3f7; box-shadow: none; cursor: not-allowed; }
.physical-products-empty { min-height: 190px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; padding: 23px; border: 1px dashed #d6dfed; border-radius: 18px; color: #61728c; background: rgba(255,255,255,.62); text-align: center; }
.physical-products-empty[hidden] { display: none; }
.physical-products-empty .physical-store-art { width: 200px; min-height: 92px; }
.physical-products-empty .physical-store-art span { width: 47px; height: 55px; border-radius: 13px; font-size: 21px; }
.physical-products-empty > b { color: #344866; font-size: 13px; }
.physical-products-empty > p { margin: 0; color: #8794a7; font-size: 11px; }
.physical-store-shipping-note { margin: 13px 0 0; color: #8794a6; font-size: 10px; text-align: center; }
.physical-checkout-dialog { width: min(520px, calc(100vw - 30px)); }
.physical-checkout-body { max-height: calc(88vh - 28px); max-height: calc(88dvh - 28px); overflow-y: auto; padding: 25px; }
.physical-checkout-body h2 { margin: 9px 0 13px; color: #20324f; font-family: var(--font-display); font-size: 24px; letter-spacing: -.04em; }
.physical-checkout-product { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-block: 1px solid #e8edf4; color: #53657e; font-size: 12px; }
.physical-checkout-product b { color: #20324f; white-space: nowrap; }
.physical-checkout-summary { margin: 8px 0 16px; color: #7a899e; font-size: 11px; line-height: 1.55; }
.physical-checkout-form { display: grid; gap: 12px; }
.physical-checkout-form label { min-width: 0; display: grid; gap: 5px; color: #56667e; font-size: 10px; font-weight: 700; }
.physical-checkout-form input, .physical-checkout-form select { width: 100%; min-width: 0; min-height: 39px; padding: 0 10px; border: 1px solid #e1e7f0; border-radius: 9px; outline: 0; color: #243650; background: #fff; font: inherit; font-size: 12px; }
.physical-checkout-form input:focus, .physical-checkout-form select:focus { border-color: #9aabe0; box-shadow: 0 0 0 3px rgba(83,104,218,.1); }
.physical-checkout-address { display: grid; gap: 10px; }
.physical-address-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.physical-checkout-totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; padding: 12px 0; border-top: 1px solid #e8edf4; color: #687891; font-size: 11px; }
.physical-checkout-totals b { color: #253854; text-align: right; }
.physical-checkout-totals b:last-child { font-size: 15px; }
.physical-checkout-form .dialog-action { width: 100%; min-height: 44px; border: 0; border-radius: 10px; color: #fff; background: #1268b3; font-size: 13px; font-weight: 700; cursor: pointer; }
.physical-checkout-form .dialog-action:disabled { opacity: .55; cursor: wait; }
@media (max-width: 760px) {
  .pc-games-section { padding-block: 38px 18px; }
  .pc-games-section .section-heading { display: flex; align-items: center; gap: 12px; }
  .pc-games-section .section-heading h2 { font-size: 25px; }
  .pc-games-section .section-heading p { max-width: 360px; }
  .pc-games-browse { min-height: 34px; padding-inline: 10px; white-space: nowrap; }
  .pc-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
  .pc-game-card { padding: 12px; border-radius: 14px; }
  .pc-game-card .app-icon { width: 43px; height: 43px; border-radius: 13px; }
  .pc-game-card .app-favorite { width: 28px; height: 28px; font-size: 19px; }
  .pc-game-open b { font-size: 13px; }
  .pc-game-open span { font-size: 11px; }
  .pc-games-empty { min-height: 108px; margin-top: 16px; padding: 15px; }
  .physical-store-section { padding-block: 15px 32px; }
  .physical-store-card { grid-template-columns: 1fr; gap: 13px; padding: 18px; border-radius: 18px; }
  .physical-store-art { min-height: 91px; grid-row: 2; }
  .physical-store-art span { width: 53px; height: 60px; border-radius: 15px; font-size: 23px; }
  .physical-store-card p { font-size: 12px; }
  .physical-products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
  .physical-product-info { padding: 12px; }
  .physical-product-info h3 { font-size: 14px; }
  .physical-product-info p { min-height: 46px; font-size: 11px; }
  .physical-product-buy-row { align-items: stretch; flex-direction: column; gap: 9px; margin-top: 12px; }
  .physical-product-buy-row > b { font-size: 14px; }
  .physical-buy-button { width: 100%; min-height: 35px; }
  .physical-checkout-body { padding: 21px; }
}
@media (max-width: 390px) {
  .pc-games-section .section-heading { align-items: flex-start; flex-direction: column; }
  .pc-games-browse { align-self: flex-start; }
  .physical-products-grid { grid-template-columns: minmax(0,1fr); }
  .physical-address-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .cart-dialog { inset: 0; width: min(520px, calc(100vw - 28px)); max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); margin: auto; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
@media (max-width: 760px) { .game-genre-filter { align-items: flex-start; flex-direction: column; gap: 4px; }.game-genre-tabs { width: 100%; max-width: 100%; } }

/* Keep the long app description scrollable while its purchase controls stay in view. */
#app-dialog { max-height: min(88vh, 760px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overscroll-behavior: contain; }
#app-dialog .dialog-description { max-height: clamp(110px, 27vh, 220px); max-height: clamp(110px, 27dvh, 220px); overflow-y: auto; overscroll-behavior: contain; margin-top: 10px; padding: 10px 12px; border: 1px solid #e8edf5; border-radius: 11px; background: #f8faff; scrollbar-color: #bdc9de transparent; scrollbar-width: thin; }
@media (max-width: 760px) {
  #app-dialog { width: min(485px, calc(100vw - 24px)); }
  #app-dialog .dialog-body { padding: 20px; }
  #app-dialog .dialog-summary { margin-top: 14px; line-height: 1.55; }
  #app-dialog .dialog-description { max-height: clamp(100px, 24vh, 175px); max-height: clamp(100px, 24dvh, 175px); font-size: 11px; line-height: 1.6; }
  #app-dialog .dialog-price-row { margin-top: 12px; padding-top: 12px; }
}

/* Keep purchase and download dialogs anchored to the mobile viewport. */
body:has(dialog[open]) { overflow: hidden; }
.app-dialog[open] {
  position: fixed;
  inset: auto;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 760px) {
  .app-dialog[open] { width: min(540px, calc(100vw - 24px)); }
}

/* Favorites are small, always reachable controls on both catalog card layouts. */
.app-favorite { width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; margin-left: 4px; padding: 0; border: 0; border-radius: 50%; color: #8290a5; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; transition: color .16s ease, transform .16s ease; }
.app-favorite:hover { color: #d48d22; background: transparent; transform: scale(1.12); }
.app-favorite.is-favorite { color: #df9b27; background: transparent; }
.app-favorite:focus-visible { outline: 2px solid #d9a94a; outline-offset: 1px; }
.app-favorite span { transform: translateY(-1px); }
.app-card-top { align-items: center; }
.app-card-category { max-width: 100%; margin-top: 9px; white-space: normal; line-height: 1.3; }
.app-card h3 { margin-top: 10px; }
.mobile-app-tile { position: relative; padding: 0; }
.mobile-app-open { width: 100%; min-height: 124px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; padding: 19px 6px 10px; border: 0; border-radius: inherit; color: inherit; background: transparent; text-align: center; cursor: pointer; }
.mobile-app-open:hover { background: rgba(255,255,255,.55); }
.mobile-app-tile .app-favorite { position: absolute; z-index: 2; top: 5px; right: 5px; width: 27px; height: 27px; margin: 0; border-radius: 9px; font-size: 17px; }

/* Keep supporting text readable across the storefront. */
.eyebrow, .checkout-kicker, .featured-tag { font-size: 11px; }
.account-top-link { font-size: 12px; }
.admin-top-link { font-size: 12px; }
.hero-note, .hero-bottom-label { font-size: 11px; }
.trust-item div span, .section-heading p, .catalog-count, .search-box input { font-size: 12px; }
.category-tab, .app-category, .price-label, .card-action, .button-outline { font-size: 11px; }
.tab-count, .app-summary, .catalog-footer, .about-description-window, .copyright, .footer-admin { font-size: 11px; }
.empty-state p, .dialog-app-head .app-category, .dialog-version, .dialog-price-row, .payment-note, .checkout-note { font-size: 11px; }
.art-caption { font-size: 11px; }
.trust-item div span, .section-heading p, .catalog-count, .app-summary,
.catalog-footer, .about-description-window, .copyright, .footer-admin,
.dialog-version, .payment-note, .checkout-note { color: #66758b; }

@media (max-width: 760px) {
  .content-width { width: min(100% - 30px, 580px); }
  .admin-top-link, .account-top-link { font-size: 11px; }
  .hero { min-height: 310px; padding: 22px 18px 12px; }
  .hero h1 { margin: 14px 0 10px; font-size: clamp(32px, 8vw, 38px); }
  .hero-content > p { max-width: 100%; font-size: 13px; line-height: 1.55; }
  .hero-actions { gap: 8px; margin-top: 15px; }
  .button-white { min-height: 38px; padding-inline: 10px; font-size: 10px; }
  .hero-text-link { font-size: 10px; white-space: nowrap; }
  .hero-note { max-width: calc(100% - 90px); margin-top: 11px; font-size: 11px; }
  .hero-orbit, .hero::before, .hero::after { display: none; }
  .hero-art { width: 88px; height: 88px; top: auto; right: 13px; bottom: 0; transform: translateY(-23px); }
  .hero-art .art-glow, .hero-art .art-spark, .hero-art .tile-back, .hero-art .tile-mid, .hero-art .art-caption { display: none; }
  .hero-art .tile-front { width: 88px; height: 88px; inset: 0 auto auto 0; border: 0; border-radius: 21px; background: transparent; box-shadow: none; transform: none; }
  .hero-art .tile-front img { width: 100%; height: 100%; border-radius: 21px; box-shadow: 0 8px 18px rgba(6,22,60,.2); }
  .trust-item div span { font-size: 11px; }
  .category-tab { min-height: 34px; padding-inline: 10px; font-size: 11px; }
  .tab-count { font-size: 11px; }
  .catalog-count { font-size: 11px; }
  .app-category { min-height: 25px; padding-inline: 7px; font-size: 11px; }
  .app-card h3 { font-size: 13px; }
  .app-summary { min-height: 39px; font-size: 11px; line-height: 1.5; }
  .price-label, .card-action { font-size: 11px; }
  .card-action { min-height: 34px; height: auto; padding-inline: 8px; }
  .paid-card-actions { width: 100%; display: grid; grid-template-columns: 1fr; }.app-card:has(.paid-card-actions) .app-card-bottom { align-items: stretch; flex-direction: column; }.paid-card-actions .card-action { width: 100%; min-height: 32px; }
  .about-description-window, .section-heading p { font-size: 12px; }
  .copyright, .footer-admin { font-size: 11px; }
}
@media (max-width: 390px) {
  .hero { min-height: 310px; padding-inline: 16px; }
  .hero h1 { font-size: 32px; }
  .hero-content > p { font-size: 12px; }
  .hero-actions { gap: 10px; }
  .app-card { padding: 10px; }
  .cart-body { padding: 22px 18px; }.cart-item { grid-template-columns: 18px 37px minmax(0,1fr) auto 21px; gap: 7px; }.cart-item .app-icon { width: 36px; height: 36px; }.cart-item-price { font-size: 11px; }
  .price-label, .card-action { font-size: 11px; }
}
