/* Pavilhão
   Layout: a mesa do presidente à esquerda (a pauta do mês numa folha creme) e o mural do samba à direita (ranking, favoritismo, calendário).
   Cor: preto, branco e creme. A única cor da página é a do pavilhão da escola (--e1, --e2, --e3), nos raios, na fita do topo e nas marcas de seleção.
   Tipo: Bricolage Grotesque nos títulos, Newsreader na voz de quem narra, Geist na interface e Geist Mono nos números.
   Forma: cantos retos em tudo; círculo só no selo do pavilhão e nas fichas de ação. */
:root {
  --bg: #FFFFFF;
  --panel: #F6F0DF;         /* creme */
  --panel2: #ECE4CD;        /* creme mais fundo */
  --raised: #FFFFFF;
  --folha: #F6F0DF;         /* a folha da pauta */
  --ink: #0A0A0A;
  --ink2: #403D36;
  --ink3: #6A665B;
  --line: #D9D1BB;
  --line2: #EAE4D2;
  --ouro: #8A6100;          /* nota dez */
  --ouro-soft: #F4E7C3;
  --bom: #0E6B3A; --ruim: #B3261E; --aviso: #8A5A00;
  --bom-soft: #E0F0E5; --ruim-soft: #F8E1DE; --aviso-soft: #F5E9CC;
  --noite: #0A0A0A; --papel: #F6F0DF;            /* o placar da apuração é sempre preto com letra creme */
  --e1: #0A0A0A; --e2: #D9D1BB; --e3: #0A0A0A;   /* cores do pavilhão; trocadas pela escola escolhida */
  --viva: #0A0A0A;                                /* a cor mais viva do pavilhão, para marcas de seleção */
  --veu: rgba(10, 10, 10, 0.5);
  --display: 'Bricolage Grotesque', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --voz: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --texto: 'Geist', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --raio: 2px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0A0A; --panel: #161614; --panel2: #22211E; --raised: #1D1D1A; --folha: #141412; --ink: #F6F0DF; --ink2: #C4BEAD; --ink3: #918C7E; --line: #35332D; --line2: #232220;
    --ouro: #E9BC45; --ouro-soft: #33290C; --bom: #5BC98F; --ruim: #F28B82; --aviso: #E5B656; --bom-soft: #12281B; --ruim-soft: #351A18; --aviso-soft: #30260D;
    --e1: #F6F0DF; --e2: #4A4740; --e3: #F6F0DF; --viva: #F6F0DF; --veu: rgba(0, 0, 0, 0.66);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A0A0A; --panel: #161614; --panel2: #22211E; --raised: #1D1D1A; --folha: #141412; --ink: #F6F0DF; --ink2: #C4BEAD; --ink3: #918C7E; --line: #35332D; --line2: #232220;
  --ouro: #E9BC45; --ouro-soft: #33290C; --bom: #5BC98F; --ruim: #F28B82; --aviso: #E5B656; --bom-soft: #12281B; --ruim-soft: #351A18; --aviso-soft: #30260D;
  --e1: #F6F0DF; --e2: #4A4740; --e3: #F6F0DF; --viva: #F6F0DF; --veu: rgba(0, 0, 0, 0.66);
  color-scheme: dark;
}
/* o que depende da cor da escola é calculado onde a cor é definida */
#app { --gut: clamp(16px, 3vw, 32px); --marca: var(--viva); --eu: color-mix(in srgb, var(--viva) 13%, var(--bg)); --leque: 0.16; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #app { --marca: color-mix(in srgb, var(--viva) 66%, #FFFFFF); --eu: color-mix(in srgb, var(--viva) 26%, var(--bg)); --leque: 0.24; } }
:root[data-theme="dark"] #app { --marca: color-mix(in srgb, var(--viva) 66%, #FFFFFF); --eu: color-mix(in srgb, var(--viva) 26%, var(--bg)); --leque: 0.24; }

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--texto); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, select, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.sobe { color: var(--bom); } .desce { color: var(--ruim); } .fraco { color: var(--ink3); }
#app { max-width: 1280px; margin: 0 auto; padding-inline: var(--gut); padding-block: 0 56px; }

/* ---------- a fita com as cores da escola ---------- */
.faixa { height: 11px; margin-inline: calc(-1 * var(--gut)); background: linear-gradient(180deg, var(--e1) 0 6px, var(--e2) 6px 9px, var(--e3) 9px 11px); }

/* ---------- pavilhão: os raios ---------- */
.pav { display: inline-block; flex: none; width: 20px; height: 14px; box-shadow: 0 0 0 1px var(--line); vertical-align: -2px; }
.pav.sem { background: repeating-conic-gradient(from 15deg, var(--line) 0 30deg, var(--panel) 30deg 60deg); }
.pav.md { width: 44px; height: 44px; } .pav.gr { width: 52px; height: 36px; } .pav.q { width: 100%; height: 100%; box-shadow: none; }
.pav.selo { width: 22px; height: 22px; border-radius: 50%; vertical-align: -5px; } .pav.gr.selo { width: 46px; height: 46px; }
.en { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }

/* ---------- topo ---------- */
.topo { display: grid; grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 12px 32px; padding-block: 18px 16px; }
.logo { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 23px; letter-spacing: 0.005em; text-transform: uppercase; line-height: 1; display: block; }
.topo .quem { display: flex; align-items: center; gap: 13px; min-width: 0; }
.topo .quem h1 { font-size: 22px; font-weight: 700; font-stretch: 88%; line-height: 1.08; letter-spacing: -0.018em; }
.topo .quem p { font-size: 13px; color: var(--ink3); margin-top: 2px; }
.topo .data b { display: block; font-family: var(--voz); font-style: italic; font-weight: 500; font-size: 19px; line-height: 1.2; }
.topo .data > span { font-size: 12.5px; color: var(--ink3); }
.tempo { display: flex; gap: 3px; margin-top: 8px; }
.tempo i { flex: 1; height: 4px; background: var(--line); position: relative; }
.tempo i.foi { background: var(--ink); } .tempo i.agora { background: var(--marca); height: 8px; margin-top: -2px; }
.tempo i.marco::after { content: ''; position: absolute; left: 50%; top: 9px; width: 1px; height: 5px; background: var(--ink3); }
.kpis { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.kpi { display: flex; flex-direction: column; min-width: 76px; }
.kpi > span:first-child { font-size: 12px; color: var(--ink3); }
.kpi b { font-size: 18px; font-weight: 500; line-height: 1.25; }
.kpi .tr { height: 3px; margin-top: 3px; background: linear-gradient(var(--line), var(--line)) left bottom / 100% 1px no-repeat; } .kpi .tr i { display: block; height: 100%; background: var(--ink); }
.pips { display: flex; gap: 5px; padding-top: 8px; } .pips i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink3); } .pips i.on { background: var(--ink); box-shadow: none; }

/* ---------- abas ---------- */
.abas { display: flex; gap: 0 28px; border-bottom: 1px solid var(--ink); margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; } .abas::-webkit-scrollbar { display: none; }
.abas button { position: relative; flex: none; background: none; border: 0; padding: 10px 0 13px; font-weight: 500; font-size: 15px; color: var(--ink3); cursor: pointer; transition: color 0.16s; }
.abas button:hover { color: var(--ink); }
.abas button[aria-current="true"] { color: var(--ink); }
.abas button[aria-current="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--marca); }
.abas sup, .nav5 sup { font-family: var(--mono); font-size: 10.5px; line-height: 1.5; background: var(--ink); color: var(--bg); border-radius: 9px; padding: 0 6px; }
.abas sup { margin-left: 6px; vertical-align: 2px; }

/* ---------- estrutura ---------- */
.cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px 44px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.uma { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.sec { min-width: 0; }
.sh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 10px; margin-bottom: 8px; border-top: 1px solid var(--ink); }
.sh h2 { font-family: var(--voz); font-style: italic; font-weight: 500; font-size: 21px; letter-spacing: -0.012em; line-height: 1.2; }
.sh span { font-size: 12.5px; color: var(--ink3); text-align: right; }
/* a primeira seção da página não repete o fio que já fecha as abas ou o cabeçalho */
.abas ~ .cols > .col:first-child > .sec:first-child > .sh, .abas ~ .uma > .sec:first-child > .sh { border-top: 0; padding-top: 0; }
@media (min-width: 981px) { .abas ~ .cols > .col > .sec:first-child > .sh { border-top: 0; padding-top: 0; } }
.vazio { color: var(--ink3); font-size: 14px; }
.nota-pe { font-size: 12.5px; color: var(--ink3); margin-top: 10px; max-width: 80ch; }
.dica { font-size: 13px; color: var(--ink3); }
.sub { font-family: var(--texto); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ink2); margin: 18px 0 8px; }

