/* GajeKompi front store.
   Arah desain: kaset game (cartridge) — kartu game berbentuk kaset dengan takik, warna per game.
   Harga selalu berwarna "koin" supaya mudah dipindai. Indigo gelap, bukan hitam. */
@font-face { font-family: 'Inter Display'; src: url('/fonts/InterDisplay-Black.woff') format('woff'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/Inter-Regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/Inter-SemiBold.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/Inter-Bold.woff') format('woff'); font-weight: 700; font-display: swap; }

:root {
  --ink: #151838;
  --deck: #1d2150;
  --deck-2: #252a62;
  --rail: #343c80;
  --text: #eef0ff;
  --dim: #a3aad8;
  --teal: #2ee6d6;
  --teal-ink: #062b2a;
  --violet: #a45cff;
  --coin: #ffc94d;
  --err: #ff8090;
  --ok: #57e39b;
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  --display: 'Inter Display', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.55 var(--body); font-feature-settings: 'cv11', 'ss01'; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; outline: none; }
a { color: var(--teal); }
img { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: var(--teal-ink); padding: 8px 12px; border-radius: var(--r-sm); z-index: 10; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header & footer ---------- */
.top { position: sticky; top: 0; z-index: 5; background: var(--top-bg, rgba(21, 24, 56, 0.92)); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rail); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 900 20px/1 var(--display); letter-spacing: -0.01em; }
.brand img { border-radius: 9px; }
.top-nav { display: flex; gap: 4px; }
.top-nav a { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: var(--r-sm); }
.top-nav a:hover, .top-nav a[aria-current='page'] { color: var(--text); background: var(--deck); }

.foot { border-top: 1px solid var(--rail); margin-top: 72px; padding: 36px 0 48px; color: var(--dim); font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: start; }
.foot-brand { margin: 0; font: 900 18px/1.2 var(--display); color: var(--text); }
.foot-tag { margin: 4px 0 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot nav a { color: var(--dim); text-decoration: none; }
.foot nav a:hover { color: var(--text); text-decoration: underline; }
.foot-copy { grid-column: 1 / -1; margin: 0; }

/* ---------- beranda ---------- */
.hero { padding: 56px 0 28px; }
.hero h1 { font: 900 clamp(40px, 8vw, 84px)/0.98 var(--display); letter-spacing: -0.035em; margin: 0; max-width: 11ch; }
.hero p { color: var(--dim); font-size: clamp(17px, 2.2vw, 20px); max-width: 46ch; margin: 18px 0 0; }
.finder { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.finder input { flex: 1 1 320px; max-width: 520px; height: 54px; padding: 0 18px; background: var(--deck); border: 2px solid var(--rail); border-radius: var(--r-md); font-size: 17px; }
.finder input::placeholder { color: var(--dim); }
.finder input:focus { border-color: var(--teal); outline: none; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 0; margin: 22px 0 0; color: var(--dim); font-size: 15px; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.facts li:nth-child(2)::before { background: var(--violet); }
.facts li:nth-child(3)::before { background: var(--coin); }

.shelf-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 40px 0 18px; }
.shelf-head h2 { font: 900 28px/1.1 var(--display); letter-spacing: -0.02em; margin: 0; }
.tabs { display: flex; gap: 6px; background: var(--deck); padding: 4px; border-radius: 999px; }
.tabs button { border: 0; background: none; color: var(--dim); font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-pressed='true'] { background: var(--text); color: var(--ink); }

/* Kaset game */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 18px; }
.cart { --c: #5b8cff; position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: var(--c); border-radius: 14px 14px var(--r-lg) var(--r-lg); padding: 14px 12px 12px; min-height: 236px; clip-path: polygon(0 0, 34% 0, 38% 12px, 62% 12px, 66% 0, 100% 0, 100% 100%, 0 100%); transition: transform 160ms ease; }
.cart::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.28)); pointer-events: none; }
.cart:hover { transform: translateY(-4px); }
.cart:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--teal); }
.cart-mark { position: relative; z-index: 1; flex: 1; display: grid; place-items: center; font: 900 64px/1 var(--display); letter-spacing: -0.06em; color: rgba(255, 255, 255, 0.92); text-shadow: 0 3px 0 rgba(0, 0, 0, 0.18); }
.cart-label { position: relative; z-index: 1; background: var(--ink); border-radius: var(--r-sm); padding: 10px 11px; }
.cart-name { font-weight: 700; font-size: 15px; line-height: 1.25; display: block; }
.cart-from { display: block; margin-top: 3px; font-size: 13px; color: var(--dim); }
.cart-from b { color: var(--coin); font-weight: 700; }
.empty { color: var(--dim); padding: 28px 0; }

