/* /fonts.css */
/* Google Fonts: Baloo 2 and Poppins, SIL Open Font License. */
/* devanagari */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baloo2/v23/wXKrE3kTposypRyd51ncAM4olXcLtA.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}
/* vietnamese */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baloo2/v23/wXKrE3kTposypRyd51fcAM4olXcLtA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baloo2/v23/wXKrE3kTposypRyd51bcAM4olXcLtA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baloo2/v23/wXKrE3kTposypRyd51jcAM4olXc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baloo2/v23/wXKrE3kTposypRyd51ncAM4olXcLtA.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}
/* vietnamese */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baloo2/v23/wXKrE3kTposypRyd51fcAM4olXcLtA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baloo2/v23/wXKrE3kTposypRyd51bcAM4olXcLtA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/baloo2/v23/wXKrE3kTposypRyd51jcAM4olXc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v24/pxiEyp8kv8JHgFVrJJbecnFHGPezSQ.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v24/pxiEyp8kv8JHgFVrJJnecnFHGPezSQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v24/pxiEyp8kv8JHgFVrJJfecnFHGPc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z11lFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z1JlFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z1xlFd2JQEk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z11lFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z1JlFd2JQEl8qw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z1xlFd2JQEk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* /theme.css */
/* ==========================================================================
   Chave do Dia - tokens do design system
   Paleta roxo + amarelo, Baloo 2 (titulos) e Poppins (texto).
   Os nomes de classe sao os que o render.mjs gera; os tokens sao os da marca.
   ========================================================================== */
:root{
  color-scheme: light dark;

  --roxo-50:#F5F1FA;  --roxo-100:#E7DEF2; --roxo-500:#6E3FA0;
  --roxo-800:#4A2670; --roxo-900:#34174F;
  --amarelo-500:#FFD400; --amarelo-600:#E6BE00;
  --rosa-500:#E8467C; --laranja-500:#FF8A3D; --agua-500:#16BFA8;
  --branco:#FFFFFF;

  --ground:var(--roxo-50);
  --surface:var(--branco);
  --surface-2:var(--roxo-50);
  --ink:var(--roxo-900);
  --muted:var(--roxo-500);
  --line:var(--roxo-100);
  --brand:var(--roxo-500);
  --brand-soft:var(--roxo-50);
  --next-bg:var(--roxo-500);
  --next-fg:var(--branco);
  --gold:var(--amarelo-600);
  --gold-fill:var(--amarelo-500);
  --sobre-amarelo:var(--roxo-900);
  --hot:var(--rosa-500);
  --cold:var(--agua-500);
  --slot:var(--roxo-100);

  --bola-1:var(--roxo-500);
  --bola-2:var(--agua-500);
  --bola-3:var(--amarelo-500);
  --bola-4:var(--laranja-500);
  --bola-5:var(--rosa-500);

  --raio-sm:8px; --raio-md:12px; --raio-lg:20px; --raio-pilula:999px;
  --shadow:0 1px 2px rgba(52,23,79,.06), 0 12px 32px -16px rgba(52,23,79,.28);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ground:var(--roxo-900); --surface:var(--roxo-800); --surface-2:#3F2060;
    --ink:var(--branco); --muted:var(--roxo-100); --line:#5A3382;
    --brand:var(--amarelo-500); --brand-soft:#3F2060; --next-bg:var(--roxo-500);
    --slot:#5A3382;
    --shadow:0 1px 2px rgba(0,0,0,.35), 0 14px 34px -18px rgba(0,0,0,.7);
  }
}
:root[data-theme="dark"]{
  --ground:var(--roxo-900); --surface:var(--roxo-800); --surface-2:#3F2060;
  --ink:var(--branco); --muted:var(--roxo-100); --line:#5A3382;
  --brand:var(--amarelo-500); --brand-soft:#3F2060; --next-bg:var(--roxo-500);
  --slot:#5A3382;
  --shadow:0 1px 2px rgba(0,0,0,.35), 0 14px 34px -18px rgba(0,0,0,.7);
}

*{box-sizing:border-box}
body{
  margin:0; background:var(--ground); color:var(--ink);
  font-family:"Poppins","Helvetica Neue",Arial,sans-serif;
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.display{font-family:"Baloo 2","Poppins",Arial,sans-serif;font-weight:800;text-wrap:balance;margin:0}
.mono{font-variant-numeric:tabular-nums}
a{color:inherit}
:focus-visible{outline:3px solid var(--gold-fill);outline-offset:3px;border-radius:var(--raio-sm)}

.wrap{max-width:1180px;margin:0 auto;padding:0 24px}

/* ---------- topo ---------- */
.masthead{background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.masthead .wrap{display:flex;align-items:center;gap:20px;height:66px}
.logo{display:flex;align-items:baseline;gap:2px;font-family:"Baloo 2",sans-serif;font-weight:800;font-size:21px;letter-spacing:.01em;text-decoration:none;color:var(--brand)}
.logo .dot{color:var(--gold-fill)}
.logo .tld{font-weight:500;color:var(--muted);font-size:15px;font-family:"Poppins",sans-serif}
nav.main{margin-left:auto;display:flex;gap:24px;font-size:15px;font-weight:500}
nav.main a{text-decoration:none;color:var(--muted);padding:4px 0;border-bottom:2px solid transparent}
nav.main a.on,nav.main a:hover{color:var(--ink);border-bottom-color:var(--gold-fill)}
.draftflag{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--sobre-amarelo);background:var(--gold-fill);border-radius:var(--raio-pilula);padding:5px 14px}
@media(max-width:860px){nav.main{display:none}}

.notice{background:var(--surface-2);border-bottom:1px solid var(--line);font-size:13.5px;color:var(--muted)}
.notice .wrap{padding-top:10px;padding-bottom:10px}

/* ---------- espacos publicitarios ---------- */
.adslot{border:2px dashed var(--slot);border-radius:var(--raio-md);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--muted);text-align:center;background:transparent}
.adslot b{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.adslot span{font-size:12px}
.ad-leader{height:96px;margin:24px 0}
.ad-rect{height:262px}
.ad-inline{height:104px;margin:6px 0 4px}

/* anuncios da casa: a imagem manda na altura, nunca transborda */
.casa{display:block;line-height:0;border-radius:var(--raio-md);overflow:hidden}
.casa img{display:block;width:100%;height:auto;max-width:100%}
.casa.leaderboard{max-width:728px;margin:24px auto}
.casa.rail{max-width:300px}
.casa.artigo{max-width:970px;margin:20px auto}

/* ---------- estrutura ---------- */
.cols{display:grid;grid-template-columns:minmax(0,1fr) 316px;gap:32px;align-items:start;padding-bottom:48px}
@media(max-width:1000px){.cols{grid-template-columns:1fr}}
.rail{display:flex;flex-direction:column;gap:16px;position:sticky;top:96px}
@media(max-width:1000px){.rail{position:static}}

.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--raio-lg);box-shadow:var(--shadow);overflow:hidden}
.panel-pad{padding:24px}
@media(min-width:700px){.panel-pad{padding:32px}}

.eyebrow{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);display:flex;align-items:center;gap:10px}
.eyebrow::after{content:"";flex:1;height:1px;background:var(--line)}

