/* Layout: one 46rem reading column; controller-button keycaps are the signature element. Single dark look by choice. */
:root {
  color-scheme: dark;
  --bg: #101418;        /* asphalt at night */
  --surface: #182028;
  --raised: #212c37;
  --line: #2f3d4b;
  --fg: #eef2f5;
  --muted: #9fb0c0;
  --star: #ffc531;      /* wanted-star yellow */
  --star-ink: #1b1400;
  --ok: #4fd08a;
  --info: #6cb6ff;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 10px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.55 var(--body); }
.wrap { max-width: 46rem; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
main { display: flex; flex-direction: column; gap: 2.5rem; padding-block: 2rem 3.5rem; }
main > section { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 9vw, 4.25rem); }
h2 { font-size: 1.75rem; }
h3 { font: 600 1.125rem/1.25 var(--body); }
a { color: var(--star); }
:focus-visible { outline: 2px solid var(--star); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.eyebrow { font: 600 .8125rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--star); }
.fine, .count-note { font-size: .9rem; color: var(--muted); }

/* Header / footer */
.site-head { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 5; padding-top: env(safe-area-inset-top, 0px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; padding-block: .7rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--fg); line-height: 1; gap: 2px; }
.brand-stars { color: var(--star); font-size: .62rem; letter-spacing: .22em; }
.brand-name { font: 700 1.5rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
nav { display: flex; gap: .25rem; }
nav a { color: var(--muted); text-decoration: none; font-weight: 500; padding: .4rem .65rem; border-radius: 6px; }
nav a:hover { color: var(--fg); }
nav a[aria-current="page"] { color: var(--star-ink); background: var(--star); }
.site-foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
.site-foot .wrap { display: flex; flex-direction: column; gap: .6rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 600 1rem/1 var(--body); padding: .8rem 1.1rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--fg); text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--muted); }
.btn-primary { background: var(--star); border-color: var(--star); color: var(--star-ink); }
.btn-primary:hover { filter: brightness(1.08); border-color: var(--star); }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* Hero */
.hero { padding-top: 1rem; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; max-width: 26rem; }
.countdown div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .7rem .25rem .55rem; text-align: center; }
.countdown span { display: block; font: 700 2.4rem/1 var(--display); font-variant-numeric: tabular-nums; color: var(--star); }
.countdown small { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Status strip */
.status-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.status-strip div { padding: .75rem .9rem; display: flex; flex-direction: column-reverse; gap: .15rem; }
.status-strip div + div { border-left: 1px solid var(--line); }
.status-strip dt { font-size: .8125rem; color: var(--muted); }
.status-strip dd { font: 700 2rem/1 var(--display); font-variant-numeric: tabular-nums; }

/* Link cards */
.cards { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; color: var(--fg); text-decoration: none; display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
a.card:hover { border-color: var(--star); }
.card p { color: var(--muted); font-size: .975rem; }

/* Cheat tools */
.tools { gap: .75rem !important; }
.toggle { display: inline-flex; align-self: flex-start; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.toggle button { font: 600 1rem/1 var(--body); padding: .65rem 1.2rem; background: transparent; color: var(--muted); border: 0; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.search input { width: 100%; font: inherit; padding: .75rem .9rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--fg); }
.search input::placeholder { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font: 500 .9rem/1 var(--body); padding: .5rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--star); color: var(--star); }

/* Cheat cards */
.cheat-list { display: flex; flex-direction: column; gap: .6rem; }
.cheat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .55rem; }
.cheat[data-status="verified"] { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.cheat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.effect { color: var(--muted); }
.fav { font-size: 1.35rem; line-height: 1; background: none; border: 0; color: var(--line); cursor: pointer; padding: .2rem .3rem; margin: -.2rem -.3rem 0 0; }
.fav:hover { color: var(--muted); }
.fav[aria-pressed="true"] { color: var(--star); }
.pending { font-size: .95rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; padding: .55rem .75rem; }
.phone { font-size: 1.05rem; }
.phone strong { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--star); letter-spacing: .04em; }
.notes { font-size: .9rem; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--muted); }
.badge { font-weight: 600; padding: .2rem .5rem; border-radius: 5px; border: 1px solid currentColor; white-space: nowrap; }
.badge-verified { color: var(--ok); }
.badge-reported { color: var(--info); }
.badge-watching { color: var(--muted); }

