/* Dark is the base theme (:root). Light applies when (a) the user explicitly
 * picked light ([data-theme="light"]), or (b) no choice was made and the OS
 * prefers light (media query below). pages.js must NOT hardcode a data-theme
 * attribute - that caused a dark flash for light-preference users. */
:root {
  --bg: #130f26;
  --bg-2: #1a1536;
  --bg-3: #231c4d;
  --line: #352b68;
  --line-2: #4a3d8f;
  --text: #f4f1ff;
  --text-dim: #aca3d6;
  --text-faint: #9088c0; /* AA: >=4.5:1 on #130f26 */
  --accent: #ffd23f;       /* arcade yellow - the happy main accent */
  --accent-2: #ff8a3d;     /* tangerine */
  --accent-text: #241a04;
  --pink: #ff4d9d;
  --cyan: #4dc9ff;
  --magenta: #ff4d9d;
  --green: #3ddc97;
  --red: #ff5470;
  --gold: #ffcf3f;
  --purple: #9d5cff;
  --glow: 0 0 22px rgba(255, 210, 63, .30);
  --glow-cyan: 0 0 16px rgba(77, 201, 255, .28);
  --shadow: 0 6px 0 rgba(0,0,0,.35);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Pixelify Sans", "Nunito", system-ui, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
}

/* keep these two light blocks in sync (CSS cannot share tokens across a
 * media query and an attribute selector) */
[data-theme="light"] {
  --bg: #faf7ff;
  --bg-2: #ffffff;
  --bg-3: #f1ecff;
  --line: #e2d9fa;
  --line-2: #cdc2f0;
  --text: #241a44;
  --text-dim: #5a4f86;
  --text-faint: #6f65a0; /* AA 4.5:1 on #faf7ff */
  --accent: #8a6a00;      /* text-safe yellow-brown on light */
  --accent-2: #b45309;
  --accent-text: #fff7e0;
  --pink: #c2256e;
  --cyan: #0369a1;
  --magenta: #c2256e;
  --green: #067a4f;
  --red: #d61f42;
  --gold: #8a6a00;
  --purple: #7c3aed;
  --glow: none;
  --glow-cyan: none;
  --shadow: 0 4px 0 rgba(36, 26, 68, .10);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #faf7ff;
    --bg-2: #ffffff;
    --bg-3: #f1ecff;
    --line: #e2d9fa;
    --line-2: #cdc2f0;
    --text: #241a44;
    --text-dim: #5a4f86;
    --text-faint: #6f65a0;
    --accent: #8a6a00;
    --accent-2: #b45309;
    --accent-text: #fff7e0;
    --pink: #c2256e;
    --cyan: #0369a1;
    --magenta: #c2256e;
    --green: #067a4f;
    --red: #d61f42;
    --gold: #8a6a00;
    --purple: #7c3aed;
    --glow: none;
    --glow-cyan: none;
    --shadow: 0 4px 0 rgba(36, 26, 68, .10);
  }
}