/* ---------- halaman game ---------- */
.back { display: inline-block; margin: 26px 0 0; color: var(--dim); text-decoration: none; font-weight: 600; font-size: 15px; }
.back:hover { color: var(--text); }
.game { display: grid; grid-template-columns: 300px 1fr; gap: 36px; margin-top: 18px; align-items: start; }
.game-side { position: sticky; top: 88px; }
.game-side .cart { min-height: 300px; pointer-events: none; }
.game-side .cart-mark { font-size: 88px; }
.game-note { margin: 16px 0 0; color: var(--dim); font-size: 15px; white-space: pre-line; }
.game h1 { font: 900 clamp(30px, 4.6vw, 46px)/1.05 var(--display); letter-spacing: -0.03em; margin: 0 0 6px; }
.game-pub { color: var(--dim); margin: 0 0 22px; }

.step { background: var(--deck); border-radius: var(--r-lg); padding: 22px; margin-bottom: 16px; border: 0; }
.step legend, .step h2 { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font: 700 19px/1.3 var(--body); margin: 0 0 16px; padding: 0; }
.step legend + *, .step h2 + * { clear: both; }
.step-n { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--teal); font: 900 16px/1 var(--display); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input { width: 100%; height: 50px; padding: 0 14px; background: var(--ink); border: 2px solid var(--rail); border-radius: var(--r-md); font-size: 16px; }
.field input:focus { border-color: var(--teal); outline: none; }
.field input[aria-invalid='true'] { border-color: var(--err); }
.hint { color: var(--dim); font-size: 14px; margin: 8px 0 0; }
.err { color: var(--err); font-size: 14px; margin: 6px 0 0; }

.denoms { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.denom { position: relative; }
.denom input { position: absolute; opacity: 0; inset: 0; }
.denom span { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 88px; padding: 14px; background: var(--ink); border: 2px solid var(--rail); border-radius: var(--r-md); cursor: pointer; }
.denom b { font-weight: 600; font-size: 15px; line-height: 1.3; }
.denom em { font-style: normal; font: 900 18px/1 var(--display); color: var(--coin); letter-spacing: -0.01em; }
.denom input:checked + span { border-color: var(--teal); background: var(--deck-2); box-shadow: inset 0 0 0 1px var(--teal); }
.denom input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

.pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--ink); border: 2px solid var(--teal); border-radius: var(--r-md); }
.pay-opt b { display: block; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 15px; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }

