/* Tallyroom — UK casino reviews.
   Paper-and-ink editorial theme with a dark "scoreboard" accent.
   All colours are tokens; dark mode redefines them below. */

:root {
  --paper: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #efece4;
  --ink: #15171c;
  --ink-2: #3a3e47;
  --muted: #5d626d;
  --line: #e0dbd0;
  --line-2: #cfc8b9;
  --accent: #0b6e5b;
  --accent-hover: #095a4a;
  --accent-soft: #dcefe9;
  --on-accent: #ffffff;
  --gold: #b7790a;
  --good: #19784a;
  --bad: #b42318;
  --bad-soft: #fdecea;
  --night: #12141a;
  --night-2: #1c1f27;
  --night-line: #2d313b;
  --night-text: #e9e6df;
  --night-muted: #a3a7b1;
  --score: #f3b53f;

  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', var(--sans);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 10px;
  --shadow: 0 1px 2px rgba(20, 22, 28, .05), 0 8px 24px rgba(20, 22, 28, .06);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101217;
    --surface: #171a21;
    --surface-2: #1d2029;
    --ink: #ecebe6;
    --ink-2: #c9cad0;
    --muted: #9a9ea8;
    --line: #2a2e38;
    --line-2: #3a3f4b;
    --accent: #34c7a4;
    --accent-hover: #5fd8bb;
    --accent-soft: #123a31;
    --on-accent: #08231d;
    --gold: #f0b443;
    --good: #4cc98a;
    --bad: #f27467;
    --bad-soft: #3a1a18;
    --night: #0b0c10;
    --night-2: #14161c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, .h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -.025em; }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3, .h3 { font-size: 20px; font-weight: 500; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

.eyebrow { font: 500 12.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin: 0 0 12px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.meta, .small, .tc { color: var(--muted); font-size: 13.5px; }
.tc { margin: 10px 0 0; text-align: center; font-size: 12px; }
.num, .score, .big { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- 18+ badge ---------- */
.age {
  display: inline-grid; place-items: center; flex: none;
  min-width: 30px; height: 22px; padding: 0 5px;
  border: 2px solid var(--bad); color: var(--bad); border-radius: 999px;
  font: 700 11px/1 var(--sans); letter-spacing: .02em; vertical-align: middle;
}
.age.lg { min-width: 44px; height: 44px; font-size: 15px; }

/* ---------- top strip & header ---------- */
.strip { background: var(--night); color: var(--night-muted); font-size: 13px; }
.strip .wrap { display: flex; align-items: center; gap: 10px; min-height: 36px; padding-block: 6px; }
.strip .age { border-color: var(--score); color: var(--score); height: 20px; }
.strip a { color: var(--night-text); text-decoration: none; }
.strip a:hover { color: var(--score); }

.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand b { display: block; font: 700 21px/1 var(--display); letter-spacing: -.02em; }
.brand small { display: block; font: 500 11px/1.4 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 3px; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-mark rect { fill: var(--ink); }
.brand-mark path { stroke: var(--score); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 10px; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger i { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .js .burger { display: flex; }
  .no-js .site-head .wrap { flex-wrap: wrap; padding-block: 10px; }
  .no-js .nav { margin-left: 0; }
  .js .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px 20px 16px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s;
  }
  .js .nav.open { visibility: visible; opacity: 1; }
  .js .nav a { padding: 13px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .js .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; background: none; }
}

/* ---------- breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 18px 0 0; font: 500 12.5px/1.5 var(--mono); color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn.sm { min-height: 38px; padding: 7px 16px; font-size: 14px; }
.btn.block { display: flex; width: 100%; margin-top: 20px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.cta.center { justify-content: center; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.linkish:hover { color: var(--score); }
.inline-form { margin: 0; }
.more { margin-top: 26px; font-weight: 600; }
.more a { text-decoration: none; margin-right: 18px; }

/* ---------- sections & grids ---------- */
.sec { padding: 72px 0; }
.sec.tight { padding: 40px 0 64px; }
.sec.alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.sec-head { max-width: 700px; margin-bottom: 34px; }
.sec-head p:last-child { color: var(--muted); margin: 0; }
.page-head { padding: 34px 0 40px; }
.page-head h1 { margin-bottom: 14px; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .sec { padding: 52px 0; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.card > :last-child { margin-bottom: 0; }
.card + .card, .notice + .card, .card + .notice { margin-top: 16px; }
.grid > .card { margin-top: 0; }
.num-tag { display: inline-block; font: 500 12px/1 var(--mono); color: var(--accent); background: var(--accent-soft); padding: 6px 9px; border-radius: 6px; margin-bottom: 14px; }
.card p { color: var(--ink-2); }

/* ---------- lists ---------- */
.tick, .cross { list-style: none; padding: 0; margin: 0 0 1em; }
.tick li, .cross li { position: relative; padding-left: 28px; margin-bottom: 9px; }
.tick li::before, .cross li::before { position: absolute; left: 0; top: 1px; font-weight: 700; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; }
.tick li::before { content: '✓'; color: var(--good); background: color-mix(in srgb, var(--good) 14%, transparent); }
.cross li::before { content: '!'; color: var(--bad); background: var(--bad-soft); }
.good { color: var(--good); }
.bad { color: var(--bad); }

/* ---------- notice ---------- */
.notice { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--bad); border-radius: var(--r); padding: 16px 18px; margin: 22px 0 0; }
.notice p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ---------- hero & scoreboard ---------- */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hl { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--score) 45%, transparent) 62%); }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 38px 0 0; }
.facts li { border-top: 2px solid var(--ink); padding-top: 10px; }
.facts b { display: block; font: 500 30px/1.1 var(--mono); }
.facts span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.board, .scorecard { background: var(--night); color: var(--night-text); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 48px rgba(10, 12, 16, .22); border: 1px solid var(--night-line); }
.board-head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--night-line); font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--night-muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 4px rgba(61, 220, 151, .15); }
.board-list { list-style: none; margin: 0; padding: 6px 0; }
.board-list a { display: grid; grid-template-columns: 22px auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 20px; color: var(--night-text); text-decoration: none; }
.board-list li + li a { border-top: 1px solid var(--night-line); }
.board-list a:hover { background: var(--night-2); }
.rank { font: 500 14px var(--mono); color: var(--night-muted); }
.board-name b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-name em { font-style: normal; font-size: 12.5px; color: var(--night-muted); }
.board .score { font-size: 26px; color: var(--score); }
.board-foot { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--night-line); font-size: 12.5px; color: var(--night-muted); }
.board-foot .age { border-color: var(--score); color: var(--score); }
.kv { margin: 0; padding: 8px 20px 14px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--night-line); }
.kv div:last-child { border: 0; }
.kv dt { color: var(--night-muted); }
.kv dd { margin: 0; font-family: var(--mono); color: var(--score); }

