/* ============================================================
   TopCasino — shared design system (ported from static build, unchanged)
   ============================================================ */

:root {
  --ink: #16181d;
  --ink-soft: #4b4f58;
  --ink-faint: #8a8f9a;
  --line: #e7e8ec;
  --line-soft: #f1f2f5;
  --bg: #ffffff;
  --bg-alt: #f7f7f9;
  --primary: #5b4fe5;
  --primary-dark: #4438c9;
  --primary-soft: #eeecfd;
  --match: #e11d48;
  --match-bg: #fde3e9;
  --good: #16a34a;
  --good-bg: #e7f7ee;
  --bad: #dc2626;
  --bad-bg: #fdecec;
  --gold: #f5a524;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 30, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 20, 30, 0.08);
  --shadow-lg: 0 20px 60px rgba(20, 20, 30, 0.18);
  --maxw: 1240px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.site-nav {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  z-index: 40;
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand .logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), #8b7cf8);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
}
/* Image logo (assets/img/logo.svg) — sized by height so any replacement
   logo keeps its own proportions. */
.brand .logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: transform .15s ease;
}
.brand:hover .logo-img { transform: scale(1.03); }
.site-footer .brand .logo-img { height: 40px; }
@media (max-width: 640px) {
  .brand .logo-img { height: 36px; max-width: 170px; }
}
.nav-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.nav-search input {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 0 18px 0 42px;
  /* iOS Safari auto-zooms the whole page on focus of any text input
     with a computed font-size under 16px — this was firing on every
     search box (nav, hero, compare picker) on mobile. 16px is the
     smallest size that avoids it; kept as one shared value across all
     three inputs below so they can't drift out of sync again. */
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, background .15s;
}
.nav-search input:focus { border-color: var(--primary); background: #fff; }
.nav-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); }
.nav-search, .nav-search input { min-width: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-left: auto;
}
.nav-links a:hover { color: var(--ink); }
.nav-icons { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px;
  border-radius: 999px;
  font-weight: 700; font-size: 14px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-accent { background: var(--primary); color: #fff; }
.btn-accent:hover { background: var(--primary-dark); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-faint); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Hero (homepage) ---------- */
.hero {
  padding: 72px 0 56px;
  text-align: center;
  background:
    radial-gradient(600px 240px at 50% -60px, var(--primary-soft), transparent 70%);
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-soft); color: var(--primary-dark);
  font-weight: 700; font-size: 13px;
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 46px;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin: 0 auto;
}
.hero p.sub {
  margin: 16px auto 0;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 17px;
}
.hero-search {
  max-width: 560px;
  margin: 32px auto 0;
  display: flex;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  border-radius: 999px;
  padding: 6px;
}
.hero-search input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  padding: 0 14px; font-size: 16px; /* see .nav-search input's comment on the 16px floor */
}
.hero-stats {
  display: flex; justify-content: center; gap: 40px;
  margin-top: 40px; color: var(--ink-faint); font-size: 13px;
}
.hero-stats b { color: var(--ink); font-size: 20px; display: block; font-weight: 800; }

/* ---------- Section headers ---------- */
.section { padding: 56px 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 26px; gap: 16px;
}
.section-head h2 { font-size: 26px; letter-spacing: -0.02em; }
.section-head .see-all { font-weight: 700; font-size: 14px; color: var(--primary); }
.section-sub { color: var(--ink-soft); margin-top: 6px; font-size: 15px; }

/* ---------- Comparison / slot cards (grids) ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* Grid items default to a content-based minimum size, which lets a card's
   internal flex rows (e.g. .thumbs' two side-by-side tiles) force the whole
   card wider than its column on narrow screens — the #1 cause of the mobile
   horizontal-scroll/misalignment bug. min-width:0 lets grid items actually
   shrink to their track's width, same fix as flex children below. */
.grid > * { min-width: 0; }

/* ---------- Featured/paginated carousel (e.g. Popular Comparisons) ----------
   Desktop: prev/next arrows sit in the side columns next to the track, page
   dots sit centered underneath. Mobile (<=720px, same breakpoint the grid
   itself collapses to 1 column at): the arrows move into the same row as
   the dots at the bottom instead of floating awkwardly beside a single
   full-width card — grid-template-areas just gets reassigned, same markup. */
.carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "prev  track next"
    "..... dots  .....";
  align-items: center;
  column-gap: 20px;
  row-gap: 18px;
}
/* THE actual cause of the long-running "Top Providers/Popular Comparisons
   render in a narrow column with blank space next to them on mobile" bug.
   .carousel's own grid items (its "track" area, i.e. .carousel-track) are
   NOT covered by the ".grid > *" min-width:0 rule above, because .carousel
   itself isn't classed "grid" — it's a separate grid system (prev/track/
   next/dots via grid-template-areas), not one of the card grids that rule
   was written for. Without this, .carousel-track defaults to the browser's
   normal grid-item min-width (its own content's natural/maximum size) —
   and since the track is ITSELF a 4-up card grid full of real text, that
   natural size is wide. The 1fr "track" column in .carousel then grows to
   fit that wide content instead of shrinking to the available space,
   pushing the whole row (and therefore every card in it) wider than the
   viewport on mobile. This single missing rule is what was actually
   behind the "not in the same frame nor size as the rest of the page"
   report — confirmed by inspecting a live oversized card, which measured
   ~1066px wide inside a ~430px mobile viewport. */
.carousel > * { min-width: 0; }
.carousel-track { grid-area: track; }
.carousel-prev { grid-area: prev; }
.carousel-next { grid-area: next; }
.carousel-dots { grid-area: dots; display: flex; justify-content: center; align-items: center; gap: 8px; }

.carousel-arrow {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-alt); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.carousel-arrow:hover:not(:disabled) { background: var(--primary); color: #fff; border-color: var(--primary); }
.carousel-arrow:disabled { opacity: .3; cursor: default; }
/* No pagination needed (pool fits on one page) — hide controls, not just disable them. */
.carousel-arrow[hidden], .carousel-dots:empty { display: none; }

.carousel-dot {
  width: 8px; height: 8px; padding: 0; border: none; border-radius: 999px;
  background: var(--line); cursor: pointer;
}
.carousel-dot.active { width: 22px; background: var(--primary); }

/* Text page-indicator alternative to dots, used by Browse Slots where
   the page count (catalog size / per-page) can run into the dozens —
   individual dot buttons wouldn't fit or scale. Sits in the same
   grid-area as .carousel-dots since it reuses that container. */
.carousel-pageinfo { font-size: 13px; font-weight: 700; color: var(--ink-faint); }

/* ---------- Loading / error states ---------- */
/* Shown inside #picker-a / #picker-b until initComparePicker() replaces
   it with the real search input, so the section never looks like static,
   non-functional text while data is still loading. */
.picker-loading {
  height: 44px; display: flex; align-items: center;
  padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--line);
  color: var(--ink-faint); font-size: 14px; background: #fff;
}
.rg-error-banner {
  background: var(--bad-bg); border: 1px solid #f3b9b9; color: #8a1f1f;
  border-radius: var(--radius); padding: 12px 16px; margin-bottom: 4px;
  font-size: 13.5px; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.rg-error-banner[hidden] { display: none; }

.compare-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--line-soft);
  transition: box-shadow .15s, transform .15s;
}
.compare-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.compare-card .thumbs { display: flex; gap: 14px; margin-bottom: 18px; }
/* Was ".tile" — the actual element is ".slot-tile" (see slotTileHTML() in
   assets/js/ui.js), so this never matched and every comparison-card
   thumbnail rendered as a blank 0×0 box. */