/* ---------- botões ---------- */
.bt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 18px; border: 1px solid var(--ink); border-radius: var(--raio); background: transparent; color: var(--ink); font-weight: 600; font-size: 14.5px; line-height: 1.2; letter-spacing: -0.005em; cursor: pointer; text-align: center; transition: background 0.16s, color 0.16s, box-shadow 0.16s, transform 0.08s; }
.bt:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--ink); color: var(--bg); }
.bt:active:not(:disabled):not([aria-disabled="true"]) { transform: translateY(1px); }
.bt.pri { background: var(--ink); color: var(--bg); } .bt.pri:hover:not(:disabled):not([aria-disabled="true"]) { box-shadow: inset 0 -5px 0 var(--marca); }
.bt.peq { min-height: 32px; padding: 5px 12px; font-size: 13px; } .bt.gde { min-height: 54px; padding: 14px 30px; font-size: 16.5px; } .bt.mini { min-height: 30px; padding: 2px 9px; font-size: 15px; min-width: 30px; }
.bt.perigo { border-color: var(--ruim); color: var(--ruim); } .bt.perigo:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--ruim); color: var(--bg); } .bt.pri.perigo { background: var(--ruim); color: var(--bg); }
.bt:disabled, .bt[aria-disabled="true"] { opacity: 0.38; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }
.link:hover { text-decoration-thickness: 2px; }
.linha-bt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.linha-bt.fecho { margin-top: 20px; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--ink); border-radius: var(--raio); overflow: hidden; }
.seg button { background: none; border: 0; border-right: 1px solid var(--ink); padding: 5px 12px; font-size: 13px; font-weight: 500; cursor: pointer; color: var(--ink2); transition: background 0.16s, color 0.16s; }
.seg button:last-child { border-right: 0; } .seg button:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--panel2); } .seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg button small { font-family: var(--mono); opacity: 0.7; } .seg button:disabled, .seg button[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.seg.larga { display: flex; margin-bottom: 14px; } .seg.larga button { flex: 1 1 auto; padding: 9px 12px; font-size: 13.5px; }
.tag { display: inline-block; font-family: var(--mono); font-size: 11px; padding: 2px 7px; border-radius: var(--raio); background: var(--panel2); color: var(--ink2); white-space: nowrap; font-weight: 500; }
.tag.bom { background: var(--bom-soft); color: var(--bom); } .tag.ruim { background: var(--ruim-soft); color: var(--ruim); } .tag.meio { background: var(--aviso-soft); color: var(--aviso); } .tag.ouro { background: var(--ouro-soft); color: var(--ouro); }

/* ---------- pequenos componentes ---------- */
.barra { display: inline-flex; align-items: center; gap: 8px; }
.barra .tr { width: 78px; height: 5px; background: linear-gradient(var(--line), var(--line)) left bottom / 100% 1px no-repeat; } .barra .tr i { display: block; height: 100%; background: var(--ink); }
.barra b { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink2); min-width: 2.2em; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 26px; }
.kv .k { font-size: 12.5px; color: var(--ink3); }
.kv .v { font-family: var(--mono); font-size: 25px; font-weight: 500; line-height: 1.2; letter-spacing: -0.04em; } .kv .v small { font-size: 13px; font-weight: 400; color: var(--ink3); letter-spacing: 0; }
.kv .o { font-size: 12.5px; color: var(--ink3); }
.lin { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.lin:last-child { border-bottom: 0; } .lin > span:first-child { color: var(--ink3); flex: none; } .lin > span:last-child { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.aviso { padding: 10px 14px; border-left: 4px solid var(--aviso); background: var(--aviso-soft); font-size: 14px; margin-bottom: 8px; }
.aviso.ruim { border-color: var(--ruim); background: var(--ruim-soft); }
.aviso.forte { padding: 13px 16px; border-left-width: 6px; font-size: 15px; }
.aviso.forte b { display: block; margin-bottom: 3px; }
.cal li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line2); font-size: 14px; } .cal li:last-child { border-bottom: 0; }
.cal .q { font-family: var(--mono); font-size: 12px; color: var(--ink3); padding-top: 2px; }
.giro li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line2); font-size: 15px; } .giro li:last-child { border-bottom: 0; }
.giro .tp { font-family: var(--mono); font-size: 11.5px; color: var(--ink3); padding-top: 3px; }
.giro .tp.crise, .giro .tp.caixa { color: var(--ruim); } .giro .tp.resultado { color: var(--bom); }
.giro.diario li { grid-template-columns: 132px minmax(0, 1fr); }
.giro.outras li { grid-template-columns: 190px minmax(0, 1fr); } .giro.outras .tp { display: flex; gap: 8px; align-items: center; font-family: var(--texto); font-size: 14px; color: var(--ink); font-weight: 600; padding: 0; }
.giro.outras .ruim { color: var(--ruim); } .giro.outras .bom { color: var(--bom); }
.giro.falas li.eu { background: var(--eu); margin-inline: -10px; padding-inline: 10px; }
.reacao { margin: 18px 0 4px; padding: 12px 16px; border-left: 4px solid var(--ink3); background: var(--raised); } .reacao.bom { border-color: var(--bom); } .reacao.ruim { border-color: var(--ruim); }
.reacao small { display: block; font-size: 12px; color: var(--ink3); margin-bottom: 4px; } .reacao p { margin: 0; font-family: var(--voz); font-size: 18px; line-height: 1.4; } .reacao p.pos { margin-top: 6px; font-family: var(--texto); font-size: 13px; color: var(--ink2); }
.tits { display: block; font-size: 12px; font-weight: 600; color: var(--ouro); margin: 2px 0; }

/* ---------- a folha da pauta ---------- */
.prancha { position: relative; isolation: isolate; overflow: hidden; background: var(--folha); padding: clamp(18px, 3.2vw, 38px); min-width: 0; }
.prancha::before { content: ''; position: absolute; z-index: -1; right: -170px; top: -170px; width: 340px; height: 340px; border-radius: 50%; background: repeating-conic-gradient(from 5deg, var(--e1) 0 9.9deg, var(--e2) 10deg 19.9deg, var(--e1) 20deg); opacity: var(--leque); pointer-events: none; }
.prancha .cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink3); }
.prancha .cab .tim { display: inline-flex; align-items: center; gap: 8px; } .prancha .cab .tim b { color: var(--ink); font-weight: 600; }
.prancha .cab .prot { font-family: var(--mono); font-size: 12px; }
.olho { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink2); }
.prancha h1 { font-size: clamp(31px, 5vw, 54px); line-height: 1; font-weight: 800; font-stretch: 86%; letter-spacing: -0.022em; margin: 8px 0 16px; max-width: 18ch; }
.caso { font-family: var(--voz); font-size: 19.5px; line-height: 1.5; max-width: 62ch; } .caso.peq { font-size: 16.5px; color: var(--ink2); }
.legenda { font-size: 13px; color: var(--ink3); margin-top: 10px; max-width: 76ch; }
.opcoes { display: grid; gap: 8px; margin-top: 22px; }
.opcao { display: grid; gap: 5px; text-align: left; width: 100%; padding: 15px 18px 16px; background: var(--raised); color: var(--ink); border: 0; border-left: 5px solid var(--line); border-radius: 0; cursor: pointer; transition: background 0.18s, color 0.18s, border-color 0.18s; }
.opcao:hover { border-left-color: var(--ink); }
.opcao[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-left-color: var(--marca); }
.opcao .quem { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 12.5px; color: var(--ink3); } .opcao .quem b { color: var(--ink2); font-weight: 600; }
.opcao .rot { font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; }
.opcao .desc { font-size: 15px; color: var(--ink2); line-height: 1.45; }
.opcao .cat { font-size: 12.5px; color: var(--ink3); }
.casa-carn { display: block; width: fit-content; margin: 6px 0 2px; padding: 3px 8px 2px; font-size: 12.5px; font-weight: 600; color: var(--bom); background: var(--bom-soft); border-radius: var(--raio); } .casa-carn.meio { color: var(--ink2); background: var(--panel2); } .casa-carn.fora { color: var(--aviso); background: var(--aviso-soft); } .casa-carn.ef { color: var(--ouro); background: var(--ouro-soft); }
.previa .casa-carn { margin: 4px 0 8px; } .legenda.esp { color: var(--ink2); margin-top: 6px; }
.opcao.perigo { border-left-color: var(--ruim); } .opcao.perigo .quem b { color: var(--ruim); }
.leit { display: flex; flex-wrap: wrap; gap: 3px 16px; margin-top: 6px; font-size: 12.5px; color: var(--ink2); }
.leit span b { font-weight: 600; margin-right: 5px; }
.leit .ag b { color: var(--bom); } .leit .co b { color: var(--ruim); } .leit .cu b { color: var(--aviso); }
.medidas { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 5px 18px; margin-top: 8px; }
.md { display: grid; grid-template-columns: 74px minmax(0, 1fr) 26px; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink2); }
.md .tr { height: 5px; background: linear-gradient(var(--line), var(--line)) left bottom / 100% 1px no-repeat; } .md .tr i { display: block; height: 100%; background: var(--ink); } .md .tr.inv i { background: var(--ruim); }
.md b { font-size: 12px; font-weight: 500; text-align: right; }
/* a proposta escolhida vira o avesso: fundo de tinta, letra de papel */
.opcao[aria-pressed="true"] :is(.quem, .quem b, .desc, .cat, .leit, .leit b, .nums, .nums b, .md, .md b) { color: inherit; }
.opcao[aria-pressed="true"] :is(.quem, .desc, .cat, .leit, .nums, .md) { opacity: 0.84; }
.opcao[aria-pressed="true"] .md .tr { background-image: linear-gradient(var(--ink3), var(--ink3)); } .opcao[aria-pressed="true"] .md .tr i { background: var(--bg); }
.refrao { font-family: var(--voz); font-style: italic; font-size: 17px; line-height: 1.45; color: inherit; padding-left: 14px; border-left: 2px solid var(--ouro); margin-top: 8px; display: block; }
.sinopse { font-size: 14.5px; color: var(--ink2); margin-top: 8px; max-width: 70ch; }
.titulao { font-family: var(--display); font-size: 22px; font-weight: 700; font-stretch: 90%; line-height: 1.15; letter-spacing: -0.016em; }
.escolhido { margin: 6px 0 4px; }
.previa { margin-top: 8px; padding: 16px 18px; border: 1px solid var(--ink); background: var(--raised); }
.previa .rot { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.016em; margin-top: 3px; } .previa .cat { font-size: 12.5px; color: var(--ink3); }
.livre { padding-top: 16px; margin-top: 10px; border-top: 1px solid var(--line); }
.livre label { display: block; font-size: 13px; color: var(--ink3); } .livre label b { color: var(--ink); font-weight: 600; }
.livre textarea { display: block; width: 100%; min-height: 108px; margin-top: 10px; padding: 12px 14px; border: 1px solid var(--ink3); border-radius: var(--raio); background: var(--raised); font-family: var(--voz); font-size: 18px; line-height: 1.45; resize: vertical; }
.livre .livre-tit { display: block; width: 100%; margin-top: 10px; padding: 11px 14px; border: 1px solid var(--ink3); border-radius: var(--raio); background: var(--raised); font-family: var(--voz); font-size: 20px; font-weight: 600; line-height: 1.3; color: inherit; }
.livre .livre-tit::placeholder { color: var(--ink3); opacity: 1; font-weight: 400; }
.livre .livre-tit:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.livre .livre-tit + textarea { margin-top: 8px; }
.livre textarea::placeholder, .entrevista textarea::placeholder { color: var(--ink3); opacity: 1; }
.livre textarea:focus-visible, .entrevista textarea:focus-visible, .campo input:focus-visible, .campo select:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.livre textarea.grande { min-height: 300px; max-height: 75vh; field-sizing: content; }
.livre .conta { display: block; margin-top: 5px; text-align: right; font-family: var(--mono); font-size: 12px; color: var(--ink3); }
@media (max-width: 640px) { .livre textarea.grande { min-height: 220px; } }
.livre .linha-bt { margin-top: 10px; } .livre .aviso { margin: 10px 0 0; }
.analise { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; margin-top: 10px; border: 1px solid var(--ink); background: var(--raised); font-size: 14px; }
/* enquanto a leitura não volta, o pavilhão gira */
.gira { flex: none; width: 24px; height: 24px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, var(--e1) 0 30deg, var(--e2) 30deg 60deg); box-shadow: 0 0 0 1px var(--line); animation: gira 2.4s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gira { animation-duration: 12s; } }
.carimbo { position: absolute; top: 86px; right: clamp(12px, 3vw, 30px); transform: rotate(-5deg); padding: 6px 13px 5px; border: 2px solid var(--ink); color: var(--ink); font-family: var(--mono); font-weight: 600; font-size: 13.5px; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; line-height: 1.2; pointer-events: none; background: color-mix(in srgb, var(--folha) 76%, transparent); }
.carimbo small { display: block; font-size: 10px; letter-spacing: 0.06em; font-weight: 400; }
.decidido { font-size: 13px; color: var(--ink3); margin-top: 18px; } .decidido b { color: var(--ink); font-family: var(--display); font-size: 23px; font-weight: 700; letter-spacing: -0.016em; display: block; line-height: 1.15; margin-top: 2px; padding-right: 130px; }
.seu-texto { margin: 12px 0 0; padding: 4px 14px; border-left: 2px solid var(--ink3); font-family: var(--voz); font-style: italic; color: var(--ink2); font-size: 17px; white-space: pre-wrap; overflow-wrap: anywhere; }
.viab { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12.5px; color: var(--ink3); } .viab .tr { flex: 0 1 200px; height: 5px; background: linear-gradient(var(--line), var(--line)) left bottom / 100% 1px no-repeat; } .viab .tr i { display: block; height: 100%; background: var(--ink); } .viab b { color: var(--ink2); font-weight: 500; }
.narra { margin-top: 14px; display: grid; gap: 10px; } .narra p { font-family: var(--voz); font-size: 19px; line-height: 1.5; max-width: 62ch; }
.manchete { margin-top: 20px; padding-top: 12px; border-top: 2px solid var(--ink); font-family: var(--voz); font-weight: 600; font-size: 24px; line-height: 1.18; letter-spacing: -0.015em; max-width: 30ch; text-wrap: balance; } .manchete small { display: block; font-family: var(--texto); font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--ink3); margin-bottom: 4px; }
.reacoes { margin-top: 14px; display: grid; gap: 10px; } .reacoes li { padding-left: 14px; border-left: 2px solid var(--line); font-family: var(--voz); font-size: 17px; line-height: 1.4; } .reacoes b { display: block; font-family: var(--texto); font-size: 13px; font-weight: 600; }
.fxs { margin-top: 18px; } .fxs h4 { font-family: var(--texto); font-size: 12.5px; font-weight: 400; color: var(--ink3); margin-bottom: 7px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; padding: 3px 9px; border-radius: var(--raio); background: var(--raised); } .chip b { font-family: var(--mono); font-weight: 600; }
.chip.bom { background: var(--bom-soft); color: var(--bom); } .chip.ruim { background: var(--ruim-soft); color: var(--ruim); }
.proxima { padding-top: 16px; margin-top: 20px; border-top: 1px solid var(--line); }