/* Controller keycaps */
.seq { display: flex; flex-wrap: wrap; gap: .35rem; }
.key { font: 700 1rem/1 var(--body); min-width: 2.35rem; height: 2.35rem; padding: 0 .45rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--raised); border: 1px solid var(--line); border-bottom-width: 3px; color: var(--fg); }
.key-l1, .key-r1, .key-l2, .key-r2 { border-radius: 8px; font-size: .85rem; }
.key-up, .key-down, .key-left, .key-right { border-radius: 8px; font-size: 1.15rem; }
body:not([data-platform="xbox"]) .only-xbox, body[data-platform="xbox"] .only-ps { display: none; }
body:not([data-platform="xbox"]) .key-north { color: #5fd3b0; }
body:not([data-platform="xbox"]) .key-east { color: #ff7a7a; }
body:not([data-platform="xbox"]) .key-south { color: #8fb4ff; }
body:not([data-platform="xbox"]) .key-west { color: #e9a3e0; }
body[data-platform="xbox"] .key-north { color: #ffd24d; }
body[data-platform="xbox"] .key-east { color: #ff7a7a; }
body[data-platform="xbox"] .key-south { color: #6fdc8c; }
body[data-platform="xbox"] .key-west { color: #8fb4ff; }

.empty { color: var(--muted); text-align: center; padding: 1.5rem 0; }

/* Legend, facts, FAQ */
.legend dl { display: flex; flex-direction: column; gap: .6rem; }
.legend dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; align-items: baseline; }
.legend dd { color: var(--muted); font-size: .95rem; }
.facts { border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 500; min-width: 0; }
details { border-bottom: 1px solid var(--line); padding: .8rem 0; }
summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); padding-top: .5rem; }

/* Checklists */
.checklist-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.progress { font: 700 1.4rem/1 var(--display); color: var(--star); font-variant-numeric: tabular-nums; white-space: nowrap; }
.checklist > p { color: var(--muted); }
.checklist ul { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.checklist li + li { border-top: 1px solid var(--line); }
.checklist label { display: flex; gap: .8rem; align-items: flex-start; padding: .8rem .9rem; cursor: pointer; background: var(--surface); }
.checklist input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--star); flex: none; }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; }
.plain { list-style: disc; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.prose { gap: .7rem !important; max-width: 38rem; }
.prose h2 { margin-top: 1rem; }
.ad { min-height: 100px; }

@media (max-width: 26rem) {
  .facts div, .legend dl div { grid-template-columns: 1fr; gap: .15rem; }
  nav a { padding: .4rem .45rem; }
}
@media (prefers-reduced-motion: no-preference) { .btn, .card, .chip, .fav { transition: border-color .15s, color .15s, filter .15s; } }

/* Launch kit + signup */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { text-align: left; padding: .7rem .6rem; vertical-align: top; overflow-wrap: anywhere; }
.compare thead th { font: 700 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; background: var(--surface); }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th { color: var(--muted); font-weight: 400; width: 28%; }
.gear dt { color: var(--fg); }
.signup { background: var(--surface); border: 1px solid var(--star); border-radius: var(--r); padding: 1.25rem; }
.signup > p { color: var(--muted); }
.signup-form { display: flex; flex-wrap: wrap; gap: .5rem; }
.signup-form input { flex: 1 1 14rem; min-width: 0; font: inherit; padding: .75rem .9rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); color: var(--fg); }
.signup-form button:disabled { opacity: .6; cursor: default; }
.signup-msg:empty { display: none; }
.signup-msg { color: var(--fg) !important; font-weight: 500; }