/* ---- arcade-bonbon fonts (self-hosted OFL subsets) ---- */
@font-face {
  font-family: "Pixelify Sans";
  src: url("/assets/fonts/pixelify-sans-var.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-var.woff2") format("woff2");
  font-weight: 200 1000; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-italic-var.woff2") format("woff2");
  font-weight: 200 1000; font-style: italic; font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(55% 35% at 12% -5%, rgba(157, 92, 255, .14), transparent 70%),
    radial-gradient(45% 30% at 92% 8%, rgba(255, 77, 157, .10), transparent 70%),
    radial-gradient(40% 30% at 50% 110%, rgba(77, 201, 255, .10), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(157, 92, 255, .05) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(157, 92, 255, .05) 23px 24px);
}
[data-theme="light"] body::before { opacity: .4; }
@media (prefers-color-scheme: light) { html:not([data-theme="dark"]) body::before { opacity: .4; } }
main, .site-header, .site-footer, .age-banner { position: relative; z-index: 1; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.mono, code { font-family: var(--mono); }
.dim { color: var(--text-dim); }
.small { font-size: .85rem; }
.faint { color: var(--text-faint); }
.hl { font-family: var(--mono); color: var(--accent); text-shadow: var(--glow); letter-spacing: .02em; }
.hl.bad { color: var(--red); text-shadow: none; }
.mono-prefix { color: var(--accent); font-family: var(--mono); margin-right: .3rem; }
.icon { width: 1em; height: 1em; vertical-align: -.12em;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3 { line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin: .5em 0 .4em; }
h2 { font-size: 1.45rem; font-weight: 700; margin: 1.4em 0 .5em; }
h3 { font-size: 1.08rem; font-weight: 650; margin: 1.1em 0 .4em; }
p { margin: .6em 0; }
.prose { max-width: 76ch; }
.prose p, .prose li { color: var(--text); }
.prose h2 { margin-top: 1.6em; }

/* age banner */
.age-banner {
  background: linear-gradient(90deg, rgba(255, 145, 56, .16), rgba(255, 61, 129, .12));
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
  padding: 6px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.age-banner span { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.age-banner .icon { color: var(--gold); }
.banner-close { background: none; border: none; color: var(--text-dim); font-size: 1.1rem; cursor: pointer; }
.age-banner.hidden { display: none; }

/* header - the blur lives on ::before, NOT on .site-header itself: any
 * filter property makes an element the containing block for position:fixed
 * descendants, which would clip the mobile drawer to the header box
 * (vpnc mobile-menu lesson). isolation keeps the -1 z-index inside. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 58px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.05rem; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-chip .icon { width: 1.3em; height: 1.3em; color: var(--accent); filter: drop-shadow(0 0 6px rgba(255, 145, 56, .6)); }
.logo-text em { color: var(--accent); font-style: normal; }
.main-nav { display: flex; gap: 14px; align-items: center; flex: 1; }
.main-nav a, .nav-drop summary { color: var(--text-dim); font-size: .92rem; padding: 6px 2px; display: inline-flex; gap: 6px; align-items: center; }
.main-nav a:hover, .nav-drop summary:hover { color: var(--text); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--accent); }
.main-nav .icon, .nav-drop summary .icon { width: 1em; height: 1em; color: var(--text-faint); }
.nav-drop[data-active="true"] > summary { color: var(--accent); }
.nav-drop { position: relative; }
.nav-drop summary { cursor: pointer; list-style: none; }
.nav-drop summary::-webkit-details-marker { display: none; }
.drop-caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.nav-drop[open] .drop-caret { transform: rotate(225deg) translateY(-1px); }
.drop-panel {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px 22px; box-shadow: var(--shadow); z-index: 60;
  max-width: min(880px, calc(100vw - 32px));
}
.drop-col { display: flex; flex-direction: column; gap: 2px; }
.drop-group { font-size: .7rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--text-faint); margin: 0 0 6px; }
.drop-link { display: flex; gap: 9px; align-items: flex-start; padding: 5px 7px; margin: 0 -7px; border-radius: 8px; }
.drop-link:hover { background: var(--bg-3); text-decoration: none; }
.drop-ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.drop-ic .icon { width: 14px; height: 14px; }
.drop-txt { display: flex; flex-direction: column; font-size: .88rem; color: var(--text-dim); line-height: 1.25; }
.drop-link:hover .drop-txt { color: var(--text); }
.drop-note { font-size: .72rem; color: var(--text-faint); margin-top: 1px; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.theme-toggle { background: none; border: 1px solid var(--line-2); border-radius: 8px; color: var(--text-dim); padding: 6px 8px; cursor: pointer; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }

/* buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-text); font-weight: 700; font-size: .95rem;
  padding: 10px 18px; border: none; border-radius: 9px; cursor: pointer; text-decoration: none;
}
.btn-primary:hover { box-shadow: var(--glow); text-decoration: none; transform: translateY(-1px); }
.btn-primary.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-disabled { opacity: .35; cursor: not-allowed; pointer-events: none; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--cyan); border: 1px solid var(--line-2);
  padding: 9px 16px; border-radius: 9px; cursor: pointer; text-decoration: none; font-size: .92rem;
}
.btn-ghost:hover { border-color: var(--cyan); box-shadow: var(--glow-cyan); text-decoration: none; }
.btn-ghost.btn-sm { padding: 6px 12px; font-size: .84rem; }

/* hero */
.hero { padding: 56px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero-sub { color: var(--text-dim); font-size: 1.05rem; max-width: 56ch; }
.hero-answer { margin-top: 12px; font-size: .95rem; max-width: 60ch; border-left: 3px solid var(--accent); padding: 8px 14px; background: var(--bg-2, rgba(255,145,56,.05)); border-radius: 0 8px 8px 0; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 12px; }
.hero-trust { font-size: .8rem; color: var(--text-faint); display: flex; gap: 6px 16px; flex-wrap: wrap; }
.hero-trust .icon { color: var(--green); }
.hero-trust .trust-item { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.xmr-board {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 18px 20px; font-size: .85rem; box-shadow: var(--shadow);
}
.board-title { color: var(--accent); margin-bottom: 10px; font-weight: 700; }
.board-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); color: var(--text-dim); }
.board-val { color: var(--text); font-weight: 600; }
.board-val.ok { color: var(--green); }
.board-val.warn { color: var(--gold); }
.board-val a { color: inherit; }
.board-cursor { margin-top: 10px; color: var(--text-faint); }
.caret { animation: blink 1.1s steps(1) infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

/* sections */
.section { padding: 34px 0; }
.section-head { margin-bottom: 18px; }
.section-head h1, .section-head h2 { margin: 0 0 6px; }
.section-sub { color: var(--text-dim); margin: 0 0 8px; max-width: 72ch; }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.casino-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; position: relative; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.casino-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.rank-chip {
  position: absolute; top: -12px; left: 16px;
  background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text-dim);
  font-family: var(--mono); font-weight: 700; font-size: .8rem;
  padding: 2px 10px; border-radius: 20px;
}
.rank-chip.first { color: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px rgba(255, 210, 87, .35); }
.card-head { display: flex; gap: 12px; align-items: flex-start; }
.card-head > div:first-of-type { flex: 1; min-width: 0; }
.card-name { margin: 0; font-size: 1.05rem; }
.card-name a { color: var(--text); }
.card-name a:hover { color: var(--accent); text-decoration: none; }
.card-verdict { color: var(--text-dim); font-size: .86rem; margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-bonus > span:first-of-type { flex: 1; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.casino-logo { border-radius: 10px; flex-shrink: 0; }
.casino-logo-img { object-fit: contain; border-radius: 0; max-width: 220px; vertical-align: middle; }
/* logo heights via classes - inline style attributes are blocked by CSP (style-src 'self') */
.casino-logo-img.logo-28 { height: 28px; width: auto; }
.casino-logo-img.logo-32 { height: 32px; width: auto; }
.casino-logo-img.logo-44 { height: 44px; width: auto; }
.casino-logo-img.logo-64 { height: 64px; width: auto; }
.vres-ok { color: var(--green); }
.vres-bad { color: var(--red); }
.monogram {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; font-weight: 800; font-family: var(--mono);
  background: hsl(var(--h, 30) 60% 18%); color: hsl(var(--h, 30) 90% 72%);
  border: 1px solid hsl(var(--h, 30) 60% 40%);
}
.card-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.card-bonus { display: flex; gap: 8px; align-items: baseline; font-size: .86rem; color: var(--text-dim); flex-wrap: wrap; }
.card-bonus .icon { color: var(--gold); flex-shrink: 0; }
.bonus-wr { font-family: var(--mono); font-size: .78rem; color: var(--magenta); }
.card-meta { display: flex; gap: 16px; font-size: .8rem; color: var(--text-faint); flex-wrap: wrap; align-items: center; }
.card-meta .icon { color: var(--text-faint); }
.card-rating { color: var(--gold); }
.card-cat { margin-left: auto; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; border: 1px solid var(--line); padding: 2px 8px; border-radius: 12px; }
.card-ctas { display: flex; gap: 10px; align-items: center; margin-top: auto; flex-wrap: wrap; }
.visit-note { font-size: .72rem; color: var(--text-faint); }
.stars { color: var(--gold); letter-spacing: 2px; }

/* badges */
.badge {
  display: inline-block; font-family: var(--mono); font-size: .68rem; text-transform: uppercase;
  letter-spacing: .04em; padding: 2px 8px; border-radius: 6px; border: 1px solid; font-weight: 600;
}
.badge.ok { color: var(--green); border-color: color-mix(in srgb, var(--green) 50%, transparent); background: color-mix(in srgb, var(--green) 8%, transparent); }
.badge.warn { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 50%, transparent); background: color-mix(in srgb, var(--gold) 8%, transparent); }
.badge.bad { color: var(--red); border-color: color-mix(in srgb, var(--red) 50%, transparent); background: color-mix(in srgb, var(--red) 8%, transparent); }
.badge.info { color: var(--cyan); border-color: color-mix(in srgb, var(--cyan) 50%, transparent); background: color-mix(in srgb, var(--cyan) 8%, transparent); }
.badge.xmr { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.badge.xmr.dim { opacity: .65; }
.badge.tor, .badge.mag { color: var(--magenta); border-color: color-mix(in srgb, var(--magenta) 50%, transparent); background: color-mix(in srgb, var(--magenta) 8%, transparent); }

/* score ring */
.score-ring { flex-shrink: 0; }
.ring-bg { fill: none; stroke: var(--line-2); stroke-width: 4; }
.ring-fg { fill: none; stroke: var(--cyan); stroke-width: 4; stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; }
.score-ring.good .ring-fg { stroke: var(--green); }
.score-ring.ok .ring-fg { stroke: var(--cyan); }
.score-ring.mid .ring-fg { stroke: var(--gold); }
.score-ring.bad .ring-fg { stroke: var(--red); }
.ring-num { fill: var(--text); font-family: var(--mono); font-size: 15px; font-weight: 700; }
.score-null { color: var(--text-faint); font-family: var(--mono); }

/* compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
table.compare { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 900px; }
table.compare thead th {
  position: sticky; top: 0; background: var(--bg-3); text-align: left;
  padding: 10px 12px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .05em; color: var(--text-dim); border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
table.compare tbody td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.compare tbody tr:hover { background: var(--bg-3); }
table.compare tbody tr:last-child td { border-bottom: none; }
.col-rank { color: var(--text-faint); }
.col-bonus { max-width: 260px; }
.row-name { display: flex; gap: 8px; align-items: center; color: var(--text); font-weight: 600; white-space: nowrap; }
.row-name:hover { color: var(--accent); text-decoration: none; }
.row-badges { margin-top: 4px; display: flex; gap: 4px; flex-wrap: wrap; }
.sortable { cursor: pointer; user-select: none; }
.sortable::after { content: " ▾"; opacity: .4; }
.sortable.asc::after { content: " ▴"; opacity: 1; color: var(--accent); }
.sortable.desc::after { content: " ▾"; opacity: 1; color: var(--accent); }
tr.filtered-out { display: none; }
.table-note { font-size: .8rem; margin-top: 10px; }
.filter-meta { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.table-count { font-size: .76rem; }

/* Mobile: the comparison table becomes a card list - every decision-relevant
 * fact (KYC, payout, score, visit) is visible without horizontal scrolling. */
@media (max-width: 900px) {
  table.compare:not(.simple) { min-width: 0; border: 0; background: transparent; }
  .table-wrap:has(table.compare:not(.simple)) { overflow-x: visible; border: 0; background: transparent; }
  table.compare:not(.simple) thead { display: none; }
  table.compare:not(.simple), table.compare:not(.simple) tbody { display: block; }
  table.compare:not(.simple) tbody tr {
    display: grid; grid-template-columns: 1fr auto; gap: 2px 12px;
    padding: 12px 14px; margin-bottom: 10px;
    border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2);
  }
  table.compare:not(.simple) tbody tr:hover { background: var(--bg-2); }
  table.compare:not(.simple) tbody td { display: block; padding: 2px 0; border-bottom: 0; }
  table.compare:not(.simple) td.col-rank { display: none; }
  table.compare:not(.simple) td.col-name { grid-column: 1; }
  table.compare:not(.simple) td.col-score { grid-column: 2; grid-row: 1 / span 2; align-self: start; padding-top: 6px; }
  table.compare:not(.simple) td.col-kyc,
  table.compare:not(.simple) td.col-xmr,
  table.compare:not(.simple) td.col-mindep,
  table.compare:not(.simple) td.col-speed,
  table.compare:not(.simple) td.col-bonus,
  table.compare:not(.simple) td.col-rating { grid-column: 1 / -1; font-size: .84rem; }
  table.compare:not(.simple) td.col-bonus { color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  table.compare:not(.simple) td[data-l]::before {
    content: attr(data-l) ': '; font-family: var(--mono); font-size: .66rem;
    text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint);
  }
  table.compare:not(.simple) td.col-cta { grid-column: 1 / -1; margin-top: 8px; }
  table.compare:not(.simple) td.col-cta .btn-primary { display: block; text-align: center; }
}
.cat-answer { margin: 4px 0 14px; font-size: .98rem; max-width: 68ch; border-left: 3px solid var(--accent); padding: 8px 14px; background: var(--bg-2, rgba(255,145,56,.05)); border-radius: 0 8px 8px 0; }
.cat-related { font-size: .84rem; margin-bottom: 14px; }
.cat-related a { margin-right: 4px; }
.cat-faq { margin-top: 34px; max-width: 68ch; }
.cmp-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 20px; }
.cmp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 30px; }
.cmp-cols h2 { font-size: 1.2rem; }
.cmp-faq { margin-top: 34px; max-width: 72ch; }
.compare-facts td, .compare-facts th { text-align: left; }
@media (max-width: 820px) { .cmp-cols { grid-template-columns: 1fr; } }
table.compare.simple { min-width: 600px; }
table.compare.simple th { padding: 10px 12px; text-align: left; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; color: var(--text-dim); border-bottom: 1px solid var(--line-2); }
table.compare.simple tbody th { font-family: var(--font); text-transform: none; font-size: .92rem; }

/* filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 18px; align-items: flex-end; }
.filter-group { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.flabel { font-size: .7rem; color: var(--text-faint); text-transform: uppercase; margin-right: 2px; }
.fchip {
  font-family: var(--mono); font-size: .74rem; padding: 4px 12px;
  border: 1px solid var(--line-2); border-radius: 16px; background: transparent;
  color: var(--text-dim); cursor: pointer;
}
.fchip:hover { border-color: var(--cyan); color: var(--cyan); }
.fchip.on { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.filter-search input {
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 8px;
  color: var(--text); padding: 6px 10px; font-size: .88rem; width: 160px;
}
.filter-search input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: var(--cyan); }

/* category grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.cat-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px; display: flex; gap: 10px; align-items: center; color: var(--text);
}
.cat-card:hover { border-color: var(--accent); text-decoration: none; box-shadow: var(--shadow); }
.cat-num { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.cat-card .icon { width: 1.4em; height: 1.4em; color: var(--cyan); }
.cat-label { font-weight: 600; }

/* tools */
.tool-grid, .guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tool-card, .guide-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px;
  color: var(--text); display: block;
}
.tool-card:hover, .guide-card:hover { border-color: var(--cyan); text-decoration: none; box-shadow: var(--glow-cyan); }
.tool-card h3, .guide-card h3 { margin: 0 0 6px; font-size: 1rem; display: flex; gap: 8px; align-items: center; }
.tool-card .icon { color: var(--accent); }
.tool-card p, .guide-card p { margin: 0; color: var(--text-dim); font-size: .86rem; }
.tool-page { max-width: 900px; }
.tool-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 20px 0; }
.tool-panel.stack { grid-template-columns: 1fr; }
.tool-form { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.tool-form label { font-size: .8rem; color: var(--text-dim); display: block; margin-bottom: 4px; }
.tool-form input, .tool-form select, .tool-form textarea {
  width: 100%; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 8px;
  color: var(--text); padding: 9px 12px; font-size: .95rem; font-family: var(--mono);
}
.tool-form input:focus, .tool-form select:focus, .tool-form textarea:focus { outline: 2px solid var(--cyan); border-color: var(--cyan); }
.range-line { display: flex; gap: 8px; align-items: center; }
.range-line .mono { color: var(--accent); font-weight: 700; }
.tool-result { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 20px; }
.tool-result .big { font-size: 1.6rem; font-weight: 800; color: var(--accent); font-family: var(--mono); }
.tool-result table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .84rem; }
.tool-result td { padding: 5px 4px; border-bottom: 1px dashed var(--line); }
.tool-result td:last-child { text-align: right; color: var(--cyan); }
.tool-expl { margin-top: 20px; }

/* verdict / review page */
.crumbs { font-size: .78rem; color: var(--text-faint); margin-bottom: 14px; }
.verdict-box { background: var(--bg-2); border: 1px solid var(--line-2); border-left: 3px solid var(--accent); border-radius: 12px; padding: 22px; display: grid; grid-template-columns: max-content 1fr; grid-template-areas: "rail title" "ctas title" "foot foot"; column-gap: 16px; }
.verdict-head { display: contents; }
.verdict-rail { grid-area: rail; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.verdict-score { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding-top: 12px; border-top: 1px solid var(--line-2); }
.verdict-score-meta { display: contents; }
.verdict-score-label { font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; font-weight: 600; color: var(--text-faint); }
.user-score-main { font-size: .84rem; }
.user-score-sub { font-size: .72rem; line-height: 1.35; }
.verdict-title { grid-area: title; min-width: 0; }
.verdict-title h1 { margin: 0 0 6px; font-size: 1.7rem; }
.verdict-line { color: var(--text-dim); margin: 0 0 8px; }
.verdict-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.verdict-ctas { grid-area: ctas; display: flex; gap: 14px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.review-grid { display: grid; grid-template-columns: 1.6fr .9fr; gap: 28px; margin-top: 26px; }
.review-side { display: flex; flex-direction: column; gap: 18px; }
.side-note { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: .88rem; }
.side-note h4 { margin: 0 0 6px; color: var(--accent); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.redflag, .dead-banner {
  background: color-mix(in srgb, var(--red) 10%, var(--bg-2));
  border: 1px solid color-mix(in srgb, var(--red) 45%, transparent);
  border-radius: 10px; padding: 12px 16px; margin: 14px 0; display: flex; gap: 10px;
}
.redflag .icon, .dead-banner .icon { color: var(--red); flex-shrink: 0; }
.redflag ul { margin: 6px 0 0; padding-left: 18px; }
.verify-note { color: var(--gold); font-size: .86rem; background: color-mix(in srgb, var(--gold) 8%, transparent); border: 1px dashed color-mix(in srgb, var(--gold) 40%, transparent); border-radius: 8px; padding: 8px 12px; }
table.facts { width: 100%; border-collapse: collapse; font-size: .84rem; background: var(--bg-2); border-radius: 10px; }
table.facts caption { caption-side: top; text-align: left; font-family: var(--mono); font-size: .68rem; color: var(--text-faint); padding: 10px 12px 4px; text-transform: uppercase; }
table.facts th { text-align: left; padding: 8px 12px; color: var(--text-dim); font-weight: 500; width: 42%; border-bottom: 1px solid var(--line); }
table.facts td { padding: 8px 12px; border-bottom: 1px solid var(--line); font-family: var(--mono); }
table.facts .icon { color: var(--accent); margin-right: 4px; }
table.facts tr:last-child th, table.facts tr:last-child td { border-bottom: none; }
.fact-note { color: var(--text-faint); font-family: var(--font); font-size: .78rem; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.proscons h3 { margin: 0 0 8px; font-size: .9rem; }
.proscons ul { margin: 0; padding-left: 18px; font-size: .9rem; }
.proscons .pros { background: color-mix(in srgb, var(--green) 6%, var(--bg-2)); border: 1px solid color-mix(in srgb, var(--green) 30%, transparent); border-radius: 10px; padding: 14px; }
.proscons .cons { background: color-mix(in srgb, var(--red) 5%, var(--bg-2)); border: 1px solid color-mix(in srgb, var(--red) 30%, transparent); border-radius: 10px; padding: 14px; }
.proscons .pp { font-family: var(--mono); margin-right: 6px; }
.proscons .pros .pp { color: var(--green); }
.proscons .cons .pp { color: var(--red); }
.bonus-box { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 16px; margin-top: 18px; }
.get-started { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 16px; margin-top: 18px; }
.get-started h3 { margin: 0 0 10px; font-size: 1rem; }
.get-started .get-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 12px 0 0; }
.guide-sub { margin: -6px 0 18px; font-size: 1.05rem; }
.bonus-box h3 { margin-top: 0; display: flex; gap: 8px; align-items: center; }
.bonus-box .icon { color: var(--gold); }

/* faq */
.faq { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); margin: 8px 0; overflow: hidden; }
.faq summary { cursor: pointer; padding: 12px 16px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "> "; color: var(--accent); font-family: var(--mono); }
.faq[open] summary { border-bottom: 1px solid var(--line); color: var(--accent); }
.faq p { padding: 10px 16px; margin: 0; color: var(--text-dim); }

/* rating + comments */
.rating-box { display: flex; gap: 24px; justify-content: space-between; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 22px; flex-wrap: wrap; }
.rating-box h2 { margin: 0 0 4px; }
.star-row { display: flex; gap: 4px; }
.star-btn { background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--text-faint); padding: 2px; }
.star-btn:hover, .star-btn.sel { color: var(--gold); text-shadow: 0 0 12px rgba(255, 210, 87, .5); }
.form-status { min-height: 1.2em; font-size: .8rem; color: var(--text-faint); margin: 8px 0; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }
.comments-section .comment { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 10px 0; }
.comment-head { display: flex; justify-content: space-between; font-size: .74rem; color: var(--text-faint); margin-bottom: 6px; }
.comment-nick { color: var(--cyan); font-weight: 600; }
.comment-body { margin: 0; font-size: .92rem; }
.comment-reply { background: var(--bg-3); border-radius: 8px; padding: 8px 12px; margin: 8px 0 0; font-size: .86rem; }
.comment-reply .mono { color: var(--accent); }
.comment-form { margin-top: 22px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 20px; max-width: 640px; }
.form-row { margin-bottom: 12px; }
.form-row label { display: block; font-size: .8rem; color: var(--text-dim); margin-bottom: 4px; }
.form-row input, .form-row textarea {
  width: 100%; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 8px;
  color: var(--text); padding: 9px 12px; font-size: .95rem; font-family: var(--font);
}
.form-row textarea { font-family: var(--font); }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--cyan); border-color: var(--cyan); }
.comment-pay { margin: 14px 0 4px; background: var(--bg-3); border: 1px solid var(--cyan); border-radius: 10px; padding: 14px 16px; }
.pay-grid { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pay-info { flex: 1; min-width: 240px; }
.pay-row { margin: 4px 0; font-size: .88rem; }
.pay-addr-row { margin: 8px 0; }
.pay-addr { word-break: break-all; font-size: .72rem; color: var(--cyan); cursor: pointer; text-decoration: underline dotted; }
.pay-qr img { width: 132px; height: 132px; image-rendering: pixelated; border-radius: 6px; background: #fff; padding: 4px; }

/* finder */
.finder { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 28px; max-width: 720px; }
.finder-steps { display: flex; gap: 10px; margin-bottom: 18px; padding: 0; }
.finder-steps li { color: var(--text-faint); }
.finder-steps li.on { color: var(--accent); }
.finder h2 { margin-top: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.choice {
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--text); padding: 16px; font-size: .95rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 10px; text-align: left;
}
.choice:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--glow); }
.choice .icon { width: 1.3em; height: 1.3em; color: var(--cyan); }
#finderResult .reason { color: var(--green); font-family: var(--mono); font-size: .78rem; }