/* ---------- as ações do mês ---------- */
.acoes li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line2); } .acoes li:last-child { border-bottom: 0; }
.acoes li.ag-g { display: block; padding: 18px 0 6px; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink3); } .acoes li.ag-g:first-child { padding-top: 4px; }
.acoes b { display: block; font-size: 15px; font-weight: 600; } .acoes small { display: block; font-size: 13px; color: var(--ink3); max-width: 60ch; }

/* ---------- mural: ranking e favoritismo ---------- */
.mural .seg { margin-bottom: 10px; }
.rank li { display: grid; grid-template-columns: 20px 20px minmax(0, 1fr) 96px 34px; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.rank li:last-child { border-bottom: 0; }
.rank .p { font-size: 12px; color: var(--ink3); text-align: right; }
.rank .n { min-width: 0; font-weight: 600; } .rank .n small { display: block; font-weight: 400; font-size: 12px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank .v { display: flex; align-items: center; gap: 6px; } .rank .v .tr { flex: 1; height: 5px; background: linear-gradient(var(--line), var(--line)) left bottom / 100% 1px no-repeat; } .rank .v .tr i { display: block; height: 100%; background: var(--ink3); } .rank .v b { font-size: 11.5px; font-weight: 500; min-width: 3.4em; text-align: right; }
.rank .d { font-family: var(--mono); font-size: 11px; text-align: right; color: var(--ink3); } .rank .d.sobe { color: var(--bom); } .rank .d.desce { color: var(--ruim); } .rank .d.novo { color: var(--ink); }
.rank li.eu { background: var(--eu); margin-inline: -10px; padding-inline: 10px; border-bottom-color: transparent; } .rank li.eu .v .tr i { background: var(--ink); }
.rank li:not(:has(.v)) { grid-template-columns: 20px 20px minmax(0, 1fr); }
.termo { columns: 2; column-gap: 18px; } .termo li { display: flex; align-items: center; gap: 7px; padding: 4px 0; font-size: 13.5px; break-inside: avoid; } .termo .p { font-size: 11.5px; color: var(--ink3); min-width: 1.6em; text-align: right; } .termo li.eu { font-weight: 700; }

/* ---------- tabelas ---------- */
.tw { overflow-x: auto; }
.t { width: 100%; border-collapse: collapse; font-size: 14px; }
.t th { text-align: left; font-size: 12px; font-weight: 500; color: var(--ink3); padding: 7px 8px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.t td { padding: 8px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.t .r { text-align: right; } .t tr.eu td { background: var(--eu); } .t tfoot td { font-weight: 700; border-top: 1px solid var(--ink); border-bottom: 0; }
.t.final tr.acima td:first-child { box-shadow: inset 4px 0 0 var(--bom); } .t.final tr.abaixo td:first-child { box-shadow: inset 4px 0 0 var(--ruim); }
.t .dez { color: var(--ouro); font-weight: 600; }
/* a carreira, um carnaval por linha (aba Diário e balanço da gestão) */
.t.carreira td { vertical-align: top; padding-block: 11px; }
.t.carreira .c-ano { width: 1%; padding-left: 12px; padding-right: 16px; font-size: 15px; font-weight: 600; }
.t.carreira tr.r-campea .c-ano { box-shadow: inset 4px 0 0 var(--ouro); } .t.carreira tr.r-sobe .c-ano { box-shadow: inset 4px 0 0 var(--bom); } .t.carreira tr.r-desce .c-ano { box-shadow: inset 4px 0 0 var(--ruim); }
.t.carreira .c-esc { white-space: nowrap; } .t.carreira .c-div { white-space: nowrap; color: var(--ink2); }
.t.carreira .tit-en { font-family: var(--voz); font-size: 16px; line-height: 1.3; }
.t.carreira .c-pos { white-space: nowrap; } .t.carreira .c-pos b { font-size: 17px; font-weight: 600; } .t.carreira .c-pos small { color: var(--ink3); font-size: 12px; }
.t.carreira .pos-sub > * { display: block; margin-top: 2px; }
.mv { font-size: 12px; font-weight: 600; } .mv.ouro { color: var(--ouro); }
.t.carreira tr.prep td { color: var(--ink3); border-bottom-style: dashed; } .t.carreira tr.prep .tit-en { color: var(--ink2); }
.stp { display: inline-flex; gap: 4px; }
.so-cel { display: none; }
/* ---------- o que muda de uma largura para a outra ---------- */
.d-cel { display: none; }
.nav5, .veu, .gaveta { display: none; }
.maisn { display: inline-block; margin-top: 10px; font-size: 13.5px; }
.livre.fechada { border: 0; padding: 0; margin-top: 12px; } .livre.fechada .bt { width: 100%; }
.dobra { border-top: 1px solid var(--ink); } .dobra:last-child { border-bottom: 1px solid var(--ink); }
.dobra .dh { display: grid; grid-template-columns: auto minmax(0, 1fr) 12px; align-items: baseline; gap: 10px; width: 100%; padding: 13px 0; background: none; border: 0; text-align: left; cursor: pointer; color: inherit; }
.dobra .dh h2 { font-family: var(--voz); font-style: italic; font-weight: 500; font-size: 19px; letter-spacing: -0.012em; }
.dobra .res { font-size: 13px; color: var(--ink3); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dobra .seta { width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translateY(-3px); justify-self: end; } .dobra.aberta .seta { transform: rotate(-135deg) translateY(-2px); }
.dobra .dc { padding-bottom: 16px; }
/* ---------- o tamanho do carnaval, o fluxo do ano e a entrevista ---------- */
.opcoes.grade2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 6px; }
.opcao.tam { align-content: start; background: var(--panel); } .opcao.tam[aria-pressed="true"] { background: var(--ink); } .opcao.tam .rot { font-size: 19px; } .opcao.tam .desc { font-size: 13.5px; }
.opcao.tam .nums { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 4px; font-size: 12.5px; color: var(--ink3); } .opcao.tam .nums b { color: var(--ink); font-weight: 600; } .opcao.tam .nums b.desce { color: var(--ruim); } .opcao.tam[aria-pressed="true"] .nums b { color: inherit; }
.opcao:disabled, .opcao[aria-disabled="true"] { cursor: default; opacity: 0.55; } .opcao[aria-disabled="true"]:hover { border-left-color: var(--line); } .opcao[aria-pressed="true"][aria-disabled="true"] { opacity: 1; } .opcao:disabled:hover { border-left-color: var(--line); } .opcao[aria-pressed="true"]:disabled { opacity: 1; } .opcao[aria-pressed="true"]:disabled:hover { border-left-color: var(--marca); }
.t.fluxo td.num, .t.fluxo th.r { white-space: nowrap; } .t.fluxo tr.passado td { color: var(--ink3); } .t.fluxo td small { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-left: 8px; }
.t.fluxo .obs { font-size: 12.5px; color: var(--ink3); } .t.fluxo td.forte b { background: var(--ruim-soft); padding: 1px 5px; }
.pergunta { margin: 16px 0 0; font-family: var(--voz); font-size: 18px; line-height: 1.4; } .pergunta small { display: block; font-family: var(--texto); font-size: 12.5px; color: var(--ink3); margin-bottom: 4px; }
.pergunta.grande { font-style: italic; font-size: clamp(22px, 2.8vw, 30px); font-weight: 500; line-height: 1.22; letter-spacing: -0.015em; text-wrap: balance; max-width: 30ch; }
.silencio { margin-top: 12px; font-family: var(--voz); font-style: italic; font-size: 17px; color: var(--ink2); }
.relogio { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: baseline; gap: 4px 8px; margin: 18px 0 8px; } .relogio b { font-size: 40px; font-weight: 500; line-height: 1; min-width: 1.4em; letter-spacing: -0.05em; } .relogio > span:not(.tr) { font-size: 12.5px; color: var(--ink3); }
.relogio .tr { grid-column: 1 / -1; height: 6px; background: var(--line); overflow: hidden; } .relogio .tr i { display: block; height: 100%; background: var(--ink); transition: width 0.2s linear; }
.relogio.fim b { color: var(--ruim); } .relogio.fim .tr i { background: var(--ruim); }
.entrevista textarea { width: 100%; min-height: 124px; padding: 12px 14px; font-family: var(--voz); font-size: 18px; line-height: 1.45; color: var(--ink); background: var(--raised); border: 1px solid var(--ink3); border-radius: var(--raio); resize: vertical; }
.leituras { display: grid; gap: 8px; margin-top: 16px; } .leituras li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 10px 14px; border-left: 4px solid var(--ink3); background: var(--raised); font-size: 15px; }
.leituras li.bom { border-color: var(--bom); } .leituras li.ruim { border-color: var(--ruim); } .leituras b { font-size: 13px; font-weight: 600; color: var(--ink2); padding-top: 1px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.virar { margin-top: 4px; }
.t.plano td.num, .t.plano th.r { white-space: nowrap; } .t.plano td:last-child { width: 1%; }
.saldo { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; padding: 12px 16px; background: var(--panel); } .saldo b { font-size: 20px; font-weight: 500; } .saldo.ruim b { color: var(--ruim); } .saldo.ruim { box-shadow: inset 4px 0 0 var(--ruim); }
.conta li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line2); font-size: 14.5px; } .conta li:last-child { border-bottom: 0; }
.conta small { display: block; font-size: 12.5px; color: var(--ink3); } .conta b { font-weight: 500; white-space: nowrap; } .conta li.sub { padding-left: 14px; font-size: 13.5px; color: var(--ink2); }

/* ---------- equipe e mercado ---------- */
.equipe { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 10px; }
.pessoa { background: var(--panel); border-top: 3px solid var(--ink); padding: 15px 18px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pessoa.venc { border-top-color: var(--aviso); } .pessoa.vaga { background: none; border: 1px dashed var(--ink3); } .pessoa.aberta { background: var(--eu); }
.papel { font-size: 12.5px; color: var(--ink3); font-weight: 500; }
.pessoa h3 { font-size: 22px; font-weight: 700; font-stretch: 88%; line-height: 1.08; letter-spacing: -0.018em; margin-top: 2px; }
.bio { font-size: 13px; color: var(--ink3); margin-top: 4px; }
.ats { display: flex; flex-wrap: wrap; gap: 3px 14px; font-size: 13px; color: var(--ink2); margin-top: 8px; } .ats b { font-weight: 600; color: var(--ink); }
.pessoa .linha { display: flex; flex-wrap: wrap; gap: 3px 16px; font-size: 13px; color: var(--ink2); margin-top: 7px; } .pessoa .linha b { font-weight: 600; color: var(--ink); }
.sit { font-size: 12.5px; color: var(--ink3); margin-top: 5px; } .sit.alerta { color: var(--aviso); font-weight: 600; }
.pb { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; } .pessoa.vaga .bt { margin-top: 10px; }
.proposta { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 10px; grid-column: 1 / -1; }
.pl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; } .pl > span:first-child { color: var(--ink3); min-width: 150px; } .pl .obs { color: var(--aviso); font-size: 12.5px; flex-basis: 100%; }
.mercado { display: grid; gap: 0; border-top: 1px solid var(--line2); }
.mlin { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: center; gap: 8px 18px; padding: 11px 0; border-bottom: 1px solid var(--line2); }
.mlin.aberta { background: var(--eu); margin-inline: -12px; padding-inline: 12px; }
.m1 b { display: block; font-size: 15.5px; font-weight: 600; } .m1 small { display: block; font-size: 12.5px; color: var(--ink3); }
.mlin .ats { margin-top: 0; flex-direction: column; gap: 1px; font-size: 12.5px; }
.m3 { display: grid; gap: 2px; font-size: 13px; color: var(--ink2); } .m3 > span:first-child { display: flex; gap: 6px; align-items: center; }
.m4 { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

/* ---------- carnaval ---------- */
.leitq li { padding: 9px 0; border-bottom: 1px solid var(--line2); } .leitq li:last-child { border-bottom: 0; }
.lq1 { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; } .lq1 span { font-size: 12.5px; }
.regua { position: relative; height: 1px; margin: 12px 0 9px; background: var(--ink3); }
.regua::before, .regua::after { content: ''; position: absolute; top: -3px; width: 1px; height: 7px; background: var(--ink3); } .regua::before { left: 0; } .regua::after { right: 0; }
.regua i { position: absolute; top: -6px; width: 5px; height: 13px; margin-left: -2px; background: var(--ink); }
.leitq small { font-size: 12.5px; color: var(--ink3); }
.receita li { font-size: 13.5px; color: var(--ink2); padding: 6px 0; border-bottom: 1px solid var(--line2); } .receita li:last-child { border-bottom: 0; } .receita b { display: block; color: var(--ink); font-size: 13.5px; font-weight: 600; }

/* ---------- a Avenida ---------- */
.ordem:not(table) { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }          /* a tabela da ordem dos desfiles (Liga) também usa a classe: ela continua tabela */
.ordem span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 4px 9px; background: var(--raised); color: var(--ink2); }
.ordem span.foi { opacity: 0.5; } .ordem span.eu { background: var(--ink); color: var(--bg); font-weight: 600; }
.cenas { display: grid; gap: 0; margin-top: 16px; border-top: 1px solid var(--line); }
.cenas li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cenas .ic { font-size: 15px; line-height: 1.7; text-align: center; } .cenas .bom .ic { color: var(--bom); } .cenas .meio .ic { color: var(--ink3); } .cenas .ruim .ic { color: var(--ruim); }
.cenas b { font-family: var(--texto); font-size: 12.5px; font-weight: 600; color: var(--ink3); } .cenas p { font-family: var(--voz); font-size: 18.5px; line-height: 1.45; max-width: 62ch; }
.extras li { padding: 6px 0 6px 14px; border-left: 2px solid var(--line); margin-bottom: 6px; font-family: var(--voz); font-size: 17px; line-height: 1.4; } .extras li.bom { border-color: var(--bom); } .extras li.ruim { border-color: var(--ruim); }

/* ---------- a apuração ---------- */
.placar { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px 24px; margin: 16px 0 20px; padding: 18px 22px; background: var(--noite); color: var(--papel); box-shadow: 0 0 0 1px var(--line); }
.placar::before { content: ''; position: absolute; z-index: -1; left: -150px; top: 50%; width: 300px; height: 300px; margin-top: -150px; border-radius: 50%; background: repeating-conic-gradient(from 5deg, var(--e1) 0 9.9deg, var(--e2) 10deg 19.9deg, var(--e1) 20deg); opacity: 0.26; }
.pl-esc { display: flex; align-items: center; gap: 14px; min-width: 0; } .pl-esc b { font-family: var(--display); font-stretch: 84%; font-weight: 800; font-size: clamp(22px, 3.6vw, 34px); line-height: 1; letter-spacing: -0.02em; }
.pl-esc .pav { box-shadow: 0 0 0 2px var(--noite), 0 0 0 3px var(--papel); }
.pl-notas { display: flex; gap: 8px; }
.slot { width: 74px; padding: 7px 4px 9px; text-align: center; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--papel) 34%, transparent); }
.slot small { display: block; font-size: 10.5px; opacity: 0.72; } .slot b { display: block; font-size: 27px; font-weight: 600; line-height: 1.15; letter-spacing: -0.04em; }
.slot.aberta { background: color-mix(in srgb, var(--papel) 13%, transparent); } .slot.dez b { color: #F2C230; } .slot.baixa b { color: #FF9C94; } .slot.desc b { text-decoration: line-through; opacity: 0.5; }
@media (prefers-reduced-motion: no-preference) { .slot.nova b { animation: bate 0.34s cubic-bezier(0.2, 1.5, 0.5, 1) both; } }
@keyframes bate { from { transform: scale(1.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.pl-sub { text-align: right; } .pl-sub small { display: block; font-size: 10.5px; opacity: 0.72; } .pl-sub b { font-size: 32px; font-weight: 600; line-height: 1.1; letter-spacing: -0.04em; }
.nt { font-family: var(--mono); font-size: 13.5px; letter-spacing: -0.02em; } .nt.dez { color: var(--ouro); font-weight: 600; } .nt.baixa { color: var(--ruim); } .nt.desc { text-decoration: line-through; opacity: 0.5; } .nt.vazia { color: var(--line); }
/* título e queda: o leque de raios cresce ou some */
.prancha.festa::before { right: -260px; top: -260px; width: 640px; height: 640px; opacity: calc(var(--leque) * 2.6); } .prancha.luto::before { display: none; } .prancha.luto { box-shadow: inset 0 5px 0 var(--ink); }
.cinzas .kv, .legado .kv { margin: 14px 0 16px; }

/* ---------- tela inicial ---------- */
.inicio { display: grid; gap: 34px; }
.capa { position: relative; isolation: isolate; overflow: hidden; margin-inline: calc(-1 * var(--gut)); padding: clamp(40px, 7vw, 88px) var(--gut) clamp(34px, 6vw, 72px); background: var(--panel); min-height: clamp(400px, 42vw, 540px); display: flex; align-items: flex-end; }
.capa-txt { position: relative; max-width: 640px; }
.capa h1 { font-size: clamp(56px, 10.4vw, 136px); line-height: 0.9; font-weight: 800; font-stretch: 76%; letter-spacing: -0.012em; text-transform: uppercase; margin: 0 0 20px -0.03em; }
.lead { font-family: var(--voz); font-size: clamp(17.5px, 1.5vw, 20px); line-height: 1.45; max-width: 44ch; color: var(--ink); }
.grito { display: block; font-style: italic; font-weight: 500; font-size: clamp(25px, 2.7vw, 36px); line-height: 1.08; letter-spacing: -0.018em; margin-bottom: 10px; } .chama { font-style: italic; font-weight: 600; white-space: nowrap; }
.capa .linha-bt { margin-top: 26px; gap: 12px 22px; }
/* o sol do pavilhão: os raios nas cores da escola escolhida, com o ano de fundação no miolo */
.sol { position: absolute; z-index: -1; right: clamp(-200px, -8vw, -60px); top: 50%; width: clamp(420px, 56vw, 760px); aspect-ratio: 1; transform: translateY(-50%); }
.disco { position: absolute; inset: 0; border-radius: 50%; }
.disco.sem + .miolo { background: var(--panel); color: var(--ink); }
.disco.sem { background: repeating-conic-gradient(from 5deg, var(--ink) 0 9.9deg, var(--panel2) 10deg 19.9deg, var(--ink) 20deg); }
@media (prefers-reduced-motion: no-preference) { .disco { animation: gira 240s linear infinite; animation-delay: calc(var(--t, 0) * -1s); } }
.miolo { position: absolute; left: 50%; top: 50%; width: 24%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--e3); box-shadow: 0 0 0 clamp(5px, 0.9vw, 12px) var(--panel); display: grid; place-items: center; }
.miolo b { font-family: var(--mono); font-weight: 500; font-size: clamp(15px, 2.3vw, 30px); letter-spacing: -0.04em; }
/* o varal: os pavilhões de todas as escolas, lado a lado */
.varal { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); height: clamp(22px, 3.2vw, 40px); margin: -34px calc(-1 * var(--gut)) 0; overflow: hidden; }
.abre { font-family: var(--voz); font-size: 19px; line-height: 1.5; max-width: 62ch; color: var(--ink2); }
.continuar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 18px; background: var(--ink); color: var(--bg); }
.continuar > div { flex: 1 1 240px; min-width: 0; } .continuar b { display: block; font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.016em; line-height: 1.15; } .continuar span { font-size: 13.5px; opacity: 0.8; }
.continuar .bt { background: var(--bg); color: var(--ink); border-color: var(--bg); } .continuar .bt:hover:not(:disabled):not([aria-disabled="true"]) { box-shadow: inset 0 -5px 0 var(--marca); }
.continuar .pav { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--bg); }
.montar { display: grid; gap: 34px; }
.passo { scroll-margin-top: 18px; }
.passo > h2 { font-family: var(--voz); font-style: italic; font-weight: 500; font-size: clamp(25px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1.1; padding-top: 12px; margin-bottom: 16px; border-top: 1px solid var(--ink); }
.duas { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 14px; max-width: 640px; }
.campo { display: grid; gap: 5px; } .campo span { font-size: 13px; font-weight: 500; color: var(--ink2); }
.campo input, .campo select { min-height: 46px; padding: 10px 13px; border: 1px solid var(--ink3); border-radius: var(--raio); background: var(--raised); font-size: 16px; width: 100%; }
.campo input::placeholder { color: var(--ink3); opacity: 1; }
.grupos { display: flex; border: 1px solid var(--ink); border-radius: var(--raio); overflow: hidden; max-width: 640px; }
.gbt { flex: 1 1 0; min-height: 46px; padding: 9px 12px; background: none; border: 0; border-right: 1px solid var(--ink); cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink2); transition: background 0.16s, color 0.16s; }
.gbt:last-child { border-right: 0; } .gbt:hover { background: var(--panel); } .gbt[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
/* no celular, os grupos do Rio (seis botões) quebram em duas linhas de três */
@media (max-width: 620px) { .grupos:not(.circ) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--ink); } .grupos:not(.circ) .gbt { border-right: 0; background: var(--bg); padding: 9px 6px; font-size: 14px; } .grupos:not(.circ) .gbt:hover { background: var(--panel); } .grupos:not(.circ) .gbt[aria-pressed="true"] { background: var(--ink); color: var(--bg); } }
.gdesc { font-size: 14px; color: var(--ink3); margin: 10px 0 18px; max-width: 70ch; }
.escolas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 8px; }
.escolha { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1px 14px; align-content: start; text-align: left; padding: 14px 16px 15px; background: var(--panel); color: var(--ink); border: 0; border-radius: 0; cursor: pointer; transition: background 0.18s, color 0.18s; }
.escolha .pav { grid-row: span 2; align-self: start; box-shadow: 0 0 0 1px var(--line); } .escolha .nm { font-family: var(--display); font-weight: 700; font-stretch: 88%; font-size: 21px; line-height: 1.08; letter-spacing: -0.018em; } .escolha .lc { font-size: 12.5px; color: var(--ink3); }
.escolha .or { grid-column: 1 / -1; font-size: 13px; color: var(--ink2); margin-top: 9px; }
.escolha .mini { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 6px; } .escolha .mini .barra .tr { width: 38px; height: 4px; } .escolha .mini .barra { flex-direction: row-reverse; gap: 6px; } .escolha .mini b { min-width: 0; font-family: var(--texto); font-size: 11.5px; color: var(--ink3); }
.escolha:hover { background: var(--panel2); }
.escolha[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.escolha[aria-pressed="true"] :is(.lc, .or, .mini b) { color: inherit; opacity: 0.8; } .escolha[aria-pressed="true"] .pav { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--bg); }
.escolha[aria-pressed="true"] .barra .tr { background-image: linear-gradient(var(--ink3), var(--ink3)); } .escolha[aria-pressed="true"] .barra .tr i { background: var(--bg); }
/* a escola escolhida acompanha a rolagem, com o botão de começar sempre à mão */
.passo.fim { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-inline: calc(-1 * var(--gut)); padding: 14px var(--gut) calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--ink); }
.resumo { display: flex; align-items: center; gap: 14px; min-width: 0; } .resumo b { display: block; font-family: var(--display); font-size: 21px; font-weight: 700; font-stretch: 88%; letter-spacing: -0.018em; line-height: 1.1; } .resumo div > span { font-size: 13px; color: var(--ink3); }

