/* V4: identity system, accessible contrast, responsive action-first layout. */
:root{--ink:#292126;--green:#ac1029;--paper:#fff;--edge:#e6dce0;--gold:#f4c542;--accent:#ffe27a;--red:#ac1029;--red-dark:#830c20;--muted:#655960;--dream:#176340;--serif:Georgia,'Times New Roman',serif;background:#fff;color:var(--ink)}
body{background:#fff;color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}a{color:var(--red-dark)}.wrap{width:min(1160px,92vw)}.mast{background:#fff;color:var(--red-dark);border-top:4px solid var(--red);border-bottom:1px solid var(--edge);box-shadow:none}.mast .wrap{min-height:70px}.brandmark{font-family:inherit;font-weight:800;letter-spacing:-.055em}.brandmark em{font-style:normal;color:var(--red);font-weight:750}.markplate{background:#fff;width:56px;height:48px}.markplate img{width:100%;height:100%}.mast nav a{color:#51424a}.mast nav a:hover{color:var(--red)}.front{border-bottom:1px solid var(--edge)}.front h1{color:#2b2026;font-family:inherit;font-weight:780;letter-spacing:-.05em;font-size:clamp(2rem,4.4vw,3.9rem);line-height:1.07}.front small,.region>small{color:var(--red-dark)}.lede{color:#463940}.coverage-label{display:inline-block;margin:10px 0 0;padding:7px 12px;border:1px solid var(--edge);border-radius:8px;background:#fff;font-size:.84rem;color:var(--muted);font-weight:650}.front .cityfind{border:1px solid var(--edge);border-left:4px solid var(--red);border-radius:10px;max-width:100%}.cityfind label{color:var(--red-dark)}.cityfind input{border-bottom:1px solid #bcaab2}.ticket{background:#ffe375;color:#322509;border:1px solid #e1b544;box-shadow:0 8px 24px #b78c191c}.ticketbar,.winner span,.winner b{color:#49340c}.digits span{color:#302306;background:#fffdf5;box-shadow:inset 0 -3px #e8cf80;font-family:inherit;font-weight:800;font-variant-numeric:tabular-nums}.ticketfoot{border-color:#a9812f}.draw{background:#fff;border:1px solid #e4dce0;border-radius:12px;box-shadow:0 3px 14px #30202708}.draw header{border-bottom:2px solid #e8b836}.draw header small,.draw th,.draw footer,.ledger span,.note,.filtro,.empty,.crumb,.meta{color:var(--muted)}.draw tbody tr:first-child{background:#fff2bd}.draw tbody tr:first-child td:first-child{box-shadow:inset 3px 0 #d3a015}.draw td,.draw th{border-color:#ede6e9}.draw td b{letter-spacing:.055em}.tabs a,button{background:var(--red);color:#fff;border-radius:8px;min-height:44px}.tabs a:hover,button:hover{background:var(--red-dark)}.tabs a[aria-current]{background:#ffe375;color:#4b3408}.quick a,.chips button{background:#fff;color:var(--red-dark);border:1px solid var(--edge);min-height:40px;display:inline-flex;align-items:center}.quick a:hover,.chips button:hover,.links a:hover{background:#fff2f4;border-color:#cf8c99}.action,.region,.tool,.toolcontext,.fold{background:#fff;border:1px solid var(--edge);border-radius:12px}.action{border-top:3px solid var(--red);min-height:94px}.action:hover{background:#fff5f6}.action span,.action i{color:var(--muted)}.action[href$="sonhos-e-bichos"]{border-top-color:var(--dream)}.action[href$="deu-no-poste"]{border-top-color:#d7a118}.toolcontext{border-top:3px solid var(--red)}.context,aside,.answer{background:#fff;border-left:4px solid var(--red);color:var(--ink)}.tool output{border-left-color:var(--red)}.facts div{border-color:#d8b9c0}.schedule th,.fold th{background:#f8f5f6}.theme-results .fold .ledger strong{color:#77530b}.theme-results .fold summary{color:#674b11}.theme-dreams .station .tool,.theme-dreams .toolcontext{border-top:3px solid var(--dream)}.theme-dreams .station .tool{background:#f2faf5}.theme-dreams .station .tool label,.theme-dreams .toolcontext small,.theme-dreams .dreams h3 a,.theme-dreams .dreams b{color:var(--dream)}.theme-dreams .chips button{border-color:#a5cfb6;color:var(--dream)}.theme-dreams .chips button:hover{background:#e2f4e8}.dreams article{border-top:3px solid #d7cbd0}.theme-dreams .dreams article{border-top-color:var(--dream)}.theme-dreams .dreams article b{display:inline-block;padding:5px 10px;border-radius:5px;background:#e4f4e9}.faqzone{border-top:1px solid var(--edge)}.rule{background:var(--red)}.questions details{border-color:var(--edge)}.questions summary:after{color:var(--red)}.questions p,.policy-lead{color:var(--muted)}.footbase{background:#fff;color:var(--ink);border-top:4px solid var(--red)}.footgrid h2{color:var(--red-dark)}.footgrid a,.footend a{color:var(--red-dark)}.footgrid p{color:var(--muted)}.footend{border-top:1px solid var(--edge);color:var(--muted)}.publisher{display:grid;gap:3px;margin:16px 0;font-size:.85rem}.publisher a{font-weight:700}.publisher span{color:var(--muted);font-variant-numeric:tabular-nums}.editorial-notice{font-size:.82rem!important}.links a{border-radius:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:focus-visible{outline:3px solid #ad1630;outline-offset:3px}input,select{border-color:#9e8992}h2,h3{font-family:inherit;letter-spacing:-.035em;font-weight:720}h2{font-size:clamp(1.35rem,2.6vw,2rem)}.archive-nav{margin:16px 0}.empty{border:1px dashed var(--edge);padding:16px;border-radius:10px}
@media(max-width:700px){.mast .wrap{min-height:55px}.markplate{width:38px;height:36px}.brandmark{font-size:clamp(16px,4vw,22px)}.mast nav{gap:10px}.front h1{font-size:clamp(1.85rem,7.7vw,2.7rem)}.front.with-ticket{gap:14px}.ticket{margin:0}.front .cityfind{margin-top:14px}.footgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.footgrid>div:first-child{grid-column:1/-1}.footgrid .brandmark{font-size:23px}.quick a{font-size:.85rem}.links a{overflow-wrap:anywhere}.ledger strong{overflow-wrap:anywhere}}
@media(max-width:380px){.mast .wrap{flex-wrap:wrap;gap:4px}.mast nav{margin-left:0}.footgrid{gap:18px}.links{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}

/* V6 — paleta semântica: marca vermelha, resultados amarelos, sonhos verdes. */
:root{--ink:#171717;--muted:#484848;--edge:#dedede;--red:#ac1029;--red-dark:#830c20;--gold:#ffd54f;--result-bg:#ffe47a;--result-edge:#d6a629;--dream:#176340;--dream-dark:#124c30;--dream-bg:#e7f5eb;--paper:#fff}
body,.front,.faqzone{background:#fff;color:var(--ink)}
.front h1,.lede,.policy-lead,.questions p,.action span,.action i,.coverage-label,.note,.crumb,.meta,.region>small,.front small{color:var(--ink)}
.mast{background:var(--red);color:#fff;border-top:0;border-bottom:1px solid var(--red-dark)}
.mast .brandmark,.mast .brandmark em,.footbase .brandmark,.footbase .brandmark em{color:#fff}
.mast .markplate,.footbase .markplate{background:#fff;border-radius:10px;padding:4px;flex-shrink:0}
.mast nav{align-items:center;flex-wrap:wrap;gap:8px}
.mast nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 15px;border:1px solid #fff;border-radius:8px;background:#fff;color:var(--red-dark);font-weight:750;text-decoration:none;line-height:1.2}
.mast nav a:hover{background:#ffe9ed;color:var(--red-dark);text-decoration:none}
.mast :focus-visible,.footbase :focus-visible{outline:3px solid #fff;outline-offset:4px}
.footbase{background:var(--red);color:#fff;border-top:0}
.footgrid h2,.footgrid a,.footgrid p,.footend,.footend a,.publisher span,.publisher small{color:#fff}
.footend{border-color:#ffffff65}
.publisher a{text-decoration:underline;text-underline-offset:3px}
.ticket{background:var(--result-bg);border:1px solid var(--result-edge);color:#171717;box-shadow:0 5px 15px #79550016}
.ticketbar,.winner span,.winner b,.ticketfoot{color:#171717}
.digits span{background:#fff;color:#111;box-shadow:inset 0 -2px #e5e5e5}
.ticketfoot{border-color:#9c751a}
.cards{background:var(--result-bg);border:1px solid var(--result-edge);border-radius:14px;padding:clamp(10px,2vw,20px);gap:14px}
.draw{background:#fff;color:#171717;border:1px solid #d9d9d9;box-shadow:0 2px 6px #00000009;min-width:0}
.draw header{border-color:var(--result-edge)}
.draw header small,.draw th,.draw footer,.draw a{color:#171717}
.draw a{text-decoration:underline;text-underline-offset:3px}
.draw header h3 a{text-decoration:none}
.draw header h3 a:hover{text-decoration:underline}
.draw tbody tr:first-child{background:#fff4c6}
.draw tbody tr:first-child td:first-child{box-shadow:inset 3px 0 #c29212}
.theme-results .tabs a[aria-current]{background:var(--gold);color:#171717;box-shadow:inset 0 0 0 1px var(--result-edge)}
.theme-results .fold:has(.ledger),.theme-results .ledger:not(.fold .ledger){background:#fff4c6;border:1px solid var(--result-edge);border-radius:12px;padding:12px}
.theme-results .fold .ledger{background:#fff;border-radius:8px;margin-top:10px}
.theme-results .fold .ledger strong,.theme-results .fold summary,.theme-results .ledger strong{color:#171717}
.theme-results main>.draw{border:5px solid var(--result-bg)}
.theme-dreams .station .tool{background:var(--dream-bg);border-color:var(--dream)}
.theme-dreams .toolcontext{border-top-color:var(--dream)}
.theme-dreams .tool output,.theme-dreams .answer{background:#fff;border-left-color:var(--dream);color:#171717}
.theme-dreams .chips button{background:#fff;color:var(--dream-dark);border-color:#75a88a}
.theme-dreams .chips button:hover{background:#d3ecdc}
.theme-dreams .dreams article{background:#fff;border-top-color:var(--dream)}
.theme-dreams .dreams article b{background:var(--dream-bg);color:var(--dream-dark)}
.theme-dreams .station button:not(.chips button){background:var(--dream);color:white}
.theme-dreams .station button:not(.chips button):hover{background:var(--dream-dark)}
.theme-dreams main :focus-visible{outline-color:var(--dream)}
.tool,.region,.toolcontext,.action,.fold,.links a{background:#fff;color:var(--ink)}
.schedule th,.fold th{background:#f5f5f5;color:#171717}
@media(max-width:700px){.mast .wrap{flex-wrap:wrap;gap:10px;padding:12px 0}.mast nav{width:100%;gap:7px}.mast nav a{flex:1 1 auto;min-height:40px;padding:8px 10px;font-size:.86rem}.mast .brandmark{font-size:22px}.cards{gap:10px}.draw{padding:12px}.draw td b{font-size:1.1rem}.footgrid{gap:22px 16px}}
@media(max-width:380px){.mast .brandmark{font-size:20px}.mast nav a{min-height:40px;font-size:.79rem;padding:7px 5px}.draw td,.draw th{padding:7px 4px}}