/* ---------- logos ---------- */
.logo { display: grid; place-items: center; width: 84px; height: 64px; flex: none; padding: 10px; border-radius: 10px; background: var(--night); border: 1px solid var(--night-line); }
.logo img { max-height: 100%; object-fit: contain; }
.logo.sm { width: 64px; height: 40px; padding: 6px; border-radius: 7px; background: var(--night-2); }
.logo.lg { width: 112px; height: 80px; padding: 12px; background: var(--night-2); }

/* ---------- casino cards ---------- */
.ccard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.ccard-top { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.ccard h3 { margin: 0; font-size: 22px; font-weight: 700; }
.ccard h3 a { color: var(--ink); text-decoration: none; }
.ccard h3 a:hover { color: var(--accent); }
.ccard > p { color: var(--ink-2); }
.rank-tag { font: 500 11.5px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 6px; }
.score-line { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.score-line b { font: 500 18px var(--mono); color: var(--ink); }
.stars { position: relative; display: inline-block; margin: 6px 0 0; width: 92px; height: 16px; background: var(--line-2); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 16'%3E%3Cg%3E%3Cpath id='s' d='M8 0l2.4 5 5.6.6-4.2 3.8 1.2 5.6L8 12.2 3 15l1.2-5.6L0 5.6 5.6 5z'/%3E%3Cuse href='%23s' x='19'/%3E%3Cuse href='%23s' x='38'/%3E%3Cuse href='%23s' x='57'/%3E%3Cuse href='%23s' x='76'/%3E%3C/g%3E%3C/svg%3E") no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 16'%3E%3Cg%3E%3Cpath id='s' d='M8 0l2.4 5 5.6.6-4.2 3.8 1.2 5.6L8 12.2 3 15l1.2-5.6L0 5.6 5.6 5z'/%3E%3Cuse href='%23s' x='19'/%3E%3Cuse href='%23s' x='38'/%3E%3Cuse href='%23s' x='57'/%3E%3Cuse href='%23s' x='76'/%3E%3C/g%3E%3C/svg%3E") no-repeat; }
.stars-fill { position: absolute; inset: 0 auto 0 0; background: var(--gold); }
.mini { margin: 0 0 18px; border-top: 1px solid var(--line); }
.mini div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mini dt { color: var(--muted); flex: none; }
.mini dd { margin: 0; text-align: right; font-weight: 500; }
.ccard-acts, .row-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.ccard-acts .btn, .row-acts .btn { flex: 1 1 140px; }

/* ---------- reviews list ---------- */
.list { display: grid; gap: 22px; }
.row-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.row-score { background: var(--night); color: var(--night-text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 26px 16px; text-align: center; }
.row-score .rank-tag { color: var(--night-muted); }
.row-score .big { font-size: 44px; line-height: 1; color: var(--score); }
.row-score small { color: var(--night-muted); font-size: 12px; margin-top: -6px; }
.row-body { padding: 26px 28px; }
.row-body h2 { margin-bottom: 4px; }
.row-body h2 a { color: var(--ink); text-decoration: none; }
.tagline { color: var(--accent); font-weight: 500; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 18px 0 6px; }
.pc h3 { font-size: 15px; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.pc li { font-size: 14.5px; }
.lic { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin: 6px 0 18px; }
@media (max-width: 760px) { .row-card { grid-template-columns: 1fr; } .row-score { flex-direction: row; flex-wrap: wrap; padding: 18px; } .row-score small { margin: 0; } .pc { grid-template-columns: 1fr; } .row-body { padding: 22px 20px; } }

/* ---------- review page ---------- */
.review-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: 48px; align-items: start; }
@media (max-width: 960px) { .review-grid { grid-template-columns: 1fr; } }
.scorecard-body { padding: 22px; }
.scorecard-top { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.scorecard-top .big { display: block; font-size: 52px; line-height: 1; color: var(--score); }
.scorecard-top small { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--night-muted); }
.scorecard .tc { color: var(--night-muted); }
.bar { margin-bottom: 13px; }
.bar-lab { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; margin-bottom: 6px; }
.bar-lab small { color: var(--night-muted); font-family: var(--mono); font-size: 11px; }
.bar-lab b { font-family: var(--mono); font-weight: 500; color: var(--score); }
.track { height: 6px; background: var(--night-line); border-radius: 99px; overflow: hidden; }
.track span { display: block; height: 100%; background: linear-gradient(90deg, #3ddc97, var(--score)); border-radius: 99px; }
.facts-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 0 0 24px; }
.facts-grid div { background: var(--surface); padding: 16px; }
.facts-grid dt { font: 500 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.facts-grid dd { margin: 0; font-weight: 600; font-size: 14.5px; }
@media (max-width: 960px) { .facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.with-toc { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 56px; justify-content: center; }
.toc { position: sticky; top: 96px; align-self: start; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 14.5px; }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--accent); }
@media (max-width: 900px) { .with-toc { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; } .toc ol { display: flex; flex-wrap: wrap; gap: 6px; border: 0; } .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; margin: 0; font-size: 13.5px; } }

.prose { font-size: 17px; }
.prose h2 { margin-top: 1.6em; font-size: 26px; }
.prose > :first-child h2, .prose > h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.verdict { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r); padding: 26px; margin-top: 40px; }
.verdict-text { font-size: 18px; color: var(--ink) !important; }
.verdict-score { display: flex; align-items: center; gap: 10px; margin: 0; font: 500 18px var(--mono); }
.verdict-score b { font-size: 34px; color: var(--gold); }
.changelog { margin-top: 30px; font-size: 14.5px; color: var(--muted); }
.changelog ul { padding-left: 18px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 600; }
tbody th a { color: var(--ink); }
.table-wrap table { min-width: 640px; }
.table-wrap + p, .table-wrap + .notice { margin-top: 20px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 13px; font: 400 26px/1 var(--mono); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 16px; color: var(--ink-2); }
.faq-group { font-size: 20px; margin: 40px 0 8px; }
.faq-group:first-child { margin-top: 0; }

/* ---------- method steps ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 28px 64px; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; background: var(--night); color: var(--score); font: 500 14px var(--mono); border-radius: 10px; }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 52px; bottom: 8px; width: 2px; background: var(--line); }
.steps p { color: var(--ink-2); margin: 0; }

/* ---------- safer gambling ---------- */
.help-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
.help-card:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--ink); }
.help-card b { margin-top: auto; font-family: var(--mono); color: var(--accent); font-weight: 500; }
.rules-list { padding-left: 22px; }
.rules-list li { margin-bottom: 8px; color: var(--ink-2); }
.rules li { color: var(--ink-2); }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line-2); border-radius: 8px; padding: 10px 12px; min-height: 46px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 5px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-bottom: 14px; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--accent); }
.check label { font-weight: 400; margin: 0; }
.check .err { grid-column: 2; }
.err { color: var(--bad); font-size: 13.5px; margin: 6px 0 0; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); }
.form-errors { background: var(--bad-soft); color: var(--bad); border-radius: 8px; padding: 12px 14px; margin-bottom: 18px; }
.success { border-left: 4px solid var(--good); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.js .nojs-only { display: none; }
.calc-out { background: var(--night); color: var(--night-text); border-radius: 14px; padding: 24px; position: sticky; top: 96px; }
.out-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--night-line); border-radius: 10px; overflow: hidden; margin: 0 0 18px; }
.out-grid div { background: var(--night-2); padding: 16px; }
.out-grid dt { font-size: 12.5px; color: var(--night-muted); margin-bottom: 6px; }
.out-grid dd { margin: 0; font: 500 26px/1.1 var(--mono); color: var(--score); overflow-wrap: anywhere; }
.verdict-line { padding: 12px 14px; border-radius: 8px; font-weight: 600; background: var(--night-2); }
.verdict-line[data-state="ok"] { box-shadow: inset 4px 0 0 #3ddc97; }
.verdict-line[data-state="bad"] { box-shadow: inset 4px 0 0 #f27467; color: #ffb4ab; }
.calc-out .small { color: var(--night-muted); margin: 0; }
@media (max-width: 860px) { .calc-out { position: static; } }

/* ---------- footer ---------- */
.site-foot { background: var(--night); color: var(--night-muted); font-size: 14.5px; padding: 60px 0 28px; margin-top: 0; }
.site-foot a { color: var(--night-text); text-decoration: none; }
.site-foot a:hover { color: var(--score); }
.site-foot .brand { color: var(--night-text); margin-bottom: 16px; }
.site-foot .brand small { color: var(--night-muted); }
.site-foot .brand-mark rect { fill: var(--night-2); }
.fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.fh { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--night-text); margin: 0 0 14px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 9px; }
.f18 { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.f18 .age { border-color: var(--score); color: var(--score); }
.orgs { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 44px; padding: 24px 0; border-block: 1px solid var(--night-line); }
.orgs-title { width: 100%; font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.orgs img { height: 24px; width: auto; opacity: .85; transition: opacity .15s; }
.orgs a:hover img { opacity: 1; }
.orgs img.inv { filter: invert(1); }
.helpline { display: flex; flex-direction: column; line-height: 1.25; border: 1px solid var(--night-line); border-radius: 8px; padding: 6px 12px; }
.helpline b { font-size: 11.5px; font-weight: 500; color: var(--night-muted); }
.helpline em { font: 500 16px var(--mono); font-style: normal; color: var(--score); }
.fbot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; font-size: 13px; }
.fbot p { margin: 0; }
@media (max-width: 860px) { .fgrid { grid-template-columns: 1fr 1fr; } .fabout { grid-column: 1 / -1; } }
@media (max-width: 420px) { .fgrid { grid-template-columns: 1fr; } }

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; margin-left: auto;
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 20px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 14px; padding: 18px 20px; box-shadow: 0 20px 50px rgba(10, 12, 16, .25);
}
.cookie > div { flex: 1 1 260px; }
.cookie h2 { font-size: 16px; margin: 0 0 4px; }
.cookie p { font-size: 13.5px; margin: 0; color: var(--ink-2); }
.cookie-actions { display: flex; gap: 8px; margin: 0; }