/* ---------- modal, almanaque, rodapé, aviso flutuante ---------- */
.fundo { position: fixed; inset: 0; background: var(--veu); display: flex; align-items: flex-start; justify-content: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px 16px; overflow-y: auto; z-index: 40; }
.modal { background: var(--bg); border: 1px solid var(--ink); padding: 20px 24px 26px; width: min(980px, 100%); }
.cabm { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; } .cabm h2 { font-size: 34px; font-weight: 800; font-stretch: 86%; letter-spacing: -0.022em; }
.x { background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; padding: 0 6px; color: var(--ink); }
.apoio-fundo { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px 16px; background: var(--veu); overflow-y: auto; }
.apoio { position: relative; overflow: hidden; width: min(460px, 100%); margin: auto; padding: 30px 26px 24px; background: var(--bg); border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--marca); outline: none; }
.apoio-sol { position: absolute; right: -118px; top: -118px; width: 220px; height: 220px; border-radius: 50%; background: repeating-conic-gradient(from 6deg, var(--e1) 0 12deg, transparent 12deg 24deg); opacity: var(--leque); pointer-events: none; }
.apoio h2 { position: relative; font-family: var(--display); font-weight: 800; font-stretch: 86%; font-size: 40px; line-height: 0.98; letter-spacing: -0.026em; text-transform: uppercase; margin-bottom: 14px; }
.apoio p { position: relative; font-family: var(--voz); font-size: 18px; line-height: 1.4; margin: 0 0 10px; color: var(--ink); } .apoio .apoio-lead { font-size: 20px; font-style: italic; }
.pix { display: flex; align-items: center; gap: 10px; margin: 4px 0 16px; padding: 10px 10px 10px 12px; background: var(--panel); border: 1px solid var(--line); }
.pix code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 13px; word-break: break-all; color: var(--ink); }
.pix .bt { flex: none; min-width: 132px; } .pix .bt.feito { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pix-qr { width: 216px; max-width: 70%; margin: 6px auto 20px; padding: 10px; background: #FFFFFF; border: 1px solid var(--line); } .pix-qr svg { display: block; width: 100%; height: auto; }
.apoio-sai { width: 100%; }
.cota-ia { font-size: 12.5px; color: var(--ink3); }
.aviso .saidas { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; margin-left: 4px; }
.prancha.apoiar h1 { max-width: 16ch; }
.modal-apoiar { width: min(1040px, 100%); } .modal-apoiar .cabm { margin-bottom: 10px; } .modal-apoiar .prancha.apoiar { margin: 0; }
.apoiar-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px; align-items: start; margin-top: 8px; }
.apoiar-txt p { font-family: var(--voz); font-size: 19px; line-height: 1.5; margin: 0 0 14px; max-width: 58ch; }
.apoiar-ass { font-size: 17px !important; color: var(--ink2); } .apoiar-ass a { color: inherit; text-decoration: underline; text-underline-offset: 3px; } .apoiar-ass a:hover, .apoiar-ass a:focus-visible { color: var(--ink); }
.destravar { margin-top: 10px; }
.apoiar-pix { padding: 18px 18px 6px; background: var(--bg); border: 1px solid var(--ink); }
.apoiar-pix p { font-family: var(--voz); font-size: 17px; margin: 0 0 8px; } .apoiar-pix .apoiar-q { font-size: 18px; }
@media (max-width: 860px) { .apoiar-cols { grid-template-columns: minmax(0, 1fr); gap: 20px; } .apoiar-txt p { font-size: 17.5px; } }
@media (max-width: 620px) { .apoiar-pix { padding: 14px 14px 4px; } .aviso .saidas { display: flex; flex-direction: column; align-items: flex-start; margin: 6px 0 0; } }
@media (max-width: 620px) { .apoio { padding: 24px 18px 18px; box-shadow: 6px 6px 0 var(--marca); } .apoio h2 { font-size: 34px; } .apoio p { font-size: 17px; } .pix { flex-direction: column; align-items: stretch; } .pix .bt { width: 100%; } }
.prosa { display: grid; gap: 10px; max-width: 74ch; } .prosa p, .prosa li { font-size: 15px; line-height: 1.55; color: var(--ink2); } .prosa li { margin-left: 18px; list-style: disc; padding: 2px 0; }
.fontes li { padding: 7px 0; border-bottom: 1px solid var(--line2); font-size: 14px; } .fontes span { color: var(--ink3); font-size: 12.5px; }
.rodape { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: start; margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink3); }
.rodape p { max-width: 92ch; }
.assina { grid-column: 1 / -1; margin-top: 18px; font-size: 11.5px; color: var(--ink3); opacity: 0.85; } .assina a { color: inherit; text-decoration: underline; text-underline-offset: 2px; } .assina a:hover, .assina a:focus-visible { color: var(--ink); text-decoration: underline; }
#toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; width: min(560px, calc(100% - 32px)); pointer-events: none; }
#toast div { background: var(--ink); color: var(--bg); padding: 12px 18px; font-size: 14.5px; box-shadow: 0 0 0 1px var(--bg); }

