/* ============================================================
   GrabMyCode — design-system theme (light)
   Warm paper bg · coral accent · perforated-ticket motif
============================================================ */

/* ---------- self-hosted type (no CDN): Plus Jakarta Sans 700/800 headings,
   Space Mono 700 for codes + timers ONLY. Inter 400/500 ships via the vite
   bundle (fonts.css). This file loads AFTER the vite CSS, so the alias faces
   below override fonts.css for the legacy family names used across blades:
   "Archivo Black" → PJS 800, "Space Grotesk" → Inter (labels/stats are NOT
   mono per the design system — mono is reserved for the code and the timer). */
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:700;font-display:swap;src:url("/fonts/plus-jakarta-sans-700-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:700;font-display:swap;src:url("/fonts/plus-jakarta-sans-700-latin-ext.woff2") format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:800;font-display:swap;src:url("/fonts/plus-jakarta-sans-800-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:800;font-display:swap;src:url("/fonts/plus-jakarta-sans-800-latin-ext.woff2") format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Space Mono";font-style:normal;font-weight:700;font-display:swap;src:url("/fonts/space-mono-700-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Space Mono";font-style:normal;font-weight:700;font-display:swap;src:url("/fonts/space-mono-700-latin-ext.woff2") format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
/* legacy family aliases (53 blades reference the SMB families) */
@font-face{font-family:"Archivo Black";font-style:normal;font-weight:400;font-display:swap;src:url("/fonts/plus-jakarta-sans-800-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Archivo Black";font-style:normal;font-weight:400;font-display:swap;src:url("/fonts/plus-jakarta-sans-800-latin-ext.woff2") format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:400;font-display:swap;src:url("/fonts/inter-500.woff2") format("woff2")}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:500;font-display:swap;src:url("/fonts/inter-500.woff2") format("woff2")}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:600;font-display:swap;src:url("/fonts/inter-700.woff2") format("woff2")}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:700;font-display:swap;src:url("/fonts/inter-700.woff2") format("woff2")}

:root{
  /* === design-systems/grabmycode/tokens.css (source of truth) === */
  --bg:#fffbf5; --surface:#fff3e2; --surface-2:#f4efe8;
  --border:#f8d4ad; --border-muted:#e8e1d8;
  --ink:#1f1a17; --ink-muted:#6f6660; --ink-on-accent:#ffffff;
  --accent:#f4511e; --accent-hover:#d8440f; --accent-text:#b83a0e; --accent-soft:#fde3d7;
  --ok:#0d9488; --ok-text:#0f766e; --warn:#f59e0b; --expired:#9ca3af;
  --live:#f4511e; --focus:#b83a0e;
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-5:24px; --space-6:32px; --space-7:48px;
  --radius-sm:6px; --radius-md:10px; --radius-lg:14px; --radius-pill:999px;
  --shadow-ticket:0 1px 2px rgba(31,26,23,0.05),0 6px 16px rgba(244,81,30,0.10);
  --shadow-lift:0 10px 28px rgba(244,81,30,0.20);
  --font-sans:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-text:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-mono:"Space Mono",ui-monospace,"SFMono-Regular",Menlo,monospace;
  /* site-local helpers derived from the DS palette (not in tokens.css) */
  --accent-bright:#ff9a78; --accent-line:rgba(244,81,30,.28); --ink-2:#2a2420; --ink-faint:#a39b92;
  --ok-soft:#ccf3ee; --warn-ink:#7c4a03; --warn-soft:#fde68a;
  --font-heading:var(--font-sans);
}
[data-theme="dark"]{
  --bg:#141210; --surface:#1f1a16; --surface-2:#2a2420;
  --border:#3d322b; --border-muted:#2e2925;
  --ink:#f5f1ec; --ink-muted:#a39b92; --ink-on-accent:#ffffff;
  --accent:#ff6a3d; --accent-hover:#ff865f; --accent-text:#ff9a78; --accent-soft:#3a1f17;
  --ok:#2dd4bf; --ok-text:#5eead4; --warn:#fbbf24; --expired:#6b645d;
  --live:#ff6a3d; --focus:#ff9a78;
  --shadow-ticket:0 1px 2px rgba(0,0,0,0.4),0 4px 12px rgba(0,0,0,0.3);
  --shadow-lift:0 6px 20px rgba(0,0,0,0.5);
  --ok-soft:#123a36; --warn-ink:#fde68a; --warn-soft:#4a3a0a; --ink-2:#2a2420;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:88px}
{{-- overflow-x:clip (not hidden) guards against horizontal page scroll from
     off-viewport positioned popups WITHOUT forcing overflow-y to auto —
     overflow:hidden on one axis computes the other to auto, which turned
     <html> into a scroll container and broke position:sticky on the rail.
     clip creates no scroll container, so sticky keeps working. --}}
body{background:var(--bg);color:var(--ink);font-family:"Inter",system-ui,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.55;overflow-x:clip}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.display{font-family:var(--font-heading);font-weight:800;letter-spacing:-.02em;line-height:1.04}
.mono{font-family:var(--font-mono);letter-spacing:.12em;text-transform:uppercase}
.wrap{max-width:1200px;margin:0 auto;padding:0 36px}
.eyebrow{font-size:11px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--accent)}
.section{padding:64px 0}
.section .head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px;flex-wrap:wrap}
.section .head h2{font-family:var(--font-heading);font-weight:800;font-size:clamp(24px,3vw,34px);letter-spacing:-.02em;line-height:1.08}
/* Tap targets: WCAG 2.5.8 asks for 24x24 CSS px on a standalone control. The
   links below are small by design (12px uppercase), so the TARGET is grown with
   padding while the type stays exactly as it was. Measured at 400px wide before
   the change: .rev 20.9, .more 20.1-23.6, .search-clear 15x13. */
.section .head .more,.section .sec-more .more{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);border-bottom:2px solid var(--accent);padding-bottom:3px;padding-top:6px}
/* bottom "see all" — desktop keeps only the header link; phones get a
   full-width button here (the header link is far up after a long card list). */
