/* poolsagents.com — mobile first. The audience is on phones on Saturday. */

:root{
  --bg:#F7F8F6; --sur:#FFFFFF; --line:#E3E7E1; --line2:#CDD5CA;
  --ink:#16201D; --ink2:#4B5854; --mute:#8A9894;
  --ok:#12603A; --ok-bg:#E9F5ED; --warn:#8A5A00; --warn-bg:#FFF6E2;
  --mono:ui-monospace,SFMono-Regular,Menlo,monospace;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:var(--bg);color:var(--ink);
  font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-text-size-adjust:100%}
a{color:var(--ok);text-decoration:none}
a:hover{text-decoration:underline}

/* header — logo, wordmark, nav, then a context strip.
   The mark is an X: the symbol already used to mark a draw on a coupon.
   Inline SVG, not an image file, so it inherits colour and stays sharp at
   16px in a browser tab. */
header.site{background:var(--sur);border-bottom:1px solid var(--line)}
.hwrap{max-width:900px;margin:0 auto;padding:12px 16px;
  display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.logo{display:flex;align-items:center;gap:11px;text-decoration:none}
.logo:hover{text-decoration:none}
.logo .mark{flex:0 0 auto;display:block}
/* three bars, no container tile — the mark is the data, not an app icon.
   Colours are classed rather than inline so dark mode flips the tallest bar
   to white without a second file. */
.b1{fill:#A9C6B6}
.b2{fill:#3C8A62}
.b3{fill:var(--ink)}
.wordmark{display:flex;flex-direction:column;line-height:1.1}
/* weight carries the split, not colour: Pools heavy, Agents regular */
.wordmark .name{font-size:21px;font-weight:800;letter-spacing:-.03em;color:var(--ink)}
.wordmark .name span{font-weight:400;color:var(--ink)}
.wordmark .tag{font-size:10.5px;color:var(--mute);margin-top:3px;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:-.01em}
header.site nav{margin-left:auto;display:flex;gap:16px;font-size:14px;align-items:center}
header.site nav a{color:var(--ink2);padding-bottom:3px;border-bottom:2px solid transparent}
header.site nav a:hover{color:var(--ink);text-decoration:none}
header.site nav a.here{color:var(--ink);font-weight:600;border-bottom-color:var(--ok)}

.hsub{max-width:900px;margin:0 auto;padding:8px 16px;display:flex;align-items:center;
  gap:9px;flex-wrap:wrap;border-top:1px solid var(--line);font-size:12px}
.hsub .wk{background:var(--ok-bg);color:var(--ok);font-weight:700;font-size:11px;
  padding:3px 9px;border-radius:99px}
.hsub .ctx{color:var(--ink2)}
.hsub .hmeta{margin-left:auto;color:var(--mute);font-size:11px;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace}

@media(max-width:600px){
  .hwrap{padding:10px 14px;gap:9px}
  .wordmark .tag{display:none}
  .wordmark .name{font-size:19px}
  .logo .mark{width:22px;height:22px}
  header.site nav{width:100%;margin:0;gap:14px;font-size:13px;
    padding-top:9px;border-top:1px solid var(--line)}
  .hsub{padding:7px 14px}
  .hsub .hmeta{width:100%;margin:2px 0 0}
}

.wrap{max-width:900px;margin:0 auto;padding:16px 16px 48px}
h1{font-size:21px;font-weight:650;letter-spacing:-.015em;margin:20px 0 4px}
h2{font-size:17px;font-weight:650;margin:26px 0 6px}
.lede{color:var(--ink2);font-size:14px;margin:0 0 14px}

/* hero band — dark, with a clock and three large figures.
   The page stays light; only this band is dark. It gives the site the one
   thing a table cannot: something that moves and something that is big. */
.hero{border-radius:11px;margin:14px 0 16px;color:#EAF0EC;overflow:hidden;
  background:radial-gradient(110% 80% at 80% 8%, rgba(111,211,160,.15) 0%, rgba(20,32,31,0) 60%),
             linear-gradient(165deg,#1B3329 0%,#14201F 78%)}
.hero.panel{background:linear-gradient(165deg,#3A2E14 0%,#241D10 80%)}
.hero-in{padding:17px 16px 15px}
.tagpill{display:inline-flex;align-items:center;gap:7px;background:rgba(111,211,160,.15);
  color:#6FD3A0;font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  padding:4px 10px;border-radius:99px}
.hero.settled .tagpill{background:rgba(255,255,255,.1);color:#C6D3CC}
.hero.panel .tagpill{background:rgba(224,185,97,.17);color:#E0B961}
.tagpill .dot{width:7px;height:7px;border-radius:50%;background:#6FD3A0;
  animation:pulse 2s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}

.clock{display:flex;gap:7px;margin:11px 0 14px}
.clock .unit{background:rgba(255,255,255,.07);border-radius:8px;padding:6px 0;
  text-align:center;min-width:52px;flex:0 1 62px}
.clock b{display:block;font-size:21px;font-weight:800;line-height:1;
  font-variant-numeric:tabular-nums}
.clock small{display:block;font-size:9px;letter-spacing:.08em;opacity:.6;margin-top:2px}

.figs{display:flex;gap:20px;flex-wrap:wrap;margin-top:10px}
.figs b{display:block;font-size:25px;font-weight:800;line-height:1;letter-spacing:-.02em}
.figs b.ok{color:#6FD3A0}
.figs b i{font-style:normal;font-size:13px;font-weight:500;opacity:.6}
.figs small{display:block;font-size:10px;letter-spacing:.05em;opacity:.62;margin-top:4px}
.herometa{margin:13px 0 0;padding-top:11px;border-top:1px solid rgba(255,255,255,.14);
  font-size:13px;color:#C9D6CF;display:flex;gap:9px;flex-wrap:wrap;align-items:baseline;line-height:1.5}
.herometa .stamp{margin-left:auto;font-size:11px;color:#94A59D;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
@media(max-width:480px){
  .hero-in{padding:15px 14px 13px}
  .figs{gap:14px}
  .figs b{font-size:22px}
  .clock .unit{min-width:46px}
}

/* one colour per outcome, everywhere on the site */
:root{--c-sd:#12603A;--c-sd-bg:#E9F5ED;--c-nsd:#2D7D6A;--c-nsd-bg:#E6F3F0;
      --c-home:#1C4E8A;--c-home-bg:#E8EFF7;--c-away:#A8600C;--c-away-bg:#FBF0E2;
      --c-void:#6B6B6B;--c-void-bg:#F0F0EE}

/* number grid — the primary way people find their coupon numbers.
   Nigerian pools players work in numbers, not team names: the number is the
   loudest element on every row, everywhere on the site. */
.numgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(38px,1fr));gap:5px;margin:6px 0 8px}
.nc{position:relative;display:grid;place-items:center;height:42px;border-radius:7px;
  font-weight:700;font-size:15px;text-decoration:none;
  border:1px solid var(--line);background:var(--sur);color:var(--ink2)}
.nc:hover{text-decoration:none;border-color:var(--line2)}
.nc i{position:absolute;top:3px;right:5px;font-style:normal;font-size:8px;font-weight:600;opacity:.7}
.nc.s2{background:var(--ok-bg);border-color:transparent;color:var(--ok)}
.nc.s3{background:var(--ok-bg);border-color:var(--ok);color:var(--ok);box-shadow:inset 0 0 0 1px var(--ok)}
.nc.na{color:var(--mute);background:var(--bg)}
/* board: settled or running classification */
.numgrid.board .nc.sd{background:var(--ok);border-color:var(--ok);color:#fff}
.numgrid.board .nc.nsd{background:var(--ok-bg);border-color:var(--ok);color:var(--ok)}
.numgrid.board .nc.void{background:var(--warn-bg);border-color:var(--warn);color:var(--warn)}
/* provisional: a 1-1 at 67 minutes is not a result yet */
.numgrid.board .nc.prov{border-style:dashed}
.numkey{display:flex;gap:14px;flex-wrap:wrap;align-items:center;
  font-size:11px;color:var(--mute);margin:0 0 16px}
.numkey b{display:inline-block;width:11px;height:11px;border-radius:3px;vertical-align:-1px;margin-right:4px}
.numkey b.k3{background:var(--ok-bg);box-shadow:inset 0 0 0 1px var(--ok)}
.numkey b.k2{background:var(--ok-bg)}
.numkey b.k1{background:var(--sur);border:1px solid var(--line)}
.numkey b.k0{background:var(--bg);border:1px solid var(--line)}
.numkey b.bsd{background:var(--ok)}
.numkey b.bnsd{background:var(--ok-bg);border:1px solid var(--ok)}

/* score-draw ranking — number first, teams secondary */
.ranked{display:grid;gap:7px;margin-bottom:6px}
.ranked .r{display:grid;grid-template-columns:56px minmax(0,1fr) 92px;gap:12px;align-items:center;
  background:var(--sur);border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.ranked .no{display:grid;place-items:center;height:48px;border-radius:9px;
  background:var(--ok-bg);color:var(--ok);font-size:24px;font-weight:800;
  line-height:1;letter-spacing:-.02em}
.ranked .no small{display:block;font-size:8px;font-weight:700;letter-spacing:.1em;opacity:.7;margin-top:2px}
.ranked .r.unpriced .no{background:#EDF0EC;color:var(--mute)}
.ranked .mid{min-width:0}
.ranked .t{margin:0 0 5px;font-size:14px;font-weight:500;color:var(--ink2);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ranked .bar{height:5px;border-radius:99px;background:#E9EDE8;overflow:hidden}
.ranked .bar span{display:block;height:100%;background:var(--ok);border-radius:99px}
.ranked .l{margin:5px 0 0;font-size:10px;color:var(--mute);text-transform:uppercase;letter-spacing:.05em;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ranked .rt{text-align:right}
.ranked .pc{margin:0;font-size:19px;font-weight:800;color:var(--ok);line-height:1.1}
.ranked .sub{margin:1px 0 0;font-size:10px;color:var(--mute)}
.ranked .na{margin:0;font-size:11px;color:var(--mute)}
@media(max-width:420px){
  .ranked .r{grid-template-columns:48px minmax(0,1fr) 74px;gap:9px;padding:9px 10px}
  .ranked .no{height:42px;font-size:20px}
  .ranked .pc{font-size:17px}
}

/* filters */
.filters{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:14px 0 9px}
.filters .lbl{font-size:12px;color:var(--ink2)}
.f{font:inherit;font-size:12px;padding:5px 12px;border-radius:99px;cursor:pointer;
  border:1px solid var(--line2);background:var(--sur);color:var(--ink2)}
.f.on{background:var(--ink);border-color:var(--ink);color:#fff}
.mine{font:inherit;font-size:12px;padding:5px 10px;width:118px;
  border:1px solid var(--line2);border-radius:99px;background:var(--sur)}

/* coupon table */
table.coupon{width:100%;border-collapse:collapse;background:var(--sur);
  border:1px solid var(--line);border-radius:9px;overflow:hidden;font-size:14px}
table.coupon col.c-no{width:34px}
table.coupon col.c-sc{width:62px}
table.coupon col.c-st{width:50px}
table.coupon col.c-cl{width:104px}
table.coupon th{font-size:10px;text-transform:uppercase;letter-spacing:.07em;
  color:var(--mute);font-weight:700;text-align:left;padding:8px 6px;
  background:#FBFCFA;border-bottom:1px solid var(--line)}
table.coupon td{padding:8px 6px;border-bottom:1px solid #EFF2EE;vertical-align:middle}
table.coupon tr:last-child td{border-bottom:0}
table.coupon .c{text-align:center}
table.coupon .r{text-align:right}
table.coupon .b{font-weight:700}
table.coupon .s{font-size:11px;color:var(--mute)}
table.coupon .no{font-weight:700;color:var(--ink2);text-align:center}
table.coupon .m{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:0}
table.coupon .m em{display:block;font-style:normal;font-size:10px;color:var(--warn)}
table.coupon .cls{font-size:11px;font-weight:600;color:var(--ink2)}
table.coupon tr.draw{background:var(--ok-bg)}
table.coupon tr.draw .no,table.coupon tr.draw .cls{color:var(--ok)}
table.coupon tr.unpriced td{color:var(--mute)}
table.coupon tr.close{box-shadow:inset 3px 0 0 #E0A93B}
table.coupon tr.flash{animation:flash 1.4s ease-out}
@keyframes flash{0%{background:#FFF0C9}100%{background:transparent}}
table.coupon.archive .m a{font-weight:600}
table.coupon .m em{color:var(--mute)}

.prose p{font-size:14px;color:var(--ink2);max-width:62ch}

/* footer — columns rather than a stack of small grey paragraphs.
   Link colour is --ink2, not --mute: the old muted value sat near 2.5:1 on
   the footer background, which is unreadable on a phone in daylight. */
footer.site{border-top:1px solid var(--line);background:var(--sur);padding:30px 16px 26px;margin-top:34px}
.fwrap{max-width:900px;margin:0 auto;display:grid;gap:26px;
  grid-template-columns:1.6fr 1fr 1fr 1fr}
.fcol h4{margin:0 0 9px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;
  color:var(--mute);font-weight:700}
.fcol a{display:block;font-size:13px;color:var(--ink2);margin-bottom:7px;line-height:1.4}
.fcol a:hover{color:var(--ok)}
.fbrand p{margin:0 0 9px;font-size:13px;color:var(--ink2);line-height:1.55;max-width:34ch}
.flogo{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:800;
  letter-spacing:-.03em;color:var(--ink);margin-bottom:10px}
.flogo > span span{font-weight:400}
.f18{font-size:11px !important;color:var(--mute) !important}
.fbar{max-width:900px;margin:24px auto 0;padding-top:14px;border-top:1px solid var(--line);
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.fbar p{margin:0;font-size:11px;color:var(--mute)}
.fbar a{color:var(--ink2)}
.fnote{max-width:900px;margin:12px auto 0;font-size:11px;color:var(--mute);line-height:1.6}
@media(max-width:760px){
  .fwrap{grid-template-columns:1fr 1fr;gap:22px}
  .fbrand{grid-column:1/-1}
}
@media(max-width:420px){
  .fwrap{grid-template-columns:1fr}
  .fbar{flex-direction:column;gap:5px}
}

@media(prefers-color-scheme:dark){
  header.site{background:#171D1A}
  footer.site{background:#171D1A}
  :root{--bg:#121614;--sur:#1A201D;--line:#2A322E;--line2:#3A443F;
        --ink:#EAF0EC;--ink2:#A9B6B1;--mute:#7C8A85;--ok:#6FD3A0;--ok-bg:#16332A;
        --warn:#E0B961;--warn-bg:#33291494}
  .f.on{background:var(--ok);border-color:var(--ok);color:#0B1310}
  table.coupon th{background:#171D1A}
  table.coupon td{border-bottom-color:#232B27}
}

/* jumped to from the number grid */
table.coupon tr:target td{background:#FFF7DD}
table.coupon tr:target .no{box-shadow:inset 3px 0 0 var(--warn)}
@media(prefers-color-scheme:dark){
  .ranked .bar{background:#2A322E}
  .ranked .r.unpriced .no{background:#232B27}
  table.coupon tr:target td{background:#2E2A17}
}

/* ads — heights are reserved so a slow unit never shifts the table.
   Do not remove min-height: the live view repaints while people are reading.
   Do not hide a FILLED unit with display:none — it still loads and counts an
   impression. If a slot is too much, stop emitting it in the PHP. Hiding an
   UNFILLED one is different, and is Google's own guidance: see the end of
   this file. */
.adslot{min-height:250px;margin:18px 0;display:grid;place-items:center;
  background:var(--sur);border:1px solid var(--line);border-radius:9px;overflow:hidden}
.adslot-foot{min-height:250px;margin-top:22px}
tr.adrow td{padding:0;background:var(--bg)}
tr.adrow .adslot{margin:12px 0;border:0;background:transparent}
@media(max-width:600px){
  /* a phone screen is ~650px of content; a 250px unit is already a third of
     it, so the border and margins come off rather than adding more weight */
  .adslot{min-height:200px;margin:14px 0;border:0;background:transparent}
  .adslot-foot{margin-top:16px}
}
@media(prefers-color-scheme:dark){.adslot{background:#171D1A}}

/* guide */
.wrap.prose{max-width:680px}
.wrap.prose h2{margin:26px 0 8px;font-size:17px}
.wrap.prose p{font-size:15px;color:var(--ink2);line-height:1.65;margin:0 0 12px}
.wrap.prose p.lede{font-size:16px;color:var(--ink)}
.wrap.prose strong{color:var(--ink);font-weight:650}
.wrap.prose p.fine{margin-top:26px;padding-top:16px;border-top:1px solid var(--line);
  font-size:12px;color:var(--mute)}

/* outcome colours on the board and in the table */
.numgrid.board .nc.sd{background:var(--c-sd);border-color:var(--c-sd);color:#fff}
.numgrid.board .nc.nsd{background:var(--c-nsd-bg);border-color:var(--c-nsd);color:var(--c-nsd)}
.numgrid.board .nc.home{background:var(--c-home-bg);border-color:transparent;color:var(--c-home)}
.numgrid.board .nc.away{background:var(--c-away-bg);border-color:transparent;color:var(--c-away)}
.numgrid.board .nc.void{background:var(--c-void-bg);border-color:transparent;color:var(--c-void)}
.numkey b.bhome{background:var(--c-home-bg);border:1px solid var(--c-home)}
.numkey b.baway{background:var(--c-away-bg);border:1px solid var(--c-away)}

table.coupon tr.c-score_draw{background:var(--c-sd-bg)}
table.coupon tr.c-score_draw .no,table.coupon tr.c-score_draw .cls{color:var(--c-sd)}
table.coupon tr.c-no_score_draw{background:var(--c-nsd-bg)}
table.coupon tr.c-no_score_draw .no,table.coupon tr.c-no_score_draw .cls{color:var(--c-nsd)}
table.coupon tr.c-home .cls{color:var(--c-home)}
table.coupon tr.c-away .cls{color:var(--c-away)}
table.coupon tr.c-void td{color:var(--c-void)}
table.coupon tr.c-score_draw .no{box-shadow:inset 3px 0 0 var(--c-sd)}
table.coupon tr.c-no_score_draw .no{box-shadow:inset 3px 0 0 var(--c-nsd)}

@media(prefers-color-scheme:dark){
  :root{--c-sd:#6FD3A0;--c-sd-bg:#16332A;--c-nsd:#4FB39C;--c-nsd-bg:#14302C;
        --c-home:#6FA8E8;--c-home-bg:#16243A;--c-away:#E0A95F;--c-away-bg:#33290F;
        --c-void:#8A9894;--c-void-bg:#232B27}
  .numgrid.board .nc.sd{color:#0B1310}
}

/* count chips in the archive — same colours as the board */
.chip{display:inline-block;min-width:26px;padding:2px 8px;border-radius:99px;
  font-weight:700;font-size:12px;line-height:1.5}
.chip.sd{background:var(--c-sd);color:#fff}
.chip.nsd{background:var(--c-nsd-bg);color:var(--c-nsd);box-shadow:inset 0 0 0 1px var(--c-nsd)}

/* a hero with no figures (guide, about) is just a titled band */
/* prose pages: a compact titled band, no divider, full-contrast text */
.hero.plain .hero-in{padding:14px 16px 13px}
.hero.plain .herometa{margin-top:10px;padding-top:0;border-top:0;
  font-size:14px;color:#DCE6E0}
.hero.settled{background:linear-gradient(165deg,#1F332B 0%,#14201F 80%)}

/* the archive and record tables get the same row rhythm as the coupon */
table.coupon.archive td{padding:10px 6px}
table.coupon.archive .m em{font-style:normal;font-size:10px;color:var(--warn);
  display:block;margin-top:1px}

/* last week's results on the homepage.
   The search traffic this domain earns is people looking for results, not
   probabilities. This answers that above the fold on a priced week. */
.lastweek{background:var(--sur);border:1px solid var(--line);border-radius:11px;
  padding:14px 15px 10px;margin:18px 0}
.lw-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.lw-head h2{margin:0;font-size:16px}
.lw-sum{font-size:12px;color:var(--ink2)}
.lw-more{margin-left:auto;font-size:13px;font-weight:600}
.numgrid.compact{grid-template-columns:repeat(auto-fit,minmax(30px,1fr));gap:4px}
.numgrid.compact .nc{height:30px;font-size:12px;border-radius:5px}

/* recent weeks — internal links that spread crawl depth to the archive */
.weekstrip{margin:22px 0 4px}
.weekstrip h2{font-size:15px;margin:0 0 9px}
.strip{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
.strip a{flex:0 0 auto;background:var(--sur);border:1px solid var(--line);border-radius:9px;
  padding:9px 13px;text-decoration:none;min-width:96px}
.strip a:hover{border-color:var(--line2);text-decoration:none}
.strip b{display:block;font-size:13px;font-weight:800;color:var(--ink);letter-spacing:-.01em}
.strip span{display:block;font-size:10.5px;color:var(--mute);margin-top:2px;white-space:nowrap}
.strip a.all{background:var(--ok-bg);border-color:transparent}
.strip a.all b{color:var(--ok)}
@media(prefers-color-scheme:dark){
  .lastweek{background:#171D1A}
  .strip a{background:#171D1A}
}

/* match state — the column people scan on a Saturday */
table.coupon td.st{white-space:nowrap}
.st-soon{color:var(--mute);font-size:12px;font-variant-numeric:tabular-nums}
.st-live{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;
  color:var(--ok);background:var(--ok-bg);padding:2px 8px;border-radius:99px;
  font-variant-numeric:tabular-nums}
.st-live::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--ok);
  animation:pulse 1.8s ease-in-out infinite}
.st-done{font-size:11px;font-weight:700;color:var(--ink2);background:#EDF0EC;
  padding:2px 8px;border-radius:99px}
.st-off{font-size:11px;font-weight:600;color:var(--warn);background:var(--warn-bg);
  padding:2px 8px;border-radius:99px}
@media(prefers-color-scheme:dark){ .st-done{background:#232B27} }

/* the score itself: amber while it can still change, solid ink once final.
   Not green — green means "score draw" everywhere else on this site, and a
   live 1-1 is not a score draw yet. */
table.coupon td.sc-live{color:#B4740B;font-weight:800}
table.coupon td.sc-done{color:var(--ink);font-weight:800}
table.coupon td.sc-none{color:var(--mute);font-weight:500}
@media(prefers-color-scheme:dark){
  table.coupon td.sc-live{color:#E8A74A}
}

/* key swatches for the board — every colour the grid can paint */
.numkey b.bsd{background:var(--c-sd);border:1px solid var(--c-sd)}
.numkey b.bnsd{background:var(--c-nsd-bg);border:1px solid var(--c-nsd)}

/* a provisional cell is the outcome colour, but hatched, so a 1-1 at 67
   minutes never looks like a settled score draw */
.numgrid.board .nc.prov{position:relative;opacity:.72}
.numgrid.board .nc.prov::after{content:"";position:absolute;inset:0;border-radius:inherit;
  background:repeating-linear-gradient(135deg,transparent 0 3px,rgba(255,255,255,.35) 3px 6px);
  pointer-events:none}
@media(prefers-color-scheme:dark){
  .numgrid.board .nc.prov::after{
    background:repeating-linear-gradient(135deg,transparent 0 3px,rgba(0,0,0,.28) 3px 6px)}
}

/* my coupon — the only part of the page that knows who is reading it */
.mine-panel{background:var(--sur);border:1px solid var(--line);border-radius:11px;
  padding:14px 16px 11px;margin:16px 0 18px;box-shadow:inset 3px 0 0 var(--ok)}
.mp-head{display:flex;align-items:baseline;gap:10px;margin-bottom:6px}
.mp-head h2{margin:0;font-size:16px}
.mp-edit{margin-left:auto;font:inherit;font-size:13px;font-weight:600;color:var(--ok);
  background:none;border:0;cursor:pointer;padding:2px 4px}
.mp-edit:hover{text-decoration:underline}
.mp-line{margin:0 0 10px;font-size:14px;color:var(--ink2)}
.mp-line b{color:var(--ink);font-size:16px}
.mine-panel .numgrid.compact{grid-template-columns:repeat(auto-fit,minmax(34px,1fr));gap:5px}
.mine-panel .numgrid .nc{height:34px;font-size:13px}

/* the save control only appears once something has been typed */
.filters .f.save{background:var(--ok);color:#fff;border-color:var(--ok)}
.filters .f.save:hover{filter:brightness(1.06)}
.mine-saved{font-size:12px;color:var(--ok);font-weight:600;align-self:center}

/* a number the reader plays, marked in the full grid */
.numgrid .nc.picked{box-shadow:inset 0 0 0 2px var(--ok)}
@media(prefers-color-scheme:dark){
  .mine-panel{background:#171D1A}
}

/* /draws/ — the five numbers, big enough to read across a room and screenshot */
.dhero.live{background:radial-gradient(110% 80% at 80% 8%,rgba(111,211,160,.22) 0%,rgba(20,32,31,0) 60%),
            linear-gradient(165deg,#1B3329 0%,#14201F 78%)}
.perm{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 14px}
.perm .pn{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-width:62px;height:66px;padding:0 6px;border-radius:12px;text-decoration:none;
  background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);color:#fff;
  font-variant-numeric:tabular-nums;
  animation:pnIn .5s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i) * 90ms)}
.perm .pn b{font-size:26px;font-weight:800;line-height:1}
.perm .pn .pn-s{font-size:11px;font-weight:600;opacity:.72;margin-top:4px;white-space:nowrap}
.perm .pn:hover{background:rgba(255,255,255,.16);text-decoration:none}
@keyframes pnIn{from{opacity:0;transform:translateY(10px) scale(.92)}to{opacity:1;transform:none}}

/* level right now: green and breathing */
.perm .pn.drawing{background:rgba(111,211,160,.24);border-color:#6FD3A0}
.perm .pn.drawing::after{content:"";position:absolute;inset:-4px;border-radius:15px;
  border:2px solid #6FD3A0;animation:pnPulse 1.8s ease-out infinite}
@keyframes pnPulse{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(1.14)}}
/* finished level, and finished not level */
.perm .pn.won{background:#6FD3A0;border-color:#6FD3A0;color:#0B1310}
.perm .pn.won .pn-s{opacity:.8}
.perm .pn.lost{opacity:.42}

/* share — WhatsApp green, because that is where these numbers end up */
.wa{display:inline-flex;align-items:center;gap:8px;margin-top:4px;padding:10px 16px;
  border-radius:8px;background:#25D366;color:#06301A;font-weight:700;font-size:14px;
  text-decoration:none}
.wa:hover{background:#2EE472;text-decoration:none}
.dhero .clock{margin:4px 0 10px}

/* recent form: five dots a week, filled for each number that drew */
.form{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin:0 0 26px;
  -webkit-overflow-scrolling:touch}
.form .fw{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:5px;
  min-width:70px;padding:10px 8px;border-radius:9px;background:var(--sur);
  border:1px solid var(--line);text-decoration:none;color:var(--ink)}
.form .fw.won{border-color:var(--ok);box-shadow:inset 0 0 0 1px var(--ok)}
.form .fw b{font-size:12px;letter-spacing:.02em}
.form .fw small{font-size:11px;color:var(--mute)}
.fw-dots{display:flex;gap:3px}
.fw-dots i{width:7px;height:7px;border-radius:50%;background:var(--line)}
.fw-dots i.on{background:var(--ok)}
.permbox{background:var(--sur);border:1px solid var(--line);border-left:3px solid var(--ok);
  border-radius:10px;padding:15px 17px;margin:14px 0 24px}
.permbox p{margin:0 0 9px;font-size:15px}
.permbox p:last-child{margin-bottom:0}
.permbox b{font-size:17px}
.permbox .fine{font-size:13.5px;color:var(--ink2);line-height:1.6;
  border-top:1px solid var(--line);padding-top:10px;margin-top:11px}
table.coupon tr.spare td{opacity:.62}
@media(max-width:480px){
  .perm{gap:7px}
  .perm .pn{min-width:54px;height:60px}
  .perm .pn b{font-size:22px}
  .wa{width:100%;justify-content:center}
}
@media(prefers-reduced-motion:reduce){
  .perm .pn,.perm .pn.drawing::after{animation:none}
}
@media(prefers-color-scheme:dark){ .permbox{background:#171D1A} }

/* house advertising, under the header.
   width/height on the <img> reserve the space before it loads, so the page
   never jumps when the banner arrives. */
/* Same width and gutters as .wrap (900px, 16px each side), so the banner lines
   up with the hero, the grid and the table below it instead of running wider
   than the content. If .wrap ever changes, change this with it. */
.promo{max-width:900px;margin:12px auto 0;padding:0 16px;position:relative;box-sizing:border-box}
.promo a{display:block;border-radius:11px;overflow:hidden;line-height:0}
.promo img{display:block;width:100%;height:auto;aspect-ratio:1200/150}
.promo-tag{position:absolute;top:5px;right:22px;z-index:1;font-size:9px;letter-spacing:.06em;
  text-transform:uppercase;color:#fff;background:rgba(0,0,0,.42);padding:2px 6px;border-radius:3px}
@media(max-width:640px){
  .promo{margin-top:10px}
  .promo img{aspect-ratio:320/150}
}

/* /dead-games/ — same tiles as /draws/, opposite meaning: here a tile that
   stayed DECIDED is the success, and one that drew is the failure */
.perm.dead .pn.held{background:#6FD3A0;border-color:#6FD3A0;color:#0B1310}
.perm.dead .pn.held .pn-s{opacity:.8}
.perm.dead .pn.spoiled{background:rgba(229,115,115,.28);border-color:#E57373}
.perm.dead .pn.spoiled::after{content:"drew";position:absolute;top:-8px;right:-6px;
  font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;
  background:#E57373;color:#fff;padding:1px 5px;border-radius:6px}
@media(max-width:560px){ header.site nav{flex-wrap:wrap;row-gap:6px} }

/* ---------------------------------------------------------------- /dead-games/
   Its own identity, so nobody mistakes it for /draws/: crimson where draws is
   green, cards where draws has tiles, numbers struck through as if crossed off
   a coupon. */
.dead{--dg:#C8323C;--dg-deep:#2A0B10;--dg-mid:#5A1620;--dg-soft:rgba(200,50,60,.10)}
.dg-hero{background:radial-gradient(120% 90% at 85% 0%,rgba(255,120,110,.20) 0%,rgba(0,0,0,0) 55%),
           linear-gradient(160deg,var(--dg-mid) 0%,var(--dg-deep) 80%);
  color:#fff;border-radius:14px;padding:22px 22px 20px;margin:16px 0 22px}
.dg-tag{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  background:rgba(255,255,255,.12);padding:4px 10px;border-radius:20px}
.dg-big{margin:14px 0 2px;font-size:22px;font-weight:700;letter-spacing:-.01em}
.dg-big b{font-size:40px;font-weight:800;margin-right:4px;color:#FF8A80}
.dg-sub{margin:0 0 14px;font-size:15px;color:rgba(255,255,255,.82)}
.dg-sub b{color:#fff}
.dg-nos{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.dg-no{position:relative;display:grid;place-items:center;min-width:48px;height:48px;border-radius:10px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:#fff;
  font-size:21px;font-weight:800;text-decoration:none;font-variant-numeric:tabular-nums}
/* the strike: a number crossed off the coupon */
.dg-no::after{content:"";position:absolute;left:8px;right:8px;top:50%;height:3px;border-radius:2px;
  background:#FF6F61;transform:rotate(-24deg)}
.dg-no:hover{background:rgba(255,255,255,.16);text-decoration:none}
.dg-no.ok{background:rgba(255,255,255,.18)}
.dg-no.bust{background:#FFD54F;color:#3D2E00;border-color:#FFD54F}
.dg-no.bust::after{background:#3D2E00}
.dg-rec{margin:0 0 14px;font-size:13.5px;color:rgba(255,255,255,.75)}
.dg-rec b{color:#fff}

.dg-cards{display:grid;gap:10px;margin:14px 0 24px}
.dg-card{display:grid;grid-template-columns:52px 1fr auto;gap:14px;align-items:center;
  background:var(--sur);border:1px solid var(--line);border-left:4px solid var(--dg);
  border-radius:10px;padding:12px 14px}
.dg-card.ok{border-left-color:#2E9E6B}
.dg-card.bust{border-left-color:#E0A800;background:rgba(255,213,79,.10)}
.dg-n{position:relative;font-size:26px;font-weight:800;text-align:center;color:var(--dg);
  font-variant-numeric:tabular-nums}
.dg-n::after{content:"";position:absolute;left:6px;right:6px;top:52%;height:3px;border-radius:2px;
  background:currentColor;opacity:.55;transform:rotate(-24deg)}
.dg-card.ok .dg-n{color:#2E9E6B}
.dg-card.bust .dg-n{color:#B07C00}
.dg-m{margin:0;font-size:15.5px;font-weight:700;line-height:1.3}
.dg-m span{font-weight:400;color:var(--mute)}
.dg-l{margin:2px 0 6px;font-size:12.5px;color:var(--mute)}
.dg-fav{margin:0;font-size:14px}
.dg-fav b{color:var(--dg)}
.dg-fav small{margin-left:6px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;
  color:var(--mute);border:1px solid var(--line);border-radius:4px;padding:1px 5px}
.dg-res{margin:0;font-size:14px;font-weight:600}
.dg-card.bust .dg-res{color:#B07C00}
.dg-meter{text-align:right;min-width:92px}
.dg-meter b{display:block;font-size:22px;font-weight:800;line-height:1;color:var(--ink)}
.dg-meter small{display:block;font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--mute);margin:3px 0 6px}
.dg-meter .bar{display:block;height:5px;border-radius:3px;background:var(--line);overflow:hidden}
.dg-meter .bar i{display:block;height:100%;background:var(--dg)}
.dg-card.ok .dg-meter .bar i{background:#2E9E6B}
.dg-box{border-left-color:var(--dg)}
@media(max-width:560px){
  .dg-hero{padding:18px 16px}
  .dg-big b{font-size:34px}
  .dg-card{grid-template-columns:40px 1fr;gap:10px}
  .dg-n{font-size:22px}
  .dg-meter{grid-column:2;text-align:left;display:flex;align-items:center;gap:8px;min-width:0}
  .dg-meter b{font-size:16px;display:inline}
  .dg-meter small{display:inline;margin:0}
  .dg-meter .bar{flex:1}
  .wa{width:100%;justify-content:center}
}
@media(prefers-color-scheme:dark){ .dg-card{background:#1E1416} }

/* ---------------------------------------------------------------- guide
   /how-to-use/ and the folded "How to use this page" boxes */
.ht-box{background:var(--sur);border:1px solid var(--line);border-left:3px solid var(--ok);
  border-radius:10px;padding:0 16px;margin:4px 0 16px}
.ht-box.dg-ht{border-left-color:#C8323C}
.ht-box summary{cursor:pointer;list-style:none;padding:12px 0;font-weight:700;font-size:14.5px}
.ht-box summary::-webkit-details-marker{display:none}
.ht-box summary::before{content:"?";display:inline-grid;place-items:center;width:20px;height:20px;
  margin-right:8px;border-radius:50%;background:var(--ok);color:#fff;font-size:12px}
.ht-box.dg-ht summary::before{background:#C8323C}
.ht-box summary::after{content:"show";float:right;font-weight:400;font-size:12.5px;color:var(--mute)}
.ht-box[open] summary::after{content:"hide"}
.ht-box ol{margin:0 0 10px;padding-left:20px;font-size:14.5px;line-height:1.6}
.ht-box ol li{margin-bottom:4px}
.ht-box > a{display:inline-block;margin:0 0 14px;font-size:14px;font-weight:600}

.howto h2{margin-top:30px}
.ht-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0 8px}
.ht-card{display:block;padding:14px;border-radius:10px;text-decoration:none;color:#fff}
.ht-card:hover{text-decoration:none;filter:brightness(1.08)}
.ht-card b{display:block;font-size:16px;margin-bottom:4px}
.ht-card span{display:block;font-size:13px;line-height:1.45;opacity:.85}
.ht-week{background:#14201F}
.ht-draws{background:linear-gradient(160deg,#1B3329,#14201F)}
.ht-dead{background:linear-gradient(160deg,#5A1620,#2A0B10)}
.ht-steps{padding-left:22px;line-height:1.6;font-size:15px}
.ht-steps li{margin-bottom:10px}
.ht-list{padding-left:20px;line-height:1.6;font-size:15px}
.ht-list li{margin-bottom:8px}
.ht-warn li::marker{color:#C8323C}
.ht-example{background:var(--sur);border:1px solid var(--line);border-radius:12px;padding:4px 18px 14px;margin:24px 0}
.ht-example h2{margin-top:14px}
.ht-row{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:10px 0}
.ht-lbl{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;
  padding:4px 9px;border-radius:5px;color:#fff;min-width:88px;text-align:center}
.ht-l-dead{background:#C8323C}
.ht-l-draw{background:var(--ok)}
.ht-no{position:relative;display:grid;place-items:center;min-width:38px;height:38px;border-radius:8px;
  font-weight:800;font-size:16px;text-decoration:none;font-variant-numeric:tabular-nums}
.ht-no:hover{text-decoration:none}
.ht-x{background:rgba(200,50,60,.12);color:#C8323C}
.ht-x::after{content:"";position:absolute;left:6px;right:6px;top:50%;height:2px;background:#C8323C;transform:rotate(-24deg)}
.ht-d{background:var(--ok);color:#fff}
.ht-note,.ht-small{font-size:13.5px;color:var(--mute);line-height:1.55}
.ht-perm{margin:12px 0 6px}
.ht-faq details{border-bottom:1px solid var(--line);padding:10px 0}
.ht-faq summary{cursor:pointer;font-weight:700;font-size:15px}
.ht-faq p{margin:8px 0 2px;font-size:14.5px;color:var(--ink2);line-height:1.6}
@media(max-width:560px){ .ht-trio{grid-template-columns:1fr} .ht-lbl{min-width:0} }

/* ---------------------------------------------------------------- empty ad slots
   A slot AdSense could not fill (or that an ad blocker stopped) collapses
   instead of leaving the blank 250px box under the SingleBet strip. */
.adslot:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.adslot.adslot-empty{display:none}

/* ---------------------------------------------------------------- sticky bar */
.promo.promo-sticky{position:fixed;left:0;right:0;bottom:0;z-index:50;max-width:640px;margin:0 auto;
  padding:0 0 env(safe-area-inset-bottom,0px);animation:psUp .35s ease-out}
.promo.promo-sticky[hidden]{display:none}
.promo-sticky a{display:flex;align-items:center;gap:10px;height:56px;padding:0 44px 0 10px;
  background:linear-gradient(100deg,#0A3D91 0%,#1565C0 100%);color:#fff;text-decoration:none;
  border-radius:12px 12px 0 0;box-shadow:0 -4px 18px rgba(0,0,0,.25);line-height:1.15}
.promo-sticky a:hover{text-decoration:none;filter:brightness(1.06)}
.ps-logo{flex:0 0 auto;display:grid;place-items:center;width:40px;height:40px;border-radius:8px;
  background:#fff;color:#0A3D91;font-weight:900;font-size:12px;text-align:center;line-height:1}
.ps-text{flex:1;min-width:0;display:flex;flex-direction:column}
.ps-text b{font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ps-text small{font-size:10px;opacity:.75;margin-top:2px}
.ps-btn{flex:0 0 auto;background:#FFD200;color:#1B1B1B;font-weight:800;font-size:13px;
  padding:8px 12px;border-radius:7px;text-transform:uppercase;letter-spacing:.02em}
.ps-close{position:absolute;top:50%;right:6px;transform:translateY(-50%);width:32px;height:32px;
  border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:20px;line-height:1;cursor:pointer}
.ps-close:hover{background:rgba(255,255,255,.28)}
body.has-sticky{padding-bottom:64px}
@keyframes psUp{from{transform:translateY(100%)}to{transform:none}}
@media(prefers-reduced-motion:reduce){.promo.promo-sticky{animation:none}}