/* ---------- telas estreitas ---------- */
@media (max-width: 980px) {
  .cols { grid-template-columns: minmax(0, 1fr); }
  .topo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .topo .marca { display: none; } .kpis { grid-column: 1 / -1; }
  .mlin { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .m4 { flex-direction: row; align-items: center; justify-content: flex-end; }
}
@media (max-width: 620px) {
  .topo { grid-template-columns: minmax(0, 1fr); gap: 10px; } .kpis { gap: 8px 16px; } .kpi { min-width: 68px; } .kpi b { font-size: 16px; }
  .giro li, .giro.diario li, .giro.outras li { grid-template-columns: minmax(0, 1fr); gap: 1px; } .giro .tp { padding: 0; }
  .carimbo { position: static; display: inline-block; margin-top: 14px; transform: rotate(-3deg); } .decidido b { padding-right: 0; }
  .duas { grid-template-columns: minmax(0, 1fr); }
  .mlin { grid-template-columns: minmax(0, 1fr); } .mlin .ats { flex-direction: row; } .m4 { justify-content: space-between; }
  .placar { grid-template-columns: minmax(0, 1fr); padding: 16px; } .placar::before { left: -120px; top: -90px; margin-top: 0; width: 250px; height: 250px; } .pl-notas { justify-content: space-between; } .slot { flex: 1; width: auto; } .pl-sub { text-align: left; display: flex; align-items: baseline; gap: 10px; }
  .rank li { grid-template-columns: 18px 20px minmax(0, 1fr) 70px 30px; gap: 7px; } .termo { columns: 1; }
  .pl > span:first-child { min-width: 0; flex-basis: 100%; }
  .acoes li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .seg.larga button { flex: 1 1 40%; }
  .t.plano th:nth-child(4), .t.plano td:nth-child(4) { display: none; } .t.plano th, .t.plano td { padding-inline: 5px; } .t.plano td:first-child, .t.plano th:first-child { padding-left: 0; } .t.plano td:last-child { padding-right: 0; }
  .t.plano .bt.mini { min-width: 30px; padding: 5px 7px; } .t.plano th { white-space: normal; } .t.plano .stp { gap: 3px; }
  .t.final .qc { display: none; } .so-cel { display: block; }
  .opcoes.grade2 { grid-template-columns: minmax(0, 1fr); } .t.fluxo .obs { display: none; } .t.fluxo th, .t.fluxo td { padding-inline: 5px; } .leituras li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .t.parcial { font-size: 13px; } .t.parcial th, .t.parcial td { padding: 7px 3px; } .t.parcial .nt { font-size: 12.5px; } .t.parcial .pav { display: none; }
  .t.parcial th:nth-child(7), .t.parcial td:nth-child(7), .t.parcial th:nth-child(9), .t.parcial td:nth-child(9) { display: none; }
  /* ----- celular: menos texto, cabeçalho curto e navegação no polegar ----- */
  .d-desk { display: none !important; } .d-cel { display: inline; }
  #app { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .faixa { height: 9px; background: linear-gradient(180deg, var(--e1) 0 5px, var(--e2) 5px 7px, var(--e3) 7px 9px); }
  .topo { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "quem data" "tempo tempo" "kpis kpis"; gap: 9px 12px; padding-block: 12px 10px; align-items: center; }
  .topo .quem { grid-area: quem; gap: 11px; } .topo .quem h1 { font-size: 21px; } .topo .quem p { font-size: 12.5px; margin-top: 1px; } .topo .quem .pav.gr { width: 40px; height: 40px; }
  .topo .data { display: contents; } .topo .data b { grid-area: data; font-size: 14.5px; text-align: right; line-height: 1.15; white-space: nowrap; } .topo .data > span { display: none; }
  .tempo { grid-area: tempo; margin-top: 2px; } .tempo i { height: 3px; } .tempo i.agora { height: 7px; } .tempo i.marco::after { display: none; }
  .kpis { grid-area: kpis; display: grid; grid-template-columns: 1.35fr 1fr 1fr auto; gap: 0 12px; }
  .kpi { min-width: 0; } .kpi > span:first-child { font-size: 11.5px; } .kpi b { font-size: 15.5px; white-space: nowrap; } .kpi .tr { display: none; }
  .pips { gap: 4px; padding-top: 6px; } .pips i { width: 9px; height: 9px; }
  .abas { display: none; }
  .nav5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0 4px env(safe-area-inset-bottom, 0px); background: var(--bg); border-top: 1px solid var(--ink); }
  .nav5 button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; padding: 8px 2px 6px; background: none; border: 0; color: var(--ink3); font-weight: 500; font-size: 11px; cursor: pointer; }
  .nav5 button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav5 button[aria-current="true"] { color: var(--ink); font-weight: 600; }
  .nav5 button[aria-current="true"]::before { content: ''; position: absolute; left: 14%; right: 14%; top: -1px; height: 5px; background: var(--marca); }
  .nav5 sup { position: absolute; top: 5px; left: calc(50% + 7px); font-size: 10px; line-height: 1.4; padding: 0 5px; }
  .veu { display: block; position: fixed; inset: 0; z-index: 28; background: var(--veu); }
  .gaveta { display: grid; position: fixed; left: 12px; right: 12px; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); z-index: 29; padding: 4px 18px; background: var(--bg); border: 1px solid var(--ink); }
  .gaveta button { min-height: 52px; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--line2); text-align: left; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.016em; color: var(--ink); cursor: pointer; }
  .gaveta .gv { display: flex; align-items: center; gap: 14px; } .gaveta .gv svg { flex: none; color: var(--ink2); }
  .gaveta .gv-t { display: grid; gap: 2px; } .gaveta .gv-t small { font-family: var(--texto); font-weight: 400; font-size: 13px; letter-spacing: 0; color: var(--ink3); }
  .gaveta .gv sup, .nav5 button sup { font-family: var(--mono); font-size: 10px; }
  .gaveta button:last-child { border-bottom: 0; } .gaveta button[aria-current="true"] { box-shadow: inset 5px 0 0 var(--marca); padding-left: 14px; } .gaveta .sair { font-family: var(--texto); font-weight: 500; font-size: 14px; letter-spacing: 0; color: var(--ink3); }
  #toast { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .uma { gap: 20px; } .cols { gap: 20px; }
  /* a pauta, mais curta */
  .prancha { margin-inline: -16px; padding: 18px 16px 20px; } .prancha .cab { display: none; } .prancha::before { right: -120px; top: -120px; width: 240px; height: 240px; }
  .prancha h1 { font-size: 31px; margin: 6px 0 10px; } .caso { font-size: 17.5px; line-height: 1.45; } .narra p { font-size: 17.5px; } .cenas p { font-size: 17.5px; }
  .opcoes { gap: 6px; margin-top: 16px; } .opcao { padding: 13px 14px; } .opcao .rot { font-size: 19px; } .opcao .desc { font-size: 14.5px; }
  .linha-bt.fecho .bt.pri { width: 100%; min-height: 50px; } .acoes small { display: none; } .acoes li { flex-direction: row; align-items: center; gap: 10px; padding: 8px 0; }
  .aviso { font-size: 13.5px; padding: 9px 12px; }
  .nota-pe { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; margin-top: 8px; } .nota-pe::before { content: '+ '; font-weight: 700; color: var(--ink); }
  .nota-pe.aberta { white-space: normal; } .nota-pe.aberta::before { content: '− '; } .nota-pe.fixa { white-space: normal; cursor: auto; } .nota-pe.fixa::before { content: none; }
  .mural .seg { margin-top: 2px; }
  .manchete { font-size: 21px; } .pergunta.grande { font-size: 22px; }
  /* equipe e mercado, em cartões curtos */
  .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; } .kv .v { font-size: 20px; } .kv .o { display: none; }
  .equipe { gap: 6px; } .pessoa { padding: 12px 14px; gap: 6px; } .pessoa h3 { font-size: 19px; } .bio:not(.est) { display: none; } .bio.est { margin-top: 2px; }
  .ats, .pessoa .linha { margin-top: 4px; gap: 2px 12px; } .sit { margin-top: 3px; }
  .mlin { gap: 4px; padding: 10px 0; } .m1 small:not(.est) { display: none; } .mlin .ats { gap: 2px 12px; } .m3 { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12.5px; }
  .m4 { flex-direction: row; align-items: center; margin-top: 2px; }
  .t.ordem th:nth-child(n+4), .t.ordem td:nth-child(n+4) { display: none; }
  .t.carreira thead { display: none; } .t.carreira, .t.carreira tbody { display: block; }
  .t.carreira tr { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "ano esc pos" "ano div pos" "ano en en"; gap: 3px 10px; padding: 12px 0; border-bottom: 1px solid var(--line2); }
  .t.carreira td { padding: 0; border: 0; } .t.carreira tr.prep { border-bottom-style: dashed; }
  .t.carreira .c-ano { grid-area: ano; width: auto; padding: 1px 0 0 12px; } .t.carreira .c-esc { grid-area: esc; white-space: normal; } .t.carreira .c-div { grid-area: div; font-size: 13px; color: var(--ink3); }
  .t.carreira .c-en { grid-area: en; margin-top: 3px; } .t.carreira .c-pos { grid-area: pos; }
  .t.carreira .pos-sub { display: block; margin-top: 1px; } .t.carreira .pos-sub > * { display: inline; margin: 0; } .t.carreira .pos-sub .mv { margin-left: 6px; }
  .topo { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
  .col { gap: 20px; } .dobra + .dobra { margin-top: -20px; }
  .opcao.tam:not([aria-pressed="true"]) .desc { display: none; } .opcao.tam { padding: 11px 14px; }
  .mlin { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "m1 tag" "ats ats" "m3 bt"; align-items: center; }
  .m1 { grid-area: m1; } .mlin .ats { grid-area: ats; } .m3 { grid-area: m3; } .m4 { display: contents; } .m4 .tag { grid-area: tag; justify-self: end; } .m4 .bt { grid-area: bt; }
  .t.fluxo { font-size: 13.5px; } .t.fluxo td small { display: block; margin: 0; }
  .rodape { grid-template-columns: minmax(0, 1fr); margin-top: 34px; font-size: 12px; } .assina { margin-top: 10px; }
  /* tela inicial */
  .inicio { gap: 26px; } .montar { gap: 28px; }
  .capa { min-height: 0; padding: 168px 16px 30px; display: block; }
  .capa h1 { font-size: clamp(50px, 16.4vw, 80px); margin-bottom: 14px; } .lead { font-size: 17.5px; max-width: none; } .grito { font-size: 27px; }
  .sol { right: -120px; top: -240px; width: 400px; transform: none; }
  .miolo b { font-size: 17px; }
  .varal { margin-top: -26px; height: 26px; } .varal .pav:nth-child(n+17) { display: none; }
  .abre { font-size: 17.5px; }
  .escolha { padding: 12px 14px 13px; } .escolha .nm { font-size: 20px; }
  .passo.fim { flex-wrap: nowrap; gap: 10px; padding-block: 9px calc(9px + env(safe-area-inset-bottom, 0px)); } .passo.fim .bt { flex: none; min-height: 46px; padding: 8px 16px; font-size: 15px; } .resumo { gap: 10px; } .resumo .pav.gr { width: 36px; height: 36px; } .resumo b { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .resumo > div { min-width: 0; } .resumo div > span { display: none; } .passo.fim .resumo { flex: 1 1 0; contain: inline-size; }        /* nome comprido (Renascer de Nova Iguaçu) não alarga a página */
  .cabm h2 { font-size: 28px; } .modal { padding: 16px 16px 22px; }
}

/* palpites da bolha, entre a Avenida e a apuração */
.bolha-lista { list-style: none; margin: 18px 0 6px; padding: 0; }
.bolha-lista li { display: grid; grid-template-columns: 20px 20px minmax(0, 1fr) auto; align-items: start; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line2); font-size: 14.5px; }
.bolha-lista li:last-child { border-bottom: 0; }
.bolha-lista .p { font-size: 12px; color: var(--ink3); text-align: right; padding-top: 2px; }
.bolha-lista .n { min-width: 0; font-weight: 600; } .bolha-lista .n small { display: block; margin-top: 2px; font-weight: 400; font-size: 13px; line-height: 1.4; color: var(--ink2); }
.bolha-lista .n small.bom { color: var(--bom); } .bolha-lista .n small.ruim { color: var(--ruim); }
.bolha-lista li.eu { background: var(--eu); margin-inline: -10px; padding-inline: 10px; border-bottom-color: transparent; }
.bolha-lista .z { padding-top: 1px; }
.porta { margin-top: 14px; font-weight: 600; } .porta small { display: block; font-weight: 400; font-size: 12px; color: var(--ink3); text-transform: uppercase; letter-spacing: 0.06em; }
.porta + .seu-texto { margin-top: 6px; }
.modal-cartao { width: min(560px, 100%); } .modal-cartao .cabm { margin-bottom: 12px; }
.cartao-img { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 3 / 4; border: 1px solid var(--line); background: var(--panel); }
.modal-cartao .analise { aspect-ratio: 3 / 4; justify-content: center; border: 1px dashed var(--line); }
.cartao-bt { margin-top: 12px; }
.de-fora { display: block; margin: 6px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--ink2); } .tag.fora { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ficha-de { font-family: var(--voz); font-style: italic; color: var(--ink2); margin: 8px 0; }
.cartao-ops { display: grid; gap: 10px; margin-bottom: 12px; } .cartao-op { display: grid; gap: 4px; }
.cartao-op-rot { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink3); }
.cartao-ops .seg.larga { margin-bottom: 0; flex-wrap: nowrap; } .cartao-ops .seg.larga button { flex: 1 1 0; min-width: 0; padding: 9px 6px; }