.buybar { position: sticky; bottom: 0; z-index: 4; margin-top: 8px; padding: 14px 0; background: linear-gradient(180deg, transparent, var(--ink) 30%); }
.buybar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--deck-2); border-radius: var(--r-lg); padding: 14px 14px 14px 20px; }
.buybar small { display: block; color: var(--dim); font-size: 13px; }
.buybar strong { font: 900 24px/1.1 var(--display); color: var(--coin); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border: 0; border-radius: var(--r-md); background: var(--teal); color: var(--teal-ink); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { filter: brightness(1.06); }
.btn:disabled { opacity: 0.55; cursor: progress; }
.btn.ghost { background: var(--deck); color: var(--text); }
.btn.wa { background: #25d366; color: #052e16; }
.banner { padding: 12px 16px; border-radius: var(--r-md); margin: 12px 0; }
.banner.err { background: rgba(255, 128, 144, 0.12); color: var(--err); }

/* ---------- pesanan ---------- */
.order { max-width: 760px; margin: 36px auto 0; }
.order-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order h1 { font: 900 clamp(30px, 6vw, 48px)/1 var(--display); letter-spacing: 0.02em; margin: 0; }
.order-sub { color: var(--dim); margin: 10px 0 26px; }
.track { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.track li { position: relative; padding-top: 16px; color: var(--dim); font-size: 14px; font-weight: 600; }
.track li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 3px; background: var(--rail); }
.track li.done { color: var(--text); }
.track li.done::before { background: var(--teal); }
.track li.bad::before { background: var(--err); }
.panel { background: var(--deck); border-radius: var(--r-lg); padding: 22px; margin-bottom: 16px; }
.panel h2 { font: 700 19px/1.3 var(--body); margin: 0 0 12px; }
.status-line { font: 900 24px/1.2 var(--display); margin: 0; }
.status-line.success { color: var(--ok); }
.status-line.failed, .status-line.expired { color: var(--err); }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0; }
dl.kv dt { color: var(--dim); }
dl.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.price { color: var(--coin); font: 900 22px/1 var(--display); }
.instr { white-space: pre-wrap; margin: 0 0 16px; }
.deadline { color: var(--coin); font-weight: 600; }
.sn { background: var(--ink); padding: 12px 14px; border-radius: var(--r-md); font-weight: 600; word-break: break-all; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }

.lookup { max-width: 560px; margin: 48px auto 0; }
.lookup h1, .doc h1 { font: 900 clamp(30px, 5vw, 44px)/1.05 var(--display); letter-spacing: -0.03em; margin: 0 0 12px; }
.lookup form { display: flex; gap: 10px; margin-top: 18px; }
.lookup input { flex: 1; height: 52px; padding: 0 16px; background: var(--deck); border: 2px solid var(--rail); border-radius: var(--r-md); font-size: 17px; text-transform: uppercase; letter-spacing: 0.04em; }
.recent { list-style: none; padding: 0; margin: 24px 0 0; }
.recent a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rail); color: var(--text); text-decoration: none; }
.recent a span { color: var(--dim); font-size: 14px; }

.doc { max-width: 70ch; margin: 44px auto 0; }
.doc h2 { font: 700 20px/1.3 var(--body); margin: 30px 0 8px; }
.doc p, .doc li { color: color-mix(in srgb, var(--text) 85%, var(--ink)); }
.doc .updated { color: var(--dim); }

/* akun */
.acct-link { color: var(--text) !important; background: var(--deck); }
.acct-link.login { background: var(--teal) !important; color: var(--teal-ink) !important; }
.btn.google { background: #fff; color: #1f2333; }
.g-mark { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); color: #fff; font: 900 13px/1 var(--display); }
.gate h2 { float: none; font: 700 20px/1.3 var(--body); margin: 0 0 8px; }
.gate p { color: var(--dim); margin: 0 0 16px; }
.gate .hint { margin-top: 14px; }
.denoms.preview { margin-top: 18px; opacity: 0.85; }
.denoms.preview .denom span { cursor: default; }
.acct-title { font: 900 clamp(28px, 5vw, 40px)/1.1 var(--display); letter-spacing: -0.02em; margin: 0; }
.history { list-style: none; padding: 0; margin: 0; }
.history a { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rail); color: var(--text); text-decoration: none; }
.history li:last-child a { border-bottom: 0; }
.hist-main { display: flex; flex-direction: column; min-width: 0; }
.hist-main .hint { margin: 2px 0 0; }
.hist-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.price-sm { color: var(--coin); font: 900 16px/1 var(--display); }
.pill { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--deck-2); color: var(--dim); }
.pill.success { background: rgba(87, 227, 155, 0.15); color: var(--ok); }
.pill.failed, .pill.expired, .pill.cancelled { background: rgba(255, 128, 144, 0.12); color: var(--err); }
.pill.unpaid, .pill.paid, .pill.processing { background: rgba(255, 201, 77, 0.14); color: var(--coin); }

