/* Vanguard store - the same look as vanguardmmo.com and the wiki (tokens, nav, hero, panels, pill buttons, footer),
   plus the store's own parts: the amount picker, the "you get" card, the bonus ladder, deal pop-ups and checkout. */
:root {
  --bg: #06040c;
  --card: rgba(20, 16, 34, .88);
  --edge: #2f2650;
  --nebula: #a574ff;
  --nebula-dk: #5b3f92;
  --bright: #e4d3ff;
  --text: #e3dcf5;
  --dim: #8e82b0;
  --gold: #e8c24a;
  --gold-hi: #ffdf86;
  --good: #6be3a0;
  --bad: #ff7a7a;
  --inset: rgba(8, 6, 16, .7);
  --display: 'Cinzel', Georgia, serif;
  --body: 'Inter', 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: hidden;
  background: var(--bg) fixed;
  background-image:
    radial-gradient(1100px 500px at 50% -140px, rgba(120,70,220,.35), transparent 70%),
    radial-gradient(1px 1px at 18% 22%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 12%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 48%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 78%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 60%, rgba(255,255,255,.3) 50%, transparent 51%),
    linear-gradient(180deg, #0c0918 0%, #06040c 45%, #06040c 100%);
}
a { color: var(--nebula); text-decoration: none; }
a:hover { color: var(--bright); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); color: var(--bright); letter-spacing: .04em; margin: 0 0 12px; line-height: 1.2; }
p { margin: 0 0 14px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 2px solid var(--nebula); outline-offset: 3px; border-radius: 6px; }
code { font-family: Consolas, monospace; font-size: 12px; padding: 2px 6px; border-radius: 6px; background: rgba(165,116,255,.12); color: var(--bright); border: 1px solid rgba(165,116,255,.3); }
#motes { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
nav, main, footer, .announce, .promo { position: relative; z-index: 1; }

/* ---------- nav (as vanguardmmo.com) ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(6,4,12,.78); border-bottom: 1px solid rgba(47,38,80,.6); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: .18em; color: var(--bright); font-size: 15px; text-transform: uppercase; white-space: nowrap; }
.brand:hover { color: var(--bright); }
.brand img { width: 34px; height: 34px; }
.brand small { font-family: var(--body); font-size: 10px; letter-spacing: .2em; color: var(--gold); border: 1px solid var(--edge); border-radius: 999px; padding: 2px 8px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav li a { display: inline-block; padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); border: 1px solid transparent; transition: all .18s ease; }
.nav li a:hover, .nav li a.active { color: var(--bright); border-color: var(--edge); background: rgba(20,16,34,.9); }
.nav li a.play { color: #0b0814; background: linear-gradient(180deg, #c9a4ff, #a574ff); border-color: #c9a4ff; box-shadow: 0 0 18px rgba(165,116,255,.35); margin-left: 6px; }
.nav li a.play:hover { background: linear-gradient(180deg, #e4d3ff, #b58cff); box-shadow: 0 0 26px rgba(165,116,255,.6); color: #0b0814; }
#menu, .burger { display: none; }

.announce { background: rgba(20,16,34,.92); border-bottom: 1px solid var(--edge); color: var(--bright); text-align: center; padding: 9px 20px; font-weight: 600; font-size: 14px; }
.promo { overflow: hidden; background: linear-gradient(90deg, #241148, #4b2390 50%, #241148); border-bottom: 1px solid var(--edge); }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,240,200,.2) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 5s ease-in-out infinite; pointer-events: none; }
.promo-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 10px 20px; color: #fff; font-size: 15px; }
.promo-row strong { font-family: var(--display); color: var(--gold-hi); letter-spacing: .06em; }
.promo-clock { font-variant-numeric: tabular-nums; background: rgba(0,0,0,.3); border: 1px solid rgba(255,223,134,.35); border-radius: 999px; padding: 1px 10px; color: var(--gold-hi); font-weight: 700; font-size: 13px; }
.promo-burst { width: 9px; height: 9px; background: var(--gold-hi); transform: rotate(45deg); box-shadow: 0 0 12px var(--gold); animation: twinkle 1.6s ease-in-out infinite; }
@keyframes sweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ---------- section furniture (as the site) ---------- */
.section { padding-top: 56px; padding-bottom: 56px; }
.section-title { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; font-family: var(--display); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--nebula); }
.section-title:after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--nebula-dk), transparent); }
.section h2, .deals-sec h2, .faq h2 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 18px; }
.lede { color: var(--dim); max-width: 680px; margin-bottom: 20px; }
.panel { position: relative; border-radius: 14px; background: linear-gradient(180deg, rgba(28,22,48,.95), rgba(14,10,26,.95)); border: 1px solid var(--edge); box-shadow: 0 16px 40px rgba(0,0,0,.5); }