.compare-card .thumbs .slot-tile { flex: 1; aspect-ratio: 1; border-radius: var(--radius-md); }
.compare-card .names { display: flex; gap: 14px; margin-bottom: 20px; }
.compare-card .names > div { flex: 1; min-width: 0; }
.compare-card .p-name { font-size: 12.5px; color: var(--ink-faint); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.compare-card .g-name { font-weight: 700; font-size: 15px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Slot tile art (placeholder gradient thumbnail w/ reel icon) */
.slot-tile {
  border-radius: var(--radius-md);
  position: relative;
  display: flex; align-items: flex-end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.slot-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
  z-index: 0;
}
.slot-tile img {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
}
.slot-tile .tile-icon {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  width: 26px; height: 26px; opacity: .85;
}
.slot-tile .tile-label {
  position: relative; z-index: 1; padding: 10px; font-size: 12.5px; font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

/* Slot browse card */
.slot-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .15s, transform .15s;
}
.slot-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.slot-card .slot-tile { aspect-ratio: 4/3; border-radius: 0; }
.slot-card .body { padding: 12px; }
.slot-card .p-name { font-size: 11px; color: var(--ink-faint); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot-card .g-name { font-weight: 700; font-size: 14px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot-card .chips { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }

/* View / Compare action row (replaces the old RTP/Volatility/Score/Demo
   chip row — those stats are still one click away on the slot's own
   page via "View"; "Compare" adds it straight to the picker above
   instead of requiring a second trip to find it again). */
.slot-card .card-actions { display: flex; gap: 6px; margin-top: 10px; }
.slot-card .card-actions .btn { flex: 1; padding: 0 8px; font-size: 12px; height: 32px; }

/* Browse Slots grid — denser than the standard 4-up .grid-4 (used by
   Popular Comparisons/Top Providers) so more of the catalog is visible
   per page: 2 per row on mobile, 4 on tablet, 6 on desktop. */
.slots-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 1200px) { .slots-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .slots-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Filter row above Browse Slots (provider / RTP / paylines-ways / grid-mechanic) */
.browse-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.browse-filters select {
  height: 38px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; padding: 0 14px; font-size: 13.5px; color: var(--ink-soft);
  outline: none; cursor: pointer; max-width: 100%;
}
.browse-filters select:focus { border-color: var(--primary); }

/* Compact pagination control: arrows sit immediately beside the page
   count instead of spread to the grid's edges. Used below Browse Slots
   and as the second (bottom) control on Top Providers. */
.pagination-bar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; }
.pagination-bar .carousel-arrow { width: 38px; height: 38px; font-size: 18px; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; color: var(--ink-soft);
}
.chip.gold { background: #fff7e6; border-color: #f6dfa8; color: #a3690b; }
/* A clickable chip (the hero "Demo" chip when a slot has one — see
   single-rg_slot.php) keeps .chip's own border/background (often
   overridden per-chip via an inline style, e.g. the good/green demo
   variant) and only resets the default <button> font/cursor chrome. */
.chip-btn { font: inherit; cursor: pointer; }

/* ---------- Comparison page ---------- */
.breadcrumb { padding: 22px 0 4px; font-size: 14px; color: var(--ink-faint); }
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

.compare-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  padding: 20px 0 60px;
}
.compare-main { min-width: 0; }
.toc {
  position: sticky; top: 96px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: var(--bg-alt);
}
.toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); margin-bottom: 10px; }
.toc a { display: block; padding: 7px 8px; border-radius: 8px; font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.toc a:hover { background: #fff; color: var(--primary); }
.toc .sub { padding-left: 20px; font-weight: 500; font-size: 13.5px; }

.vs-block { border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 6px; }
.vs-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.vs-top .slot-tile { aspect-ratio: 16/10; border-radius: 0; }
.vs-badge {
  display: flex; align-items: center; justify-content: center;
  width: 74px; height: 74px; margin: 0 -37px; z-index: 2;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 800; font-size: 13px; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  animation: vsPulse 2.4s ease-in-out infinite;
}
@keyframes vsPulse {
  0%, 100% { transform: scale(1); box-shadow: var(--shadow-sm); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 8px var(--primary-soft); }
}
.vs-match-row { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 0 0; }
.vs-match-note { font-size: 12px; color: var(--ink-faint); }
.vs-row {
  display: grid; grid-template-columns: 1fr 1fr;
}
.vs-col { padding: 22px 26px; border-top: 1px solid var(--line-soft); }
.vs-col + .vs-col { border-left: 1px solid var(--line-soft); }
.vs-col .p-name { font-size: 13px; color: var(--ink-faint); font-weight: 600; }
.vs-col h3 { font-size: 21px; margin-top: 4px; letter-spacing: -0.01em; }
.vs-col .desc { color: var(--ink-soft); font-size: 14px; margin-top: 10px; line-height: 1.5; }
.match-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--match-bg); color: var(--match);
  font-weight: 800; font-size: 12.5px;
  padding: 5px 12px; border-radius: 999px;
  cursor: default;
}
/* Precisely-filled star rating — see starString() in ui.js. Two stacked
   ★★★★★ rows: an empty/grey one for the base, a gold one clipped to the
   exact fill % on top via a hard-edged gradient. Works in every font
   (no reliance on a half-star glyph existing) and fills smoothly
   instead of only in 0.5-star steps. */
.star-row { position: relative; display: inline-block; letter-spacing: 2px; color: var(--line); }
.star-row::before {
  content: "★★★★★";
  position: absolute; inset: 0;
  color: var(--gold);
  background: linear-gradient(90deg, currentColor 0 var(--star-fill), transparent var(--star-fill) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  white-space: nowrap; overflow: hidden;
}
.vs-meta { padding: 16px 26px; border-top: 1px solid var(--line-soft); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink-faint); text-transform: uppercase; }
.vs-stats .vs-col { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
.stat-line { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.stat-line b { font-weight: 700; }
.stat-line .stars { color: var(--gold); }
.vs-cta .vs-col { padding-top: 18px; padding-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.brand-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px 0 8px;
  border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: transform .15s ease, border-color .15s ease;
}
.brand-btn:hover { transform: translateY(-2px); border-color: var(--primary); }
/* A soft, looping "notice me" pulse ring — invites a click on a button
   that's otherwise easy to skim past next to the RTP/feature stats. */
.pulse-attn { animation: pulseRing 2.6s ease-out infinite; }
.pulse-attn:hover { animation-play-state: paused; }
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(91, 79, 229, 0.35); }
  70% { box-shadow: 0 0 0 12px rgba(91, 79, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 79, 229, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .vs-badge, .pulse-attn { animation: none; }
}
/* Shared by every popup-trigger button (.brand-btn AND the solid
   .btn-accent buttons like nav's "Claim a Bonus"), not just .brand-btn —
   see enhanceBrandButtonIcons() in assets/js/ui.js, which adds these
   icons to any [data-open-brands] element that doesn't already render
   its own. */
.mini-logos { display: flex; }
.mini-logos span {
  width: 22px; height: 22px; border-radius: 999px; border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #fff; margin-left: -8px;
}
.mini-logos span:first-child { margin-left: 0; }

/* feature checklist rows */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
}
.feature-row .vs-col {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 14.5px; font-weight: 600;
}
.feature-row .vs-col.inactive { color: var(--ink-faint); font-weight: 500; }
.status-dot {
  width: 24px; height: 24px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.status-dot.yes { background: var(--good-bg); color: var(--good); }
.status-dot.no { background: var(--bad-bg); color: var(--bad); }

.content-block { padding: 44px 0 6px; scroll-margin-top: 96px; }
.content-block h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 14px; }
.content-block p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.content-block p + p { margin-top: 12px; }

/* ---------- Generic long-form content (Methodology, and any other plain
   WP Page) — index.php's fallback template just calls the_content(),
   which would otherwise render raw h1/h2/p/ul with zero styling. This
   gives it the same visual rhythm as the rest of the site instead of
   reading as an unstyled wall of text. ---------- */
.entry-wrap { padding: 48px 0 80px; }
.entry-wrap > h1 { font-size: 34px; letter-spacing: -0.02em; margin-bottom: 28px; max-width: 760px; }
.entry-content { max-width: 760px; }
.entry-content > p:first-of-type {
  font-size: 17px; color: var(--ink); line-height: 1.6;
  padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid var(--line-soft);
}
.entry-content h2 {
  font-size: 19px; letter-spacing: -0.01em; font-weight: 800;
  margin: 38px 0 14px; display: flex; align-items: center; gap: 10px;
}
.entry-content h2::before {
  content: ""; width: 6px; height: 20px; border-radius: 3px;
  background: var(--primary); flex-shrink: 0;
}
.entry-content p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.entry-content ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.entry-content li {
  position: relative; font-size: 14.5px; color: var(--ink-soft); line-height: 1.6;
  background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: var(--radius-md);
  padding: 13px 16px 13px 42px;
}
.entry-content li::before {
  content: "✓"; position: absolute; left: 16px; top: 14px;
  color: var(--primary); font-weight: 800; font-size: 13px;
}
.entry-content li strong { color: var(--ink); }
.entry-content a { color: var(--primary); font-weight: 600; }

.at-a-glance-table { border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.aag-row { display: grid; grid-template-columns: 180px 1fr 1fr; border-top: 1px solid var(--line-soft); }
.aag-row:first-child { border-top: none; background: var(--bg-alt); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-faint); }
.aag-row > div { padding: 12px 18px; font-size: 14px; }
.aag-row .label { font-weight: 700; color: var(--ink-soft); background: var(--bg-alt); }

.explain-list { display: flex; flex-direction: column; gap: 16px; }
.explain-item { border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 16px 18px; }
.explain-item h4 { font-size: 15px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.explain-item p { font-size: 14px; }

/* ---------- Single Slot page ---------- */
.slot-hero { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; padding: 8px 0 12px; }
.slot-hero .slot-tile { aspect-ratio: 4/3; border-radius: var(--radius-lg); }
.slot-hero-info .p-name { font-size: 13px; color: var(--ink-faint); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.slot-hero-info h1 { font-size: 30px; letter-spacing: -0.02em; margin: 4px 0 10px; }
.slot-hero-info .desc { color: var(--ink-soft); font-size: 15px; margin-bottom: 14px; }
.slot-hero-info .chips { margin-bottom: 16px; }

/* Single-column label/value spec sheet — same visual language as
   .at-a-glance-table on the comparison page, just one value column
   instead of two. */
.spec-table { border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--line-soft); }
.spec-row:first-child { border-top: none; }
.spec-row > div { padding: 12px 18px; font-size: 14px; }
.spec-row .label { font-weight: 700; color: var(--ink-soft); background: var(--bg-alt); }

/* Single-slot score box has no second column/divider — just the one
   .review-summary, centered inside .score-box as-is. */
.slot-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- TopCasino Score box ----------
   A bordered card holding both slots' scores side-by-side with a
   vertical divider between them (single column + horizontal divider
   on mobile), everything centered inside each half. */
.score-box {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  padding: 28px 26px;
}
.score-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 28px;
}
.score-divider { width: 1px; background: var(--line); align-self: stretch; }
.review-summary { display: flex; flex-direction: column; align-items: center; padding: 4px 0; text-align: center; }
.review-summary .score { text-align: center; width: 100%; display: flex; flex-direction: column; align-items: center; }
/* Only shown on the comparison page (two score cards side-by-side/stacked
   with nothing else distinguishing them) — the single Slot page's score
   section is inherently about the one slot on screen, so it doesn't need
   this repeated. Without it, a visitor scrolling a stacked mobile layout
   had no way to tell which score belonged to which slot. */
.score-slot-name { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; }
/* Shown only when a slot is missing RTP and/or max-win data — see
   reviewgeek_score_partial_note() / scorePartialNote(). Styled like the
   disclosure text above it (small, muted) rather than an alarming
   warning color, since a data gap isn't the slot's fault. */
.score-partial-note { font-size: 11.5px; color: var(--ink-faint); margin-top: 8px; max-width: 260px; }
/* Score ring: a conic-gradient "progress" circle behind the number
   instead of plain text — makes the score read at a glance instead of
   needing to parse a 0-100 number, and gives the section some visual
   energy the old plain number lacked. */
.score-ring {
  width: 104px; height: 104px; margin: 0 auto 10px; border-radius: 999px;
  background: conic-gradient(var(--primary) var(--score-deg, 0deg), var(--line-soft) 0deg);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.score-ring::before { content: ""; position: absolute; inset: 7px; background: #fff; border-radius: 999px; }
.score-ring .num { position: relative; z-index: 1; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.review-summary .score .stars { font-size: 16px; margin-top: 4px; }
.review-summary .score .count { color: var(--ink-faint); font-size: 13px; margin-top: 4px; }
.demo-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--good-bg); color: var(--good);
  font-weight: 700; font-size: 12.5px;
  padding: 6px 14px; border-radius: 999px; margin-top: 12px;
}
.demo-badge.demo-badge-off { background: var(--bg-alt); color: var(--ink-faint); font-weight: 600; }
/* A real, clickable demo trigger (when we have one) uses the same pill
   shape as the badge, just also opens the free-play modal below — a
   <button>, styled to look identical to the plain badge (border:none +
   font:inherit undo the default button chrome). */
.demo-badge-link { text-decoration: none; cursor: pointer; border: none; font: inherit; }
.demo-badge-link:hover { filter: brightness(0.97); }
/* Same badge, smaller, used up in the VS header next to each slot name. */
.vs-col .demo-badge { display: inline-flex; margin-top: 12px; font-size: 12px; padding: 5px 12px; }
.view-review-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--primary); }
.view-review-link:hover { color: var(--primary-dark); text-decoration: underline; }

/* Fallback shown in the score box when a slot has no demo link — a
   "Brands" CTA (same style as the VS header button above) so we're
   pointing visitors at something real instead of an empty demo badge. */
.score-brands-cta { margin-top: 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.score-brands-cta .score-brands-note { font-size: 12.5px; color: var(--ink-faint); margin: 0; }

/* Inline "Where to Play" brands table on the single Slot page hero —
   replaces what used to be a raw link out to SlotsLaunch's demo iframe.
   Reuses .brand-row/.brand-logo/.brand-info/.brand-cta from the
   site-wide Brands modal (assets/js/ui.js) so it's visually identical,
   just always-visible instead of behind a button. */
.brands-table-card {
  width: 100%; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  background: var(--bg-alt); padding: 6px 20px 6px;
}
.brands-table-heading { font-size: 14px; padding: 14px 0 2px; }
.brands-table-card .brand-list { padding: 4px 0 10px; }

/* ---------- "Have you played this game?" rating widget ---------- */
.rate-widget { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); width: 100%; max-width: 260px; text-align: center; }
.rate-widget .rate-prompt { font-weight: 700; font-size: 13.5px; margin: 0 0 2px; }
.rate-widget .rate-subtext { font-size: 12px; color: var(--ink-faint); margin: 0 0 10px; }
.star-input { display: inline-flex; gap: 4px; }
.star-input[data-disabled="true"] { pointer-events: none; }
.star-input .star-btn {
  background: none; border: none; padding: 2px; margin: 0;
  font-size: 26px; line-height: 1; color: var(--line);
  cursor: pointer; transition: color .12s ease, transform .12s ease;
}
.star-input .star-btn:hover,
.star-input .star-btn:focus-visible { transform: scale(1.14); }
.star-input .star-btn.hovered,
.star-input .star-btn.filled { color: var(--gold); }
.star-input .star-btn:disabled { cursor: default; }
.rate-feedback { font-size: 12px; color: var(--ink-faint); margin-top: 8px; min-height: 15px; }
.rate-feedback.success { color: var(--good); font-weight: 600; }
.rate-feedback.error { color: var(--bad); font-weight: 600; }
.review-card { border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 16px 18px; margin-top: 12px; }
.review-card .rhead { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-faint); margin-bottom: 8px; }
.review-card .rhead .stars { color: var(--gold); }
.review-card p { font-size: 14.5px; color: var(--ink); }