/* a janelinha de "ainda não dá" */
.trava-fundo { position: fixed; inset: 0; z-index: 70; background: var(--veu); display: grid; place-items: center; padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.trava-jan { background: var(--bg); border: 1px solid var(--ink); border-top: 6px solid var(--marca); width: min(440px, 100%); padding: 18px 20px 20px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25); }
.trava-jan h2 { font-family: var(--display); font-size: 24px; margin: 0 0 6px; }
.trava-jan p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink2); max-width: 52ch; }
.trava-jan .linha-bt { margin-top: 16px; }
@media (prefers-reduced-motion: no-preference) { .trava-jan { animation: trava-entra .14s ease-out; } @keyframes trava-entra { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } } }

/* a escola criada pelo jogador */
.editor-esc { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 18px 28px; align-items: start; max-width: 860px; }
.ed-campos { display: grid; gap: 14px; min-width: 0; }
.cores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cores .cor { position: relative; display: inline-flex; }
.cores input[type="color"] { width: 54px; height: 46px; padding: 3px; border: 1px solid var(--ink3); border-radius: var(--raio); background: var(--raised); cursor: pointer; }
.cores .x { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ink); background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1; cursor: pointer; }
.ed-previa { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 18px 14px; border: 1px solid var(--line); background: var(--panel); }
.ed-previa .pav.selo.gg { width: 104px; height: 104px; box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--bg); } .ed-previa b { font-family: var(--display); font-size: 20px; line-height: 1.1; overflow-wrap: anywhere; } .ed-previa > span { font-size: 13px; color: var(--ink3); }
@media (max-width: 620px) { .editor-esc { grid-template-columns: minmax(0, 1fr); } .ed-previa { order: -1; } }