/* guide pages */
.guide-card p { font-size: .84rem; }
.guide-intro { font-size: 1.05rem; color: var(--text-dim); border-left: 3px solid var(--accent); padding-left: 14px; }
.guide-intro p { margin: 0 0 10px; }
.guide-intro p:last-child { margin-bottom: 0; }
.toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; }
.toc summary { padding: 10px 14px; cursor: pointer; color: var(--text-dim); font-size: .84rem; }
.toc ol { padding: 0 14px 12px 34px; margin: 0; font-size: .9rem; }
.toc ol li { margin: 3px 0; }
.toc ol li.toc-sub { list-style: none; margin-left: 12px; opacity: .8; }
.guide-byline { font-family: var(--mono); font-size: .76rem; color: var(--text-dim); margin: 0 0 14px; }
.guide-byline a { color: var(--cyan); }
img.guide-hero { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); margin: 4px 0 18px; background: var(--bg-2); }
.guide-answer { margin-top: 4px; max-width: 68ch; }
.prose ol.sources { padding-left: 24px; font-size: .88rem; }
.prose ol.sources li { margin: 6px 0; color: var(--text-dim); }
.prose ol.sources .src-date { font-size: .76rem; }
.callout { margin: 14px 0; padding: 10px 14px; border-left: 3px solid var(--cyan); background: var(--bg-2); border-radius: 0 10px 10px 0; color: var(--text-dim); }
.callout p { margin: 0; }
.callout.warn { border-left-color: var(--gold); }
.callout.tip { border-left-color: var(--green); }
.callout.note { border-left-color: var(--cyan); }
.prose table.md-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 480px; background: var(--bg-2); }
.prose table.md-table thead th { text-align: left; padding: 10px 12px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; color: var(--text-dim); border-bottom: 1px solid var(--line-2); }
.prose table.md-table tbody th { font-family: var(--font); text-transform: none; font-size: .92rem; }
.prose table.md-table td, .prose table.md-table tbody th { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose table.md-table tbody tr:last-child td, .prose table.md-table tbody tr:last-child th { border-bottom: none; }
.prose table.md-table tbody tr:hover { background: var(--bg-3); }
.prose table.md-table.guide-data { min-width: 560px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
h2.guide-group { margin: 26px 0 10px; font-size: 1.05rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--text-dim); }
h2.guide-group:first-of-type { margin-top: 8px; }
.prose ol, .prose ul { padding-left: 24px; }
.prose ol li, .prose ul li { margin: 4px 0; }
.notfound h1 { font-size: 2.4rem; }

/* scams */
.scam-card { border-color: color-mix(in srgb, var(--red) 40%, var(--line)); }
.scam-flags { margin: 0; padding-left: 18px; color: var(--red); font-size: .84rem; }
.scam-flags li { margin: 3px 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 26px; padding: 36px 20px; }
.footer-grid h4 { margin: 0 0 10px; font-size: .74rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }
.footer-grid nav { display: flex; flex-direction: column; gap: 6px; }
.footer-grid a { color: var(--text-dim); font-size: .88rem; }
.footer-grid a:hover { color: var(--accent); }
.notrack { font-size: .78rem; color: var(--green); }
.notrack .icon { color: var(--green); }
.footer-legal { padding: 14px 20px 28px; border-top: 1px solid var(--line); font-size: .76rem; color: var(--text-faint); }
.footer-legal p { max-width: 90ch; margin: 6px 0; }
.footer-onion { font-size: .72rem; }

/* --- review page: score breakdown, toc, uptime --- */
.score-breakdown { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); padding: 14px 16px; margin-top: 14px; }
.score-breakdown h4 { margin: 0 0 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); }
.sb-row { display: grid; grid-template-columns: 128px 1fr 34px; gap: 10px; align-items: center; padding: 3px 0; }
.sb-label { font-size: .8rem; color: var(--text-dim); }
.sb-label .dim { font-size: .68rem; }
.sb-bar { width: 100%; height: 8px; }
.sb-track { fill: var(--bg-3); }
.sb-fill.good { fill: var(--green); }
.sb-fill.ok { fill: var(--cyan); }
.sb-fill.mid { fill: var(--gold); }
.sb-fill.bad { fill: var(--red); }
.sb-val { font-size: .78rem; text-align: right; }
.sb-val.good { color: var(--green); }
.sb-val.ok { color: var(--cyan); }
.sb-val.mid { color: var(--gold); }
.sb-val.bad { color: var(--red); }
.sb-rank { margin: 10px 0 0; }

