/* Pitboss — public site. Themes are switched with <html data-theme="...">, set in Admin → Settings → Appearance. */

/* ============================================================ Themes */
:root, [data-theme="midnight"] {
  --bg: #121626; --bg-2: #181d31; --bg-3: #20263f; --bg-4: #2a3150; --line: #2c3352;
  --text: #e8eaf4; --text-2: #c9cde0; --muted: #9aa1bf; --faint: #6f7695;
  --gold: #e8b04b; --gold-ink: #1d1505; --felt: #2fa877; --danger: #e4606a; --warn: #f0a24a;
  --header-bg: rgba(18, 22, 38, .88); --footer-bg: #0f1320; --shade: rgba(0, 0, 0, .18); --glow: rgba(232, 176, 75, .07);
  color-scheme: dark;
}
[data-theme="emerald"] {
  --bg: #0d1d18; --bg-2: #122720; --bg-3: #183329; --bg-4: #214235; --line: #244538;
  --text: #eaf2ec; --text-2: #c7d9ce; --muted: #9db5a8; --faint: #6d8a7b;
  --gold: #e9c46a; --gold-ink: #1c1604; --felt: #4cc38a; --danger: #ef6b6b;
  --header-bg: rgba(13, 29, 24, .9); --footer-bg: #0a1713; --glow: rgba(233, 196, 106, .08);
}
[data-theme="crimson"] {
  --bg: #1a0e13; --bg-2: #231219; --bg-3: #2e1821; --bg-4: #3b202b; --line: #43252f;
  --text: #f4e9ec; --text-2: #dcc8ce; --muted: #bba0a8; --faint: #8a6e77;
  --gold: #e6b450; --gold-ink: #1f1404; --felt: #3fb27f; --danger: #ff6b6b;
  --header-bg: rgba(26, 14, 19, .9); --footer-bg: #140a0e; --glow: rgba(200, 40, 70, .14);
}
[data-theme="neon"] {
  --bg: #110d22; --bg-2: #19132f; --bg-3: #221a3e; --bg-4: #2d2350; --line: #342a5a;
  --text: #efeaff; --text-2: #d2cbef; --muted: #a79fc9; --faint: #766d9c;
  --gold: #3ee0d0; --gold-ink: #03211e; --felt: #7ee787; --danger: #ff5c93;
  --header-bg: rgba(17, 13, 34, .88); --footer-bg: #0c091a; --glow: rgba(190, 80, 255, .12);
}
[data-theme="carbon"] {
  --bg: #121212; --bg-2: #1a1a1a; --bg-3: #232323; --bg-4: #2f2f2f; --line: #303030;
  --text: #f0f0f0; --text-2: #cfcfcf; --muted: #a3a3a3; --faint: #737373;
  --gold: #ff8a3d; --gold-ink: #2a1204; --felt: #3fbf7f; --danger: #ff5f5f;
  --header-bg: rgba(18, 18, 18, .9); --footer-bg: #0c0c0c; --glow: rgba(255, 138, 61, .07);
}
[data-theme="daylight"] {
  --bg: #f4f5f9; --bg-2: #ffffff; --bg-3: #eef0f6; --bg-4: #dfe3ee; --line: #dde1eb;
  --text: #151a2d; --text-2: #343b55; --muted: #5b6380; --faint: #8a91aa;
  --gold: #1f4fd1; --gold-ink: #ffffff; --felt: #16875a; --danger: #c8323f; --warn: #b8660b;
  --header-bg: rgba(255, 255, 255, .92); --footer-bg: #151a2d; --shade: rgba(20, 30, 70, .04); --glow: rgba(31, 79, 209, .06);
  color-scheme: light;
}
:root {
  --gold-hi: color-mix(in srgb, var(--gold) 80%, white);
  --radius-lg: 18px; --radius: 12px; --radius-sm: 8px;
}
[data-theme="daylight"] { --gold-hi: color-mix(in srgb, var(--gold) 85%, black); }

/* ============================================================ Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased;
  background: radial-gradient(1200px 500px at 85% -10%, var(--glow), transparent 60%), var(--bg);
}
body.has-sticky-ad, body.has-sticky-cta, body.has-compare { padding-bottom: 84px; }
body.has-compare .cookie-note { bottom: 84px; }
body.has-compare .ad-sticky, body.has-compare .sticky-cta { display: none; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr, .pbchat-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); padding: 40px 0 72px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.block { display: block; }
.gold { color: var(--gold-hi); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.notice { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius); background: color-mix(in srgb, var(--warn) 14%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); color: var(--text); }

/* ============================================================ Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--header-bg); backdrop-filter: blur(10px); position: relative; z-index: 30; }
.sticky-header .site-header { position: sticky; top: 0; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 68px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 800 1.35rem/1 var(--display); letter-spacing: -.01em; flex: none; }
.brand:hover { color: var(--text); }
.brand-chip { width: 34px; height: 34px; color: var(--gold); }
.brand-logo { height: 38px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu-link, .submenu a { color: var(--muted); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
button.menu-link { background: none; border: 0; font-family: inherit; cursor: pointer; }
.menu-link:hover, .menu-link[aria-current="page"], .menu > li.is-current > .menu-link, .has-sub:hover > .menu-link { color: var(--text); background: var(--bg-3); }
.chev { width: 12px; height: 12px; flex: none; transition: transform .15s; }
.sub-toggle { background: none; border: 0; color: var(--muted); padding: 6px 4px; margin-left: -8px; cursor: pointer; display: inline-flex; border-radius: 6px; }
.sub-toggle:hover { color: var(--text); }
.submenu { list-style: none; margin: 0; padding: 6px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); display: none; z-index: 40; }
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.submenu a { display: flex; width: 100%; font-size: .92rem; }
.submenu a:hover, .submenu a[aria-current="page"] { color: var(--text); background: var(--bg-3); }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.is-open > .submenu { display: block; }
.has-sub.is-open .chev, .has-sub:hover .chev { transform: rotate(180deg); }
.header-cta { flex: none; }
.header-search { margin-left: auto; }
.header-search input { width: 240px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); padding: 9px 14px; border-radius: 999px; font: inherit; font-size: .9rem; }
.header-search input:focus { outline: none; border-color: var(--gold); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }

/* ============================================================ Hero, toolbar, chips, tabs */
.hero { padding: 56px 0 28px; }
.hero.compact { padding: 44px 0 24px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; max-width: 18ch; }
.hero.compact h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 64ch; margin: 16px 0 26px; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.field { display: flex; align-items: center; gap: 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 14px; }
.field:focus-within { border-color: var(--gold); }
.search-field { flex: 1 1 300px; }
.search-field svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.field input, .field select { background: none; border: 0; color: var(--text); font: inherit; padding: 13px 0; width: 100%; min-width: 0; }
.field input:focus, .field select:focus { outline: none; }
.field select { cursor: pointer; }
.field option { background: var(--bg-2); color: var(--text); }
.sort-field label { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.check-pill { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); font-weight: 600; font-size: .9rem; cursor: pointer; }
.check-pill input { accent-color: var(--gold); width: 16px; height: 16px; }
.check-pill:has(input:checked) { border-color: var(--gold); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: .9rem; }
.chip span { color: var(--muted); font-weight: 500; font-size: .8rem; }
.chip:hover { border-color: var(--muted); color: var(--text); }
.chip.is-on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.chip.is-on span { color: inherit; opacity: .7; }
.tabs { display: flex; gap: 4px; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.tab { padding: 10px 16px; color: var(--muted); font-weight: 700; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab span { font-weight: 500; font-size: .85rem; margin-left: 4px; }
.tab:hover { color: var(--text); }
.tab.is-on { color: var(--text); border-bottom-color: var(--gold); }

/* ============================================================ Buttons */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; font: 700 .95rem/1 var(--body); padding: 14px 20px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; text-align: center; transition: background .15s, transform .15s; }
.btn-gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 6px 20px -8px color-mix(in srgb, var(--gold) 70%, transparent); }
.btn-gold:hover { background: var(--gold-hi); color: var(--gold-ink); transform: translateY(-1px); }
.btn-ghost { background: var(--bg-3); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-4); color: var(--text); }
.btn.block { display: flex; width: 100%; }
.btn.is-disabled { opacity: .5; pointer-events: none; }
.text-link { font-weight: 600; font-size: .9rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.text-link:hover { color: var(--text); }
.warn-badge { display: inline-block; text-align: center; font-weight: 700; font-size: .85rem; color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent); padding: 10px 12px; border-radius: var(--radius); }