.alt-list { display: flex; flex-direction: column; gap: 10px; }
.alt-row { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 10px; }
.alt-row .slot-tile { width: 56px; height: 56px; border-radius: var(--radius-sm); flex-shrink: 0; }
.alt-row .info { flex: 1; min-width: 0; }
.alt-row .g-name { font-weight: 700; font-size: 14.5px; }
.alt-row .p-name { font-size: 12.5px; color: var(--ink-faint); }

/* ---------- Modal (Brands / Where to Play) ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,16,22,0.5);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: #fff; border-radius: var(--radius-lg);
  width: 100%; max-width: 460px;
  box-shadow: var(--shadow-lg);
  max-height: 86vh; overflow-y: auto;
  animation: pop .16s ease;
}
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 6px;
}
.modal-head h3 { font-size: 20px; letter-spacing: -0.01em; }
.modal-close {
  width: 32px; height: 32px; border-radius: 999px; border: none; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; color: var(--ink-soft);
}
.modal-sub { padding: 0 24px; color: var(--ink-faint); font-size: 13.5px; }
.brand-list { padding: 16px 24px 6px; display: flex; flex-direction: column; }
.brand-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.brand-row:first-child { border-top: none; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 999px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 13px;
}
.brand-info { flex: 1; min-width: 0; }
.brand-info .bname { font-weight: 700; font-size: 14.5px; }
.brand-info .bhead { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.brand-info .bsub { font-size: 11.5px; color: var(--ink-faint); margin-top: 2px; }
.brand-info .bstars { color: var(--gold); font-size: 11.5px; margin-top: 3px; }
.brand-cta {
  flex-shrink: 0; height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 13px;
  display: flex; align-items: center;
}
.modal-foot {
  padding: 16px 24px 22px; font-size: 11.5px; color: var(--ink-faint); line-height: 1.6;
  border-top: 1px solid var(--line-soft); margin-top: 8px;
}
.modal-foot .rg { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; font-size: 12.5px; }

/* ---------- Modal (Free Demo) ----------
   Wider than the Brands modal card (a game needs the room), reusing the
   same .modal-overlay/.modal-card/.modal-head/.modal-close base. The
   iframe fills a fixed-aspect-ratio box injected only while the modal is
   open (see openDemoModal()/closeDemoModal() in assets/js/ui.js) rather
   than sitting on the page — a slot demo is a heavy third-party embed
   most visitors never click through to. */
