:root{--ink:#092d23;--deep:#06271e;--emerald:#0e4f38;--green:#167a4d;--lime:#c7e779;--gold:#efca67;--paper:#f4f5ee;--muted:#91b7a4;--line:rgba(231,246,223,.18);--white:#f7faf4}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--deep);color:var(--white);font-family:"Avenir Next",Avenir,"Segoe UI",Arial,sans-serif}button,a{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}::selection{background:var(--gold);color:var(--ink)}.skip-link{position:absolute;z-index:50;top:-80px;left:20px;background:#fff;color:#092d23;padding:10px}.skip-link:focus{top:10px}
.app-shell{max-width:1920px;margin:auto;min-height:100vh;overflow:hidden;background:radial-gradient(ellipse 65% 42% at 5% -8%,#166045 0,transparent 65%),var(--deep)}.site-header{height:88px;padding:0 clamp(22px,4.2vw,80px);display:flex;align-items:center;gap:4vw;border-bottom:1px solid var(--line);background:rgba(4,38,29,.55)}.brand{display:flex;align-items:center;gap:10px;flex:none;min-width:205px}.brand-mark{width:40px;height:42px;border:1.5px solid var(--gold);border-radius:5px 5px 13px 5px;position:relative;display:grid;place-items:center;color:var(--gold);font-weight:950;font-size:31px;line-height:1;letter-spacing:-5px;padding-right:4px;transform:skew(-5deg)}.mark-cut{position:absolute;right:-6px;bottom:5px;width:19px;height:3px;background:var(--gold);transform:rotate(-47deg)}.brand-type{display:flex;flex-direction:column;font-weight:900;line-height:.88;letter-spacing:.05em;font-size:19px}.brand-type span{color:var(--gold);letter-spacing:.13em;font-size:14px;margin-top:5px}.brand-type b{font-size:17px}.main-nav{display:flex;align-items:center;gap:clamp(20px,2.5vw,44px);margin:auto}.main-nav a{font-size:14px;font-weight:650;white-space:nowrap;color:#c5dacb;transition:color .2s}.main-nav a:hover,.main-nav a.active{color:#fff}.main-nav a.active:after{content:"";display:block;background:var(--gold);height:2px;margin-top:7px}.header-status{white-space:nowrap;color:var(--gold);font-weight:800;letter-spacing:.17em;font-size:10px}.status-line{display:inline-block;width:17px;height:2px;background:var(--gold);vertical-align:middle;margin-right:8px}.menu-toggle{display:none}.topline{display:flex;align-items:center;gap:17px;margin:0 clamp(22px,4.2vw,80px);height:56px;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.17em}.topline-id{color:var(--gold)}.topline-rule{width:25px;height:1px;background:var(--muted);opacity:.6}.sample-tag{margin-left:auto;color:#a4c4ad;letter-spacing:.08em;font-size:10px}
.hero{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(285px,.8fr);gap:18px;margin:0 clamp(22px,4.2vw,80px)}.results-panel{min-height:353px;background:linear-gradient(111deg,#0e6345 0%,#0b503a 57%,#104b38 100%);position:relative;overflow:hidden;padding:29px clamp(25px,3.5vw,64px) 23px;border:1px solid rgba(197,232,177,.27);display:flex;flex-direction:column}.results-panel:before{content:"";position:absolute;width:560px;height:560px;border:1px solid rgba(222,244,203,.1);border-radius:50%;right:-190px;top:-180px;box-shadow:0 0 0 55px rgba(199,231,121,.025),0 0 0 110px rgba(199,231,121,.018)}.results-panel:after{content:"7";position:absolute;right:36px;top:28px;font-size:290px;font-weight:950;line-height:1;color:rgba(211,238,182,.045);font-style:italic;pointer-events:none}.panel-ornament{position:absolute;top:0;right:15%;display:flex;gap:8px;transform:skew(-24deg)}.panel-ornament i{width:6px;height:42px;background:rgba(212,239,187,.07)}.results-top,.result-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;position:relative;z-index:1}.eyebrow{font-size:12px;font-weight:850;letter-spacing:.14em}.gold-dash{display:inline-block;width:17px;height:3px;background:var(--gold);vertical-align:middle;margin-right:7px}.edition{font-size:11px;letter-spacing:.11em;font-weight:700;color:#bbdac5;white-space:nowrap}.edition b{color:#fff;margin-left:6px}.results-panel h1{position:relative;z-index:1;margin:23px 0 21px;font-size:clamp(25px,2.65vw,47px);font-weight:760;letter-spacing:-.045em;line-height:1.06}.results-panel h1 em{font-style:normal;color:var(--lime)}.winning-row{position:relative;z-index:1;display:grid;grid-template-columns:2fr 3fr 4fr;gap:22px;max-width:1080px}.winning-tile{position:relative;aspect-ratio:1/1.02;background:var(--paper);color:#103c2b;display:grid;place-items:center;font-size:clamp(35px,5.7vw,91px);line-height:1;font-weight:850;font-variant-numeric:tabular-nums;letter-spacing:-.07em;box-shadow:inset 0 -6px #d6dfcc;clip-path:polygon(0 0,88% 0,100% 12%,100% 100%,12% 100%,0 88%)}.winning-tile:before{content:"";position:absolute;top:0;left:0;width:32%;height:5px;background:var(--gold)}.result-footer{margin-top:auto;padding-top:22px;color:#bfdbbd;font-weight:800;letter-spacing:.13em;font-size:10px}.small-glyph{font-size:16px;color:var(--gold);vertical-align:-1px;margin-right:6px}.result-index{color:#dfedce}.next-panel{min-height:353px;padding:28px clamp(24px,2.6vw,47px) 24px;background:#e6e9da;color:var(--ink);display:flex;flex-direction:column;position:relative;overflow:hidden}.next-panel:after{content:"";height:10px;position:absolute;bottom:0;left:0;right:0;background:repeating-linear-gradient(110deg,#236b47 0 23px,#c5db76 23px 30px,#236b47 30px 40px)}.next-heading{display:flex;align-items:center;justify-content:space-between;color:#40765b}.next-icon{font-size:25px;line-height:1}.next-panel h2{font-size:clamp(24px,2.1vw,36px);line-height:1.1;letter-spacing:-.045em;margin:25px 0 6px}.countdown{font-size:clamp(45px,4.8vw,85px);font-weight:830;letter-spacing:-.065em;line-height:1.18;font-variant-numeric:tabular-nums;white-space:nowrap;color:#0d5739}.countdown small{font-size:.7em;font-weight:500;position:relative;top:-.07em;padding:0 .02em}.next-date{display:flex;align-items:center;gap:11px;color:#466a55;font-weight:750;font-size:13px;margin:3px 0 23px}.next-date-line{width:20px;height:2px;background:var(--green)}.primary-cta{background:var(--gold);border:0;color:#173e2d;display:flex;justify-content:space-between;align-items:center;padding:15px 18px;font-weight:850;font-size:16px;min-height:52px;transition:background .2s,transform .2s}.primary-cta:hover{background:#f8d883;transform:translateY(-2px)}.primary-cta span[aria-hidden="true"]{font-size:22px;font-weight:400}.next-note{display:flex;justify-content:space-between;color:#628270;font-size:11px;margin-top:16px;text-transform:uppercase;letter-spacing:.1em;font-weight:700}.next-note b{color:#1c5b3c}
.schedule-section,.middle-grid,.bottom-grid{margin-left:clamp(22px,4.2vw,80px);margin-right:clamp(22px,4.2vw,80px)}.schedule-section{margin-top:27px}.section-rail{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;min-height:26px}.section-rail>div{display:flex;align-items:baseline;gap:12px}.section-number{color:var(--gold);font-size:12px;font-weight:800;letter-spacing:.1em}.section-rail h2{font-size:21px;letter-spacing:-.035em;line-height:1.1;margin:0;font-weight:700}.section-hint{color:#84a998;font-size:10px;letter-spacing:.13em;font-weight:850}.schedule-track{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:7px 0}.hour-button{border:0;background:transparent;color:#a9c7b3;min-height:51px;position:relative;font-size:13px;font-weight:800;white-space:nowrap}.hour-button:hover{color:#fff;background:#174b37}.hour-button.selected{background:var(--gold);color:#16422d}.hour-button.selected:after{content:"";position:absolute;left:calc(50% - 5px);bottom:-12px;border:5px solid transparent;border-top-color:var(--gold)}.middle-grid{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(300px,.83fr);gap:28px;margin-top:29px}.history-board,.prizes-board{border-top:2px solid #578c62}.history-head,.history-row{display:grid;grid-template-columns:1.18fr repeat(3,1fr) repeat(3,.62fr);align-items:center;gap:6px}.history-head{height:31px;color:#98bba6;font-size:10px;letter-spacing:.1em;font-weight:850}.history-head span:not(:first-child),.history-row>span:not(:first-child){text-align:center}.history-row{min-height:55px;border-top:1px solid var(--line);font-variant-numeric:tabular-nums}.history-row.highlight{background:#124936}.history-row>span{font-weight:800;font-size:19px;letter-spacing:.07em}.history-row .draw-cell{padding-left:12px;display:flex;flex-direction:column;align-items:flex-start;font-size:14px;letter-spacing:0}.draw-cell small{font-size:11px;color:#97bdaa;font-weight:650;margin-top:3px}.mini-result{display:inline-flex;justify-content:center;gap:3px}.mini-result i{font-style:normal;display:grid;place-items:center;min-width:23px;height:27px;background:#e8ebdd;color:#123b2a;font-size:16px;font-weight:850;letter-spacing:0}.mini-result i:first-child{border-top:2px solid var(--gold)}.history-row .place{color:#f1e3ae;font-size:18px}.data-note{color:#83a995;margin:11px 0 0;font-size:11px;line-height:1.4}.prizes-board{background:#0b3528;padding:0 20px}.prize-row{border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:67px}.prize-row>div{display:flex;flex-direction:column;gap:4px}.prize-row b{font-size:16px}.prize-row small{font-size:11px;color:#8eaf9c}.prize-row strong{font-size:17px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#f2df9a}.prize-row strong span{color:#71977c}.prize-foot{min-height:38px;display:flex;align-items:center;justify-content:space-between;color:#79a58c;font-size:9px;letter-spacing:.09em;font-weight:850}.prize-foot span[aria-hidden="true"]{font-size:17px;color:var(--gold)}
.bottom-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.85fr);gap:28px;margin-top:40px;margin-bottom:42px}.steps{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);padding-top:19px}.step{display:flex;gap:10px;padding-right:12px}.step>span{color:var(--gold);font-size:12px;font-weight:800;padding-top:2px}.step b{font-size:14px}.step p{font-size:12px;color:#9db9a8;line-height:1.4;margin:6px 0}.app-promo{border:1px solid rgba(229,238,211,.23);background:#103f2d;display:flex;gap:16px;align-items:center;justify-content:space-between;padding:21px;position:relative}.app-promo:before{content:"";position:absolute;width:27px;height:4px;background:var(--gold);top:-2px;left:21px}.app-promo .eyebrow{font-size:10px;color:var(--gold)}.app-promo h2{font-size:20px;margin:6px 0 5px;letter-spacing:-.03em}.app-promo p{font-size:11px;color:#b3cabb;line-height:1.4;margin:0 0 10px}.site-footer{height:61px;border-top:1px solid var(--line);padding:0 clamp(22px,4.2vw,80px);display:flex;align-items:center;justify-content:space-between;color:#799f88;font-size:10px;font-weight:800;letter-spacing:.11em}.site-footer b{color:var(--gold)}

@media(min-width:1600px){.results-panel,.next-panel{min-height:410px}.winning-row{max-width:1060px}.winning-tile{font-size:104px}.hero{grid-template-columns:minmax(0,2fr) minmax(340px,.75fr)}}
@media(max-width:1150px){.header-status{display:none}.site-header{gap:20px}.main-nav{margin-left:auto}.main-nav a{font-size:13px}.hero{grid-template-columns:minmax(0,1.7fr) minmax(260px,.82fr)}.results-panel{padding-left:25px;padding-right:25px}.winning-tile{font-size:clamp(35px,5.2vw,65px)}.countdown{font-size:clamp(43px,5vw,62px)}.middle-grid,.bottom-grid{gap:20px}.prizes-board{padding:0 13px}.prize-row strong{font-size:15px}.step{flex-direction:column;gap:3px}}
@media(max-width:850px){.site-header{height:73px}.brand{min-width:0}.main-nav{display:none;position:absolute;z-index:20;top:73px;left:0;right:0;background:#0a3526;padding:16px 22px 24px;flex-direction:column;align-items:stretch;gap:0;border-bottom:1px solid var(--gold)}.main-nav.open{display:flex}.main-nav a{padding:13px 0;font-size:16px;border-bottom:1px solid var(--line)}.main-nav a.active:after{display:none}.menu-toggle{margin-left:auto;width:44px;height:44px;border:1px solid var(--line);background:none;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.menu-toggle span{width:20px;height:2px;background:var(--gold)}.hero{grid-template-columns:1fr}.results-panel{min-height:320px}.next-panel{min-height:0;padding:24px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 15px}.next-heading{grid-column:1/-1}.next-panel h2{margin:5px 0 0}.countdown{grid-column:1;grid-row:3;font-size:62px}.next-date{grid-column:1;grid-row:4;margin:0}.primary-cta{grid-column:2;grid-row:3/5;min-width:170px}.next-note{grid-column:1/-1;margin:8px 0 7px}.schedule-track{display:flex;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x mandatory}.hour-button{min-width:72px;scroll-snap-align:start}.middle-grid,.bottom-grid{grid-template-columns:1fr}.steps{grid-template-columns:repeat(4,1fr)}.step{flex-direction:row}.app-promo{padding:25px}}
@media(max-width:620px){.site-header{padding:0 18px}.topline,.hero,.schedule-section,.middle-grid,.bottom-grid{margin-left:16px;margin-right:16px}.topline{height:49px;gap:9px;font-size:9px}.sample-tag{font-size:8px;text-align:right;max-width:105px;line-height:1.25}.topline-rule{width:12px}.brand-mark{width:37px;height:38px;font-size:29px}.brand-type{font-size:17px}.brand-type span{font-size:12px}.hero{gap:10px}.results-panel{min-height:295px;padding:22px 16px 18px}.results-top{align-items:flex-start}.results-top .eyebrow{max-width:175px;font-size:10px;line-height:1.35}.edition{text-align:right;font-size:9px;max-width:100px;line-height:1.3;white-space:normal}.edition b{display:block;margin:3px 0 0}.results-panel h1{font-size:29px;max-width:260px;margin:27px 0 22px}.winning-row{gap:4px}.winning-tile{font-size:clamp(25px,7.2vw,43px);box-shadow:inset 0 -4px #d6dfcc}.winning-tile:before{height:3px}.result-footer{font-size:8px;letter-spacing:.075em}.small-glyph{font-size:14px}.next-panel{grid-template-columns:1fr auto;padding:20px 17px 23px}.next-panel h2{font-size:22px}.countdown{font-size:clamp(40px,11vw,56px)}.next-date{font-size:11px}.primary-cta{grid-column:1/-1;grid-row:5;min-width:0;margin-top:6px;min-height:49px}.next-note{grid-row:6;margin:5px 0 2px}.schedule-section{margin-top:28px}.section-rail{align-items:flex-end;gap:12px}.section-rail h2{font-size:19px}.section-hint{font-size:8px;text-align:right;max-width:115px;line-height:1.3}.middle-grid{margin-top:29px;gap:29px}.history-board{overflow-x:auto}.history-head,.history-row{min-width:590px;grid-template-columns:1.18fr repeat(3,1fr) repeat(3,.62fr)}.history-row{min-height:57px}.history-board:after{content:"DESLIZA PARA VER TODAS LAS COLUMNAS →";display:block;font-size:9px;letter-spacing:.1em;color:#81a990;text-align:right;padding:9px 0}.bottom-grid{margin-top:30px;gap:25px}.steps{grid-template-columns:1fr 1fr;row-gap:22px}.step{flex-direction:row}.app-promo{padding:17px}.app-promo h2{font-size:19px}.site-footer{padding:15px 16px;min-height:70px;height:auto;gap:8px;flex-wrap:wrap;font-size:8px}.site-footer>span:nth-child(2){order:3;width:100%}}
@media(max-width:375px){.results-panel h1{font-size:25px}.winning-tile{font-size:24px}.next-date{font-size:10px}.countdown{font-size:39px}.app-promo{gap:6px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
/* Give the result history enough room before the mobile scorecards take over. */
@media(max-width:1000px){.middle-grid,.bottom-grid{grid-template-columns:1fr}}
/* The mobile draw is a purpose-built scorecard rather than a compressed table. */
.history-mobile{display:none}
@media(max-width:620px){
  .history-board{display:none}
  .history-mobile{display:block;border-top:2px solid #578c62}
  .mobile-draw{padding:14px 10px 12px;border-bottom:1px solid var(--line)}
  .mobile-draw.highlight{background:#124936}
  .mobile-draw-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px}
  .mobile-draw-head b{font-size:15px}
  .mobile-draw-head small{font-size:10px;color:#adcfaa;font-weight:800;letter-spacing:.08em}
  .mobile-games{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
  .mobile-games>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
  .mobile-games small{font-size:10px;color:#9ac3a4;font-weight:800}
  .mobile-games .mini-result i{min-width:22px;height:27px}
  .mobile-places{display:flex;gap:16px;border-top:1px solid var(--line);margin-top:13px;padding-top:10px;color:#9bb9a3;font-size:11px;font-weight:700}
  .mobile-places b{color:#f1e3ae;font-size:15px;margin-left:3px}
}
/* Lucky Vibes result tokens: flat lottery discs with a restrained brand arc. */
.winning-tile{
  aspect-ratio:1;
  border:3px solid #e9cb77;
  border-radius:50%;
  clip-path:none;
  background:#f3f5e9;
  letter-spacing:0;
  padding-bottom:.04em;
  box-shadow:0 6px 0 rgba(2,31,21,.23),inset 0 0 0 2px rgba(14,79,56,.12);
}
.winning-tile:before{
  inset:6px;
  width:auto;
  height:auto;
  background:none;
  border:2px solid transparent;
  border-top-color:#a5bd8b;
  border-right-color:#a5bd8b;
  border-radius:50%;
  transform:rotate(-27deg);
}
.mini-result i,
.mobile-games .mini-result i{
  min-width:27px;
  width:27px;
  height:27px;
  border:1px solid #d5b768;
  border-radius:50%;
  background:#f3f5e9;
}
.mini-result i:first-child{border:1px solid #d5b768}
.hour-button{border-radius:999px}
@media(max-width:620px){
  .winning-tile{border-width:2px;box-shadow:0 3px 0 rgba(2,31,21,.22),inset 0 0 0 1px rgba(14,79,56,.12)}
  .winning-tile:before{inset:3px;border-width:1px}
  .mobile-games .mini-result i{min-width:24px;width:24px;height:24px}
}

/* The embedded draw fills its own stage; the site owns presentation and controls. */
.results-panel.dev-reveal-trigger{cursor:pointer;touch-action:manipulation}
.results-panel.dev-reveal-trigger:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.dev-reveal-hint{position:absolute;z-index:2;bottom:3px;left:clamp(25px,3.5vw,64px);color:#f0d27b;font-size:10px;letter-spacing:.065em;font-weight:800}
.dev-reveal-hint[hidden],.reveal-dialog [hidden]{display:none!important}
html:has(.reveal-dialog[open]){overflow:hidden}
.reveal-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#06291e;color:var(--white);overflow:hidden}
.reveal-dialog[open]{display:flex;flex-direction:column}
.reveal-dialog::backdrop{background:#041e17}
.reveal-toolbar{height:64px;min-height:64px;padding:0 clamp(14px,2.5vw,34px);display:flex;align-items:center;gap:22px;border-bottom:1px solid #386b4b;background:#082d22;z-index:3}
.reveal-brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.06em;font-size:17px;white-space:nowrap}
.reveal-brand>span{display:grid;place-items:center;width:31px;height:31px;border:1.5px solid var(--gold);color:var(--gold);font-size:23px}
.reveal-brand>b{font:inherit}.reveal-brand small{display:block;font-size:9px;line-height:1.3;color:var(--gold);letter-spacing:.08em}.reveal-brand small[hidden]{display:none}
.sample-tag[data-connection="stale"],.sample-tag[data-connection="revoked"],.sample-tag[data-connection="disabled"]{color:var(--gold)}
.reveal-meta{min-width:0;flex-shrink:1;margin-right:auto;color:#c6dda9;font-size:11px;font-weight:800;letter-spacing:.1em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reveal-actions{display:flex;flex-shrink:0;gap:8px;margin-left:auto}
.reveal-actions button,.reveal-actions a,.reveal-dev-panel summary,.reveal-dev-panel button{border:1px solid #5b9368;background:#124a35;color:#f4f7ed;min-height:44px;padding:0 15px;font-size:13px;font-weight:800;white-space:nowrap}
.reveal-actions a{display:inline-flex;align-items:center}
.reveal-actions button:hover,.reveal-dev-panel summary:hover{background:#1b6544}
#reveal-close{border-color:var(--gold);color:var(--gold)}
#reveal-close span[aria-hidden="true"]{font-size:20px;vertical-align:-1px;margin-left:9px}
.reveal-viewport{flex:1;min-height:0;display:grid;place-items:center;overflow:hidden;background:#061f19}
#reveal-frame{display:block;width:100%;height:100%;border:0;background:#061f19}
.reveal-dev-panel{position:absolute;top:76px;right:clamp(14px,2.5vw,34px);z-index:5;width:min(310px,calc(100vw - 28px));background:#0b392a;border:1px solid #5b9368;box-shadow:0 12px 36px rgba(0,20,12,.35)}
.reveal-dev-panel summary{display:flex;align-items:center;list-style:none;cursor:pointer;background:#174f37}
.reveal-dev-panel summary::-webkit-details-marker{display:none}
.reveal-dev-panel form{display:flex;flex-direction:column;gap:9px;padding:13px}
.reveal-dev-panel label{font-size:13px;font-weight:800;color:#c6dfc4}
.reveal-dev-panel input{width:100%;min-height:46px;padding:0 12px;border:1px solid #75a17d;background:#08291e;color:#fff;font-size:23px;font-weight:800;letter-spacing:.2em;font-variant-numeric:tabular-nums}
.reveal-dev-panel input:focus-visible{outline:2px solid var(--gold)}
.reveal-dev-panel button{background:var(--gold);color:var(--ink);border-color:var(--gold)}
.reveal-dev-panel span{color:#bdd2bf;font-size:11px;line-height:1.4}
@media(max-width:1000px){
  .reveal-toolbar{height:56px;min-height:56px;padding:0 12px;gap:8px}
  .reveal-brand{font-size:13px;gap:5px}.reveal-brand>span{width:27px;height:27px;font-size:20px}
  .reveal-meta{display:none}
  .reveal-actions{gap:5px}.reveal-actions button{min-height:42px;padding:0 9px;font-size:12px}
  #reveal-fullscreen{font-size:0}#reveal-fullscreen:after{content:'⛶';font-size:23px;line-height:1}
  #reveal-replay{font-size:0}#reveal-replay:after{content:'↻';font-size:23px;line-height:1}
  #reveal-close{font-size:0}#reveal-close span[aria-hidden="true"]{font-size:25px;margin:0}
  #reveal-recording{padding:0 8px;font-size:11px}
  .reveal-dev-panel{top:64px;right:8px}
  .dev-reveal-hint{left:16px;font-size:8px}
}
@media(max-width:620px){
  .results-panel.dev-reveal-trigger{padding-bottom:40px}
  .dev-reveal-hint{right:16px;bottom:8px;line-height:1.3}
}
@media(max-width:1000px) and (orientation:landscape){.reveal-toolbar{height:45px;min-height:45px}.reveal-dev-panel{top:49px}}

/* Wide displays have a complete broadcast composition inside the viewport. */
@media(min-width:1500px) and (min-height:860px) and (min-aspect-ratio:3/2){
  .app-shell{height:100dvh;min-height:0;max-width:none;display:flex;flex-direction:column}
  .site-header{height:64px;min-height:64px;flex:none;padding:0 2.5vw}
  .app-shell>main{flex:1;min-height:0;display:grid;grid-template-rows:26px minmax(0,1.5fr) 72px minmax(0,1.05fr) minmax(0,.65fr);gap:8px;padding:0 2.5vw 8px}
  .topline,.hero,.schedule-section,.middle-grid,.bottom-grid{margin:0;min-height:0}
  .topline{height:auto}
  .hero{gap:16px;grid-template-columns:minmax(0,2fr) minmax(350px,.78fr)}
  .results-panel,.next-panel{min-height:0;height:100%;padding:20px 32px 18px}
  .results-panel h1{font-size:clamp(34px,4vh,48px);margin:12px 0 14px}
  .winning-row{width:100%;max-width:min(1100px,98vh);gap:12px;margin:auto 0}
  .winning-tile{font-size:clamp(72px,9vh,104px)}
  .result-footer{margin-top:0;padding-top:12px;font-size:11px}
  .dev-reveal-hint{left:32px}
  .next-panel{padding:20px 30px 22px}
  .next-heading{display:none}
  .next-panel h2{font-size:32px;margin:0 0 5px}
  .countdown{font-size:clamp(58px,7vh,82px);line-height:1.12}
  .next-date{margin:5px 0 12px;font-size:13px}
  .next-panel .primary-cta{min-height:48px;padding:10px 17px;margin-top:auto}
  .next-note{margin-top:10px;font-size:12px}
  .section-rail{min-height:24px;margin-bottom:5px}
  .section-rail h2{font-size:21px}
  .schedule-track{padding:3px 0;gap:6px}
  .hour-button{min-height:35px;font-size:16px}
  .hour-button.selected:after{bottom:-9px;border-width:4px;left:calc(50% - 4px)}
  .middle-grid,.bottom-grid{gap:24px;grid-template-columns:minmax(0,1.72fr) minmax(360px,.83fr)}
  .history-area,.prizes-area,.how-section{display:flex;flex-direction:column;min-height:0}
  .history-board{flex:1;min-height:0;display:flex;flex-direction:column}
  .history-head{height:26px;min-height:26px;flex:none;font-size:12px}
  #history-rows{flex:1;min-height:0;display:grid;grid-template-rows:repeat(4,minmax(0,1fr))}
  .history-row{min-height:0}
  .history-row>span{font-size:23px}
  .history-row .place{font-size:23px}
  .history-row .draw-cell{font-size:16px}
  .draw-cell small{font-size:11px;margin-top:2px}
  .mini-result i{width:31px;min-width:31px;height:31px;font-size:19px}
  .data-note{flex:none;margin:5px 0 0;font-size:11px;line-height:1.3}
  .prizes-board{flex:1;min-height:0;display:grid;grid-template-rows:repeat(4,minmax(0,1fr)) 26px;padding:0 18px}
  .prize-row{min-height:0}
  .prize-row b{font-size:18px}
  .prize-row strong{font-size:21px}
  .prize-row small{font-size:12px}
  .prize-foot{min-height:0;font-size:10px}
  .steps{flex:1;align-items:center;min-height:0;padding-top:10px}
  .step{gap:10px}
  .step b{font-size:16px}
  .step p{font-size:14px;margin:5px 0;line-height:1.3}
  .app-promo{min-height:0;padding:12px 18px;gap:18px}
  .app-promo h2{font-size:23px;margin:5px 0}
  .app-promo p{font-size:13px;line-height:1.3;margin-bottom:8px}
  .app-promo .eyebrow{font-size:11px}



  .site-footer{height:32px;min-height:32px;flex:none;padding:0 2.5vw}
}
@media(min-width:1500px) and (min-height:860px) and (max-height:950px) and (min-aspect-ratio:3/2){
  .site-header{height:56px;min-height:56px}
  .app-shell>main{grid-template-rows:20px minmax(0,1.55fr) 60px minmax(0,1.05fr) minmax(0,.65fr);gap:6px;padding-bottom:6px}
  .section-rail{min-height:21px;margin-bottom:3px}
  .section-rail h2{font-size:19px}
  .schedule-track{padding:2px 0}.hour-button{min-height:29px;font-size:15px}
  .results-panel,.next-panel{padding:16px 28px 15px}
  .results-panel h1{font-size:34px;margin:9px 0 11px}
  .next-panel{padding-bottom:20px}
  .next-panel h2{font-size:28px}
  .countdown{font-size:58px}
  .next-date{font-size:12px;margin:4px 0 8px}
  .next-panel .primary-cta{min-height:44px;padding:8px 15px}
  .next-note{font-size:11px;margin-top:8px}
  .history-head{height:23px;min-height:23px;font-size:11px}
  .history-row .draw-cell{font-size:14px}
  .history-row>span,.history-row .place{font-size:20px}
  .mini-result i{width:28px;min-width:28px;height:28px;font-size:17px}
  .prize-row b{font-size:16px}.prize-row strong{font-size:19px}
  .prize-foot{font-size:9px}
  .step b{font-size:14px}.step p{font-size:12px}
  .app-promo{padding:10px 15px}
  .app-promo h2{font-size:20px}.app-promo p{font-size:11px;margin-bottom:6px}
  .app-promo .eyebrow{font-size:10px}
  .site-footer{height:26px;min-height:26px}
}

/* Each modality keeps its own label and digit group, including leading zeros. */
.results-top{align-items:flex-start}
.edition{display:flex;flex-direction:column;align-items:flex-end;gap:3px;max-width:46%;line-height:1.3;text-align:right;white-space:normal}
.edition b{margin:0;font-size:13px;white-space:nowrap}
#result-state{font-size:10px}
.winning-row{grid-template-columns:2fr 3fr 4fr;gap:22px;max-width:1080px;width:100%;margin:0}
.winning-game{min-width:0;display:flex;flex-direction:column;gap:9px}
.winning-label{color:#d2e6c5;font-size:12px;font-weight:850;letter-spacing:.18em;text-align:center}
.winning-discs{display:grid;gap:7px;grid-template-columns:repeat(var(--digit-count),minmax(0,1fr))}
.winning-game[data-game="pick2"]{--digit-count:2}
.winning-game[data-game="pick3"]{--digit-count:3}
.winning-game[data-game="pick4"]{--digit-count:4}
.winning-tile{font-size:clamp(24px,4.1vw,76px)}
.winning-unavailable{grid-column:1/-1;display:grid;place-items:center;aspect-ratio:var(--digit-count)/1;padding:8px;border:1px dashed #8ba984;border-radius:6px;color:#d0dfca;font-size:12px;line-height:1.35;text-align:center}
.result-unavailable{color:#a7beaa;font-size:12px;font-weight:650;letter-spacing:0}
.quiniela-result{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:15px;max-width:1080px;border-top:1px solid rgba(216,237,195,.25);margin-top:20px;padding-top:13px}
.quiniela-label{font-size:10px;font-weight:850;letter-spacing:.15em;color:#c6dab8}
.quiniela-places{display:flex;gap:25px}
.quiniela-places>span{display:flex;align-items:center;gap:9px}
.quiniela-places small{font-size:10px;font-weight:800;color:#b3d0b4;letter-spacing:.08em}
.quiniela-value{font-size:26px;line-height:1;color:var(--gold);font-variant-numeric:tabular-nums;letter-spacing:.04em}
.result-footer{padding-top:15px;margin-top:auto;letter-spacing:.075em;font-size:10px;min-width:0}
.result-footer>span:first-child{min-width:0}
#result-draw-id{max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.results-panel h1{margin:15px 0 20px}
.history-row[role="button"],.mobile-draw[role="button"]{cursor:pointer}
.history-row[role="button"]:hover,.mobile-draw[role="button"]:hover{background:#17533b}
.history-row[role="button"]:focus-visible,.mobile-draw[role="button"]:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.access-badges{display:flex;flex-wrap:wrap;gap:5px}
.access-badges span{display:inline-block;border:1px solid #62866f;padding:5px 8px;color:#d0dfcb;font-size:9px;font-weight:800;letter-spacing:.09em}
.access-symbol{flex:none;display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--gold)}
.access-symbol>span{display:grid;place-items:center;width:74px;height:74px;border:2px solid #c9b562;border-radius:50%;font-size:52px;font-weight:900;line-height:1;background:rgba(7,39,29,.3)}
.access-symbol small{font-size:8px;letter-spacing:.1em;font-weight:850}
@media(max-width:1150px){
  .winning-row{gap:15px}.winning-discs{gap:5px}
  .winning-label{font-size:11px}.quiniela-places{gap:18px}.quiniela-places>span{gap:6px}
  .quiniela-value{font-size:24px}.quiniela-label{font-size:9px;letter-spacing:.08em}
  .access-symbol>span{width:64px;height:64px;font-size:44px}
}
@media(max-width:850px){
  .results-panel{min-height:0;padding-bottom:22px}
  .results-panel h1{margin:15px 0 20px}
  .winning-row{max-width:760px}
  .winning-tile{font-size:clamp(28px,5.4vw,56px)}
  .result-footer{margin-top:0}
}
@media(max-width:620px){
  .results-panel{padding:20px 16px 18px}
  .results-panel h1{font-size:29px;max-width:none;margin:18px 0 20px}
  .results-top .eyebrow{max-width:50%;font-size:9px}
  #result-state{font-size:8px}.edition{max-width:48%;font-size:9px}.edition b{font-size:12px}
  .winning-row{grid-template-columns:2fr 3fr;gap:18px 20px;max-width:430px;margin:0 auto}
  .winning-game{gap:8px}.winning-label{font-size:10px;letter-spacing:.14em}.winning-discs{gap:6px}
  .winning-game[data-game="pick4"]{grid-column:1/-1;width:80%;max-width:320px;justify-self:center}
  .winning-tile{font-size:clamp(28px,9vw,47px)}
  .quiniela-result{display:grid;gap:10px;margin-top:18px;padding-top:12px}
  .quiniela-label{font-size:9px;letter-spacing:.12em;text-align:center}
  .quiniela-places{justify-content:center;gap:23px}.quiniela-places>span{gap:6px}
  .quiniela-value{font-size:26px}.quiniela-places small{font-size:9px}
  .result-footer{font-size:8px;gap:8px;padding-top:17px}
  .access-symbol>span{width:58px;height:58px;font-size:40px}.access-symbol small{font-size:7px}
  .access-badges span{font-size:8px;padding:4px 6px}
  .app-promo p{margin-bottom:10px}
}
@media(max-width:375px){
  .winning-row{gap:16px}.winning-discs{gap:5px}.winning-game[data-game="pick4"]{width:86%}
  .winning-tile{font-size:28px}.quiniela-places{gap:17px}.quiniela-value{font-size:25px}
  .results-panel h1{font-size:25px}.access-symbol{display:none}.app-promo{padding:17px}
}
@media(min-width:1500px) and (min-height:860px) and (min-aspect-ratio:3/2){
  .winning-row{grid-template-columns:2fr 3fr 4fr;max-width:min(1080px,105vh);gap:24px;margin:4px 0}
  .winning-game{gap:7px}.winning-label{font-size:12px}.winning-discs{gap:8px}
  .winning-tile{font-size:clamp(54px,7.1vh,82px)}
  .results-panel h1{margin:8px 0 12px}
  .quiniela-result{margin-top:12px;padding-top:10px;max-width:min(1080px,105vh)}
  .quiniela-label{font-size:11px}.quiniela-value{font-size:30px}.quiniela-places{gap:35px}
  .result-footer{padding-top:10px;font-size:10px;margin-top:0}
  .access-symbol>span{width:68px;height:68px;font-size:47px}
  .access-badges span{font-size:10px;padding:5px 9px}
}
@media(min-width:1500px) and (min-height:860px) and (max-height:950px) and (min-aspect-ratio:3/2){
  .winning-row{max-width:min(1040px,102vh);gap:18px;margin:2px 0}
  .winning-discs{gap:7px}.winning-label{font-size:10px}.winning-tile{font-size:60px}
  .results-panel h1{margin:7px 0 10px}
  .quiniela-result{margin-top:8px;padding-top:8px}.quiniela-label{font-size:10px}.quiniela-value{font-size:26px}
  .result-footer{padding-top:8px;font-size:9px}
  .access-symbol>span{width:60px;height:60px;font-size:42px}.access-badges span{font-size:9px;padding:4px 7px}
}

/* Display mode offers a passive result board for an iframe or digital screen. */
body.display-screen .app-shell{height:100dvh;min-height:0;max-width:none;display:flex;flex-direction:column}
body.display-screen .site-header{height:58px;min-height:58px;padding:0 3vw;flex:none}
body.display-screen .main-nav,body.display-screen .header-status,body.display-screen .menu-toggle,
body.display-screen .schedule-section,body.display-screen .middle-grid,body.display-screen .bottom-grid,
body.display-screen .site-footer,body.display-screen .primary-cta,body.display-screen .dev-reveal-hint{display:none}
body.display-screen .app-shell>main{flex:1;min-height:0;padding:0 3vw 3vw;display:flex;flex-direction:column;gap:10px}
body.display-screen .topline{margin:0;height:32px;flex:none}
body.display-screen .hero{flex:1;min-height:0;margin:0;grid-template-columns:minmax(0,3fr) minmax(210px,.95fr);gap:14px}
body.display-screen .results-panel{min-height:0;height:100%;padding:22px 26px;justify-content:space-between;cursor:default}
body.display-screen .results-panel h1{font-size:clamp(27px,3.2vw,52px);margin:8px 0}
body.display-screen .winning-row{grid-template-columns:2fr 3fr 4fr;max-width:none;gap:18px;margin:10px 0}
body.display-screen .winning-game[data-game="pick4"]{grid-column:auto;width:100%;max-width:none}
body.display-screen .winning-tile{font-size:clamp(27px,4vw,86px)}
body.display-screen .quiniela-result{margin-top:8px;padding-top:10px;max-width:none}
body.display-screen .result-footer{padding-top:10px;margin-top:0}
body.display-screen .next-panel{min-height:0;height:100%;padding:25px 20px;justify-content:center;display:flex;gap:0}
body.display-screen .next-heading{display:none}
body.display-screen .next-panel h2{font-size:clamp(23px,2.4vw,38px);margin:0 0 10px}
body.display-screen .countdown{font-size:clamp(35px,4.2vw,78px)}
body.display-screen .next-date{font-size:11px;line-height:1.4;margin:8px 0 20px}
body.display-screen .next-note{display:flex;flex-direction:column;gap:8px;font-size:10px;margin-top:15px}
@media(max-width:700px){
  body.display-screen .site-header{height:48px;min-height:48px}
  body.display-screen .topline{font-size:8px;gap:8px;height:26px}
  body.display-screen .hero{grid-template-columns:1fr}
  body.display-screen .next-panel{display:none}
  body.display-screen .results-panel{padding:16px}
  body.display-screen .results-panel h1{font-size:26px}
  body.display-screen .winning-row{gap:10px}
  body.display-screen .winning-discs{gap:4px}
  body.display-screen .winning-tile{font-size:clamp(22px,5vw,36px)}
  body.display-screen .quiniela-result{display:flex;gap:10px}
  body.display-screen .quiniela-places{gap:12px}.display-screen .quiniela-value{font-size:24px}
}

/* The consultation board includes every payout variant from the earlier demo. */
.prizes-board{display:grid;grid-template-rows:auto 1fr auto;padding:0 16px}
.payout-summary,.payout-games{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:20px}
.payout-summary{padding:10px 0 9px;border-bottom:1px solid var(--line)}
.payout-summary>section,.payout-games>section{min-width:0}
.payout-summary h3,.payout-games h3{margin:0 0 5px;color:#eef2df;font-size:15px;font-weight:850;line-height:1.2;letter-spacing:.02em}
.payout-summary h3{font-size:13px;color:#b1c8b6}
.payout-summary dl{margin:0;font-size:13px;line-height:1.3}
.payout-summary dt,.payout-summary dd{margin:0}
.payout-summary dd{color:#f2df9a;font-size:14px;line-height:1.2;font-weight:850;font-variant-numeric:tabular-nums;white-space:nowrap}
.payout-places{display:flex;flex-wrap:wrap;justify-content:space-between;gap:0 7px}
.payout-places>div{display:flex;gap:5px}
.payout-places dt{color:#aac6b2}
.payout-summary-list>div{display:flex;justify-content:space-between;gap:8px}
.payout-games{padding:10px 0 5px}
.payout-games h3{margin-bottom:6px;color:var(--gold)}
.payout-games table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.2}
.payout-games tr{border-top:1px solid rgba(231,246,223,.12)}
.payout-games th,.payout-games td{padding:5px 0;vertical-align:middle}
.payout-games th{text-align:left;font-weight:650;color:#d2e0d3}
.payout-games td{padding-left:7px;text-align:right;font-size:15px;font-weight:850;color:#f2df9a;white-space:nowrap;font-variant-numeric:tabular-nums}
.prize-foot{min-height:28px;gap:7px;border-top:1px solid var(--line);font-size:8px;letter-spacing:.05em;line-height:1.3}
.prize-foot span[aria-hidden="true"]{font-size:14px}
@media(max-width:620px){
  .prizes-board{padding:0 14px}
  .payout-summary,.payout-games{column-gap:16px}
  .payout-summary{padding:12px 0 10px}
  .payout-summary h3{font-size:12px}
  .payout-summary dl{font-size:12px;line-height:1.3}
  .payout-summary dd{font-size:13px}
  .payout-places{gap:2px}.payout-places>div{gap:2px}
  .payout-games{padding-top:12px}
  .payout-games th,.payout-games td{padding:7px 0;font-size:12px}
  .payout-games td{padding-left:4px;font-size:13px}
  .prize-foot{padding:8px 0;font-size:7px}
}
@media(max-width:375px){
  .payout-summary{column-gap:14px}
  .payout-places{flex-wrap:wrap;justify-content:flex-start;column-gap:8px;row-gap:0}
  .payout-games{grid-template-columns:1fr;gap:16px;padding-top:14px;padding-bottom:10px}
  .payout-games h3{font-size:15px}
  .payout-games th,.payout-games td{font-size:14px;padding:7px 0}
  .payout-games td{font-size:15px}
  .prize-foot{font-size:6.8px;letter-spacing:.035em}
}
@media(min-width:1500px) and (min-height:860px) and (min-aspect-ratio:3/2){
  .prizes-board{grid-template-rows:64px minmax(0,1fr) 23px;padding:0 16px}
  .payout-summary{padding:5px 0;column-gap:18px}
  .payout-summary h3{margin-bottom:2px;font-size:13px}
  .payout-summary dl{font-size:13px;line-height:1.2}
  .payout-games{min-height:0;padding:5px 0 2px;column-gap:18px}
  .payout-games>section{display:flex;flex-direction:column;min-height:0}
  .payout-games h3{height:19px;min-height:19px;margin:0 0 3px;font-size:16px;line-height:1.15}
  .payout-games table{flex:1;display:block;min-height:0;font-size:15px}
  .payout-games tbody{height:100%;display:grid;grid-template-rows:repeat(7,minmax(0,1fr))}
  .payout-games tr{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:0}
  .payout-games th,.payout-games td{padding:0;line-height:1.15}
  .payout-games td{padding-left:7px;font-size:16px;line-height:1}
  .prize-foot{min-height:0;font-size:9px}
}
@media(min-width:1500px) and (min-height:860px) and (max-height:950px) and (min-aspect-ratio:3/2){
  .prizes-board{grid-template-rows:53px minmax(0,1fr) 20px;padding:0 13px}
  .payout-summary{padding:3px 0;column-gap:14px}
  .payout-summary h3{font-size:12px;margin-bottom:1px}
  .payout-summary dl{font-size:12px;line-height:1.2}
  .payout-summary dd{font-size:13px}
  .payout-games{padding:4px 0 2px;column-gap:14px}
  .payout-games h3{height:15px;min-height:15px;font-size:13px;margin-bottom:3px;line-height:1.1}
  .payout-games table{font-size:13px}
  .payout-games td{font-size:14px}
  .prize-foot{font-size:8px}
}
@media(min-width:1500px) and (min-height:860px) and (max-height:889px) and (min-aspect-ratio:3/2){
  .prizes-board{grid-template-rows:50px minmax(0,1fr) 20px}
  .payout-summary dl{line-height:1.1}
  .payout-summary dd{font-size:12.5px;line-height:1.1}
  .payout-games{padding:2px 0 0}
  .payout-games h3{height:14px;min-height:14px;margin-bottom:2px;line-height:1}
  .payout-games table{font-size:12.5px}
  .payout-games th{line-height:1.05}
  .payout-games td{font-size:13.5px}
}

/* No reference payouts are rendered before an account-scoped API table and currency exist. */
.prizes-board.prizes-unavailable{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;min-height:180px;padding:26px}
.prizes-unavailable-title{margin:0;color:#f2df9a;font-size:clamp(19px,1.4vw,27px);font-weight:800;line-height:1.2}
.prizes-unavailable-note{margin:0;color:#a6c1af;font-size:14px;line-height:1.5;max-width:30em}

/* Historical frequencies continue below the complete results composition. */
.statistics-link{display:inline-flex;align-items:center;gap:8px;color:#d5dcb4;font-size:10px;letter-spacing:.07em;white-space:nowrap}
.statistics-link span[aria-hidden="true"]{color:var(--gold);font-size:16px;line-height:1}
.statistics-link:hover{color:var(--gold)}
.frequency-section{margin:0;background:radial-gradient(ellipse 65% 40% at 95% 0,rgba(18,79,56,.35),transparent 75%),#082b21;border-top:1px solid var(--line);padding:64px clamp(22px,4.2vw,80px) 54px;scroll-margin-top:0}
.frequency-inner{max-width:1680px;margin:0 auto}
.frequency-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:30px}
.frequency-intro{max-width:800px;min-width:0}
.frequency-kicker{display:flex;align-items:center;gap:12px;color:#a6bca7;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.frequency-intro h2{margin:13px 0 12px;font-size:clamp(29px,2.4vw,43px);font-weight:760;line-height:1.12;letter-spacing:-.035em}
.frequency-intro h2 em{color:var(--gold);font-style:normal}
.frequency-intro p{margin:0;max-width:720px;color:#b1c9b6;font-size:14px;line-height:1.6}
.frequency-source{flex:none;display:flex;flex-direction:column;gap:6px;max-width:320px;padding:14px 17px;border-left:2px solid #7d9f68;background:rgba(26,77,51,.3);color:#9cbaa4;font-size:12px;line-height:1.5}
#frequency-context{color:#deead5;font-size:13px;font-weight:800}
.frequency-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.frequency-card{min-width:0;border:1px solid rgba(219,237,200,.2);background:linear-gradient(125deg,#103c2d,#0c3428);padding:21px 23px 17px}
.frequency-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.frequency-card h3{margin:0;color:#eff2df;font-size:18px;line-height:1.25;letter-spacing:-.015em}
.frequency-sample-count{color:#9db5a2;font-size:10px;line-height:1.4;text-align:right;white-space:nowrap}
.frequency-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding-top:17px}
.frequency-list{min-width:0}
.frequency-list h4{display:flex;align-items:center;gap:7px;margin:0 0 12px;font-size:11px;font-weight:850;letter-spacing:.075em;text-transform:uppercase;line-height:1.4}
.frequency-list h4:before{content:"";width:6px;height:6px;flex:none;border-radius:50%;background:currentColor}
.frequency-list.hot h4{color:var(--gold)}
.frequency-list.cold h4{color:#a4c4b8}
.frequency-list ol{list-style:none;padding:0;margin:0}
.frequency-list li{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 8px;min-height:53px;padding:10px 0;border-top:1px solid rgba(224,240,209,.09)}
.frequency-list li:first-child{border-top:0;padding-top:0}
.frequency-digits{display:flex;align-items:center;gap:4px;flex:none;font-variant-numeric:tabular-nums}
.frequency-digit{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;font-size:18px;font-weight:850;line-height:1;letter-spacing:-.035em}
.hot .frequency-digit{background:#edd28b;color:#153c2d;box-shadow:inset 0 -2px rgba(40,70,25,.13)}
.cold .frequency-digit{background:#a7c1b2;color:#133e2d;box-shadow:inset 0 -2px rgba(29,60,38,.18)}
.frequency-count{font-size:11px;color:#bbccb9;line-height:1.35;white-space:nowrap;font-variant-numeric:tabular-nums}
.frequency-empty{margin:0;color:#9bb39f;font-size:12px;line-height:1.5}
.frequency-note{margin:23px 0 0;max-width:1150px;padding-left:12px;border-left:2px solid #426e50;color:#98b4a1;font-size:12px;line-height:1.6}
body.display-screen .frequency-section{display:none}
@media(max-width:1250px){
  .frequency-groups{gap:16px}
  .frequency-card{padding:18px}
  .frequency-columns{gap:13px}
  .frequency-digit{width:27px;height:27px;font-size:17px}
  .frequency-list li{flex-direction:column;align-items:flex-start;justify-content:center;min-height:69px;gap:6px}
}
@media(max-width:1000px){
  .frequency-heading{align-items:flex-start;gap:26px}
  .frequency-source{max-width:250px}
  .frequency-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .frequency-card{padding:21px}
  .frequency-columns{gap:18px}
  .frequency-digit{width:30px;height:30px;font-size:18px}
}
@media(max-width:700px){
  .frequency-section{padding-top:42px;padding-bottom:38px}
  .frequency-heading{flex-direction:column;gap:20px;margin-bottom:24px}
  .frequency-intro h2{font-size:31px;max-width:380px}
  .frequency-source{max-width:none;width:100%;padding:11px 14px}
  .frequency-groups{grid-template-columns:1fr;gap:17px}
  .frequency-card{padding:20px}
  .frequency-columns{gap:22px}
  .frequency-list li{flex-direction:row;align-items:center;justify-content:space-between;min-height:53px}
}
@media(max-width:620px){
  .statistics-link{font-size:8px}
  .frequency-section{padding-left:16px;padding-right:16px}
  .frequency-intro h2{font-size:30px}
  .frequency-intro p{font-size:13px;line-height:1.6}
  .frequency-kicker{font-size:10px}
  .frequency-card{padding:18px}
  .frequency-card h3{font-size:18px}
  .frequency-card>header{padding-bottom:14px}
  .frequency-columns{gap:18px;padding-top:15px}
  .frequency-list li{flex-direction:column;align-items:flex-start;justify-content:center;min-height:68px;gap:6px}
  .frequency-list h4{font-size:10px;letter-spacing:.06em}
  .frequency-digit{width:28px;height:28px;font-size:18px}
  .frequency-note{font-size:11px;margin-top:21px}
}
@media(max-width:375px){
  .frequency-intro h2{font-size:27px}
  .frequency-card{padding:16px}
  .frequency-card h3{font-size:17px}
  .frequency-columns{gap:13px}
  .frequency-digits{gap:3px}
  .frequency-digit{width:25px;height:25px;font-size:16px}
.frequency-sample-count{font-size:9px}
}

/* One canonical website link is shared by web and display QR codes. */
.app-promo-copy{min-width:0}
.consultation-access{flex:none;display:flex;flex-direction:column;align-items:center;gap:4px;max-width:140px}
.consultation-qr{display:block;width:112px;height:112px;background:#fff;flex:none}
.consultation-qr svg{display:block;width:100%;height:100%}
.consultation-qr[hidden],.qr-notice[hidden]{display:none!important}
.qr-caption{max-width:100%;overflow-wrap:anywhere;color:#d8e3c6;font-size:9px;font-weight:800;line-height:1.3;text-align:center}
.qr-notice{color:var(--gold);font-size:8px;line-height:1.25;text-align:center}
.screen-consultation{display:none}
body.display-screen .screen-consultation{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:clamp(12px,3vh,30px);padding-top:18px;border-top:1px solid rgba(9,45,35,.18)}
.screen-consultation>b{font-size:clamp(13px,1vw,20px);text-align:center}
body.display-screen .consultation-qr{width:clamp(100px,20vh,220px);height:clamp(100px,20vh,220px)}
.screen-consultation .qr-caption{color:var(--ink);font-size:clamp(11px,1vw,16px)}
.screen-consultation .qr-notice{color:#4c624b;font-size:10px}
@media(min-width:1500px) and (min-height:860px) and (max-height:950px) and (min-aspect-ratio:3/2){
  .consultation-access{gap:3px;max-width:115px}
  .consultation-access .consultation-qr{width:90px;height:90px}
  .consultation-access .qr-caption{font-size:8px}
  .consultation-access .qr-notice{font-size:7px}
}
@media(max-width:620px){
  .app-promo{gap:15px;align-items:center}
  .app-promo-copy .access-badges{gap:4px}
  .app-promo-copy .access-badges span{font-size:8px;padding:4px 5px}
  .consultation-access{max-width:112px}
}
@media(max-width:375px){
  .app-promo{gap:10px;padding:15px}
  .consultation-access{max-width:90px}
  .consultation-access .consultation-qr{width:90px;height:90px}
  .app-promo h2{font-size:18px}
}
@media(max-height:650px){
  body.display-screen .next-panel{padding:18px 16px}
  body.display-screen .next-panel h2{margin-bottom:8px}
  body.display-screen .next-date{font-size:10px;margin:8px 0 12px}
  body.display-screen .next-note{gap:5px;margin-top:10px}
  body.display-screen .screen-consultation{padding-top:8px;gap:4px;margin-top:8px}
  body.display-screen .consultation-qr{width:100px;height:100px}
  .screen-consultation>b{font-size:13px}
  .screen-consultation .qr-caption{font-size:10px}
}

/* A compact language choice belongs to consultation; screens use their configured language. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Visitors opt in beside manual playback; digital screens keep their own mode. */
.auto-reveal-control{display:grid;gap:5px;margin-top:10px;min-width:0}
.auto-reveal-control[hidden],.auto-reveal-status[hidden]{display:none}
.auto-reveal-toggle{width:100%;min-height:44px;padding:8px 11px;border:1px solid #72917b;background:transparent;color:#173e2d;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;font:inherit;font-size:13px;font-weight:800;line-height:1.3}
.auto-reveal-toggle:hover{background:#d7dfcb}
.auto-reveal-toggle:focus-visible{outline:3px solid #0d5739;outline-offset:3px}
.auto-reveal-toggle:disabled{cursor:default;opacity:.6}
.auto-reveal-switch{width:30px;height:18px;flex:none;border:1px solid #72917b;border-radius:12px;background:#d0d8c6;padding:2px}
.auto-reveal-switch:after{content:"";display:block;width:12px;height:12px;border-radius:50%;background:#587263;transition:transform .15s}
.auto-reveal-toggle[aria-pressed="true"]{background:#d1dfc6;border-color:#1c6542}
.auto-reveal-toggle[aria-pressed="true"] .auto-reveal-switch{background:#1c6542;border-color:#1c6542}
.auto-reveal-toggle[aria-pressed="true"] .auto-reveal-switch:after{background:#f2f4e6;transform:translateX(12px)}
#auto-reveal-help,.auto-reveal-status{margin:0;color:#466a55;font-size:12px;line-height:1.35}
.auto-reveal-status{font-weight:750;display:flex;align-items:baseline;gap:6px}
.auto-reveal-status:before{content:"";width:7px;height:7px;flex:none;border-radius:50%;background:#1c6542}
.auto-reveal-control[data-state="stale"] .auto-reveal-status:before,.auto-reveal-control[data-state="loading"] .auto-reveal-status:before{background:#976519}
body.display-screen .auto-reveal-control{display:none}
@media(max-width:850px){.next-panel .auto-reveal-control{grid-column:1/-1;grid-row:5}.next-panel .next-note{grid-row:6}}
@media(max-width:620px){.next-panel .auto-reveal-control{grid-row:6}.next-panel .next-note{grid-row:7}}
.language-picker{flex:none;display:flex;align-items:center}
.language-picker select{font:inherit;font-size:12px;font-weight:700;color:var(--paper);background:var(--deep);border:1px solid #648568;border-radius:4px;height:34px;min-width:100px;padding:5px 7px;cursor:pointer;color-scheme:dark}
.language-picker select:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
body.display-screen .language-picker{display:none}
@media(max-width:1400px){.header-status{display:none}}
@media(max-width:1100px){
  .site-header{gap:18px}
  .language-picker{margin-left:auto}
  .main-nav{display:none;position:absolute;z-index:20;top:88px;left:0;right:0;background:#0a3526;padding:16px 22px 24px;flex-direction:column;align-items:stretch;gap:0;border-bottom:1px solid var(--gold)}
  .main-nav.open{display:flex}
  .main-nav a{padding:13px 0;font-size:16px;border-bottom:1px solid var(--line)}
  .main-nav a.active:after{display:none}
  .menu-toggle{margin-left:0;width:44px;height:44px;flex:none;border:1px solid var(--line);background:none;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}
  .menu-toggle span{width:20px;height:2px;background:var(--gold)}
}
@media(max-width:850px){.main-nav{top:73px}}
@media(max-width:620px){
  .site-header{gap:10px}
  .language-picker select{min-width:76px;width:76px;font-size:11px;padding:5px 4px}
  html[lang="en"] .history-board:after{content:"SWIPE TO SEE ALL COLUMNS →"}
  html[lang="fr"] .history-board:after{content:"FAITES GLISSER POUR VOIR LES COLONNES →"}
}

.public-prize-base{margin:10px 0;font-size:12px;color:#a6c1af}
.public-prize-table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}
.public-prize-table th{text-align:left;font-weight:500;padding:3px 0}
.public-prize-table td{text-align:right;white-space:nowrap;padding:3px 0;font-weight:750;color:#f2df9a}
.public-prize-table .public-prize-game{padding-top:9px;font-weight:850;color:#f2df9a;border-bottom:1px solid #416b51}
#prizes-board[data-payout-source="account"]{display:block;overflow:auto;max-height:340px}
@media(max-width:1000px){#prizes-board[data-payout-source="account"]{max-height:none}}

/* TV 16:9: en pantallas de 1500×860 o más, el modo pantalla usa la misma composición web de una sola pantalla
   (resultado, horarios, historial y premios), sin lo que solo sirve con mouse o teclado. La Digital Screen entrega el
   visor a 1920×1080 y lo escala, así que en la TV siempre aplica. En pantallas más chicas sigue el tablero compacto. */
@media(min-width:1500px) and (min-height:860px) and (min-aspect-ratio:3/2){
  body.display-screen .app-shell>main{display:grid;grid-template-rows:26px minmax(0,1.5fr) 72px minmax(0,1.2fr);gap:10px;padding:0 2.5vw 1.8vw}
  body.display-screen .site-header{height:64px;min-height:64px;padding:0 2.5vw}
  body.display-screen .topline{height:auto}
  body.display-screen .hero{flex:none;height:100%;grid-template-columns:minmax(0,2fr) minmax(350px,.78fr);gap:16px}
  body.display-screen .schedule-section{display:block;margin:0;min-height:0}
  body.display-screen .middle-grid{display:grid;margin:0;min-height:0}
  body.display-screen .schedule-section .section-hint{display:none}
  body.display-screen .hour-button{cursor:default}
  body.display-screen #prizes-board[data-payout-source="account"]{max-height:none;overflow:hidden}
  body.display-screen .screen-consultation{margin-top:12px;padding-top:12px;gap:6px}
  body.display-screen .consultation-qr{width:150px;height:150px}
}