.section .sec-more{display:none}
/* cream (--surface) is reserved for tickets + sidebar blocks; alt bands sit on
   the neutral paper --surface-2 so a ticket still reads as a ticket inside one */
.section.alt{background:var(--surface-2);border-top:1px solid var(--border-muted);border-bottom:1px solid var(--border-muted)}

/* ---------- microbar ---------- */
.microbar{background:var(--ink);color:rgba(255,255,255,.74);font-size:11px;letter-spacing:.04em}
.microbar .in{max-width:1200px;margin:0 auto;padding:8px 36px;display:flex;gap:18px;align-items:center;flex-wrap:nowrap;overflow:hidden}
.microbar .age{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:#fff;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.microbar .age b{background:var(--accent-hover);color:#fff;border-radius:3px;padding:1px 5px;font-size:10px}
.microbar .sp{margin-left:auto;color:rgba(255,255,255,.5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}

/* ---------- header ---------- */
.site-head{position:sticky;top:0;z-index:50;background:rgba(245,244,248,.86);backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--border);transition:transform .28s ease}
/* Hide-on-scroll: brand.js flips .head-away on <html> — down past the fold hides
   the header, any upward scroll brings it back. The in-page anchor rail listens
   for the same class and slides up to top:0 so it becomes the only bar. */
.head-away .site-head{transform:translateY(-102%)}
@media(prefers-reduced-motion:reduce){.site-head{transition:none}}
.site-head .in{max-width:1200px;margin:0 auto;padding:14px 36px;display:flex;align-items:center;gap:26px}
.logo{display:inline-flex;align-items:center;gap:11px}
.logo svg{display:block}
.logo-wm{font-family:var(--font-heading);font-weight:800;font-size:19px;letter-spacing:-.02em}
.logo-wm b{color:var(--accent-text)}
.nav{display:flex;gap:24px;margin-left:8px}
.nav a{font-size:13.5px;font-weight:600;color:var(--ink);opacity:.78;padding:6px 0;border-bottom:2px solid transparent;transition:.15s}
.nav a:hover,.nav a.on{opacity:1;border-color:var(--accent)}
/* --- nav mega dropdowns (desktop hover; nav is hidden < 1000px) --- */
.nav-item{position:relative;display:flex}
.nav .nav-top{display:inline-flex;align-items:center;gap:6px}
.nav-ic{display:inline-flex;width:17px;height:17px;color:var(--accent);opacity:.8;flex:none}
.nav-ic svg{width:100%;height:100%}
.nav .nav-top:hover .nav-ic,.nav .nav-top.on .nav-ic{opacity:1}
.nav-caret{font-size:9px;opacity:.55;transition:transform .15s}
.nav-item:hover .nav-caret{transform:rotate(180deg)}
.nav-drop{position:absolute;top:100%;left:-14px;padding-top:14px;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .16s,transform .16s;z-index:60}
.nav-item:hover .nav-drop,.nav-item:focus-within .nav-drop{opacity:1;visibility:visible;transform:translateY(0)}
.nav-drop-in{display:flex;gap:26px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 18px 46px rgba(20,12,30,.16);padding:20px 22px}
.nav-col{display:flex;flex-direction:column;gap:1px;min-width:150px}
.nav-col-h{font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-muted);margin-bottom:9px}
.nav-drop a{font-size:13.5px;font-weight:600;color:var(--ink);opacity:.82;padding:7px 10px;border-radius:8px;border-bottom:0;transition:.13s}
.nav-drop a:hover{opacity:1;color:var(--accent);background:var(--accent-soft)}
/* --- "more" menu: burger → utility links + language --- */
.more-menu{position:relative;display:flex;align-items:center}
.more-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:36px;background:transparent;border:1px solid var(--border);border-radius:9px;cursor:pointer;transition:.15s}
.more-btn:hover{border-color:var(--accent-line)}
.more-btn .mbars{display:flex;flex-direction:column;gap:4px;width:18px}
.more-btn .mbars i{height:2px;border-radius:2px;background:var(--ink);transition:.15s}
.more-menu:hover .more-btn .mbars i:nth-child(1),.more-menu:focus-within .more-btn .mbars i:nth-child(1){transform:translateY(1px)}
.more-menu:hover .more-btn .mbars i:nth-child(3),.more-menu:focus-within .more-btn .mbars i:nth-child(3){transform:translateY(-1px)}
.more-menu:hover .more-btn,.more-menu:focus-within .more-btn{border-color:var(--accent-line)}
.more-drop{position:absolute;top:100%;right:0;padding-top:10px;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .16s,transform .16s;z-index:60}
.more-menu:hover .more-drop,.more-menu:focus-within .more-drop{opacity:1;visibility:visible;transform:translateY(0)}
.more-panel{display:flex;gap:22px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 18px 46px rgba(20,12,30,.16);padding:18px 20px}
.more-group{display:flex;flex-direction:column;gap:1px;min-width:140px}
.more-h{font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-muted);margin-bottom:8px}
.more-group a{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;color:var(--ink);opacity:.82;padding:7px 9px;border-radius:8px;border-bottom:0;transition:.13s}
.more-group a:hover{opacity:1;color:var(--accent);background:var(--accent-soft)}
.more-group a.lang b{font-family:"Space Grotesk",sans-serif;font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--accent);min-width:20px}
.more-group a.on{opacity:1;color:var(--accent);background:var(--accent-soft)}
@media(max-width:1000px){.more-menu{display:none}}
/* --- live search popup --- */
.search-wrap{position:relative;display:flex;align-items:center}
.search-wrap form{margin:0;display:flex;align-items:center;width:100%}
.head-actions .more-menu,.head-actions .burger{align-self:center}
.search-pop{position:absolute;top:calc(100% + 8px);right:0;width:360px;max-width:82vw;
            background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 18px 46px rgba(20,12,30,.16);padding:8px;z-index:70}