/* o código de save */
.kpi .kpi-cod { display: block; margin-top: 3px; font-size: 11.5px; font-family: var(--mono); letter-spacing: 0.04em; color: var(--ink3); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.kpi .kpi-cod:hover, .kpi .kpi-cod:focus-visible { color: var(--ink); }
.cod-jan h2 { margin-bottom: 8px; } .cod-jan p + p { margin-top: 8px; } .cod-jan .aviso { margin-top: 10px; }
.cod-grande { font-family: var(--mono); font-weight: 600; font-size: 46px !important; letter-spacing: 0.22em; color: var(--ink) !important; text-align: center; padding: 10px 0 6px; margin: 4px 0 6px !important; border: 1px dashed var(--line); background: var(--panel); }
.cod-txt { display: block; width: 100%; margin-top: 12px; min-height: 58px; padding: 8px 12px; font-family: var(--mono); font-size: 32px; letter-spacing: 0.3em; text-align: center; text-transform: uppercase; border: 1px solid var(--ink); border-radius: var(--raio); background: var(--raised); color: var(--ink); }
.cod-txt:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* as instruções de atalho na tela inicial */
.trava-txt p + p { margin-top: 8px; } .trava-txt .dica { color: var(--ink3); font-size: 13.5px; }

/* os botões da página inicial: dois por linha no computador, um embaixo do outro no celular */
.capa .botoes-ini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; max-width: 560px; }
.capa .botoes-ini .bt.gde { width: 100%; padding-inline: 18px; text-align: center; line-height: 1.2; }
.capa .como-joga { display: inline-block; margin-top: 16px; }
@media (max-width: 640px) {
  .capa .botoes-ini { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; max-width: none; }
  .capa .botoes-ini .bt.gde { min-height: 50px; padding-block: 12px; }
}