.side-toc { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .74rem; margin-bottom: 12px; }
.side-toc .side-toc-head { color: var(--text-faint); text-transform: uppercase; letter-spacing: .08em; margin-right: 4px; }
.side-toc a { color: var(--text-dim); }
.side-toc a:hover { color: var(--accent); text-decoration: none; }
@media (min-width: 901px) {
  .side-toc { position: sticky; top: 66px; background: var(--bg); padding: 6px 0; z-index: 30; }
}
.side-hero { margin: 0 0 14px; }
.side-hero img { width: 100%; height: auto; }

.uptime-line { grid-area: foot; font-size: .76rem; margin: 8px 0 0; display: flex; gap: 7px; align-items: center; color: var(--text-dim); flex-wrap: wrap; }
.up-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.up-dot.ok { background: var(--green); box-shadow: 0 0 8px var(--green); }
.up-dot.warn { background: var(--gold); }
.up-dot.bad { background: var(--red); box-shadow: 0 0 8px var(--red); }

.fact-more { display: inline; }
.fact-more summary { display: inline; cursor: pointer; color: var(--accent); font-size: .72rem; }
.fact-more[open] summary { display: block; margin-bottom: 2px; }
.fact-more summary::-webkit-details-marker { display: none; }
.fact-more summary.fact-val-summary, td .fact-more > summary { color: inherit; font-size: inherit; }
.fact-more .fact-more-link { color: var(--accent); font-size: .72rem; }