.search-pop[hidden]{display:none}
.search-group{padding:2px 0}
.search-group + .search-group{border-top:1px solid var(--border-muted);margin-top:4px;padding-top:6px}
.search-group-h{font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-muted);padding:5px 10px 6px}
.search-group-h span{color:var(--accent)}
.search-item{display:block;padding:8px 10px;border-radius:8px;font-size:13.5px;font-weight:600;color:var(--ink);opacity:.85;transition:.12s}
.search-item i{font-style:normal}
.search-item b{color:var(--accent);font-weight:800}
.search-item:hover,.search-item.active{background:var(--accent-soft);opacity:1}
.search-empty{padding:20px 12px;text-align:center;color:var(--ink-muted);font-size:13px}
.head-actions{margin-left:auto;display:flex;align-items:center;gap:14px}
.search{display:inline-flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:30px;padding:8px 14px;color:var(--ink-muted);font-size:13px;min-width:180px}
.search .search-ic{width:20px;height:20px;color:var(--accent);opacity:.9;flex:none}
.search input{border:0;outline:0;background:transparent;font:inherit;color:var(--ink);width:100%}
.search input:focus,.search input:focus-visible{outline:0;box-shadow:none;border:0}
.search:focus-within{border-color:var(--accent-line)}
.search input::-webkit-search-cancel-button{display:none}
.search-clear{border:0;background:transparent;color:var(--ink-muted);cursor:pointer;font-size:13px;line-height:1;padding:0;flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px}
.search-clear[hidden]{display:none}
.search-clear:hover{color:var(--accent)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:var(--font-heading);font-weight:700;font-size:14px;letter-spacing:0;border-radius:var(--radius-md);padding:11px 18px;cursor:pointer;border:1px solid transparent;transition:.15s;white-space:nowrap;min-height:44px}
.btn:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
/*
 * A button must survive translation.
 *
 * `.btn` is nowrap, which is right on a wide screen and wrong on a phone the
 * moment a label grows. Measured at 360px: the widest such control is 320px,
 * so the margin is 40px — one longer German or Russian verb. The sibling
 * clone lost that bet: a pt-BR label pushed a whole page 31px sideways while
 * every other locale fit, and nothing caught it because the default locale
 * was the only one being tested.
 *
 * Wrapping engages only when a label would not fit, so nothing moves today.
 * line-height is deliberately NOT touched: the sibling's button sets
 * `line-height:1` and has to relax it, while this one inherits a taller line
 * box that the 44px tap-target floor depends on — pinning it to 1.25 here
 * shrank every button to 40.3px and the contract caught it.
 */
@media (max-width:1000px){.btn{white-space:normal;text-align:center}}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-text)}
.btn-ink{background:var(--ink);color:#fff}
.btn-ink:hover{background:var(--ink-2)}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--border)}
.btn-ghost:hover{border-color:var(--ink)}
.btn-lg{padding:14px 24px;font-size:14px}
.btn-sm{padding:8px 13px;font-size:11.5px}

/* ---------- rating (line-icon stars) ---------- */
.rating{display:inline-flex;align-items:center;gap:8px}
.spades{display:inline-flex;gap:2px;line-height:1}
.spades .sp{display:inline-flex;color:var(--border)}
.spades .sp svg{display:block}
.spades .sp.on{color:var(--accent)}
.rating .rv{font-weight:700;font-size:13px;color:var(--ink)}

