/* Estonian casino terms reference — one stylesheet, no framework.
   Palette: neutral near-black, casino red for scores and actions, gold for help and warnings.
   (Variable names --ice/--green are kept from v1; their values are now red and gold.) */

@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap;
  src: url("../fonts/unbounded-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap;
  src: url("../fonts/unbounded-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap;
  src: url("../fonts/unbounded-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap;
  src: url("../fonts/golos-text-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap;
  src: url("../fonts/golos-text-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap;
  src: url("../fonts/golos-text-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap;
  src: url("../fonts/golos-text-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap;
  src: url("../fonts/golos-text-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap;
  src: url("../fonts/golos-text-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --ink: #0b0b0e;
  --ink-2: #141418;
  --ink-3: #1d1d23;
  --line: #2e2e37;
  --line-soft: #222229;
  --text: #f5f5f7;
  --muted: #a7a7b2;
  --ice: #ff3d47;
  --ice-deep: #a8121c;
  --red: #ff3d47;
  --red-soft: rgba(255,61,71,.14);
  --amber: #ffb02e;
  --green: #ffb02e;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Golos Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --measure: 68ch;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --strong: #fff;
  --link: #ff6b73;
  --footer: #08080a;
  --stats-bg: rgba(20,20,24,.75);
  --header-bg: rgba(11,11,14,.92);
  --track: #2a2a31;
  --mono-l: 20%;
  --mono-t: 86%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 1.0625rem/1.65 var(--body); font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ice); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ice); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 50; font-weight: 600; }
.skip:focus { top: 12px; }

.draft-banner { background: repeating-linear-gradient(-45deg, #3b2c0b 0 14px, #33270a 14px 28px); color: #ffe2a8; padding: 10px var(--gutter); font-size: .9375rem; border-bottom: 1px solid #6b5016; }

/* ---------- header */
.site-header { border-bottom: 1px solid var(--line-soft); position: relative; z-index: 10; }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font: 700 .9375rem/1.2 var(--display); letter-spacing: .01em; margin-right: auto; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--text); text-decoration: none; font-size: .9375rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current="page"] { border-bottom-color: var(--ice); }
.lang-switch ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch li > * { display: inline-block; min-width: 40px; text-align: center; padding: 5px 10px; border-radius: 999px; font: 600 .8125rem/1.2 var(--body); text-decoration: none; color: var(--muted); }
.lang-switch [aria-current] { background: var(--red); color: #fff; }
.lang-switch a:hover { color: var(--text); background: var(--ink-3); }
.fallback-mark { color: var(--amber); margin-left: 1px; }
.menu-toggle { display: none; background: none; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font: 600 .875rem var(--body); cursor: pointer; }

@media (max-width: 1000px) {
  .menu-toggle { display: inline-block; }
  .header-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 18px; padding: 8px 0 20px; }
  .header-nav.open { display: flex; }
  .nav-list { flex-direction: column; gap: 4px; }
  .nav-list a { display: block; padding: 8px 0; font-size: 1.0625rem; }
}

/* ---------- type */
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); margin: 0 0 22px; max-width: 22ch; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 2.4em 0 .7em; scroll-margin-top: 24px; }
h3 { font-size: 1.125rem; margin: 1.8em 0 .5em; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--text); max-width: 60ch; }
.lead p { margin: 0; }

/* ---------- page head */
.page-head { padding: clamp(28px, 6vw, 64px) 0 36px; border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(1200px 400px at 85% -10%, rgba(255,61,71,.10), transparent 60%); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* the stamp: a register-style strip with the page's checking metadata */
.stamp { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, auto); justify-content: start; margin: 30px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; width: fit-content; max-width: 100%; }
.stamp > div { padding: 10px 18px; border-left: 1px solid var(--line); }
.stamp > div:first-child { border-left: 0; }
.stamp dt { font-size: .75rem; color: var(--muted); margin: 0 0 2px; }
.stamp dd { margin: 0; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.status { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 600; }
.status-draft, .status-review, .status-facts, .status-plan, .status-revision { background: rgba(243,181,74,.14); color: var(--amber); }
.status-published { background: rgba(255,176,46,.14); color: var(--green); }
@media (max-width: 640px) {
  .stamp { grid-auto-flow: row; grid-template-columns: 1fr 1fr; width: 100%; }
  .stamp > div:nth-child(3) { border-left: 0; }
  .stamp > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- article layout */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 16px; padding-bottom: 72px; }
@media (min-width: 1000px) {
  .page-grid { grid-template-columns: 240px minmax(0, var(--measure)); }
  .toc { position: sticky; top: 24px; align-self: start; padding-top: 40px; }
}
.toc-title { font-size: .8125rem; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 14px; color: var(--text); text-decoration: none; font-size: .9375rem; line-height: 1.35; margin-left: -1px; border-left: 2px solid transparent; }
.toc li a:hover { border-left-color: var(--ice); }
@media (max-width: 999px) { .toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; } }

.prose { max-width: var(--measure); }
.prose-wide { max-width: none; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.05em; }
.prose li { margin: .35em 0; }
.prose ol > li::marker { font-family: var(--display); font-size: .85em; color: var(--ice); }
.prose strong { font-weight: 600; color: var(--strong); }
.prose hr { border: 0; border-top: 1px solid var(--line-soft); margin: 2.5em 0; }

/* facts and source numbers */
.fact[data-status="unverified"] { text-decoration: underline dotted rgba(243,181,74,.55); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.fact[data-status="not_stated"] { color: var(--muted); }
.ref { display: inline-block; min-width: 1.45em; margin-left: 4px; padding: 0 .35em; border: 1px solid var(--ice-deep); border-radius: 5px; font: 600 .7rem/1.5 var(--body); text-align: center; text-decoration: none; vertical-align: .2em; color: var(--ice); }
.ref:hover { background: var(--ice); color: var(--ink); }

/* callouts */
.callout { border: 1px solid var(--line); border-left: 4px solid var(--ice); background: var(--ink-2); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 0 0 1.6em; }
.callout > :last-child { margin-bottom: 0; }
.callout-title { font: 700 1rem/1.3 var(--display); margin: 0 0 .5em; }
.callout-warn { border-left-color: var(--amber); }
.callout-help { border-left-color: var(--green); }
.callout-answer { border-left-color: var(--ice); background: linear-gradient(90deg, rgba(255,61,71,.08), var(--ink-2) 40%); }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.6em; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .9375rem; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
th { font-weight: 600; color: var(--muted); background: var(--ink-2); font-size: .8125rem; }
tr:last-child td { border-bottom: 0; }

/* sources */
.sources { margin-top: 3.5em; padding-top: 4px; border-top: 1px solid var(--line); }
.sources summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .6em; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary h2 { margin: 1em 0; font-size: 1.125rem; display: inline; }
.sources summary::after { content: ""; width: .55em; height: .55em; border-right: 2px solid var(--ice); border-bottom: 2px solid var(--ice); transform: rotate(45deg); transition: transform .2s; margin-top: -.25em; }
.sources[open] summary::after { transform: rotate(-135deg); margin-top: .2em; }
.sources summary:hover h2, .sources summary:focus-visible h2 { color: var(--ice); }
.sources .src-count { color: var(--muted); font-weight: 400; font-size: .9em; }
.sources-note { color: var(--muted); font-size: .9375rem; }
.sources ol { padding-left: 1.4em; }
.sources li { margin-bottom: .8em; }
.src-meta { display: block; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }

/* ---------- home */
.hero { padding: clamp(40px, 9vw, 110px) 0 clamp(36px, 6vw, 72px); border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(900px 500px at 90% 0%, rgba(255,61,71,.12), transparent 65%); }
.hero-grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.2rem, 6.2vw, 4.6rem); max-width: 14ch; line-height: 1.04; }
.hero-figure img { border-radius: 24px; }
.hero-ledger { display: grid; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--ink-2); }
.hero-ledger span { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--ice) 0 22%, var(--line) 22% 100%); }
.hero-ledger span:nth-child(2) { width: 82%; } .hero-ledger span:nth-child(3) { width: 64%; }
.hero-ledger span:nth-child(4) { width: 90%; background: linear-gradient(90deg, var(--amber) 0 12%, var(--line) 12% 100%); }
.hero-ledger span:nth-child(5) { width: 55%; } .hero-ledger span:nth-child(6) { width: 74%; background: linear-gradient(90deg, var(--green) 0 30%, var(--line) 30% 100%); }
.home-body { padding-top: 24px; padding-bottom: 80px; }
.home-body > h2:first-child { margin-top: 1.4em; }