/* ============================================================ Layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding-bottom: 64px; align-items: start; }
.listing { transition: opacity .15s; min-width: 0; }
.listing.wide { padding-bottom: 64px; }
.listing.is-loading { opacity: .45; pointer-events: none; }
.result-count { color: var(--muted); font-size: .92rem; margin: 0 0 14px; }
.result-count a { margin-left: 8px; font-weight: 600; }
.empty { background: var(--bg-2); border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 48px 28px; text-align: center; }
.empty h1, .empty h2 { font-size: 1.4rem; margin-bottom: 8px; }
.empty p { color: var(--muted); margin: 0; }
.page-empty { margin: 60px 0; }

/* ============================================================ Casino rows */
.casino-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.casino-row {
  display: grid; grid-template-columns: 44px 76px minmax(0, 1fr) 230px 170px;
  grid-template-areas: "rank logo info bonus actions" "more more more more more" "foot foot foot foot foot";
  gap: 16px 20px; align-items: center; position: relative;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 0 14px;
}
.casino-row.is-top, .casino-row.is-featured { border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.casino-row.is-top { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 7%, transparent), transparent 40%), var(--bg-2); }
.casino-row.is-bad { opacity: .82; }
.casino-row.is-bad .logo-tile { filter: grayscale(.8); }
.rank { grid-area: rank; font: 800 2.4rem/1 var(--display); color: var(--bg-4); text-align: center; letter-spacing: -.04em; }
.casino-row:nth-child(-n+3):not(.is-bad) .rank { color: var(--gold); }
.ribbon { position: absolute; top: -1px; right: 24px; background: var(--gold); color: var(--gold-ink); font: 700 .72rem/1 var(--body); letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px 7px; border-radius: 0 0 8px 8px; }
.ribbon.inline { position: static; display: inline-block; border-radius: 6px; margin-left: 10px; vertical-align: middle; }
.row-logo { grid-area: logo; }
.logo-tile {
  display: grid; place-items: center; aspect-ratio: 1; width: 76px; border-radius: 16px; overflow: hidden; flex: none;
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand, #3b4a8c) 88%, white), color-mix(in srgb, var(--brand, #3b4a8c) 75%, black));
  color: #fff; font: 800 1.5rem/1 var(--display); letter-spacing: -.02em; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.logo-tile.has-img { background: #fff; padding: 8px; }
.logo-tile.has-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-tile.small { width: 52px; border-radius: 12px; font-size: 1.1rem; }
.logo-tile.small.has-img { padding: 5px; }
.logo-tile.tiny { width: 34px; border-radius: 9px; font-size: .8rem; }
.logo-tile.tiny.has-img { padding: 3px; }
.logo-tile.large { width: 112px; border-radius: 24px; font-size: 2.2rem; }
.info { grid-area: info; min-width: 0; }
.info h3 { font-size: 1.3rem; font-weight: 700; }
.info h3 a { color: var(--text); }
.info h3 a:hover { color: var(--gold); }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 6px; }
.rating b { font-weight: 700; font-size: .92rem; }
.user-score { font-size: .8rem; color: var(--muted); border-left: 1px solid var(--line); padding-left: 8px; }
.stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px; }
.stars::before { content: "★★★★★"; color: var(--bg-4); }
.stars > span { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; }
.stars > span::before { content: "★★★★★"; color: var(--gold); }
.features { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 5px; font-size: .9rem; color: var(--text-2); }
.features li { position: relative; padding-left: 22px; }
.features li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 11px; height: 6px; border-left: 2px solid var(--felt); border-bottom: 2px solid var(--felt); transform: rotate(-45deg); }
.features.big { font-size: 1rem; gap: 10px; margin-bottom: 8px; }
.bonus { grid-area: bonus; border-left: 1px dashed var(--line); padding-left: 20px; }
.bonus-label { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; margin-bottom: 4px; }
.bonus strong { display: block; font: 700 1.12rem/1.25 var(--display); color: var(--gold-hi); }
.bonus small { display: block; color: var(--muted); font-size: .76rem; margin-top: 6px; line-height: 1.4; }
.actions { grid-area: actions; display: grid; gap: 10px; justify-items: center; }
.actions .btn, .actions .warn-badge { width: 100%; }
.compare-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); cursor: pointer; }
.compare-toggle input { accent-color: var(--gold); }
.row-more { grid-area: more; border-top: 1px solid var(--line); margin: 0 -22px 0 -14px; }
.row-more summary { cursor: pointer; list-style: none; padding: 10px 30px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.row-more summary::-webkit-details-marker { display: none; }
.row-more summary::after { content: " ▾"; }
.row-more[open] summary::after { content: " ▴"; }
.row-more summary:hover { color: var(--text); }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 4px 30px 18px; }
.more-grid h4 { font-size: .9rem; margin-bottom: 8px; }
.mini-facts { margin: 0; display: grid; gap: 6px; font-size: .85rem; }
.mini-facts dt { color: var(--muted); display: inline; }
.mini-facts dt::after { content: ": "; }
.mini-facts dd { display: inline; margin: 0; font-weight: 600; }
.row-foot {
  grid-area: foot; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  margin: -16px -22px 0 -14px; padding: 12px 22px 12px 30px; border-top: 1px solid var(--line);
  background: var(--shade); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; font-size: .85rem; }
.facts div { display: flex; gap: 6px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.payments { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.payments li { font-size: .75rem; font-weight: 600; color: var(--text-2); background: var(--bg-3); border: 1px solid var(--line); padding: 3px 9px; border-radius: 6px; }
.ad-row { list-style: none; }
.load-more { display: flex; margin: 18px auto 0; min-width: 220px; }

/* Grid layout option */
.casino-list.layout-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.layout-grid .casino-row { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto auto auto; grid-template-areas: "logo" "info" "bonus" "actions" "more" "foot"; align-items: start; padding: 24px 20px 0; text-align: center; gap: 14px; }
.layout-grid .bonus { align-self: stretch; display: grid; align-content: center; }
.layout-grid .rank { position: absolute; top: 14px; left: 16px; font-size: 1.4rem; }
.layout-grid .row-logo { justify-self: center; }
.layout-grid .rating, .layout-grid .payments, .layout-grid .facts { justify-content: center; }
.layout-grid .features { justify-items: center; }
.layout-grid .bonus { border-left: 0; padding: 14px; background: var(--shade); border-radius: var(--radius); }
.layout-grid .row-more, .layout-grid .row-foot { margin-left: -20px; margin-right: -20px; }
.layout-grid .row-foot { flex-direction: column; justify-content: center; padding: 12px 16px; margin-top: -14px; }
.layout-grid .more-grid { grid-template-columns: 1fr; text-align: left; padding: 4px 20px 16px; }
.layout-grid .ad-row { grid-column: 1 / -1; }

/* ============================================================ Sidebar */
.sidebar { display: grid; gap: 16px; position: sticky; top: 88px; min-width: 0; }
.side-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.side-card h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.side-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.filter-card label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin: 12px 0 6px; }
.filter-card label:first-of-type { margin-top: 0; }
.filter-card select { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: inherit; }
.filter-card .btn { margin-top: 14px; }
.featured { background: radial-gradient(260px 160px at 100% 0, color-mix(in srgb, var(--brand) 35%, transparent), transparent 70%), var(--bg-2); }
.featured-head { display: flex; gap: 14px; align-items: center; }
.featured-name { color: var(--text); font: 700 1.15rem/1.2 var(--display); }
.featured-bonus { color: var(--gold-hi) !important; font: 700 1.05rem/1.35 var(--display) !important; margin: 16px 0 !important; }
.mini-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.mini-list:last-child { margin-bottom: 0; }
.mini-list li { display: flex; align-items: center; gap: 12px; }
.mini-list a { color: var(--text); font-weight: 600; flex: 1; }
.mini-list a:hover { color: var(--gold); }
.mini-list b { color: var(--gold); font-size: .9rem; }

/* ============================================================ Home sections */
.home-section { padding: 8px 0 56px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.015em; }
.section-head a { font-weight: 600; font-size: .95rem; white-space: nowrap; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 1.02rem; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--text-2); max-width: 75ch; }
.faq .faq-a { padding: 0 20px 18px; color: var(--text-2); max-width: 75ch; }
.faq .faq-a > :first-child { margin-top: 0; }
.faq .faq-a > :last-child { margin-bottom: 0; }
.faq .faq-a p { padding: 0; }
.faq-wrap { margin-top: 40px; }