.demo-modal-card { max-width: 760px; }
.demo-frame-wrap {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #0b0b10; margin-top: 14px;
}
.demo-frame-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-frame-status {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px; color: #cfcfe0; font-size: 13.5px; font-weight: 600;
}
.demo-frame-status.demo-frame-error { color: #ffb4b4; }
.demo-modal-note { padding: 14px 24px 22px; font-size: 11.5px; color: var(--ink-faint); line-height: 1.6; }

/* ---------- Cookie consent banner + preference center ----------
   The banner is a fixed bottom bar, hidden by default and only shown
   (via .visible) when injectCookieConsent() finds no valid consent
   cookie on record. The preference center reuses the same
   .modal-overlay/.modal-card base as the Brands modal for a consistent
   look, with its own category-toggle list layered on top. */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  transform: translateY(110%); transition: transform .25s ease;
  padding: 16px;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 980px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 240px; }
.cookie-banner-text strong { display: block; font-size: 15px; margin-bottom: 4px; }
.cookie-banner-text p { color: var(--ink-soft); font-size: 13.5px; line-height: 1.55; margin: 0; }
.cookie-banner-text a { color: var(--primary); font-weight: 600; }
/* flex-wrap on this row only works if the row itself is constrained to
   the available width — flex-shrink:0 alone lets it grow past its
   parent and overflow the viewport instead of wrapping its buttons
   (a nested-flex-wrap gotcha), so it needs an explicit width once it's
   no longer sharing a row with the text (see the max-width:640px rule
   below, where .cookie-banner-inner stacks and this becomes full-width). */
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-banner-actions .btn { white-space: nowrap; }