.rf-more { margin-top: 6px; }
.rf-more summary { cursor: pointer; color: var(--red); font-size: .8rem; }
.rf-more ul { margin: 6px 0 0; padding-left: 18px; }

.comment-start { border: 1px dashed var(--line-2); border-radius: 12px; padding: 12px 16px; background: var(--bg-2); }
.comment-start summary { cursor: pointer; color: var(--text-dim); display: flex; gap: 8px; align-items: center; }
.comment-start summary .icon { color: var(--gold); flex-shrink: 0; }
.comment-start summary::-webkit-details-marker { display: none; }
.comment-start[open] summary { margin-bottom: 12px; }

.cmp-sb-head { margin-top: 34px; }
.cmp-leads { margin: 4px 0 12px; }

/* --- site search dialog --- */
.search-dialog { border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2); color: var(--text); padding: 0; width: min(560px, 92vw); box-shadow: var(--shadow); }
.search-dialog::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(2px); }
.search-box { padding: 14px; }
.search-box input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-size: 1rem; }
.search-results { list-style: none; margin: 10px 0 0; padding: 0; max-height: 50vh; overflow: auto; }
.search-results a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--text-dim); }
.search-results a:hover, .search-results a.sel { background: var(--bg-3); color: var(--text); text-decoration: none; }
.search-results li.dim { padding: 8px 10px; }
.search-hint { margin: 10px 0 0; font-size: .68rem; color: var(--text-faint); }