.tasks { list-style: none; padding: 0; margin: 0 0 2em; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tasks li { margin: 0; }
.tasks a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); color: var(--text); text-decoration: none; }
.tasks a:hover { border-color: var(--ice); background: var(--ink-3); }
.tasks strong { font: 700 1.0625rem/1.3 var(--display); color: var(--text); }
.tasks span { color: var(--muted); font-size: .9375rem; }

/* ---------- footer */
.site-footer { border-top: 1px solid var(--line-soft); padding: 44px 0 56px; font-size: .9375rem; color: var(--muted); background: var(--footer); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-label { font: 700 .9375rem/1.3 var(--display); color: var(--text); margin: 0 0 10px; }
.footer-about p { margin: 0 0 12px; max-width: 52ch; }
.age-note { display: flex; gap: 10px; align-items: center; }
.age-badge { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--amber); color: var(--amber); font: 700 .8125rem var(--display); }
.footer-help p { margin: 0 0 12px; }
.footer-links ul { list-style: none; padding: 0; margin: 0; columns: 1; }
.footer-links li { margin: 0 0 8px; }
.footer-links a, .footer-help a { color: var(--text); }

/* ---------- root chooser and 404 */
.type-root { min-height: 100vh; display: grid; place-items: center; }
.root-choose { width: 100%; padding: 64px 0; }
.root-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--ice); margin: 0 0 32px; }
.err-code { font: 700 clamp(3rem, 12vw, 7rem)/1 var(--display); color: var(--ice); margin: 0 0 28px; }
.root-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 640px; }
.root-list a { display: grid; gap: 4px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); background: var(--ink-2); }
.root-list a:hover { border-color: var(--ice); }
.root-lang { font: 700 1.375rem/1.2 var(--display); }
.root-label { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .toc, .draft-banner { display: none; }
  a { color: #000; }
}

/* editor placeholders: visible only in the review build */
.callout-todo { border: 1px dashed var(--amber); border-left: 4px solid var(--amber); background: rgba(243,181,74,.06); }
.callout-todo .callout-title::before { content: "TODO · "; color: var(--amber); }

/* showcase preview: hide editorial status marks */
.showcase .fact[data-status] { text-decoration: none; }

/* =================================================================== batch 2: ratings, catalogue, home */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font: 600 .9375rem/1.2 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; margin-top: 14px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #ff5d66; text-decoration: none; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--ice); text-decoration: none; }

/* hero */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; max-width: 560px; margin-left: auto; border-radius: 24px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(32px, 5vw, 56px) 0 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--stats-bg); }
.stats > div { padding: 20px 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; min-width: 0; }
.stats > div:first-child { border-left: 0; }
.stats dd { margin: 0; font: 700 clamp(1.6rem, 3.4vw, 2.4rem)/1 var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.stats dt { color: var(--muted); font-size: .875rem; line-height: 1.35; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* home sections */
.home-body { padding-top: 8px; padding-bottom: 80px; }
.home-body > h2 { margin-top: 2.2em; }
.section-lead { color: var(--muted); max-width: 62ch; margin: -.2em 0 1.4em; }
.more-link { margin: 18px 0 0; }
.more-link a { font-weight: 600; }

/* brand tiles, rings, dots */
.brand-tile { --h: 190; display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: hsl(var(--h) 45% 22%); border: 1px solid hsl(var(--h) 50% 34%); color: hsl(var(--h) 70% 84%); font: 700 .75rem/1 var(--display); text-transform: none; letter-spacing: 0; }
.brand-tile.sm { width: 28px; height: 28px; border-radius: 8px; font-size: .625rem; }
.brand-tile.lg { width: 52px; height: 52px; border-radius: 14px; font-size: 1rem; }
.brand-tile.xl { width: 72px; height: 72px; border-radius: 18px; font-size: 1.375rem; }
.ring-track { fill: none; stroke: var(--line-soft); stroke-width: 7; }
.ring-bar { fill: none; stroke: var(--ice); stroke-width: 7; stroke-linecap: round; }
.ring-text { fill: var(--text); font: 700 15px var(--display); }
.dots { display: inline-flex; gap: 4px; vertical-align: middle; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--line); }
.dot.on { background: var(--ice); border-color: var(--ice); }
.score-pill { display: inline-block; min-width: 3.2em; text-align: center; padding: 3px 10px; border-radius: 999px; background: rgba(255,61,71,.14); color: var(--ice); font: 700 .875rem/1.4 var(--display); text-decoration: none; font-variant-numeric: tabular-nums; }
.pending-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(163,190,196,.12); color: var(--muted); font-size: .8125rem; font-weight: 600; margin: 0; }
.muted { color: var(--muted); }