/* ---------- buttons (as the site) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--edge); color: var(--bright); background: rgba(20,16,34,.85); transition: all .18s ease; }
.btn:hover { border-color: var(--nebula); box-shadow: 0 0 22px rgba(165,116,255,.3); transform: translateY(-1px); color: var(--bright); }
.btn.primary { color: #0b0814; background: linear-gradient(180deg, #c9a4ff, #a574ff); border-color: #c9a4ff; box-shadow: 0 8px 26px rgba(165,116,255,.35); }
.btn.primary:hover { background: linear-gradient(180deg, #e4d3ff, #b58cff); color: #0b0814; }
.btn.big { padding: 18px 38px; font-size: 14px; }
.btn.small { padding: 9px 16px; font-size: 11px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.linkish { background: none; border: 0; padding: 0; color: var(--nebula); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- deal pop-up (bottom-left corner) ---------- */
.deal-pop { position: fixed; left: 20px; bottom: 20px; z-index: 45; width: 330px; display: grid; grid-template-columns: 64px 1fr; gap: 4px 14px; align-items: center; padding: 14px 16px 14px 14px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(28,22,48,.98), rgba(14,10,26,.98)); border: 1px solid var(--edge); box-shadow: 0 16px 40px rgba(0,0,0,.6);
  transform: translateX(-120%); transition: transform .45s ease; overflow: hidden; }
.deal-pop.in { transform: none; }
.deal-pop.in.away { transform: translateX(-120%); }
.deal-art { grid-row: span 2; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 10px; background: var(--inset); border: 1px solid var(--edge); overflow: hidden; }
.deal-art .px { width: 48px; height: 48px; }
.deal-art.thumb .banner-img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.deal-body { display: grid; gap: 0; min-width: 0; padding-right: 18px; }
.deal-kicker { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--nebula); }
.deal-body b { font-family: var(--display); color: var(--bright); font-size: 15px; letter-spacing: .04em; line-height: 1.25; }
.deal-body span { color: var(--dim); font-size: 13px; line-height: 1.35; }
.deal-body .deal-clock { color: #ffb07a; font-weight: 700; font-size: 12px; }
.deal-body .deal-clock:empty { display: none; }
.deal-pop .btn { grid-column: 2; justify-self: start; }
.deal-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 0; background: none; color: var(--dim); z-index: 2; }
.deal-x:hover { color: var(--bright); background: rgba(255,255,255,.06); }
.deal-x svg { width: 14px; height: 14px; }

/* ---------- footer (as the site) ---------- */
footer { margin-top: 30px; border-top: 1px solid rgba(47,38,80,.6); background: rgba(6,4,12,.6); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; padding-top: 40px; padding-bottom: 26px; }
footer .fbrand { display: flex; gap: 12px; align-items: flex-start; }
footer .fbrand img { width: 42px; height: 42px; }
footer .fbrand b { display: block; font-family: var(--display); letter-spacing: .18em; color: var(--bright); }
footer .fbrand span { color: var(--dim); font-size: 13px; }
footer h4 { margin: 0 0 10px; font-family: var(--display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--nebula); }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 0 0 6px; }
footer li a { color: var(--dim); font-size: 14px; }
footer li a:hover { color: var(--bright); }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(47,38,80,.5); padding-top: 18px; color: var(--dim); font-size: 12px; text-align: center; }