/* chat pesanan item */
.chat .chat-log { display: flex; flex-direction: column; gap: 8px; max-height: 420px; min-height: 160px; overflow-y: auto; padding: 14px; margin: 14px 0; background: var(--ink); border-radius: var(--r-md); }
.chat-empty { margin: auto; text-align: center; }
.bubble { max-width: 82%; padding: 9px 12px 6px; border-radius: 14px; background: var(--deck-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.me { align-self: flex-end; background: color-mix(in srgb, var(--teal) 32%, var(--deck)); border-bottom-left-radius: 14px; border-bottom-right-radius: 4px; }
.bubble p { margin: 0; white-space: pre-wrap; word-break: break-word; }
.bubble .who { display: block; font-size: 12px; font-weight: 700; color: var(--teal); }
.bubble .when { display: block; text-align: right; font-size: 11px; color: var(--dim); margin-top: 2px; }
.bubble img { max-width: 100%; max-height: 260px; border-radius: 10px; margin: 4px 0; }
.chat-form textarea { width: 100%; resize: vertical; padding: 12px 14px; background: var(--ink); border: 2px solid var(--rail); border-radius: var(--r-md); font-size: 16px; }
.chat-form textarea:focus { border-color: var(--teal); outline: none; }
.chat-tools { display: flex; gap: 10px; justify-content: flex-end; margin-top: 10px; flex-wrap: wrap; }
.chat-tools .btn { height: 46px; }
label.btn:focus-within { outline: 3px solid var(--teal); outline-offset: 2px; }

@media (max-width: 860px) {
  .game { grid-template-columns: 1fr; gap: 20px; }
  .game-side { position: static; display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; }
  .game-side .cart { min-height: 140px; }
  .game-side .cart-mark { font-size: 40px; }
  .game-side .cart-label { display: none; }
  .game-note { margin: 0; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 24px); }
  .top-nav a { padding: 8px; font-size: 14px; }
  .brand span { font-size: 18px; }
  .shelf { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cart { min-height: 196px; }
  .cart-mark { font-size: 48px; }
  .step { padding: 18px 14px; }
  .denoms { grid-template-columns: repeat(2, 1fr); }
  .buybar-in { padding: 10px 10px 10px 14px; }
  .btn { padding: 0 18px; }
  .foot-in { grid-template-columns: 1fr; }
  .track { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  dl.kv { grid-template-columns: 1fr; gap: 2px; }
  dl.kv dd { margin-bottom: 10px; }
  .lookup form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
.top-nav { align-items: center; }
.top-nav a { white-space: nowrap; }
@media (max-width: 430px) {
  .top-nav a[href='/'] { display: none; }
  .brand { font-size: 18px; }
}

/* Gambar sampul game di kartu kaset */
.cart.has-img { justify-content: flex-end; }
.cart-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.cart.has-img::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.45)); }
.game-side .cart.has-img { min-height: 300px; }

/* Tab kategori di halaman game (Currency | Item) */
.cat-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.cat-tab { border: 2px solid var(--rail); background: var(--ink); color: var(--dim); font-weight: 600; font-size: 15px; padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.cat-tab[aria-selected='true'] { border-color: var(--teal); color: var(--text); background: var(--deck-2); }
.denom[hidden] { display: none; }

/* Tombol bahasa */
.lang-btn { margin-left: 4px; border: 1px solid var(--rail); background: none; color: var(--dim); font: 700 13px/1 var(--body); padding: 8px 10px; border-radius: var(--r-sm); cursor: pointer; }
.lang-btn:hover { color: var(--text); border-color: var(--dim); }
@media (max-width: 860px) { .game-side .cart.has-img { min-height: 140px; } }

/* ---------- v24: header cari + bahasa, pengumuman, banner, footer, deskripsi ---------- */
.top-in { gap: 16px; }
.brand { flex: none; }
.brand img { object-fit: contain; }
.search { position: relative; flex: 1 1 auto; max-width: 380px; }
.search input { width: 100%; height: 40px; padding: 0 14px 0 38px; background: var(--deck) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23a3aad8' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") no-repeat 12px 50%; border: 1px solid var(--rail); border-radius: 999px; font-size: 15px; }
.search input::placeholder { color: var(--dim); }
.search input:focus { outline: none; border-color: var(--teal); }
.search-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: var(--deck); border: 1px solid var(--rail); border-radius: var(--r-md); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); max-height: 70vh; overflow: auto; z-index: 20; }
.search-list li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r-sm); cursor: pointer; }
.search-list li[aria-selected='true'], .search-list li:hover { background: var(--deck-2); }
.search-list li.none { color: var(--dim); cursor: default; background: none; }
.search-list img, .sr-mark { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; flex: none; }
.sr-mark { display: grid; place-items: center; background: var(--violet); color: #fff; font: 900 13px/1 var(--display); }
.search-list b { display: block; font-size: 14px; font-weight: 600; }
.search-list small { color: var(--dim); font-size: 12px; }
.top-nav { flex: none; }
.lang-seg { display: inline-flex; margin-left: 6px; border: 1px solid var(--rail); border-radius: 999px; padding: 2px; }
.lang-seg button { border: 0; background: none; color: var(--dim); font: 700 12px/1 var(--body); padding: 7px 10px; border-radius: 999px; cursor: pointer; }
.lang-seg button[aria-pressed='true'] { background: var(--teal); color: var(--teal-ink); }
.announce { background: var(--violet); color: #fff; font-weight: 600; font-size: 14px; text-align: center; }
.announce p { margin: 0 auto; padding: 8px 0; }

.slider { position: relative; margin-top: 26px; border-radius: var(--r-lg); overflow: hidden; background: var(--deck); }
.slides-wrap { overflow: hidden; }
.slides { display: flex; transition: transform 450ms ease; }
.slide { flex: 0 0 100%; display: block; }
.slide img { width: 100%; aspect-ratio: 3 / 1; height: auto; object-fit: cover; }
.slide-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.slide-nav.prev { left: 10px; }
.slide-nav.next { right: 10px; }
.slide-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.slide-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: width 200ms ease; }
.slide-dots button[aria-current='true'] { width: 22px; background: #fff; }

.cart-badge { position: absolute; z-index: 2; top: 18px; right: 10px; font: 800 11px/1 var(--body); letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: var(--coin); color: #2a1d00; }
.cart-badge.hot { background: #ff5a5f; color: #fff; }
.cart-badge.new { background: var(--teal); color: var(--teal-ink); }

.game-about { margin-top: 16px; }
.rich p, .rich li { color: color-mix(in srgb, var(--text) 82%, var(--ink)); font-size: 15px; white-space: pre-line; }
.rich p { margin: 0 0 10px; }
.rich ul, .rich ol { margin: 0 0 10px; padding-left: 20px; }
.game-desc.clamped { max-height: 9.5em; overflow: hidden; mask-image: linear-gradient(180deg, #000 60%, transparent); }
.more { border: 0; background: none; color: var(--teal); font-weight: 600; padding: 4px 0; cursor: pointer; }
.step.delivery .rich { background: var(--ink); border-radius: var(--r-md); padding: 14px 16px 4px; }
.step[hidden] { display: none; }

.foot { padding: 40px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px 32px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot-col h2 { margin: 0 0 4px; font: 700 13px/1.2 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.foot-col a { color: var(--dim); text-decoration: none; }
.foot-col a:hover { color: var(--text); text-decoration: underline; }
.foot-about .brand { font-size: 18px; }
.foot-text, .foot-text p { margin: 0; color: var(--dim); font-size: 14px; white-space: pre-line; }
.foot-grid .foot-copy { grid-column: 1 / -1; border-top: 1px solid var(--rail); padding-top: 18px; margin: 4px 0 0; }
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
  .search { max-width: none; }
}
@media (max-width: 640px) {
  .top-in { flex-wrap: wrap; height: auto; padding: 10px 0; row-gap: 10px; }
  .search { order: 3; flex-basis: 100%; }
  .slide-nav { display: none; }
}
@media (max-width: 640px) { .hero .finder { display: none; } .hero { padding-top: 28px; } }