/* --- /changes/ feed --- */
.change-day h3 { margin: 26px 0 8px; font-size: .85rem; color: var(--text-dim); border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.change-list { list-style: none; margin: 0; padding: 0; }
.change-list li { padding: 6px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.change-list li:last-child { border-bottom: 0; }
.change-ts { font-size: .74rem; flex-shrink: 0; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* mobile drawer is a <details> element: opens without JS, JS adds scroll
 * lock, outside-click close and the desktop-breakpoint auto-close */
.nav-burger { display: none; position: relative; }
.nav-burger summary { list-style: none; font-size: 1.1rem; line-height: 1; }
.nav-burger summary::-webkit-details-marker { display: none; }
.drawer {
  position: fixed; top: 58px; left: 0; right: 0;
  height: calc(100dvh - 58px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg-2); border-top: 1px solid var(--line-2);
  padding: 14px 18px 28px; display: flex; flex-direction: column; gap: 4px;
  z-index: 70;
}
@supports not (height: 100dvh) { .drawer { height: calc(100vh - 58px); } }
body.nav-open { overflow: hidden; }
.drawer-cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 700; font-size: .92rem; }
.drawer-cta.ghost { background: var(--bg-3); color: var(--text-dim); font-weight: 600; }
.drawer-cta:hover { text-decoration: none; filter: brightness(1.08); }
.drawer-cta .icon { width: 1em; height: 1em; }
.drawer-group { border-bottom: 1px solid var(--line); }
.drawer-group summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 9px; padding: 12px 2px; color: var(--text-dim); font-size: .95rem; }
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group .icon { width: 1em; height: 1em; color: var(--text-faint); }
.drawer-panel { padding: 0 2px 12px 4px; display: flex; flex-direction: column; gap: 1px; }
.drawer-panel .drop-group { margin: 8px 0 4px; }
.drawer-panel a { padding: 7px 10px; margin: 0 -10px; border-radius: 8px; color: var(--text-dim); font-size: .9rem; }
.drawer-panel a:hover { background: var(--bg-3); color: var(--text); text-decoration: none; }
@media (max-width: 1000px) {
  .hero-grid, .review-grid, .tool-panel { grid-template-columns: 1fr; }
  /* grid children default to min-width:auto - long unbreakable strings
   * (license ids, URLs, mono facts) otherwise force the track wider than
   * the phone (audit 2026-09-13: every page scrolled sideways ~106 px) */
  .hero-grid > *, .review-grid > *, .tool-panel > * { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .nav-burger { display: block; }
}
/* icon-only header buttons on narrow phones: burger + search + finder +
 * theme exceeded a 390 px viewport by ~106 px (audit 2026-09-13) */
@media (max-width: 700px) {
  .header-inner { gap: 10px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-label { display: none; }
  .header-actions .btn-ghost.btn-sm { padding: 6px 9px; }
  .header-actions .icon { width: 1.05em; height: 1.05em; }
}
/* long unbreakable content must wrap instead of overflowing the card */
.facts td, .fact-note, .source-head, .source-title, .source-summary, .source-foot, .src-links li, .op-notes, .card-verdict { overflow-wrap: anywhere; }
/* pros/cons and red-flag items carry hashes, addresses and IDs
 * (e.g. a 42-char btc address) that must not widen the page */
.proscons li, .redflag li, .faq p { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.mono-h0 { --h: 15; } .mono-h1 { --h: 45; } .mono-h2 { --h: 75; } .mono-h3 { --h: 105; }
.mono-h4 { --h: 135; } .mono-h5 { --h: 165; } .mono-h6 { --h: 195; } .mono-h7 { --h: 225; }
.mono-h8 { --h: 255; } .mono-h9 { --h: 285; } .mono-h10 { --h: 315; } .mono-h11 { --h: 345; }

/* meta-review (sources, player voices, operator, ai summary) */
.prose-wide { max-width: 92ch; }
.meta-review h2 { margin-bottom: .2em; }
.meta-intro { color: var(--text-dim); max-width: 80ch; }
.meta-section { margin-top: 34px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.meta-section > h3 { margin: 0 0 8px; }
.source-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.source-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.source-card:hover { border-color: var(--line-2); }
.source-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.source-site { color: var(--cyan); font-size: .8rem; }
.source-score { color: var(--gold); font-size: .8rem; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); border-radius: 5px; padding: 1px 7px; }
.source-title { margin: 0; font-size: .95rem; line-height: 1.35; }
.source-title a { color: var(--text); }
.source-title a:hover { color: var(--accent); }
.source-summary { margin: 0; font-size: .88rem; color: var(--text-dim); line-height: 1.5; }
.source-foot { font-size: .72rem; color: var(--text-faint); margin-top: auto; }
.op-brands-head { margin: 14px 0 6px; }
.op-brands { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.op-brands li { border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 10px; font-size: .78rem; color: var(--text-dim); background: var(--bg-3); }
.op-notes { color: var(--text-dim); font-size: .9rem; max-width: 80ch; }
.src-links { list-style: none; padding: 0; margin: 10px 0 0; font-size: .76rem; display: flex; flex-direction: column; gap: 4px; }
.src-links a { color: var(--cyan); }
.ai-summary .ai-summary-body { background: var(--bg-2); border: 1px solid color-mix(in srgb, var(--cyan) 25%, var(--line)); border-radius: 10px; padding: 16px 20px; }
.ai-summary-body p { color: var(--text); font-size: .94rem; }
.ai-summary-body ul { margin: 8px 0; }
.src-full { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 7px; }
.src-full li { font-size: .84rem; border-bottom: 1px solid var(--line); padding-bottom: 7px; }
.src-full a { color: var(--cyan); word-break: break-all; }
.src-idx { color: var(--accent); margin-right: 6px; }
.review-hero { margin: 0 0 22px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.review-hero img { display: block; width: 100%; height: auto; }
.review-hero figcaption { font-family: var(--mono); font-size: .7rem; color: var(--text-faint); padding: 6px 12px; background: var(--bg-2); }
figure.shot { margin: 14px 0 22px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
figure.shot img { display: block; width: 100%; height: auto; }
figure.shot figcaption { font-family: var(--mono); font-size: .7rem; color: var(--text-faint); padding: 6px 12px; background: var(--bg-2); }
.infographic { margin: 18px 0; text-align: center; }
.infographic img { max-width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.infographic figcaption { font-family: var(--mono); font-size: .72rem; color: var(--text-faint); margin-top: 6px; }
@media (max-width: 900px) { .source-grid { grid-template-columns: 1fr; } }

/* coin rain overlay (homepage, admin-toggleable; canvas created by js/coinrain.js) */
#fx-coinrain { position: fixed; inset: 0; z-index: 200; pointer-events: none; }

/* ---------- tools 2.0 (2026-09-07) ---------- */
.tool-group { margin: 34px 0 4px; font-size: 1.15rem; }
.tool-group-sub { margin: 0 0 12px; font-size: .87rem; }
.tool-expl { margin-top: 26px; }
.field-error { border: 1px solid var(--red); border-radius: 10px; padding: 12px 14px; }
.field-error p { margin: 0 0 6px; color: var(--red); }
.field-error ul { margin: 0; padding-left: 18px; color: var(--red); font-size: .86rem; }
.check-list { padding-left: 18px; }
.check-list li { margin: 6px 0; }
.tool-result .badge.warn { margin-left: 6px; }
.tool-form textarea { resize: vertical; }

/* finder v2 requirement badges + payment help + compare (2026-09-07, stage B) */
.req-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.req { display: inline-block; font-size: .72rem; font-family: var(--mono); padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); }
.req-ok { color: var(--green); border-color: var(--green); }
.req-bad { color: var(--red); border-color: var(--red); }
.req-warn { color: var(--orange, #ff9138); border-color: var(--orange, #ff9138); }
.req-unk { color: var(--text-dim); }
.pay-app .choice-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pay-h { margin: 18px 0 6px; font-size: 1rem; }
.pay-warn { margin: 16px 0; }
.cmp-list { max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.cmp-pick { display: flex; gap: 8px; align-items: baseline; font-size: .9rem; padding: 4px 6px; border-radius: 6px; }
.cmp-pick:hover { background: var(--bg-3, rgba(255,255,255,.04)); }
.cmp-table th[scope="row"] { text-align: left; white-space: normal; }
.cmp-table td { min-width: 130px; }

/* journal + rtp checker (2026-09-07, stage C) */
.jrnl-stats { display: flex; flex-wrap: wrap; gap: 18px; margin: 10px 0; }
.jrnl-stats > div { display: flex; flex-direction: column; }
.jrnl-stats strong { font-size: 1.05rem; }
.jrnl-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.jrnl-table th, .jrnl-table td { padding: 4px 6px; border-bottom: 1px dashed var(--line); text-align: left; }
.jrnl-table th { color: var(--text-dim); font-weight: 400; }
.tool-form textarea { width: 100%; }

/* casino check (2026-09-07, stage E) */
.cc-hit { text-align: left; background: none; border: 1px solid var(--line); border-radius: 8px; }
.cc-hit:hover { border-color: var(--cyan); }
#ccResult .facts th { width: 34%; }

/* --- conversion: visible trust + always one CTA in reach ----------------- */
.card-verified { color: var(--text-faint); }
.vchip { font-weight: 400; }
.toc-visit { display: block; margin: 2px 0 6px; color: var(--accent); font-weight: 700; text-transform: none; letter-spacing: 0; }
.toc-visit:hover { text-decoration: underline; }
.review-cta { margin: 18px 0; padding: 14px 16px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--bg-2); }
.review-cta p { margin: 6px 0; }
.guide-cta { margin: 20px 0 8px; padding: 14px 16px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--bg-2); }
.guide-cta p { margin: 6px 0; }
@media (max-width: 900px) {
  /* mobile: the verdict CTAs stay reachable while reading the long review */
  .verdict-ctas { position: sticky; bottom: 0; background: var(--bg); padding: 10px 0 12px; border-top: 1px solid var(--border); z-index: 40; margin-left: -6px; margin-right: -6px; padding-left: 6px; padding-right: 6px; }
}

/* --- a11y: keyboard users skip ~20 header/nav tab stops --------------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--bg-3); color: var(--text); padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0; border: 1px solid var(--line-2); }
.skip-link:focus { left: 0; }
th.sortable .sort-btn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; text-align: inherit; display: inline; text-decoration: none; }
th.sortable .sort-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.star-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- affiliate program hub (/best/affiliate-programs/) + review box --- */
.aff-card { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 16px; margin: 16px 0; }
.aff-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; margin-bottom: 6px; }
.aff-head h3 { margin: 0; }
.aff-rank { color: var(--accent); font-weight: 700; }
.aff-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.aff-facts th { width: 150px; }
.aff-notes { margin: 8px 0 0; }
.aff-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 6px; }
.aff-box .badge { margin: 0 6px 6px 0; }

/* --- guide explainer figures ({{figure:}} inline SVG + {{shot:}} screenshots) --- */
/* SVGs are drawn at 734 units = the actual rendered column width, so text
   renders 1:1 on desktop. Below ~680px the figure scrolls horizontally
   (min-width keeps labels >= ~12px effective) instead of shrinking to mush. */
figure.diagram { margin: 18px 0 22px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
figure.diagram svg { display: block; width: 100%; min-width: 640px; height: auto; }
figure.diagram figcaption, figure.gshot figcaption { font-family: var(--mono); font-size: .72rem; color: var(--text-faint); padding: 7px 12px; background: var(--bg-2); border-top: 1px solid var(--line); }
figure.diagram figcaption { border-top: 0; }
/* diagram palette - classes used by the hand-built SVGs, themed via variables */
figure.diagram .dg-bg { fill: var(--bg-2); }
figure.diagram .dg-node { fill: var(--bg-3); stroke: var(--line-2); stroke-width: 1.5; rx: 10; }
figure.diagram .dg-node-accent { fill: var(--bg-3); stroke: var(--accent); stroke-width: 2; rx: 10; }
figure.diagram .dg-node-red { fill: var(--bg-3); stroke: var(--red); stroke-width: 2; rx: 10; }
figure.diagram .dg-node-green { fill: var(--bg-3); stroke: var(--green); stroke-width: 2; rx: 10; }
figure.diagram .dg-node-gold { fill: var(--bg-3); stroke: var(--gold); stroke-width: 2; rx: 10; }
figure.diagram .dg-title { fill: var(--text); font-weight: 700; }
figure.diagram .dg-lbl { fill: var(--text); }
figure.diagram .dg-lbl-dim { fill: var(--text-dim); }
figure.diagram .dg-lbl-accent { fill: var(--accent); }
figure.diagram .dg-lbl-red { fill: var(--red); }
figure.diagram .dg-lbl-green { fill: var(--green); }
figure.diagram .dg-lbl-gold { fill: var(--gold); }
figure.diagram .dg-lbl-cyan { fill: var(--cyan); }
figure.diagram text { font-family: var(--font); }
figure.diagram .dg-mono { font-family: var(--mono); }
figure.diagram .dg-line { stroke: var(--line-2); stroke-width: 1.5; fill: none; }
figure.diagram .dg-arrow { stroke: var(--text-dim); stroke-width: 1.5; fill: none; }
figure.diagram .dg-arrow-accent { stroke: var(--accent); stroke-width: 2; fill: none; }
figure.diagram .dg-arrow-red { stroke: var(--red); stroke-width: 2; fill: none; }
figure.diagram .dg-band { fill: var(--bg-3); opacity: .55; }
figure.diagram .dg-band-accent { fill: var(--accent); opacity: .12; }
figure.diagram .dg-bar { fill: var(--accent); }
figure.diagram .dg-bar-dim { fill: var(--line-2); }
figure.diagram .dg-bar-red { fill: var(--red); }
figure.diagram .dg-bar-green { fill: var(--green); }
figure.diagram .dg-chip { fill: var(--bg); stroke: var(--line-2); }
figure.gshot { margin: 18px 0 22px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); overflow: hidden; }
figure.gshot img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) {
  figure.diagram { margin: 14px 0 16px; }
  figure.gshot { margin: 14px 0 16px; }
  figure.diagram::after { content: "\2190  swipe  \2192"; display: block; font-family: var(--mono); font-size: .68rem; color: var(--text-faint); text-align: center; padding: 2px 0 6px; }
}
figure.diagram .dg-xmr-slot { stroke: var(--red); }
figure.diagram .dg-bar-gold { fill: var(--gold); }

/* --- hubs + tools v3 (2026-09-29): compact hub head, thumbnail cards,
 * brand tiles, tool band, sticky tool results ---------------------------- */
.hub-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; margin-bottom: 12px; }
.hub-copy .section-head { margin-bottom: 0; }
.hub-stats { color: var(--text-dim); font-size: .82rem; margin: 10px 0 0; }
.hub-banner { width: 100%; height: 230px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); }
.hub-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 6px; }
.jump-chip { font-family: var(--mono); font-size: .76rem; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-dim); background: var(--bg-2); }
.jump-chip:hover { color: var(--cyan); border-color: var(--cyan); text-decoration: none; }
.hub-group { margin: 26px 0 0; scroll-margin-top: 76px; }
.hub-group h2.guide-group, .hub-group h2.tool-group { margin: 0 0 10px; }
.hub-group > .tool-group-sub { margin: -4px 0 12px; }

/* guide cards with thumbnails */
.guide-card { padding: 0; overflow: hidden; }
.guide-card h3 { display: block; }
.gc-img { display: block; aspect-ratio: 16 / 9; background: var(--bg-3); border-bottom: 1px solid var(--line); }
.gc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gc-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; flex: 1; }
.guide-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gc-meta { color: var(--text-faint); font-size: .74rem; margin-top: auto; }
.guide-card.feat { grid-column: span 2; flex-direction: row; }
.guide-card.feat .gc-img { width: 46%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); flex-shrink: 0; align-self: stretch; }
.guide-card.feat .gc-body { padding: 18px 20px; }
.guide-card.feat h3 { font-size: 1.12rem; }