/* ---------- checkout drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(3,2,8,.62); z-index: 60; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 70; background: linear-gradient(180deg, #120d22, #08060f); border-left: 1px solid var(--edge); box-shadow: -20px 0 60px rgba(0,0,0,.6); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.cart.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--edge); }
.cart-head h2 { font-size: 22px; margin: 0; }
.x { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(20,16,34,.9); border: 1px solid var(--edge); color: var(--dim); }
.x:hover { color: var(--bright); border-color: var(--nebula); }
.x svg { width: 16px; height: 16px; }
.cart-body { flex: 1; overflow-y: auto; padding: 18px 20px 26px; display: grid; gap: 14px; align-content: start; }
.lines { display: grid; gap: 8px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: linear-gradient(180deg, rgba(28,22,48,.92), var(--card)); border: 1px solid var(--edge); }
.line .mini { width: 64px; height: 50px; display: grid; place-items: center; overflow: hidden; }
.line .mini { border-radius: 10px; background: var(--inset); border: 1px solid var(--edge); }
.line .mini .px { width: 40px; height: 40px; }
.line h4 { margin: 0; font-size: 15px; color: var(--bright); font-family: var(--display); letter-spacing: .04em; }
.line small { color: var(--dim); }
.line .right { display: grid; justify-items: end; gap: 6px; }
.line .price { font-weight: 800; color: var(--gold-hi); }
.qty { display: flex; align-items: center; border-radius: 999px; border: 1px solid var(--edge); background: var(--inset); }
.qty button { width: 28px; height: 26px; background: none; border: 0; color: var(--dim); font-weight: 800; }
.qty button:hover { color: var(--gold-hi); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.rm { background: none; border: 0; color: var(--dim); font-size: 12px; padding: 0; }
.rm:hover { color: var(--bad); }
.who { padding: 14px; border-radius: 12px; background: var(--inset); border: 1px solid var(--edge); display: grid; gap: 8px; }
.who label, .pay-label { font-weight: 700; color: var(--bright); font-size: 14px; margin: 0; }
.field { height: 46px; padding: 0 16px; border-radius: 999px; background: rgba(6,4,12,.9); border: 1px solid var(--edge); color: var(--bright); font-weight: 600; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field:focus { outline: none; border-color: var(--nebula); box-shadow: 0 0 18px rgba(165,116,255,.25); }
.who-ok { display: flex; align-items: center; gap: 8px; color: var(--good); font-weight: 700; font-size: 14px; }
.who-ok b { color: var(--bright); }
.who-bad { color: var(--bad); font-weight: 600; font-size: 13px; }
.who-warn { color: #ffc49a; font-weight: 600; font-size: 13px; }
.who-sub { color: var(--dim); font-size: 13px; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; height: 46px; padding: 0 16px; border-radius: 999px; background: rgba(6,4,12,.9); border: 1px solid var(--edge); font-weight: 700; min-width: 0; }
.code-row input:focus { outline: none; border-color: var(--nebula); }
.code-row .btn { padding: 0 18px; height: 46px; }
.code-msg { margin: -6px 0 0; font-size: 13px; font-weight: 600; }
.code-msg:empty { display: none; }
.code-msg.ok { color: var(--good); }
.code-msg.bad { color: var(--bad); }
.totals { margin: 0; padding: 14px; border-radius: 12px; background: var(--inset); border: 1px solid var(--edge); display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
.totals:empty { display: none; }
.totals dt { color: var(--dim); }
.totals dd { margin: 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.totals .disc { color: var(--good); }
.totals .grand { font: 800 22px var(--display); color: var(--bright); padding-top: 6px; border-top: 1px solid var(--edge); }
.totals .yields { color: var(--gold-hi); font-weight: 800; }
.pay { display: grid; gap: 10px; }
.providers { display: grid; gap: 8px; }
.prov { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; border-radius: 12px; background: linear-gradient(180deg, rgba(28,22,48,.92), var(--card)); border: 1px solid var(--edge); text-align: left; transition: all .18s; }
.prov:hover { border-color: var(--nebula-dk); }
.prov[aria-checked=true] { border-color: var(--nebula); box-shadow: 0 0 20px rgba(165,116,255,.2); }
.prov .radio { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid var(--dim); }
.prov[aria-checked=true] .radio { border-color: var(--nebula); background: radial-gradient(circle, var(--nebula) 45%, transparent 50%); }
.prov b { color: var(--bright); display: block; }
.prov small { color: var(--dim); }
.prov .marks { margin-left: auto; display: flex; gap: 4px; }
.prov .marks span { font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--dim); border: 1px solid var(--edge); border-radius: 6px; padding: 2px 6px; }
.agree { display: flex; gap: 10px; align-items: flex-start; color: var(--dim); font-size: 13px; cursor: pointer; }
.agree input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; flex: none; margin: 0; border-radius: 6px; background: var(--inset); border: 1px solid var(--dim); display: grid; place-items: center; cursor: pointer; }
.agree input:checked { background: var(--nebula); border-color: var(--nebula); }
.agree input:checked::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #0b0814; border-bottom: 2px solid #0b0814; transform: rotate(-45deg) translate(1px, -1px); }
.terms { padding: 12px 14px; border-radius: 12px; background: var(--inset); border: 1px solid var(--edge); color: var(--dim); font-size: 13px; }
.pay-error { margin: 0; color: var(--bad); font-weight: 600; font-size: 14px; }
.pay-error:empty { display: none; }
.btn-pay { position: relative; overflow: hidden; }
.btn-pay:not([disabled])::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 3.2s ease-in-out infinite; }
.btn-pay.busy { color: transparent; }
.btn-pay.busy::before { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #0b0814; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 0; color: var(--dim); font-size: 12px; }
.secure svg { width: 14px; height: 14px; flex: none; }
.gate { text-align: center; display: grid; gap: 10px; padding: 18px; border-radius: 12px; background: var(--inset); border: 1px solid rgba(232,194,74,.4); }
.gate b { font-family: var(--display); color: var(--bright); font-size: 18px; letter-spacing: .04em; }
.gate span { color: var(--dim); font-size: 14px; }

/* ---------- mobile bar, toast ---------- */
.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: rgba(12,9,24,.96); border-top: 1px solid var(--edge); backdrop-filter: blur(10px); }
.mobilebar span { font-weight: 700; color: var(--bright); }
.mobilebar span b { color: var(--gold-hi); font-family: var(--display); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, calc(100% + 60px)); opacity: 0; visibility: hidden; border-radius: 999px; background: rgba(28,22,48,.98); border: 1px solid var(--nebula); color: var(--bright); padding: 12px 20px; font-weight: 600; transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s, visibility .3s; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- order page ---------- */
.order-view { padding: 60px 20px 80px; }
.order-card { max-width: 640px; margin: 0 auto; padding: 34px; text-align: center; overflow: hidden; }
.order-card h1 { font-size: 30px; margin-top: 8px; }
.track { list-style: none; padding: 0; margin: 28px 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.track::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 11px; height: 2px; background: var(--edge); }
.track li { position: relative; display: grid; justify-items: center; gap: 8px; color: var(--dim); font-size: 14px; }
.track .dot { width: 24px; height: 24px; border-radius: 50%; background: #0b0814; border: 2px solid var(--edge); transition: all .4s; }
.track li.on { color: var(--bright); }
.track li.on .dot { background: linear-gradient(180deg, #ffe39a, #e8c24a); border-color: #ffe39a; box-shadow: 0 0 16px rgba(232,194,74,.6); }
.track li.now .dot { animation: beat 1.2s ease-in-out infinite; }
@keyframes beat { 50% { box-shadow: 0 0 26px rgba(232,194,74,.95); } }
.o-lines { margin: 20px 0; display: grid; gap: 6px; text-align: left; }
.o-lines div { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 10px; background: var(--inset); border: 1px solid var(--edge); }
.o-lines b { color: var(--gold-hi); }
.burst { position: absolute; inset: 0; pointer-events: none; }
.burst i { position: absolute; left: 50%; top: 42%; width: 10px; height: 14px; background: var(--gold-hi); clip-path: polygon(50% 0, 100% 35%, 50% 100%, 0 35%); animation: fly 1.4s cubic-bezier(.15, .7, .3, 1) forwards; }
@keyframes fly { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }
.sandbox { border-color: #ff8a5c; }
.sb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }

/* ---------- the store: one screen, two panels ---------- */
.eyebrow { font-family: var(--display); color: var(--nebula); letter-spacing: .34em; text-transform: uppercase; font-size: 12px; font-weight: 700; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(6,4,12,.72); border: 1px solid var(--edge); color: var(--text); font-size: 13px; font-weight: 500; }
.badge b { color: var(--gold); font-weight: 700; }
.tick { width: 16px; height: 16px; flex: none; color: var(--good); }
.px { image-rendering: pixelated; image-rendering: crisp-edges; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shop { padding-top: 26px; padding-bottom: 30px; }
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.shop-head h1 { font-size: clamp(30px, 4vw, 42px); margin: 2px 0 0; }
.who-hero { display: flex; }
.shop-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.panel-head h2 { font-size: 22px; margin: 0; }
.panel-sub { color: var(--dim); font-size: 13px; }

.credits { padding: 22px 22px 20px; display: grid; gap: 14px; overflow: hidden; }
.credits .panel-head { margin-bottom: 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 10px; padding-top: 10px; }   /* the row gap holds a tag clear of the tile above */
.tile { position: relative; display: grid; justify-items: center; gap: 2px; padding: 14px 8px 12px; border-radius: 12px; border: 1px solid var(--edge); background: rgba(20,16,34,.85); transition: border-color .18s, background .18s, transform .18s; }
.tile:hover { border-color: var(--nebula); transform: translateY(-2px); }
.tile .px { width: 40px; height: 40px; margin-bottom: 2px; }
.tile b { font: 800 22px/1.1 var(--display); color: var(--bright); }
.tile span { font-size: 13px; color: var(--dim); }
.tile em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--good); min-height: 15px; white-space: nowrap; }
.tile i { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: #0b0814; background: linear-gradient(180deg, #c9a4ff, #a574ff); padding: 1px 8px; border-radius: 999px; }
.tile i.best { background: linear-gradient(180deg, #ffe39a, #e8c24a); }
.tile[aria-checked=true] { border-color: var(--gold); background: linear-gradient(180deg, rgba(64,48,20,.5), rgba(20,16,34,.92)); }
.tile[aria-checked=true] span { color: var(--gold-hi); }
.other { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: var(--inset); border: 1px solid var(--edge); }
.other.on { border-color: var(--gold); }
.other-label { font-size: 14px; font-weight: 600; color: var(--dim); }
.amount-row { display: flex; align-items: center; gap: 8px; }
.step { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--edge); background: rgba(20,16,34,.9); color: var(--bright); font-size: 20px; font-weight: 700; line-height: 1; transition: border-color .18s; }
.step:hover { border-color: var(--nebula); }
.amount-field { display: flex; align-items: baseline; gap: 2px; padding: 2px 14px; border-radius: 10px; background: rgba(6,4,12,.9); border: 1px solid var(--edge); }
.amount-field:focus-within { border-color: var(--nebula); }
.amount-field span { font: 700 18px var(--display); color: var(--dim); }
.amount-field input { width: 4ch; border: 0; background: none; font: 800 26px/1.4 var(--display); color: var(--bright); text-align: center; -moz-appearance: textfield; padding: 0; }
.amount-field input:focus { outline: none; }
.amount-field input::-webkit-outer-spin-button, .amount-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.next { display: grid; gap: 6px; font-size: 13px; color: var(--dim); }
.next-bar { height: 6px; border-radius: 999px; background: var(--inset); border: 1px solid var(--edge); overflow: hidden; }
.next-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #6be3a0, #a6f5c8); transition: width .35s ease; }
.next b { color: var(--good); }
.next .linkish { color: var(--gold-hi); }
.total { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid rgba(47,38,80,.7); }
.total-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.coin .px { width: 56px; height: 56px; display: block; }
.coin.swap .px { animation: pop .45s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes pop { 0% { transform: scale(.7); } 100% { transform: scale(1); } }
.total-left b { font: 800 34px/1 var(--display); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.total-left span { color: var(--dim); font-weight: 700; }
.total-left small { display: block; color: var(--dim); font-size: 12px; margin-top: 2px; }
.total .btn { white-space: nowrap; }
.unlock { position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #0b1a12; background: linear-gradient(180deg, #a6f5c8, #6be3a0); opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s; pointer-events: none; }
.unlock.show { opacity: 1; transform: none; }

.deals-panel { padding: 22px 22px 18px; }
.deal-list { display: grid; gap: 10px; }
.bundle { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid rgba(232,194,74,.45); background: #0b0814; }
.bundle img { display: block; width: 100%; height: auto; }
.bundle-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 14px; background: rgba(8,6,16,.92); border-top: 1px solid rgba(232,194,74,.3); }
.bundle-bar .when { color: #ffb07a; font-weight: 700; font-size: 13px; }
.bundle-bar .price { font: 800 22px var(--display); color: var(--gold-hi); margin-left: auto; }
.drow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(20,16,34,.85); border: 1px solid var(--edge); transition: border-color .18s; }
.drow:hover { border-color: var(--nebula); }
.drow .icons { display: flex; gap: 0; }
.drow .icons .px { width: 34px; height: 34px; }
.drow h3 { font-size: 15px; margin: 0; letter-spacing: .04em; }
.drow p { margin: 0; color: var(--dim); font-size: 12px; line-height: 1.35; }
.drow .buyc { display: grid; justify-items: end; gap: 4px; }
.drow .price { font: 800 18px var(--display); color: var(--gold-hi); }
.drow .when { color: #ffb07a; font-weight: 700; font-size: 12px; }

.facts { list-style: none; margin: 18px 0 0; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; border-radius: 14px; background: rgba(20,16,34,.6); border: 1px solid var(--edge); }
.facts li { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 13px; }
.facts b { color: var(--bright); font-weight: 600; }
.facts .px { width: 28px; height: 28px; }

.help { width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 60px); overflow: auto; padding: 22px; color: var(--text); }
.help::backdrop { background: rgba(3,2,8,.65); }
.help-steps { margin: 0 0 14px; padding-left: 20px; color: var(--dim); }
.help-steps b { color: var(--bright); }
.faq { display: grid; gap: 8px; }
.faq details { border-radius: 12px; background: var(--inset); border: 1px solid var(--edge); padding: 0 14px; }
.faq summary { cursor: pointer; padding: 11px 0; font-weight: 700; color: var(--bright); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--nebula); font-weight: 800; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 0 0 12px; color: var(--dim); font-size: 14px; }
.gate .px { width: 48px; height: 48px; margin: 0 auto; }

/* ---------- small screens (the same breakpoints as the site) ---------- */
@media (max-width: 1000px) {
  .shop-grid { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .burger { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--edge); background: rgba(20,16,34,.9); cursor: pointer; margin-left: auto; }
  .burger i, .burger i:before, .burger i:after { display: block; width: 18px; height: 2px; background: var(--bright); position: relative; content: ""; }
  .burger i:before { position: absolute; top: -6px; } .burger i:after { position: absolute; top: 6px; }
  .nav ul { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 20px 18px; background: rgba(6,4,12,.97); border-bottom: 1px solid var(--edge); }
  .nav li a { display: block; text-align: center; padding: 12px; }
  .nav li a.play { margin: 6px 0 0; }
  #menu:checked ~ ul { display: flex; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .wrap { padding: 0 14px; }
  .shop { padding-top: 16px; }
  .credits, .deals-panel { padding: 16px 14px; }
  .tiles { gap: 18px 8px; }
  .tile { padding: 12px 4px 10px; }
  .tile b { font-size: 19px; }
  .tile .px { width: 32px; height: 32px; }
  .total .btn { padding: 14px 20px; }
  .total-left b { font-size: 28px; }
  .coin .px { width: 44px; height: 44px; }
  .drow { grid-template-columns: 1fr auto; }
  .drow .icons { display: none; }
  .facts { justify-content: flex-start; }
  .deal-pop { left: 10px; right: 10px; width: auto; bottom: 72px; }
  .mobilebar:not([hidden]) { display: flex; }
  footer .wrap { grid-template-columns: 1fr; padding-bottom: 90px; }
  .brand small { display: none; }
  .sb-actions { grid-template-columns: 1fr; }
  .order-card { padding: 24px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  #motes { display: none; }
}
.shop-grid.solo { grid-template-columns: minmax(0, 720px); justify-content: center; }
.shop-grid > *, .total-left > div, .drow > div { min-width: 0; }
.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.who-hero { max-width: 100%; }
.who-hero .badge { flex-wrap: wrap; max-width: 100%; }
@media (max-width: 560px) {
  .tile em { font-size: 10px; }
  .tile span { font-size: 12px; }
  .other { padding: 8px 10px; }
  .other-label { flex-basis: 100%; }
  .amount-row { width: 100%; justify-content: space-between; }
  .total { flex-wrap: wrap; }
  .total .btn { flex: 1; }
  .bundle-bar { flex-wrap: wrap; }
}
