/* ==========================================================================
   150+ Odds — brand stylesheet
   Logo: "The Badge" (lime #C6F432 on ground #0E1512).
   Type: Bricolage Grotesque (display + body), IBM Plex Mono (labels, codes, odds).
   Contrast: every text pair below is >= 4.5:1 (checked).
   ========================================================================== */
:root {
  color-scheme: dark;
  /* ground + surfaces */
  --bg: #0E1512;
  --surface: #151F1B;
  --surface-2: #1B2823;
  --surface-3: #22312B;
  --line: rgba(244, 241, 234, .09);
  --line-strong: rgba(244, 241, 234, .17);
  /* text */
  --ink: #F4F1EA;
  --muted: #A7B3AC;
  --faint: #7E8B84;
  /* brand */
  --lime: #C6F432;
  --lime-hover: #D4F95C;
  --on-lime: #0E1512;
  --lime-tint: rgba(198, 244, 50, .10);
  --lime-line: rgba(198, 244, 50, .38);
  /* meaning */
  --money: #2EE59D;          /* earnings, wins, success */
  --money-tint: rgba(46, 229, 157, .12);
  --amber: #F2A541;          /* warnings, risk */
  --amber-ink: #F7C774;
  --amber-tint: rgba(242, 165, 65, .12);
  --amber-line: rgba(242, 165, 65, .45);
  --red: #FF6B57;
  --red-ink: #FFB4A8;
  --red-tint: rgba(255, 107, 87, .12);
  --blue: #8CC4FF;           /* links, info */
  --blue-tint: rgba(140, 196, 255, .09);
  /* shape + motion */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 12px 32px rgba(0, 0, 0, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);          /* strong ease-out: UI responses */
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);  /* iOS-like sheet curve */
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --tabbar-h: 0px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: 96px;
       scrollbar-color: var(--surface-3) var(--bg); }
body {
  margin: 0; min-height: 100svh; color: var(--ink);
  background: radial-gradient(900px 520px at 78% -140px, rgba(198, 244, 50, .085), transparent 70%),
              radial-gradient(700px 420px at -10% 0, rgba(46, 229, 157, .04), transparent 70%), var(--bg);
  background-repeat: no-repeat;
  font: 400 16px/1.55 var(--body); font-optical-sizing: auto;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-underline-offset: 3px; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
           clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: var(--r-sm);
             background: var(--lime); color: var(--on-lime); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px) 32px; }