/* top cards */
.top-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.top-card { display: flex; flex-direction: column; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--ink-2); min-width: 0; }
.top-card.is-first { border-color: var(--ice-deep); background: linear-gradient(160deg, rgba(255,61,71,.10), var(--ink-2) 55%); }
.top-head { display: flex; align-items: center; justify-content: space-between; }
.rank { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.top-brand { display: flex; align-items: center; gap: 14px; }
.top-brand h3 { margin: 0; font-size: 1.375rem; }
.top-company { margin: 2px 0 0; color: var(--muted); font-size: .875rem; }
.top-crit { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.top-crit li { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9375rem; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.top-points { margin: 0; color: var(--muted); font-size: .8125rem; }
.top-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* rating table */
.rating-table { min-width: 0; }
.rating-table td, .rating-table th { vertical-align: middle; }
.rating-table .num { color: var(--muted); font-variant-numeric: tabular-nums; width: 2.5em; }
.rating-table .crit-col { text-align: center; font-size: .75rem; line-height: 1.25; }
.rating-table thead .crit-col { max-width: 7.5em; }
.rating-table tr.is-pending th, .rating-table tr.is-pending td { color: var(--muted); }
.cell-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); }
tbody th { font-weight: 600; text-align: left; }

/* catalogue */
.op-filter { display: grid; gap: 8px; margin: 0 0 16px; max-width: 520px; }
.op-filter label { font-weight: 600; font-size: .9375rem; }
.op-filter input { width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); font: 400 1rem var(--body); }
.op-filter input:focus-visible { outline: 3px solid var(--ice); outline-offset: 1px; }
.op-count { margin: 0; color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.op-table { min-width: 760px; }
.op-table .domains { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.op-table .domains span { font-size: .8125rem; padding: 1px 8px; border-radius: 6px; background: var(--ink-3); color: var(--muted); }
.op-empty { color: var(--amber); }
.page-grid-wide { grid-template-columns: minmax(0, 1fr) !important; }

/* method steps */
.steps { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); counter-reset: step; }
.steps li { margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-2); display: grid; gap: 10px; align-content: start; }
.steps img { width: 44px; height: 44px; }
.steps strong { font: 700 1rem/1.3 var(--display); }
.steps span { color: var(--muted); font-size: .9375rem; }

