/* Priv Cheats — pure black, monochrome, starfield. Colour is reserved for status. */
:root {
  --bg: #000;
  --card: #090909;
  --card-2: #121212;
  --line: #1c1c1c;
  --line-2: #2e2e2e;
  --text: #fff;
  --muted: #9b9b9b;
  --dim: #666;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --info: #93b4ff;
  --radius: 20px;
  --radius-sm: 12px;
  --font: "Segoe UI Variable Display", "Inter", "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, "SF Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--text);
  font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased;
  /* starfield: three sparse dot layers at different scales */
  background:
    radial-gradient(1px 1px at 40px 60px, rgba(255, 255, 255, .55) 50%, transparent 51%) 0 0 / 310px 290px,
    radial-gradient(1px 1px at 170px 120px, rgba(255, 255, 255, .35) 50%, transparent 51%) 0 0 / 230px 370px,
    radial-gradient(1.5px 1.5px at 90px 210px, rgba(255, 255, 255, .28) 50%, transparent 51%) 0 0 / 470px 410px,
    radial-gradient(1100px 520px at 50% -10%, #161616, transparent 70%),
    var(--bg);
}
::selection { background: #fff; color: #000; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.mono { font-family: var(--mono); }
.right { text-align: right; }
.spacer { flex: 1; }
svg.i, .nav svg, .nav-right svg, .btn svg, .tile svg, .search svg, .subnav svg { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ── top bar ── */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 10px 26px; background: rgba(0, 0, 0, .72); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; }
.logo { display: inline-flex; align-items: center; gap: 10px; margin-right: 18px; color: #fff; font-weight: 800; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.logo img { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); object-fit: cover; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.logo:hover img { transform: rotate(-6deg) scale(1.08); box-shadow: 0 0 24px rgba(255, 255, 255, .35); }
.nav, .nav-right { display: flex; align-items: center; gap: 4px; }
.nav { flex: 1; }
.nav a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 10px; color: var(--muted); font-weight: 500; text-decoration: none; transition: color .15s, background .15s; }
.nav a:hover { color: #fff; }
.nav a.active { color: #fff; background: #1a1a1a; box-shadow: 0 6px 20px rgba(0, 0, 0, .6); }
.nav-right { gap: 8px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: #0d0d0d; color: #fff; }
.icon-btn:hover { background: #1a1a1a; }
.badge { min-width: 20px; padding: 0 6px; border-radius: 999px; background: #fff; color: #000; font-size: .72rem; font-weight: 700; line-height: 20px; text-align: center; }
.subnav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-bottom: 32px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 9px; color: var(--muted); font-size: .92rem; font-weight: 500; text-decoration: none; }
.subnav a:hover { color: #fff; }
.subnav a.active { background: #1c1c1c; color: #fff; }

/* ── layout ── */
.page { flex: 1; width: 100%; max-width: 1640px; margin: 0 auto; padding: 44px clamp(16px, 7vw, 130px) 110px; }
.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px clamp(16px, 7vw, 130px) 36px; border-top: 1px solid var(--line); color: var(--dim); font-size: .88rem; }
.footer a { margin-left: 22px; text-decoration: none; }
.footer a:hover { color: #fff; }
.section { margin-top: 120px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head h2 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.section-head p { margin: 12px 0 0; font-size: 1.1rem; color: var(--muted); }
.section-head.center { flex-direction: column; text-align: center; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 560px)); justify-content: center; }
.two-col { display: grid; gap: 26px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
.two-col.even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.page > h1 { margin-bottom: 30px; }
.page > p:first-child { margin-bottom: 18px; font-size: .92rem; }
.page > p:first-child a { text-decoration: none; }
.page > p:first-child a:hover { color: #fff; }

/* ── controls ── */
button, input, select, textarea { font: inherit; color: inherit; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--line-2); background: #0d0d0d; color: #fff; font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, transform .1s, box-shadow .15s; }
.btn:hover { background: #1b1b1b; border-color: #444; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
.btn.primary { background: linear-gradient(#8e8e8e, #686868); border-color: #a9a9a9; box-shadow: 0 0 40px -8px rgba(255, 255, 255, .28); }
.btn.primary:hover { background: linear-gradient(#a3a3a3, #7a7a7a); box-shadow: 0 0 50px -6px rgba(255, 255, 255, .42); }
.btn.white { background: #fff; border-color: #fff; color: #000; }
.btn.white:hover { background: #e6e6e6; }
.btn.danger { color: var(--danger); }
.btn.sm { height: 32px; padding: 0 12px; font-size: .82rem; border-radius: 8px; }
.btn.lg { height: 62px; padding: 0 34px; font-size: 1.2rem; border-radius: 12px; }
.btn.block { width: 100%; height: 52px; }
input, select, textarea { width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #060606; transition: border-color .15s; }
textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; }
select option { background: #111; }
input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, select:focus, textarea:focus { outline: none; border-color: #fff; }
.btn:focus-visible, .chip:focus-visible, .plan:focus-visible, .chk:focus-visible, a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
label { display: block; margin-bottom: 16px; font-size: .86rem; font-weight: 500; color: var(--muted); }
label > input, label > select, label > textarea { margin-top: 7px; color: #fff; }
.segmented, .tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.tabs { margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: .92rem; font-weight: 500; text-transform: capitalize; text-decoration: none; cursor: pointer; }
.chip:hover { color: #fff; }
.chip[aria-pressed="true"] { background: #fff; color: #000; font-weight: 600; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.search { position: relative; flex: 1; max-width: 300px; min-width: 200px; }
.search input { padding-left: 42px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); pointer-events: none; }

/* ── surfaces ── */
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.card > h3:first-child { margin-bottom: 18px; }
.card > :last-child { margin-bottom: 0; }
.card.narrow { max-width: 430px; margin: 60px auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 11px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); background: color-mix(in srgb, currentColor 10%, #000); font-size: .78rem; font-weight: 600; text-transform: capitalize; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.green { color: var(--ok); } .pill.yellow { color: var(--warn); } .pill.red { color: var(--danger); } .pill.gray { color: var(--muted); } .pill.purple { color: var(--info); }
.tile { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: #111; font-size: 1.15rem; }
.tile.sm { width: 34px; height: 34px; border-radius: 9px; font-size: .9rem; }

/* ── hero ── */
.hero { padding: 90px 0 70px; text-align: center; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 44px; padding: 9px 20px; border: 1px solid var(--line-2); border-radius: 999px; background: #0a0a0a; color: var(--muted); font-size: .98rem; text-decoration: none; }
.hero-pill b { color: #fff; }
.hero-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.hero h1 { margin: 0 auto 30px; font-size: clamp(3rem, 9vw, 8rem); font-weight: 700; line-height: .98; letter-spacing: -.05em; }
.hero .lede { margin: 0 auto 44px; max-width: 60ch; font-size: clamp(1.05rem, 1.6vw, 1.4rem); color: var(--muted); }
.hero .row { justify-content: center; gap: 20px; }

/* showcase: a mock scene with the menu open, standing in for a gameplay clip */
.showcase { position: relative; height: clamp(320px, 46vw, 680px); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; background: linear-gradient(#1b1b1b 0 52%, #0c0c0c 52%); box-shadow: 0 60px 140px -40px rgba(255, 255, 255, .14); }
.showcase::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 55% 50%, transparent 45%, rgba(0, 0, 0, .78)); pointer-events: none; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.f-label { fill: #fff; font-family: var(--mono); font-weight: 600; paint-order: stroke; stroke: #000; stroke-width: 3px; }
.f-fov { r: calc(var(--fov, 35) * 3.2px); transition: r .15s; }
/* each menu checkbox hides its layer when unchecked */
.showcase:has([data-f="box"][aria-checked="false"]) .f-box,
.showcase:has([data-f="bones"][aria-checked="false"]) .f-bones,
.showcase:has([data-f="hp"][aria-checked="false"]) .f-hp,
.showcase:has([data-f="label"][aria-checked="false"]) .f-label,
.showcase:has([data-f="snap"][aria-checked="false"]) .f-snap,
.showcase:has([data-f="fov"][aria-checked="false"]) .f-fov { display: none; }
.hud { position: absolute; z-index: 1; display: flex; align-items: center; gap: 14px; font: 600 .8rem var(--mono); color: #cfcfcf; text-shadow: 0 1px 4px #000; }
.hud-top { top: 4%; left: 50%; transform: translateX(-50%); gap: 34px; padding: 6px 22px; border-bottom: 1px solid rgba(255, 255, 255, .25); color: #8f8f8f; }
.hud-top b { color: #fff; font-size: 1rem; }
.hud-left { left: 4%; bottom: 6%; flex-direction: column; align-items: flex-start; gap: 6px; }
.hud-left div { width: clamp(120px, 16vw, 230px); height: 9px; background: rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .25); }
.hud-left i { display: block; height: 100%; background: var(--ok); }
.hud-left .shield i { background: #7cc4ff; }
.hud-right { right: 4%; bottom: 6%; align-items: baseline; gap: 8px; }
.hud-right b { font-size: clamp(1.6rem, 3vw, 2.6rem); color: #fff; }
.mm { position: absolute; z-index: 2; left: 5%; top: 12%; width: min(290px, 58%); border: 1px solid #333; border-radius: 10px; background: rgba(10, 10, 10, .92); backdrop-filter: blur(8px); box-shadow: 0 30px 80px #000; text-align: left; font-size: .82rem; }
.mm-bar { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid #222; font-weight: 700; letter-spacing: .06em; }
.mm-bar span { color: var(--dim); font-weight: 500; letter-spacing: 0; }
.mm-tabs { display: flex; gap: 4px; padding: 8px 10px 0; }
.mm-tabs b, .mm-tabs span { padding: 5px 12px; border-radius: 7px; font-size: .78rem; color: var(--dim); }
.mm-tabs b { background: #1f1f1f; color: #fff; }
.mm-body { padding: 8px 14px 14px; }
.mm-slider { display: grid; grid-template-columns: 44px minmax(0, 1fr) 40px; align-items: center; gap: 10px; margin: 10px 0 0; font-size: .84rem; }
.mm-slider b { font: 500 .8rem var(--mono); text-align: right; color: #fff; }
input[type="range"] { height: 18px; margin: 0; padding: 0; border: 0; background: transparent; accent-color: #fff; cursor: pointer; }
.chk { display: flex; align-items: center; gap: 10px; width: 100%; padding: 5px 0; border: 0; background: none; color: #fff; font-size: inherit; text-align: left; cursor: pointer; }
.chk i { flex: none; width: 14px; height: 14px; border-radius: 4px; border: 1px solid #444; background: #000; }
.chk[aria-checked="true"] i { background: #fff center / 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); border-color: #fff; }
.chk[aria-checked="false"] span { color: var(--dim); }
.bar { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 9px 0; font-size: .84rem; color: var(--muted); }
.bar-track { height: 6px; border-radius: 3px; background: #1d1d1d; overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: 3px; background: #fff; }
.bar b { min-width: 58px; font: 500 .8rem var(--mono); text-align: right; color: #fff; }
.marquee { display: flex; justify-content: space-evenly; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 54px; font-weight: 800; font-size: clamp(1rem, 1.9vw, 1.7rem); letter-spacing: -.02em; text-transform: uppercase; color: #5b5b5b; }
.marquee a { text-decoration: none; transition: color .2s; }
.marquee a:hover { color: #fff; }

/* ── feature cards ── */
.fgrid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); }
.fcard { padding: 16px 16px 30px; border: 1px solid var(--line-2); border-radius: 30px; background: var(--card); }
.fmedia { min-height: 330px; margin-bottom: 26px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #050505; display: flex; flex-direction: column; justify-content: center; }
.fmedia-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 16px; font-weight: 600; }
.check-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 0; border-top: 1px solid var(--line); }
.check-row span:last-child { display: inline-flex; align-items: center; gap: 10px; color: var(--ok); font-size: .9rem; font-weight: 600; }
.check-row svg { width: 26px; height: 26px; padding: 6px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fcard h3 { margin: 0 14px 10px; font-size: 1.35rem; }
.fcard > p { margin: 0 14px; color: var(--muted); }
.status-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); text-decoration: none; }
.status-row:first-child { border-top: 0; }
.status-row:hover b { text-decoration: underline; }
.status-row b { font-weight: 600; }

/* ── product banners ── */
.pcard { position: relative; display: flex; align-items: center; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; background: radial-gradient(60% 90% at 22% 60%, #2b2b2b, transparent 70%), linear-gradient(120deg, #151515, #070707); color: #fff; text-decoration: none; transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .2s, box-shadow .25s; }
a.pcard:hover { transform: translateY(-6px); border-color: #777; box-shadow: 0 30px 70px -30px rgba(255, 255, 255, .3); }
/* white shards in two corners */
.pcard::before, .pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, #fff, #8d8d8d); pointer-events: none; }
.pcard::before { clip-path: polygon(86% 0, 100% 0, 100% 30%, 97% 22%, 100% 44%, 92% 14%, 94% 28%); }
.pcard::after { clip-path: polygon(0 100%, 0 62%, 5% 80%, 3% 58%, 12% 92%, 9% 74%, 20% 100%); opacity: .85; }
.pcard-art { position: relative; flex: none; display: grid; place-items: center; width: 42%; height: 100%; }
.pcard-art svg { width: 58%; height: auto; aspect-ratio: 1; fill: none; stroke: #fff; stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 22px rgba(255, 255, 255, .5)); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
a.pcard:hover .pcard-art svg { transform: scale(1.1) rotate(-5deg); }
.pcard-title { position: relative; flex: 1; padding-right: 8%; text-align: center; text-transform: uppercase; font-weight: 900; line-height: .95; letter-spacing: -.02em; }
.pcard-title b { display: block; font-size: clamp(1.4rem, 2.5vw, 2.5rem); font-weight: 900; }
.pcard-title span { display: block; margin-top: 4px; font-size: clamp(1rem, 1.7vw, 1.7rem); }
.pcard .pill { position: absolute; right: 14px; bottom: 14px; z-index: 1; }
.pcard-price { position: absolute; left: 22%; bottom: 14px; z-index: 1; font-size: .86rem; font-weight: 600; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
a.pcard:hover .pcard-price { opacity: 1; transform: none; }
.pcard.big { border-radius: var(--radius); }

/* ── product page ── */
.cat { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field-label { margin: 18px 0 8px; font-size: .86rem; font-weight: 500; color: var(--muted); }
.plans { display: grid; gap: 8px; margin: 0 0 18px; }
.plan { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 12px; background: #060606; color: #fff; font-size: .98rem; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.plan:hover { border-color: #555; }
.plan[aria-pressed="true"] { border-color: #fff; background: #131313; }
.plan:disabled { opacity: .4; cursor: not-allowed; }
.plan .radio { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #555; }
.plan[aria-pressed="true"] .radio { border-color: #fff; background: radial-gradient(#fff 40%, transparent 46%); }
.plan .dots { flex: 1; }
.plan b { min-width: 64px; text-align: right; font-weight: 700; }

/* ── stats, tables ── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.stat, .card.stat { padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.stat b { display: block; margin-bottom: 4px; font-size: 2rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.stat span { font-size: .88rem; text-transform: capitalize; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { padding: 15px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
th { font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
tbody tr:hover td { background: #0f0f0f; }
tr:last-child td { border-bottom: 0; }
td.right, th.right { text-align: right; }
td.mono { white-space: nowrap; }
td a:hover { color: #fff; text-decoration-color: #fff; }

/* ── keys, orders, lists ── */
.key-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; padding: 10px 10px 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: #050505; }
.key-row code { font: 600 .92rem var(--mono); letter-spacing: .05em; }
.order { margin-bottom: 18px; }
.order-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.order-head a { text-decoration: none; }
.line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; }
.line.total { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.qty { display: inline-flex; align-items: center; gap: 12px; }
.qty button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: #0d0d0d; cursor: pointer; }
.qty button:hover { background: #fff; color: #000; }
.banner { margin-bottom: 26px; padding: 16px 20px; border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--ok) 8%, #000); }
.banner b { color: var(--ok); }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 0; }
.kv dt, .kv dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); }
.kv dt { padding-right: 34px; color: var(--muted); }
.kv dt:nth-last-of-type(1), .kv dd:nth-last-of-type(1) { border-bottom: 0; padding-bottom: 0; }
.kv dt:first-of-type, .kv dd:first-of-type { padding-top: 0; }
details { padding: 18px 0; border-bottom: 1px solid var(--line); }
details:first-of-type { padding-top: 0; }
details:last-child { border-bottom: 0; padding-bottom: 0; }
summary { display: flex; justify-content: space-between; gap: 14px; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font-size: 1.3rem; line-height: 1; color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); color: #fff; }
details p { margin: 12px 0 0; max-width: 62ch; color: var(--muted); }
ol.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
ol.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 8px; padding: 16px 0; border-top: 1px solid var(--line); counter-increment: step; }
ol.steps li:first-child { border-top: 0; padding-top: 0; }
ol.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font: 500 .9rem var(--mono); color: var(--dim); }
ol.steps span { color: var(--muted); }
.msg { max-width: 86%; margin-bottom: 10px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; background: var(--card); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.staff { margin-left: auto; border-radius: 16px 16px 4px 16px; border-color: #555; background: #131313; }
.msg-meta { margin-bottom: 6px; font-size: .78rem; color: var(--muted); }
.price-input { width: 100px; height: 36px; text-align: right; }
pre.code { margin: 0; padding: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #050505; font: .84rem/1.7 var(--mono); }
.cta { margin-top: 120px; padding: 80px 24px; text-align: center; border: 1px solid var(--line-2); border-radius: 30px; background: radial-gradient(700px 300px at 50% 0, #1f1f1f, transparent 70%), var(--card); }
.cta h2 { font-size: clamp(2rem, 5vw, 3.8rem); }
.cta p { margin-bottom: 34px; font-size: 1.15rem; color: var(--muted); }
.cta .row { justify-content: center; }

.toasts { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: grid; gap: 8px; }
.toast { max-width: 340px; padding: 13px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: #141414; box-shadow: 0 20px 50px #000; font-size: .92rem; animation: rise .2s ease-out; }
.toast.error { border-color: color-mix(in srgb, var(--danger) 60%, transparent); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; gap: 6px; padding: 8px 12px; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; }
  .nav a { padding: 8px 12px; white-space: nowrap; }
  .logo { margin-right: auto; }
  .two-col, .two-col.even { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 44px; }
  .section, .cta { margin-top: 72px; }
  .btn.lg { height: 54px; padding: 0 24px; font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* banners that use supplied artwork */
.pcard.art { aspect-ratio: 786 / 445; background: #050505; border-radius: 16px; }
.pcard.art::before, .pcard.art::after { display: none; }
.pcard.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
a.pcard.art:hover img { transform: scale(1.04); }
/* sits exactly over the badge drawn into the artwork, so "updating"/"offline" replaces it */
.pcard.art .pill { right: 4.6%; bottom: 6.6%; width: 25.6%; height: 12.4%; justify-content: center; background: #0a0a0a; font-size: clamp(.6rem, 1.05vw, .95rem); }
.pcard.art .pcard-price { left: 4%; bottom: 6%; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .75); backdrop-filter: blur(6px); }

/* sign-in code field */
.code-input { height: 60px; font-size: 1.7rem; font-weight: 600; letter-spacing: .5em; text-align: center; }
.code-input::placeholder { letter-spacing: .5em; }
.card.narrow h2 { margin-bottom: 12px; }

/* narrow screens: nav scrolls sideways without a visible scrollbar */
.nav { scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }

/* payment screen */
.pay-amount { font-size: 1.35rem !important; letter-spacing: .02em !important; }

/* banners keep the shape of their own artwork; in a row they share one height and split the width by shape */
.pcard, .pcard.art { aspect-ratio: var(--ratio, 1.7778); }
.grid:has(> .pcard) { display: flex; flex-wrap: wrap; justify-content: center; }
.grid > .pcard { flex: var(--ratio, 1.7778) 1 0; min-width: 0; max-width: calc(var(--ratio, 1.7778) * 400px); }
@media (max-width: 900px) { .grid > .pcard { flex: 1 1 100%; max-width: 560px; } }
/* live status pill: sized from the banner's height so it covers the drawn badge on any shape */
.pcard.art .pill { right: 3.8%; bottom: 6%; width: auto; height: 13.2%; aspect-ratio: 4.1; }