/* ---------------------------------------------------------------- type */
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 10px; }
h1 { font-size: clamp(42px, 8.5vw, 76px); letter-spacing: -.04em; }
h2 { font-size: clamp(22px, 3.2vw, 28px); }
h3 { font-size: 20px; letter-spacing: -.015em; }
p { margin: 0 0 12px; }
b, strong { font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.accent { color: var(--lime); }
.center-text { text-align: center; margin-top: 14px; }
.mono-label, .eyebrow, .code-label, .summary dt, .when span, .stats span {
  font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.mono-label { display: block; font-size: 11px; color: var(--muted); }

/* ---------------------------------------------------------------- header + nav */
.topbar { display: flex; align-items: center; gap: 16px; padding: 18px 0 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand-mark { width: 44px; height: 44px; display: block; }
.brand-words { display: flex; flex-direction: column; line-height: .9; }
.brand-name { font: 800 30px/0.9 var(--display); letter-spacing: -.04em; }
.brand-tag { font: 500 10.5px/1 var(--mono); letter-spacing: .28em; text-transform: uppercase; color: var(--lime); padding-top: 6px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a, .nav-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 12px;
                    color: var(--muted); font: 600 15px/1 var(--body); text-decoration: none; background: none; border: 0; cursor: pointer;
                    transition: color .15s var(--ease), background-color .15s var(--ease); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--lime); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.top-actions form { margin: 0; }
.top-actions .nav-cta { width: auto; }

/* phone tab bar */
.tabbar { display: none; }
@media (max-width: 720px) {
  :root { --tabbar-h: 66px; }
  .nav { display: none; }
  .brand-name { font-size: 26px; }
  .brand-mark { width: 40px; height: 40px; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
            padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); background: rgba(14, 21, 18, .94);
            border-top: 1px solid var(--line-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px;
              border-radius: 12px; color: var(--muted); text-decoration: none; font: 600 11.5px/1.1 var(--body); }
  .tabbar a .icon { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"] { color: var(--lime); background: var(--lime-tint); }
  .top-actions .nav-link span { display: none; }
  .top-actions .nav-link { padding: 8px 12px; }
}

/* flash messages */
.flash { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 4px; padding: 12px 14px; border-radius: var(--r);
         background: var(--money-tint); border: 1px solid rgba(46, 229, 157, .4); color: #CFF8E6; }
.flash .icon { color: var(--money); margin-top: 3px; }
.flash-error { background: var(--red-tint); border-color: rgba(255, 107, 87, .45); color: var(--red-ink); }
.flash-error .icon { color: var(--red); }

/* footer */
.site-footer { display: grid; gap: 14px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand b { display: block; color: var(--ink); font: 800 18px/1 var(--display); letter-spacing: -.02em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: var(--muted); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.footer-legal { margin: 0; font-size: 13px; }
.age { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 8px; border: 2px solid var(--amber);
       border-radius: 50%; color: var(--amber-ink); font: 600 10px/1 var(--mono); vertical-align: middle; }
@media (min-width: 900px) { .site-footer { grid-template-columns: auto 1fr; align-items: center; } .footer-legal { grid-column: 1 / -1; } .footer-links { justify-content: flex-end; } }

/* ---------------------------------------------------------------- surfaces + layout */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 26px); box-shadow: var(--shadow); }
.stack > * + * { margin-top: 16px; }
.narrow { max-width: 680px; margin: 0 auto; padding-top: 20px; }
.wide { max-width: 1000px; margin: 0 auto; padding-top: 20px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.page-head .btn { width: auto; }
.page-title { font-size: clamp(32px, 6vw, 46px); margin-bottom: 6px; }
.form-section { margin: 24px 0 12px; font-size: 20px; }
.grid-2 { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 12px 20px;
       border: 0; border-radius: var(--r); cursor: pointer; font: 700 17px/1.2 var(--body); letter-spacing: -.01em;
       text-decoration: none; text-align: center;
       transition: transform .16s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease), filter .15s var(--ease), color .15s var(--ease); }
.btn:active { transform: scale(.97); filter: brightness(.94); }
.btn[data-state="copied"] { background: var(--money); color: var(--on-lime); border-color: var(--money); box-shadow: 0 8px 24px rgba(46, 229, 157, .2); }
.btn-primary { background: var(--lime); color: var(--on-lime); box-shadow: 0 8px 24px rgba(198, 244, 50, .18); }
.btn-ghost { background: rgba(244, 241, 234, .05); color: var(--ink); border: 1px solid var(--line-strong); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 15px; border-radius: 12px; }
.btn[disabled] { cursor: progress; }
.btn[disabled]:not(.loading) { cursor: not-allowed; opacity: .5; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.btn .spinner { display: none; }
.btn.loading .spinner { display: inline-block; }
.btn.loading .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- forms */
.field { margin-bottom: 16px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type=email], input[type=text], input[type=password], input[type=datetime-local], textarea, select {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 16px/1.4 var(--body); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
textarea { resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(198, 244, 50, .18); }
[aria-invalid=true] { border-color: var(--red) !important; }
/* ---------------------------------------------------------------- WhatsApp chat */
.wa { --wa-gap: calc(var(--tabbar-h, 0px) + env(safe-area-inset-bottom, 0px) + 18px);
      position: fixed; right: 18px; bottom: var(--wa-gap); z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
body:has(.rebook-bar, .save-bar) .wa { bottom: calc(var(--wa-gap) + 76px); }
.wa-fab { width: 60px; height: 60px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
          background: #25D366; color: #fff; box-shadow: 0 0 0 8px rgba(37, 211, 102, .16), 0 8px 24px rgba(0, 0, 0, .35);
          transition: transform .15s var(--ease); }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wa-fab svg { width: 34px; height: 34px; }
.wa-panel { width: min(360px, calc(100vw - 36px)); border-radius: 18px; overflow: hidden; background: #EFEAE2; color: #111B21;
            box-shadow: 0 18px 48px rgba(0, 0, 0, .45); font-family: var(--body); }
.wa-panel[hidden] { display: none; }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: #075E54; color: #fff; }
.wa-avatar { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #0E1512; border: 2px solid rgba(255, 255, 255, .25); }
.wa-avatar img { width: 30px; height: 30px; }
.wa-online { position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #25D366; border: 2px solid #075E54; }
.wa-who { display: grid; gap: 2px; margin-right: auto; min-width: 0; }
.wa-who b { font: 700 16px/1.2 var(--display); }
.wa-who span { font-size: 12.5px; opacity: .85; }
.wa-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.wa-close:hover { background: rgba(255, 255, 255, .12); }
.wa-body { min-height: 150px; padding: 18px 16px; background-color: #EFEAE2;
           background-image: radial-gradient(rgba(17, 27, 33, .05) 1px, transparent 1px); background-size: 14px 14px; }
.wa-bubble { position: relative; max-width: 85%; padding: 8px 12px 10px; border-radius: 0 10px 10px 10px; background: #fff;
             font-size: 15px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.wa-bubble::before { content: ""; position: absolute; left: -8px; top: 0; border: 8px solid transparent; border-top-color: #fff; border-right-color: #fff; border-width: 0 8px 10px 0; }
.wa-from { display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 600; color: #667781; }
.wa-send { display: flex; gap: 8px; align-items: flex-end; padding: 10px 10px 4px; background: #F0F2F5; }
.wa-send textarea { flex: 1; min-height: 44px; max-height: 120px; padding: 11px 16px; border: 0; border-radius: 22px; resize: none;
                    font: 400 15px/1.4 var(--body); color: #111B21; background: #fff; }
.wa-send textarea:focus { outline: 2px solid #25D366; box-shadow: none; }
.wa-send button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: #25D366; color: #fff; }
.wa-send button svg { width: 22px; height: 22px; }
.wa-note { margin: 0; padding: 2px 16px 10px; background: #F0F2F5; font-size: 11.5px; color: #667781; text-align: center; }
@media (max-width: 720px) { .wa { right: 14px; } .wa-fab { width: 54px; height: 54px; } .wa-fab svg { width: 30px; height: 30px; } }

.code-input { font: 600 20px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.code-input::placeholder { font: 400 16px/1.4 var(--body); letter-spacing: normal; text-transform: none; }
.convert-cta { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.convert-cta p { margin: 4px 0 0; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 52px; }
.pw-toggle { position: absolute; top: 0; right: 0; width: 50px; height: 100%; display: grid; place-items: center;
             background: none; border: 0; border-radius: 0 12px 12px 0; color: var(--muted); cursor: pointer; }
.pw-toggle:hover { color: var(--ink); }
.pw-toggle:focus-visible { outline: 2px solid var(--lime); outline-offset: -4px; }
input::-ms-reveal, input::-ms-clear { display: none; }
.field-error { display: flex; gap: 6px; align-items: center; margin-top: 6px; color: var(--red-ink); font-size: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 18px; font-weight: 400; color: var(--muted); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--lime); cursor: pointer; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span { display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--line-strong); border-right: 0;
                     border-radius: 12px 0 0 12px; background: var(--surface-2); color: var(--lime); font: 600 16px var(--mono); }
.input-prefix input { border-radius: 0 12px 12px 0; }
.alert-error { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; padding: 12px 14px; border-radius: 12px;
               background: var(--red-tint); border: 1px solid rgba(255, 107, 87, .45); color: var(--red-ink); }
.alert-error .icon { color: var(--red); margin-top: 3px; }
.hint { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px;
        background: var(--blue-tint); border: 1px solid rgba(140, 196, 255, .28); color: #D3E7FF; }
.hint .icon { color: var(--blue); margin-top: 3px; }
fieldset.bookies { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.bookies legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.bookie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.bookie { position: relative; margin: 0; font-weight: 600; cursor: pointer; }
.bookie input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bookie span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px; text-align: center;
               border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); color: var(--muted);
               transition: transform .16s var(--ease), border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease); }
.bookie:active span { transform: scale(.97); }
.bookie input:checked + span { border-color: var(--lime); background: var(--lime-tint); color: var(--ink); box-shadow: inset 0 0 0 1px var(--lime); }
.bookie input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }

/* ---------------------------------------------------------------- landing */
.hero { display: grid; gap: 28px; padding: 24px 0 8px; align-items: start; }
@media (min-width: 920px) { .hero { grid-template-columns: 1.15fr .85fr; gap: 48px; padding-top: 52px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 12px; font-size: 12px;
           border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(244, 241, 234, .03); color: var(--muted); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(198, 244, 50, .18); }
.hero h1 .accent { display: inline-block; background: var(--lime); color: var(--on-lime); padding: 0 .14em .04em; border-radius: .16em; margin-top: .08em; }
.lede { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 34em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.stats li { padding: 14px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.stats b { display: block; font: 800 24px/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.stats span { display: block; margin-top: 4px; font-size: 10.5px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
        background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-strong); }
.buy { position: relative; border-color: var(--lime-line);
       background: linear-gradient(180deg, rgba(198, 244, 50, .07), transparent 180px), var(--surface);
       box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(198, 244, 50, .06); }
@media (min-width: 920px) { .buy { position: sticky; top: 96px; } }
.price { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 18px; }
.price b { font: 800 56px/1 var(--display); letter-spacing: -.04em; }
.price span { color: var(--muted); }
.trust { display: grid; gap: 10px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 14px; color: var(--muted); }
.trust li { display: flex; gap: 10px; align-items: flex-start; }
.trust .icon { color: var(--lime); margin-top: 3px; }
.section-title { margin: 52px 0 16px; }
.steps { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.step-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; background: var(--lime); color: var(--on-lime); }
.step-icon .icon { width: 22px; height: 22px; }
.step::after { counter-increment: step; content: "0" counter(step); position: absolute; top: 18px; right: 20px; font: 600 13px/1 var(--mono); color: var(--faint); letter-spacing: .1em; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }
.lookup { display: grid; gap: 10px; }
@media (min-width: 560px) { .lookup { grid-template-columns: 1fr auto; } .lookup .btn { width: auto; } }
.risk { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 18px; border-radius: var(--r);
        background: var(--amber-tint); border: 1px solid var(--amber-line); color: var(--amber-ink); font-size: 15px; }
.risk .icon { color: var(--amber); width: 22px; height: 22px; margin-top: 1px; }

/* ---------------------------------------------------------------- code result */
.confirmed { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 14px; color: var(--money); font-weight: 700; }
.code-card { text-align: center; border-color: var(--lime-line); background: var(--surface); }
.code-label { font-size: 12px; color: var(--muted); }
.code { margin: 12px auto 20px; padding: 14px 10px; max-width: 460px; border-radius: var(--r); border: 2px dashed var(--lime);
        background: var(--lime-tint); font: 600 clamp(40px, 12vw, 64px)/1 var(--mono); letter-spacing: .14em; color: var(--lime); user-select: all; }
.actions { display: grid; gap: 10px; }
@media (min-width: 520px) { .actions { grid-template-columns: 1fr 1fr; } }
.actions.single { grid-template-columns: 1fr; }
.warning { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 18px; border-radius: var(--r);
           background: var(--amber-tint); border: 2px solid var(--amber-line); color: var(--amber-ink); text-align: left; }
.warning .icon { width: 28px; height: 28px; color: var(--amber); }
.warning strong { display: block; margin-bottom: 4px; color: #FFE7BF; font: 800 21px/1.15 var(--display); letter-spacing: -.01em; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.summary.four { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .summary.four { grid-template-columns: repeat(4, 1fr); } }
.summary div { padding: 14px 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.summary dt { font-size: 10.5px; color: var(--muted); }
.summary dd { margin: 6px 0 0; font: 800 24px/1.1 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.summary dd.accent { color: var(--money); }
.summary dd.unconfirmed { font: 600 15px/1.25 var(--body); color: var(--amber-ink); }
.picks { list-style: none; margin: 0; padding: 0; }
.picks > li + li { border-top: 1px solid var(--line); }
.pick { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; }
.when { text-align: center; padding: 7px 4px; border-radius: 10px; background: var(--surface-2); }
.when b { display: block; font: 600 16px/1.1 var(--mono); }
.when span { font-size: 10px; color: var(--muted); }
.match { min-width: 0; }
.match b { display: block; font-weight: 700; overflow-wrap: anywhere; }
.match span { color: var(--muted); font-size: 13px; }
.bet { text-align: right; }
.bet-type { display: inline-block; padding: 3px 9px; border-radius: 999px; font: 600 11.5px/1.4 var(--mono); white-space: nowrap;
            background: rgba(140, 196, 255, .12); color: #CFE5FF; }
.bet-type.over { background: var(--lime-tint); color: var(--lime); }
.bet-type.dc { background: rgba(196, 167, 255, .14); color: #E2D6FF; }
.bet-odd { display: block; margin-top: 5px; font: 600 17px/1 var(--mono); }
.pick.selectable { grid-template-columns: 26px 60px 1fr auto; padding: 12px 8px; margin: 0 -8px; border-radius: 12px; cursor: pointer; transition: background-color .15s var(--ease); }
.pick.selectable input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tick { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line-strong); color: transparent;
        transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); }
.tick .icon { width: 16px; height: 16px; stroke-width: 3; }
.pick.selectable:has(input:checked) { background: var(--lime-tint); }
.pick.selectable input:checked + .tick { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.pick.selectable input:focus-visible + .tick { outline: 3px solid var(--lime); outline-offset: 2px; }
.pick.closed { cursor: not-allowed; opacity: .5; }
.ref { text-align: center; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.rebook-bar { position: sticky; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 10px); z-index: 5;
              display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; padding: 12px;
              border-radius: var(--r); background: var(--surface-3); border: 1px solid var(--line-strong); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.rebook-sum { flex: 1 1 100%; color: var(--muted); font-size: 14px; }
.rebook-sum b { color: var(--ink); font-family: var(--mono); }
.rebook-bar .btn { flex: 1 1 0; width: auto; }
.rebook-bar #rebook-btn { flex: 2 1 0; }
@media (min-width: 560px) { .rebook-sum { flex: 1 1 auto; } .rebook-bar .btn { flex: 0 0 auto; } }
.rebooks h2 { margin-bottom: 14px; }
.rebook { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; margin-bottom: 10px;
          border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.rebook.new { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime); }
.rebook-code { font: 600 26px/1 var(--mono); letter-spacing: .1em; color: var(--lime); user-select: all; }
.rebook-actions { display: flex; gap: 8px; }
.rebooks .warning { margin-top: 14px; }
.rebooks .warning strong { font-size: 19px; }

/* ---------------------------------------------------------------- status page */
.status { text-align: center; padding: 36px 22px; }
.status-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; background: var(--surface-2); }
.status-icon .icon { width: 30px; height: 30px; color: var(--amber); }
.status-icon .spinner { width: 30px; height: 30px; border-width: 3px; color: var(--lime); }
.status .btn { max-width: 280px; margin-top: 8px; }

/* ---------------------------------------------------------------- marketplace */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 600 11.5px/1.5 var(--mono); letter-spacing: .04em;
         vertical-align: middle; background: rgba(244, 241, 234, .08); color: var(--muted); margin-right: 8px; }
.badge-approved { background: var(--money-tint); color: #BDF7DD; }
.badge-pending { background: var(--amber-tint); color: var(--amber-ink); }
.badge-suspended, .badge-rejected { background: var(--red-tint); color: var(--red-ink); }
.punter-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .punter-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .punter-grid { grid-template-columns: repeat(3, 1fr); } }
.punter-card { display: grid; grid-template-columns: auto minmax(0, 1fr); min-width: 0; gap: 6px 12px; align-content: start; color: var(--ink); text-decoration: none;
               transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.punter-card .punter-bio, .punter-card .punter-stats { grid-column: 1 / -1; }
.avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none; background: var(--lime); color: var(--on-lime);
          font: 800 22px/1 var(--display); }
.avatar.lg { width: 76px; height: 76px; border-radius: 22px; font-size: 36px; }
.punter-id { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.punter-id b { font-size: 17px; overflow-wrap: anywhere; }
.punter-bio { color: var(--muted); font-size: 14px; margin: 6px 0 4px; overflow-wrap: anywhere; }
.punter-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; }
.punter-stats b { color: var(--ink); font-family: var(--mono); }
.profile { display: grid; gap: 16px; }
@media (min-width: 760px) { .profile { grid-template-columns: auto 1fr 270px; align-items: start; } }
.profile-bio { margin: 10px 0; overflow-wrap: anywhere; }
.profile-main { min-width: 0; }
.profile .page-title { overflow-wrap: anywhere; }
.profile-cta { display: grid; gap: 8px; }
.profile-cta form { margin: 0; }
.subscribed { display: flex; gap: 8px; align-items: center; color: var(--money); font-weight: 700; }
.tip { margin-top: 12px; }
.tip-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.tip-head h3 { margin: 0 0 4px; font-size: 22px; }
.tip-body { margin: 12px 0 0; overflow-wrap: anywhere; }
.tip-code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px;
            background: var(--lime-tint); border: 1px dashed var(--lime-line); }
.tip-code .btn { width: auto; }
.code-sm { font: 600 22px/1 var(--mono); letter-spacing: .1em; color: var(--lime); user-select: all; }
.tip-warn { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; color: var(--amber-ink); font-size: 13px; }
.tip-warn .icon { color: var(--amber); }
.locked-body { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 16px; border-radius: 12px; color: var(--muted);
               background: repeating-linear-gradient(135deg, rgba(244, 241, 234, .025) 0 10px, rgba(244, 241, 234, .055) 10px 20px); }
.locked-body .icon { color: var(--lime); }
.result { padding: 3px 10px; border-radius: 999px; font: 600 12px/1.5 var(--mono); white-space: nowrap; }
.result-won { background: var(--money-tint); color: #BDF7DD; }
.result-lost { background: var(--red-tint); color: var(--red-ink); }
.result-void { background: rgba(244, 241, 234, .08); color: var(--muted); }
.tip-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.tip-row:first-of-type { border-top: 0; }
.tip-main { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; }
.tip-actions { display: flex; gap: 6px; align-items: center; margin: 0; }
.tip-actions select { width: auto; min-height: 44px; padding: 8px 10px; }
.tip-actions .btn, .admin-actions .btn { width: auto; }
.expiry-warn { color: var(--amber-ink); }
.sub-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.sub-row:first-of-type { border-top: 0; }
.sub-row .btn { width: auto; margin-left: auto; }
.admin-table td { vertical-align: top; }
.admin-bio { color: var(--muted); max-width: 320px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-actions form { margin: 0; }

/* AI drafts */
.ai-box { margin: 2px 0 18px; padding: 16px; border-radius: var(--r); border: 1px dashed var(--lime-line); background: var(--lime-tint); }
.ai-box p { margin: 10px 0 0; }
.btn-ai { width: auto; background: var(--lime); color: var(--on-lime); }
.ai-done { color: #BDF7DD; }
.ai-error { color: var(--red-ink); }

/* ---------------------------------------------------------------- winners side tab */
.win-handle { position: fixed; right: 0; top: 46%; z-index: 20; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px;
              min-width: 44px; padding: 14px 10px; border: 0; border-radius: 12px 0 0 12px; cursor: pointer; background: var(--lime); color: var(--on-lime);
              font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; box-shadow: -4px 4px 18px rgba(0, 0, 0, .35); }
.win-handle span { writing-mode: vertical-rl; }
.win-scrim { position: fixed; inset: 0; z-index: 35; background: rgba(5, 8, 7, .65); backdrop-filter: blur(2px); }
.win-panel { position: fixed; top: 0; right: 0; z-index: 40; width: min(380px, 90vw); height: 100%; overflow-y: auto; overscroll-behavior: contain;
             padding: 20px 16px 32px; background: var(--bg); border-left: 1px solid var(--line-strong); box-shadow: -10px 0 40px rgba(0, 0, 0, .5);
             transform: translateX(100%); visibility: hidden; transition: transform .2s var(--ease), visibility 0s .2s; }
.win-panel.open { transform: translateX(0); visibility: visible; transition: transform .36s var(--ease-drawer); }
.win-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.win-head h2 { display: flex; gap: 10px; align-items: center; margin: 0; }
.win-head h2 .icon { color: var(--lime); }
.win-close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; }
.win-card { margin-bottom: 12px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.win-amount { font: 800 28px/1 var(--display); color: var(--money); letter-spacing: -.02em; }
.win-meta { margin-top: 6px; color: var(--muted); font-size: 13px; }
.win-msg { margin: 10px 0; overflow-wrap: anywhere; }
.win-card img { display: block; width: 100%; height: auto; margin: 10px 0; border-radius: 10px; border: 1px solid var(--line); }
.win-name { font-weight: 700; font-size: 14px; }
.win-note { font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- small screens + motion */
@media (max-width: 420px) {
  .stats b, .summary dd { font-size: 20px; }
  .pick { grid-template-columns: 56px 1fr auto; gap: 10px; }
  .price b { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-property: opacity, color, background-color, border-color, box-shadow !important; scroll-behavior: auto !important; }
  .spinner { animation-duration: 1.5s; }
  .btn:active, .bookie:active span { transform: none; }
}

/* ---------------------------------------------------------------- adverts */
input[type=date], input[type=url], input[type=tel] {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 16px/1.4 var(--body); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; }
input[type=date]:focus, input[type=url]:focus, input[type=tel]:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(198, 244, 50, .18); }
.file-input { display: block; width: 100%; padding: 12px; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--bg); color: var(--muted); font: inherit; }
.file-input::file-selector-button { margin-right: 12px; padding: 10px 14px; border: 0; border-radius: 10px; background: var(--lime); color: var(--on-lime); font: 700 14px var(--body); cursor: pointer; }

.ad { position: relative; display: grid; gap: 12px; margin: 28px 0; padding: 14px; border-radius: var(--r-lg);
      background: var(--surface); border: 1px solid var(--line-strong); }
.ad-label { position: absolute; top: 22px; left: 22px; z-index: 1; padding: 3px 8px; border-radius: 6px; background: rgba(14, 21, 18, .85);
            color: var(--ink); font: 600 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.ad-media { display: block; overflow: hidden; border-radius: 12px; background: var(--surface-2); aspect-ratio: 4 / 1; }
.ad-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ad-copy { display: grid; gap: 2px; min-width: 0; }
.ad-copy b { font: 800 18px/1.2 var(--display); letter-spacing: -.01em; }
.ad-copy span { color: var(--muted); font-size: 14px; }
.ad-cta { width: auto; justify-self: start; }
@media (min-width: 720px) { .ad-banner { grid-template-columns: 1fr auto; align-items: center; } .ad-banner .ad-media { grid-column: 1 / -1; } }
.ad-card { margin: 16px 0; }
.ad-preview { margin: 0; }

.ad-intro { padding-top: 12px; }
.placement-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .placement-grid { grid-template-columns: repeat(3, 1fr); } }
.placement h2 { font-size: 20px; }
.placement p { font-size: 14px; }
.placement-price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.placement-price b { font: 800 30px/1 var(--display); letter-spacing: -.03em; color: var(--lime); }
.placement-price span { color: var(--muted); font-size: 14px; }
.placement-pick { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.ad-total { margin: 4px 0 16px; padding: 14px; border-radius: var(--r); background: var(--surface-2); }
.ad-total b { font: 800 24px/1 var(--display); color: var(--lime); }
.ad-facts { display: grid; gap: 10px; margin: 16px 0; }
.ad-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ad-facts dt { color: var(--muted); font: 500 12px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ad-facts dd { margin: 0; overflow-wrap: anywhere; }
.ad-link { color: var(--blue); }
.ad-admin { display: grid; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.ad-admin:first-of-type { border-top: 0; }
.ad-admin img { width: 100%; max-width: 360px; aspect-ratio: 4 / 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.ad-admin-main { min-width: 0; overflow-wrap: anywhere; display: grid; gap: 3px; }
@media (min-width: 900px) { .ad-admin { grid-template-columns: 260px 1fr auto; align-items: start; } }
.reject-form { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.reject-form input { min-height: 44px; width: 210px; padding: 8px 10px; }

/* ---------------------------------------------------------------- complaints */
.complaint-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px 4px; border-top: 1px solid var(--line);
                 color: var(--ink); text-decoration: none; border-radius: 10px; }
.complaint-row:first-of-type { border-top: 0; }
.complaint-row .badge { margin-left: auto; margin-right: 0; }
.complaint-row-title { flex: 1 1 220px; min-width: 0; display: grid; gap: 2px; font-weight: 700; overflow-wrap: anywhere; }
.complaint-row-title .muted { font-weight: 400; }
.mono-ref { font: 600 14px/1 var(--mono); letter-spacing: .06em; color: var(--lime); }
.thread { display: grid; gap: 12px; }
.msg { max-width: 92%; padding: 14px 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.msg-customer { justify-self: end; border-bottom-right-radius: 6px; background: var(--surface-2); }
.msg-team { justify-self: start; border-bottom-left-radius: 6px; border-color: var(--lime-line); background: var(--lime-tint); }
.msg-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-bottom: 6px; }
.msg-team .msg-head b { color: var(--lime); }
.msg-body { margin: 0; overflow-wrap: anywhere; }
.msg-file { display: block; margin-top: 10px; }
.msg-file img { display: block; max-width: 100%; max-height: 320px; border-radius: 10px; border: 1px solid var(--line); }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; color: var(--muted);
                 text-decoration: none; border: 1px solid var(--line-strong); font-weight: 600; font-size: 14px; }
.filter-tabs a[aria-current="page"] { color: var(--on-lime); background: var(--lime); border-color: var(--lime); }
.admin-callout { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.admin-callout > .icon { width: 24px; height: 24px; color: var(--muted); }
.admin-callout > span:first-of-type { display: grid; gap: 2px; }
.admin-callout.has-items { border-color: var(--amber-line); }
.admin-callout.has-items > .icon { color: var(--amber); }
.admin-callout-go { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; color: var(--lime); font-weight: 700; }
.report-link { margin: -4px 0 0; font-size: 14px; }
.report-link a { color: var(--muted); display: inline-flex; gap: 6px; align-items: center; min-height: 32px; }

/* ---------------------------------------------------------------- slip builder */
.slip-builder { margin: 0 0 18px; padding: 14px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line-strong); }
.builder-summary p { margin: 4px 0 10px; font-weight: 600; }
.slip-builder details > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 12px;
                                  border: 1px solid var(--line-strong); background: rgba(244, 241, 234, .05); cursor: pointer; font-weight: 700;
                                  list-style: none; }
.slip-builder details > summary::-webkit-details-marker { display: none; }
.slip-builder details[open] > summary { margin-bottom: 14px; border-color: var(--lime-line); color: var(--lime); }
.choice-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.choice-grid .bookie span { flex-direction: column; gap: 2px; font-size: 14px; }
.choice-grid .bookie small { font: 500 11.5px/1.2 var(--mono); color: var(--muted); }
.choice-grid .bookie input:checked + span small { color: var(--lime); }
.choice-note { margin: 8px 0 0; }
.avail { margin-top: 12px; font-size: 14px; min-height: 22px; }
.avail .spinner { display: inline-block; width: 14px; height: 14px; border-width: 2px; vertical-align: -2px; margin-right: 4px; }
.avail-ok { color: #BDF7DD; }
.avail-ok::before { content: "✓ "; color: var(--money); font-weight: 700; }
.avail-bad { display: inline-flex; gap: 6px; align-items: flex-start; color: var(--amber-ink); }
.avail-bad .icon { color: var(--amber); margin-top: 2px; }
.bet-type.gg { background: rgba(255, 179, 128, .14); color: #FFD9C2; }
.slip-made { margin: -8px auto 16px; max-width: 520px; }
.slip-builder fieldset { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.slip-builder legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.bookies .bookie span { flex-direction: column; gap: 2px; }
.bookies .bookie small { font: 500 11px/1.2 var(--mono); color: var(--muted); }
.bookies .bookie input:checked + span small { color: var(--lime); }
.bookie-soon { cursor: not-allowed; }
.bookie-soon > span { opacity: .45; border-style: dashed !important; }
.fallback-note { margin: 0 0 14px; text-align: left; }

/* ---------------------------------------------------------------- Control Centre */
.paused-banner { margin-top: 10px; }
.kpi-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.kpi { display: grid; gap: 6px; padding: 18px; }
.kpi-value { font: 800 30px/1.1 var(--display); letter-spacing: -.03em; }
.kpi-split { display: grid; gap: 4px; margin: 6px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.kpi-split div { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.kpi-split dt { color: var(--muted); }
.kpi-split dd { margin: 0; font-family: var(--mono); }
.chart-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.chart-head h2 { margin: 0; }
/* single-series bar chart: one hue (#7C9E16, validated for the dark surface), brand lime on hover/focus */
.bar-chart { position: relative; padding-top: 20px; }
.bar-max { position: absolute; top: 0; left: 0; font-size: 10.5px; }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 2px; height: 180px; align-items: end;
        border-bottom: 1px solid var(--line-strong); background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 50%; }
.bar-col { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; outline: none; cursor: default; }
.bar { display: block; width: min(70%, 28px); background: #7C9E16; border-radius: 4px 4px 0 0; transition: background-color .15s var(--ease); }
.bar-col:focus-visible .bar { background: var(--lime); }
.bar-col:focus-visible { box-shadow: inset 0 0 0 2px var(--lime); border-radius: 6px; }
.bar-col::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 3;
                  padding: 6px 9px; border-radius: 8px; background: var(--surface-3); border: 1px solid var(--line-strong); color: var(--ink);
                  font: 600 12px/1.2 var(--mono); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; }
.bar-col:focus-visible::after { opacity: 1; }
.bar-col:first-child::after { left: 0; transform: none; }
.bar-col:last-child::after { left: auto; right: 0; transform: none; }
.bar-axis { display: grid; grid-template-columns: repeat(14, 1fr); gap: 2px; margin-top: 6px; color: var(--muted); font: 500 10.5px/1.2 var(--mono); text-align: center; }
.table-toggle { margin-top: 12px; }
.table-toggle summary { cursor: pointer; color: var(--blue); font-size: 14px; min-height: 32px; display: inline-flex; align-items: center; }
.count-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .count-grid { grid-template-columns: repeat(4, 1fr); } }
.count { display: grid; gap: 2px; padding: 16px; color: var(--ink); text-decoration: none; }
.count b { font: 800 26px/1 var(--display); }
.count span { color: var(--muted); font-size: 13px; }
.count.attention { border-color: var(--amber-line); }
.count.attention b { color: var(--amber-ink); }
.search-row { display: flex; flex-wrap: wrap; gap: 8px; }
.search-row input[type=text] { flex: 1 1 240px; }
.search-row select { flex: 0 1 220px; }
.search-row .btn { width: auto; }
.cc-table td { vertical-align: top; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-actions form { margin: 0; }
.cc-actions .btn { width: auto; }
.settings-form .card h2 { margin-bottom: 14px; }
.emergency { border-color: var(--amber-line); }
.setting-row { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.setting-row:first-of-type { border-top: 0; padding-top: 0; }
.setting-row label .muted { display: block; font-weight: 400; margin-top: 2px; }
.setting-check { margin: 0; color: var(--ink); }
.setting-check > span { display: grid; gap: 2px; }
.setting-default { font: 500 11.5px/1.3 var(--mono); color: var(--amber-ink); }
.save-bar { position: sticky; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 10px); z-index: 5; }
.health-row { display: grid; grid-template-columns: minmax(150px, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.health-row:first-of-type { border-top: 0; }
.health-row .badge { justify-self: end; margin-right: 0; }
.health-row .muted { grid-column: 1 / -1; }
.tool-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
.tool-grid form { margin: 0 0 6px; }
.tool-grid .btn { width: auto; }

/* ---------------------------------------------------------------- affiliates */
.aff-hero { padding-top: 12px; }
.narrow-form { max-width: 640px; }
.aff-link .aff-url { margin: 12px auto 18px; padding: 14px; max-width: 620px; border-radius: var(--r); border: 2px dashed var(--lime);
                     background: var(--lime-tint); color: var(--lime); font: 600 clamp(15px, 3.6vw, 20px)/1.3 var(--mono); overflow-wrap: anywhere; user-select: all; }
.aff-balances { display: grid; gap: 10px; margin-bottom: 16px; }
@media (min-width: 640px) { .aff-balances { grid-template-columns: repeat(3, 1fr); } }
.aff-balances > div { display: grid; gap: 4px; padding: 14px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.aff-balances b { font: 800 26px/1.1 var(--display); letter-spacing: -.02em; }
.aff-balances .avail-box { border-color: rgba(46, 229, 157, .45); }
.accent-money { color: var(--money); }
.payout-row { display: grid; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.payout-row:first-of-type { border-top: 0; }
@media (min-width: 900px) { .payout-row { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------------------------------------------------------------- polish
   Hover only where a real pointer can hover: on phones a tap would leave it stuck on. */
@media (hover: hover) and (pointer: fine) {
  a:hover { color: #B5DAFF; }
  .nav a:hover, .nav-link:hover { color: var(--ink); background: rgba(244, 241, 234, .06); }
  .footer-links a:hover { color: var(--ink); }
  .btn-primary:hover { background: var(--lime-hover); color: var(--on-lime); }
  .btn-ghost:hover { background: rgba(244, 241, 234, .1); color: var(--ink); }
  .bookie:hover span { border-color: var(--lime-line); color: var(--ink); }
  .pick.selectable:hover { background: rgba(244, 241, 234, .04); }
  .pick.closed:hover { background: none; }
  .punter-card:hover { border-color: var(--lime-line); background: var(--surface-2); color: var(--ink); }
  .btn-ai:hover { background: var(--lime-hover); }
  .complaint-row:hover { background: rgba(244, 241, 234, .04); color: var(--ink); }
  .admin-callout:hover { color: var(--ink); background: var(--surface-2); }
  .report-link a:hover { color: var(--red-ink); }
  .slip-builder details > summary:hover { background: rgba(244, 241, 234, .1); }
  .bar-col:hover .bar { background: var(--lime); }
  .bar-col:hover::after { opacity: 1; }
  a.count:hover { border-color: var(--lime-line); color: var(--ink); }
  .btn-primary:hover { box-shadow: 0 10px 30px rgba(198, 244, 50, .26); }
}

/* phone: taps fire at once, control labels don't get selected on long-press */
a, button, summary, label, select, [role="button"] { touch-action: manipulation; }
.btn, .nav a, .nav-link, .tabbar a, .bookie, .chip, .filter-tabs a, .win-handle, .win-close, summary, .brand {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.tabbar a { transition: background-color .15s var(--ease), color .15s var(--ease); }
.tabbar a:active, .nav a:active, .filter-tabs a:active { background: rgba(244, 241, 234, .08); }
.pick.selectable:active { background: rgba(244, 241, 234, .06); }

/* type details */
h1, h2, h3, .lede { text-wrap: balance; }
p, li { text-wrap: pretty; }
.price b, .stats b, .summary dd, .bet-odd, .when b, .kpi-value, .count b, .aff-balances b, .win-amount, .placement-price b,
.ad-total b, .punter-stats b, .kpi-split dd, td { font-variant-numeric: tabular-nums; }
::selection { background: var(--lime); color: var(--on-lime); }

/* desktop: header stays in reach, gains a hairline once the page scrolls */
@media (min-width: 721px) {
  .topbar { position: sticky; top: 0; z-index: 25; padding: 14px 0; background: rgb(14, 21, 18);
            box-shadow: 0 0 0 100vmax rgb(14, 21, 18), 0 1px 0 100vmax transparent; clip-path: inset(0 -100vmax -1px); }
  @supports (animation-timeline: scroll()) {
    .topbar { animation: topbar-fill linear both; animation-timeline: scroll(); animation-range: 0 64px; }
    @keyframes topbar-fill {
      from { background: rgb(14 21 18 / 0); box-shadow: 0 0 0 100vmax rgb(14 21 18 / 0), 0 1px 0 100vmax transparent; }
      to { background: rgb(14 21 18); box-shadow: 0 0 0 100vmax rgb(14 21 18), 0 1px 0 100vmax var(--line-strong); } }
  }
}

/* example slip in the hero (desktop, where the column has room) */
.sample-slip { display: none; }
@media (min-width: 920px) {
  .sample-slip { display: block; margin: 30px 0 0; padding: 18px 20px 16px; border-radius: var(--r-lg); background: var(--surface);
                 border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
  .sample-slip::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px;
                         background: repeating-linear-gradient(90deg, var(--lime) 0 18px, transparent 18px 26px); opacity: .55; }
  .sample-slip figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
  .sample-note { color: var(--faint); font-size: 13px; }
  .sample-picks { list-style: none; margin: 0; padding: 0; }
  .sample-picks li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; }
  .sample-picks li + li { border-top: 1px solid var(--line); }
  .sample-picks .when, .sample-picks .match b, .sample-picks .match span { display: block; }
  .sample-picks .bet { display: grid; justify-items: end; }
  .sample-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 12px;
                 border-top: 1px dashed var(--line-strong); font-size: 14px; }
  .sample-more { color: var(--muted); }
  .sample-code { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--lime-tint);
                 color: var(--lime); font: 600 13px/1 var(--mono); }
  .sample-code [aria-hidden] { letter-spacing: .18em; }
}

/* entrances, only where they help: messages arrive, and the code you paid for lands */
.flash, .alert-error { transition: opacity .25s var(--ease), transform .25s var(--ease); }
.code-card .code { transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s var(--ease); }
.rebook.new { transition: opacity .3s var(--ease), transform .3s var(--ease); }
@starting-style {
  .flash, .alert-error { opacity: 0; transform: translateY(-6px); }
  .code-card .code { opacity: 0; transform: scale(.94); filter: blur(4px); }
  .rebook.new { opacity: 0; transform: translateY(8px); }
}

/* smallest phones (320px): header stays on one line */
.top-actions .btn, .brand-tag, .brand-name { white-space: nowrap; }
@media (max-width: 360px) { .topbar { gap: 10px; } .brand { gap: 9px; } .brand-mark { width: 36px; height: 36px; } .brand-name { font-size: 23px; } .brand-tag { font-size: 9.5px; letter-spacing: .2em; } .top-actions .btn-sm { padding: 8px 12px; } }

/* how-it-works figure under the three steps */
.hiw-wrap { margin-top: 16px; }