.cookie-modal-card { max-width: 480px; }
.cookie-cat-list { padding: 14px 24px 6px; display: flex; flex-direction: column; }
.cookie-cat-row { padding: 14px 0; border-top: 1px solid var(--line-soft); }
.cookie-cat-row:first-child { border-top: none; }
.cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cookie-cat-label { font-weight: 700; font-size: 14.5px; }
.cookie-cat-desc { color: var(--ink-faint); font-size: 12.5px; line-height: 1.55; margin-top: 6px; }
.cookie-modal-foot {
  padding: 16px 24px 22px; border-top: 1px solid var(--line-soft); margin-top: 8px;
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end;
}

/* A real accessible checkbox underneath a custom pill-shaped switch —
   same visually-hidden-input-drives-a-styled-sibling pattern used
   elsewhere on the web for toggle switches, so screen readers and
   keyboard nav still see a normal checkbox. */
.cookie-toggle { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; cursor: pointer; }
.cookie-toggle input {
  position: absolute; opacity: 0; width: 44px; height: 24px; margin: 0; cursor: pointer;
}
.cookie-toggle-track {
  width: 44px; height: 24px; border-radius: 999px; background: var(--line-soft);
  display: inline-flex; align-items: center; padding: 2px; transition: background .15s ease;
}
.cookie-toggle-thumb {
  width: 20px; height: 20px; border-radius: 999px; background: #fff;
  box-shadow: var(--shadow-sm); transition: transform .15s ease;
}
.cookie-toggle input:checked ~ .cookie-toggle-track { background: var(--primary); }
.cookie-toggle input:checked ~ .cookie-toggle-track .cookie-toggle-thumb { transform: translateX(20px); }
.cookie-toggle input:focus-visible ~ .cookie-toggle-track { outline: 2px solid var(--primary); outline-offset: 2px; }
.cookie-toggle.locked { opacity: .6; }
.cookie-toggle input:disabled { cursor: default; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; padding: 48px 0 30px; }
.footer-grid > div { min-width: 0; }
.footer-grid h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); margin-bottom: 14px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { font-size: 14px; color: var(--ink-soft); }
.footer-grid a:hover { color: var(--primary); }
.footer-note { color: var(--ink-soft); font-size: 13.5px; line-height: 1.6; max-width: 340px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0 34px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 12.5px; color: var(--ink-faint);
}
.footer-bottom .rg-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-weight: 700; color: var(--ink-soft);
}
.data-banner {
  background: #fff7e6; border-bottom: 1px solid #f6dfa8; color: #8a5a00;
  font-size: 13px; text-align: center; padding: 9px 16px;
}
.data-banner b { font-weight: 800; }