/* ---------- sorteio principal ---------- */
.draw-head{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px;margin-bottom:4px}
.draw-head h1{font-size:clamp(28px,4vw,40px);line-height:1.1}
.draw-id{font-size:13px;font-weight:600;letter-spacing:.06em;color:var(--muted);background:var(--surface-2);border-radius:var(--raio-pilula);padding:5px 14px;white-space:nowrap}
.balls{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0 6px}
.ball{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--bola-1);border:0;color:#fff;font-family:"Baloo 2",sans-serif;font-weight:800;font-size:24px;line-height:1;font-variant-numeric:tabular-nums}
.balls .ball:nth-child(5n+1){background:var(--bola-1);color:#fff}
.balls .ball:nth-child(5n+2){background:var(--bola-2);color:#fff}
.balls .ball:nth-child(5n+3){background:var(--bola-3);color:var(--sobre-amarelo)}
.balls .ball:nth-child(5n+4){background:var(--bola-4);color:var(--roxo-900)}
.balls .ball:nth-child(5n+5){background:var(--bola-5);color:#fff}
.plus{color:var(--muted);font-size:22px;font-weight:600;padding:0 2px}
.star{width:66px;height:66px;display:grid;place-items:center;position:relative;flex:none;font-family:"Baloo 2",sans-serif;font-weight:800;font-size:24px;color:var(--sobre-amarelo);font-variant-numeric:tabular-nums}
.star::before{content:"";position:absolute;inset:0;background:var(--gold-fill);clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
.star span{position:relative;transform:translateY(3px)}
@media(max-width:560px){
  .ball{width:50px;height:50px;font-size:20px}
  .star{width:54px;height:54px;font-size:19px}
  .balls{gap:8px}
}
.legend{display:flex;flex-wrap:wrap;gap:22px;font-size:13.5px;color:var(--muted);margin-top:12px}
.legend b{color:var(--ink);font-weight:600}

/* ---------- barra de estado ---------- */
.statrow{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border-top:1px solid var(--line)}
@media(max-width:640px){.statrow{grid-template-columns:1fr}}
.stat{background:var(--surface);padding:18px 24px}
.stat .k{font-size:13px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:600}
.stat .v{font-family:"Baloo 2",sans-serif;font-size:22px;font-weight:800;font-variant-numeric:tabular-nums}
.stat .v.jack{color:var(--brand)}

/* ---------- proximo sorteio ---------- */
.next{background:var(--next-bg);color:var(--next-fg);border-radius:var(--raio-lg);padding:24px;border:0}
.next .eyebrow{color:rgba(255,255,255,.75)}
.next .eyebrow::after{background:rgba(255,255,255,.25)}
.next .amount{font-family:"Baloo 2",sans-serif;font-size:34px;line-height:1.12;font-weight:800;margin:8px 0 4px;color:var(--gold-fill);font-variant-numeric:tabular-nums}
.next .when{font-size:14px;color:rgba(255,255,255,.85)}
.clock{display:flex;gap:8px;margin-top:16px}
.clock div{flex:1;background:rgba(255,255,255,.14);border-radius:var(--raio-sm);padding:8px 4px;text-align:center}
.clock .n{font-family:"Baloo 2",sans-serif;font-size:21px;font-weight:800;color:var(--next-fg);font-variant-numeric:tabular-nums}
.clock .l{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.72)}

/* ---------- tabela escaloes ---------- */
.tablewrap{overflow-x:auto}
table{border-collapse:collapse;width:100%;font-size:14.5px;min-width:520px}
th,td{padding:11px 12px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}
th:first-child,td:first-child{text-align:left}
thead th{font-size:12.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:600;border-bottom:1.5px solid var(--line)}
tbody td{font-variant-numeric:tabular-nums;font-size:14px}
tbody td:first-child{font-weight:500}
tbody tr:first-child td{background:var(--brand-soft)}
tbody tr:hover td{background:var(--surface-2)}
.tier{color:var(--muted);font-weight:400;margin-right:8px;font-size:13px}

/* ---------- sorteio anterior ---------- */
.prev{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center}
@media(max-width:700px){.prev{grid-template-columns:1fr}}
.miniballs{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.mini{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--bola-1);border:0;color:#fff;font-family:"Baloo 2",sans-serif;font-weight:800;font-size:17px;line-height:1;font-variant-numeric:tabular-nums}
.miniballs .mini:nth-child(5n+1){background:var(--bola-1);color:#fff}
.miniballs .mini:nth-child(5n+2){background:var(--bola-2);color:#fff}
.miniballs .mini:nth-child(5n+3){background:var(--bola-3);color:var(--sobre-amarelo)}
.miniballs .mini:nth-child(5n+4){background:var(--bola-4);color:var(--roxo-900)}
.miniballs .mini:nth-child(5n+5){background:var(--bola-5);color:#fff}
.mini.st{background:var(--gold-fill);color:var(--sobre-amarelo)}
.m1lhao{border-left:4px solid var(--gold-fill);background:var(--surface-2);padding:14px 18px;border-radius:0 var(--raio-md) var(--raio-md) 0}
.m1lhao .code{font-family:"Baloo 2",sans-serif;font-size:26px;font-weight:800;letter-spacing:.08em;color:var(--brand)}
.m1lhao .k{font-size:12.5px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:600}

/* ---------- estatisticas ---------- */
.freqgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px;margin-top:16px}
.freq{border:1px solid var(--line);border-radius:var(--raio-md);padding:10px 12px;display:flex;align-items:center;gap:10px}
.freq .n{width:38px;height:38px;flex:none;border-radius:50%;display:grid;place-items:center;font-family:"Baloo 2",sans-serif;font-weight:800;font-size:16px;font-variant-numeric:tabular-nums;color:#fff}
.freq.h .n{background:var(--hot)}
.freq.c .n{background:var(--cold)}
.freq .meta{min-width:0}
.freq .c1{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.freq .c2{font-size:12px;color:var(--muted)}
.bar{height:4px;border-radius:2px;background:var(--line);margin-top:4px;overflow:hidden}
.bar i{display:block;height:100%;border-radius:2px}
.freq.h .bar i{background:var(--hot)}
.freq.c .bar i{background:var(--cold)}

/* ---------- arquivo / faq ---------- */
.archive{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin-top:14px}
.arow{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:var(--raio-md);padding:11px 16px;text-decoration:none;font-size:14.5px}
.arow:hover{border-color:var(--brand);background:var(--surface-2)}
.arow .d{color:var(--muted);font-size:13px}
.arow .k{font-size:13.5px;font-weight:600;font-variant-numeric:tabular-nums}

details{border-bottom:1px solid var(--line);padding:14px 0}
details:last-of-type{border-bottom:0}
summary{cursor:pointer;font-weight:600;font-size:16px;list-style:none;display:flex;justify-content:space-between;gap:12px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";color:var(--muted)}
details[open] summary::after{content:"−"}
details p{margin:10px 0 0;color:var(--muted);font-size:15px;max-width:62ch}

.prose p{color:var(--muted);max-width:64ch;font-size:15.5px}
.prose p strong{color:var(--ink)}

/* ---------- rodape ---------- */
footer{background:var(--surface);border-top:1px solid var(--line);padding:32px 0 44px;font-size:14px;color:var(--muted)}
footer .grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px}
@media(max-width:760px){footer .grid{grid-template-columns:1fr}}
footer a{color:var(--muted)}
footer h4{font-family:"Baloo 2",sans-serif;font-size:14px;text-transform:uppercase;letter-spacing:.1em;color:var(--ink);margin:0 0 10px}
footer ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:7px}
.age{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--hot);color:#fff;font-weight:700;font-size:13px}

.gap{display:flex;flex-direction:column;gap:24px}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---------- extras por jogo ---------- */
.ball.ex,.mini.ex{color:#fff}
.balls .ball.ex-sonho,.miniballs .mini.ex-sonho{background:var(--laranja-500);color:var(--roxo-900)}
.balls .ball.ex-sorte,.miniballs .mini.ex-sorte{background:var(--agua-500);color:#fff}

/* ---------- cartoes de jogo na pagina inicial ---------- */
.jogos{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;margin-top:20px}
.jogo{display:flex;flex-direction:column;gap:12px;text-decoration:none;border:1px solid var(--line);border-radius:var(--raio-lg);padding:18px;background:var(--surface)}
.jogo:hover{border-color:var(--brand);background:var(--surface-2)}
.jogo-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.jogo-nome{font-family:"Baloo 2",sans-serif;font-weight:800;font-size:18px}
.jogo-top .d{font-size:12.5px;color:var(--muted)}
.jogo .miniballs{margin-top:0}
.jogo-pe{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.jogo .mini{width:36px;height:36px;font-size:14px}

.rail .next + .next{margin-top:0}

/* ---------- convite para guardar no telemovel ---------- */
#instalar{
  position:fixed;left:12px;right:12px;bottom:12px;z-index:60;
  display:flex;flex-wrap:wrap;align-items:center;gap:12px;
  background:var(--roxo-800);color:#fff;
  border-radius:var(--raio-lg);padding:14px 16px;
  box-shadow:0 12px 40px -12px rgba(0,0,0,.55);
}
#instalar[hidden]{display:none}
#instalar p{margin:0;flex:1 1 220px;font-size:14px;line-height:1.45}
#instalar b{display:block;font-family:"Baloo 2",sans-serif;font-size:16px;font-weight:800}
#instalar span{opacity:.85}
#instalar .acoes{display:flex;gap:8px;margin-left:auto}
#instalar button{
  font-family:"Poppins",sans-serif;font-size:14px;font-weight:600;
  border:0;border-radius:var(--raio-pilula);padding:10px 18px;cursor:pointer;
}
#instalar #instalar-sim{background:var(--amarelo-500);color:var(--roxo-900)}
#instalar #instalar-nao{background:transparent;color:rgba(255,255,255,.75);padding:10px 12px}
@media(min-width:900px){#instalar{display:none}}

/* /v2.css */
/* Chave do Dia v2 — camada visual orientada a leitura rápida de resultados */

:root{
  --resultado:#4A2670;
  --resultado-escuro:#34174F;
  --resultado-extra:#FFD400;
  --resultado-bg:#F7F5F9;
}

body{background:var(--resultado-bg)}

/* A marca continua expressiva; o conteúdo fica mais editorial e credível. */
h1,h2,h3,.display{font-family:"Poppins","Helvetica Neue",Arial,sans-serif;letter-spacing:-.035em}
.logo{font-family:"Baloo 2","Poppins",sans-serif}

.masthead{box-shadow:0 1px 0 rgba(52,23,79,.04)}
.notice{font-size:12px;background:rgba(110,63,160,.045)}
.notice .wrap{padding-top:7px;padding-bottom:7px}

.panel{
  border-radius:16px;
  border-color:rgba(74,38,112,.10);
  box-shadow:0 10px 32px -24px rgba(52,23,79,.35);
}
.panel-pad{padding:28px}

.draw-head{margin-bottom:2px}
.draw-head h1{font-size:clamp(27px,3.5vw,36px);line-height:1.16}
.draw-id{
  background:#F0EBF5;
  color:var(--resultado);
  font-size:12.5px;
  font-weight:600;
}

/* Uma cor para números principais. Menos ruído, leitura mais rápida. */
.balls{gap:10px;margin:22px 0 8px}
.ball,
.balls .ball:nth-child(5n+1),
.balls .ball:nth-child(5n+2),
.balls .ball:nth-child(5n+3),
.balls .ball:nth-child(5n+4),
.balls .ball:nth-child(5n+5){
  width:60px;height:60px;
  background:var(--resultado);
  color:#fff;
  border:0;
  font-size:23px;
  box-shadow:none;
}

/* O extra é sempre visualmente distinto. */
.ball.ex,
.balls .ball.ex,
.miniballs .mini.ex{
  background:var(--resultado-extra)!important;
  color:var(--resultado-escuro)!important;
}
.plus{color:#9B8BAA;font-weight:500}
.star{width:64px;height:64px}

.miniballs .mini,
.miniballs .mini:nth-child(5n+1),
.miniballs .mini:nth-child(5n+2),
.miniballs .mini:nth-child(5n+3),
.miniballs .mini:nth-child(5n+4),
.miniballs .mini:nth-child(5n+5){
  background:var(--resultado);
  color:#fff;
}

.statrow{background:rgba(74,38,112,.10);border-color:rgba(74,38,112,.10)}
.stat .k{font-size:11.5px}
.stat .v{font-size:20px}

.next{background:var(--resultado-escuro)}
.next .amount{color:var(--resultado-extra)}

/* Página criada antes do sorteio. */
.live-prepage{max-width:820px;margin:28px auto 48px}
.live-prepage .eyebrow{color:var(--resultado)}
.live-empty{opacity:.22}
.live-awaiting{
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-top:20px;
  padding:14px 16px;
  border:1px solid rgba(74,38,112,.14);
  border-radius:12px;
  background:#FAF8FC;
  font-size:14px;
}
.live-awaiting strong{font-size:15px;color:var(--resultado-escuro)}
.live-awaiting span{color:#735F82}
.live-source-note{font-size:12.5px;color:var(--muted);margin-top:14px}

.live-confirmed{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:14px;
  padding:7px 11px;
  border-radius:999px;
  background:#E9F8F2;
  color:#176B50;
  font-size:12.5px;
  font-weight:600;
}
.live-confirmed::before{content:"";width:7px;height:7px;border-radius:50%;background:#24A879}

/* O aviso de sorteio não deve competir visualmente com a própria chave. */
[id^="decorrer-"], [id^="pastilha-"]{
  border-radius:12px!important;
}

@media(max-width:700px){
  .panel-pad{padding:20px}
  .notice{display:none}
  .balls{gap:7px;margin-top:18px}
  .ball,
  .balls .ball:nth-child(5n+1),
  .balls .ball:nth-child(5n+2),
  .balls .ball:nth-child(5n+3),
  .balls .ball:nth-child(5n+4),
  .balls .ball:nth-child(5n+5){width:48px;height:48px;font-size:19px}
  .star{width:52px;height:52px;font-size:19px}
  .draw-head h1{font-size:27px}
  .live-prepage{margin-top:16px}
}

@media(prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .live-awaiting{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.12)}
  :root:not([data-theme="light"]) .live-awaiting strong{color:#fff}
  :root:not([data-theme="light"]) .live-awaiting span{color:var(--muted)}
  :root:not([data-theme="light"]) .draw-id{background:rgba(255,255,255,.08);color:var(--amarelo-500)}
}

/* /v3.css */
/* Chave do Dia v3 — produto de dados, utilidade e leitura imediata. */

:root{
  --v3-purple:#4A2670;
  --v3-purple-dark:#34174F;
  --v3-yellow:#FFD400;
  --v3-green:#18815f;
  --v3-text:#2d173f;
  --v3-muted:#735f82;
  --v3-bg:#f8f6fa;
  --v3-border:rgba(74,38,112,.11);
}

body{background:var(--v3-bg)}
.wrap{width:100%;max-width:1220px}
.cols{grid-template-columns:minmax(0,1fr) 292px;gap:28px}
.cols>main,.gap,.rail{min-width:0}
.gap{display:flex;flex-direction:column;gap:22px}
.rail{gap:16px;top:86px}

/* Publicidade: nunca define a largura do conteúdo. */
.casa,.casa img,.adsbygoogle{max-width:100%!important;min-width:0!important}
.casa{width:100%;overflow:hidden}
.casa.leaderboard{width:min(728px,100%);margin:18px 0 18px}
.casa.rail{width:100%;max-width:292px}
/* Enquanto a publicidade é apenas da casa, evitamos repetir Nexo 3x no mesmo ecrã. */
.casa.artigo{display:none}

.panel{box-shadow:0 10px 28px -25px rgba(52,23,79,.34);border-color:var(--v3-border)}
.panel-pad{padding:26px 28px}
.eyebrow{font-size:12px;letter-spacing:.095em}

/* Resultado acima de tudo. */
.draw-head{display:block;margin-top:10px!important}
.draw-head h1,.draw-head h2{max-width:24ch;line-height:1.12}
/* A referência do sorteio já está no eyebrow. Evita informação duplicada. */
.draw-head>.draw-id{display:none}
.live-prepage .draw-head>.draw-id{display:inline-flex;margin-top:10px}
.balls{margin-top:20px}
.legend{gap:10px 22px;margin-top:10px}
.statrow .stat{padding:16px 22px}

/* Sidebar: útil, mas visualmente secundária ao resultado. */
.next{padding:20px;border-radius:15px}
.next .amount{font-size:29px;margin-top:6px}
.next .when{font-size:13px;line-height:1.55}
.clock{gap:6px;margin-top:13px}
.clock div{padding:6px 3px}
.clock .n{font-size:18px}
.clock .l{font-size:9.5px}

/* Tabelas não podem empurrar/recortar a grelha desktop. */
.tablewrap,.data-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.tablewrap table{width:100%;min-width:0;table-layout:fixed}
.tablewrap th,.tablewrap td{padding:10px 9px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
.tablewrap th:first-child,.tablewrap td:first-child{width:38%}
.tablewrap th:last-child,.tablewrap td:last-child{width:25%}
.tablewrap th:not(:first-child):not(:last-child),.tablewrap td:not(:first-child):not(:last-child){width:18.5%}
.tablewrap td:last-child{font-weight:600}

/* Navegação utilitária inserida no cabeçalho sem sacrificar os jogos. */
.utility-nav{display:flex;align-items:center;gap:8px;margin-left:7px;padding-left:13px;border-left:1px solid var(--line)}
.utility-nav a{font-size:12px!important;font-weight:600!important}
.utility-nav .verify-link{color:var(--v3-purple-dark)!important;background:var(--v3-yellow);padding:7px 10px!important;border:0!important;border-radius:999px}

/* Hero de produto */
.product-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding-top:36px;padding-bottom:26px}
.product-hero h1,.tool-wrap h1,.stats-hero h1,.m1-hero h1{font-size:clamp(30px,4vw,44px);margin:8px 0 10px;line-height:1.08}
.product-hero p{max-width:70ch;margin:0;color:var(--v3-muted)}
.freshness{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12.5px;color:var(--v3-muted);padding:9px 12px;border:1px solid var(--v3-border);border-radius:999px;background:#fff}
.fresh-dot{width:8px;height:8px;border-radius:50%;background:#2baa79;box-shadow:0 0 0 4px rgba(43,170,121,.10)}

/* Resultados de hoje */
.today-panel{overflow:hidden}
.today-row{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(280px,1.4fr) auto;align-items:center;gap:18px;padding:22px 24px;border-bottom:1px solid var(--line)}
.today-row:last-child{border-bottom:0}
.today-row.is-live{background:linear-gradient(90deg,rgba(43,170,121,.07),transparent 45%)}
.today-name{display:flex;flex-direction:column;gap:3px}
.today-name a{text-decoration:none}
.today-name strong{font-size:17px}
.today-status{font-size:12px;color:var(--v3-muted)}
.today-status.is-live{color:var(--v3-green);font-weight:600}
.today-balls .miniballs{margin:0}
.today-link{font-size:12.5px;font-weight:600;text-decoration:none;color:var(--brand)}
.utility-cta{display:flex;align-items:center;justify-content:space-between;gap:24px}
.utility-cta h2{font-size:25px;margin:7px 0 5px}
.utility-cta p{margin:0;color:var(--v3-muted)}

.button-primary,.button-quiet{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:11px 16px;font-family:inherit;font-weight:600;font-size:14px;text-decoration:none;cursor:pointer}
.button-primary{background:var(--v3-purple);color:#fff}
.button-primary:hover{background:var(--v3-purple-dark)}
.button-primary.small{padding:8px 12px;font-size:12.5px;margin-top:8px}
.button-quiet{background:#f1edf5;color:var(--v3-purple)}

/* Verificador */
.tool-wrap{max-width:900px;padding-top:36px;padding-bottom:50px;display:flex;flex-direction:column;gap:22px}
.tool-intro{max-width:68ch;color:var(--v3-muted);margin:0 0 24px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.checker label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;color:var(--v3-purple)}
.checker select,.checker input{width:100%;border:1px solid rgba(74,38,112,.20);border-radius:10px;background:#fff;color:var(--v3-text);font:inherit;padding:11px 12px;outline:0}
.checker select:focus,.checker input:focus{border-color:var(--v3-purple);box-shadow:0 0 0 3px rgba(74,38,112,.09)}
.field-block{margin-top:16px}
.field-block small{font-weight:400;color:var(--v3-muted)}
.checker-actions{display:flex;gap:10px;margin-top:22px}
.checker-result{margin-top:24px;padding:20px;border-radius:13px;border:1px solid var(--v3-border);background:#faf8fc}
.checker-result.win{border-color:rgba(24,129,95,.25);background:#f0faf6}
.checker-result.error{border-color:rgba(180,60,75,.20);background:#fff5f6}
.checker-result h2{font-size:22px;margin:10px 0 5px}
.checker-result p{margin:6px 0}
.checker-score{display:grid;grid-template-columns:auto auto auto auto;align-items:baseline;gap:5px 9px}
.checker-score strong{font-size:28px;color:var(--v3-purple)}
.checker-score span{font-size:12px;color:var(--v3-muted);margin-right:10px}
.checker-note{font-size:12.5px;color:var(--v3-muted)}
.checker-history{display:flex;flex-direction:column;margin-top:12px;border-top:1px solid var(--line)}
.checker-history a{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--line);text-decoration:none}

/* Contexto e estatísticas */
.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
.metric-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:20px}
.metric{border:1px solid var(--v3-border);border-radius:11px;padding:13px 14px;background:#fff;min-width:0}
.metric span{display:block;font-size:11px;color:var(--v3-muted);text-transform:uppercase;letter-spacing:.06em}
.metric strong{display:block;margin-top:3px;font-size:18px;line-height:1.3;overflow-wrap:anywhere}
.metric-help{display:block;margin-top:7px;color:var(--v3-muted);font-size:11px;line-height:1.45;font-weight:400}
.context-intro{max-width:72ch;margin:8px 0 0;color:var(--v3-muted);font-size:13px;line-height:1.55}
.context-note{font-size:12.5px;color:var(--v3-muted);margin:14px 0 0}
.stats-hero>p{color:var(--v3-muted);max-width:70ch}
.stats-hero h1{margin:8px 0}
.stat-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:16px}
.number-stat{display:flex;flex-direction:column;align-items:center;text-align:center;border:1px solid var(--v3-border);border-radius:12px;padding:13px 7px;background:#fff}
.number-stat strong{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--v3-purple);color:#fff;font-size:17px}
.number-stat.extra strong{background:var(--v3-yellow);color:var(--v3-purple-dark)}
.number-stat span{font-size:12px;font-weight:600;margin-top:7px}
.number-stat small{font-size:10.5px;color:var(--v3-muted)}
.pair-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:16px}
.pair-grid>div{border:1px solid var(--v3-border);border-radius:10px;padding:12px;display:flex;justify-content:space-between;gap:8px}
.pair-grid span{color:var(--v3-muted);font-size:12px}
.distribution{display:flex;flex-direction:column;gap:9px;margin-top:16px}
.distribution>div{display:grid;grid-template-columns:160px 36px minmax(100px,1fr) 52px;gap:10px;align-items:center;font-size:12.5px}
.distribution i{display:block;height:7px;border-radius:99px;background:linear-gradient(90deg,var(--v3-purple) var(--w),#eee var(--w));}
.distribution small{text-align:right;color:var(--v3-muted)}
.data-table{width:100%;min-width:650px;border-collapse:collapse;margin-top:14px;font-size:12.5px}
.data-table th,.data-table td{padding:8px 10px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}
.data-table th:first-child,.data-table td:first-child{text-align:left}
.num-pill{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--v3-purple);color:#fff}

/* Portugal */
.country-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.country-card{background:#fff;border:1px solid var(--v3-border);border-radius:15px;padding:22px;min-width:0}
.country-card>div{display:flex;flex-direction:column}
.country-card>div span{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:var(--v3-muted)}
.country-card>div strong{font-size:32px;line-height:1.1;margin-top:4px}
.country-card>div small{color:var(--v3-muted)}
.country-card dl{display:grid;grid-template-columns:1fr auto;gap:8px 12px;margin:20px 0}
.country-card dt{font-size:12px;color:var(--v3-muted)}
.country-card dd{margin:0;font-size:12.5px;font-weight:600;text-align:right}
.country-card a{font-size:12.5px;font-weight:600;text-decoration:none}

/* Insights */
.insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-bottom:50px}
.insight-card{background:#fff;border:1px solid var(--v3-border);border-radius:15px;padding:22px;min-width:0}
.insight-head h2{font-size:20px;margin:7px 0 10px}
.insight-head .miniballs{margin-top:10px}
.insight-card ul{padding-left:20px;color:var(--v3-muted);font-size:13px;min-height:150px}
.insight-card li+li{margin-top:6px}
.insight-card>a{font-size:12.5px;font-weight:600;text-decoration:none}

/* M1LHÃO */
.m1-code{font-size:clamp(30px,5vw,50px);font-weight:700;letter-spacing:.08em;color:var(--v3-purple);background:#faf8fc;border-left:5px solid var(--v3-yellow);padding:18px 20px;margin:18px 0;border-radius:0 12px 12px 0}

/* Centro de conhecimento */
.knowledge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.knowledge-link{display:block;border:1px solid var(--v3-border);border-radius:12px;padding:16px;text-decoration:none;background:#fff}
.knowledge-link strong{display:block}
.knowledge-link span{display:block;margin-top:4px;font-size:12.5px;color:var(--v3-muted)}

@media(max-width:1000px){
  .cols{grid-template-columns:1fr}
  .rail{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .casa.rail{max-width:100%}
  .country-grid,.insight-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:760px){
  .product-hero{align-items:flex-start;flex-direction:column;padding-top:24px}
  .freshness{white-space:normal}
  .today-row{grid-template-columns:1fr;gap:11px;padding:18px}
  .today-link{justify-self:start}
  .utility-cta{align-items:flex-start;flex-direction:column}
  .form-grid{grid-template-columns:1fr}
  .metric-grid,.metric-grid.compact{grid-template-columns:1fr 1fr}
  .stat-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pair-grid{grid-template-columns:1fr 1fr}
  .country-grid,.insight-grid{grid-template-columns:1fr}
  .distribution>div{grid-template-columns:120px 32px minmax(70px,1fr) 48px}
  .rail{grid-template-columns:1fr}
  .knowledge-grid{grid-template-columns:1fr}
  .utility-nav{display:none}
  .tablewrap table{min-width:620px;table-layout:auto}
  .tablewrap th,.tablewrap td{white-space:nowrap}
}

@media(max-width:480px){
  .panel-pad{padding:20px}
  .metric-grid,.metric-grid.compact{grid-template-columns:1fr}
  .stat-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pair-grid{grid-template-columns:1fr}
  .checker-score{grid-template-columns:auto 1fr auto 1fr}
}

/* /v3-mobile.css */
/* The shared server-rendered header loads brand styles directly. */

.mobile-utility-bar{display:none}

@media(max-width:760px){
  .mobile-utility-bar{
    display:flex;
    align-items:center;
    gap:6px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    padding:8px 15px;
    background:#fff;
    border-bottom:1px solid rgba(74,38,112,.10);
    position:sticky;
    top:0;
    z-index:18;
    white-space:nowrap;
  }
  .mobile-utility-bar::-webkit-scrollbar{display:none}
  .mobile-utility-bar a{
    flex:0 0 auto;
    color:#4A2670;
    text-decoration:none;
    font-size:12px;
    font-weight:600;
    padding:7px 9px;
    border-radius:999px;
  }
  .mobile-utility-bar a:active{background:#f3eef7}
  .mobile-utility-bar .mobile-verify{background:#FFD400;color:#34174F}

  .tablewrap{
    position:relative;
    border-right:2px solid rgba(74,38,112,.18);
  }
  .tablewrap::before{
    content:'Deslize para ver todos os dados →';
    display:block;
    position:sticky;
    left:0;
    width:max-content;
    margin:0 0 8px;
    padding:4px 7px;
    border-radius:6px;
    background:#f3eef7;
    color:#735f82;
    font-size:10px;
    font-weight:600;
    letter-spacing:.02em;
  }
  .tablewrap:focus-within{border-right-color:#4A2670}
}


@media(max-width:760px){
  .checker-actions{flex-direction:column;align-items:stretch}
  .checker-actions > button{width:100%;justify-content:center}
}

/* /v4.css */
/* Chave do Dia v4 — refinamento editorial, contraste e hierarquia visual. */

:root,
:root[data-theme="dark"],
:root:not([data-theme="light"]){
  color-scheme:light;
  --ground:#fff;
  --surface:#fff;
  --surface-2:#fafafa;
  --ink:#141414;
  --muted:#625a68;
  --line:#ece8ef;
  --brand:#6E3FA0;
  --brand-soft:#f7f4fa;
  --next-bg:#4A2670;
  --next-fg:#fff;
  --slot:#e5dfea;
  --v3-text:#141414;
  --v3-muted:#625a68;
  --v3-bg:#fff;
  --v3-border:rgba(74,38,112,.12);
  --shadow:0 8px 30px -24px rgba(28,18,35,.22);
}

html,body{background:#fff!important;color:#141414}
body{line-height:1.62}
main p,main li,main dd,main dt,.prose{color:#202020}
.product-hero p,.context-note,.context-intro,.timeline-heading>p:not(.eyebrow),.today-status,.national-hero p,.national-card>small,.national-card>span{color:#625a68}

h1,h2,h3,.display,.panel h1,.panel h2,.panel h3,.product-hero h1,.stats-hero h1,.m1-hero h1,.national-hero h1,.timeline-heading h2{color:#4A2670}
.eyebrow{color:#6E3FA0!important;font-weight:700;letter-spacing:.1em}
.eyebrow::after{background:#e6ddeb}

.masthead{background:#fff;border-bottom:1px solid #eeeaf1;box-shadow:none}
.masthead .wrap{height:72px}
nav.main a{color:#4d4652}
nav.main a.on,nav.main a:hover{color:#4A2670}
.notice{background:#fafafa;color:#5d5662;border-bottom:1px solid #eeeaf1}

.panel,.country-card,.insight-card,.national-card,.national-prizes>div{background:#fff;border-color:#ece8ef;box-shadow:0 8px 28px -24px rgba(20,20,20,.22)}
.panel{border-radius:16px}
.panel-pad{padding:28px 30px}

/* Sem banner publicitário horizontal no topo. Mantêm-se apenas placements internos/rail. */
body>.wrap>.casa.leaderboard,
body>.wrap>.ad-leader,
body>.wrap>.adsbygoogle{display:none!important}

/* Euromilhões: estrelas representadas por bolas amarelas, mantendo a semântica do extra. */
.star{width:60px;height:60px;border-radius:50%;background:#FFD400;color:#34174F}
.star::before{inset:0;border-radius:50%;clip-path:none!important;background:#FFD400}
.star span{transform:none}
.balls .ball.ex-estrela,.miniballs .mini.ex-estrela{background:#FFD400!important;color:#34174F!important}

/* Arquivo recente: a chave completa inclui extras em pequenos círculos. */
.archive .arow{align-items:center;gap:14px}
.archive .arow .k{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.archive-extras{display:inline-flex;align-items:center;gap:5px;margin-left:3px}
.archive-plus{color:#8b7d93;font-weight:600;margin:0 1px}
.archive-extra-ball{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 6px;border-radius:999px;background:#FFD400;color:#34174F;font-size:12px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}

/* Tabela completa: cabeçalhos interativos e leitura mais clara. */
.data-table thead th{background:#fff;position:sticky;top:0;z-index:1}
.sortable-data-table th{padding:0}
.sortable-data-table th .sort-button{width:100%;display:flex;align-items:center;justify-content:flex-end;gap:6px;border:0;background:transparent;color:#4A2670;font:inherit;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:9px 10px;cursor:pointer}
.sortable-data-table th:first-child .sort-button{justify-content:flex-start}
.sortable-data-table th .sort-button::after{content:'↑↓';font-size:11px;opacity:.45}
.sortable-data-table th[aria-sort='descending'] .sort-button::after{content:'↓';opacity:1}
.sortable-data-table th[aria-sort='ascending'] .sort-button::after{content:'↑';opacity:1}
.sortable-data-table tbody tr:hover td{background:#faf8fb}

/* Marca e maioridade: assets são ativados automaticamente quando existirem em public/. */
.brand-logo-img{display:block;width:auto;height:34px;max-width:min(230px,42vw);object-fit:contain}
.age-mark{display:block;width:44px;height:44px;object-fit:contain;flex:0 0 auto}

/* Pequenos ajustes de ritmo e legibilidade. */
.today-link,.country-card a,.insight-card>a,.knowledge-link strong,.archive a{color:#6E3FA0}
.next{box-shadow:none}
.next .eyebrow{color:rgba(255,255,255,.78)!important}
.next .amount{color:#FFD400}
.timeline-date-chip{background:#f5f1f8;color:#4A2670}
.freshness{background:#fff;border-color:#e9e4ec}

@media(max-width:760px){
  .panel-pad{padding:22px 20px}
  .brand-logo-img{height:29px;max-width:180px}
  .star{width:48px;height:48px;font-size:19px}
  .archive .arow .k{gap:5px}
  .archive-extra-ball{min-width:24px;height:24px;font-size:11px}
}

/* /v5.css */
/* Chave do Dia v5 — fundo branco absoluto e contorno editorial roxo. */
html,body{background:#fff!important;color:#141414!important}
body,.cols,.gap,.rail,.national-wrap,.national-sections,.product-hero,.tool-wrap{background:#fff!important}

.panel,.country-card,.insight-card,.national-card,.national-prizes>div,.knowledge-link,.metric,.number-stat,.pair-grid>div{
  background:#fff;
  border:1px solid rgba(74,38,112,.20);
  box-shadow:none;
}

.panel:hover,.country-card:hover,.insight-card:hover,.national-card:hover,.knowledge-link:hover{
  border-color:rgba(74,38,112,.34);
}

/* Sorteios recentes: quatro resultados, duas colunas, sem bolas decorativas. */
.recent-draws-panel .recent-draws-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}
.recent-draws-panel .recent-draws-grid .arow{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:14px;
  min-height:72px;
  padding:14px 16px;
  border:1px solid rgba(74,38,112,.18);
  border-radius:12px;
  background:#fff;
  text-decoration:none;
}
.recent-draws-panel .recent-draws-grid .arow:hover{border-color:rgba(74,38,112,.34)}
.recent-draws-panel .recent-draws-grid .d{color:#6E3FA0;font-weight:600;white-space:nowrap}
.recent-draws-panel .recent-draws-grid .k{color:#22172d;font-size:14px;font-weight:600;line-height:1.45;min-width:0}

/* Insight em destaque: sempre dentro do mesmo contentor de 1220 px da página. */
.insight-featured-wrap{padding-bottom:22px}
.insight-featured{margin:0;padding:28px 30px;border:1px solid rgba(74,38,112,.24);border-radius:16px;background:#fff;overflow:hidden}
.insight-featured-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:26px;align-items:center}
.insight-featured-summary,.insight-featured-detail{min-width:0}
.insight-featured h2{font-size:clamp(25px,4vw,36px);margin:7px 0 8px;color:#4A2670;line-height:1.12}
.insight-featured p{margin:0;color:#625a68}
.insight-featured .miniballs{margin:16px 0 0;display:flex;flex-wrap:wrap;gap:7px}
.insight-featured ul{margin:0;padding-left:20px;color:#202020;font-size:13.5px}
.insight-featured li+li{margin-top:7px}
.insight-featured a{display:inline-block;margin-top:15px;color:#6E3FA0;font-weight:600;text-decoration:none}

/* Curiosidades */
.curiosity-wrap{display:flex;flex-direction:column;gap:22px;padding-bottom:56px}
.curiosity-game h2{margin:7px 0 4px;color:#4A2670}
.curiosity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.curiosity-card{border:1px solid rgba(74,38,112,.20);border-radius:14px;padding:18px;background:#fff;min-width:0}
.curiosity-card .curiosity-label{display:block;color:#6E3FA0;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.curiosity-card h3{margin:5px 0 4px;font-size:19px;color:#4A2670}
.curiosity-card p{margin:0;color:#625a68;font-size:12.5px}
.curiosity-card .miniballs{margin:14px 0 10px;flex-wrap:nowrap;overflow-x:auto}
.curiosity-card a{font-size:12.5px;font-weight:600;color:#6E3FA0;text-decoration:none}
.curiosity-note{padding:18px 20px;border-left:3px solid #6E3FA0;background:#faf8fb;color:#4b4450;font-size:13px}

/* Lotarias: informação completa sem transformar números em bolas. */
.lottery-sequence-block{margin-top:24px;padding-top:20px;border-top:1px solid rgba(74,38,112,.14)}
.lottery-sequence-block h3{margin:0 0 10px;color:#4A2670;font-size:16px}
.lottery-sequences{display:flex;flex-wrap:wrap;gap:7px}
.lottery-sequences span{display:inline-flex;align-items:center;justify-content:center;min-width:54px;padding:7px 10px;border:1px solid rgba(74,38,112,.18);border-radius:8px;background:#fff;color:#24172e;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.lottery-prizes{gap:10px}
.lottery-prize{border:1px solid rgba(74,38,112,.18);background:#fff}

/* Cabeçalho nacional antigo: elimina qualquer linguagem visual paralela. */
.national-head{display:none!important}

@media(max-width:900px){
  .insight-featured-grid{grid-template-columns:1fr}
}

@media(max-width:760px){
  .recent-draws-panel .recent-draws-grid{grid-template-columns:1fr}
  .recent-draws-panel .recent-draws-grid .arow{min-height:64px;padding:12px 14px}
  .insight-featured-wrap{padding-bottom:16px}
  .insight-featured{padding:22px 20px}
  .curiosity-grid{grid-template-columns:1fr}
  .lottery-sequences span{min-width:48px;padding:6px 8px}
}


/* /navigation.css */
/* Navigation and motion. No libraries, scroll listeners or hidden results. */
.site-header{position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid #e8e1ed}
.masthead.site-header .header-inner{display:flex;align-items:center;gap:32px;height:88px;position:relative}
.site-header .logo{display:flex;align-items:center;flex-shrink:0;margin-right:auto}
.site-header .brand-logo-img{width:277px;height:32px;max-width:none;object-fit:contain}
.site-header nav a,.site-header summary{font:600 14px/1.4 Poppins,Arial,sans-serif;text-decoration:none}
.site-header details{padding:0;margin:0;border:0}
.site-header details>summary::after{content:none}
.site-header a:focus-visible,.site-header summary:focus-visible{outline:3px solid #6e3fa0;outline-offset:4px;border-radius:8px}
.priority-nav{display:flex;align-items:center;gap:10px}
.priority-nav a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:12px 24px;border-radius:10px;border:1px solid transparent;white-space:nowrap}
.priority-nav .nav-results{background:#4a2670;color:#fff}
.priority-nav .nav-today{background:#f3edf9;color:#4a2670;border-color:#d9c7ea}
.priority-nav .nav-verify{background:#ffd400;color:#34174f}
.priority-nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}
.desktop-nav{display:flex;align-items:center;gap:8px;padding-left:24px;border-left:1px solid #e8e1ed}
.nav-dropdown{position:relative}
.nav-dropdown summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;min-height:46px;padding:12px;color:#4a2670;border-radius:10px}
.site-header summary::-webkit-details-marker{display:none}
.nav-chevron{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.nav-dropdown[open] summary{background:#f5f1fa}
.nav-dropdown[open] .nav-chevron{transform:rotate(225deg) translate(-2px,-1px)}
.nav-dropdown-panel{position:absolute;right:0;top:calc(100% + 10px);width:238px;padding:10px;background:#fff;border:1px solid #e8e1ed;border-radius:14px;box-shadow:0 12px 32px rgba(52,23,79,.1);max-height:calc(100dvh - 112px);overflow-y:auto}
.nav-dropdown-panel a{display:block;padding:11px 12px;min-height:44px;border-radius:8px;color:#4d4652}
.nav-dropdown-panel a[aria-current="page"],.mobile-menu-panel a[aria-current="page"]{color:#4a2670;background:#f5f1fa}
.mobile-menu{display:none}
.site-header+.notice{font-size:12px;line-height:1.6;color:#625a68;background:#faf9fb}
.site-header+.notice .wrap{padding-top:9px;padding-bottom:9px}
.home-overview h1{font-size:clamp(28px,3.5vw,38px);line-height:1.15;letter-spacing:-.025em;max-width:23ch;margin-top:12px}
.home-overview .home-intro{max-width:52ch;margin:12px 0 0;font-size:14px;color:#625a68}
.home-overview .jogo{position:relative;border-radius:14px;border-color:#e8e1ed;padding-top:24px}
.home-overview .jogo::before{content:'';position:absolute;left:20px;top:0;width:28px;height:3px;background:#6e3fa0;border-radius:0 0 3px 3px}
.home-overview .jogo-pe{display:flex;align-items:center;justify-content:space-between;gap:8px}
.home-overview .jogo-pe::after{content:'→';font-size:18px;color:#6e3fa0}

@media(hover:hover){
  .nav-dropdown summary:hover,.nav-dropdown-panel a:hover,.mobile-menu-panel a:hover{background:#f5f1fa;color:#4a2670}
  .priority-nav .nav-results:hover{background:#34174f}
  .priority-nav .nav-today:hover{background:#e8dbf3}
  .priority-nav .nav-verify:hover{background:#f0c800}
}
@media(prefers-reduced-motion:no-preference){
  .priority-nav a,.menu-toggle,.nav-dropdown summary{transition:background-color 160ms ease,transform 160ms ease}
  .hamburger span{transition:transform 180ms ease,opacity 180ms ease}
  .jogo,.knowledge-link,a.national-card{transition:transform 180ms ease,border-color 180ms ease}
  .home-overview .jogo{animation:card-arrive 360ms cubic-bezier(.2,.7,.3,1)}
  .nav-dropdown[open] .nav-dropdown-panel,.mobile-menu[open] .mobile-menu-panel{animation:menu-arrive 180ms ease-out}
  @media(hover:hover){
    .priority-nav a:hover{transform:translateY(-1px)}
    .jogo:hover,.knowledge-link:hover,a.national-card:hover{transform:translateY(-3px)}
  }
  @keyframes card-arrive{from{transform:translateY(6px)}to{transform:translateY(0)}}
  @keyframes menu-arrive{from{opacity:.75;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
@media(max-width:1100px){
  .masthead.site-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:12px 8px;height:auto;padding:14px 20px 12px}
  .site-header .brand-logo-img{width:243px;height:28.08px;max-width:100%}
  .site-header .logo{margin:0;min-width:0;width:243px;max-width:100%}
  .desktop-nav{display:none}
  .priority-nav{grid-column:1 / -1;grid-row:2;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,.8fr) 44px;gap:6px}
  .priority-nav a{min-height:44px;padding:10px 6px;font-size:12px}
  .mobile-menu{display:block;grid-column:2;grid-row:1}
  .menu-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;list-style:none;cursor:pointer;color:#4a2670;border:1px solid #e8e1ed;border-radius:10px;background:#fff}
  .hamburger{display:flex;flex-direction:column;gap:5px;width:19px}
  .hamburger span{display:block;height:2px;width:19px;background:currentColor;border-radius:2px}
  .mobile-menu[open] .menu-toggle{background:#f5f1fa}
  .mobile-menu[open] .hamburger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .mobile-menu[open] .hamburger span:nth-child(2){opacity:0}
  .mobile-menu[open] .hamburger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .mobile-menu-panel{position:absolute;top:100%;left:0;right:0;max-height:calc(100vh - 138px);max-height:calc(100dvh - 138px);overflow-y:auto;overscroll-behavior:contain;padding:8px 20px 24px;background:#fff;border-bottom:1px solid #e8e1ed;box-shadow:0 18px 24px rgba(52,23,79,.1)}
  .mobile-menu-heading{padding:14px 10px 18px;color:#625a68;font-size:12px;border-bottom:1px solid #e8e1ed}
  .mobile-menu-group{padding:16px 0 8px}
  .mobile-menu-group h2{font:600 11px/1.5 Poppins,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#6e3fa0;padding:0 10px 8px}
  .mobile-menu-panel a{display:block;min-height:44px;padding:12px 10px;border-radius:8px;color:#4d4652}
  .mobile-menu-panel .mobile-home{border-top:1px solid #e8e1ed;border-radius:0;margin-top:8px;padding-top:18px}
  .home-overview h1{max-width:22ch}
}
@media(max-width:359px){.masthead.site-header .header-inner{padding-left:12px;padding-right:12px}}
@media print{.site-header{position:static}.desktop-nav,.mobile-menu,.priority-nav{display:none}}

@media(min-width:1001px){.rail{top:108px}}

/* /site-refinements.css */
/* Home, avisos e rodapé. Conteúdo e navegação disponíveis sem JavaScript. */
.site-header+.notice{display:block;margin-bottom:24px;font-size:12px;line-height:1.8}
.site-header+.notice .wrap{padding-top:16px;padding-bottom:16px}
.home-page{padding-top:16px;padding-bottom:72px;display:flex;flex-direction:column;gap:48px}
.home-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:30px}
.home-overview h1{font-size:clamp(36px,4.5vw,54px);line-height:1.08;letter-spacing:-.035em;max-width:22ch;margin-top:14px}
.home-overview .home-intro{font-size:15px;max-width:53ch;line-height:1.8;margin-top:18px}
.home-today-link{display:inline-flex;align-items:center;gap:20px;flex-shrink:0;min-height:44px;color:#4a2670;font-size:13px;font-weight:600;text-decoration:none;border-bottom:1px solid #d9c8e8}
.home-games{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0}
.home-overview .jogo{min-width:0;padding:26px 24px 20px;gap:18px;background:#fff;border:1px solid #dfd2ea;border-radius:18px;color:#4a2670;box-shadow:0 7px 24px -21px #4a2670}
.home-overview .jogo::before{left:24px;width:36px;height:4px}
.home-overview .jogo:nth-child(2)::before{background:#00b89c}
.home-overview .jogo:nth-child(3)::before{background:#ff853d}
.home-overview .jogo-nome{font-size:26px;line-height:1.25}
.home-card-arrow{font-size:22px;color:#9279a7}
.home-result-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#625a68}
.home-games .miniballs{gap:6px;flex-wrap:nowrap;margin:0 0 4px}
.home-games .mini{flex:0 1 38px;width:38px;height:auto;min-width:0;aspect-ratio:1;font-size:15px}
.home-overview .jogo-pe{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:7px;margin-top:0;padding:18px 0 0;border-top:1px solid #eee6f4;min-height:100px}
.home-overview .jogo-pe::after{content:none}
.home-next-label{color:#6e3fa0;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.07em}
.home-overview time{display:block;color:#34174f;font-size:14px;font-weight:600;line-height:1.6}
.home-jackpot{font-size:12px;color:#625a68}
.home-jackpot strong{color:#4a2670}
.home-card-link{display:flex;justify-content:space-between;gap:10px;margin-top:auto;padding-top:5px;font-size:12px;font-weight:600}
.home-verify{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:32px 36px;border:1px solid #e4d8ef;border-radius:18px;background:#f7f3fb}
.home-verify h2,.home-section-heading h2,.home-page .national-home-block h2{font-size:32px;line-height:1.2;margin:8px 0}
.home-verify p:not(.eyebrow){margin:8px 0 0;color:#625a68;font-size:14px}
.home-verify .eyebrow::after{content:none}
.home-verify-button{display:inline-flex;justify-content:center;align-items:center;gap:24px;min-height:52px;padding:14px 22px;border-radius:11px;background:#ffd400;color:#34174f;font-size:14px;font-weight:600;text-decoration:none;flex-shrink:0}
.home-page .national-home-block{padding:0;border:0!important;border-radius:0}
.home-page .national-home-block>.context-note{padding:0;border:0;background:none;max-width:68ch;margin:10px 0 22px;font-size:14px}
.home-page .national-grid{gap:16px}
.home-page .national-card{padding:22px 20px;min-height:135px}
.home-page .national-card strong{font-family:'Baloo 2',Poppins,sans-serif;font-size:23px}
.home-page .national-home-block>p:last-child{font-size:13px}
.home-section-heading{margin-bottom:22px}
.home-editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.home-editorial-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:28px 24px;gap:14px;border-top:2px solid #b79bce;text-decoration:none;background:#fcfafc;color:#4a2670}
.home-editorial-label{color:#6e3fa0;font-size:11px;letter-spacing:.04em;font-weight:600}
.home-editorial-card h3{font-size:25px;line-height:1.2}
.home-editorial-card p{font-size:13px;color:#625a68;margin:0;line-height:1.8}
.home-editorial-cta{display:flex;justify-content:space-between;gap:20px;align-self:stretch;padding-top:12px;margin-top:auto;font-size:12px;font-weight:600}
.home-page a:focus-visible,.site-footer a:focus-visible{outline:3px solid #6e3fa0;outline-offset:5px}
.curiosity-note{margin:0 0 32px;padding:22px 26px;border-left:3px solid #6e3fa0;border-radius:0 10px 10px 0;line-height:1.85}
.context-note,.live-source-note{margin:20px 0;padding:16px 20px;border-left:3px solid #d1bcdf;background:#faf8fc;border-radius:0 8px 8px 0;line-height:1.8;color:#625a68;font-size:13px}
.context-note:last-child,.live-source-note:last-child{margin-bottom:0}
.live-awaiting{margin:24px 0;padding:22px 24px;gap:10px;line-height:1.8}
.live-confirmed{margin:20px 0;padding:16px 20px;gap:12px;line-height:1.8}
.prose h2{margin:32px 0 12px;font-size:25px;line-height:1.3}
.prose h3{margin:24px 0 10px}
.prose p,.prose li{line-height:1.85}
.prose li+li{margin-top:10px}
.legal-content{max-width:900px;padding-top:22px;padding-bottom:64px}
.legal-content h1{font-size:clamp(32px,4vw,44px);line-height:1.15;margin:14px 0 20px}
.legal-content .prose p{max-width:none}
.site-footer{background:#6e3fa0;color:#eee5f7;padding:52px 0 24px;border-top:0;font-size:13px}
.footer-grid{display:grid;grid-template-columns:1.55fr 1fr 1fr 1.15fr;gap:40px}
.site-footer .footer-brand{display:block;width:325px;max-width:calc(100% + 55px);margin:-27px 0 -14px -28px}
.site-footer .footer-brand img{display:block;width:100%;height:auto}
.site-footer .footer-about p{max-width:33ch;margin:14px 0 20px;line-height:1.85;color:#eee5f7}
.site-footer .footer-contact{font-weight:600;color:#fff;overflow-wrap:anywhere}
.site-footer h2{font:600 14px/1.5 Poppins,Arial,sans-serif;letter-spacing:0;text-transform:none;color:#fff;margin:3px 0 18px}
.site-footer ul{gap:5px}
.site-footer a{color:#eee5f7;text-decoration:none}
.site-footer li a{display:inline-block;padding:4px 0;line-height:1.65}
.site-footer a:hover{text-decoration:underline;text-underline-offset:4px;color:#fff}
.site-footer a:focus-visible{outline-color:#ffd400}
.footer-responsible{display:flex;align-items:center;gap:20px;margin-top:40px;padding:26px 0;border-top:1px solid #ffffff38;border-bottom:1px solid #ffffff38}
.site-footer .age-mark{width:64px;height:64px;object-fit:contain;flex-shrink:0}
.footer-responsible strong{color:#fff;font-size:14px}
.footer-responsible p{margin:6px 0 0;line-height:1.8;color:#eee5f7}
.footer-responsible a{text-decoration:underline;text-underline-offset:3px;color:#fff}
.footer-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;padding-top:22px;font-size:11px;line-height:1.8}
.footer-bottom p{margin:0;color:#eee5f7}
.footer-bottom p:last-child{max-width:70ch}
@media(hover:hover){.home-overview .jogo:hover{border-color:#a580c4}.home-editorial-card:hover{background:#f6f0fa}.home-verify-button:hover{background:#f3ca00}}
@media(prefers-reduced-motion:no-preference){.home-editorial-card,.home-verify-button{transition:background-color 160ms ease}.home-overview .jogo:nth-child(2){animation-delay:60ms}.home-overview .jogo:nth-child(3){animation-delay:120ms}}
@media(max-width:1050px){.home-games{gap:14px}.home-overview .jogo{padding:24px 18px 20px}.home-overview .jogo-nome{font-size:23px}.footer-grid{grid-template-columns:1.35fr 1fr 1fr;gap:32px}.footer-about{grid-column:1 / -1}.site-footer .footer-about p{max-width:56ch}.site-footer .footer-brand{width:325px}}
@media(max-width:760px){
  .site-header+.notice{margin-bottom:16px;font-size:11px}.site-header+.notice .wrap{padding:16px 20px}
  .home-page{padding-top:14px;padding-bottom:48px;gap:34px}
  .home-heading{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:24px}.home-overview h1{font-size:38px}.home-overview .home-intro{font-size:14px;margin-top:14px}
  .home-games{grid-template-columns:1fr;gap:16px}.home-overview .jogo{padding:24px;gap:16px}.home-overview .jogo-nome{font-size:27px}.home-overview .jogo-pe{min-height:0}.home-result-meta{font-size:12px}.home-games .mini{flex-basis:40px;width:40px}
  .home-verify{padding:26px 24px;flex-direction:column;align-items:flex-start;gap:22px}.home-verify-button{width:100%;gap:16px;font-size:13px}.home-verify h2,.home-section-heading h2,.home-page .national-home-block h2{font-size:29px}
  .home-page .national-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-page .national-card{padding:18px 16px}.home-page .national-card strong{font-size:21px}
  .home-editorial-grid{grid-template-columns:1fr;gap:16px}.home-editorial-card{padding:24px}
  .curiosity-note{padding:20px;margin-bottom:26px}.context-note,.live-source-note,.live-awaiting,.live-confirmed{padding:18px;margin-top:20px;margin-bottom:20px}
  .site-footer{padding-top:42px}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 22px}.footer-grid nav:last-child{grid-column:1 / -1}.site-footer h2{margin-bottom:12px}.site-footer li a{min-height:38px;padding:8px 0}.site-footer .footer-about p{margin-bottom:14px}.footer-responsible{align-items:flex-start;gap:16px;margin-top:30px;padding:24px 0}.footer-bottom{flex-direction:column;gap:12px}.prose h2{font-size:23px}
}
@media(max-width:359px){.home-page{padding-left:16px;padding-right:16px}.home-overview .jogo{padding:22px 18px}.home-overview h1{font-size:33px}.home-games .miniballs{gap:5px}.home-page .national-grid{grid-template-columns:1fr}}
.home-follow{margin:46px 0}.home-follow .home-section-heading>p:last-child{max-width:620px;font-size:15px;line-height:1.7;color:#675974;margin:12px 0 24px}.home-follow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.home-follow-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:32px;border:1px solid #d9c7ea;border-radius:22px;min-width:0}.home-follow-email{background:#4a2670;color:#fff}.home-follow-app{background:#faf8fd;color:#28163b}.home-follow-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#ffffff1c;font:32px/1 system-ui}.home-follow-app>img{border-radius:14px}.home-follow-card .home-follow-label{margin:24px 0 10px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.home-follow-card h3{font-size:29px;line-height:1.2;letter-spacing:-.03em;color:inherit}.home-follow-card>p:not(.home-follow-label){font-size:14px;line-height:1.8;margin:18px 0 24px;max-width:420px;flex:1}.home-follow-action{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:46px;padding:12px 18px;border:0;border-radius:11px;font:600 13px/1.5 Poppins,Arial,sans-serif;background:#4a2670;color:#fff;text-decoration:none;cursor:pointer}.home-follow-email .home-follow-action{background:#ffdb45;color:#34174f}.home-follow-card small{display:block;font-size:11px;line-height:1.6;margin-top:14px;opacity:.85}.home-follow-action[hidden],.home-follow [hidden]{display:none!important}.home-follow-action:focus-visible{outline:3px solid #c28510;outline-offset:4px}.home-follow-action:disabled{opacity:.7;cursor:default}.home-follow details{font-size:14px}.home-follow summary{cursor:pointer;font-weight:600}.home-follow details p{line-height:1.7}
.home-follow-email>p{color:#fff}
@media(max-width:650px){.home-follow-grid{grid-template-columns:1fr;gap:16px}.home-follow-card{padding:26px}.home-follow-card h3{font-size:26px}.home-follow-action{width:100%}.home-follow{margin:34px 0}}

/* /app-install.css */
.app-install-banner[hidden]{display:none!important}
.app-install-banner{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;color:#231b2e;border-bottom:1px solid #e9e4ed;font:14px/1.4 Arial,sans-serif}
.app-install-banner img,.app-identity img{flex:none;border-radius:14px;box-shadow:0 5px 18px #25173516}
.app-install-banner p{flex:1;margin:0;font-weight:600}.app-install-banner p span{display:block;font-size:12px;font-weight:400;color:#685f70;margin-top:3px}
.app-install-banner button,.app-install-sheet button{font:inherit;cursor:pointer;min-width:44px;min-height:44px;border:0}
.app-install-banner .app-dismiss{background:transparent;font-size:28px;padding:0;color:#51445e;min-width:24px}
.app-install-action{background:#351b50;color:#fff;border-radius:999px;padding:10px 18px;font-weight:600!important}
.app-install-sheet{box-sizing:border-box;position:fixed;inset:auto 0 0;margin:0 auto;padding:26px 24px max(28px,env(safe-area-inset-bottom));width:100%;max-width:560px;max-height:85dvh;overflow:auto;border:0;border-radius:30px 30px 0 0;background:#fff;color:#251a31;box-shadow:0 -8px 50px #21172f20;font:16px/1.55 Arial,sans-serif}
.app-install-sheet::backdrop{background:#25202a38;backdrop-filter:blur(5px)}
.app-install-sheet header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.app-install-sheet h2{font:600 22px/1.3 Arial,sans-serif;margin:0}.app-sheet-close{background:transparent;color:#251a31;font-size:32px!important;border-radius:50%}
.app-identity{display:flex;gap:18px;align-items:center;background:#faf9fb;border:1px solid #e9e5ed;border-radius:24px;padding:20px}.app-identity p{margin:0}.app-identity strong,.app-identity span{display:block}.app-identity span{font-size:14px;color:#75697d;margin-top:4px}
.app-install-sheet ol{padding-left:26px;margin:24px 0}.app-install-sheet li{padding-left:5px;margin:18px 0}.app-install-sheet li::marker{font-weight:700}.app-install-note{font-size:12px;color:#786d80;margin:18px 0 0}.app-install-sheet button:focus-visible,.app-install-banner button:focus-visible{outline:3px solid #9868c2;outline-offset:3px}
@media(min-width:900px){.app-install-banner{display:none}}
@media(max-width:360px){.app-install-banner{gap:8px;padding:10px}.app-install-banner img{width:38px;height:38px}.app-install-action{padding:8px 12px}.app-install-banner p{font-size:12px}}
.measurement-consent[hidden]{display:none!important}.measurement-consent{position:fixed;z-index:1000;bottom:16px;left:16px;right:16px;max-width:580px;margin:auto;background:#fff;border:1px solid #ded5e8;border-radius:18px;box-shadow:0 10px 40px #29183830;padding:18px;font:14px/1.5 Arial,sans-serif;color:#302638}.measurement-consent p{margin:0 0 12px}.measurement-consent strong{display:block}.measurement-consent div{display:flex;gap:10px}.measurement-consent button{flex:1;min-height:44px;padding:10px;border:1px solid #6e3fa0;border-radius:9px;background:#fff;color:#452561;font:600 14px Arial,sans-serif;cursor:pointer}.measurement-consent a{color:#633a88}.measurement-settings{display:block;margin:18px auto;background:transparent;border:0;text-decoration:underline;color:inherit;font:inherit;cursor:pointer;min-height:44px}

/* /email-alerts.css */
/* Scope signup styles: loading the invitation must not restyle the host page. */
.alerts-preview,.alerts-page{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#28163b;background:#faf8ff}
.alerts-preview main,.alerts-page main{max-width:680px;margin:8vh auto;padding:28px}
.alerts-preview main>img,.alerts-page main>img{max-width:85%;height:auto}
.alerts-preview .eyebrow{margin-top:48px;color:#765198;font-size:11px;font-weight:800;letter-spacing:.12em}
.alerts-preview h1{font-size:clamp(32px,6vw,54px);line-height:1.1;letter-spacing:-.04em}
.alerts-preview p,.alerts-page p{line-height:1.6}
.preview-warning{background:#fff1d0;border-left:4px solid #bd8500;padding:14px;font-size:14px}
.alerts-open{border:0;border-radius:12px;background:#58258b;color:white;padding:16px 22px;font:inherit;font-weight:750;cursor:pointer}
.alerts-dialog{box-sizing:border-box;width:min(590px,calc(100% - 32px));max-height:90dvh;padding:0;border:0;border-radius:24px;background:#fff;color:#28163b;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 24px 100px #25113b55;overflow:auto;overflow-anchor:none;scroll-padding-top:140px}
.alerts-dialog::backdrop{background:#1d0d35a3;backdrop-filter:blur(3px)}
.alerts-dialog .alerts-heading,.alerts-dialog header{position:sticky;top:0;z-index:1;background:white;color:#58258b;padding:20px 24px;display:flex;gap:15px;align-items:center;justify-content:space-between;border-bottom:1px solid #e6d9f1}
.alerts-dialog h2{margin:18px 0 0;font-size:21px;line-height:1.3;color:#58258b}
.alerts-brand{display:block;max-width:100%;width:290px;height:auto}
.alerts-close{background:transparent;border:1px solid #d9c7ea;color:#58258b;border-radius:50%;height:40px;width:40px;font-size:27px;cursor:pointer;flex-shrink:0}
.alerts-intro{padding:0 24px;margin:18px 0;line-height:1.5;font-size:14px}
.alerts-frame iframe{display:block;width:100%;height:850px;border:0;background:#fff}
.alerts-dialog .alerts-footer,.alerts-dialog footer{padding:18px 24px;background:#f5f0fb;font-size:12px;line-height:1.5}
.alerts-dialog a,.alerts-preview a,.alerts-page a{color:#58258b}
.alerts-dialog button:focus-visible,.alerts-dialog a:focus-visible,.alerts-open:focus-visible,.alerts-notification :focus-visible{outline:3px solid #d99713;outline-offset:4px}
.site-header .alerts-notification{position:relative;flex-shrink:0}
.site-header .alerts-bell{position:relative;display:flex;align-items:center;justify-content:center;list-style:none;width:46px;height:46px;padding:0;border:1px solid #d9c7ea;border-radius:50%;color:#4a2670;background:#fff;cursor:pointer}
.site-header .alerts-bell::-webkit-details-marker{display:none}
.site-header .alerts-notification[open] .alerts-bell{background:#4a2670;color:#fff;border-color:#4a2670}
/* A short ring every 6 seconds; badge visible for 6 seconds, hidden for 6. */
@keyframes alerts-bell-ring{0%,14%,100%{transform:rotate(0)}2%{transform:rotate(-16deg)}5%{transform:rotate(12deg)}8%{transform:rotate(-8deg)}11%{transform:rotate(5deg)}}
@keyframes alerts-badge-cycle{0%,100%{opacity:1}50%{opacity:0}}
@media(prefers-reduced-motion:no-preference){
  .site-header .alerts-bell>svg{transform-origin:50% 15%;animation:alerts-bell-ring 6s ease-in-out 3s infinite}
  .site-header .alerts-bell>.alerts-badge{animation:alerts-badge-cycle 12s step-end infinite}
  .site-header .alerts-notification:is([open],:focus-within) .alerts-bell>:is(svg,.alerts-badge),body:has(.alerts-dialog[open]) .site-header .alerts-bell>:is(svg,.alerts-badge){animation:none;opacity:1}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.site-header .alerts-notification:hover .alerts-bell>:is(svg,.alerts-badge){animation:none;opacity:1}}
.alerts-badge{position:absolute;top:-4px;right:-3px;display:grid;place-items:center;width:20px;height:20px;box-sizing:border-box;border:2px solid #fff;border-radius:50%;background:#c9342a;color:#fff;font:700 11px/1 system-ui,sans-serif}
.alerts-notification-panel{position:absolute;right:0;top:calc(100% + 12px);width:340px;max-width:calc(100vw - 32px);overflow:hidden;border:1px solid #e6d9f1;border-radius:16px;background:#fff;color:#28163b;box-shadow:0 12px 36px #34174f1f}
.alerts-notification-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #eee6f4;font-size:14px}
.alerts-notification-close{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:#4a2670;font:26px/1 system-ui;cursor:pointer}
.priority-nav a.alerts-invitation{display:grid;grid-template-columns:7px minmax(0,1fr) 12px;align-items:center;gap:12px;min-height:90px;padding:20px 18px;border:0;border-radius:0;white-space:normal;color:#4a2670;text-decoration:none}
.alerts-invitation strong{display:block;font-size:13px;font-weight:600;line-height:1.5}
.alerts-invitation small{display:block;margin-top:5px;font-size:11px;font-weight:400;line-height:1.6;color:#766480}
.alerts-invitation-dot{width:7px;height:7px;background:#6e3fa0;border-radius:50%}
@media(hover:hover){.priority-nav a.alerts-invitation:hover{background:#faf7fd;transform:none}.alerts-bell:hover,.alerts-notification-close:hover{background:#f5f0fb}}
@media(max-width:1100px){.site-header .priority-nav{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,.8fr) 44px}.site-header .alerts-bell{width:44px;height:44px}.alerts-notification-panel{width:340px}.alerts-dialog{max-height:90dvh}}
@media(max-width:600px){.alerts-dialog{width:100%;max-width:100vw;max-height:94dvh;margin:auto 0 0;border-radius:24px 24px 0 0}.alerts-dialog .alerts-heading,.alerts-dialog header{padding:20px}.alerts-dialog .alerts-footer,.alerts-dialog footer{padding-bottom:calc(18px + env(safe-area-inset-bottom))}.alerts-preview main,.alerts-page main{margin:24px auto;padding:20px}.alerts-frame iframe{height:900px}}
@media print{.alerts-dialog,.alerts-notification{display:none!important}}
.alerts-promo[hidden]{display:none!important}
.alerts-promo{position:fixed;z-index:70;right:24px;bottom:24px;width:min(420px,calc(100vw - 32px));box-sizing:border-box;display:flex;gap:16px;padding:26px;background:#fff;color:#28163b;border:1px solid #d9c7ea;border-radius:22px;box-shadow:0 12px 50px #28163b26;font-family:system-ui,-apple-system,sans-serif}
.alerts-promo-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:14px;background:#f3edf9;color:#58258b;font-size:25px}
.alerts-promo-close{position:absolute;right:6px;top:6px;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#58258b;cursor:pointer;font:26px/1 system-ui}
.alerts-promo .alerts-promo-kicker{margin:0 16px 7px 0;color:#765198;font-size:11px;font-weight:700}
.alerts-promo h2{margin:0 10px 10px 0;color:#4a2670;font:750 22px/1.15 system-ui;letter-spacing:-.5px}
.alerts-promo p{margin:0 0 16px;font-size:13px;line-height:1.55}
.alerts-promo-action{display:block;padding:12px 14px;border-radius:10px;background:#58258b;color:#fff;text-decoration:none;font-size:13px;font-weight:700;text-align:center}
.alerts-promo small{display:block;margin-top:10px;color:#675974;font-size:11px;line-height:1.4}
.alerts-promo :focus-visible{outline:3px solid #d99713;outline-offset:3px}
body:has(.measurement-consent:not([hidden])) .alerts-promo{bottom:auto;top:155px}
@media(max-width:600px){.alerts-promo{right:16px;bottom:calc(18px + env(safe-area-inset-bottom));padding:22px 20px;gap:12px}.alerts-promo-icon{display:none}.alerts-promo h2{font-size:21px}body:has(.measurement-consent:not([hidden])) .alerts-promo{top:165px;max-height:calc(100dvh - 340px);overflow:auto}}
@media print{.alerts-promo{display:none!important}}

/* /results-page.css */
/* Results use responsive game cards, with native disclosures. */
.results-page{--results-purple:#4a2670;--results-yellow:#ffd400;--results-header-height:89px;--results-nav-height:66px;max-width:820px;padding-top:26px;padding-bottom:48px;min-width:0}
.results-heading h1{color:var(--results-purple);font-size:clamp(28px,4vw,40px);line-height:1.1;margin:0 0 8px}
.results-heading p{color:#675d72;font-size:15px;margin:0}
.results-nav{position:sticky;top:var(--results-header-height);z-index:20;background:#fff;margin:20px 0;min-width:0;padding:8px 0}
.results-tabs{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:0 0 8px;scrollbar-width:thin;overscroll-behavior-x:contain}
.results-tab{display:flex;flex-shrink:0;align-items:center;justify-content:center;min-height:42px;padding:8px 15px;font-weight:600;font-size:13px;white-space:nowrap;color:var(--results-purple);background:#f4eef9;border:1px solid #e2d6ed;border-radius:24px;text-decoration:none}
.results-tab:hover,.results-tab[aria-current=location]{background:var(--results-purple);border-color:var(--results-purple);color:#fff;text-decoration:none}
.results-page a:focus-visible,.results-page summary:focus-visible,.results-controls select:focus-visible,.results-table-wrap:focus-visible{outline:3px solid #8660ab;outline-offset:3px}
.results-panels{display:grid;gap:24px}
.results-game{--game-color:var(--results-purple);min-width:0;background:#fff;border:1px solid #e6deed;border-radius:16px;box-shadow:0 3px 16px #32134708;scroll-margin-top:calc(var(--results-header-height) + var(--results-nav-height) + 12px);overflow:hidden}
.results-game[data-results-game=eurodreams]{--game-color:#682f88}.results-game[data-results-game=totoloto]{--game-color:#286447}.results-game[data-results-game=m1lhao]{--game-color:#84333e}
.results-game-name{background:var(--game-color);color:#fff;font-size:clamp(24px,4vw,32px);line-height:1.2;margin:0;padding:19px 24px}
.results-controls[hidden]{display:none!important}
.results-board{padding:22px 24px 8px;color:#30223c}
.results-meta{display:flex;justify-content:space-between;align-items:center;gap:12px}
.results-draw-reference{font-size:14px;margin:0}.results-draw-reference strong{font-weight:600}
.results-date{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 9px;font-size:14px;margin:0;text-align:right}.results-date span{color:#71637b}.results-date time{font-weight:600;white-space:nowrap}
.results-key{padding:23px 0 12px;text-align:center}
.results-key h3{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.results-number-key{--ball-size:60px;display:flex;justify-content:center;align-items:flex-start;gap:14px}
.results-number-group{min-width:0}.results-balls{display:flex;justify-content:center;gap:9px;list-style:none;padding:0;margin:0}
.results-balls li{display:grid;place-items:center;flex:none;width:var(--ball-size);height:var(--ball-size);border-radius:50%;background:var(--game-color);font-family:inherit;font-size:26px;font-weight:600;line-height:1;color:#fff}
.results-extras li{background:var(--results-yellow);color:#30223c}
.results-key-label{display:block;font-size:10px;margin-top:8px;color:#71637b}
.results-record-status{color:#71637b;font-size:11px;text-align:center;margin:4px 0 10px}
.results-code{font-weight:600;font-size:clamp(28px,6vw,44px);line-height:1.3;letter-spacing:.09em;color:var(--game-color);margin:6px 0 12px}
.results-ticket-key{display:flex;flex-wrap:wrap;justify-content:center;gap:18px 32px}.results-ticket-key div{display:grid;gap:5px}.results-ticket-key span{color:#71637b;font-size:12px}.results-ticket-key strong{color:var(--game-color);font-size:30px;letter-spacing:.08em;font-weight:600}
.results-fraction{font-size:13px;margin:16px 0 0;color:#71637b}
.results-football-key{list-style:none;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;max-width:580px;margin:0 auto;padding:0}.results-football-key li{display:grid;gap:6px;min-width:0}.results-football-key span{font-size:10px;color:#71637b;white-space:nowrap}.results-football-key strong{display:grid;place-items:center;min-height:44px;background:#f1eaf7;border-radius:8px;color:var(--game-color);font-size:21px;font-weight:600}.results-football-key .results-super strong{background:var(--results-yellow);color:#30223c}
.results-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:0 24px 18px;align-items:start}
.results-disclosure{border:0;padding:0;margin:0;min-width:0;grid-row:1;grid-column:1}.results-disclosure:nth-child(2){grid-column:2}.results-disclosure[open]{grid-column:1 / -1}
.results-disclosure summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:10px 12px;border:1.5px solid var(--game-color);border-radius:9px;text-align:center;font-size:14px;font-weight:600;line-height:1.4;color:var(--game-color);cursor:pointer}
.results-disclosure summary::-webkit-details-marker{display:none}.results-disclosure summary::after{content:'+';font-size:20px;font-weight:400}.results-disclosure[open] summary::after{content:'−'}.results-disclosure[open] summary{width:calc(50% - 6px);background:#f5f0f9}.results-disclosure:nth-child(2)[open] summary{margin-left:auto}
.results-controls{display:grid;gap:8px;margin-top:18px;padding:16px;background:#f6f1fa;border-radius:9px}.results-controls label{color:var(--results-purple);font-size:13px;font-weight:600}.results-controls select{font:inherit;font-size:14px;color:#362245;width:100%;min-width:0;min-height:46px;padding:10px 34px 10px 13px;border:1px solid #c3a9d9;border-radius:6px;background:#fff}.results-controls select:disabled{color:#61526c;opacity:1}
.results-archive-link{display:inline-flex;margin-top:12px;align-items:center;gap:10px;min-height:44px;font-size:13px;color:var(--results-purple)}
.results-verify{display:flex;align-items:center;justify-content:center;gap:16px;min-height:52px;margin:0 24px 12px;padding:12px 16px;border-radius:9px;background:var(--results-yellow);color:#30223c;font-size:16px;font-weight:600;text-decoration:none}.results-verify:hover{background:#f2c900;text-decoration:none}
.results-details{padding:22px 0 0;min-width:0}.results-details h3{color:var(--results-purple);font-size:20px;font-family:inherit;line-height:1.3;margin:0 0 14px}
.results-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.results-table-wrap table{border-collapse:collapse;width:100%;min-width:440px;font-size:13px;margin:0}
.results-table-wrap caption{text-align:left;color:#71637b;font-size:12px;padding:0 0 14px}
.results-table-wrap th,.results-table-wrap td{padding:14px 16px;border-bottom:1px solid #ece6f1;text-align:right;color:#4b3c55;line-height:1.5}
.results-table-wrap thead th{color:#70567f;font-size:11px;font-weight:500;white-space:normal;background:#f7f3fa}
.results-table-wrap th:first-child,.results-table-wrap td:first-child{text-align:left;padding-left:14px}
.results-table-wrap tbody th{font-weight:500;font-size:12px}
.results-table-wrap td:last-child{font-weight:600;color:var(--results-purple)}
.results-sequences{border-bottom:1px solid #ece6f1;padding:16px 0;color:#584164}
.results-sequences summary{cursor:pointer;font-size:13px;font-weight:500;min-height:24px}
.results-sequences p{font-size:13px;line-height:2;overflow-wrap:anywhere;margin:12px 0 0}
.results-matches{padding-left:25px;font-size:13px}
.results-matches li{padding:6px 0}
.results-matches li span{display:inline-block;width:calc(100% - 35px);vertical-align:top}
.results-matches strong{display:inline-block;text-align:center;width:30px}
.results-note,.results-source,.results-nojs{font-size:12px;line-height:1.8;color:#766b7f}
.results-source{margin:24px 0 0}
.results-source a{color:var(--results-purple);text-underline-offset:3px}
.results-update{font-size:10px;color:#7f7287;line-height:1.5;margin:0 24px 12px;min-height:0}.results-update:empty{display:none}
.results-empty{padding:24px;color:#5b4171}.results-empty h2{font-size:21px;margin:0 0 10px}.results-empty p{font-size:14px;margin:0}
@media(min-width:1024px){
 .results-page{max-width:1280px}
 .results-panels{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 .results-number-key{--ball-size:clamp(48px,4.2vw,56px);gap:12px}.results-balls{gap:7px}.results-balls li{font-size:24px}
}
@media(max-width:1100px){.results-page{--results-header-height:127px}}
@media print{.results-nav{position:static}}
@media(max-width:600px){
 .results-view .site-header+.notice{margin-bottom:0;font-size:10px;line-height:1.5}.results-view .site-header+.notice .wrap{padding-top:8px;padding-bottom:8px}
 .results-page{padding-top:14px;padding-bottom:32px}.results-heading h1{font-size:27px;margin-bottom:4px}.results-heading p{font-size:12px}.results-nav{margin:14px 0}.results-tabs{gap:6px}.results-tab{padding:7px 12px;font-size:12px}
 .results-panels{gap:20px}.results-game{border-radius:12px}.results-game-name{font-size:25px;padding:17px 16px}.results-board{padding:18px 14px 6px}
 .results-meta{gap:8px}.results-draw-reference,.results-date{font-size:12px}.results-date{display:grid;gap:2px}.results-date span{font-size:10px}.results-key{padding:20px 0 10px}
 .results-number-key{--ball-size:clamp(28px,10vw,50px);gap:8px}.results-balls{gap:4px}.results-balls li{font-size:clamp(16px,4.8vw,22px)}.results-key-label{font-size:9px;margin-top:6px}.results-record-status{font-size:10px}
 .results-actions{gap:10px;margin:0 14px 16px}.results-disclosure summary{font-size:12px;padding:9px 7px;min-height:50px;gap:5px}.results-disclosure[open] summary{width:calc(50% - 5px)}.results-verify{margin:0 14px 12px;font-size:15px}.results-update{margin-left:14px;margin-right:14px}
 .results-details h3{font-size:18px}.results-code{font-size:31px}.results-ticket-key{gap:12px 20px}.results-ticket-key strong{font-size:24px}.results-football-key{gap:8px 6px}.results-football-key strong{min-height:34px;font-size:18px}.results-football-key span{font-size:9px}
}
@media(max-width:360px){.results-number-key{--ball-size:clamp(28px,9.5vw,34px);gap:6px}.results-balls{gap:3px}.results-game-name{font-size:23px}.results-disclosure summary{font-size:11px}}

/* /page-system.css */
/* Shared page system. Loaded after the legacy styles. All content cards use
   the homepage design; navigation and footer retain their components. */
:root{
  --page-purple:#4a2670;
  --page-ink:#34174f;
  --page-muted:#625a68;
  --page-soft:#f7f3fb;
  --page-line:#e4d8ef;
  --page-radius:18px;
}

/* The same reading width and vertical rhythm on every content template. */
.cols{gap:32px;padding-top:16px;padding-bottom:64px}
.cols>.gap,.national-wrap,.national-sections,.curiosity-wrap,.wrap.gap{gap:28px}
.wrap.gap,.national-sections{padding-bottom:64px}
.national-sections{display:flex;flex-direction:column}
.national-wrap{padding-top:16px;padding-bottom:64px}
.tool-wrap{max-width:940px;padding-top:16px;padding-bottom:64px;gap:28px}
.product-hero{padding-top:16px;padding-bottom:32px;gap:28px}
.product-hero+.cols{padding-top:0}
.national-hero{padding:0 0 8px}
.product-hero>div,.national-hero,.tool-wrap,.cols>main,.national-wrap>.panel{min-width:0}
.product-hero h1,.national-hero h1,.panel h1,.legal-content h1{
  color:var(--page-purple);font-size:clamp(34px,3.7vw,48px);
  line-height:1.12;letter-spacing:-.035em;margin:12px 0 18px;
  overflow-wrap:break-word;
}
.product-hero h1{max-width:26ch}
.product-hero p:not(.eyebrow),.national-hero p:not(.eyebrow),.tool-intro,.stats-hero>p:not(.eyebrow){
  max-width:70ch;color:var(--page-muted);font-size:15px;line-height:1.85;
}
.product-hero .eyebrow,.national-hero .eyebrow,.panel>.eyebrow{margin-top:0}
.product-hero .freshness{align-self:flex-start;margin-top:6px;line-height:1.7;white-space:normal;flex-shrink:0;max-width:280px}
.panel h2,.timeline-heading h2{font-size:clamp(25px,2.4vw,31px);line-height:1.25;margin:10px 0 14px;letter-spacing:-.03em}
.panel h3{line-height:1.35}
:where(.cols,.tool-wrap,.national-wrap,.national-sections,.curiosity-wrap,.wrap.gap) .panel{border-radius:var(--page-radius)}
:where(.cols,.tool-wrap,.national-wrap,.national-sections,.curiosity-wrap,.wrap.gap) .panel-pad{padding:30px}
.panel-pad>.eyebrow{margin-bottom:12px}
.panel-pad>p:not(.eyebrow){line-height:1.85}
.panel-pad>p:last-child{margin-bottom:0}
.panel .prose{color:var(--page-muted);line-height:1.85}
.prose p{font-size:15px;line-height:1.85}
.prose :is(ul,ol){padding-left:24px}
.prose li{padding-left:3px}
.prose a,.panel p a,.live-source-note a{text-underline-offset:4px;text-decoration-thickness:1px}
.prose a:hover,.panel p a:hover{color:#6e3fa0}

/* Draw pages: one clear title, the result, then supporting information. */
.draw-head h1,.draw-head h2{max-width:25ch;font-size:clamp(30px,3vw,41px);line-height:1.18;margin-bottom:20px}
.draw-head h1+.draw-date{margin-top:-6px;color:var(--page-muted);font-size:14px}
.draw-head .draw-date{line-height:1.75}
.panel .balls{margin:24px 0 16px;gap:10px}
.panel .legend{font-size:12px;line-height:1.85;gap:8px 20px}
.statrow .stat{padding:20px 24px}
.statrow .k{color:var(--page-muted);font-size:10px;line-height:1.7;letter-spacing:.06em}
.statrow .v{color:var(--page-purple);font-size:21px;line-height:1.4;margin-top:6px}
.rail{gap:22px}
.rail .panel-pad{padding:24px}
.rail .panel h2{font-size:24px}
.rail .next{padding:26px 24px;border-radius:var(--page-radius)}
.rail .next .amount{font-size:32px;margin:14px 0 8px}
.rail .next .when{line-height:1.8}
.rail .next .clock{margin-top:20px}
.rail .next .clock div{padding:10px 4px}
.rail .next .clock .n{padding:0;font-size:21px}
.rail .next .clock .l{padding:0}
.rail .m1lhao{padding:18px 16px;line-height:1.8}
.panel .draw-id{display:inline-flex;max-width:100%;white-space:normal;line-height:1.6;padding:6px 12px}
.panel .draw-head>.draw-id{display:none}
.live-prepage .draw-head>.draw-id{display:inline-flex}
.recent-draws-panel .recent-draws-grid{gap:14px;margin-top:20px}
.recent-draws-panel .recent-draws-grid .arow{padding:17px 18px;gap:16px;border-radius:12px}
.cols .archive:not(.recent-draws-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}
.cols .archive .arow{min-width:0;min-height:62px;gap:14px}
.cols .archive .arow .k{overflow-wrap:break-word;line-height:1.8;min-width:0}
.cols .archive .arow .d{flex-shrink:0}

/* Notices always get their own space, including late live updates. */
:where(.cols,.tool-wrap,.national-wrap,.curiosity-wrap,.legal-content) :is(.context-note,.live-source-note,.live-awaiting,.live-confirmed){
  margin:24px 0;padding:20px 22px;font-size:13px;line-height:1.85;
}
:where(.cols,.tool-wrap,.national-wrap,.curiosity-wrap) :is(.context-note,.live-source-note):last-child{margin-bottom:0}
.live-awaiting{background:var(--page-soft);color:var(--page-muted);gap:10px}
:root:not([data-theme="light"]) .live-awaiting{background:var(--page-soft);border-color:var(--page-line)}
:root:not([data-theme="light"]) .live-awaiting strong,.live-awaiting strong{color:var(--page-ink)}
:root:not([data-theme="light"]) .live-awaiting span,.live-awaiting span{color:var(--page-muted)}
.live-confirmed{border-radius:12px;flex-wrap:wrap}
.live-confirmed::before{flex-shrink:0}
.decorrer:not([hidden]){margin:20px 0;padding:20px;gap:14px;line-height:1.8}
.curiosity-note{font-size:14px;max-width:80ch}
.live-prepage{width:100%;max-width:900px;margin:16px auto 48px}
.national-wrap .live-prepage{margin:0 auto}

/* Tables retain horizontal scrolling only inside their own container. */
.tablewrap,.data-table-wrap{margin-top:22px;border-radius:10px;overscroll-behavior-inline:contain}
.tablewrap th,.tablewrap td,.data-table th,.data-table td{padding-top:14px;padding-bottom:14px;line-height:1.6}
.tablewrap th,.data-table th{color:var(--page-purple);font-size:11px;letter-spacing:.045em}
.data-table{margin-top:0}
.sortable-data-table th .sort-button{min-height:48px;line-height:1.6}
.national-games-table th,.national-games-table td,.national-football-prizes th,.national-football-prizes td{padding:14px 12px}
.national-games-wrap table{table-layout:auto;min-width:480px}
.national-games-wrap th:nth-child(2),.national-games-wrap td:nth-child(2){width:auto;white-space:normal;overflow-wrap:normal}
.national-games-wrap th:first-child,.national-games-wrap td:first-child{width:76px}
.national-games-wrap th:last-child,.national-games-wrap td:last-child{width:92px}

/* Match the home CTA: yellow for the primary action, quieter secondary links. */
.button-primary{min-height:48px;padding:13px 20px;border-radius:11px;background:#ffd400;color:var(--page-ink);line-height:1.5}
.button-primary:hover{background:#f3ca00;color:var(--page-ink)}
.button-primary.small{min-height:44px;padding:11px 16px;font-size:13px}
.button-quiet{min-height:48px;padding:13px 20px;border:1px solid var(--page-line);border-radius:11px;background:#fff;color:var(--page-purple);line-height:1.5}
.button-quiet:hover{background:var(--page-soft)}
.utility-cta{gap:28px}
.utility-cta h2{margin:10px 0 12px}
.utility-cta p:not(.eyebrow){font-size:14px;max-width:55ch;line-height:1.85}
.utility-cta .button-primary{flex-shrink:0}
.checker .tool-intro{margin:0 0 28px}
.checker .form-grid{gap:20px}
.checker label{gap:10px;font-size:13px}
.checker input,.checker select{min-height:50px;padding:13px 14px;font-size:16px;line-height:1.5;border-color:#cdb7de;border-radius:11px}
.checker input::placeholder{color:#82738d}
.checker input:focus-visible,.checker select:focus-visible{outline:2px solid #6e3fa0;outline-offset:3px}
.checker .field-block{margin-top:24px}
.checker .field-block>label{margin-bottom:10px}
.checker-number-inputs{display:grid;grid-template-columns:repeat(var(--number-count,1),minmax(0,1fr));gap:10px;max-width:calc(var(--number-count,1)*90px);margin-bottom:10px}
.checker-number-inputs input{text-align:center;min-width:0;padding:12px 4px;font-size:20px;font-weight:600;min-height:56px}
.checker-number-inputs input::placeholder{font-size:13px;font-weight:400}
.checker-code-input{margin-bottom:10px}
@media(max-width:420px){#checker-main-fields.checker-number-inputs{grid-template-columns:repeat(3,minmax(0,1fr));max-width:100%}}
.checker .field-block small{font-size:12px;line-height:1.75}
.checker-actions{margin-top:28px;gap:12px;flex-wrap:wrap}
.checker-result{padding:24px;margin-top:28px;line-height:1.8}
.checker-result[hidden]{display:none}
.checker-history a{min-height:48px;padding:14px 0;align-items:center;line-height:1.7}
.checker-note{margin-top:16px;font-size:13px;line-height:1.85}

/* Today uses the same clear card hierarchy at every intermediate width. */
.results-timeline{gap:36px}
.timeline-group{gap:18px}
.timeline-days{gap:24px}
.timeline-heading h2{margin:10px 0 8px}
.timeline-heading>p:not(.eyebrow){font-size:14px;line-height:1.8}
.timeline-day h3{font-size:13px;line-height:1.8;margin-bottom:12px}
.today-row{grid-template-columns:minmax(0,1fr) auto;gap:14px 20px;padding:26px;align-items:start}
.today-name{grid-column:1;grid-row:1;gap:6px;min-width:0}
.today-name strong{font-family:'Baloo 2',Poppins,sans-serif;font-size:25px;line-height:1.3;color:var(--page-purple)}
.today-status{font-size:12px;line-height:1.75}
.today-balls{grid-column:1 / -1;grid-row:2;min-width:0}
.today-balls .miniballs{gap:7px;overflow-x:auto;padding-bottom:3px}
.today-balls .mini{width:38px;height:38px;font-size:16px;transform:none}
.today-link{grid-column:2;grid-row:1;align-self:center;display:inline-flex;align-items:center;min-height:44px;line-height:1.7;font-size:12px}
.timeline-empty{padding:26px;line-height:1.85}
.upcoming-row .today-balls{grid-column:2;grid-row:1;align-self:start;justify-self:end}
.upcoming-row .today-link{grid-column:1 / -1;grid-row:2;justify-self:start}

/* Data, guides and discovery repeat the home card language. */
.country-grid,.insight-grid{gap:20px}
.country-card,.insight-card{padding:28px 24px;border-radius:var(--page-radius)}
.country-card>div strong{font-family:'Baloo 2',Poppins,sans-serif;font-size:42px;color:var(--page-purple);margin:12px 0 8px}
.country-card>div small{font-size:12px;line-height:1.8}
.country-card dl{gap:14px 12px;margin:24px 0;padding-top:20px;border-top:1px solid var(--page-line)}
.country-card dt,.country-card dd{font-size:12px;line-height:1.75;overflow-wrap:break-word}
.country-card>a,.insight-card>a{display:inline-flex;align-items:center;min-height:44px;line-height:1.7}
.insight-grid{padding-bottom:64px}
.insight-card{display:flex;flex-direction:column}
.insight-head h2{font-size:23px;line-height:1.35;margin:12px 0 16px}
.insight-card ul{font-size:13px;line-height:1.85;min-height:0;margin:22px 0;padding-left:20px}
.insight-card li+li{margin-top:10px}
.insight-card>a{margin-top:auto}
.insight-head .miniballs,.curiosity-card .miniballs{gap:6px}
.insight-head .mini,.curiosity-card .mini{width:32px;height:32px;font-size:14px}
.insight-featured-wrap{padding-bottom:28px}
.insight-featured{padding:30px;border-radius:var(--page-radius)}
.insight-featured p,.insight-featured li{font-size:14px;line-height:1.85}
.knowledge-grid{gap:18px;margin-top:24px}
.knowledge-link{padding:24px;border-radius:14px}
.knowledge-link strong{font-size:16px;line-height:1.6}
.knowledge-link span{margin-top:10px;font-size:13px;line-height:1.85}
.curiosity-wrap{padding-bottom:64px}
.curiosity-grid{gap:18px;margin-top:24px}
.curiosity-card{padding:24px;border-radius:14px}
.curiosity-card h3{font-size:22px;margin:10px 0}
.curiosity-card p{font-size:13px;line-height:1.8}
.curiosity-card a{display:inline-flex;align-items:center;min-height:44px;line-height:1.6}
.curiosity-card .miniballs{margin:20px 0 12px}
.metric-grid,.metric-grid.compact,.stat-cards,.pair-grid{gap:12px;margin-top:24px}
.metric{padding:18px 16px;border-radius:12px}
.metric span{line-height:1.75}
.metric strong{font-size:23px;line-height:1.5;margin-top:6px;color:var(--page-purple)}
.metric-help{font-size:11px;line-height:1.8}
.context-intro{font-size:14px;line-height:1.8}
.number-stat{padding:18px 8px;gap:4px}
.number-stat small{font-size:11px;line-height:1.7}
.pair-grid>div{padding:16px;align-items:center;flex-wrap:wrap}
.distribution{gap:16px;margin-top:24px}
.distribution>div{grid-template-columns:minmax(100px,1fr) 36px minmax(60px,1.4fr) 50px;gap:10px;line-height:1.6}
.m1-code{padding:24px;margin:24px 0;font-size:clamp(28px,5vw,46px);overflow-wrap:anywhere}

/* The same national cards, without modifying the existing homepage cards. */
:where(.national-wrap,.national-sections,.cols) .national-grid{gap:18px;margin-top:24px}
:where(.national-wrap,.national-sections,.cols) .national-card{padding:24px 22px;border-radius:14px;gap:10px;min-height:138px}
:where(.national-wrap,.national-sections,.cols) .national-card strong{font-family:'Baloo 2',Poppins,sans-serif;font-size:25px;line-height:1.25;color:var(--page-purple)}
:where(.national-wrap,.national-sections,.cols) .national-card>span{font-size:11px;line-height:1.7}
:where(.national-wrap,.national-sections,.cols) .national-card>small{font-size:12px;line-height:1.8}
.national-prizes,.lottery-prizes{gap:16px;margin-top:28px}
.national-prizes>div,.lottery-prize{padding:22px 20px;border-radius:14px}
.national-prizes strong{font-family:'Baloo 2',Poppins,sans-serif;font-size:34px;color:var(--page-purple);margin:10px 0}
.national-prizes small{font-size:12px;line-height:1.8}
.national-detail-section,.lottery-sequence-block{margin-top:32px}
.lottery-sequence-block h3{font-size:21px;margin-bottom:16px}
.lottery-sequences{gap:10px}
.lottery-sequences span{min-height:40px}
.national-stats-grid{gap:12px}
.national-stats-grid>div{padding:18px 16px}
.national-stats-grid span{font-size:11px;line-height:1.75}
.national-stats-grid strong{font-size:18px;line-height:1.6;overflow-wrap:anywhere}
.future-links{gap:14px;margin-top:22px}
.future-links a{display:flex;align-items:center;min-height:48px;padding:16px 18px;font-size:13px;line-height:1.7;border:1px solid var(--page-line);background:#fff}
.future-links a:hover{background:var(--page-soft)}
.national-key{gap:12px;margin-top:24px}
.national-key span{min-height:82px}

:is(.cols,.tool-wrap,.national-wrap,.national-sections,.curiosity-wrap,.insight-grid,.country-grid,.legal-content) a:focus-visible,
.button-primary:focus-visible,.button-quiet:focus-visible{outline:3px solid #6e3fa0;outline-offset:4px}
:is(.cols,.tool-wrap,.national-wrap,.legal-content) [id]{scroll-margin-top:116px}
@media(prefers-reduced-motion:no-preference){
  .button-primary,.button-quiet,.future-links a{transition:background-color 160ms ease}
  .knowledge-link,.curiosity-card,.country-card,.insight-card{transition:border-color 160ms ease}
}
@media(max-width:1100px){
  :where(.national-wrap,.national-sections,.cols) .national-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .national-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .stat-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pair-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1000px){
  .cols{grid-template-columns:1fr;gap:28px}
  .rail{position:static;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
}
@media(max-width:760px){
  .cols,.national-wrap,.tool-wrap{padding-top:12px;padding-bottom:48px}
  .cols>.gap,.national-wrap,.national-sections,.curiosity-wrap,.wrap.gap,.tool-wrap{gap:24px}
  .product-hero{padding-top:12px;padding-bottom:26px;gap:20px}
  .product-hero h1,.national-hero h1,.panel h1,.legal-content h1{font-size:34px;line-height:1.15;margin:12px 0 16px}
  .product-hero p:not(.eyebrow),.national-hero p:not(.eyebrow),.tool-intro,.stats-hero>p:not(.eyebrow){font-size:14px}
  .product-hero .freshness{margin:0;max-width:100%}
  .panel h2,.timeline-heading h2{font-size:27px}
  :where(.cols,.tool-wrap,.national-wrap,.national-sections,.curiosity-wrap,.wrap.gap) .panel-pad{padding:24px}
  .draw-head h1,.draw-head h2{font-size:30px}
  .panel .balls{gap:8px;margin-top:24px}
  .panel .legend{font-size:12px}
  .statrow .stat{padding:18px 24px}
  .cols .archive:not(.recent-draws-grid){grid-template-columns:1fr}
  .recent-draws-panel .recent-draws-grid{grid-template-columns:1fr}
  .recent-draws-panel .recent-draws-grid .arow{padding:16px}
  .rail{grid-template-columns:1fr}
  .rail .panel-pad,.rail .next{padding:24px}
  :where(.cols,.tool-wrap,.national-wrap,.curiosity-wrap,.legal-content) :is(.context-note,.live-source-note,.live-awaiting,.live-confirmed){padding:18px;margin:22px 0}
  .tablewrap,.data-table-wrap{margin-top:20px}
  .tablewrap table{min-width:540px}
  .tablewrap th,.tablewrap td{padding:12px;overflow-wrap:normal}
  .national-games-wrap table{min-width:420px}
  .checker .form-grid{grid-template-columns:1fr;gap:22px}
  .checker-result{padding:20px}
  .utility-cta .button-primary{width:100%}
  .today-row{padding:22px;gap:14px}
  .today-name strong{font-size:24px}
  .today-link{grid-column:1 / -1;grid-row:3;justify-self:start;min-height:40px}
  .today-balls .mini{width:35px;height:35px;font-size:15px;transform:none}
  .today-balls .miniballs{gap:6px}
  .upcoming-row .today-balls{grid-column:1 / -1;grid-row:2;justify-self:start}
  .upcoming-row .today-link{grid-row:3}
  .country-grid,.insight-grid{grid-template-columns:1fr;gap:18px}
  .country-card,.insight-card,.insight-featured{padding:24px}
  .insight-card .miniballs{flex-wrap:wrap}
  .insight-grid,.curiosity-wrap,.wrap.gap,.national-sections{padding-bottom:48px}
  .knowledge-grid,.curiosity-grid{grid-template-columns:1fr;gap:16px}
  .knowledge-link,.curiosity-card{padding:22px}
  .metric-grid,.metric-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .metric strong{font-size:21px}
  .national-prizes{grid-template-columns:repeat(2,minmax(0,1fr))}
  .national-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  :where(.national-wrap,.national-sections,.cols) .national-card{padding:22px 18px}
  .future-links{grid-template-columns:1fr}
  :is(.cols,.tool-wrap,.national-wrap,.legal-content) [id]{scroll-margin-top:150px}
}
@media(max-width:480px){
  :where(.cols,.tool-wrap,.national-wrap,.national-sections,.curiosity-wrap,.wrap.gap) .panel-pad{padding:22px 20px}
  .product-hero h1,.national-hero h1,.panel h1,.legal-content h1{font-size:30px}
  .panel h2,.timeline-heading h2{font-size:25px}
  .draw-head h1,.draw-head h2{font-size:28px}
  .panel .balls{gap:7px}
  .cols .archive .arow{flex-wrap:wrap}
  .recent-draws-panel .recent-draws-grid .arow{grid-template-columns:1fr;gap:8px}
  .today-row{padding:20px}
  .today-balls .mini{width:32px;height:32px;font-size:14px}
  .today-balls .miniballs{gap:5px}
  .stat-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .metric-grid,.metric-grid.compact{grid-template-columns:1fr}
  .pair-grid{grid-template-columns:1fr 1fr;gap:10px}
  .pair-grid>div{padding:14px 12px}
  .distribution>div{grid-template-columns:minmax(80px,1fr) 26px minmax(30px,.8fr) 44px;gap:6px;font-size:11px}
  .checker-actions .button-primary{flex:1 1 auto}
  .checker-score{grid-template-columns:auto 1fr;gap:6px 12px}
  .checker-history a{align-items:flex-start;flex-direction:column;gap:8px}
  :where(.national-wrap,.national-sections,.cols) .national-grid{grid-template-columns:1fr}
  .national-prizes{grid-template-columns:1fr}
  .national-stats-grid>div{padding:16px 12px}
  .national-stats-grid strong{font-size:16px}
  .country-card dl{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .curiosity-card .miniballs{gap:4px}
  .curiosity-card .mini{width:28px;height:28px;font-size:13px}
}
@media(max-width:359px){
  .cols,.tool-wrap,.national-wrap,.national-sections,.curiosity-wrap,.product-hero,.insight-grid,.wrap.gap{padding-left:16px;padding-right:16px}
  .today-balls .mini{width:29px;height:29px;font-size:13px}
  .today-balls .miniballs{gap:4px}
  .national-stats-grid,.pair-grid{grid-template-columns:1fr}
}
@media print{
  .cols{grid-template-columns:1fr;padding-bottom:0}
  .rail,.checker-actions{display:none}
  .panel{break-inside:avoid}
  .tablewrap,.data-table-wrap{overflow:visible}
  .tablewrap table,.data-table{min-width:0}
}

/* Datas previstas não têm uma página de resultado antes da publicação. */
.future-links .future-date{margin:0;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--soft);color:var(--ink);font-size:.9rem;line-height:1.6}

/* One card surface: the three result cards on the homepage are the reference.
   Container panels keep their existing layout and inner .panel-pad spacing. */
:root{
  --card-border:#dfd2ea;
  --card-shadow:0 7px 24px -21px #4a2670;
  --card-radius:18px;
  --card-accent:#6e3fa0;
}
body :is(.panel:not(.national-home-block),.jogo,.result-card,.national-card,.country-card,.insight-card,.insight-featured,.knowledge-link,.curiosity-card,.home-editorial-card,.metric,.number-stat,.pair-grid>div,.national-prizes>div,.lottery-prize,.national-stats-grid>div,:where(.recent-draws-panel .recent-draws-grid) .arow,.next,.today-row,.checker-result){
  position:relative;min-width:0;background:#fff;border:1px solid var(--card-border);
  border-radius:var(--card-radius);box-shadow:var(--card-shadow);color:var(--page-purple);
}
body :is(.panel:not(.national-home-block),.jogo,.result-card,.national-card,.country-card,.insight-card,.insight-featured,.knowledge-link,.curiosity-card,.home-editorial-card,.metric,.number-stat,.pair-grid>div,.national-prizes>div,.lottery-prize,.national-stats-grid>div,:where(.recent-draws-panel .recent-draws-grid) .arow,.next,.today-row,.checker-result)::before{
  content:'';position:absolute;top:0;left:24px;width:36px;height:4px;
  background:var(--card-accent);border-radius:0 0 3px 3px;pointer-events:none;
}
[data-card-game="eurodreams"],[data-live-summary-game="eurodreams"]{--card-accent:#00b89c}
[data-card-game="totoloto"],[data-live-summary-game="totoloto"]{--card-accent:#ff853d}
[data-card-game="m1lhao"]{--card-accent:#e7b100}
[data-card-game="lotaria-classica"],[data-secondary-summary-game="lotaria-classica"]{--card-accent:#00b89c}
[data-card-game="lotaria-popular"],[data-secondary-summary-game="lotaria-popular"]{--card-accent:#ff853d}
[data-card-game="totobola-extra"],[data-secondary-summary-game="totobola-extra"]{--card-accent:#ed3d82}
body :is(.metric,.number-stat,.pair-grid>div,.national-stats-grid>div)::before{left:16px}
body :is(.country-card,.insight-card,.knowledge-link,.curiosity-card,.home-editorial-card){padding:26px 24px 20px}
body :is(.curiosity-card h3,.insight-head h2,.knowledge-link strong,.home-editorial-card h3){
  font-family:'Baloo 2',Poppins,sans-serif;font-size:26px;font-weight:800;line-height:1.25;letter-spacing:0;color:var(--page-purple);
}
.country-card>a,.insight-card>a,.curiosity-card>a{padding-top:14px;margin-top:18px;border-top:1px solid #eee6f4;font-size:12px;font-weight:600;text-decoration:none}
.country-card>a,.insight-card>a{display:flex;justify-content:space-between;gap:12px}
.country-card>a>span,.insight-card>a>span{color:#9279a7}
.knowledge-link{display:flex;flex-direction:column;gap:14px;text-decoration:none}
.knowledge-link::after{content:'→';align-self:flex-end;margin-top:auto;color:#9279a7;font-size:22px}

/* Result cards share the homepage markup, also on the server-rendered hub. */
body .result-card{display:flex;flex-direction:column;gap:18px;padding:26px 24px 20px;text-decoration:none}
.result-card .jogo-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.result-card .jogo-nome{font:800 26px/1.25 'Baloo 2',Poppins,sans-serif;margin:0;letter-spacing:0;color:#4a2670}
.result-card .home-card-arrow{flex-shrink:0;font-size:22px;color:#9279a7}
.result-card .home-result-meta{font-size:11px;color:#625a68}
.result-card .miniballs{display:flex;gap:6px;flex-wrap:nowrap;margin:0 0 4px}
.result-card .mini{flex:0 1 38px;width:38px;height:auto;min-width:0;aspect-ratio:1;font-size:15px}
.result-card .jogo-pe{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-height:100px;margin:0;padding:18px 0 0;border-top:1px solid #eee6f4}
.result-card .jogo-pe::after{content:none}
.result-card .jogo-pe time,.result-card .jogo-pe strong{font:600 14px/1.6 Poppins,sans-serif;color:#34174f}
.result-card .jogo-pe time{display:block}
.result-card .home-card-link{display:flex;justify-content:space-between;gap:12px;margin-top:auto;padding-top:5px;font-size:12px;font-weight:600;color:#4a2670}
.result-card-ticket{display:flex;flex-direction:column;gap:6px;color:#4a2670;overflow-wrap:anywhere}
.result-card-ticket>span{font:500 10px/1.6 Poppins,sans-serif;color:#625a68}
.result-card-ticket>strong{font:800 32px/1.25 'Baloo 2',Poppins,sans-serif;letter-spacing:.04em}
.result-card-empty,.result-card-pending{margin:0;font:400 13px/1.8 Poppins,sans-serif;color:#625a68}
.result-card-key{display:flex;flex-wrap:wrap;gap:6px}
.result-card-key span{display:grid;place-items:center;width:30px;min-height:30px;border-radius:50%;background:#4a2670;color:#fff;font:800 14px/1 'Baloo 2',sans-serif}
.result-card-key .result-card-super{background:#ffd400;color:#34174f}
.national-grid:has(>.result-card){grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:20px;align-items:stretch}

/* Preserve the purple sidebar identity on desktop and when stacked on mobile. */
body .rail > :is(.next,.panel){--muted:#eee6f4;background:#4a2670;color:#fff;border-color:#4a2670}
body .rail > :is(.next,.panel)::before{background:#ffd400}
body .rail :is(.next,.panel) .eyebrow{color:#fff!important}
.rail .eyebrow::after{background:rgba(255,255,255,.25)}
body .rail .next .amount{color:#ffd400}
body .rail :is(.when,.panel h2,.panel a,.m1lhao .k){color:#fff}
body .rail .panel .arow{border-color:rgba(255,255,255,.4)}
body .rail .panel .arow:hover{background:rgba(255,255,255,.1)}
body .rail .panel .arow .d{color:#eee6f4}
.rail .next .clock{padding-top:18px;border-top:1px solid rgba(255,255,255,.25)}
.rail .next .clock>div{background:rgba(255,255,255,.10)}
.rail .next .clock .n{color:#fff;background:none}
.rail .next .clock .l{color:#eee6f4;background:none}
.today-time{display:block;font-size:12px;line-height:1.7;color:#625a68;font-variant-numeric:tabular-nums}
body .checker-result.win{--card-accent:#18815f;border-color:#a6d7c2}
body .checker-result.error{--card-accent:#b43c4b;border-color:#e2b2b9}
body :is(.today-panel,.timeline-panel,.upcoming-panel):has(>.today-row){display:grid;gap:18px;border:0;box-shadow:none;overflow:visible;background:transparent}
body :is(.today-panel,.timeline-panel,.upcoming-panel):has(>.today-row)::before{content:none}

@media(hover:hover){
  body :is(a.jogo,a.result-card,a.national-card,a.knowledge-link,a.home-editorial-card,.recent-draws-panel .recent-draws-grid a.arow):hover{border-color:#a580c4;box-shadow:0 12px 26px -20px #4a2670}
}
body :is(a.jogo,a.result-card,a.national-card,a.knowledge-link,a.home-editorial-card):focus-visible{outline:3px solid #6e3fa0;outline-offset:4px}
@media(prefers-reduced-motion:no-preference){
  :is(a.result-card,a.home-editorial-card,.recent-draws-panel .recent-draws-grid a.arow){transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease}
  @media(hover:hover){:is(a.result-card,a.home-editorial-card,.recent-draws-panel .recent-draws-grid a.arow):hover{transform:translateY(-3px)}}
}
@media(max-width:760px){
  .national-grid:has(>.result-card){grid-template-columns:1fr}
  body .result-card{padding:24px;gap:16px}
  .result-card .jogo-nome{font-size:27px}
  .result-card .jogo-pe{min-height:0}
  .result-card .mini{flex-basis:40px;width:40px}
}
@media(max-width:359px){body .result-card{padding:22px 18px}.result-card .miniballs{gap:5px}}

/* /prize-tables.css */
/* Shared prize presentation for current results, draw archives and live pages. */
:is(.prize-cell-label,.results-cell-label){display:none}
:is(.prize-cell-value,.results-cell-value){font-variant-numeric:tabular-nums}
.tablewrap .prize-table tbody th{font-size:14px;font-weight:500;letter-spacing:normal;text-transform:none;color:inherit;text-align:left}
.tablewrap .national-football-prizes tbody th{font-size:13px}
.lottery-prize-values>span{display:inline;color:inherit;font-size:inherit}
.lottery-prize-values>span+span::before{content:' · '}
.lottery-prize-values b{font-weight:inherit}
@media screen and (min-width:761px){
  .prize-table tbody tr:first-child th{background:var(--brand-soft)}
  .prize-table tbody tr:hover th{background:var(--surface-2)}
}

@media screen and (max-width:760px){
  /* Match the legacy :not(:first-child):not(:last-child) specificity.
     Grid cells must fill their track instead of keeping desktop percentages. */
  body :is(.prize-table-wrap,.results-table-wrap) :is(.prize-table,.results-prize-table) tbody :is(th,td):nth-child(n){width:auto;min-width:0;justify-self:stretch}
  body :is(.prize-table,.results-prize-table) td :is(.prize-cell-label,.results-cell-label){align-self:stretch;white-space:normal;overflow-wrap:normal;word-break:normal}

  body :is(.prize-table-wrap,.results-table-wrap){max-width:100%;min-width:0;overflow:visible;border:0}
  body .prize-table-wrap::before,body .national-games-wrap::before{display:none}
  body :is(.prize-table-wrap,.results-table-wrap) :is(.prize-table,.results-prize-table){display:block;width:100%;min-width:0;table-layout:auto;font-size:13px;margin:0;border:0}
  body :is(.prize-table,.results-prize-table) caption{display:block;padding-bottom:10px;font-size:11px}
  body :is(.prize-table,.results-prize-table) thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
  body :is(.prize-table,.results-prize-table) tbody{display:grid;gap:10px;min-width:0}
  body :is(.prize-table,.results-prize-table) tbody tr{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);border:1px solid #e6dced;border-radius:10px;overflow:hidden;min-width:0;background:#fff}
  body :is(.prize-table-wrap,.results-table-wrap) :is(.prize-table,.results-prize-table) tbody th{grid-column:1/-1;width:auto;max-width:100%;padding:9px 12px;border:0;background:#f7f3fa;color:#4a2670;font-size:13px;font-weight:600;line-height:1.5;letter-spacing:normal;text-transform:none;text-align:left;white-space:normal;overflow-wrap:anywhere}
  body :is(.prize-table-wrap,.results-table-wrap) :is(.prize-table,.results-prize-table) td{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:auto;max-width:100%;min-width:0;padding:10px 12px;border:0;text-align:left;white-space:normal;overflow-wrap:anywhere;line-height:1.5;letter-spacing:normal;text-transform:none;background:transparent}
  body :is(.prize-table,.results-prize-table) td :is(.prize-cell-label,.results-cell-label){display:block;font-size:10px;line-height:1.4;font-weight:400;color:#71637b}
  body :is(.prize-table,.results-prize-table) :is(.prize-cell-value,.results-cell-value){font-size:14px;line-height:1.5;max-width:100%}
  body :is(.prize-table-wrap,.results-table-wrap) :is(.prize-table,.results-prize-table) td:last-child{align-items:flex-end;text-align:right;color:#4a2670;font-weight:600}
  body .prize-table-wrap .prize-table--international .prize-amount-cell,body .prize-table-wrap .prize-table .prize-match-cell{grid-column:1/-1;border-top:1px solid #eee6f4}
  body .prize-table--international tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))}
  body .results-lottery-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))}
  body .results-lottery-table th .results-cell-label{display:inline}
  body .results-table-wrap .results-lottery-table .results-ticket-cell{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;border-bottom:1px solid #eee6f4;padding-top:8px;padding-bottom:8px}
  body .results-ticket-cell .results-cell-value{font-weight:600;letter-spacing:.04em;color:#4a2670}
  body .national-games-wrap{overflow:visible;border:0}
  body .national-games-wrap .national-games-table{min-width:0;width:100%;table-layout:fixed}
  body .national-games-wrap .national-games-table :is(th,td){padding:10px 5px;font-size:12px;white-space:normal;overflow-wrap:anywhere}
  body .national-games-wrap .national-games-table :is(th,td):first-child{width:52px}
  body .national-games-wrap .national-games-table :is(th,td):last-child{width:58px;text-align:center}
  body .national-games-wrap .national-games-table :is(th,td):nth-child(2){width:auto}
  body :is(.national-prizes,.lottery-prizes){grid-template-columns:minmax(0,1fr)}
  body .lottery-prize-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;text-align:left;min-width:0}
  body .lottery-prize-values>span{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:11px;overflow-wrap:anywhere}
  body .lottery-prize-values>span+span::before{content:none}
  body .lottery-prize-values>span:last-child{text-align:right}
  body .lottery-prize-values b{font-size:14px;font-weight:600;color:#4a2670}
}

/* Identical desktop and mobile presentation, independent of the host page. */
body .unified-prize-wrap{margin-top:14px;max-width:100%}
body .unified-prize-table caption{text-align:left;color:#71637b;font-size:12px;font-weight:400;line-height:1.5;padding:0 0 12px}
body .prize-note{font-size:12px;line-height:1.7;color:#71637b;margin:12px 0 0}
body .unified-prize-table .tier{display:inline;margin-right:6px;font-weight:400;color:#71637b}
@media screen and (min-width:761px){
  body .tablewrap .unified-prize-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:13px}
  body .tablewrap .unified-prize-table :is(th,td):nth-child(n){width:auto;padding:12px 10px;line-height:1.5;white-space:normal;overflow-wrap:normal;text-transform:none;letter-spacing:normal;text-align:right;border-bottom:1px solid #ece6f1;color:#4a2670}
  body .tablewrap .unified-prize-table :is(th,td):first-child{width:34%;text-align:left}
  body .tablewrap .unified-prize-table thead th{font-size:11px;font-weight:500;background:#f7f3fa}
  body .tablewrap .unified-prize-table tbody th{font-size:13px;font-weight:500}
  body .tablewrap .unified-prize-table tbody :is(th,td){background:#fff}
  body .tablewrap .unified-prize-table td:last-child{font-weight:600}
  body .tablewrap .unified-prize-table.results-lottery-table th:first-child{width:14%}
}
@media screen and (max-width:760px){
  body .unified-prize-table .prize-lottery-amount{border-top:1px solid #eee6f4}
  body .unified-prize-wrap .unified-prize-table .results-ticket-cell{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;border-bottom:1px solid #eee6f4}
}