/* ============================================================ Coupons */
.coupon-list { display: grid; gap: 14px; }
.coupon {
  display: grid; grid-template-columns: 110px minmax(0, 1fr) 236px; gap: 0; position: relative;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.coupon.is-exclusive { border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.coupon.is-expired { opacity: .6; }
.coupon-side { display: grid; justify-items: center; align-content: center; gap: 10px; padding: 20px 10px; background: var(--shade); border-right: 2px dashed var(--line); position: relative; }
.coupon-side::before, .coupon-side::after { content: ""; position: absolute; right: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.coupon-side::before { top: -11px; }
.coupon-side::after { bottom: -11px; }
.coupon-type { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-align: center; }
.coupon-main { padding: 18px 22px; min-width: 0; }
.coupon-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.badge { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--bg-3); color: var(--muted); border: 1px solid var(--line); }
.badge.gold { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.badge.ok { color: var(--felt); border-color: color-mix(in srgb, var(--felt) 45%, transparent); background: color-mix(in srgb, var(--felt) 10%, transparent); }
.badge.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
.coupon h3 { font-size: 1.25rem; font-weight: 700; color: var(--gold-hi); }
.coupon-sub { margin: 4px 0 0; color: var(--text-2); font-size: .92rem; }
.coupon-sub a { color: var(--text); font-weight: 600; }
.coupon-facts { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; font-size: .82rem; }
.coupon-facts div { display: flex; gap: 5px; }
.coupon-facts dt { color: var(--muted); }
.coupon-facts dd { margin: 0; font-weight: 600; }
.coupon-terms { margin-top: 8px; font-size: .82rem; }
.coupon-terms summary { cursor: pointer; color: var(--muted); font-weight: 600; width: max-content; }
.coupon-terms div { color: var(--muted); margin-top: 6px; }
.coupon-terms p { margin: 0 0 6px; }
.coupon-action { display: grid; align-content: center; gap: 10px; padding: 18px; justify-items: stretch; text-align: center; }
.code-reveal {
  position: relative; display: flex; align-items: center; justify-content: flex-end; height: 50px; padding: 0; overflow: hidden;
  border: 2px dashed var(--gold); border-radius: var(--radius); background: var(--bg); cursor: pointer; font: inherit;
}
.code-peek { font: 700 1rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; color: var(--text); padding: 0 12px; }
.code-reveal .code-label {
  position: absolute; inset: -2px 42px -2px -2px; display: grid; place-items: center; background: var(--gold); color: var(--gold-ink);
  font-weight: 700; font-size: .95rem; border-radius: var(--radius) 0 0 var(--radius);
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); transition: inset .2s;
}
.code-reveal:hover .code-label { inset-inline-end: 50px; }
.code-reveal.is-revealed { justify-content: space-between; gap: 8px; padding: 0 6px 0 12px; border-style: solid; }
.code-reveal.is-revealed .code-text { font: 700 1rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; user-select: all; }
.code-reveal.is-revealed .code-label { position: static; flex: none; clip-path: none; font-size: .75rem; padding: 7px 9px; border-radius: 8px; }
.vote { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; font-size: .78rem; color: var(--muted); }
.vote button { background: var(--bg-3); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; font: 600 .78rem/1.2 var(--body); cursor: pointer; }
.vote button:hover { border-color: var(--gold); }
.coupon-list.compact .coupon { grid-template-columns: 90px minmax(0, 1fr) 220px; }

/* ============================================================ Games + posts */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.game-grid.small { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.game-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .15s, border-color .15s; }
.game-card:hover { transform: translateY(-2px); border-color: var(--muted); }
.game-thumb { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.is-placeholder { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, hsl(var(--h) 70% 55%), hsl(calc(var(--h) + 40) 60% 22%)); }
.is-placeholder b { font: 800 2.4rem/1 var(--display); color: rgba(255, 255, 255, .92); text-shadow: 0 4px 18px rgba(0, 0, 0, .35); }
.game-body { padding: 14px 16px 16px; }
.game-type, .post-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }
.game-body h3 { font-size: 1.05rem; margin: 4px 0 2px; }
.game-body h3 a { color: var(--text); }
.game-body p { margin: 0; font-size: .85rem; }
.rtp { margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--line); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.post-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.post-card.is-big { grid-column: 1 / -1; flex-direction: row; }
.post-card.is-big .post-img { flex: 1.2; }
.post-card.is-big .post-body { flex: 1; padding: 32px; align-self: center; }
.post-card.is-big h3 { font-size: 1.7rem; }
.post-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, hsl(var(--h) 45% 32%), hsl(calc(var(--h) + 50) 50% 16%)); }
.post-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-body h3 { font-size: 1.15rem; line-height: 1.25; }
.post-body h3 a { color: var(--text); }
.post-body h3 a:hover { color: var(--gold); }
.post-body p { margin: 0; color: var(--muted); font-size: .92rem; }
.post-body time { margin-top: auto; padding-top: 6px; color: var(--faint); font-size: .82rem; }