/* ---------- Slot picker (search-to-compare) ---------- */
.picker-card {
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 26px; background: var(--bg-alt);
}
.picker-card h2 { font-size: 20px; letter-spacing: -0.01em; }
.picker-row { display: flex; align-items: flex-end; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.picker-field { flex: 1; min-width: 220px; }
.picker-field label {
  display: block; font-size: 12px; font-weight: 700; color: var(--ink-faint);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 7px;
}
.picker-vs { font-weight: 800; color: var(--ink-faint); padding-bottom: 12px; }
.picker-hint { font-size: 12.5px; color: var(--ink-faint); margin-top: 10px; min-height: 16px; }

.combo-wrap { position: relative; }
.combo-input {
  width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; padding: 0 14px; font-size: 16px; outline: none; /* see .nav-search input's comment on the 16px floor */
}
.combo-input:focus { border-color: var(--primary); }
.combo-list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); max-height: 280px; overflow-y: auto; z-index: 30; display: none;
}
.combo-list.open { display: block; }
.combo-item { padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.combo-item:hover { background: var(--bg-alt); }
.combo-item .ci-name { font-weight: 700; }
.combo-item .ci-meta { font-size: 12px; color: var(--ink-faint); }
.combo-empty { padding: 14px; font-size: 13px; color: var(--ink-faint); }

.inline-picker-toggle { margin: 6px 0 4px; }
.inline-picker { display: none; margin-top: 12px; }
.inline-picker.open { display: block; }

.score-breakdown { display: flex; justify-content: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.score-breakdown span { font-size: 12.5px; color: var(--ink-faint); }
.score-breakdown b { color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .compare-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  /* A bit more breathing room on the sides on phones — 24px (the same
     margin used at every width, down to desktop) read as too tight/too
     close to the screen edge on a narrow phone specifically, since
     there's so much less width on either side of it to begin with. */
  .wrap { padding: 0 28px; }
  .hero h1 { font-size: 32px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .score-grid { grid-template-columns: 1fr; gap: 20px; }
  .score-divider { width: 100%; height: 1px; }
  .score-box { padding: 22px 18px; }
  .slot-hero { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 140px 1fr; }
  .picker-row { flex-direction: column; align-items: stretch; }
  .picker-vs { display: none; }
  .carousel {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "track track track"
      "prev  dots  next";
    row-gap: 16px;
  }
  .carousel-arrow { width: 38px; height: 38px; font-size: 19px; }

  /* ---------- Comparison page: keep the same side-by-side design
     pattern on mobile as desktop, instead of stacking slot A's block
     fully above slot B's. Every comparison row here (.vs-top, .vs-row,
     .feature-row, .aag-row, and the Game Info / Alternatives .grid-2
     blocks) stays a 2-column grid at every width; only the padding,
     font sizes and gaps shrink so both columns still fit a narrow
     screen without overflowing it. Previously these collapsed to a
     single column here, which read as slot A's whole comparison
     stacked above slot B's (and, worse, dropped the row labels on the
     At a Glance table entirely — "96.51%" with nothing saying what it
     was a value of). ---------- */
  .vs-top { gap: 0; }
  .vs-badge { width: 50px; height: 50px; margin: 0 -25px; font-size: 10px; }
  .vs-col { padding: 14px 12px; }
  .vs-col .p-name { font-size: 11px; }
  .vs-col h3 { font-size: 16px; margin-top: 2px; }
  .vs-col .desc { font-size: 12px; margin-top: 6px; }
  .vs-col .demo-badge { font-size: 10.5px; padding: 4px 10px; margin-top: 8px; }
  .view-review-link { font-size: 12px; margin-top: 6px; }
  .vs-meta { padding: 10px 12px; font-size: 11px; }
  .vs-stats .vs-col { gap: 6px; padding-top: 12px; padding-bottom: 12px; }
  .stat-line { font-size: 11.5px; gap: 6px; flex-wrap: wrap; }
  .vs-cta .vs-col { padding: 12px 10px; flex-direction: column; align-items: stretch; }
  .brand-btn { font-size: 12px; padding: 0 10px; height: 36px; justify-content: center; }
  /* The little stacked bonus-logo avatars read fine next to a full-width
     button (nav's "Claim a Bonus", the single Slot page's "Where to
     Play"/Brands buttons) but just eat tap-target space in this specific
     ~170px-wide comparison-page CTA column — the button's own label
     already says what it does there. Scoped to .vs-cta only so the icons
     still show on mobile everywhere else. */
  .vs-cta .mini-logos { display: none; }

  .feature-row .vs-col { font-size: 12px; padding: 10px 12px; gap: 6px; }
  .status-dot { width: 20px; height: 20px; font-size: 12px; }

  /* At a Glance: shrink the label column instead of hiding it — losing
     the label meant a bare "96.51%" or "Unknown" with nothing to say
     what it was measuring. */
  .aag-row { grid-template-columns: 76px 1fr 1fr; }
  .aag-row > div { padding: 8px 8px; font-size: 11.5px; }
  .aag-row .label { font-size: 10.5px; }
  .aag-row:first-child > div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .alt-row { gap: 8px; padding: 8px; }
  .alt-row .slot-tile { width: 40px; height: 40px; }
  .alt-row .g-name { font-size: 12.5px; }
  .alt-row .p-name { font-size: 11px; }
}
@media (max-width: 640px) {
  /* The nav's "Claim a Bonus" button never shrinks (white-space:nowrap),
     so on a single row it was pushing the whole page — search bar included
     — wider than the screen, which is what threw off alignment everywhere
     below it too (including the footer). Wrapping to two rows (brand +
     button on row 1, full-width search on row 2) keeps every element on
     screen instead of shrinking the button's tap target to fit. */
  .site-nav .wrap {
    flex-wrap: wrap;
    height: auto;
    /* .wrap's own side padding was being clobbered by this rule (it
       only set top/bottom), leaving the logo and "Claim a Bonus"
       button flush against the screen edges on mobile. Keep the side
       padding explicit here so it survives, matching the same 28px
       .wrap now uses on phones (see the max-width:720px block above). */
    padding: 14px 28px;
    row-gap: 12px;
  }
  .brand { order: 1; }
  .nav-icons { order: 2; margin-left: auto; }
  .nav-search { order: 3; flex-basis: 100%; max-width: 100%; }

  /* Cookie banner: stack the text above the buttons instead of trying
     to share a row, and let the button row take the full width so its
     own flex-wrap can actually kick in (three buttons don't fit one
     row at this width no matter what). */
  .cookie-banner-inner { flex-direction: column; align-items: stretch; padding: 18px 20px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .nav-icons .btn { padding: 0 14px; font-size: 12.5px; }
  .hero-search { flex-wrap: wrap; border-radius: 20px; }
  .hero-search input { flex-basis: 100%; padding: 8px 14px; }
  .hero-search button { flex: 1; }
}