/* task cards with icons */
.task-icon { width: 44px; height: 44px; margin-bottom: 6px; }

/* help band */
.help-band { display: grid; gap: 18px; align-items: center; grid-template-columns: minmax(0, 1fr) auto; padding: 26px 28px; border-radius: 20px; border: 1px solid rgba(255,176,46,.35); background: linear-gradient(120deg, rgba(255,176,46,.10), var(--ink-2) 60%); margin-top: 3em; }
.help-band p { margin: 0; }
.help-band strong { font: 700 1.125rem/1.3 var(--display); display: block; margin-bottom: 6px; }
@media (max-width: 700px) { .help-band { grid-template-columns: 1fr; } }

/* review layout */
.review-title { display: flex; align-items: center; gap: 20px; }
.review-title h1 { margin: 0; }
.review-head .lead { margin-top: 22px; }
.review-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 32px; padding-bottom: 72px; }
@media (min-width: 1000px) {
  .review-grid { grid-template-columns: minmax(0, var(--measure)) 360px; justify-content: space-between; }
  .review-aside { order: 2; position: sticky; top: 24px; align-self: start; }
}
.score-card { border: 1px solid var(--line); border-radius: 20px; background: var(--ink-2); padding: 22px; }
.score-card-head { display: flex; align-items: center; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.score-card-label { margin: 0; color: var(--muted); font-size: .8125rem; }
.score-card-value { margin: 2px 0; font-size: .9375rem; }
.score-card-value strong { font: 700 1.9rem/1 var(--display); color: var(--text); }
.score-card-points { margin: 0; color: var(--muted); font-size: .8125rem; }
.score-rows { list-style: none; padding: 0; margin: 0; }
.score-rows li { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.score-row-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.score-row-name { font-weight: 600; font-size: .9375rem; }
.score-row-fact { margin: 6px 0 4px; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.score-row-fact .fact { text-decoration: none; }
.score-rows details summary { cursor: pointer; color: var(--ice); font-size: .75rem; }
.score-rows details p { margin: 6px 0 0; font-size: .8125rem; color: var(--muted); }
.score-note { margin: 14px 0 0; font-size: .8125rem; color: var(--muted); }
.score-card.is-pending { text-align: center; padding: 28px; }
.fact-list { padding-left: 1.2em; }
.prose-wide > p, .prose-wide > ul:not([class]) { max-width: 78ch; }
/* keep visually-hidden text inside scrolled tables from widening the page */
.table-wrap { position: relative; }
.stats dd time { font-size: clamp(1.15rem, 2.6vw, 1.9rem); white-space: nowrap; }

/* casino card grid */
.btn-sm { padding: 7px 14px; font-size: .8125rem; }
.casino-grid { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.casino-card { margin: 0; display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-2); min-width: 0; }
.casino-card.is-rated { border-color: var(--ice-deep); background: linear-gradient(160deg, rgba(255,61,71,.09), var(--ink-2) 60%); }
.casino-card-top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.casino-card h3 { margin: 6px 0 0; font-size: 1.0625rem; }
.casino-company { margin: 0; color: var(--muted); font-size: .8125rem; }
.casino-domains { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 6px; }
.casino-domains span { font-size: .75rem; padding: 1px 7px; border-radius: 6px; background: var(--ink-3); color: var(--muted); overflow-wrap: anywhere; }
.casino-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; }
.casino-mtr { font-size: .8125rem; }
.casino-card[hidden] { display: none; }
.cell-company { display: block; font-weight: 400; font-size: .75rem; color: var(--muted); }
.rating-table thead th { position: sticky; top: 0; z-index: 1; }

/* =================================================================== v3: red/black redesign */
body { background: var(--ink); }
a { color: var(--link); }
.site-header { background: var(--header-bg); backdrop-filter: blur(10px); position: sticky; top: 0; }
.page-head { background: none; }
.hero { position: relative; overflow: hidden; background:
  radial-gradient(700px 420px at 82% 18%, rgba(255,61,71,.20), transparent 70%),
  radial-gradient(600px 380px at 10% 110%, rgba(255,176,46,.08), transparent 70%); }
.hero-figure img { filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); }
h1 em, h2 em { font-style: normal; color: var(--red); }
.ref { border-color: rgba(255,61,71,.5); color: var(--link); }
.ref:hover { background: var(--red); color: #fff; }
.dot.on { background: var(--red); border-color: var(--red); }
.ring-bar { stroke: var(--red); }
.ring-track { stroke: var(--track); }
.top-card { position: relative; transition: transform .15s, border-color .15s; }
.top-card[data-href] { cursor: pointer; }
.top-card:hover { transform: translateY(-3px); border-color: var(--red); }
.top-card.is-first { border-color: rgba(255,61,71,.6); background: linear-gradient(160deg, rgba(255,61,71,.14), var(--ink-2) 55%); }
.top-brand h3 a { color: var(--text); text-decoration: none; }
.rank { font: 700 1rem/1 var(--display); color: var(--red); }

/* logos: official file if stored, else the site's icon, monogram underneath */
.brand-logo { --h: 0; position: relative; display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px;
  border-radius: 10px; background: hsl(var(--h) 38% 20%); overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.brand-logo-mono { position: absolute; inset: 0; display: grid; place-items: center; background: hsl(var(--h) 38% var(--mono-l));
  color: hsl(var(--h) 70% var(--mono-t)); font: 700 .75rem/1 var(--display); }
.brand-logo img { position: relative; width: 70%; height: 70%; object-fit: contain; opacity: 0; transition: opacity .2s; }
.brand-logo.ok { background: #fff; }
.brand-logo.ok img { opacity: 1; }
.brand-logo.ok .brand-logo-mono { display: none; }
.brand-logo.sm { width: 34px; height: 34px; border-radius: 9px; }
.brand-logo.md { width: 56px; height: 56px; border-radius: 14px; }
.brand-logo.lg { width: 60px; height: 60px; border-radius: 16px; }
.brand-logo.xl { width: 92px; height: 92px; border-radius: 22px; }
.brand-logo.xl .brand-logo-mono { font-size: 1.5rem; }

/* score badge: red */
.score-badge { display: inline-block; min-width: 3.1em; padding: 5px 10px; border-radius: 10px; background: var(--red-soft);
  color: var(--link); font: 700 .9375rem/1.2 var(--display); text-align: center; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1px rgba(255,61,71,.45); }
.score-badge.is-high { background: rgba(255,61,71,.28); color: var(--strong); }
.score-badge.is-top { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(255,61,71,.35); }

/* rating table: fully visible, every row opens the review */
.rating-wrap { border: 1px solid var(--line); border-radius: 18px; background: var(--ink-2); margin: 0 0 1.4em; }
.rating-table { table-layout: auto; font-size: .9375rem; }
.rating-table th, .rating-table td { padding: 12px 10px; border-bottom: 1px solid var(--line-soft); }
.rating-table thead th { background: var(--ink-3); color: var(--muted); font-size: .6875rem; line-height: 1.25; font-weight: 600;
  text-transform: none; position: sticky; top: 72px; z-index: 2; }
.rating-table thead th:first-child { border-top-left-radius: 18px; }
.rating-table thead th:last-child { border-top-right-radius: 18px; }
.rating-table tbody tr:last-child > * { border-bottom: 0; }
.rating-table .crit-col { text-align: center; width: 6.4%; }
.rating-table .col-score { text-align: center; width: 5.5em; }
.rating-table .col-go { width: 2.4em; text-align: right; color: var(--muted); }
.rating-table tr.is-link { cursor: pointer; transition: background .12s; }
.rating-table tr.is-link:hover, .rating-table tr.is-link:focus-within { background: rgba(255,61,71,.07); }
.rating-table tr.is-link:hover .go-arrow { color: var(--red); transform: translateX(3px); }
.go-arrow { display: inline-block; transition: transform .12s, color .12s; font-weight: 700; }
.cell-name a { color: var(--text); text-decoration: none; font-weight: 600; }
.cell-name a:hover { color: var(--link); }
.rating-table tbody th { background: none; }
@media (max-width: 1040px) { .rating-table .crit-col { display: none; } }
@media (max-width: 520px) {
  .rating-table th, .rating-table td { padding: 10px 6px; }
  .rating-table .cell-company { display: none; }
}

/* logo grid (home) */
.logo-grid { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.logo-grid li { margin: 0; }
.logo-grid li[hidden] { display: none; }
.logo-grid a { display: grid; justify-items: center; gap: 8px; padding: 16px 10px 14px; border: 1px solid var(--line-soft); border-radius: 16px;
  background: var(--ink-2); color: var(--text); text-decoration: none; text-align: center; transition: border-color .15s, transform .15s; }
.logo-grid a:hover { border-color: var(--red); transform: translateY(-2px); }
.logo-name { font-weight: 600; font-size: .875rem; line-height: 1.25; overflow-wrap: anywhere; }
.logo-grid .score-badge { font-size: .8125rem; padding: 3px 8px; }

/* casino cards (catalogue) */
.casino-card.is-rated { border-color: var(--line); background: var(--ink-2); }
.casino-card:hover { border-color: var(--red); }

/* review header art */
.review-head { position: relative; overflow: hidden; }
.review-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 55%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 55%, transparent 100%); }
.review-head .wrap { position: relative; }
.score-card { background: var(--ink-2); }
.score-rows details summary { color: var(--link); }

/* help band: neutral with gold edge (no green) */
.help-band { border-color: rgba(255,176,46,.4); background: linear-gradient(120deg, rgba(255,176,46,.10), var(--ink-2) 60%); }
.steps li { background: var(--ink-2); }
.steps img { width: 64px; height: 64px; }
.tasks a:hover { border-color: var(--red); }
.task-icon { width: 56px; height: 56px; }

/* official logos: wide tile for wordmarks, full-bleed for app icons */
/* one tile width per size for every logo kind, so names and buttons line up in lists and cards */
.brand-logo.sm { width: 92px; }
.brand-logo.md { width: 132px; }
.brand-logo.lg { width: 150px; }
.brand-logo.xl { width: 230px; }
.brand-logo.kind-wordmark img { width: 86%; height: 66%; }
.brand-logo { grid-template-rows: 100%; grid-template-columns: 100%; }
.brand-logo.kind-icon img, .brand-logo.kind-favicon img { width: 86%; height: 78%; object-fit: contain; }
.brand-logo.ok.bg-dark { background: #1b1b21; box-shadow: inset 0 0 0 1px #2e2e37; }
.brand-logo.ok.bg-light { background: #fff; }
.logo-grid .brand-logo.md { width: 100%; max-width: 150px; }
.review-title { flex-wrap: wrap; }

/* =================================================================== light ("white") mode */
:root[data-theme="light"] {
  color-scheme: light;
  --ink: #f6f6f8;
  --ink-2: #ffffff;
  --ink-3: #f0f0f3;
  --line: #dedee5;
  --line-soft: #ebebf0;
  --text: #15151a;
  --muted: #5e5e6b;
  --strong: #000;
  --link: #d81b26;
  --ice: #e11d29;
  --ice-deep: #f4b5b9;
  --red: #e11d29;
  --red-soft: rgba(225,29,41,.10);
  --amber: #b86e00;
  --green: #b86e00;
  --footer: #ffffff;
  --stats-bg: #ffffff;
  --header-bg: rgba(255,255,255,.92);
  --track: #ececf1;
  --mono-l: 92%;
  --mono-t: 30%;
}
:root[data-theme="light"] .hero { background:
  radial-gradient(700px 420px at 82% 18%, rgba(225,29,41,.10), transparent 70%),
  radial-gradient(600px 380px at 10% 110%, rgba(184,110,0,.06), transparent 70%); }
:root[data-theme="light"] .hero-figure img { filter: drop-shadow(0 24px 40px rgba(20,20,30,.22)); }
:root[data-theme="light"] .review-art { opacity: .55; }
/* the review header stays a dark band in light mode, so the photo and the text keep their contrast */
:root[data-theme="light"] .review-head { background: #0b0b0e; color: #f5f5f7;
  --ink: #0b0b0e; --ink-2: #141418; --ink-3: #1d1d23; --line: #2e2e37; --line-soft: #222229; --text: #f5f5f7;
  --muted: #a7a7b2; --strong: #fff; --link: #ff6b73; --red: #ff3d47; --track: #2a2a31; }
:root[data-theme="light"] .top-card, :root[data-theme="light"] .rating-wrap, :root[data-theme="light"] .logo-grid a,
:root[data-theme="light"] .score-card, :root[data-theme="light"] .steps li, :root[data-theme="light"] .tasks a { box-shadow: 0 1px 2px rgba(20,20,30,.05), 0 6px 20px rgba(20,20,30,.05); }
:root[data-theme="light"] .score-badge.is-high { color: #9b0f18; }
:root[data-theme="light"] .ring-text { fill: var(--text); }
:root[data-theme="light"] .callout { background: #fff; }

/* theme switch */
.theme-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--text); cursor: pointer; padding: 0; }
.theme-toggle:hover { border-color: var(--red); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }

@media (min-width: 1001px) {
  .header-row { flex-wrap: nowrap; gap: 20px; }
  .header-nav { gap: 16px; }
  .nav-list { gap: 18px; }
  .wordmark { white-space: nowrap; }
}
@media (min-width: 1001px) and (max-width: 1120px) { .wordmark { font-size: .8125rem; } .nav-list a { font-size: .875rem; } .nav-list { gap: 12px; } }

/* review comparison box: where the casino stands out / falls behind */
/* no panel: same background as the page, red line under the heading and around the table header (owner request 2026-10-26) */
.compare-box { margin: 1.6em 0 2em; padding: 0; border: 0; background: none; }
.compare-box h2 { display: inline-block; margin: 0 0 .7em; padding-bottom: .3em; font-size: 1.25rem; line-height: 1.3; border-bottom: 3px solid var(--red); }
.compare-box .table-wrap { border: 2px solid var(--red); }
.compare-table thead th { border-bottom: 2px solid var(--red); }
.compare-table tbody tr:first-child th, .compare-table tbody tr:first-child td { border-top: 0; }
.compare-box > p { margin: 0 0 1em; max-width: none; }
.compare-box .table-wrap { margin: 0; overflow-x: auto; background: transparent; }
.compare-table thead th, .compare-table tbody th, .compare-table td { background: transparent; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 620px; }
.compare-table th, .compare-table td { text-align: left; padding: 9px 10px; border-top: 1px solid var(--line-soft); vertical-align: top; }
.compare-table thead th { border-top: 0; font-size: .8rem; color: var(--strong); font-weight: 700; vertical-align: bottom; }
.compare-table thead th:first-child { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.compare-table thead a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.compare-table thead a:hover { color: var(--red); }
.compare-table .cmp-role { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.compare-table tbody th { font-weight: 600; color: var(--strong); width: 20%; }
.compare-table td { width: 20%; color: var(--text); }
.compare-table .is-self { background: color-mix(in srgb, var(--text) 4%, transparent); }
.compare-table td.is-best { font-weight: 700; }
.compare-table .cmp-overall th, .compare-table .cmp-overall td { border-top: 1px solid var(--line); font-weight: 700; color: var(--strong); }

.compare-box .cmp-note { margin: .8em 0 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) {
  .compare-table { font-size: .85rem; min-width: 560px; }
  .compare-table tbody th, .compare-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--ink); width: 92px; }
}
/* comparison table: one text colour throughout, the frame and header line carry the red (owner request 2026-10-26) */
.compare-table th, .compare-table td, .compare-table .cmp-role, .compare-table thead a,
.compare-table thead th:first-child, .compare-table .cmp-overall th, .compare-table .cmp-overall td { color: var(--text); }
.compare-table thead a { text-decoration-color: currentColor; }
/* hand-written comparison tables have 2 or 3 columns: no forced width, the label column a bit wider */
.compare-table.is-narrow { min-width: 0; }
.compare-table.is-narrow tbody th { width: 38%; }
.compare-table.is-narrow td { width: auto; }
@media (max-width: 640px) { .compare-table.is-narrow { min-width: 0; } .compare-table.is-narrow tbody th, .compare-table.is-narrow thead th:first-child { position: static; width: 40%; } }

/* site logo (RatedScope magnifier, owner 2026-10-28): picture instead of the drawn red square */
.wordmark-mark { width: 36px; height: 36px; border-radius: 0; background: none; object-fit: contain; flex: none; }