/* ---------- pop-up da atualização ---------- */
.trava-jan.novidade { position: relative; width: min(500px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 22px 24px 22px; }
.trava-jan.novidade h2 { font-size: 26px; line-height: 1.05; margin: 0 28px 12px 0; }
.trava-jan.novidade .trava-txt { max-width: none; }
.trava-jan.novidade .trava-txt p { color: var(--ink); font-size: 16px; }
.novo-lista { list-style: none; margin: 6px 0 12px; padding: 0; }
.novo-lista li { position: relative; padding: 3px 0 3px 18px; font-size: 15.5px; line-height: 1.38; color: var(--ink); }
.novo-lista li::before { content: ""; position: absolute; left: 2px; top: 0.78em; width: 7px; height: 7px; background: var(--viva); border-radius: 50%; }
.novo-fim { font-family: var(--voz); font-style: italic; font-size: 18px; margin-top: 4px; }
.bsp { display: inline-block; width: 1.5em; height: 1em; vertical-align: -0.12em; margin-left: 2px; box-shadow: 0 0 0 1px var(--line); }
.trava-x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; display: grid; place-items: center; background: transparent; border: 0; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.trava-x:hover, .trava-x:focus-visible { background: var(--panel2); outline: 2px solid var(--ink); outline-offset: -2px; }
@media (max-width: 620px) { .trava-jan.novidade { padding: 18px 16px 16px; } .trava-jan.novidade h2 { font-size: 23px; } .novo-lista li { font-size: 15px; } }

.imp { font-size: 12.5px; color: var(--ink2); margin-top: 6px; max-width: 70ch; line-height: 1.4; } .imp b { color: var(--ink); font-weight: 600; } .imp .obs { color: var(--ink3); }
.imp.bom b { color: var(--bom); } .imp.ruim b { color: var(--ruim); }
.m1 .imp { font-size: 12px; margin-top: 4px; }
details.como { margin-top: 12px; } details.como summary { cursor: pointer; font-size: 13px; color: var(--ink2); } details.como ul { padding-left: 18px; margin: 6px 0; }
.novo-h { font-family: var(--voz); font-size: 34px; font-weight: 700; line-height: 1.15; margin: 12px 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.novo-h small { font-size: 0.6em; font-style: italic; opacity: .8; }
.trava-jan.novidade .trava-txt p.novo-ass { font-size: 12px; line-height: 1.3; opacity: .8; margin: 2px 0 0; }
.novo-ass a { color: inherit; text-decoration: underline; }
.trava-jan.novidade .trava-txt p.novo-h { font-size: 34px; line-height: 1.1; }
.trava-jan.novidade .trava-txt p.novo-fim { font-size: 20px; }
@media (max-width: 620px) { .trava-jan.novidade .trava-txt p.novo-h { font-size: 30px; } }
.nome-ficha { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: var(--ink3, #999); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nome-ficha:hover, .nome-ficha:focus-visible { text-decoration-color: currentColor; }
.modal-ficha { max-width: 640px; }
.ficha-nome { font-size: 28px; font-weight: 700; font-stretch: 88%; line-height: 1.1; margin: 4px 0 2px; }
.ficha-sit { color: var(--ink3); font-size: 14px; margin-bottom: 12px; }
.ficha-kv { margin-bottom: 12px; }
.ficha-tab { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin: 4px 0 10px; }
.ficha-tab table { margin: 0; width: 100%; border-collapse: collapse; }
.ficha-tab thead th { background: var(--panel2); border-bottom: 1px solid var(--line); padding: 8px 10px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink2); }
.ficha-tab tbody td { padding: 9px 10px; border: 0; }
.ficha-tab tbody tr:nth-child(odd) { background: var(--bg); }
.ficha-tab tbody tr:nth-child(even) { background: var(--panel); }
.ficha-tab .f-esc { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ficha-tab .f-esc svg, .ficha-tab .f-esc .pav { flex: none; width: 22px; height: 22px; }
.ficha-tab table { table-layout: auto; }
.ficha-tab td, .ficha-tab th { white-space: nowrap; } .ficha-tab .f-esc span { white-space: normal; line-height: 1.15; }
.ficha-tab .f-esc span { overflow-wrap: anywhere; }
@media (max-width: 620px) { .ficha-tab thead th, .ficha-tab tbody td { padding: 8px 5px; font-size: 12.5px; } .ficha-tab thead th { font-size: 10.5px; letter-spacing: 0; } .ficha-nome { font-size: 24px; } }

/* janela do ranking: cabe na tela, a lista rola por dentro e o × e o "Fechar" ficam sempre à vista */
.trava-jan.rank-jan { position: relative; display: flex; flex-direction: column; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: hidden; }
.rank-jan .rank-corpo { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.rank-jan h2 { margin-right: 36px; }
.rank-jan .rank-pe { flex: none; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.rank-jan .rank-lista { margin-top: 12px; }
.rank-jan .rank-cab { flex: none; padding-bottom: 8px; }
.rank-jan .rank-corpo { padding-top: 4px; }

/* ---------- conquistas, rivalidades e galeria ---------- */
.selo { display: block; flex: none; }
.conqs { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.conq { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); background: var(--raised); border-radius: var(--raio); }
.conq b { display: block; font-family: var(--display); font-size: 16px; line-height: 1.15; }
.conq p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.35; color: var(--ink2); }
.conq.trav { background: transparent; border-style: dashed; } .conq.trav b { color: var(--ink3); }
.niv { display: inline-block; margin-top: 2px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink3); }
.niv.bronze { color: #9A5E33; } .niv.prata { color: #6B7680; } .niv.ouro { color: var(--ouro); } .niv.lenda { color: var(--ink); font-weight: 700; }
.conq.trav .niv { color: var(--ink3); }
.conq-novas { margin: 14px 0; padding: 16px; border: 2px solid var(--ink); background: var(--folha); }
.conq-novas .cn-rot { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); margin-bottom: 10px; }
.conq-novas ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.conq-novas li { display: flex; gap: 14px; align-items: center; }
.conq-novas b { display: block; font-family: var(--display); font-size: 22px; line-height: 1.1; }
.conq-novas p { margin: 4px 0 0; font-size: 13.5px; color: var(--ink2); }
.conq-mesa { margin-bottom: 14px; } .conq-mesa .conq-novas { margin: 0 0 8px; }
.rivais { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 12px; }
.rival { display: flex; align-items: center; gap: 10px; } .rival b { display: block; font-size: 14px; } .rival span { font-size: 12px; color: var(--ink3); }
.cal.mem li { align-items: baseline; } .cal.mem .tag { margin-right: 8px; }
.tag.mem-titulo { background: var(--ouro-soft); color: var(--ouro); } .tag.mem-revanche { background: var(--bom-soft); color: var(--bom); } .tag.mem-salvou, .tag.mem-caiu { background: var(--ruim-soft); color: var(--ruim); }
.galeria { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 12px; }
.gal { border: 1px solid var(--line); padding: 12px 14px; background: var(--raised); border-radius: var(--raio); }
.gal.aqui { border-color: var(--ink); }
.gal-cab { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.gal-cab b { display: block; font-family: var(--display); font-size: 18px; } .gal-cab span { font-size: 12.5px; color: var(--ink3); }
.gal-num { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0; font-size: 13px; color: var(--ink2); }
.gal-selos { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; } .gal-selos .mais { font-family: var(--mono); font-size: 12px; color: var(--ink3); }
@media (max-width: 560px) { .conqs { grid-template-columns: 1fr; } .conq-novas b { font-size: 19px; } }

/* ---------- dois espaços de partida ---------- */
.inicio .continuar.esp2 { margin-top: -16px; border-top: 1px solid rgba(246, 240, 223, 0.18); }
.continuar .esp-aviso { display: block; margin-top: 6px; font-size: 13px; opacity: 1; color: var(--ouro-soft); } .continuar .esp-aviso .link { color: var(--bg); text-decoration: underline; }
.espacos-op { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.espaco { display: grid; gap: 4px; text-align: left; padding: 12px 14px; background: var(--raised); border: 1px solid var(--line); border-radius: var(--raio); cursor: pointer; color: var(--ink); font: inherit; }
.espaco b { font-family: var(--display); font-size: 17px; } .espaco span { font-size: 13px; color: var(--ink3); }
.espaco[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 5px 0 0 var(--marca); padding-left: 18px; }
@media (max-width: 560px) { .espacos-op { grid-template-columns: 1fr; } }

.enr-lin { display: grid; grid-template-columns: 1.3fr 1fr 1.5fr auto; gap: 8px 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line2); }
.enr-lin > div { display: grid; gap: 2px; font-size: 13px; color: var(--ink2); min-width: 0; } .enr-lin > div:first-child b { font-family: var(--display); font-size: 17px; color: var(--ink); }
.enr-lin .acoes { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; } .enr-lin.meu { box-shadow: inset 4px 0 0 var(--marca); padding-left: 14px; }
@media (max-width: 620px) { .enr-lin { grid-template-columns: 1fr; gap: 6px; } .enr-lin .acoes { justify-content: flex-start; } }

/* pop-up da atualização de novembro: o título na voz do jogo, em itálico */
.trava-jan.novidade.nov h2 { font-family: var(--voz); font-style: italic; font-weight: 500; font-size: 32px; letter-spacing: -0.01em; }
@media (max-width: 620px) { .trava-jan.novidade.nov h2 { font-size: 28px; } }
/* Medalha de Ouro e rainha de bateria */
.medalhas tr.eu td { font-weight: 600; }
.medalhas td:last-child { color: var(--ink2); }
.ficha-med { margin-top: 8px; font-size: 15px; }
.pessoa.rainha { max-width: 520px; }
/* sorteio da ordem dos desfiles */
.sorteio { margin-top: 6px; }
.sorteio .trincas { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--ink2); margin: 8px 0 12px; }
.sorteio .trinca b { color: var(--ink); margin-right: 4px; }
.bola { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--raised) 0 18%, var(--ouro-soft) 60%, color-mix(in srgb, var(--ouro) 35%, var(--ouro-soft)) 100%); border: 1px solid color-mix(in srgb, var(--ouro) 55%, var(--line)); font-family: var(--mono); font-weight: 600; font-size: 14px; color: var(--ink); flex: none; }
.bola.mini { width: 22px; height: 22px; font-size: 11px; margin-left: 6px; vertical-align: 1px; }
.bola.grande { width: 64px; height: 64px; font-size: 26px; }
.bola.nova { animation: bola-rola .55s cubic-bezier(.2, .8, .3, 1.25); }
@keyframes bola-rola { from { transform: translateY(-26px) rotate(-200deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bola.nova { animation: none; } }
.sorteio .globo { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin: 10px 0 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--raio); }
.sorteio .lance-ult { padding: 10px 14px; margin: 10px 0 14px; background: var(--panel); border-left: 3px solid var(--marca); }
.sorteio .noites { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 6px 0 4px; }
.sorteio .noite { border: 1px solid var(--line); border-radius: var(--raio); padding: 8px 10px; background: var(--raised); min-width: 0; }
.sorteio .noite h4 { margin: 0 0 6px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink2); }
.sorteio .noite ol { list-style: none; margin: 0; padding: 0; }
.sorteio .noite li { display: flex; align-items: center; gap: 6px; padding: 3px 0; border-top: 1px solid var(--line2); font-size: 14px; min-width: 0; }
.sorteio .noite li:first-child { border-top: 0; }
.sorteio .noite li .en { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sorteio .noite li.eu { background: var(--eu); margin: 0 -10px; padding: 3px 10px; }
.sorteio .noite .pos { width: 26px; flex: none; color: var(--ink3); font-size: 12px; }
.sorteio .no-dia { margin: 6px 0 0; font-size: 13px; }
.sorteio .vez { margin-top: 14px; padding: 12px 14px; border: 2px solid var(--marca); border-radius: var(--raio); }
.sorteio .vez p { margin: 0 0 10px; }
.sorteio .ops { display: flex; flex-wrap: wrap; gap: 8px; }
.sorteio .ops .bt { flex-direction: column; gap: 0; min-width: 92px; line-height: 1.2; }
.sorteio .ops .bt small { font-size: 11px; font-weight: 400; color: inherit; opacity: .75; }
.sorteio .op-noite { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; }
.sorteio .op-noite .sub { width: 100%; margin: 6px 0 0; }
.sorteio .lances { margin-top: 14px; font-size: 14px; }
.sorteio .lances summary { cursor: pointer; color: var(--ink2); }
.sorteio .lances ol { margin: 8px 0 0; padding-left: 20px; }
.sorteio .lances li { margin: 3px 0; }