/* ---------- tags / chips ---------- */
.tag{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;letter-spacing:.04em;color:var(--ink-muted);background:var(--bg);border:1px solid var(--border);border-radius:30px;padding:4px 10px}
.tag.p{color:var(--accent);border-color:var(--accent-line);background:var(--accent-soft)}
.tag.ink{color:#fff;background:var(--ink);border-color:var(--ink)}

/* ---------- monogram ---------- */
.monogram{width:48px;height:48px;flex:0 0 auto;border-radius:var(--radius-sm);display:grid;place-items:center;font-family:var(--font-heading);font-weight:800;font-size:20px;color:#fff;background:var(--ink);letter-spacing:-.02em}
.monogram.p{background:var(--accent)}
.monogram.o{background:#fff;color:var(--ink);border:1.5px solid var(--ink)}
.monogram.lg{width:64px;height:64px;font-size:27px;border-radius:var(--radius-md)}

/* ---------- offer row ---------- */
/* casino rows stay on --bg: only bonus tickets (and the sidebar) get cream */
.offer{display:grid;grid-template-columns:minmax(208px,1.8fr) 1.6fr 1.05fr 158px;gap:20px;align-items:center;background:var(--bg);border:1px solid var(--border-muted);border-radius:var(--radius-lg);padding:20px 22px;transition:.15s;position:relative;box-shadow:var(--shadow-ticket)}
.offer.feat{padding-top:26px}
.offer:hover{border-color:var(--accent-line);box-shadow:var(--shadow-lift);transform:translateY(-2px)}
.offer.feat{border-color:var(--accent);border-width:1.5px}
.offer .rank{font-family:var(--font-heading);font-weight:800;font-size:22px;color:var(--border);text-align:center}
.offer.feat .rank,.offer:hover .rank{color:var(--accent)}
.offer .brand{display:flex;align-items:center;gap:13px;min-width:0}
.offer .brand > div:not(.monogram){flex:1 1 auto;min-width:0}
.offer .brand h3{font-size:16px;font-weight:800;letter-spacing:-.01em;line-height:1.15}
.offer .brand .sub{margin-top:5px}
.offer .brand .mkt{margin-top:5px;font-size:12px;line-height:1.3;display:flex;gap:5px;align-items:center}
.offer .brand .mkt-yes{color:var(--ok-text)}
.offer .brand .mkt-no{color:var(--ink-muted)}
.offer .bonus .bk{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-muted)}
.offer .bonus .bv{font-family:var(--font-heading);font-weight:800;font-size:19px;line-height:1.05;margin-top:5px;letter-spacing:-.01em}
.offer .bonus .bx{font-size:12.5px;color:var(--accent);font-weight:700;margin-top:3px}
.offer .terms{display:flex;flex-direction:column;gap:7px}
.offer .terms .t{display:flex;justify-content:space-between;gap:12px;font-size:12.5px;border-bottom:1px dashed var(--border-muted);padding-bottom:6px}
.offer .terms .t:last-child{border:0;padding:0}
.offer .terms .t span{color:var(--ink-muted)}
.offer .terms .t b{font-weight:700}
.offer .cta{display:flex;flex-direction:column;align-items:stretch;gap:7px}
.offer .cta-meta{display:flex;flex-direction:column;gap:3px}
.offer .cta .rev{font-size:12px;font-weight:700;color:var(--ink);opacity:.7;text-align:center;padding:4px 0}
.offer .cta .rev:hover{color:var(--accent);opacity:1}
.offer .cta .tcs{display:inline-block;padding:5px 0;font-size:10px;color:var(--ink-muted);text-align:center;letter-spacing:.02em}
.ribbon{position:absolute;top:-1px;left:-1px;background:var(--accent);color:#fff;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;padding:4px 10px;border-radius:var(--radius-md) 0 var(--radius-md) 0}

/* ---------- footer ---------- */
.site-foot{background:var(--ink);color:rgba(255,255,255,.66);margin-top:0;padding:56px 0 30px}
.site-foot .cols{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px}
.site-foot .logo-wm{color:#fff}
.site-foot .logo-wm b{color:var(--accent-bright)}
.site-foot p.blurb{margin-top:16px;font-size:13px;max-width:34ch;line-height:1.6}
.site-foot .fh{color:#fff;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;margin:0 0 14px}
.site-foot ul{list-style:none;display:flex;flex-direction:column;gap:1px}
/* 24px min touch target: block link with vertical padding instead of list gap */
.site-foot ul a{display:inline-block;padding:4px 0;font-size:13px;opacity:.7}
.site-foot ul a:hover{opacity:1;color:var(--accent-hover)}
.site-foot .legal{margin-top:42px;padding-top:22px;border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:11.5px;color:rgba(255,255,255,.5);line-height:1.6}
.site-foot .badges{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px}
.site-foot .badges .b{font-family:"Space Grotesk",Inter,sans-serif;font-size:10px;font-weight:700;letter-spacing:.08em;color:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.22);border-radius:4px;padding:5px 9px}

/* ---------- generic card ---------- */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md)}
.cap{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-muted)}

/* ---------- responsive ---------- */
@media(max-width:1000px){
  .nav{display:none}
  .offer{grid-template-columns:1fr 1fr;grid-row-gap:18px}
  .offer .terms{grid-column:1/3}
  .offer .cta{grid-column:1/3;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:14px}
  .offer .cta .btn{flex:1}
  /* Play left, "bonus details" over small T&Cs stacked on the right */
  .offer .cta-meta{align-items:flex-end}
  .offer .cta .rev,.offer .cta .tcs{text-align:right}
  .offer .cta .rev{font-size:13.5px;opacity:.85}
  .site-foot .cols{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .wrap,.site-head .in,.microbar .in{padding-left:20px;padding-right:20px}
  /* Phone header: the wordmark gives way to a full-width search field.
     Keep the spade chip, stretch the search between it and the burger. */
  .site-head .in{gap:12px}
  .logo .logo-wm{display:none}
  .head-actions{flex:1;margin-left:12px;gap:10px}
  .search-wrap{flex:1;min-width:0}
  .search{display:inline-flex;min-width:0;width:100%;padding:9px 14px}
  .search-pop{width:auto;left:0;right:0;max-width:none}
  .microbar .sp{display:none}
  .section{padding:40px 0}
  .section .head{margin-bottom:20px}
  .section .head h2{font-size:clamp(21px,6.4vw,28px)}
  .section .sec-more{display:flex;justify-content:center;margin-top:18px}
  .offer{grid-template-columns:1fr}
  .offer .rank{display:none}
  .offer .terms{grid-column:auto}
  .offer .cta{grid-column:auto}
  .site-foot{padding:40px 0 96px}
  /* Two columns, not one: the four groups stacked into a single 20-link
     column with 40px between groups, so the footer was most of a screen of
     scrolling. The brand block keeps the full width above them. */
  .site-foot .cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px}
  .site-foot .cols > :first-child{grid-column:1/-1}
}

/* === appended: extracted from @push('styles') partials (header, mobile-drawer, mobile-bottom-bar) === */

/* --- header.blade.php --- */
  /* burger only on narrow viewports; .nav already hides at <1000px via site.css */
  .burger{display:none;background:transparent;border:1px solid var(--border);border-radius:var(--radius-sm);
          padding:6px 10px;font-size:18px;line-height:1;color:var(--ink);cursor:pointer}
  .burger:hover{border-color:var(--ink)}
  @media(max-width:1000px){
    .burger{display:inline-flex;align-items:center;justify-content:center}
    .head-actions{gap:10px}
  }
  @media(max-width:640px){
    .head-actions .btn-primary{display:none}
  }

/* --- mobile-drawer.blade.php --- */
  /* ---------- mobile drawer (pure CSS, no JS) ---------- */
  .m-drawer-cb{position:absolute;opacity:0;pointer-events:none;width:0;height:0}
  /* drawer = modal: scrim 940 / panel 950, above the cookie banner (900), below the age gate (1000) */
  .m-drawer-scrim{position:fixed;inset:0;background:rgba(11,11,15,.55);
                  opacity:0;visibility:hidden;transition:opacity .2s ease;z-index:940;cursor:pointer}
  .m-drawer{position:fixed;top:0;right:0;bottom:0;width:88%;max-width:360px;
            background:var(--surface);box-shadow:var(--shadow-lift);
            transform:translateX(100%);transition:transform .25s ease;
            z-index:950;display:flex;flex-direction:column;
            visibility:hidden}
  .m-drawer-cb:checked ~ .m-drawer-scrim{opacity:1;visibility:visible}
  .m-drawer-cb:checked ~ .m-drawer{transform:translateX(0);visibility:visible}
  .m-drawer-cb:focus-visible ~ .m-drawer-scrim{outline:2px solid var(--accent);outline-offset:-2px}

  .m-drawer-top{background:var(--accent);color:#fff;
                padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}
  .m-drawer-top .m-drawer-brand{font-family:var(--font-heading);font-weight:800;font-size:17px;letter-spacing:-.02em;color:#fff}
  .m-drawer-top .m-drawer-brand b{color:#fff;background:rgba(255,255,255,.18);padding:1px 6px;border-radius:3px;margin-left:2px}
  .m-drawer-close{appearance:none;-webkit-appearance:none;border:0;background:rgba(255,255,255,.14);
                  color:#fff;width:36px;height:36px;border-radius:50%;
                  display:grid;place-items:center;font-size:18px;line-height:1;cursor:pointer;
                  font-family:"Inter",sans-serif}
  .m-drawer-close:hover{background:rgba(255,255,255,.26)}

  .m-drawer-nav{flex:1 1 auto;overflow-y:auto;padding:6px 0;-webkit-overflow-scrolling:touch}
  .m-drawer-nav > a{display:flex;align-items:center;gap:11px;min-height:48px;padding:12px 20px;
                  font-size:15px;font-weight:600;color:var(--ink);
                  border-left:3px solid transparent;
                  border-bottom:1px solid var(--border-muted)}
  .m-acc-lead{display:flex;align-items:center;gap:11px}
  .m-ic{display:inline-flex;width:20px;height:20px;color:var(--accent);opacity:.9;flex:none}
  .m-ic svg{width:100%;height:100%}
  .m-drawer-nav > a:hover{background:var(--accent-soft);border-left-color:var(--accent)}
  .m-drawer-nav > a.on{background:var(--accent-soft);border-left-color:var(--accent);color:var(--accent)}
  /* accordion (mirrors the desktop mega-dropdown groups; single source = site_nav_menu) */
  .m-acc{border-bottom:1px solid var(--border-muted)}
  .m-acc > summary{list-style:none;display:flex;align-items:center;justify-content:space-between;
                   min-height:48px;padding:12px 20px;font-size:15px;font-weight:600;color:var(--ink);
                   cursor:pointer;border-left:3px solid transparent}
  .m-acc > summary::-webkit-details-marker{display:none}
  .m-acc > summary::marker{content:"";display:none}
  .m-acc[open] > summary{background:var(--accent-soft);border-left-color:var(--accent);color:var(--accent)}
  .m-acc-caret{font-size:10px;opacity:.6;transition:transform .15s}
  .m-acc[open] .m-acc-caret{transform:rotate(180deg)}
  .m-acc-body{background:var(--bg)}
  .m-acc-body .m-acc-h{display:block;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
                       color:var(--ink-muted);padding:11px 20px 3px}
  .m-acc-body a{display:flex;align-items:center;min-height:42px;padding:9px 20px 9px 32px;
                font-size:14px;font-weight:500;color:var(--ink);opacity:.82;border-top:1px solid var(--border-muted)}
  .m-acc-body a:hover{opacity:1;color:var(--accent);background:var(--accent-soft)}

  .m-drawer-sec{padding:14px 20px 4px;border-top:1px solid var(--border)}
  .m-drawer-sec .lbl{font-size:10px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;
                     color:var(--ink-muted);margin-bottom:8px}
  .m-drawer-sec a{display:flex;align-items:center;min-height:44px;padding:10px 0;
                  font-size:13.5px;color:var(--ink);opacity:.78}
  .m-drawer-sec a:hover{opacity:1;color:var(--accent)}

  .m-drawer-foot{border-top:1px solid var(--border);background:var(--bg)}
  .m-drawer-foot .btn{width:100%}
  .m-acc-cur{margin-left:9px;font-family:"Space Grotesk",sans-serif;font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--accent);background:var(--accent-soft);border-radius:5px;padding:2px 7px}
  .m-acc-body a b{font-family:"Space Grotesk",sans-serif;font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--accent);min-width:24px;display:inline-block;margin-right:8px}
  .m-drawer-foot .lbl{font-size:10px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--ink-muted);margin-bottom:10px}
  .m-drawer-langs{display:flex;flex-wrap:wrap;gap:6px}
  .m-drawer-langs a{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
                    padding:6px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--ink);opacity:.7}
  .m-drawer-langs a.on{background:var(--accent);color:#fff;border-color:var(--accent);opacity:1}
  .m-drawer-langs a:hover{border-color:var(--accent);color:var(--accent);opacity:1}
  .m-drawer-langs a.on:hover{color:#fff}

  /* lock body scroll when open (CSS-only via :has, progressive) */
  body:has(.m-drawer-cb:checked){overflow:hidden}

  @media (min-width:1000px){
    .m-drawer-cb,.m-drawer-scrim,.m-drawer{display:none}
  }

/* --- mobile-bottom-bar.blade.php --- */
  /* ---------- mobile bottom bar ---------- */
  .mbb{position:fixed;left:0;right:0;bottom:0;z-index:60;
       height:56px;display:flex;justify-content:space-around;align-items:stretch;
       background:var(--surface);border-top:1px solid var(--border);
       box-shadow:0 -8px 22px -18px rgba(11,11,15,.35);
       padding-bottom:env(safe-area-inset-bottom,0)}
  .mbb-item{flex:1 1 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
            font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
            color:var(--ink-muted);min-height:56px;text-decoration:none}
  .mbb-item .ic{font-family:Georgia,serif;font-size:18px;line-height:1;color:var(--ink-muted)}
  .mbb-item:hover,.mbb-item:hover .ic{color:var(--ink)}
  .mbb-item.on,.mbb-item.on .ic{color:var(--accent)}

  /* push page content above the bar (mobile only) */
  body{padding-bottom:0}
  @media (max-width:767px){
    body{padding-bottom:calc(56px + env(safe-area-inset-bottom,0))}
  }

  @media (min-width:768px){
    .mbb{display:none}
    body{padding-bottom:0}
  }

/* === SMB modals + 404 — purple/ink brand === */

/* age gate */
.smb-age-gate__form{display:flex;width:100%}
@media(min-width:520px){
  .smb-age-gate__form{flex:1}
}

/* cookie banner */
.smb-cookie{position:fixed;bottom:0;left:0;right:0;z-index:900;background:var(--surface);color:var(--ink);
  border-top:1px solid var(--border);box-shadow:0 -12px 30px -20px rgba(11,11,15,.35);
  padding-bottom:env(safe-area-inset-bottom,0)}
.smb-cookie__inner{max-width:420px;margin:0 auto;padding:12px 16px}
.smb-cookie__head{margin-bottom:6px}
.smb-cookie__eyebrow{font-size:9.5px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;
  color:var(--accent);margin:0 0 2px}
.smb-cookie__title{font-size:13px;font-weight:700;color:var(--ink);margin:0}
.smb-cookie__body{font-size:11.5px;line-height:1.5;color:var(--ink-muted);margin:0 0 10px}
.smb-cookie__body a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.smb-cookie__body a:hover{color:var(--accent-text)}
.smb-cookie__prefs{border-top:1px solid var(--border-muted);padding-top:8px;margin-bottom:10px;
  display:flex;flex-direction:column;gap:0}
.smb-cookie__row{display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:6px 2px;cursor:pointer;font-size:11px;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:var(--ink)}
.smb-cookie__row--locked{opacity:.55;cursor:not-allowed}
.smb-cookie__row input[type=checkbox]{appearance:auto;-webkit-appearance:auto;width:14px;height:14px;
  accent-color:var(--accent)}
.smb-cookie__cta{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.smb-cookie__cta .btn{flex:1 1 auto;min-height:34px;padding:7px 11px;font-size:11px}
.smb-cookie__link{background:transparent;border:0;color:var(--accent);font-size:10.5px;font-weight:800;
  letter-spacing:.1em;text-transform:uppercase;cursor:pointer;padding:6px 8px;border-radius:var(--radius-sm)}
.smb-cookie__link:hover{background:var(--accent-soft);color:var(--accent-text)}
.smb-cookie__cta .btn,.smb-cookie__link{min-height:44px}
.smb-cookie__row{min-height:44px}
.smb-cookie__row input[type=checkbox]{width:20px;height:20px}
.smb-cookie.smb-cookie--inline{position:static;max-width:none;border:0;border-bottom:1px solid var(--border);border-radius:0;box-shadow:none;padding-bottom:0}
.smb-cookie--inline .smb-cookie__inner{max-width:760px}
/* font:inherit took the <li>'s 16px, so "Cookie settings" sat three sizes
   above the links beside it. It is one of them: same size, same opacity. */
.site-foot__link-button{display:inline-flex;align-items:center;min-height:44px;margin:-10px 0;padding:0;line-height:inherit;
  border:0;background:transparent;color:inherit;font:inherit;font-size:13px;opacity:.7;text-align:left;cursor:pointer}
.site-foot__link-button:hover{opacity:1}
.site-foot__link-button:hover,.site-foot__link-button:focus-visible{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
@media(min-width:768px){
  .smb-cookie{bottom:14px;left:14px;right:auto;max-width:360px;border:1px solid var(--border);border-radius:8px;
    box-shadow:0 18px 40px -20px rgba(11,11,15,.45)}
  .smb-cookie__inner{padding:14px 16px}
}

/* 404 */
.smb-404{padding:48px 0 64px;min-height:auto;display:flex;align-items:center}
.smb-404__wrap{max-width:520px;text-align:center}
.smb-404__eyebrow{font-size:10px;font-weight:800;letter-spacing:.22em;text-transform:uppercase;
  color:var(--accent);margin:0 0 10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.smb-404__big{font-family:var(--font-heading);font-weight:800;font-size:clamp(80px,15vw,140px);
  line-height:.9;color:var(--ink);letter-spacing:-.04em;margin:0 0 10px;user-select:none}
.smb-404__big .p{color:var(--accent)}
.smb-404__title{font-family:var(--font-heading);font-weight:800;font-size:clamp(22px,3vw,30px);
  line-height:1.1;color:var(--ink);margin:0 0 10px;letter-spacing:-.01em}
.smb-404__body{font-size:14px;line-height:1.55;color:var(--ink-muted);margin:0 0 20px}
.smb-404__cta{display:flex;flex-direction:column;gap:8px;justify-content:center;margin-bottom:22px}
@media(min-width:520px){
  .smb-404__cta{flex-direction:row}
}
.smb-404__or{font-size:10px;font-weight:800;letter-spacing:.22em;text-transform:uppercase;
  color:var(--ink-faint);margin:0 0 8px}
.smb-404__links{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;list-style:none;padding:0;margin:0}
.smb-404__links a{display:inline-flex;align-items:center;padding:7px 12px;border:1px solid var(--border);
  border-radius:999px;color:var(--ink-muted);font-size:10.5px;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;text-decoration:none;transition:.15s}
.smb-404__links a:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}

/* copy-code chip (promo code on offer cards) */
.bx-copy{display:inline-flex;align-items:center;gap:6px;cursor:pointer;border:1px dashed var(--border);background:var(--surface);border-radius:8px;padding:4px 9px;font:inherit;font-size:12px;color:var(--ink);position:relative;transition:.14s;-webkit-tap-highlight-color:transparent;user-select:none}
.bx-copy:hover{border-style:solid;border-color:var(--accent)}
.bx-copy .bx-label{color:var(--ink-muted);font-weight:600}
.bx-copy .bx-val{font-family:var(--font-mono);letter-spacing:.12em;text-transform:uppercase;font-weight:700}
.bx-copy .bx-ico{opacity:.5;flex:none}
.bx-copy:hover .bx-ico{opacity:.9}
.bx-copy .bx-done{position:absolute;inset:0;display:none;align-items:center;justify-content:center;background:var(--accent);color:#fff;border-radius:7px;font-weight:700;font-size:12px;letter-spacing:.02em}
.bx-copy.copied .bx-done{display:flex}
[data-copy-code]{min-height:44px}
.copy-manual{display:flex;flex-direction:column;gap:6px;max-width:100%;margin-top:8px;font-size:12px;color:var(--ink)}
.copy-manual input{box-sizing:border-box;min-height:44px;width:100%;min-width:0;border:1px solid var(--accent);border-radius:8px;padding:8px;font:inherit;color:var(--ink);background:var(--surface);user-select:text}

/* CMS rich-text slot (default/sections/rich-text) on code-owned pages — the
   resolver pages get the same rules from default/sections/_styles. */
.p-rich{margin-top:36px;margin-bottom:36px;font-size:15px;line-height:1.7;color:var(--ink-2)}
.p-rich h2{font-family:var(--font-heading);font-weight:800;font-size:clamp(20px,2.6vw,26px);margin:0 0 14px;color:var(--ink);line-height:1.1}
.p-rich h3{font-weight:700;margin:22px 0 8px}
.p-rich p{margin:0 0 12px}
.p-rich ul,.p-rich ol{margin:12px 0;padding-left:22px}
.p-rich li{margin:6px 0}
.p-rich a{color:var(--accent);text-decoration:underline;text-underline-offset:.15em}

/* ============================================================
   GrabMyCode ticket identity (global layer; the .gmc component
   sheet in components/grabmycode/styles.blade.php mirrors these
   tokens for the feed components)
============================================================ */
/* perforated left edge: 6px half-circles of --bg punched into --surface at a
   12px pitch — pure CSS, never an image */
.ticket{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-ticket);transition:transform .25s ease-out,box-shadow .25s}
.ticket::before{content:"";position:absolute;left:-1px;top:8px;bottom:8px;width:12px;background:radial-gradient(circle at 0 50%,var(--bg) 6px,transparent 6.5px) 0 0/12px 12px repeat-y}
.ticket:hover{box-shadow:var(--shadow-lift);transform:translateY(-1px)}
.ticket.is-torn{transform:translate(8px,0) rotate(3deg);box-shadow:var(--shadow-lift)}
.ticket-tear{border-top:1px dashed var(--border);margin:12px 0;height:0}
.code-xl{font-family:var(--font-mono);font-weight:700;font-size:clamp(22px,4.4vw,30px);letter-spacing:.12em;text-transform:uppercase;line-height:1.2}
.code-md{font-family:var(--font-mono);font-weight:700;font-size:20px;letter-spacing:.12em;text-transform:uppercase;line-height:1.4}

/* feed grid: 1 col to 767px, 2 cols from 768px (sidebar layouts keep their own) */
.gmc-feed{display:grid;gap:24px;grid-template-columns:1fr;align-items:start}
@media(min-width:768px){.gmc-feed{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* LIVE pill (header): real count of live codes, dot pulses 2s */
.gmc-live{display:inline-flex;align-items:center;gap:7px;padding:5px 12px;border-radius:var(--radius-pill);border:1px solid var(--border);background:var(--surface);font-size:12px;font-weight:700;color:var(--ink);white-space:nowrap}
.gmc-live i{width:8px;height:8px;border-radius:50%;background:var(--accent);animation:gmc-live-pulse 2s infinite}
@keyframes gmc-live-pulse{0%,100%{box-shadow:0 0 0 0 var(--accent-soft)}50%{box-shadow:0 0 0 4px var(--accent-soft)}}
@media(max-width:640px){.gmc-live{display:none}}

/* "+N new — show" pill above the feed (hidden until an AJAX feed wires it) */
.gmc-new-pill{display:none;margin:0 auto 16px;padding:8px 16px;min-height:44px;align-items:center;border-radius:var(--radius-pill);border:1px solid var(--accent-line);background:var(--accent-soft);color:var(--accent-text);font-weight:700;font-size:13px;cursor:pointer}
.gmc-new-pill.is-show{display:inline-flex}
.gmc-slide-in{animation:gmc-slide-in .3s ease-out;background:var(--accent-soft);transition:background 2s}
@keyframes gmc-slide-in{from{transform:translateY(-8px);opacity:0}to{transform:none;opacity:1}}

/* focus ring: solid 2px, offset 2 (README States) */
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--focus);outline-offset:2px}

@media(prefers-reduced-motion:reduce){
  .ticket,.ticket.is-torn{transition:none;transform:none}
  .gmc-live i{animation:none}
  .gmc-slide-in{animation:none;transition:none}
}

/* ─────────────────────────────────────────────────────────────────────────
   Comfortable tap targets on touch widths (Apple HIG / WCAG 2.5.5 AAA: 44px).
   The 24px AA floor is met by the rules above on every width; this block takes
   the standalone controls the rest of the way where a finger, not a cursor, is
   doing the pointing. min-height with centring rather than padding, so the
   type, the underlines and the grid tracks all stay exactly where they are.
   Scoped to <=1000px: pointer-based widths keep the compact spacing.
   ───────────────────────────────────────────────────────────────────────── */
@media(max-width:1000px){
  /* iOS Safari zooms the viewport when an editable control is focused below
     16px. Keep mobile forms stable without inflating button/chip typography. */
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=button]):not([type=submit]):not([type=reset]),
  select,
  textarea{font-size:16px!important}

  /* Footer and menu lists: one link per row, so growing the row is free. */
  .site-foot li > a,
  .site-foot .legal a,
  nav.toc a{min-height:44px;display:flex;align-items:center}

  /* Offer-card meta links ("Bonus details →", "T&Cs apply") and the code copy
     button — the controls a visitor actually aims at on a card. */
  .offer .cta .rev,
  .offer .cta .tcs,
  .bx.bx-copy{min-height:44px;display:inline-flex;align-items:center;justify-content:center}

  /* Small buttons in card footers and the brand mark. */
  .foot .btn.btn-sm,
  .btn.btn-sm{min-height:44px}
  .logo{min-height:44px;min-width:44px}

  /* Chips, selects and the remaining inline controls. */
  .chip,
  .pay-tabs .chip,
  .cselect-btn,
  .section .head .more,
  .section .sec-more .more,
  .p-section .sec-head .more,
  .row .sb,
  .who,
  .pop-chips a{min-height:44px;display:inline-flex;align-items:center}

  /* The remainder: calculator actions, the search clear button, the author
     card's "Read →" and the tag links in post meta. */
  .calc-actions .reset,
  .calc-output .how,
  .blog-card-mini .arrow,
  .related-card .arrow,
  .meta a,
  .sp a{min-height:44px;display:inline-flex;align-items:center}
  .search-clear{min-height:44px;min-width:44px}
}

/* ==== mobile pass (390 review, 2026-11-13) =================================
   Mobile-only corrections. Everything sits inside max-width queries so the
   desktop layout is untouched. `body` prefix: gmc.css and the inline page
   styles load after this file and would otherwise win on equal specificity. */
@media(max-width:767px){
  /* Tap targets: real controls grow to 44px (the mobile contract's floor). */
  body .gmc-iconbtn{width:44px;height:44px}
  body .gmc-chip,
  body .fbtn{height:44px}
  body .cl-tab,
  body .pv-item,
  body .bo-geo-btn{min-height:44px;display:inline-flex;align-items:center}
  body .cg-star{min-width:44px;min-height:44px;display:inline-grid;place-items:center}
  body a.gmc-fn-stat__link{min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box}
  body .cg-rate{flex-wrap:wrap;gap:2px 12px}
  body .cg-stars{gap:0;margin-left:-8px}
  body .cmp2-head a.cmp2-name{min-height:44px}
  body .gmc-crow__review{align-self:stretch;display:inline-flex;align-items:center;min-height:44px}
  body .gmc-rank li{padding:0}
  body .gmc-rank__name{padding:10px 0}

  /* Tap targets: text links keep their look, the hit area grows around them. */
  body .gmc-ticket__claim,
  body .gmc-code__review,
  body .gmc-featured__read,
  body .gmc-sidecard__more,
  body .wtp-more,
  body .gmc-live,
  body .crumb a,
  body .gmc-ticket__title a,
  body .gmc-crow__name a,
  body .gmc-pick__title a{position:relative}
  body .gmc-ticket__claim::after,
  body .gmc-code__review::after,
  body .gmc-featured__read::after,
  body .gmc-sidecard__more::after,
  body .wtp-more::after,
  body .crumb a::after{content:"";position:absolute;inset:-12px -8px}
  body .gmc-ticket__claim::after{inset:-8px -10px -14px}
  body .gmc-live::after{content:"";position:absolute;inset:-6px -2px}
  body .gmc-ticket__title a::after,
  body .gmc-crow__name a::after,
  body .gmc-pick__title a::after{content:"";position:absolute;inset:-10px 0}

  /* Test/real casinos render tickets, code rows and rank lists; the ::after
     hit areas above do not grow the element's own box, which is what the
     mobile contract (and a thumb) measures. Grow the box to the 44px floor and
     take the growth back with negative margins, so the copy does not move. */
  body a.gmc-ticket__claim,
  body a.gmc-code__review,
  body a.gmc-featured__read,
  body a.gmc-sidecard__more,
  body a.gmc-mf__all,
  body a.gmc-gcodes__all,
  body a.gmc-crow__all{display:inline-flex;align-items:center;min-height:44px;min-width:44px;box-sizing:border-box;margin-top:-12px;margin-bottom:-12px}
  body a.gmc-sidecard__more{margin-top:-2px}
  body a.gmc-mf__all{margin-top:0}
  body a.gmc-featured__read{margin-bottom:0}
  body a.gmc-codecas__name{display:block;padding:13px 0;margin:-13px 0}
  body .gmc-rank__name{padding:12px 0}
  body .gmc-crow__review,
  body a.chip{min-width:44px;justify-content:center}
  /* Pills: the box grows with a transparent top/bottom border, the painted
     pill stays 28/32px (background clipped to the padding box, 1px ring drawn
     as an inset shadow). */
  body a.gmc-live{height:44px;box-sizing:border-box;border:8px solid transparent;border-left:0;border-right:0;background-clip:padding-box;box-shadow:inset 0 0 0 1px var(--border);margin:-8px 0}
  body .in-page-nav a{height:44px;box-sizing:border-box;border:6px solid transparent;border-left:0;border-right:0;background-clip:padding-box;box-shadow:inset 0 0 0 1px var(--border-muted);margin:-6px 0}
  body .in-page-nav a:hover{border-color:transparent;box-shadow:inset 0 0 0 1px var(--gmc-peach,#f8d4ad)}
}
@media(max-width:520px){
  /* "How a code earns its place": two 150px columns squeeze the step copy to
     three words a line on a phone. */
  body .gmc-band__steps{grid-template-columns:1fr}
  /* About manifesto signature: three flex items in 318px broke mid-phrase. */
  body .manifesto .sig{flex-wrap:wrap;gap:4px 14px}
}

/* header panels (mega menu, dropdowns, popovers, search suggestions) open inside .site-head,
   a z:50 stacking context; lift the whole bar while one is open so it clears the cookie
   banner (900). Stays below the drawer (950) and the age gate (1000). */
.site-head:has(.nav-item:hover,.nav-item:focus-within,.more-menu:hover,.more-menu:focus-within,.more-menu.is-open,[aria-expanded="true"]){z-index:910}