/* brand-check tiles */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 12px; }
.brand-tile { display: flex; flex-direction: column; gap: 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; color: var(--text); }
.brand-tile:hover { border-color: var(--cyan); text-decoration: none; box-shadow: var(--glow-cyan); }
.bt-img { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--bg-3); }
.bt-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bt-name { font-weight: 700; font-size: .95rem; }
.bt-badges { display: flex; flex-wrap: wrap; }
.bt-meta { color: var(--text-faint); font-size: .72rem; }

/* tool cards v3 (index, band, related, homepage strip) */
.tool-card { gap: 10px; }
.tc-icon { width: 38px; height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tc-icon .icon { width: 20px; height: 20px; }
.tc-body { flex: 1; }
.tc-body h3 { margin: 0 0 6px; }
.tc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.tc-open { color: var(--cyan); font-size: .8rem; font-family: var(--mono); }

/* 1-2-card groups share one band instead of ragged grids */
.tool-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 26px 0 0; }
.tool-band .band-col { display: flex; flex-direction: column; }
.tool-band .band-col .tool-card { flex: 1; }
.tool-band h2.tool-group { margin: 0 0 4px; font-size: 1.05rem; }
.tool-band .tool-group-sub { margin: 0 0 12px; font-size: .82rem; }

/* tool pages: badges, wider canvas, sticky result */
.tool-page { max-width: 1040px; }
.tool-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.tool-badges .badge .icon { vertical-align: -.15em; }
.tool-form .btn-primary { width: 100%; }
.tool-related { margin: 30px 0 6px; }
.tool-related h2.tool-group { margin: 0 0 12px; }
@media (min-width: 901px) {
  .tool-panel:not(.stack) > .tool-result { position: sticky; top: 76px; align-self: start; max-height: calc(100vh - 96px); overflow: auto; }
}
@media (max-width: 900px) {
  .hub-head { grid-template-columns: 1fr; gap: 14px; }
  .hub-banner { height: 180px; }
  .guide-card.feat { grid-column: auto; flex-direction: column; }
  .guide-card.feat .gc-img { width: 100%; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); }
  .tool-band { grid-template-columns: 1fr; }
}
.badge.dim { color: var(--text-dim); border-color: var(--line-2); }