/* ============================================================ Review page */
.crumbs { padding: 26px 0 0; font-size: .9rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.review-hero {
  display: grid; grid-template-columns: auto minmax(0, 1fr) 300px; gap: 28px; align-items: center; position: relative; overflow: hidden;
  margin: 20px 0 28px; padding: 32px; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(500px 260px at 0 0, color-mix(in srgb, var(--brand) 30%, transparent), transparent 70%), var(--bg-2);
}
.hero-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .12; pointer-events: none; }
.review-hero > *:not(.hero-cover) { position: relative; }
.rank-note { margin: 0 0 6px; color: var(--gold); font-weight: 700; font-size: .92rem; }
.review-title h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; }
.review-lede { color: var(--text-2); margin: 12px 0 0; max-width: 60ch; }
.rating.big .stars { font-size: 20px; }
.rating.big b { font-size: 1.2rem; }
.rating.big span { color: var(--muted); }
.tag-row { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-row a { display: inline-block; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-3); color: var(--text); border: 1px solid var(--line); }
.tag-row a:hover { border-color: var(--gold); }
.review-offer { background: var(--shade); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; backdrop-filter: blur(6px); }
.review-offer strong { display: block; font: 700 1.25rem/1.25 var(--display); color: var(--gold-hi); }
.review-offer small { display: block; color: var(--muted); font-size: .8rem; margin: 6px 0 16px; }
.warn-box, .err-box, .ok-box { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius); font-size: .92rem; }
.warn-box, .err-box { color: var(--text); background: color-mix(in srgb, var(--danger) 12%, transparent); border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent); }
.ok-box { color: var(--text); background: color-mix(in srgb, var(--felt) 12%, transparent); border: 1px solid color-mix(in srgb, var(--felt) 40%, transparent); }
.review-body { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 36px; min-width: 0; }
.review-body > h2 { font-size: 1.35rem; font-weight: 700; margin: 34px 0 14px; }
.review-body > h2:first-child { margin-top: 0; }
.review-body p, .prose li { color: var(--text-2); font-size: 1.04rem; }
.review-body p { margin: 0 0 14px; max-width: 70ch; }
.prose h2 { font-size: 1.35rem; margin: 30px 0 12px; }
.prose h3 { font-size: 1.12rem; margin: 24px 0 10px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose img { border-radius: var(--radius); height: auto; }
.prose blockquote { margin: 0 0 16px; padding: 12px 18px; border-left: 3px solid var(--gold); background: var(--shade); border-radius: 0 var(--radius) var(--radius) 0; }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 16px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose iframe { max-width: 100%; border-radius: var(--radius); }
.score-bars { display: grid; gap: 10px; max-width: 560px; }
.score-row { display: grid; grid-template-columns: 90px 1fr 40px; align-items: center; gap: 12px; font-size: .92rem; }
.score-row span { color: var(--muted); }
.score-row b { text-align: right; }
.bar { height: 8px; background: var(--bg-4); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 70%, var(--bg)), var(--gold)); border-radius: inherit; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.pros-cons > div { background: var(--shade); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.pros-cons h3 { font-size: 1rem; margin-bottom: 10px; }
.pros, .cons { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .93rem; color: var(--text-2); }
.pros li, .cons li { position: relative; padding-left: 24px; }
.pros li::before, .cons li::before { position: absolute; left: 0; top: 0; font-weight: 800; width: 16px; text-align: center; }
.pros li::before { content: "+"; color: var(--felt); }
.cons li::before { content: "−"; color: var(--danger); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.fact-table { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact-table div { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--line); }
.fact-table div:first-child { border-top: 0; }
.fact-table dt, .fact-table dd { margin: 0; padding: 12px 16px; }
.fact-table dt { color: var(--muted); background: var(--shade); font-size: .92rem; }
.fact-table dd { font-weight: 600; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.share span { color: var(--muted); font-size: .9rem; font-weight: 600; margin-right: 4px; }
.share a, .share button { font: 600 .85rem/1 var(--body); color: var(--text); background: var(--bg-3); border: 1px solid var(--line); padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--gold); color: var(--text); }

/* User reviews */
.user-reviews { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.user-reviews > h2 { font-size: 1.35rem; margin-bottom: 16px; }
.ur-summary { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; background: var(--shade); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.ur-avg { display: grid; justify-items: center; gap: 4px; text-align: center; }
.ur-avg b { font: 800 2.6rem/1 var(--display); }
.ur-avg span { color: var(--muted); font-size: .85rem; }
.ur-dist { display: grid; gap: 6px; }
.ur-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.ur-list > li { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.ur-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.ur-head > div { flex: 1; }
.ur-head strong { display: block; }
.ur-head time { color: var(--faint); font-size: .8rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-4); display: grid; place-items: center; font: 700 .85rem/1 var(--display); flex: none; }
.ur-list h3 { font-size: 1.02rem; margin: 4px 0 6px; }
.ur-list p { margin: 0; font-size: .96rem; }
.ur-reply { margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--gold); background: var(--shade); border-radius: 0 8px 8px 0; }
.ur-reply strong { font-size: .85rem; }
.ur-reply p { font-size: .9rem; margin-top: 4px; }
.review-form { display: grid; gap: 14px; background: var(--shade); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review-form h3 { font-size: 1.15rem; }
.review-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.review-form input, .review-form textarea { background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 11px 12px; font: inherit; font-weight: 400; }
.review-form input:focus, .review-form textarea:focus { outline: none; border-color: var(--gold); }
.review-form .btn { justify-self: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-err { color: var(--danger); font-size: .82rem; font-weight: 500; }
.star-input { border: 0; padding: 0; margin: 0; min-width: 0; }
.star-input legend { font-weight: 600; font-size: .9rem; margin-bottom: 4px; padding: 0; }
.star-row { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 30px; line-height: 1; color: var(--bg-4); cursor: pointer; transition: color .1s; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 2px solid var(--gold); border-radius: 4px; }

/* Game page */
.game-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; margin: 20px 0 32px; align-items: start; }
.game-media { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.demo-poster { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.demo-frame { position: relative; }
.demo-frame .btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 16px 26px; font-size: 1.05rem; }
.demo-frame.is-playing { aspect-ratio: 16 / 10; }
.demo-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.game-info h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; margin: 6px 0 4px; }
.game-info > p { margin: 0 0 10px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 20px 0; }
.spec-grid div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.spec-grid dt { color: var(--muted); font-size: .78rem; }
.spec-grid dd { margin: 2px 0 0; font-weight: 700; font-size: 1.05rem; }
.play-real { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--bg-2); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); border-radius: var(--radius-lg); }
.play-real > div { flex: 1; display: grid; }
.play-real small { color: var(--muted); font-size: .8rem; }

/* Articles */
.article-head { margin-bottom: 24px; }
.article-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; margin: 6px 0 8px; }
.article > h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 20px; }
.article-img { width: 100%; border-radius: var(--radius-lg); margin-bottom: 24px; display: block; }

/* Compare */
.compare-wrap { overflow-x: auto; padding-bottom: 64px; }
.compare-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare-table th, .compare-table td { padding: 14px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .92rem; }
.compare-table thead th { border-top: 0; vertical-align: middle; }
.compare-table thead th a { display: block; margin-top: 8px; color: var(--text); font: 700 1.05rem/1.2 var(--display); }
.compare-table tbody th { color: var(--muted); font-weight: 600; width: 170px; background: var(--shade); }
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--bg-3); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .5); }
.compare-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.compare-inner span { flex: 1; font-weight: 600; font-size: .92rem; }

/* ============================================================ Ads */
.ad { position: relative; margin: 20px auto; }
.ad-label { position: absolute; top: 6px; right: 8px; z-index: 2; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); background: var(--bg); padding: 2px 6px; border-radius: 4px; }
.ad img { display: block; margin: 0 auto; border-radius: var(--radius); height: auto; }
.sidebar .ad, .listing .ad, .ad-row .ad { margin: 0; }
.ad-promo { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-lg); border: 1px solid color-mix(in srgb, var(--brand) 55%, var(--line));
  background: linear-gradient(110deg, color-mix(in srgb, var(--brand) 24%, var(--bg-2)), var(--bg-2) 70%); }
.ad-promo-text { flex: 1; display: grid; min-width: 0; }
.ad-promo-text strong { font: 700 1.05rem/1.2 var(--display); }
.ad-promo-text span { color: var(--gold-hi); font-weight: 600; font-size: .92rem; }
.sidebar .ad-promo { flex-direction: column; text-align: center; padding-top: 26px; }
.sidebar .ad-promo .btn { width: 100%; }
.ad-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--bg-2); border-top: 1px solid var(--line); padding: 8px 56px 8px 12px; box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .6); }
.ad-sticky .ad-promo { border: 0; background: none; padding: 4px; max-width: 1100px; margin: 0 auto; }
.ad-sticky .ad-label { top: 50%; left: 12px; right: auto; transform: translateY(-50%); }
.ad-close { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-3); color: var(--text); font-size: 1.2rem; line-height: 1; cursor: pointer; z-index: 3; }
.ad-sticky .ad-close { top: 50%; transform: translateY(-50%); }
.ad-popup { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .6); display: grid; place-items: center; padding: 20px; animation: fade .2s; }
.ad-popup-box { position: relative; width: min(460px, 100%); background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 36px 22px 22px; }
.ad-popup .ad-promo { flex-direction: column; text-align: center; }
.ad-popup .ad-promo .btn { width: 100%; }
.ad-popup .ad-label { top: 12px; left: 14px; right: auto; }
@keyframes fade { from { opacity: 0; } }

