/* Casino-floor look: one dark theme, felt-purple surfaces, gold as the single loud accent.
   Layout: glowing hero band, one reading column (70ch), cards lit from the top edge. */
:root {
  color-scheme: dark;
  --bg: #0b0716;
  --surface: #181030;
  --surface-2: #211742;
  --line: #34275f;
  --ink: #f4f0ff;
  --muted: #ada3cc;
  --gold: #ffc93c;
  --accent: #ffd15c;
  --accent-ink: #1a1030;
  --ok: #2fe39a;
  --ok-bg: rgba(47, 227, 154, 0.13);
  --warn: #ffb648;
  --warn-bg: rgba(255, 182, 72, 0.13);
  --bad: #ff6b85;
  --bad-bg: rgba(255, 84, 112, 0.13);
  --grad-gold: linear-gradient(135deg, #ffe07a 0%, #ffc93c 40%, #ff9a1f 100%);
  --glow: 0 0 0 1px rgba(255, 201, 60, 0.25), 0 10px 40px -12px rgba(168, 85, 247, 0.55);
  --display: "Commissioner", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.84rem;
  --step-0: 1.02rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2rem, 5vw, 3.2rem);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0; color: var(--ink); font-family: var(--body); font-size: var(--step-0); line-height: 1.65;
  background:
    radial-gradient(900px 420px at 85% -80px, rgba(168, 85, 247, 0.28), transparent 70%),
    radial-gradient(700px 380px at 0% 120px, rgba(255, 154, 31, 0.12), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: #fff; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1080px; margin-inline: auto; padding-inline: 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 6px 10px; z-index: 10; }

/* Independence strip */
.strip { background: #06030e; color: var(--muted); font-size: var(--step--1); border-bottom: 1px solid var(--line); }
.strip .wrap { padding-block: 7px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.strip strong { font-weight: 600; color: var(--ink); }

/* Header */
.site-head { background: rgba(14, 8, 30, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-block: 12px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: #fff; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.brand span { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; flex-wrap: wrap; gap: 0; font-size: 0.86rem; flex: 1; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 8px; border-radius: 999px; font-weight: 500; transition: background 0.15s; }
.nav a:hover { background: var(--surface-2); color: #fff; }
.nav a[aria-current="page"] { background: var(--grad-gold); color: var(--accent-ink); font-weight: 700; }
.lang { display: flex; gap: 2px; font-size: var(--step--1); font-weight: 600; }
.lang a { color: inherit; text-decoration: none; padding: 3px 8px; border: 1px solid transparent; border-radius: 6px; }
.lang a[aria-current="true"] { border-color: var(--gold); color: var(--gold); }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); border: 1.5px solid var(--gold); font-family: var(--display); font-weight: 700; font-size: 0.9rem; text-decoration: none; padding: 6px 13px; border-radius: 999px; white-space: nowrap; transition: background 0.15s, color 0.15s; }
.lang-btn:hover { background: var(--gold); color: var(--accent-ink); }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-btn { display: none; cursor: pointer; font-weight: 700; font-family: var(--display); padding: 6px 14px; border-radius: 999px; background: var(--grad-gold); color: var(--accent-ink); }
.nav-toggle:focus-visible + .nav-btn { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 980px) {
  .site-head .wrap { gap: 8px 10px; }
  .nav { font-size: 0.95rem; }
  .lang-btn { order: 1; margin-left: auto; padding: 5px 11px; }
  .nav-btn { display: inline-block; order: 2; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; gap: 4px; order: 5; padding-top: 6px; }
  .nav a { padding: 10px 14px; background: var(--surface); }
  .nav-toggle:checked ~ .nav { display: flex; }
}

/* Page */
main.wrap { padding-block: 22px 64px; display: grid; gap: 30px; }
main.wrap > * { min-width: 0; }
.crumbs { font-size: var(--step--1); color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.crumbs a { color: var(--muted); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: var(--step-3); font-weight: 800; }
h2 { font-size: var(--step-2); font-weight: 800; margin-top: 22px; padding-left: 24px; position: relative; }
h2::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 10px; height: 10px; transform: rotate(45deg); background: var(--grad-gold); box-shadow: 0 0 14px rgba(255, 201, 60, 0.7); }
h3 { font-size: var(--step-1); font-weight: 700; margin-top: 8px; color: var(--gold); }

/* Hero band */
.intro { position: relative; overflow: hidden; display: grid; gap: 16px; padding: clamp(22px, 4vw, 42px); border-radius: 22px; border: 1px solid var(--line);
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(255, 201, 60, 0.22), transparent 70%),
    radial-gradient(480px 300px at 0% 100%, rgba(168, 85, 247, 0.35), transparent 70%),
    linear-gradient(135deg, #24134d 0%, #150b2e 60%, #0f0822 100%);
  box-shadow: var(--glow); }
.intro::after { content: "♠ ♥ ♦ ♣"; position: absolute; right: 22px; bottom: 6px; font-size: clamp(2.4rem, 9vw, 5.5rem); letter-spacing: 0.08em; line-height: 1; color: rgba(255, 255, 255, 0.045); pointer-events: none; white-space: nowrap; }
.intro > * { position: relative; z-index: 1; max-width: 72ch; }
.intro h1 { background: linear-gradient(180deg, #ffffff 30%, #ffe6a3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: var(--step-1); line-height: 1.5; margin: 0; color: #e6defa; }
.byline { font-size: var(--step--1); color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; }
.byline span { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); padding: 3px 11px; border-radius: 999px; }
.byline a { color: #fff; font-weight: 600; }

.prose { display: grid; gap: 14px; max-width: 70ch; min-width: 0; }
.prose p, .prose ul, .prose ol { margin: 0; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 7px; }
.prose li::marker { color: var(--gold); font-weight: 700; }
.prose strong { color: #fff; }

/* Notices */
.notice { background: linear-gradient(90deg, var(--bad-bg), rgba(255, 84, 112, 0.04)); border: 1px solid rgba(255, 107, 133, 0.4); border-left: 6px solid var(--bad); border-radius: var(--radius); padding: 16px 20px; max-width: 70ch; display: grid; gap: 8px; }
.notice p { margin: 0; }
.notice .tag { font-family: var(--display); font-weight: 800; font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bad); }
.notice.warn { background: linear-gradient(90deg, var(--warn-bg), rgba(255, 182, 72, 0.04)); border-color: rgba(255, 182, 72, 0.4); border-left-color: var(--warn); }
.notice.warn .tag { color: var(--warn); }

/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 0.96rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
tr:last-child > th, tr:last-child > td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.025); }
thead th { font-family: var(--display); font-size: var(--step--1); letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold); background: var(--surface-2); }
.chip { display: inline-block; font-size: var(--step--1); font-weight: 700; padding: 2px 11px; border-radius: 999px; margin-right: 6px; white-space: nowrap; border: 1px solid currentColor; }
.chip.bad { background: var(--bad-bg); color: var(--bad); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.src { font-size: var(--step--1); color: var(--muted); }

/* Review summary card */
.hero-card { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 22px; display: grid; grid-template-columns: auto 1fr; gap: 22px 36px; padding: 26px; align-items: center; box-shadow: var(--glow); }
.score { display: grid; place-content: center; justify-items: center; text-align: center; width: 168px; height: 168px; border-radius: 50%; margin-inline: auto;
  background: radial-gradient(circle at 50% 50%, #1b1136 61%, transparent 62%), conic-gradient(var(--gold) 0 var(--pct, 70%), #3a2c66 var(--pct, 70%) 100%);
  box-shadow: 0 0 36px rgba(255, 201, 60, 0.35); }
.score-num { font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.score-of { color: var(--muted); font-weight: 600; font-size: var(--step--1); }
.score-cap { font-size: 0.7rem; line-height: 1.25; color: var(--muted); margin-top: 4px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.facts > div { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.facts dt { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.07em; text-transform: uppercase; }
.facts dd { margin: 3px 0 0; font-weight: 600; }
@media (max-width: 620px) { .hero-card { grid-template-columns: 1fr; padding: 20px; } }

.proscons { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.proscons > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.proscons h2 { font-size: var(--step-1); margin: 0 0 12px; padding-left: 0; }
.proscons h2::before { display: none; }
.proscons ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.proscons li { padding-left: 2em; position: relative; }
.proscons li::before { position: absolute; left: 0; top: 0.2em; width: 1.35em; height: 1.35em; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.85em; line-height: 1; }
.proscons > .pros { border-top: 3px solid var(--ok); }
.pros h2 { color: var(--ok); }
.pros li::before { content: "+"; background: var(--ok-bg); color: var(--ok); }
.proscons > .cons { border-top: 3px solid var(--bad); }
.cons h2 { color: var(--bad); }
.cons li::before { content: "\2212"; background: var(--bad-bg); color: var(--bad); }

/* In-page contents */
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.toc p { margin: 0 0 8px; font-family: var(--display); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px 8px; }
.toc a { display: inline-block; text-decoration: none; font-size: 0.92rem; color: var(--ink); padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); transition: border-color 0.15s, color 0.15s; }
.toc a:hover { border-color: var(--gold); color: var(--gold); }
h2[id] { scroll-margin-top: 84px; }

/* Section tiles */
.index { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.index li { position: relative; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 20px; display: grid; gap: 6px; align-content: start; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; }
.index li:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 14px 34px -14px rgba(255, 201, 60, 0.5); }
.index a { font-family: var(--display); font-weight: 800; font-size: 1.12rem; text-decoration: none; color: #fff; }
.index a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.index a:hover { color: var(--gold); }
.index span { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.prose .index { max-width: none; padding-left: 0; gap: 14px; }

.btn { display: inline-block; background: var(--grad-gold); color: var(--accent-ink); font-family: var(--display); font-weight: 800; text-decoration: none; padding: 12px 24px; border-radius: 999px; box-shadow: 0 8px 26px -8px rgba(255, 154, 31, 0.8); transition: transform 0.15s, filter 0.15s; }
.btn:hover { color: var(--accent-ink); transform: translateY(-2px); filter: brightness(1.07); }
.btn.ghost { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fine { font-size: var(--step--1); color: var(--muted); margin: 0; }

/* Screenshots */
.shot { margin: 0; max-width: 820px; display: grid; gap: 10px; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--glow); }
.shot figcaption { font-size: var(--step--1); color: var(--muted); max-width: 70ch; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 70ch; margin-top: 14px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq details[open] { border-color: rgba(255, 201, 60, 0.55); }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 26px 14px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: #ddd4f5; }

/* Author box */
.author-box { display: flex; gap: 16px; align-items: flex-start; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; max-width: 70ch; }
.author-box p { margin: 0 0 4px; }
.author-box .who a { font-family: var(--display); font-weight: 800; font-size: var(--step-1); color: #fff; text-decoration: none; }
.author-box .role { color: var(--gold); font-size: var(--step--1); letter-spacing: 0.04em; text-transform: uppercase; }
.avatar { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--grad-gold); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--display); font-weight: 800; box-shadow: 0 0 22px rgba(255, 201, 60, 0.45); }

.sources { max-width: 70ch; font-size: 0.93rem; color: var(--muted); display: grid; gap: 6px; }
.sources h2 { font-size: var(--step-1); }
.sources ol { margin: 0; padding-left: 1.25em; display: grid; gap: 4px; }

/* Footer */
.site-foot { background: #06030e; border-top: 1px solid var(--line); font-size: 0.95rem; }
.site-foot .wrap { padding-block: 40px 28px; display: grid; gap: 26px; }
.site-foot a { color: var(--ink); }
.site-foot a:hover { color: var(--gold); }
.foot-top { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 24px 32px; }
.foot-brand p { margin: 10px 0 0; color: var(--muted); max-width: 44ch; }
.col-h { margin: 0 0 10px; font-family: var(--display); font-weight: 800; color: var(--gold); letter-spacing: 0.04em; text-transform: uppercase; font-size: var(--step--1); }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot-top ul a { text-decoration: none; }
.regs { display: grid; gap: 12px; }
.regs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.regs a { display: flex; align-items: center; gap: 12px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; height: 100%; transition: border-color 0.15s; }
.regs a:hover { border-color: var(--gold); }
.regs .mono { flex: none; min-width: 62px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 0.86rem; letter-spacing: 0.04em; background: var(--ink); color: var(--accent-ink); border-radius: 8px; padding: 9px 6px; }
.regs strong { display: block; font-weight: 600; line-height: 1.3; color: var(--ink); }
.regs small { display: block; color: var(--muted); font-size: var(--step--1); }
.badges { list-style: none; margin: 0; padding: 16px 0; display: flex; flex-wrap: wrap; gap: 8px 10px; border-block: 1px solid var(--line); }
.badges li { border: 1px solid var(--muted); border-radius: 999px; padding: 3px 13px; font-size: var(--step--1); font-weight: 600; }
.badges li:first-child { background: var(--bad); color: #1a0710; border-color: var(--bad); font-weight: 800; }
.risk { margin: 0; color: var(--muted); max-width: 80ch; }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.foot-end p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 400px) {
  .brand { font-size: 1.08rem; }
  .lang-btn { padding: 5px 9px; font-size: 0.82rem; gap: 5px; }
  .lang-btn svg { width: 15px; height: 15px; }
  .nav-btn { padding: 6px 11px; font-size: 0.9rem; }
}
@media (max-width: 340px) { .lang-btn span { display: none; } }
.shot-mobile { max-width: 320px; }
.shot-mobile img { aspect-ratio: 375 / 480; object-fit: cover; object-position: top; }