/* /best/ hub deep content (content/hubs/) */
.hub-quick { margin: 12px 0 4px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.hub-quick-h { margin: 0 0 8px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.hub-quick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hub-quick-list li { font-size: .9rem; }
.qp-want { font-weight: 600; }
.qp-arrow { color: var(--accent); margin: 0 4px; }
.qp-why { color: var(--text-dim); }
.hub-stats strong { color: var(--text); font-weight: 600; }
.hub-meme { margin: 18px 0 22px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.hub-meme img { display: block; width: 100%; height: auto; }
.hub-deep { margin-top: 26px; }
.hub-deep h2 { scroll-margin-top: 76px; }
.hub-deep .table-wrap { margin: 14px 0; }
@media (max-width: 900px) {
  .hub-meme { margin: 14px 0 18px; }
}

/* ================= tools v4 (2026-09-29): live calc, presets, share ================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* preset chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-3, rgba(255,255,255,.04)); border: 1px solid var(--line);
  color: var(--text); border-radius: 999px; padding: 5px 12px;
  font-size: .8rem; font-family: var(--font); cursor: pointer; text-decoration: none;
}
.chip:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.chip-cta { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.chip-cta:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.chip-on { background: color-mix(in srgb, var(--cyan) 14%, transparent); border-color: color-mix(in srgb, var(--cyan) 45%, transparent); color: var(--cyan); }
.chip-x { background: none; border: 0; color: inherit; font-size: .95rem; line-height: 1; cursor: pointer; padding: 0 2px; }
.chip-x:hover { color: var(--red); }
.chip-back { margin-right: 8px; }

/* tools index intent picker */
.intent-block { margin: 18px 0 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); padding: 14px 16px; }
.intent-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* result headline tones (must beat .tool-result .big's accent colour) */
.tool-result .big.r-tone-ok { color: var(--green); }
.tool-result .big.r-tone-warn { color: #ffb229; }
[data-theme="light"] .tool-result .big.r-tone-warn { color: #8a5300; }
.tool-result .big.r-tone-bad { color: var(--red); }

/* verdict variant for sticky bonuses */
.vres-warn { color: #ffb229; }
[data-theme="light"] .vres-warn { color: #8a5300; }

/* segmented kind selector (journal) */
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg-btn {
  background: var(--bg-3, rgba(255,255,255,.04)); border: 1px solid var(--line);
  color: var(--text-dim); border-radius: 999px; padding: 6px 14px;
  font-size: .85rem; font-family: var(--font); cursor: pointer;
}
.seg-btn.on { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* verifier hex paste health */
.hex-hint { display: block; margin-top: 3px; color: var(--text-dim); }
.tool-form input.hex-ok { border-color: var(--green); }
.tool-form input.hex-bad { border-color: var(--red); }

/* compare: best value highlight + filter affordances */
.cmp-table td.best { color: var(--green); font-weight: 700; }
.cmp-table td.best.mono { color: var(--green); }

/* journal limit bar (svg, CSP-safe) */
.limit-bar { display: block; margin-top: 6px; }
.limit-track { fill: color-mix(in srgb, var(--text-dim) 25%, transparent); }
.limit-fill { fill: var(--green); }
.limit-bar.over .limit-fill { fill: var(--red); }

/* payment help trail */
.pay-trail { display: flex; align-items: center; flex-wrap: wrap; margin: 0 0 12px; }
.chip-back:disabled { opacity: .45; cursor: default; }

/* casino-check keyboard highlight */
.cc-hit.cc-hl { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }

/* action rows inside tool forms */
.tool-form .range-line .btn-ghost { white-space: nowrap; }

/* --- nav rebuild 2026-10-02: /best/ + /compare/ index cards --- */
.casino-logo-img.logo-36 { height: 36px; width: auto; }
.best-grid, .cmp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.best-card, .cmp-card { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.best-card:hover, .cmp-card:hover { border-color: var(--cyan); text-decoration: none; box-shadow: var(--glow-cyan); }
.best-head { display: flex; gap: 10px; align-items: center; }
.best-head h3 { margin: 0; font-size: 1rem; }
.best-ic { flex-shrink: 0; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.best-ic .icon { width: 18px; height: 18px; }
.best-card p { margin: 0; color: var(--text-dim); font-size: .84rem; }
.best-count { color: var(--text-faint); font-size: .78rem; margin-top: auto; }
.cmp-logos { display: flex; align-items: center; gap: 8px; }
.cmp-vs { color: var(--text-faint); font-size: .72rem; text-transform: uppercase; }
.cmp-scores { color: var(--text-dim); font-size: .78rem; }
.cmp-card h3 { margin: 0; font-size: 1rem; }

@media (max-width: 700px) {
  .verdict-box { display: block; }
  .verdict-head { display: flex; flex-direction: column; }
  .verdict-rail { flex-direction: row; flex-wrap: wrap; justify-content: center; width: 100%; gap: 12px 18px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
  .verdict-score { flex-direction: row; width: auto; padding: 0; border: 0; gap: 12px; min-width: 0; }
  .verdict-score-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 150px; }
}

/* ================================================================
   ARCADE BONBON - pixel chrome layer (casinobtc, 2026-11-25)
   Playful NES/Arcade candy look on top of the engine class contract.
   ================================================================ */

/* headings carry the pixel display face; body stays Nunito for reading */
h1, h2, .hero h1, .page-head h1 { font-family: var(--display); font-weight: 700; letter-spacing: .01em; }
h1 { text-shadow: 3px 3px 0 color-mix(in srgb, var(--purple) 55%, transparent); }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.12rem; }
.kicker, .hero-kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; }

/* subtle CRT scanlines over everything (never over modals: z-index 0) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
[data-theme="light"] body::after { opacity: .5; }

/* chunky pixel buttons: hard offset shadow, press-down on click */
.btn-primary {
  border-radius: 6px;
  border: 2px solid rgba(0,0,0,.55);
  box-shadow: 0 4px 0 rgba(0,0,0,.45), inset 0 2px 0 rgba(255,255,255,.35);
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0,0,0,.45), var(--glow), inset 0 2px 0 rgba(255,255,255,.35); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.45); }
.btn-ghost { border-radius: 6px; border: 2px solid var(--line-2); box-shadow: 0 3px 0 rgba(0,0,0,.30); }
.btn-ghost:hover { transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(0,0,0,.30); }

/* pixel-edged cards */
.card, .tool-card, .guide-card, .qp-card, .cat-card {
  border-radius: 8px;
  border: 2px solid var(--line-2);
  box-shadow: 0 4px 0 rgba(0,0,0,.32);
}
.card:hover, .tool-card:hover, .guide-card:hover { transform: translateY(-2px); }
[data-theme="light"] .card, [data-theme="light"] .tool-card { box-shadow: 0 4px 0 rgba(36,26,68,.12); }

/* pixel badges / pills get squared corners + hairline inner border */
.badge, .pill, .score-pill { border-radius: 4px; }

/* decorative blink (insert-coin vibe) - reduced-motion safe */
@keyframes cblink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .25; } }
.blink { animation: cblink 1.2s steps(1) infinite; }
@media (prefers-reduced-motion: reduce) { .blink { animation: none; } }

/* pixel art renders crisp; photos/screenshots stay smooth */
.pixelated, img.pixel-art, .scene img { image-rendering: pixelated; }

/* animated canvas backdrop (arcade-bg.js) sits under everything */
#arcadeBg { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .55; }
[data-theme="light"] #arcadeBg { opacity: .35; }

/* marquee ribbon (scrolling text like an arcade attract screen) */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee > span { display: inline-block; animation: mq 26s linear infinite; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee > span { animation: none; } }

/* chunky section rules with candy ramp */
.sec-head::after, .section-head::after {
  content: "";
  display: block; height: 6px; margin-top: 8px; border-radius: 3px;
  background: linear-gradient(90deg,
    var(--pink) 0 20%, var(--accent) 20% 40%, var(--green) 40% 60%,
    var(--cyan) 60% 80%, var(--purple) 80% 100%);
  opacity: .8;
}

/* tables: pixel hairlines */
table.compare, table.md-table { border-radius: 8px; }

/* focus visibility matches the candy accent */
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

/* XMR coin badge: Monero is the privacy pick - highlighted as a pro feature */
.badge.xmr-coin {
  background: color-mix(in srgb, var(--pink) 16%, transparent);
  color: var(--pink);
  border: 1px solid color-mix(in srgb, var(--pink) 40%, transparent);
  font-weight: 700;
}
[data-theme="light"] .badge.xmr-coin { background: #fdeef5; color: #a52a63; border-color: #e8a8c4; }

/* Monero pro-feature callout on review pages */
.xmr-callout {
  margin: 10px 0 0;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--pink) 35%, transparent);
  background: color-mix(in srgb, var(--pink) 7%, transparent);
  font-size: .9rem;
}
[data-theme="light"] .xmr-callout { background: #fdeef5; border-color: #e8a8c4; }