/* ============================================================ Sticky CTA, overlays */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; background: var(--bg-3); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .5); animation: slideup .2s; }
.sticky-inner { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.sticky-text { flex: 1; display: grid; min-width: 0; }
.sticky-text span { color: var(--gold-hi); font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes slideup { from { transform: translateY(100%); } }
.age-gate { position: fixed; inset: 0; z-index: 200; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; }
.age-box { width: min(440px, 100%); background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; padding: 34px 28px; text-align: center; }
.age-box h2 { font-size: 1.6rem; margin: 16px 0 10px; }
.age-box p { color: var(--muted); margin: 0 0 22px; }
.age-actions { display: grid; gap: 10px; }
.age-badge { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--danger); color: var(--danger); font: 800 .9rem/1 var(--display); }
.age-badge.big { width: 68px; height: 68px; font-size: 1.3rem; margin: 0 auto; }
.cookie-note { position: fixed; left: 20px; bottom: 20px; z-index: 50; max-width: 420px; display: flex; align-items: center; gap: 14px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 16px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6); }
.cookie-note p { margin: 0; font-size: .85rem; color: var(--text-2); }
.cookie-note .btn { padding: 10px 16px; }

/* ============================================================ Newsletter + footer */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin-bottom: 56px; padding: 30px 32px; border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(400px 200px at 100% 0, color-mix(in srgb, var(--gold) 14%, transparent), transparent 70%), var(--bg-2); }
.newsletter h2 { font-size: 1.5rem; }
.newsletter p { color: var(--muted); margin: 6px 0 0; }
.nl-form { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.nl-form input[type=email] { flex: 1 1 220px; background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: var(--radius); padding: 13px 14px; font: inherit; }
.nl-form input[type=email]:focus { outline: none; border-color: var(--gold); }
.nl-msg { flex-basis: 100%; margin: 0; font-size: .88rem; color: var(--felt); min-height: 1.2em; }
.nl-msg.is-err { color: var(--danger); }
.site-footer { border-top: 1px solid var(--line); background: var(--footer-bg); padding: 44px 0 36px; color: #c9cde0; }
[data-theme="daylight"] .site-footer { --line: #2b3250; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(var(--cols, 2), minmax(0, 1fr)); gap: 32px; }
.footer-logo { height: 36px; width: auto; display: block; margin-bottom: 14px; }
.footer-help { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 600; font-size: .9rem; }
.footer-name { font: 800 1.3rem/1 var(--display); color: #fff; display: block; margin-bottom: 14px; }
.footer-rg { display: flex; gap: 14px; align-items: flex-start; }
.footer-rg p { color: #9aa1bf; font-size: .88rem; margin: 0; max-width: 52ch; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #8a91aa; margin-bottom: 12px; font-family: var(--body); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer nav a { color: #d6d9e8; font-size: .92rem; }
.site-footer nav a:hover { color: #fff; }
.footer-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: #6f7695; font-size: .82rem; }
.footer-legal p { margin: 0; max-width: 80ch; }

/* ============================================================ Pagination */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 26px 0 0; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font-weight: 600; font-size: .92rem; }
.pagination a:hover { border-color: var(--gold); color: var(--text); }
.pagination [aria-current] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.pagination .gap { border: 0; background: none; color: var(--muted); }

/* ============================================================ Admin bar, account links */
.admin-bar { background: #0b0e19; color: #c9cde0; font-size: .82rem; border-bottom: 1px solid #262c45; position: relative; z-index: 31; }
.admin-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; flex-wrap: wrap; }
.admin-bar strong { color: #fff; }
.admin-bar nav { display: flex; gap: 14px; }
.admin-bar a { color: #e8b04b; font-weight: 600; }
.header-account { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.header-account > a:not(.btn) { color: var(--muted); font-weight: 600; font-size: .92rem; padding: 8px 10px; border-radius: 8px; }
.header-account > a:not(.btn):hover { color: var(--text); background: var(--bg-3); }
.account-chip { display: inline-flex !important; align-items: center; gap: 8px; color: var(--text) !important; max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-chip .avatar, .avatar.big { width: 28px; height: 28px; font-size: .72rem; color: #fff; }
.btn-sm { padding: 9px 14px; font-size: .88rem; }
.btn-danger { background: color-mix(in srgb, var(--danger) 18%, transparent); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.btn-danger:hover { background: var(--danger); color: #fff; }

/* ============================================================ Account + contact forms */
.auth-wrap { padding-top: 48px; }
.auth-card { width: min(460px, 100%); margin: 0 auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 32px 30px; }
.auth-card.wide { width: 100%; }
.auth-card h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.auth-card > .muted { margin: 0 0 20px; }
.auth-form { display: grid; gap: 14px; margin-top: 18px; }
.auth-form + .auth-form { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.auth-form h2 { font-size: 1.15rem; }
.auth-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.auth-form label.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.auth-form label.check input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.auth-form input:not([type=checkbox]):not([type=radio]), .auth-form textarea { background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 12px; font: inherit; font-weight: 400; width: 100%; }
.auth-form input:focus, .auth-form textarea:focus { outline: none; border-color: var(--gold); }
.auth-form .btn { justify-self: start; }
.auth-form .btn.block { justify-self: stretch; }
.captcha { display: flex !important; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha input { width: 80px !important; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; font-size: .9rem; color: var(--muted); }
.profile-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.profile-head h1 { margin: 0; }
.profile-head p { margin: 2px 0 0; }
.avatar.big { width: 58px; height: 58px; font-size: 1.2rem; }
.push-right { margin-left: auto; }
.color-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.color-pick legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.color-pick label { width: 30px; height: 30px; border-radius: 50%; background: var(--c); cursor: pointer; display: block; position: relative; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); }
.color-pick input { position: absolute; opacity: 0; }
.color-pick label:has(input:checked) { box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 5px var(--gold); }
.color-pick label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.danger-details summary { cursor: pointer; color: var(--danger); font-weight: 600; }
.danger-details form { display: grid; gap: 12px; margin-top: 12px; }

/* ============================================================ Community chat */
.room { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; overflow: hidden; }
.room.is-locked .room-head h2::after { content: " (closed)"; color: var(--muted); font-weight: 500; font-size: .85rem; }
.room-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.room-head h2 { font-size: 1.25rem; font-weight: 800; }
.room-sidebar .room-head h2 { font-size: 1.05rem; }
.room-online { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.room-online i { width: 8px; height: 8px; border-radius: 50%; background: var(--felt); box-shadow: 0 0 0 3px color-mix(in srgb, var(--felt) 25%, transparent); }
.room-online b { color: var(--text); }
.room-staff-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.room-staff-tools button, .rtools button { background: var(--bg-3); border: 1px solid var(--line); color: var(--text); border-radius: 7px; padding: 5px 10px; font: 600 .78rem/1.2 var(--body); cursor: pointer; }
.room-staff-tools button:hover, .rtools button:hover { border-color: var(--gold); }
.staff-badge, .rbadge { font: 700 .66rem/1 var(--body); text-transform: uppercase; letter-spacing: .06em; background: var(--gold); color: var(--gold-ink); padding: 4px 7px; border-radius: 5px; }
.rbadge.is-guest { background: var(--bg-4); color: var(--muted); }
.room-pinned { display: flex; gap: 10px; align-items: baseline; padding: 10px 20px; background: color-mix(in srgb, var(--gold) 10%, var(--bg-2)); border-bottom: 1px solid var(--line); font-size: .9rem; }
.pin-label { font: 700 .7rem/1 var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--gold); flex: none; }
.pin-body { overflow-wrap: anywhere; }
.room-log { height: 360px; overflow-y: auto; padding: 14px 20px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.room-sidebar .room-log { height: 320px; padding: 12px 14px; }
.room-empty { margin: auto; color: var(--muted); font-size: .92rem; text-align: center; }
.rmsg { display: flex; gap: 10px; align-items: flex-start; }
.ravatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 .8rem/1 var(--display); flex: none; }
.ravatar.is-staff { background: var(--gold); color: var(--gold-ink); }
.rmain { min-width: 0; flex: 1; }
.rhead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rhead strong { font-size: .9rem; }
.rhead time { color: var(--faint); font-size: .75rem; }
.rbody { margin: 2px 0 0; color: var(--text-2); font-size: .94rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.rmsg.is-staff .rbody { color: var(--text); }
.rtools { display: none; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.rmsg:hover .rtools, .rmsg:focus-within .rtools { display: flex; }
@media (hover: none) { .rtools { display: flex; } }
.room-foot { border-top: 1px solid var(--line); padding: 12px 16px; }
.room-compose { display: flex; gap: 8px; align-items: flex-end; }
.room-compose textarea { flex: 1; resize: none; background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 11px 12px; font: inherit; font-size: .94rem; max-height: 120px; }
.room-compose textarea:focus { outline: none; border-color: var(--gold); }
.room-compose .btn { padding: 12px 16px; }
.room-compose .btn:disabled { opacity: .5; }
.room-meta { display: flex; justify-content: space-between; gap: 10px; min-height: 1.1em; margin-top: 4px; font-size: .78rem; color: var(--muted); }
.room-note.is-err { color: var(--danger); }
.room-cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.room-cta p { margin: 0; color: var(--muted); flex: 1 1 200px; }
.room-nick { display: flex; gap: 8px; flex: 1; }
.room-nick input { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 10px 12px; font: inherit; }
.room-rules { border-top: 1px solid var(--line); padding: 10px 20px; font-size: .85rem; color: var(--muted); }
.room-rules summary { cursor: pointer; font-weight: 600; }
.room-rules p { margin: 8px 0 2px; }

/* ============================================================ Top bar, social icons, back to top */
.topbar { font-size: .9rem; position: relative; z-index: 32; }
.topbar[hidden] { display: none; }
.topbar-accent { background: var(--gold); color: var(--gold-ink); }
.topbar-accent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.topbar-dark { background: #0b0e19; color: #e8eaf4; border-bottom: 1px solid #262c45; }
.topbar-dark a { color: var(--gold); font-weight: 700; }
.topbar-subtle { background: var(--bg-3); color: var(--text); border-bottom: 1px solid var(--line); }
.topbar-subtle a { color: var(--gold); font-weight: 700; }
.topbar-inner { display: flex; align-items: center; justify-content: center; min-height: 40px; position: relative; text-align: center; }
.topbar p { margin: 0; padding: 8px 40px; }
.topbar-close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; opacity: .75; padding: 4px 10px; border-radius: 6px; }
.topbar-close:hover { opacity: 1; }

.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; color: var(--muted); background: var(--bg-3); border: 1px solid var(--line); transition: color .15s, background .15s, border-color .15s, transform .15s; }
.social-round a { border-radius: 50%; }
.social-square a { border-radius: 10px; }
.social-plain a { background: none; border-color: transparent; width: 32px; }
.social a:hover { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.social.brand-hover a:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
.social-plain a:hover, .social-plain.brand-hover a:hover { background: none; border-color: transparent; color: var(--gold); }
.social-plain.brand-hover a:hover { color: var(--brand); }
.social i { font-size: 16px; line-height: 1; }
.social svg { width: 18px; height: 18px; }
.social-header { flex-wrap: nowrap; gap: 4px; }
.social-header a { width: 34px; height: 34px; }
.social-footer { margin-top: 20px; }
.site-footer .social a { color: #c9cde0; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); }
.site-footer .social-plain a { background: none; border-color: transparent; }
.site-footer .social a:hover { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }
.site-footer .social.brand-hover a:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
.site-footer .social-plain.brand-hover a:hover { background: none; color: #fff; }
[data-theme] .social.brand-hover a[style*="#111111"]:hover { border-color: #fff; }

.to-top { position: fixed; right: 26px; bottom: 96px; z-index: 55; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { border-color: var(--gold); color: var(--gold); }
.to-top svg { width: 20px; height: 20px; }
.chat-left .to-top { right: auto; left: 26px; }

/* ============================================================ “Message us” widget */
.cw { position: fixed; bottom: 22px; z-index: 60; }
.cw-right { right: 22px; }
.cw-left { left: 22px; }
.cw-bubble { display: flex; align-items: center; gap: 10px; background: var(--gold); color: var(--gold-ink); border: 0; border-radius: 999px; padding: 14px 20px 14px 16px; font: 700 .95rem/1 var(--body); cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .15s; }
.cw-bubble:hover { transform: translateY(-2px); }
.cw-bubble svg { width: 22px; height: 22px; }
.cw.is-open .cw-bubble { transform: scale(.94); }
.cw-panel { position: absolute; bottom: calc(100% + 12px); width: min(370px, calc(100vw - 32px)); max-height: calc(100vh - 120px); overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.cw-right .cw-panel { right: 0; }
.cw-left .cw-panel { left: 0; }
.cw-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg-2); }
.cw-head h2 { font-size: 1.1rem; margin: 0; }
.cw-close { background: none; border: 0; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 2px 8px; border-radius: 8px; }
.cw-close:hover { color: var(--text); background: var(--bg-3); }
.cw-form { display: grid; gap: 11px; padding: 14px 18px 18px; }
.cw-intro { margin: 0; color: var(--muted); font-size: .9rem; }
.cw-form label { display: grid; gap: 5px; font-weight: 600; font-size: .85rem; }
.cw-form input:not([type=hidden]), .cw-form textarea, .cw-form select { background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 10px 11px; font: inherit; font-weight: 400; font-size: .92rem; width: 100%; }
.cw-form input:focus, .cw-form textarea:focus, .cw-form select:focus { outline: none; border-color: var(--gold); }
.cw-form .captcha input { width: 70px !important; }
.cw-err { margin: 0; color: var(--danger); font-size: .88rem; }
.cw-done { padding: 22px 18px; text-align: center; }
.cw-done p { margin: 0 0 14px; }
.cw ~ .to-top, body:has(.cw-right) .to-top { bottom: 96px; }

/* ============================================================ Responsive */
@media (max-width: 1080px) {
  .casino-row { grid-template-columns: 40px 64px minmax(0, 1fr) 200px; grid-template-areas: "rank logo info bonus" "rank logo info actions" "more more more more" "foot foot foot foot"; }
  .casino-row .logo-tile { width: 64px; }
  .actions { justify-items: stretch; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .review-hero { grid-template-columns: auto 1fr; }
  .review-offer { grid-column: 1 / -1; }
  .game-hero { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: -20px; right: -20px; flex-direction: column; align-items: stretch; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 12px 20px 18px; }
  .main-nav.is-open { display: flex; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li { flex-wrap: wrap; }
  .menu-link { flex: 1; padding: 11px 10px; }
  .sub-toggle { padding: 10px 12px; margin: 0; }
  .submenu { position: static; display: none; width: 100%; min-width: 0; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 6px 12px; padding: 0 0 0 6px; background: none; }
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: none; }
  .has-sub.is-open > .submenu { display: block; }
  .social-header { margin-top: 10px; }
  .header-cta { margin-top: 10px; align-self: flex-start; }
  .to-top { bottom: 88px; right: 18px; }
  .cw-bubble span { display: none; }
  .cw-bubble { padding: 15px; }
  .cw { bottom: 16px; }
  .cw-right { right: 16px; }
  .cw-left { left: 16px; }
  .header-search { margin: 8px 0 0; }
  .header-search input { width: 100%; }
  .header-account { margin: 10px 0 0; }
  .coupon { grid-template-columns: 90px minmax(0, 1fr); }
  .coupon-action { grid-column: 1 / -1; border-top: 1px dashed var(--line); grid-template-columns: 1fr auto; align-items: center; text-align: left; }
  .coupon-list.compact .coupon { grid-template-columns: 90px minmax(0, 1fr); }
  .newsletter { grid-template-columns: 1fr; }
  .post-card.is-big { flex-direction: column; }
  .post-card.is-big .post-body { padding: 20px; }
  .more-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-top: 36px; }
  .casino-row { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "logo info" "bonus bonus" "actions actions" "more more" "foot foot"; padding: 18px 18px 0; }
  .rank { position: absolute; top: -12px; left: -8px; width: 32px; height: 32px; display: grid; place-items: center; font-size: 1rem; background: var(--bg-3); border: 1px solid var(--line); border-radius: 50%; z-index: 2; }
  .casino-row:nth-child(-n+3):not(.is-bad) .rank { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
  .casino-row .logo-tile { width: 56px; border-radius: 14px; font-size: 1.2rem; }
  .bonus { border-left: 0; padding: 14px; background: var(--shade); border-radius: var(--radius); }
  .row-more, .row-foot { margin-left: -18px; margin-right: -18px; }
  .row-more summary, .row-foot { padding-left: 18px; padding-right: 18px; }
  .more-grid { grid-template-columns: 1fr; padding: 4px 18px 16px; }
  .review-hero { grid-template-columns: 1fr; padding: 24px; }
  .logo-tile.large { width: 80px; font-size: 1.6rem; }
  .review-body { padding: 24px 20px; }
  .fact-table div { grid-template-columns: 1fr; }
  .pros-cons, .form-row, .ur-summary { grid-template-columns: 1fr; }
  .sort-field { flex: 1; }
  .coupon { grid-template-columns: 1fr; }
  .coupon-side { grid-auto-flow: column; justify-content: start; padding: 14px 18px; border-right: 0; border-bottom: 2px dashed var(--line); }
  .coupon-side::before, .coupon-side::after { display: none; }
  .coupon-list.compact .coupon { grid-template-columns: 1fr; }
  .coupon-action { grid-template-columns: 1fr; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-note { left: 12px; right: 80px; bottom: 12px; }
  .toolbar .field { flex: 1 1 100%; }
  .toolbar .btn { flex: 1 1 100%; }
  .check-pill { flex: 1 1 40%; padding: 12px 14px; justify-content: center; }
  .sticky-text span { display: none; }
  .room-log { height: 300px; padding: 12px 14px; }
  .admin-bar span { display: none; }
  .auth-card { padding: 24px 20px; }
  .ad-promo { flex-wrap: wrap; }
  .ad-promo .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ============================================================ Live chat widget */
.pbchat { position: fixed; right: 20px; bottom: 20px; z-index: 1000; font-family: var(--body); }
.pbchat.is-left { right: auto; left: 20px; }
.pbchat.is-left .pbchat-panel { right: auto; left: 0; }
body.has-sticky-ad .pbchat, body.has-sticky-cta .pbchat, body.has-compare .pbchat { bottom: 96px; }
.pbchat-launcher {
  display: flex; align-items: center; gap: 10px; background: var(--gold); color: var(--gold-ink); border: 0; border-radius: 999px; padding: 14px 20px 14px 16px;
  font: 700 .95rem/1 var(--body); cursor: pointer; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .15) inset; position: relative; transition: transform .15s;
}
.pbchat-launcher:hover { transform: translateY(-2px); }
.pbchat-launcher svg { width: 22px; height: 22px; fill: var(--gold-ink); }
.pbchat.is-online .pbchat-launcher::after { content: ""; position: absolute; left: 34px; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--felt); box-shadow: 0 0 0 2px var(--gold); }
.pbchat.is-open .pbchat-launcher-text { display: none; }
.pbchat.is-open .pbchat-launcher { padding: 14px; }
.pbchat-badge { position: absolute; top: -6px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--danger); color: #fff; font-size: .75rem; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.pbchat-badge[hidden] { display: none; }
.pbchat-panel {
  position: absolute; right: 0; bottom: 70px; width: min(370px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); animation: pbchat-in .18s ease-out;
}
.pbchat-panel[hidden] { display: none; }
@keyframes pbchat-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.pbchat-head { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--bg-3); border-bottom: 1px solid var(--line); }
.pbchat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; font: 800 1.1rem/1 var(--display); flex: none; }
.pbchat-who { flex: 1; min-width: 0; }
.pbchat-who strong { display: block; font-size: .98rem; color: var(--text); }
.pbchat-status { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.pbchat-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.pbchat-status em { font-style: normal; }
.pbchat.is-online .pbchat-status i { background: var(--felt); }
.pbchat-close { background: none; border: 0; padding: 6px; cursor: pointer; border-radius: 8px; }
.pbchat-close:hover { background: var(--bg-4); }
.pbchat-close svg { width: 20px; height: 20px; stroke: var(--muted); stroke-width: 2; fill: none; display: block; }
.pbchat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.pbchat-msg { display: flex; flex-direction: column; max-width: 82%; }
.pbchat-msg time { font-size: .7rem; color: var(--faint); margin-top: 3px; padding: 0 4px; }
.pbchat-bubble { padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.pbchat-msg.is-admin { align-self: flex-start; }
.pbchat-msg.is-admin .pbchat-bubble { background: var(--bg-4); color: var(--text); border-bottom-left-radius: 5px; }
.pbchat-msg.is-visitor { align-self: flex-end; align-items: flex-end; }
.pbchat-msg.is-visitor .pbchat-bubble { background: var(--gold); color: var(--gold-ink); border-bottom-right-radius: 5px; }
.pbchat-msg.is-system { align-self: center; max-width: 92%; text-align: center; }
.pbchat-msg.is-system .pbchat-bubble { background: none; color: var(--muted); font-size: .8rem; padding: 4px 8px; border: 1px dashed var(--line); }
.pbchat-typing { display: flex; gap: 4px; padding: 0 20px 10px; }
.pbchat-typing[hidden] { display: none; }
.pbchat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: pbchat-dot 1s infinite; }
.pbchat-typing span:nth-child(2) { animation-delay: .15s; }
.pbchat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes pbchat-dot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.pbchat-start { padding: 16px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.pbchat-start[hidden], .pbchat-compose[hidden], .pbchat-error[hidden] { display: none; }
.pbchat-start label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--text); }
.pbchat-start label span { color: var(--muted); font-weight: 400; }
.pbchat-start input { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; color: var(--text); font: inherit; }
.pbchat-start input:focus { outline: none; border-color: var(--gold); }
.pbchat-start button { background: var(--gold); color: var(--gold-ink); border: 0; border-radius: 10px; padding: 12px; font: 700 .95rem/1 var(--body); cursor: pointer; }
.pbchat-start button:disabled { opacity: .6; }
.pbchat-compose { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid var(--line); background: var(--bg-2); }
.pbchat-compose textarea { flex: 1; resize: none; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; color: var(--text); font: inherit; font-size: .92rem; max-height: 120px; }
.pbchat-compose textarea:focus { outline: none; border-color: var(--gold); }
.pbchat-compose button { width: 44px; height: 44px; flex: none; border-radius: 12px; border: 0; background: var(--gold); cursor: pointer; display: grid; place-items: center; }
.pbchat-compose button svg { width: 20px; height: 20px; fill: var(--gold-ink); }
.pbchat-error { color: var(--danger); font-size: .82rem; margin: 0; padding: 0 16px 10px; }
.pbchat-start .pbchat-error { padding: 0; }
@media (max-width: 480px) {
  .pbchat { right: 12px; bottom: 12px; }
  .pbchat.is-left { left: 12px; }
  .pbchat-launcher-text { display: none; }
  .pbchat-launcher { padding: 15px; }
  .pbchat.is-online .pbchat-launcher::after { left: 30px; top: 9px; }
  .pbchat-panel { position: fixed; inset: 12px 12px 84px; width: auto; height: auto; }
}

/* ---------- header: stay on one line with long menus */
.menu-link, .submenu a, .header-account a, .header-cta { white-space: nowrap; }
.header-inner { gap: 20px; }
.main-nav { min-width: 0; gap: 6px; }
.header-search { flex: 0 1 240px; min-width: 120px; }
.header-search input { width: 100%; }
.header-account { flex: none; }
@media (max-width: 1360px) and (min-width: 901px) {
  .social-header { display: none; }
  .menu-link { padding: 8px 9px; font-size: .92rem; }
  .header-search { flex-basis: 170px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .header-search { display: none; }
}
.site-footer ul.social, .main-nav ul.social { display: flex; flex-wrap: wrap; gap: 8px; }
.main-nav ul.social-header { flex-wrap: nowrap; gap: 4px; }
.no-fa .social i::before, .no-fa .social-prev i::before { content: attr(data-i); font: 800 14px/1 var(--display); font-style: normal; }

/* ================================================================ v2.3: favorites, dashboard, goodbye, language */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Heart button */
.fav-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-3); color: var(--muted); cursor: pointer; padding: 0; transition: color .15s, border-color .15s, transform .15s, background .15s; flex: none; }
.fav-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fav-btn:hover { color: #ef5a78; border-color: #ef5a78; }
.fav-btn.is-on { color: #ef5a78; border-color: color-mix(in srgb, #ef5a78 55%, transparent); background: color-mix(in srgb, #ef5a78 12%, var(--bg-3)); }
.fav-btn.is-on svg { fill: currentColor; }
.fav-btn.is-on:not(:disabled) svg { animation: fav-pop .3s ease; }
.fav-btn:disabled { opacity: .6; cursor: progress; }
.fav-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.fav-btn.is-big { width: 44px; height: 44px; }
.fav-btn.is-big svg { width: 22px; height: 22px; }
.game-card { position: relative; }
.fav-btn.on-card { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(4px); }
@keyframes fav-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
.title-fav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fav-count { margin-left: 6px; font: 700 .72rem/1 var(--body); color: #ef5a78; background: color-mix(in srgb, #ef5a78 14%, transparent); padding: 3px 6px; border-radius: 999px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 90;
  background: var(--bg-4, #2a2f45); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; font-weight: 600; font-size: .92rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: opacity .2s, transform .2s; max-width: min(92vw, 460px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--gold); text-decoration: underline; }

/* Language switcher */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; flex: none; }
.lang-switch a { font: 700 .72rem/1 var(--body); letter-spacing: .04em; padding: 6px 8px; border-radius: 999px; color: var(--muted); text-decoration: none; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current] { background: var(--gold); color: var(--gold-ink); }

/* Account dashboard */
.dash { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; padding: 10px 0 40px; }
.dash-side { position: sticky; top: 90px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 16px; }
.dash-me { display: flex; align-items: center; gap: 12px; }
.dash-me strong { display: block; }
.dash-me small { color: var(--muted); }
.avatar.big { width: 48px; height: 48px; font-size: 1rem; color: #fff; }
.dash-nav { display: grid; gap: 2px; }
.dash-nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; }
.dash-nav a:hover { color: var(--text); background: var(--bg-3); }
.dash-nav a[aria-current] { color: var(--text); background: color-mix(in srgb, var(--gold) 14%, var(--bg-3)); box-shadow: inset 3px 0 0 var(--gold); }
.dash-count { font-size: .75rem; background: var(--bg-4, var(--bg-3)); color: var(--text); padding: 3px 8px; border-radius: 999px; }
.dash-main { display: grid; gap: 18px; min-width: 0; }
.dash-head h1 { margin: 0 0 4px; }
.dash-head p { margin: 0; }
.dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dash-stats a { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-decoration: none; color: var(--text); display: grid; gap: 4px; transition: border-color .15s, transform .15s; }
.dash-stats a:hover { border-color: var(--gold); transform: translateY(-2px); }
.dash-stats b { font: 800 1.8rem/1 var(--display); color: var(--gold); }
.dash-stats span { color: var(--muted); font-size: .85rem; }
.dash-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.dash-card h2 { font-size: 1.15rem; margin: 0 0 14px; }
.dash-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.dash-card-head h2 { margin: 0; }
.dash-card-head a { font-size: .88rem; color: var(--gold); white-space: nowrap; }
.dash-empty { text-align: center; padding: 34px 22px; border-style: dashed; }
.dash-empty p { max-width: 520px; margin-left: auto; margin-right: auto; }
.dash-card .auth-form h2 { margin-bottom: 4px; }
.quick-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.quick-links a { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-3); color: var(--text); text-decoration: none; font-weight: 600; }
.quick-links a:hover { border-color: var(--gold); color: var(--gold); }
.fav-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fav-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-3); }
.fav-info { display: grid; gap: 3px; min-width: 0; }
.fav-info a { color: var(--text); text-decoration: none; }
.fav-info small { color: var(--gold); font-weight: 600; }
.fav-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.fav-actions form { margin: 0; }
.fav-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.fav-game { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-3); }
.fav-game .game-thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; display: grid; place-items: center; }
.fav-game strong { display: block; color: var(--text); }
.fav-game small { display: block; }
.fav-game form { margin: 0; }
.my-review { padding: 16px 0; border-top: 1px solid var(--line); }
.my-review:first-child { border-top: 0; padding-top: 0; }
.my-review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.my-review h3 { margin: 8px 0 4px; font-size: 1rem; }
.pill { font: 700 .72rem/1 var(--body); padding: 5px 9px; border-radius: 999px; background: var(--bg-4, var(--bg-3)); color: var(--muted); border: 1px solid var(--line); }
.pill.is-on { color: var(--felt); border-color: color-mix(in srgb, var(--felt) 45%, transparent); background: color-mix(in srgb, var(--felt) 12%, transparent); }
.pill.is-warn { color: var(--warn, #f0a24a); border-color: color-mix(in srgb, var(--warn, #f0a24a) 45%, transparent); background: color-mix(in srgb, var(--warn, #f0a24a) 12%, transparent); }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 45%, var(--line)); }
.danger-zone h2 { color: var(--danger); }
.del-confirm > summary { list-style: none; display: inline-flex; cursor: pointer; }
.del-confirm > summary::-webkit-details-marker { display: none; }
.del-confirm[open] > summary { display: none; }
.del-confirm form { margin-top: 6px; }
.warn-box { padding: 12px 14px; border-radius: 12px; margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { filter: brightness(1.08); }

/* Goodbye */
.bye-card { text-align: center; padding: 44px 32px; margin-top: 30px; }
.bye-icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; background: color-mix(in srgb, var(--gold) 14%, var(--bg-3)); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); color: var(--gold); }
.bye-card h1 { margin-bottom: 6px; }
.bye-lead { font: 700 1.15rem/1.4 var(--display); color: var(--gold); margin: 0 0 10px; }
.bye-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }

@media (max-width: 900px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .dash-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .fav-item { grid-template-columns: auto minmax(0, 1fr); }
  .fav-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .dash-card { padding: 18px 16px; }
}
.coupon-type { overflow-wrap: anywhere; hyphens: auto; line-height: 1.25; max-width: 100%; }
html[lang="de"] .coupon-type { letter-spacing: .02em; font-size: .66rem; }
@media (max-width: 1360px) and (min-width: 901px) {
  .main-nav ul.social-header { display: none; }
}
@media (max-width: 1280px) and (min-width: 901px) {
  .header-inner:has(.lang-switch) .header-search { display: none; }
}
/* Header with the language switch: German labels are longer, so give up extras earlier */
@media (max-width: 1500px) and (min-width: 901px) {
  .header-inner:has(.lang-switch) .header-search,
  .header-inner:has(.lang-switch) .main-nav ul.social-header { display: none; }
}
@media (max-width: 1120px) and (min-width: 901px) {
  .header-inner:has(.lang-switch) .header-signup { display: none; }
  .header-inner:has(.lang-switch) .menu-link { padding: 8px 7px; font-size: .88rem; }
}
