/* V471 · Desfecho da fase 24 em cartões (finale-cards.mjs): ícone em pixel art, número em destaque, texto curto e selo da fonte.
   Cartão com fonte é um link inteiro (o <a> do selo cobre o cartão); sem fonte, sem link.
   V496 · Tom sóbrio: fundo escuro liso, borda discreta, UMA cor de destaque (barra à esquerda e nome do lado) e cores com pouca saturação.
   Tamanhos base por tela (--t texto, --h número, --kk título do cartão, --s selo, --tile ícone) multiplicados por --fc-k,
   que o pager (finale-pager.mjs) escolhe para encher as duas páginas sem rolar nem cortar. */
/* V519 · Cartões em camadas: fechado, o cartão mostra o ícone, o título, o número em destaque (bem grande), o texto curto e, nos
   cartões de comparação, a mini barra. O texto completo, DE ONDE VEIO, a linha extra (why) e as fontes ficam na camada que abre com um
   toque/clique (ou Enter/Espaço): .fc-sheet, por cima dos cartões da tela, com uma cópia aberta do cartão ([data-open]). Sinal + / −. */
#stage .cinema-card{--t:18;--h:36;--kk:10;--s:15;--tile:34;--pad:9}
#stage .cinema-card .fc-grid{list-style:none;margin:0;padding:0;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-auto-rows:var(--fc-row,auto);align-items:stretch}
#stage .cinema-card .fc-item{margin:0;padding:0;min-width:0;display:flex;container-type:inline-size}
#stage .cinema-card .fc-card{position:relative;flex:1;min-width:0;display:grid;grid-template-columns:calc(var(--tile)*1px*var(--fc-k,1)) minmax(0,1fr) auto;grid-template-areas:"tile head head" "hero hero hero" "text text text" "bars bars bars" "who who plus";grid-template-rows:auto auto auto auto 1fr;gap:calc(5px*var(--fc-k,1)) calc(9px*var(--fc-k,1));align-content:stretch;box-sizing:border-box;padding:calc(var(--pad)*1px*var(--fc-k,1)) calc(10px*var(--fc-k,1)) calc((var(--pad) - 3)*1px*var(--fc-k,1));background:#121827;border:2px solid #2b3550;box-shadow:inset 3px 0 0 var(--fc-a);color:#ece8d8;text-align:left;cursor:pointer}
#stage .cinema-card .fc-tile{grid-area:tile;align-self:start;display:grid;place-items:center;width:calc(var(--tile)*1px*var(--fc-k,1));height:calc(var(--tile)*1px*var(--fc-k,1));background:var(--fc-bg);border:1px solid var(--fc-s)}
#stage .cinema-card .fc-icon{width:calc((var(--tile) - 8)*1px*var(--fc-k,1));height:calc((var(--tile) - 8)*1px*var(--fc-k,1));image-rendering:pixelated}
#stage .cinema-card .fc-head{grid-area:head;align-self:center;min-width:0;display:flex;flex-direction:column;gap:2px}
#stage .cinema-card .fc-kicker{font:calc(var(--kk)*1px*var(--fc-k,1)*var(--fc-kfit,1))/1.5 'Brasil Arcade',monospace;letter-spacing:1px;color:var(--fc-a);overflow-wrap:anywhere}
#stage .cinema-card .fc-hero{grid-area:hero;min-width:0;font:calc(var(--h)*1px*var(--fc-k,1)*var(--fc-hfit,1))/.95 'VT323',monospace;color:var(--fc-ch,var(--fc-h));white-space:nowrap;overflow:hidden;text-shadow:2px 2px 0 #05081a}
#stage .cinema-card .fc-hero[data-hfit=hide]{display:none}
#stage .cinema-card .fc-hero i{font-style:normal;font-size:.62em;padding:0 .2em;color:var(--fc-ca,var(--fc-a));text-shadow:none;vertical-align:.12em}
#stage .cinema-card .fc-text{grid-area:text;margin:0;font:calc(var(--t)*1px*var(--fc-k,1))/1.1 'VT323',monospace;color:#ece8d8}
#stage .cinema-card .fc-hl{font-weight:400;color:var(--fc-h);background:#ffffff14;background:color-mix(in srgb,var(--fc-a) 20%,transparent);padding:0 2px}
/* Fechado: o texto curto; aberto (na camada), o completo. */
#stage .cinema-card .fc-short{display:inline}
#stage .cinema-card .fc-text:has(.fc-short) .fc-long{display:none}
#stage .cinema-card .fc-card:not([data-open]) :is(.fc-whyline,.fc-links){display:none}
/* V519 · Mini barra de comparação: os dois números do texto, proporcionais, em blocos de pixel nas cores do tema do cartão
   (o mais antigo, ou o do Brasil, no tom de sombra; o outro, no tom principal). */
/* .fc-meta junta a barra e o selo de origem: no computador cada um vai para a sua área do cartão; no celular deitado, dividem uma linha. */
#stage .cinema-card .fc-meta{display:contents}
#stage .cinema-card .fc-bars{grid-area:bars;display:grid;gap:calc(3px*var(--fc-k,1));align-self:start}
#stage .cinema-card .fc-bars{grid-template-columns:auto minmax(0,1fr) auto}
#stage .cinema-card .fc-bar{display:grid;grid-column:1/-1;grid-template-columns:subgrid;align-items:center;column-gap:calc(6px*var(--fc-k,1));font:max(15px,calc(var(--t)*.9px*var(--fc-k,1)))/1 'VT323',monospace;color:#c4cbe0}
#stage .cinema-card .fc-bar b{font-weight:400;color:var(--sb-muted);white-space:nowrap;overflow:hidden;text-overflow:clip}
#stage .cinema-card .fc-bar i{display:block;height:calc(9px*var(--fc-k,1));background:#0b0e17;box-shadow:inset 0 0 0 1px #262f47}
#stage .cinema-card .fc-bar s{display:block;width:var(--w);min-width:3px;height:100%;background:repeating-linear-gradient(90deg,var(--fc-cs,var(--fc-s)) 0 4px,#0b0e17 4px 5px)}
#stage .cinema-card .fc-bar[data-bar="1"] s{background:repeating-linear-gradient(90deg,var(--fc-ca,var(--fc-a)) 0 4px,#0b0e17 4px 5px)}
#stage .cinema-card .fc-bar em{font-style:normal;color:var(--fc-ch,var(--fc-h));white-space:nowrap}
/* Sinal discreto de que o cartão abre (+) e fecha (−). */
#stage .cinema-card .fc-plus{grid-area:plus;justify-self:end;align-self:end;display:grid;place-items:center;width:calc(16px*var(--fc-k,1));height:calc(16px*var(--fc-k,1));font:calc(18px*var(--fc-k,1))/1 'VT323',monospace;color:var(--fc-a);border:1px solid #2b3550}
#stage .cinema-card .fc-plus::before{content:'+'}
#stage .cinema-card .fc-card:is([data-open],[aria-expanded=true]) .fc-plus::before{content:'−'}
#stage .cinema-card .fc-card[aria-expanded=true]{border-color:var(--fc-s)}
#stage .cinema-card .fc-card:hover{border-color:var(--fc-s)}
#stage .cinema-card .fc-card:hover .fc-plus{color:#fff;border-color:var(--fc-s)}
#stage .cinema-card .fc-card:focus-visible{outline:3px solid #f0e2a0;outline-offset:-1px}
/* V512 · Linha extra do cartão (why: POR QUE IMPORTA / O QUE AINDA FALTA), na camada aberta, logo abaixo do texto. */
#stage .cinema-card .fc-whyline{grid-area:why;margin:0;padding-top:calc(6px*var(--fc-k,1));border-top:1px solid #2b3550;font:calc(var(--t)*1px*var(--fc-k,1))/1.15 'VT323',monospace;color:#b4bdd2}
#stage .cinema-card .fc-whylabel{margin-right:4px;font:calc(var(--kk)*.9px*var(--fc-k,1))/1.5 'Brasil Arcade',monospace;font-weight:400;letter-spacing:1px;color:var(--fc-a)}
/* V514 · Selo de origem da conquista: discreto, na linha do título; a cor diz se o mérito é daqui. */
#stage .cinema-card .fc-origin{grid-area:who;justify-self:start;align-self:end;display:inline-block;margin:0;padding:0 calc(4px*var(--fc-k,1));border:1px solid currentColor;font:calc(var(--kk)*.8px*var(--fc-k,1))/1.6 'Brasil Arcade',monospace;letter-spacing:1px;white-space:nowrap;vertical-align:middle;color:#a9b4cf}
#stage .cinema-card .fc-origin[data-origin=feito-aqui]{color:#95b878}
#stage .cinema-card .fc-origin[data-origin=onda-do-mundo]{color:#6fa3c4}
#stage .cinema-card .fc-origin[data-origin=meio-a-meio]{color:#c2b47c}
#stage .cinema-card .fc-origin[data-origin=heranca]{color:#c28f6c}
#stage .cinema-card .fc-links{grid-area:links;display:flex;flex-wrap:wrap;align-items:center;gap:calc(6px*var(--fc-k,1));align-self:end}
#stage .cinema-card .fc-src{display:inline-flex;align-items:center;gap:5px;box-sizing:border-box;min-height:calc(var(--s)*1.7px*var(--fc-k,1));padding:calc(2px*var(--fc-k,1)) calc(7px*var(--fc-k,1));font:calc(var(--s)*1px*var(--fc-k,1))/1 'VT323',monospace;letter-spacing:.5px;color:var(--fc-h);background:#0d1018;border:1px solid var(--fc-s);text-decoration:none}
#stage .cinema-card a.fc-src:hover{background:var(--fc-s);color:#fff}
#stage .cinema-card .fc-none{color:#b8b0c8;background:transparent;border-style:dashed;border-color:#5b4f72}
#stage .cinema-card a.fc-src:focus-visible{outline:3px solid #f0e2a0;outline-offset:2px}
/* Dois lados: nome do lado e da pessoa (o lado leva a cor de destaque) no pé do cartão. */
#stage .cinema-card .fc-grid-ironia .fc-head{flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:calc(10px*var(--fc-k,1))}
#stage .cinema-card .fc-who{grid-area:who;justify-self:start;align-self:end;display:inline-flex;gap:calc(6px*var(--fc-k,1));align-items:baseline;white-space:nowrap;font:calc(8px*var(--fc-k,1))/1.4 'Brasil Arcade',monospace;letter-spacing:1px;color:#c9cfe0}
#stage .cinema-card .fc-who i{font-style:normal}
#stage .cinema-card .fc-who .fc-side{font-weight:400;color:var(--fc-a)}
/* Cartão estreito (celular deitado, quatro colunas): só o nome da pessoa no cartão; o lado vem da cor da barra e da posição (esquerda/direita). */
@container (max-width:259px){#stage .cinema-card .fc-who .fc-side{display:none}}
/* Camada aberta: cobre a área dos cartões da tela; o cartão aberto fica no centro, com tudo (e rola, se precisar). Tocar fecha. */
#stage .cinema-card .fc-sheet{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:6px;background:#0d0f1aeb;cursor:pointer;outline:none}
#stage .cinema-card .fc-sheet .fc-card{--fc-k:1;--t:22;--h:52;--kk:12;--s:17;--tile:46;--pad:14;flex:0 1 auto;width:min(100%,920px);max-height:100%;overflow-y:auto;grid-template-columns:calc(var(--tile)*1px) minmax(0,1fr) auto;grid-template-areas:"tile head plus" "hero hero hero" "text text text" "bars bars bars" "why why why" "links links who";grid-template-rows:auto;align-content:start;row-gap:10px;border-color:var(--fc-s);box-shadow:inset 4px 0 0 var(--fc-a),6px 6px 0 #05081a}
#stage .cinema-card .fc-sheet .fc-text:has(.fc-short) .fc-long{display:inline}
#stage .cinema-card .fc-sheet .fc-text .fc-short{display:none}
#stage .cinema-card .fc-sheet .fc-bars{max-width:560px}
#stage .cinema-card .fc-sheet .fc-who{justify-self:end}
#stage .cinema-card .fc-sheet .fc-plus{align-self:start}
/* V485 · Tela do desfecho em três faixas: título, área paginada (finale-pager.mjs) e pé (narrador, nota, botões).
   Nada rola nem corta: o que não cabe vira a página seguinte. --fc-row (px) iguala a altura de cada linha da página aberta.
   V496 · A tela de cartões ocupa a janela toda (em qualquer tamanho), com o narrador e os botões dentro dela. */
#stage .cinema-card.fc-screen{display:flex;flex-direction:column;gap:8px;overflow:hidden;box-sizing:border-box;padding:12px 16px 10px;position:fixed;inset:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));z-index:30;border:2px solid #3a4260;background:#0d0f1a}
#stage .cinema-card.fc-screen [hidden]{display:none!important}
#stage .cinema-card.fc-screen[hidden]{display:none}
/* V519 · Título de cada tela em destaque: ícone em pixel art num ladrilho e o título grande na fonte de pixel do jogo, cada tela com a sua
   cor (screenTitles, finale-cards.mjs) e sombra dura de pixel. O lead é a linha menor logo embaixo. */
#stage .cinema-card .fc-top{--fc-tt:28px;flex:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"tile title date" "tile lead lead" "why why why";align-items:center;gap:2px 12px}
#stage .cinema-card .fc-title-tile{grid-area:tile;align-self:start;display:grid;place-items:center;box-sizing:border-box;width:calc(var(--fc-tt)*1.55);height:calc(var(--fc-tt)*1.55);background:var(--fc-tbg);border:2px solid var(--fc-ts);box-shadow:3px 3px 0 #05081a}
#stage .cinema-card .fc-title-icon{width:72%;height:72%;image-rendering:pixelated}
#stage .cinema-card .fc-top h3.fc-title{grid-area:title;margin:0;font:var(--fc-tt)/1.2 'Brasil Arcade',monospace;letter-spacing:1px;color:var(--fc-ta);text-shadow:3px 3px 0 #05081a;overflow-wrap:break-word}
#stage .cinema-card .fc-top .cinema-card-lead{grid-area:lead;margin:0;font:21px/1.1 'VT323',monospace;color:#c4cbe0}
#stage .cinema-card .fc-top:not(:has(.cinema-card-lead)) .fc-title-tile{grid-row:1;width:calc(var(--fc-tt)*1.3);height:calc(var(--fc-tt)*1.3)}
#stage .cinema-card .fc-date{grid-area:date;align-self:start;white-space:nowrap;font:10px/1.5 'Brasil Arcade',monospace;letter-spacing:1px;color:#8fa0c4}
#stage .cinema-card .fc-why{grid-area:why;margin:2px 0 0;font:18px/1.1 'VT323',monospace;color:#a9b3cc}
#stage .cinema-card .fc-stage{flex:1 1 0;min-height:0;overflow-x:hidden;overflow-y:auto;position:relative;padding:2px 2px 2px 0;overscroll-behavior:contain}
#stage .cinema-card .fc-stage[data-measure] .fc-grid{grid-auto-rows:auto;align-items:start}
/* Dois lados: um cartão de cada lado por linha, todos do mesmo tamanho; "Os dois" ocupa a linha inteira com a mesma altura. */
#stage .cinema-card .fc-grid-ironia{grid-template-columns:repeat(2,minmax(0,1fr))}
#stage .cinema-card .fc-item-both{grid-column:1/-1}
/* Virada: texto corrido, sem cartão nem ícone. */
#stage .cinema-card .fv-flow{max-width:64ch;margin:0 auto;display:flex;flex-direction:column}
#stage .cinema-card .fv-item{border-left:0;padding:10px 0;border-top:1px solid #2b3550}
#stage .cinema-card .fv-item:first-child{border-top:0;padding-top:4px}
#stage .cinema-card .fv-tag{margin:0 0 6px;font:9px/1.5 'Brasil Arcade',monospace;font-weight:400;letter-spacing:1.5px;color:var(--sb-muted)}
#stage .cinema-card .fv-para{margin:0;font:22px/1.25 'VT323',monospace;color:#ece8d8}
@media (max-height:600px){#stage .cinema-card .fv-para{font-size:19px;line-height:1.2}#stage .cinema-card .fv-item{padding:7px 0}#stage .cinema-card .fv-tag{margin-bottom:3px}#stage .cinema-card .fv-studio-text{font-size:17px;line-height:1.15}#stage .cinema-card .fv-studio{padding:5px 10px}}
#stage .cinema-card .fv-para .fc-hl{background:none;padding:0;color:#e8d9a0;box-shadow:inset 0 -2px 0 #c9b46a88}
#stage .cinema-card .fv-note{display:block;margin-top:10px;font:14px/1.2 'VT323',monospace;letter-spacing:1px;color:var(--sb-muted)}
/* V512 · Nota do estúdio: bloco à parte depois do último parágrafo, com moldura tracejada, barra dourada e assinatura (sem fonte). */
#stage .cinema-card .fv-studio{margin:0;padding:8px 14px 8px;border:1px dashed #4a5578;border-left:4px solid #b89c52;background:#121a2b}
#stage .cinema-card .fv-studio .fv-tag{color:#d9bf6a}
#stage .cinema-card .fv-studio-text{margin:0;font:20px/1.2 'VT323',monospace;color:#d8d4c6}
#stage .cinema-card .fv-sign{display:block;margin-top:4px;text-align:right;font:10px/1.5 'Brasil Arcade',monospace;letter-spacing:1px;color:#b89c52}
/* V496 · A menos que…: em tela grande o texto cresce com a altura da janela e usa a largura toda (sem mudar uma palavra). */
@media (min-width:901px) and (min-height:601px){
 #stage .cinema-card .fv-flow{max-width:min(100%,1240px);justify-content:center;min-height:100%}
 #stage .cinema-card .fv-para{font-size:clamp(26px,4.4vh,50px);line-height:1.2}
 #stage .cinema-card .fv-tag{font-size:clamp(10px,1.5vh,15px);margin-bottom:.8vh}
 #stage .cinema-card .fv-item{padding:1.6vh 0}
 #stage .cinema-card .fv-note{font-size:clamp(15px,2vh,22px)}
 #stage .cinema-card .fv-studio{padding:1.2vh 18px}
 #stage .cinema-card .fv-studio-text{font-size:clamp(22px,3.2vh,38px);line-height:1.2}
 #stage .cinema-card .fv-sign{font-size:clamp(10px,1.4vh,14px)}
}
/* Narrador: cartão próprio e compacto, com microfone em pixel art, nome, aviso e a frase da tela. */
#stage .cinema-card .fc-narrator{flex:none;display:grid;grid-template-columns:auto minmax(0,auto) minmax(0,1fr);align-items:center;gap:4px 10px;box-sizing:border-box;padding:5px 10px;background:#121a2b;border:1px solid #34405c;border-left:5px solid #b89c52}
#stage .cinema-card .fc-narr-tile{display:grid;place-items:center;width:30px;height:30px;background:#262218;border:1px solid #b89c52}
#stage .cinema-card .fc-narr-icon{width:22px;height:22px;image-rendering:pixelated}
#stage .cinema-card .fc-narr-who{min-width:0}
#stage .cinema-card .fc-narrator strong{display:block;font:10px/1.5 'Brasil Arcade',monospace;letter-spacing:1px;color:#e3cf8a}
#stage .cinema-card .fc-narrator small{display:block;font:15px/1.1 'VT323',monospace;color:#c4d0e4}
#stage .cinema-card .fc-narr-line{margin:0;text-align:right;font:21px/1.1 'VT323',monospace;color:#ece8d8}
#stage .cinema-card .fc-foot{flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px}
#stage .cinema-card .fc-foot .cinema-card-note{flex:1 1 0;min-width:0;margin:0;font:15px/1.1 'VT323',monospace;color:#a9a3b8}
#stage .cinema-card .fc-nav{flex:none;display:flex;align-items:center;gap:8px}
#stage .history-cinema .fc-nav .cinema-card-next{margin:0}
#stage .history-cinema .fc-nav button{font-size:10px}
#stage .history-cinema .fc-nav .fc-prev{min-width:44px;padding-left:10px;padding-right:10px}
/* Altura fixa em todos os botões do pé: a área dos cartões não muda de tamanho de uma página para a outra. */
#stage .history-cinema .fc-nav button{box-sizing:border-box;height:38px;min-height:38px;padding-top:0;padding-bottom:0}
#stage .cinema-card .fc-dots{display:flex;align-items:center;gap:5px}
#stage .cinema-card .fc-count{margin-right:3px;font:16px/1 'VT323',monospace;color:#cfd6ff}
#stage .cinema-card .fc-dots i{display:block;width:8px;height:8px;background:#34405c}
#stage .cinema-card .fc-dots i.on{background:#d9bf6a}
/* V496 · FONTES: botão discreto no pé de cada tela (e no pé das telas de vídeo) e o painel com as fontes da tela. */
#stage .history-cinema .fc-nav .fc-fontes,#stage .history-cinema .cinema-fontes{font:16px/1 'VT323',monospace;letter-spacing:1px;min-height:36px;padding:4px 12px;color:#aab4cc;background:transparent;border:1px solid #3a4565;margin:0}
#stage .history-cinema .cinema-fontes[hidden]{display:none!important}
#stage .history-cinema .fc-fontes:hover,#stage .history-cinema .cinema-fontes:hover{color:#fff;border-color:#7d88a8}
#stage .history-cinema .fc-fontes:focus-visible,#stage .history-cinema .cinema-fontes:focus-visible,#stage .fs-panel :is(a,button):focus-visible{outline:3px solid #f0e2a0;outline-offset:2px}
#stage .fs-panel{position:fixed;inset:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));z-index:40;display:flex;flex-direction:column;gap:10px;box-sizing:border-box;padding:14px 16px 12px;background:#0d0f1a;border:2px solid #5b6a8c;outline:none}
#stage .fs-panel[hidden]{display:none}
#stage .fs-panel .fs-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-right:46px}
#stage .fs-panel .fs-head h3{margin:0;font:15px/1.3 'Brasil Arcade',monospace;letter-spacing:1px;color:#e8dcae}
#stage .fs-panel .fs-hint{font:16px/1 'VT323',monospace;color:var(--sb-muted)}
#stage .fs-panel .fs-list{list-style:none;margin:0;padding:0;flex:1 1 0;min-height:0;overflow-y:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:6px 12px;align-content:start}
#stage .fs-panel .fs-list a{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title go" "date go";align-items:center;gap:1px 10px;min-height:46px;box-sizing:border-box;padding:6px 10px;background:#121827;border:1px solid #2b3550;color:#e6e9f5;text-decoration:none}
#stage .fs-panel .fs-list a:hover{border-color:#7d88a8;background:#171e32}
#stage .fs-panel .fs-title{grid-area:title;font:18px/1.1 'VT323',monospace}
#stage .fs-panel .fs-date{grid-area:date;font:15px/1 'VT323',monospace;color:#9aa6c4}
#stage .fs-panel .fs-go{grid-area:go;font:16px/1 'VT323',monospace;color:var(--sb-muted)}
#stage .fs-panel .fs-foot{flex:none;display:flex;justify-content:flex-end}
#stage .fs-panel .fs-back{font:14px/1 'Brasil Arcade',monospace;letter-spacing:1px;min-height:44px;padding:8px 16px;color:#e8dcae;background:#161d30;border:2px solid #5b6a8c}
/* Com os cartões abertos, o balão do narrador (dentro da tela) e a data do quadro somem; no computador, o som e a tela cheia saem do caminho do pé. */
#stage .history-cinema[data-cards] .cinema-dialogue,#stage .history-cinema[data-cards] .cinema-date{display:none}
@media (min-width:641px) and (min-height:601px){
 #root #stage:has(.history-cinema[data-cards] .cinema-card.fc-screen:not([hidden])) #utilities{display:none}
 #stage .cinema-card.fc-screen{padding:10px 22px 10px;gap:8px}
 #stage .cinema-card .fc-top{--fc-tt:clamp(28px,4vh,44px)}
 #stage .cinema-card .fc-foot .cinema-card-note{font-size:17px}
 #stage .history-cinema .fc-nav button{height:34px;min-height:34px}
 #stage .history-cinema .fc-nav .fc-fontes{height:34px;min-height:34px}
}
@media (max-width:640px){
 #stage .cinema-card .fc-grid-ironia{grid-template-columns:minmax(0,1fr)}
 #stage .cinema-card .fc-narrator{grid-template-columns:auto minmax(0,1fr)}
 #stage .cinema-card .fc-narr-line{grid-column:1/-1;text-align:left}
 #stage .cinema-card .fc-foot{flex-wrap:wrap}
 #stage .cinema-card .fc-foot .cinema-card-note{flex-basis:100%}
 #stage .cinema-card .fc-nav{margin-left:auto}
}
/* Telas fixas (celular): o botão de tela cheia fica no canto, então o título deixa espaço para ele. */
@media (max-width:640px),(max-height:600px){#stage .cinema-card .fc-top{padding-right:46px}}
@media (max-width:640px){#stage .cinema-card .fc-top{padding-right:96px}}
/* Título do desfecho: maiúsculas, dourado discreto com contorno escuro em pixels (sem blur). */
#root #stage .history-cinema h2.cinema-title-finale{font-size:16px;line-height:1.25;letter-spacing:1px;text-transform:uppercase;color:#e3cf8a;text-shadow:-2px 0 #05081a,2px 0 #05081a,0 -2px #05081a,0 2px #05081a,3px 3px 0 #8c6a2c}
@media (min-width:601px) and (min-height:501px){#root #stage[data-mode=cinema] .history-cinema header>div:has(>h2.cinema-title-finale){flex-direction:column;align-items:flex-start;gap:0}}
@media (max-width:600px){#root #stage .history-cinema h2.cinema-title-finale{font-size:12px}#root #stage .history-cinema header:has(>div>h2.cinema-title-finale){flex-wrap:wrap}#root #stage .history-cinema header:has(>div>h2.cinema-title-finale) .cinema-head-actions{flex-wrap:wrap;min-width:0;max-width:100%}}
@media (max-height:500px) and (min-width:601px){#root #stage[data-mode=cinema] .history-cinema h2.cinema-title-finale{font-size:12px;line-height:1.3}}
/* Celular deitado (pouca altura): tudo mais compacto; o texto do cartão não passa de 16 px (o pager só reduz até 0,94). */
@media (max-height:600px){
 #stage .cinema-card{--t:16;--h:28;--kk:9;--s:14;--tile:24;--pad:4}
 #stage .cinema-card .fc-stage{padding:0}
 #stage .cinema-card.fc-screen{padding:4px 10px 4px;gap:4px}
 #stage .cinema-card .fc-grid{gap:6px}
 #stage .cinema-card .fc-top{--fc-tt:22px;column-gap:8px;row-gap:0}
 #stage .cinema-card .fc-top h3.fc-title{line-height:1.05;text-shadow:2px 2px 0 #05081a}
 #stage .cinema-card .fc-why{margin:0}
 #stage .cinema-card .fc-top .cinema-card-lead{font-size:17px}
 #stage .cinema-card .fc-why{font-size:15px}
 #stage .cinema-card .fc-date{display:none}
 #stage .cinema-card .fc-narrator{padding:2px 8px}
 #stage .cinema-card .fc-narr-tile{width:24px;height:24px}
 #stage .cinema-card .fc-narr-icon{width:16px;height:16px}
 #stage .cinema-card .fc-narrator small{font-size:12px}
 #stage .cinema-card .fc-narr-who{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
 #stage .cinema-card .fc-narrator strong{display:inline}
 #stage .cinema-card .fc-narrator small{display:inline}
 #stage .cinema-card .fc-narr-line{font-size:16px}
 #stage .cinema-card .fc-foot .cinema-card-note{font-size:13px}
 #stage .history-cinema .fc-nav button{height:34px;min-height:34px}
 #stage .history-cinema .fc-nav .fc-fontes{height:34px;min-height:34px}
}
/* V519 · Entrada: ao abrir a tela ou trocar de página, os cartões (e os passos de COMO DEVERIA SER) entram um a um, com subida curta
   em degraus de pixel (finale-pager.mjs marca --fc-n e data-enter). A camada abre num estalo. Com movimento reduzido, nada se move. */
@keyframes fc-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes fc-open{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
 #stage .cinema-card [data-fc-item][data-enter]{animation:fc-in .28s steps(4,end) both;animation-delay:calc(var(--fc-n,0)*70ms)}
 #stage .cinema-card .fc-sheet:not([hidden])>.fc-card{animation:fc-open .14s steps(3,end) both}
 #stage .cinema-card .fc-card{transition:border-color .12s steps(2,end)}
}
/* O botão FONTES do pé das telas de vídeo não estica com os outros botões (no celular o rodapé distribui a largura). */
#root #stage[data-mode=cinema] .history-cinema .cinema-footer .cinema-fontes{flex:0 0 auto;min-width:84px;width:auto}

/* V503 · Celular deitado (altura útil ≤ 420 px): o cartão fechado é compacto (sem ícone): uma linha com o título do cartão, o número em
   destaque e o sinal +, e o texto curto logo abaixo (campo `short`, ≤ 110 caracteres). V519 · A barra fica numa linha só, as duas lado a lado.
   O texto completo, a linha extra e as fontes estão na camada aberta (toque no cartão) e no painel FONTES (TEXTOS COMPLETOS). */
@media (max-height:420px) and (orientation:landscape){
 #stage .cinema-card{--kk:8;--s:13;--pad:3}
 #stage .cinema-card .fc-grid{gap:3px 6px}
 #stage .cinema-card .fc-grid .fc-tile,#stage .cinema-card .fc-who .fc-side{display:none}
 #stage .cinema-card .fc-grid .fc-card{grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"head hero who plus" "text text text text" "meta meta meta meta";grid-template-rows:auto auto 1fr;gap:calc(1px*var(--fc-k,1)) calc(6px*var(--fc-k,1));padding:calc(2px*var(--fc-k,1)) calc(6px*var(--fc-k,1)) calc(2px*var(--fc-k,1)) calc(8px*var(--fc-k,1));border-width:1px}
 #stage .cinema-card .fc-grid .fc-head{min-width:0;overflow:hidden;align-self:center}
 #stage .cinema-card .fc-grid .fc-kicker{white-space:nowrap}
 #stage .cinema-card .fc-grid .fc-meta{grid-area:meta;align-self:end;display:flex;align-items:center;gap:calc(10px*var(--fc-k,1));min-width:0}
 #stage .cinema-card .fc-grid .fc-meta .fc-bars{flex:1 1 auto;min-width:0}
 #stage .cinema-card .fc-grid .fc-meta .fc-origin{flex:none;margin-left:auto}
 #stage .cinema-card .fc-grid .fc-hero{align-self:center;font-size:calc(var(--h)*.7px*var(--fc-k,1)*var(--fc-hfit,1));line-height:.78;text-shadow:1px 1px 0 #05081a}
 #stage .cinema-card .fc-sheet .fc-src{font-size:15px}
 #stage .cinema-card .fc-grid .fc-who{align-self:center;font-size:calc(7px*var(--fc-k,1))}
 #stage .cinema-card .fc-grid .fc-plus{align-self:start;width:calc(14px*var(--fc-k,1));height:calc(14px*var(--fc-k,1));font-size:calc(16px*var(--fc-k,1))}
 #stage .cinema-card .fc-grid .fc-bars{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:calc(10px*var(--fc-k,1));align-self:end}
 #stage .cinema-card .fc-grid .fc-bar{grid-column:auto;grid-template-columns:auto minmax(0,1fr);font-size:max(15px,calc(15px*var(--fc-k,1)));line-height:.85}
 #stage .cinema-card .fc-grid .fc-bar em{display:none}
 #stage .cinema-card .fc-grid .fc-bar i{height:calc(7px*var(--fc-k,1))}
 /* Camada aberta no celular deitado: a área toda, texto de 17 px. */
 #stage .cinema-card .fc-sheet{padding:2px}
 #stage .cinema-card .fc-sheet .fc-card{--t:17;--h:30;--kk:9;--s:14;--tile:28;--pad:6;width:100%;row-gap:4px;column-gap:8px;grid-template-areas:"tile head plus" "hero hero hero" "text text text" "bars bars bars" "why why why" "links links who"}
 #stage .cinema-card .fc-sheet .fc-head{flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:10px}
 #stage .cinema-card .fc-sheet .fc-bars{max-width:520px}
 #stage .cinema-card .fc-sheet .fc-src{min-height:0;padding:1px 6px}
 /* Rodapé numa linha só: o narrador e os botões lado a lado; a nota longa fica para as telas maiores (o narrador já diz que é texto do jogo,
    não fala de candidato). Mais altura para os cartões. */
 @media (max-width:759px){#stage .cinema-card .fc-top .cinema-card-lead{display:none}#stage .cinema-card .fc-top{--fc-tt:20px}#stage .cinema-card .fc-top h3.fc-title{line-height:1}#stage .cinema-card .fc-title-tile{width:24px;height:24px;border-width:1px;box-shadow:2px 2px 0 #05081a;align-self:center}}
 /* V512 · A menos que… com cinco parágrafos e a nota do estúdio: o texto usa a largura toda e os parágrafos ficam mais juntos. */
 #stage .cinema-card .fv-flow{max-width:none}
 #stage .cinema-card .fv-item{padding:4px 0}
 #stage .cinema-card .fv-tag{margin-bottom:1px}
 #stage .cinema-card .fv-note{margin-top:4px}
 /* O botão ◀ da página 1 fica invisível (e ocupa o lugar): o rodapé não muda de largura entre as páginas e o narrador não troca de altura. */
 #stage .cinema-card.fc-screen .fc-nav [data-scene=card-prev][hidden]{display:inline-flex!important;visibility:hidden}
 @media (min-width:760px){#stage .cinema-card.fc-screen{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr) auto;column-gap:6px;row-gap:3px}
 #stage .cinema-card.fc-screen>.fc-top,#stage .cinema-card.fc-screen>.fc-stage{grid-column:1/-1}
 #stage .cinema-card.fc-screen>.fc-narrator{grid-column:1;grid-row:3;min-width:0}
 #stage .cinema-card.fc-screen>.fc-foot{grid-column:2;grid-row:3;align-self:stretch}
 #stage .cinema-card .fc-foot .cinema-card-note{display:none}
 #stage .history-cinema .fc-nav [data-scene=card-next]{min-width:96px}
 #stage .cinema-card .fc-narr-line{font-size:14px;line-height:1.05}
 @media (min-width:760px){#stage .cinema-card .fc-narr-who{flex-direction:column;align-items:flex-start;gap:0;flex-wrap:nowrap}#stage .cinema-card .fc-narrator small{line-height:1.1}}#stage .cinema-card .fc-narrator small{font-size:11px}}
}
/* V519 · COMO DEVERIA SER: quatro passos numa fila (2 × 2 no celular deitado). O número do passo, grande, na fonte de pixel e na cor do passo,
   é o que o olho pega primeiro; depois o ícone, o nome do passo e a frase. Sem fonte e sem link. */
#stage .cinema-card .fi-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-height:100%;align-content:center}
#stage .cinema-card .fi-step{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"num tile" "title title" "text text";align-items:end;align-content:start;gap:10px 12px;box-sizing:border-box;padding:clamp(14px,2.6vh,28px) clamp(14px,1.4vw,26px) clamp(16px,3vh,32px);background:#121827;border:2px solid #2b3550;box-shadow:inset 0 4px 0 var(--fc-a)}
#stage .cinema-card .fi-num{grid-area:num;font:clamp(44px,13vh,140px)/.9 'Brasil Arcade',monospace;color:var(--fc-a);text-shadow:4px 4px 0 #05081a}
#stage .cinema-card .fi-tile{grid-area:tile;justify-self:end;display:grid;place-items:center;width:clamp(34px,5.4vh,56px);height:clamp(34px,5.4vh,56px);background:var(--fc-bg);border:1px solid var(--fc-s)}
#stage .cinema-card .fi-tile .fc-icon{width:72%;height:72%;image-rendering:pixelated}
#stage .cinema-card .fi-title{grid-area:title;margin:4px 0 0;font:clamp(11px,2vh,20px)/1.4 'Brasil Arcade',monospace;font-weight:400;letter-spacing:1px;color:var(--fc-h)}
#stage .cinema-card .fi-text{grid-area:text;margin:0;font:clamp(22px,4.6vh,50px)/1.12 'VT323',monospace;color:#ece8d8}
@media (max-width:900px) and (min-height:421px){#stage .cinema-card .fi-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-height:420px) and (orientation:landscape){
 #stage .cinema-card .fi-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 #stage .cinema-card .fi-step{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"num title tile" "num text text";align-items:center;gap:2px 10px;padding:6px 10px 7px;box-shadow:inset 3px 0 0 var(--fc-a)}
 #stage .cinema-card .fi-num{font-size:46px;text-shadow:3px 3px 0 #05081a;align-self:center}
 #stage .cinema-card .fi-tile{width:26px;height:26px}
 #stage .cinema-card .fi-title{margin:0;font-size:10px;align-self:end}
 #stage .cinema-card .fi-text{font-size:21px;line-height:1.08;align-self:start}
}
/* V519 · O título do vídeo do debate (O NÍVEL DO DEBATE, legenda da cena) ganha o mesmo destaque: ícone e cor própria. Só o título muda:
   o quadro do vídeo, a legenda, a transcrição e os botões ficam como estão. */
#root #stage[data-mode=cinema] .history-cinema .cinema-caption h3[data-fc-title=debate]{display:inline-flex;align-items:center;gap:.5em;color:var(--fc-ta);text-shadow:2px 2px 0 #05081a}
#root #stage[data-mode=cinema] .history-cinema .cinema-caption h3[data-fc-title=debate]::before{content:'';flex:none;width:1.45em;height:1.45em;box-sizing:border-box;background:var(--fc-tbg) var(--fc-title-url) center/72% no-repeat;border:2px solid var(--fc-ts);image-rendering:pixelated}
/* Painel FONTES: lista e textos completos rolam juntos. */
#stage .fs-panel .fs-body{flex:1 1 0;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px}
#stage .fs-panel .fs-body .fs-list{flex:none;overflow:visible}
#stage .fs-panel .fs-full h4{margin:0 0 6px;font:12px/1.4 'Brasil Arcade',monospace;letter-spacing:1px;color:var(--sb-muted);font-weight:400}
#stage .fs-panel .fs-full ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:6px 12px}
#stage .fs-panel .fs-full li{font:17px/1.15 'VT323',monospace;color:#d8d4c6;border-left:3px solid #3a4666;padding:2px 0 2px 8px}
#stage .fs-panel .fs-full b{font-weight:400;color:#e8dcae;margin-right:6px}
#stage .fs-panel .fs-full .fs-why{display:block;margin-top:2px;color:#aab4cc}
#stage .fs-panel .fs-full .fs-why i{font-style:normal;color:var(--sb-muted)}

/* V986 · Páginas estáveis, leitura com rolagem e explicação visível.
   A largura muda somente as colunas. Nunca encolhe o texto para caber na altura. */
#stage .cinema-card [data-fc-fixed] .fc-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:12px;align-content:start}
#stage .cinema-card [data-fc-fixed] .fc-card{--fc-k:1;--t:20;--h:34;--kk:11;--tile:30;--pad:12;grid-template-columns:30px minmax(0,1fr) auto;grid-template-areas:"tile head plus" "hero hero hero" "text text text" "bars bars bars" "why why why" "who who who";grid-template-rows:auto;align-content:start;gap:10px;padding:12px}
#stage .cinema-card [data-fc-fixed] .fc-card .fc-whyline{display:block;font-size:20px;line-height:1.3}
#stage .cinema-card [data-fc-fixed] .fc-card .fc-text{font-size:20px;line-height:1.3}
#stage .cinema-card [data-fc-fixed] .fc-origin-detail{display:none}
#stage .cinema-card [data-fc-fixed] .fc-kicker{white-space:normal;overflow-wrap:anywhere;font-size:11px}
#stage .cinema-card [data-fc-fixed] .fc-head{overflow:visible}
#stage .cinema-card [data-fc-fixed] .fc-hero{white-space:normal;overflow:visible;line-height:1.15;font-size:34px}
#stage .cinema-card [data-fc-fixed] .fc-tile{display:grid}
#stage .cinema-card [data-fc-fixed] .fc-meta{display:contents}
#stage .cinema-card [data-fc-fixed] .fc-bars{display:none}
#stage .cinema-card [data-fc-fixed] .fc-who{white-space:normal;flex-wrap:wrap;font-size:11px}
#stage .cinema-card [data-fc-fixed] .fc-who .fc-side{display:inline}
#stage .cinema-card [data-fc-fixed] .fc-plus{width:24px;height:24px;font-size:22px;align-self:start}
#stage .cinema-card [data-fc-fixed] .fc-case-date{font-size:22px}
#stage .cinema-card [data-fc-fixed] .fc-case-date small,#stage .cinema-card .fc-case-label{font:14px/1.4 'VT323',monospace;color:#a9b4cf}
#stage .cinema-card .fc-sides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
#stage .cinema-card [data-fc-fixed] .fc-case-grid{grid-template-columns:minmax(0,1fr)}
#stage .cinema-card .fc-side-heading{margin:0 0 10px;font:14px/1.5 'Brasil Arcade',monospace;color:#e8ecf5}
#stage .cinema-card .fc-shared{grid-column:1/-1;border-top:2px solid #6f7a96;padding-top:14px}
#stage .cinema-card [data-fc-fixed] .fc-shared .fc-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
/* A camada fica presa à janela, mesmo depois de rolar a lista de cartões. */
#stage .cinema-card [data-fc-fixed] .fc-sheet{position:fixed;inset:12px;z-index:45}
#stage .cinema-card [data-fc-fixed] .fc-sheet .fc-card{grid-template-areas:"tile head plus" "hero hero hero" "text text text" "bars bars bars" "why why why" "links links links" "who who who"}
#stage .cinema-card [data-fc-fixed] .fc-sheet .fc-origin-detail{display:inline}
#stage .cinema-card [data-fc-fixed] .fc-sheet .fc-bars{display:grid}
#stage .cinema-card [data-fc-fixed] .fc-sheet .fc-bar em{display:inline}
#stage .cinema-card [data-fc-fixed] .fi-route{margin:0 0 12px;font:16px/1.4 'VT323',monospace;color:#a9b4cf}
#stage .cinema-card [data-fc-fixed] .fi-steps{grid-template-columns:minmax(0,1fr);min-height:0;max-width:900px;margin:auto;align-content:start}
#stage .cinema-card [data-fc-fixed] .fi-step{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"num title tile" "num text text";align-items:center;padding:24px;gap:14px 24px}
#stage .cinema-card [data-fc-fixed] .fi-num{font-size:72px}
#stage .cinema-card [data-fc-fixed] .fi-text{font-size:clamp(22px,3vw,36px);line-height:1.3}
#stage .cinema-card [data-fc-fixed] .fi-title{font-size:16px}
#stage .cinema-card [data-fc-fixed] .fv-flow{max-width:76ch}
#stage .cinema-card [data-fc-fixed] :is(.fv-para,.fv-studio-text){font-size:22px;line-height:1.4}
#stage .fs-panel .fs-list{grid-template-columns:repeat(2,minmax(0,1fr))}
#stage .fs-panel .fs-list a{min-width:0;overflow-wrap:anywhere}
#stage .fs-panel .fs-title{font-size:20px;line-height:1.25}
@media (max-width:900px){
 #stage .cinema-card [data-fc-fixed] .fc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #stage .cinema-card .fc-sides{grid-template-columns:minmax(0,1fr)}
 #stage .cinema-card [data-fc-fixed] .fc-case-grid{grid-template-columns:minmax(0,1fr)}
 #stage .cinema-card [data-fc-fixed] .fc-card{--t:18;--h:28;--pad:10;padding:10px;gap:8px}
 #stage .cinema-card [data-fc-fixed] .fc-card :is(.fc-text,.fc-whyline){font-size:18px}
 #stage .cinema-card [data-fc-fixed] .fi-step{padding:14px;gap:8px 16px}
 #stage .cinema-card [data-fc-fixed] .fi-num{font-size:48px}
 #stage .cinema-card [data-fc-fixed] .fi-title{font-size:12px}
}
@media (max-width:560px){
 #stage .cinema-card [data-fc-fixed] .fc-grid,#stage .cinema-card [data-fc-fixed] .fc-shared .fc-case-grid,#stage .fs-panel .fs-list{grid-template-columns:minmax(0,1fr)}
 #stage .cinema-card [data-fc-fixed] .fi-step{grid-template-areas:"num title tile" "text text text"}
}
@media (max-height:420px) and (orientation:landscape){
 #stage .cinema-card .fc-narrator small{font-size:14px}
 #stage .cinema-card .fc-narrator{gap:6px}
 #stage .cinema-card .fc-narr-tile{display:none}
 #stage .cinema-card .fc-narr-line{font-size:14px}
 #stage .cinema-card [data-fc-fixed] :is(.fv-para,.fv-studio-text){font-size:18px}
}
/* Fontes como uma lista compacta, com altura limitada à janela. */
#stage .fs-panel{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(860px,calc(100% - 24px));max-height:calc(100dvh - 24px)}
#stage .fs-panel .fs-body{flex:1 1 auto}
@media (max-width:560px){
 #stage .cinema-card .fc-top{--fc-tt:20px;grid-template-columns:28px minmax(0,1fr);grid-template-areas:"tile title" "lead lead";padding-right:46px}
 #stage .cinema-card .fc-top .fc-date{display:none}
 #stage .cinema-card .fc-top .fc-title-tile{width:28px;height:28px}
 #stage .cinema-card .fc-top h3.fc-title{line-height:1.3}
 #stage .cinema-card .fc-nav{flex-wrap:wrap;justify-content:flex-end;max-width:100%}
}
/* V986 · Revisão das capturas: pares compactos e páginas sem rolagem nos números. */
#stage .cinema-card .fc-sides{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;align-items:stretch}
#stage .cinema-card .fc-case-pair{grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:stretch}
#stage .cinema-card .fc-side-heading{margin:0;font-size:12px}
#stage .cinema-card .fc-shared{padding-top:6px}
#stage .cinema-card [data-fc-fixed] .fc-sides .fc-card{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"head hero" "text text";gap:3px 8px;padding:7px 10px}
#stage .cinema-card [data-fc-fixed] .fc-sides .fc-card :is(.fc-tile,.fc-who,.fc-plus){display:none}
#stage .cinema-card [data-fc-fixed] .fc-sides .fc-kicker{font:bold 14px/1.15 Arial,sans-serif;letter-spacing:0}
#stage .cinema-card [data-fc-fixed] .fc-sides .fc-hero{font:bold 14px/1.15 Arial,sans-serif;max-width:180px;text-align:right;text-shadow:none}
#stage .cinema-card [data-fc-fixed] .fc-sides .fc-text{font:14px/1.25 Arial,sans-serif;margin:0}
#stage .cinema-card [data-fc-fixed]:has(>.fc-grid),#stage .cinema-card [data-fc-fixed=steps]{overflow:visible}
#stage .cinema-card [data-fc-fixed]>.fc-grid{height:100%;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;align-content:stretch}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-card{min-height:0;align-content:center;gap:6px}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-text{font:18px/1.2 Arial,sans-serif;margin:0}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-whyline{display:block;font:16px/1.2 Arial,sans-serif;padding-top:4px}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-whylabel{font:bold 12px/1.2 Arial,sans-serif;letter-spacing:0}
#stage .cinema-card [data-fc-fixed] .fi-route{display:none}
#stage .cinema-card [data-fc-fixed] .fi-steps{height:100%;max-width:none;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr);align-content:stretch;gap:12px}
#stage .cinema-card [data-fc-fixed] .fi-step{grid-template-columns:minmax(0,1fr);grid-template-areas:"num" "title" "text";align-content:center;padding:20px;gap:20px}
#stage .cinema-card [data-fc-fixed] .fi-tile{display:none}
#stage .cinema-card [data-fc-fixed] .fi-text{font:22px/1.4 Arial,sans-serif}
#stage .cinema-card [data-fc-fixed] .fi-title{font-size:12px}

/* Insets simétricos evitam a coluna estreita produzida pela tradução percentual. */
#stage .history-cinema>.fs-panel{position:fixed;inset:12px;transform:none;width:auto;max-width:none;height:auto;max-height:none;margin:0}
#stage .fs-panel .fs-body{flex:1 1 0}
@media (max-width:900px),(max-height:500px){
 #stage .cinema-card [data-fc-fixed] .fi-steps{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:6px}
 #stage .cinema-card [data-fc-fixed] .fi-step{grid-template-columns:42px minmax(0,1fr);grid-template-areas:"num title" "num text";gap:4px 8px;padding:8px;align-content:center}
 #stage .cinema-card [data-fc-fixed] .fi-num{font-size:44px}
 #stage .cinema-card [data-fc-fixed] .fi-title{font:bold 13px/1.1 Arial,sans-serif;letter-spacing:0}
 #stage .cinema-card [data-fc-fixed] .fi-text{font:14px/1.25 Arial,sans-serif;margin:0}
 #stage .cinema-card [data-fc-fixed]>.fc-grid .fc-card{padding:5px 7px;gap:3px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"head plus" "text text" "why why" "who who"}
 #stage .cinema-card [data-fc-fixed]>.fc-grid .fc-card :is(.fc-tile,.fc-hero){display:none}
 #stage .cinema-card [data-fc-fixed]>.fc-grid .fc-kicker{font:bold 12px/1.1 Arial,sans-serif;letter-spacing:0}
 #stage .cinema-card [data-fc-fixed]>.fc-grid .fc-card :is(.fc-text,.fc-whyline){font:12px/1.2 Arial,sans-serif}
 #stage .cinema-card [data-fc-fixed]>.fc-grid .fc-plus{width:16px;height:16px;font-size:16px}
 #stage .cinema-card [data-fc-fixed]>.fc-grid .fc-origin{font:12px/1.1 Arial,sans-serif;letter-spacing:0}
 #stage .cinema-card [data-fc-fixed] .fc-sides :is(.fc-text,.fc-kicker,.fc-hero){font-size:12px}
 #stage .cinema-card .fc-side-heading{font:bold 13px/1.2 Arial,sans-serif}
 #stage .cinema-card [data-fc-fixed] .fc-sides .fc-card{padding:5px 7px}
}
@media (max-height:500px) and (orientation:landscape){
 #stage .cinema-card.fc-screen{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr) auto;gap:3px 6px}
 #stage .cinema-card.fc-screen>:is(.fc-top,.fc-stage){grid-column:1/-1}
 #stage .cinema-card.fc-screen>.fc-narrator{grid-column:1;grid-row:3;display:flex;gap:6px;padding:2px 5px;min-width:0}
 #stage .cinema-card.fc-screen>.fc-foot{grid-column:2;grid-row:3}
 #stage .cinema-card .fc-narr-who{display:flex;flex-direction:row;gap:4px;white-space:nowrap}
 #stage .cinema-card .fc-narrator :is(strong,small){font:12px/1 Arial,sans-serif;letter-spacing:0}
 #stage .cinema-card .fc-narr-line{font:12px/1.1 Arial,sans-serif;margin:0}
 #stage .cinema-card .fc-nav button{min-height:26px;padding:3px 8px}
 #stage .cinema-card .fc-top .cinema-card-lead{display:none}
}
/* Telas baixas (ex.: 568×320): cada card e cada passo rolam por dentro em vez de vazar sobre o vizinho ou o rodapé. */
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-card,#stage .cinema-card [data-fc-fixed] .fi-step{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
@media (max-height:360px){
 #stage .cinema-card [data-fc-fixed]>.fc-grid .fc-text{font-size:14px}
 #stage .cinema-card [data-fc-fixed]>.fc-grid .fc-whyline{font-size:13px}
 #stage .cinema-card [data-fc-fixed] .fi-text{font-size:15px;line-height:1.3}
 #stage .cinema-card [data-fc-fixed] .fi-step{padding:10px;gap:8px}
}

/* V994 · Textos e fontes abertos, com a mesma hierarquia nos dois lados. */
#stage .cinema-card:not([data-card-kind=virada]) .fc-top .fc-narrator{grid-column:1/-1;display:flex;align-items:baseline;gap:8px;padding:0;border:0;background:none;min-width:0}
#stage .cinema-card .fc-top .fc-narrator :is(.fc-narr-tile,.fc-narr-who small){display:none}
#stage .cinema-card .fc-top .fc-narr-who{display:block;flex:none}
#stage .cinema-card .fc-top .fc-narrator strong{font: bold 10px/1.2 Arial,sans-serif;letter-spacing:.5px}
#stage .cinema-card .fc-top .fc-narr-line{margin:0;font:16px/1.1 'VT323',monospace;color:#e3cf8a;text-align:left}
#stage .cinema-card[data-card-kind=ironia] .fc-top h3.fc-title{color:#00e676;text-shadow:0 0 18px #00e67666,2px 2px #03371b}
#stage .cinema-card[data-card-kind=ironia] .fc-title-tile{width:52px;height:52px;border-color:#0b9f55;background:#03371b;box-shadow:0 0 16px #00e67633}
#stage .cinema-card[data-card-kind=ironia] .fc-title-icon{width:48px;height:48px;shape-rendering:crispEdges}
#stage .cinema-card[data-card-kind=ironia] .fc-sides{min-height:100%;grid-template-rows:auto repeat(9,minmax(min-content,1fr)) auto;gap:4px 12px}
#stage .cinema-card .fc-side-heading[data-side]{padding:6px 10px;border-left:4px solid currentColor;background:linear-gradient(100deg,#16353c,#111725);font:bold 13px/1.1 Arial,sans-serif;letter-spacing:1px;color:#8fd5df}
#stage .cinema-card .fc-side-heading[data-side=lula]{color:#c7aff3;background:linear-gradient(100deg,#312747,#111725)}
#stage .cinema-card [data-fc-fixed] .fc-sides .fc-card{height:100%;box-sizing:border-box;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"head hero" "text text" "links status";align-content:center;gap:3px 6px;padding:4px 8px;border:1px solid var(--fc-s);border-left:4px solid var(--fc-a);background:linear-gradient(110deg,var(--fc-bg),#111725);box-shadow:inset 0 1px #ffffff08;cursor:default;transform:none}
#stage .cinema-card [data-fc-fixed] .fc-sides .fc-text{font:12px/1.2 Arial,sans-serif}
#stage .cinema-card [data-fc-fixed] .fc-sides :is(.fc-kicker,.fc-hero){font:bold 12px/1.15 Arial,sans-serif}
#stage .cinema-card [data-fc-fixed] .fc-sides .fc-hero{color:var(--fc-h);background:var(--fc-bg);padding:1px 4px;max-width:none}
#stage .cinema-card [data-fc-fixed] .fc-sides .fc-text .fc-long{display:inline}
#stage .cinema-card [data-fc-fixed] .fc-sides .fc-text .fc-short{display:none}
#stage .cinema-card [data-fc-fixed] .fc-sides .fc-links{display:flex;gap:2px 8px;align-self:center}
#stage .cinema-card [data-fc-fixed] .fc-sides .fc-src{display:inline;min-height:0;color:var(--fc-h);font:11px/1.2 Arial,sans-serif;padding:0;border:0;background:none;text-decoration:underline;text-underline-offset:2px}
#stage .cinema-card .fc-status{grid-area:status;justify-self:end;align-self:center;white-space:nowrap;font:bold 9px/1.2 Arial,sans-serif;letter-spacing:.3px;padding:2px 5px;border:1px solid currentColor;color:var(--status);background:#0d0f1a}
#stage .cinema-card .fc-status-condenado{--status:var(--sb-negative)}
#stage .cinema-card .fc-status-anulado{--status:#b6c9ef}
#stage .cinema-card .fc-status-arquivado{--status:#a7cfbc}
#stage .cinema-card .fc-status-sem-denuncia{--status:#d4d8e2}
#stage .cinema-card .fc-status-investigado{--status:#e9cb8e}
#stage .cinema-card .fc-status-inelegivel{--status:#efc195}
#stage .cinema-card .fc-status-impeachment{--status:#e5b5ce}
#stage .cinema-card [data-fc-fixed] .fc-shared{padding:4px 8px 6px;background:#1c2133;border:1px solid #6f7a96;border-left:4px solid #a9b4cf}
#stage .cinema-card [data-fc-fixed] .fc-shared>.fc-side-heading{font:bold 11px/1.2 Arial,sans-serif;margin-bottom:3px;color:#cbd4e7}
#stage .cinema-card [data-fc-fixed] .fc-shared .fc-case-grid{gap:6px}
#stage .cinema-card:not([data-card-kind=virada])>.fc-foot{grid-column:1/-1;justify-self:end}
@media (min-width:1600px) and (min-height:950px){
 #stage .cinema-card [data-fc-fixed] .fc-sides .fc-text{font-size:14px}
 #stage .cinema-card [data-fc-fixed] .fc-sides :is(.fc-kicker,.fc-hero){font-size:14px}
}
@media (max-width:700px){
 #stage .cinema-card[data-card-kind=ironia] .fc-sides{gap:6px;grid-template-rows:auto}
 #stage .cinema-card [data-fc-fixed] .fc-sides .fc-card{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "hero" "text" "status" "links";align-content:start;padding:7px}
 #stage .cinema-card [data-fc-fixed] .fc-sides .fc-hero{text-align:left;justify-self:start}
 #stage .cinema-card [data-fc-fixed] .fc-sides .fc-text{font-size:13px;line-height:1.3}
 #stage .cinema-card .fc-status{justify-self:start}
 #stage .cinema-card [data-fc-fixed] .fc-sides .fc-src{padding:5px 0;font-size:12px}
 #stage .cinema-card [data-fc-fixed] .fc-shared .fc-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #stage .cinema-card .fc-side-heading[data-side]{font-size:11px;padding:6px}
 #stage .cinema-card[data-card-kind=ironia] .fc-title-tile{width:28px;height:28px}
 #stage .cinema-card[data-card-kind=ironia] .fc-title-icon{width:24px;height:24px}
}

/* V994 · Conteúdo no topo; comparação e fontes ocupam o próprio cartão. */
#stage .cinema-card .fc-top .fc-narrator{grid-column:1/-1;display:flex;align-items:baseline;gap:8px;padding:0;border:0;background:none;min-width:0}
#stage .cinema-card [data-fc-fixed]:has(>.fc-grid),#stage .cinema-card [data-fc-fixed=steps]{overflow-y:auto;overflow-x:hidden}
#stage .cinema-card [data-fc-fixed]>.fc-grid{grid-template-rows:repeat(2,minmax(min-content,1fr))}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-card{cursor:default;align-content:start;grid-template-columns:30px minmax(0,1fr) auto;grid-template-areas:"tile head head" "hero hero hero" "text text text" "bars bars bars" "why why why" "links links links" "who who who" "detail detail detail";grid-template-rows:auto auto auto minmax(36px,1fr) auto auto auto auto;gap:clamp(6px,1vh,14px);padding:clamp(12px,1.2vw,22px);overflow:visible}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-hero{font-size:clamp(30px,8cqw,56px)}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-text{font:clamp(17px,3.6cqw,23px)/1.3 Arial,sans-serif}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-text .fc-long{display:inline}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-text .fc-short{display:none}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-bars{display:grid;align-self:stretch;align-content:center;gap:8px}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-bar i{height:clamp(14px,2.4vh,28px)}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-bar em{display:inline}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-origin-detail{display:block;margin-bottom:8px}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-whyline{font:clamp(15px,3cqw,20px)/1.3 Arial,sans-serif}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-links{display:flex;flex-wrap:wrap;gap:6px;grid-area:links}
#stage .cinema-card .fc-detail{display:none;grid-area:detail;justify-self:start}
#stage .cinema-card .fc-sheet .fc-detail{display:none}
/* Quatro passos, em dois pares: o exemplo ocupa a área de leitura. */
#stage .cinema-card [data-fc-fixed] .fi-steps{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(min-content,1fr));gap:clamp(10px,1.5vw,24px)}
#stage .cinema-card [data-fc-fixed] .fi-step{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"num title tile" "text text text" "example example example";grid-template-rows:auto auto 1fr;align-content:start;align-items:start;gap:clamp(10px,1.5vh,20px);padding:clamp(16px,2vw,32px);overflow:visible}
#stage .cinema-card [data-fc-fixed] .fi-num{font-size:clamp(48px,7vh,90px)}
#stage .cinema-card [data-fc-fixed] .fi-title{align-self:center;font-size:clamp(12px,1.2vw,20px);line-height:1.5}
#stage .cinema-card [data-fc-fixed] .fi-tile{display:grid;width:clamp(40px,5vw,72px);height:clamp(40px,5vw,72px)}
#stage .cinema-card [data-fc-fixed] .fi-tile svg{width:80%;height:80%}
#stage .cinema-card [data-fc-fixed] .fi-text{font:clamp(19px,2vw,30px)/1.3 Arial,sans-serif;margin:0}
#stage .cinema-card .fi-example{grid-area:example;padding:clamp(12px,1.5vw,24px);background:var(--fc-bg);border-left:4px solid var(--fc-a);color:var(--fc-h)}
#stage .cinema-card .fi-example strong{font:12px/1.5 'Brasil Arcade',monospace;color:var(--fc-a)}
#stage .cinema-card .fi-example p{font:clamp(20px,2.2vw,34px)/1.3 Arial,sans-serif;margin:10px 0 0}
/* Seis blocos editoriais, sem alterar o texto nem o manifesto seguinte. */
#stage .cinema-card [data-fc-fixed] .fv-flow{display:grid;width:100%;max-width:none;min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto auto;gap:clamp(12px,1.5vw,24px);align-content:center;align-items:start}
#stage .cinema-card [data-fc-fixed] :is(.fv-item,.fv-studio){--fv-color:#dfc276;margin:0;padding:clamp(14px,1.4vw,24px);border:1px solid color-mix(in srgb,var(--fv-color) 45%,#243047);border-top:4px solid var(--fv-color);background:color-mix(in srgb,var(--fv-color) 9%,#101522);min-width:0}
#stage .cinema-card [data-fc-fixed] .fv-tag{color:var(--fv-color);font-size:clamp(11px,1.1vw,17px);line-height:1.5;margin-bottom:12px}
#stage .cinema-card [data-fc-fixed] :is(.fv-para,.fv-studio-text){font:clamp(18px,1.4vw,24px)/1.4 Arial,sans-serif}
#stage .cinema-card [data-fc-fixed] :is(.fv-para,.fv-studio-text) .fc-hl{display:inline;background:none;box-shadow:inset 0 -1px var(--fv-color);color:var(--fv-color);font:inherit;margin:0}
@media (max-width:900px), (max-height:420px) and (orientation:landscape){
 #stage .cinema-card [data-fc-fixed]>.fc-grid .fc-detail{display:block}
 #stage .cinema-card [data-fc-fixed]>.fc-grid .fc-text .fc-long{display:none}
 #stage .cinema-card [data-fc-fixed]>.fc-grid .fc-text .fc-short{display:inline}
 #stage .cinema-card [data-fc-fixed]>.fc-grid :is(.fc-origin-detail,.fc-links){display:none}
 #stage .cinema-card [data-fc-fixed] .fv-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
 #stage .cinema-card [data-fc-fixed] .fi-steps,#stage .cinema-card [data-fc-fixed] .fv-flow{grid-template-columns:minmax(0,1fr);height:auto}
}

#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-card .fc-hero{display:block}
#stage .cinema-card [data-fc-fixed]>.fc-grid .fc-card .fc-tile{display:grid}

/* V1001 · Casos em comum e fechamento com identidade neutra própria. */
#stage .cinema-card [data-fc-fixed] .fc-shared{margin-top:18px;padding:14px 12px 12px;border:0;border-top:3px double #d9c58e;background:#222219}
#stage .cinema-card [data-fc-fixed] .fc-shared>.fc-side-heading{margin:0 0 12px;color:#f2dfaa;font:bold 18px/1.2 Arial,sans-serif;letter-spacing:2px}
#stage .cinema-card .fc-shared-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px;align-items:start}
#stage .cinema-card [data-fc-fixed] .fc-shared .fc-case-grid{grid-template-columns:minmax(0,1fr);margin:0}
#stage .cinema-card .fc-case-scope{display:block;margin-top:4px;color:#f2dfaa;font:bold 10px/1.2 Arial,sans-serif;letter-spacing:.6px}
#stage .cinema-card .fc-status-indiciado{--status:#e9cb8e}
#stage .cinema-card .fc-synthesis{min-width:0;padding:0 0 0 18px;border-left:1px solid #8b805f;color:#f4edda}
#stage .cinema-card .fc-synthesis h5{margin:0 0 6px;font:bold 12px/1.2 Arial,sans-serif;letter-spacing:1px;color:#d9c58e}
#stage .cinema-card .fc-synthesis p{margin:0 0 10px;font:18px/1.4 Georgia,serif}
#stage .cinema-card .fc-synthesis mark{color:inherit;background:none;font-weight:bold}
#stage .cinema-card [data-fc-fixed] .fc-synthesis .fc-src{color:#c8c1ad;font-size:11px}
@media (max-width:700px){
 #stage .cinema-card .fc-shared-content{grid-template-columns:minmax(0,1fr);gap:18px}
 #stage .cinema-card .fc-synthesis{padding:14px 0 0;border-left:0;border-top:1px solid #8b805f}
}

/* V1001 · Cabeçalho compacto compartilhado; o manifesto tem layout separado. */
#stage .cinema-card.fc-screen{display:flex;flex-direction:column}
#stage .cinema-card .fc-top{grid-template-columns:auto minmax(0,1fr) minmax(240px,42%);grid-template-areas:"tile title meta" "tile lead meta";align-items:start;padding-right:0}
#stage .cinema-card .fc-head-meta{grid-area:meta;min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:2px;text-align:right}
#stage .cinema-card .fc-head-meta .fc-date{display:block;align-self:end;font:10px/1.2 Arial,sans-serif;letter-spacing:.3px}
#stage .cinema-card .fc-top .fc-head-meta .fc-narrator{display:block;margin:0;padding:0;min-width:0;background:none;border:0}
#stage .cinema-card .fc-head-meta summary{box-sizing:border-box;min-height:40px;display:block;align-content:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;list-style:none;color:#e3cf8a}
#stage .cinema-card .fc-head-meta summary::-webkit-details-marker{display:none}
#stage .cinema-card .fc-head-meta summary:focus-visible{outline:2px solid #f0e2a0;outline-offset:-2px}
#stage .cinema-card .fc-head-meta .fc-narrator strong{display:inline;font:bold 10px/1.2 Arial,sans-serif}
#stage .cinema-card .fc-head-meta .fc-narr-line{font:14px/1.2 'VT323',monospace}
#stage .cinema-card .fc-head-meta details[open] summary{white-space:normal;overflow-wrap:anywhere}
#stage .cinema-card .fc-head-meta .fc-nav{justify-content:flex-end;gap:4px;margin:0;min-width:0}
#stage .history-cinema .fc-head-meta .fc-nav button{flex:0 1 auto;box-sizing:border-box;min-width:40px;height:40px;min-height:40px;margin:0;padding:3px 7px;font:10px/1.2 Arial,sans-serif;letter-spacing:0;white-space:nowrap}
#stage .cinema-card .fc-head-meta .fc-dots{display:none}
@media (max-width:900px),(max-height:600px){
 #stage .cinema-card .fc-top{--fc-tt:18px;column-gap:6px;grid-template-columns:auto minmax(0,1fr) minmax(230px,46%);padding-right:46px}
 #stage .cinema-card .fc-top .fc-title-tile{width:28px;height:28px}
 #stage .cinema-card .fc-top .fc-title-icon{width:24px;height:24px}
}
@media (max-width:480px) and (orientation:portrait){
 #stage .cinema-card .fc-top{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"tile title" "lead lead" "meta meta";padding-right:46px}
}

/* V1001 · Os próximos passos só surgem depois da escrita do anterior. */
#stage .cinema-card [data-fc-fixed=steps] .fi-steps{height:100%;grid-template-rows:repeat(2,minmax(0,1fr));min-height:0}
#stage .cinema-card [data-fc-fixed=steps] .fi-step{min-height:0;overflow-y:auto;padding:clamp(12px,1.4vw,22px);gap:10px;grid-template-rows:auto auto 1fr}
#stage .cinema-card [data-fc-fixed=steps] .fi-num{font-size:clamp(36px,5vh,60px)}
#stage .cinema-card [data-fc-fixed=steps] .fi-tile{width:40px;height:40px}
#stage .cinema-card [data-fc-fixed=steps] .fi-text,
#stage .cinema-card [data-fc-fixed=steps] .fi-example p{font:clamp(16px,1.25vw,22px)/1.35 Arial,sans-serif}
#stage .cinema-card [data-fc-fixed=steps] .fi-example{padding:10px 14px;align-self:stretch}
#stage .cinema-card [data-fc-fixed=steps] .fi-step[hidden]{display:none}
#stage .cinema-card [data-fc-fixed=steps] [data-typing]::after{content:'▍';color:var(--fc-a)}
@keyframes fi-cursor{50%{opacity:0}}
@media (prefers-reduced-motion:no-preference){
 #stage .cinema-card [data-fc-fixed=steps] [data-typing]::after{animation:fi-cursor .7s steps(1) infinite}
 #stage .cinema-card [data-fc-fixed=steps] .fi-step[data-step-state=enter]{animation:fi-enter .45s ease-out both}
}
@keyframes fi-enter{from{opacity:0;transform:translateY(24px) scale(.96);border-color:var(--fc-a);box-shadow:0 0 24px var(--fc-a)}to{opacity:1;transform:none;border-color:var(--fc-s);box-shadow:inset 0 4px 0 var(--fc-a)}}
@media (max-width:900px), (max-height:420px) and (orientation:landscape){
 #stage .cinema-card [data-fc-fixed=steps] .fi-steps{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){
 #stage .cinema-card [data-fc-fixed=steps] [data-typing]::after{display:none}
}

/* V1001 · Números: seis cartões iguais, dimensionados pela altura disponível. */
#stage .cinema-card [data-fc-facts]{display:flex;flex-direction:column;overflow:visible;gap:8px;container-type:size}
#stage .cinema-card .fc-impact{flex:none;margin:0;color:#f4df9c;font:bold clamp(17px,2.1vh,24px)/1.15 Arial,sans-serif}
#stage .cinema-card [data-fc-facts]>.fc-grid{flex:1;min-height:0;height:auto;grid-template-rows:repeat(2,minmax(0,1fr));gap:10px}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-item{min-height:0}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-card{overflow:visible;min-height:0;padding:clamp(10px,1.5cqh,16px);gap:clamp(5px,.8cqh,9px);grid-template-columns:26px minmax(0,1fr);grid-template-areas:"tile head" "hero hero" "text text" "why why" "links links";grid-template-rows:auto auto auto 1fr auto;align-content:start}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-card .fc-tile{width:24px;height:24px}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-icon{width:20px;height:20px}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-kicker{font:bold 12px/1.2 Arial,sans-serif;letter-spacing:.5px;color:var(--fc-ca)}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-hero{font-size:clamp(32px,5.4cqh,52px);overflow:visible}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-text{font:clamp(15px,2.05cqh,19px)/1.22 Arial,sans-serif;font-weight:600}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-whyline{display:flex;flex-direction:column;gap:clamp(7px,1cqh,12px);border:0;padding:0;font:clamp(16px,2.2cqh,21px)/1.2 Arial,sans-serif;color:#e0e5ef}
#stage .cinema-card [data-fc-facts]>.fc-grid :is(.fc-origin-detail,.fc-why-detail){display:block;margin:0;padding:6px 0 0 10px;border-left:3px solid var(--fc-ca);border-top:1px solid #34405c}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-why-detail{border-left-color:#ebbd79}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-whylabel{display:block;margin:0 0 4px;color:var(--fc-ca);font:bold 12px/1.1 Arial,sans-serif;letter-spacing:.5px}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-why-detail .fc-whylabel{color:#ebbd79}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-whyline p{margin:0}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-src{font:12px/1.2 Arial,sans-serif;letter-spacing:0;min-height:0;padding:0;border:0;background:none;text-decoration:underline}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-origin{font:bold 9px/1.3 Arial,sans-serif;letter-spacing:0;align-self:center;padding:2px 4px}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-detail{display:none}
@media (prefers-reduced-motion:no-preference){
 #stage .cinema-card [data-fc-facts] .fc-card{transition:opacity .3s,transform .3s}
 #stage .cinema-card [data-fc-facts] .fc-card[data-reveal=waiting]{opacity:0;transform:translateY(18px)}
 #stage .cinema-card [data-fc-facts] .fc-whyline{transition:opacity .25s}
 #stage .cinema-card [data-fc-facts] [data-details=waiting] .fc-whyline{opacity:0}
}
@media (max-height:600px), (max-width:900px){
 #stage .cinema-card [data-fc-facts]{overflow-y:auto;container-type:inline-size}
 #stage .cinema-card [data-fc-facts]>.fc-grid{flex:none;grid-template-rows:repeat(2,minmax(min-content,1fr))}
 #stage .cinema-card [data-fc-facts]>.fc-grid .fc-card{padding:8px;gap:5px}
 #stage .cinema-card [data-fc-facts]>.fc-grid .fc-hero{font-size:28px;white-space:normal}
 #stage .cinema-card [data-fc-facts]>.fc-grid .fc-text{font-size:14px}
 #stage .cinema-card [data-fc-facts]>.fc-grid .fc-whyline{font-size:15px;gap:8px}
 #stage .cinema-card [data-fc-facts]>.fc-grid .fc-detail{display:block;grid-area:detail}
 #stage .cinema-card [data-fc-facts]>.fc-grid .fc-card{grid-template-areas:"tile head" "hero hero" "text text" "why why" "links links" "detail detail";grid-template-rows:auto}
}

/* V1001 · Virada: blocos naturais, realces inline e entrada pelo relógio da cena. */
#stage .cinema-card [data-fv-reveal]{display:flex;align-items:safe center;overflow-y:auto}
@media (min-width:1000px) and (min-height:700px){
 #stage .cinema-card [data-fv-reveal]{overflow:visible}
}
@media (prefers-reduced-motion:no-preference){
 #stage .cinema-card [data-fv-reveal] [data-fc-item]{transition:opacity .35s ease,transform .35s ease}
 #stage .cinema-card [data-fv-reveal] [data-reveal=waiting]{opacity:0;transform:translateY(16px)}
}
/* V1001 · Títulos dos casos com destaque: fonte do jogo, cor do lado com brilho leve e a pessoa em tom mais claro. */
#root #stage .cinema-card [data-fc-fixed] .fc-sides .fc-kicker{font:15px/1.25 'Brasil Arcade',monospace;letter-spacing:1px;text-transform:uppercase;color:var(--fc-a);text-shadow:0 0 6px color-mix(in srgb,var(--fc-a) 45%,transparent)}
#root #stage .cinema-card [data-fc-fixed] .fc-sides .fc-case-person{color:var(--fc-h,#fff6d8)}
@media (max-height:420px){#root #stage .cinema-card [data-fc-fixed] .fc-sides .fc-kicker{font-size:12px}}

/* V603 · Cabeçalho em duas linhas: os botões ficam na linha do título, o narrador colado embaixo do título, sem a data. Os botões levam
   as cores da bandeira (PRÓXIMA amarelo e verde, VOLTAR azul e amarelo); FONTES leva o sinal de link; no celular, o botão de tela cheia
   fica da mesma altura e na mesma linha dos botões. */
#stage .cinema-card .fc-top{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"tile title nav" "tile narr nav" "lead lead lead";align-items:center;row-gap:0}
#stage .cinema-card .fc-top .fc-head-meta{display:contents}
#stage .cinema-card .fc-top .fc-head-meta .fc-date{display:none}
#stage .cinema-card .fc-top .fc-head-meta .fc-nav{grid-area:nav;align-self:start;justify-content:flex-end}
#stage .cinema-card .fc-top .fc-head-meta .fc-narrator{grid-area:narr;align-self:start;text-align:left;margin-top:-2px}
#stage .cinema-card .fc-top .fc-head-meta summary{min-height:0;line-height:1}
#stage .cinema-card .fc-top .fc-head-meta .fc-narr-line{font:14px/1 'VT323',monospace;letter-spacing:0}
#stage .cinema-card .fc-top .fc-head-meta .fc-narrator strong{display:none}
#stage .cinema-card .fc-top .cinema-card-lead{grid-area:lead}
#stage .cinema-card .fc-top .fc-title-tile,#stage .cinema-card[data-card-kind] .fc-top .fc-title-tile{grid-row:1/span 2;align-self:center;width:34px;height:34px}
#stage .cinema-card .fc-top .fc-title-tile .fc-title-icon{width:24px;height:24px}
#stage .history-cinema .fc-top .fc-nav button{height:38px;min-height:38px;padding:0 12px;font:11px/1 'Brasil Arcade',monospace;letter-spacing:1px;box-shadow:3px 3px 0 #05081a}
#stage .history-cinema .fc-top .fc-nav .fc-prev{color:var(--sb-selection);background:#002776;border:2px solid #4a7be0}
#stage .history-cinema .fc-top .fc-nav .cinema-card-next{color:#002776;background:var(--sb-selection);border:2px solid #009c3b}
#stage .history-cinema .fc-top .fc-nav .fc-prev:hover{background:#0a3a9e}
#stage .history-cinema .fc-top .fc-nav .cinema-card-next:hover{background:#fff27a}
#stage .history-cinema .fc-top .fc-nav .fc-fontes{display:inline-flex;align-items:center;gap:5px;font:16px/1 'VT323',monospace;letter-spacing:1px;padding:0 9px;color:#aab4cc;background:transparent;border:1px solid #3a4565;box-shadow:none}
#stage .history-cinema .fc-top .fc-nav .fc-fontes::after{content:'↗';font:15px/1 Arial,sans-serif;color:#77bed2}
@media (max-width:640px),(max-height:600px){
 #root #stage[data-mode]:has(.history-cinema[data-cards] .cinema-card.fc-screen:not([hidden])) #utilities{top:16px}
 #root #stage[data-mode]:has(.history-cinema[data-cards] .cinema-card.fc-screen:not([hidden])) #utilities #fullscreen{height:38px;min-height:38px;width:38px;min-width:38px;padding:6px}
}
@media (max-width:480px) and (orientation:portrait){
 #stage .cinema-card .fc-top{grid-template-areas:"tile title title" "narr narr narr" "nav nav nav" "lead lead lead"}
}
/* V603 · OS DOIS LADOS: faixas dos lados nas cores de cada campo, fixas no topo enquanto os cartões rolam. */
#stage .cinema-card .fc-sides>.fc-side-heading[data-side]{position:sticky;top:0;z-index:3;color:var(--sb-selection);background:#00602a;border-left:5px solid var(--sb-selection);box-shadow:0 4px 0 #0b1020;text-shadow:1px 1px 0 #05081a}
#stage .cinema-card .fc-sides>.fc-side-heading[data-side=lula]{color:#fff;background:#a3161c;border-left-color:#ff6a6f}
#stage .cinema-card [data-fc-fixed] .fc-sides .fc-card[data-side=bolsonarismo]{border-left-color:#2fbf5f}
#stage .cinema-card [data-fc-fixed] .fc-sides .fc-card[data-side=lula]{border-left-color:#e2464c}
/* V603 · Sem o botão + DETALHES na tela: o cartão já mostra o texto, a origem e as fontes (tocar no cartão ainda abre a versão completa).
   Pelo teclado, o botão continua focável e aparece só quando recebe o foco. */
#stage .cinema-card .fc-grid .fc-detail:not(:focus-visible){display:block!important;position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#stage .cinema-card .fc-grid .fc-card:has(.fc-detail){position:relative}

/* Pós-eleição: conteúdo integral com rolagem interna, inclusive no celular deitado. */
#stage .cinema-card .fc-post-election{--s:18;--fc-h:#c8d6ee;--fc-s:#566b86;font:clamp(17px,2.2vw,24px)/1.15 'VT323',monospace;color:#e5e8ef}
#stage .fc-post-election h4,#stage .fc-post-election h5{font-family:'Brasil Arcade',monospace;font-size:12px;line-height:1.5;margin:0 0 8px;color:#e6ce82}
#stage .fc-post-election p{margin:6px 0 12px}
#stage .fc-checklist{list-style:none;margin:0;padding:4px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#stage .fc-checklist li{display:flex;gap:12px;border-bottom:2px solid #3a4260;padding:8px;min-width:0}
#stage .fc-checkbox{flex:0 0 16px;height:16px;border:3px solid #b9a1de;box-shadow:3px 3px 0 #403251;margin-top:2px}
#stage .fc-closing-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:8px}
#stage .fc-closing-columns section{min-width:0;overflow-wrap:anywhere}
#stage .fc-closing-columns ul{list-style:none;padding:0;margin:0}
#stage .fc-closing-columns li{border-bottom:1px solid #3a4260;margin-bottom:12px;padding-bottom:8px}
#stage .fc-closing-columns strong{color:#8fdea6}
#stage .fc-contribute{border-top:2px solid #3a4260;padding:12px 8px;display:flex;flex-wrap:wrap;align-items:center;gap:12px}
#stage .fc-contribute h4{flex-basis:100%}
#stage .fc-contribute :is(button,a){font:12px/1.5 'Brasil Arcade',monospace;padding:10px;border:2px solid #ffe066;box-shadow:3px 3px 0 #102853;background:#176a42;color:#fff1b3;text-decoration:none;cursor:pointer}
#stage .fc-contribute a{background:#174a91}
@media(max-width:560px) and (orientation:portrait){#stage .fc-checklist,#stage .fc-closing-columns{grid-template-columns:minmax(0,1fr)}}
/* Telas de depois da eleição: título longo em tamanho menor, para caber ao lado dos botões. */
#stage .cinema-card:is([data-card-kind=pendencias],[data-card-kind=encerramento]) .fc-top h3.fc-title{font-size:22px;line-height:1.15}
@media (max-width:900px),(max-height:600px){#stage .cinema-card:is([data-card-kind=pendencias],[data-card-kind=encerramento]) .fc-top h3.fc-title{font-size:14px}}
/* Encerramento: indicadores em grade compacta, a chamada da comunidade sempre à vista no pé e a frase final em destaque. */
#stage .cinema-card[data-card-kind=encerramento] .fc-post-election{display:flex;flex-direction:column;min-height:0}
#stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns{flex:1 1 auto;min-height:0;overflow-y:auto;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
#stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}
#stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns li{margin:0;padding:0 0 6px}
#stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns li h5{font-size:10px;margin:0 0 2px}
#stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns li p{margin:0 0 4px;font-size:clamp(15px,1.4vw,19px);line-height:1.1}
#stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns li .fc-src{font-size:13px;padding:1px 5px}
#stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns section>p{margin:4px 0 8px;font-size:clamp(16px,1.5vw,21px);line-height:1.15}
#stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns section>p strong{display:block;margin-top:8px;font:clamp(13px,1.3vw,18px)/1.4 'Brasil Arcade',monospace;letter-spacing:1px;color:#00e676;text-shadow:2px 2px 0 #03371b}
#stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns section>.fc-src{display:inline-block;margin-top:8px;font:15px/1.2 'VT323',monospace;color:#9fd7ff;border:1px solid #3a6c8c;padding:3px 8px;text-decoration:none}
#stage .cinema-card[data-card-kind=encerramento] .fc-contribute{flex:none;padding:6px 8px;gap:8px}
#stage .cinema-card[data-card-kind=encerramento] .fc-contribute h4{flex-basis:auto;margin:0 8px 0 0}
@media (max-height:600px){#stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns ul{grid-template-columns:minmax(0,1fr)}}

/* Leitura em tela inteira: um passo por vez, medido com o texto completo. */
#stage .cinema-card [data-fc-fixed=steps]{display:flex;flex-direction:column;gap:8px;overflow:hidden;--reading-scale:1}
#stage .cinema-card [data-fc-fixed=steps] .fi-route{display:none}
#stage .cinema-card [data-fc-fixed=steps] .fi-steps{flex:1;min-height:0;width:100%;height:auto;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);margin:0}
#stage .cinema-card [data-fc-fixed=steps] .fi-step{overflow:hidden;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"num title tile" "text text text" "example example example";grid-template-rows:auto minmax(0,1fr) minmax(0,1fr);gap:8px;padding:12px;align-items:center}
#stage .cinema-card [data-fc-fixed=steps] .fi-num{font-size:calc(44px * var(--reading-scale))}
#stage .cinema-card [data-fc-fixed=steps] .fi-title{font:calc(17px * var(--reading-scale))/1.4 'Brasil Arcade',monospace;background:var(--fc-bg);border-top:4px solid var(--fc-a);padding:8px;margin:0;align-self:stretch;align-content:center}
#stage .cinema-card [data-fc-fixed=steps] :is(.fi-text,.fi-example p){font:calc(clamp(22px,2.4vw,36px) * var(--reading-scale))/1.28 Arial,sans-serif;margin:0}
#stage .cinema-card [data-fc-fixed=steps] .fi-example{align-self:stretch;align-content:center;padding:8px 12px;min-height:0}
#stage .cinema-card [data-fc-fixed=steps] .fi-example strong{display:block;font-size:calc(12px * var(--reading-scale));margin-bottom:6px}
#stage .cinema-card .fi-controls{flex:none;display:flex;justify-content:flex-end;align-items:center;gap:8px}
#stage .cinema-card .fi-controls [data-step-count]{margin-right:auto;color:#cfe6ff;font:18px/1 'Brasil Arcade',monospace}
#stage .history-cinema .fi-controls button{min-height:40px;padding:6px 12px;font:11px/1.3 'Brasil Arcade',monospace}
#stage .history-cinema .fi-controls button:disabled{opacity:.5}
#stage .cinema-card .fi-controls [hidden]{display:none}
/* A menos que: quatro blocos iguais, realces originais preservados. */
#stage .cinema-card [data-fv-reveal]{display:block;overflow:hidden;--reading-scale:1}
#stage .cinema-card [data-fv-reveal] .fv-flow{height:100%;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch;align-content:stretch}
#stage .cinema-card [data-fv-reveal] .fv-item{height:100%;min-height:0;box-sizing:border-box;padding:10px;overflow:hidden;display:flex;flex-direction:column}
#stage .cinema-card [data-fv-reveal] .fv-tag{flex:none;font-size:calc(12px * var(--reading-scale));background:color-mix(in srgb,var(--fv-color) 15%,#101522);padding:6px;margin:0 0 8px}
#stage .cinema-card [data-fv-reveal] .fv-para{font:calc(clamp(18px,1.8vw,28px) * var(--reading-scale))/1.3 Arial,sans-serif;margin:0;flex:1;align-content:center}
@media(min-width:1200px) and (min-height:600px){#stage .cinema-card [data-fv-reveal] .fv-flow{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}}
/* Conquistas e pendências no mesmo cartão, com o nome aprovado da tela. */
#stage .cinema-card[data-card-kind=melhorou] .fc-top h3.fc-title{font-size:clamp(12px,1.4vw,22px);line-height:1.3}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-head{background:color-mix(in srgb,var(--fc-ca) 18%,#121827);border-top:3px solid var(--fc-ca);padding:6px}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-kicker{font:11px/1.4 'Brasil Arcade',monospace}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-why-detail{background:#29251e;padding:8px;border:1px solid #76623d;border-left:4px solid #ebbd79}
/* O título do debate vai para o cabeçalho com seu ícone e sua cor. */
#root #stage[data-mode=cinema] .history-cinema[data-video] header>div:first-child small{display:none!important}
#root #stage[data-mode=cinema] .history-cinema[data-video] header h2[data-fc-title=debate]{font:clamp(10px,1.25vw,18px)/1.5 'Brasil Arcade',monospace;color:var(--fc-ta);white-space:normal;overflow:visible;text-overflow:clip;display:flex;align-items:center;gap:8px}
#root #stage[data-mode=cinema] .history-cinema[data-video] header h2[data-fc-title=debate]::before{content:'';width:28px;height:28px;flex:none;background:var(--fc-title-url) center/contain no-repeat;image-rendering:pixelated}
#root #stage[data-mode=cinema] .history-cinema[data-video] .cinema-caption :is(h3,[data-cinema-count]){display:none}

#stage .cinema-card[data-card-kind=melhorou] [data-fc-facts]{overflow-y:auto;container-type:normal}
#stage .cinema-card[data-card-kind=melhorou] [data-fc-facts]>.fc-grid{flex:1;grid-template-rows:minmax(min-content,1fr)}
#stage .cinema-card[data-card-kind=melhorou] [data-fc-facts]>.fc-grid .fc-card{grid-template-rows:auto auto auto 1fr auto;grid-template-areas:"tile head" "hero hero" "text text" "why why" "links links";padding:10px;gap:8px;overflow:visible}
#stage .cinema-card[data-card-kind=melhorou] [data-fc-facts]>.fc-grid .fc-text .fc-long{display:inline}
#stage .cinema-card[data-card-kind=melhorou] [data-fc-facts]>.fc-grid .fc-text .fc-short{display:none}
#stage .cinema-card[data-card-kind=melhorou] .fc-impact{display:none}

#stage .cinema-card [data-fv-reveal] .fv-flow{grid-template-rows:repeat(2,minmax(0,1fr)) auto}
#stage .cinema-card [data-fv-reveal] .fv-afterword{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:0}
#stage .cinema-card [data-fv-reveal] .fv-afterword :is(.fv-item,.fv-studio){padding:6px 8px;border-top-width:2px}
#stage .cinema-card [data-fv-reveal] .fv-afterword :is(.fv-para,.fv-studio-text){font:calc(14px * var(--reading-scale))/1.2 Arial,sans-serif;margin:0}
#stage .cinema-card [data-fv-reveal] .fv-afterword .fv-tag{font-size:calc(9px * var(--reading-scale));padding:0;margin:0 0 4px}
#stage .cinema-card [data-fv-reveal] .fv-sign{font-size:calc(12px * var(--reading-scale));margin-top:3px}
@media(min-width:1200px) and (min-height:600px){#stage .cinema-card [data-fv-reveal] .fv-flow{grid-template-rows:minmax(0,1fr) auto}}

#stage .cinema-card [data-fc-fixed=steps] .fi-text{height:100%;min-height:0;overflow:hidden;align-content:center}
#stage .cinema-card [data-fv-reveal] .fv-afterword .fv-item{height:auto}

/* Rodada 2: o exemplo não reserva uma caixa antes da primeira letra. */
#stage .cinema-card [data-fc-fixed=steps] .fi-step{grid-template-rows:auto minmax(0,1fr) auto}
#stage .cinema-card [data-fc-fixed=steps] .fi-step:not([data-example]){grid-template-areas:"num title tile" "text text text";grid-template-rows:auto minmax(0,1fr)}
#stage .cinema-card [data-fc-fixed=steps] .fi-example[hidden]{display:none}
#stage .cinema-card [data-fc-fixed=steps] .fi-text{font-size:calc(clamp(34px,4.5vw,56px) * var(--reading-scale));line-height:1.15}
#stage .cinema-card [data-fc-fixed=steps] .fi-example p{font-size:calc(clamp(20px,2.5vw,30px) * var(--reading-scale));line-height:1.2}
@media(prefers-reduced-motion:no-preference){
 #stage .cinema-card [data-fc-fixed=steps] .fi-example:not([hidden]){animation:fi-example-in .28s steps(4,end) both}
 #stage .cinema-card [data-fc-fixed=steps][data-fitting] .fi-example{animation:none}
}
@keyframes fi-example-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

/* V618 · OS DOIS LADOS: cartões aparecem prontos (a entrada em degraus de opacidade deixava cartões meio apagados ao rolar)
   e a data fica solta no canto, sem caixa de fundo. */
#stage .cinema-card[data-card-kind=ironia] .fc-sides [data-fc-item]{animation:none!important;opacity:1!important;transform:none!important}
#stage .cinema-card[data-card-kind=ironia] [data-fc-fixed] .fc-sides .fc-hero{background:none;padding:0;box-shadow:none}

/* COMO DEVERIA SER: identidade de cada passo, faixa única e exemplo de Previdência. */
#stage .cinema-card [data-fc-fixed=steps] .fi-step{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:0;border:2px solid var(--fi-color);border-top:0;background:#111827;overflow:hidden}
#stage .cinema-card .fi-step[data-step="1"]{--fi-color:#53c9ff;--fi-bg:#103b50}
#stage .cinema-card .fi-step[data-step="2"]{--fi-color:#ffd34e;--fi-bg:#433713}
#stage .cinema-card .fi-step[data-step="3"]{--fi-color:#64e3a1;--fi-bg:#123d30}
#stage .cinema-card .fi-step[data-step="4"]{--fi-color:#c3a0ff;--fi-bg:#322347}
#stage .cinema-card .fi-heading{flex:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:6px 14px;background:var(--fi-color);color:#101629}
#stage .cinema-card [data-fc-fixed=steps] .fi-num{grid-column:1;grid-row:1;font-size:calc(42px * var(--reading-scale));line-height:1;color:inherit;text-shadow:none}
#stage .cinema-card [data-fc-fixed=steps] .fi-title{grid-column:2;grid-row:1;font:calc(15px * var(--reading-scale))/1.3 'Brasil Arcade',monospace;margin:0;background:none;border:0;padding:0;color:inherit}
#stage .cinema-card [data-fc-fixed=steps] .fi-tile{grid-column:3;grid-row:1;width:calc(30px * var(--reading-scale));height:calc(30px * var(--reading-scale));background:#101629;border:0;padding:4px;box-sizing:content-box}
#stage .cinema-card .fi-tile svg{width:100%;height:100%}
#stage .cinema-card [data-fc-fixed=steps] .fi-text{flex:1;align-self:stretch;min-height:0;height:auto;padding:12px 16px;box-sizing:border-box;font:calc(clamp(24px,3.2vw,40px) * var(--reading-scale))/1.2 Arial,sans-serif;color:#f4f7ff;align-content:center;overflow:hidden}
#stage .cinema-card [data-fc-fixed=steps] .fi-example{flex:1;min-height:0;margin:0 12px 12px;padding:10px 14px;box-sizing:border-box;background:var(--fi-bg);border:1px solid var(--fi-color);border-left:5px solid var(--fi-color);align-content:center;overflow:hidden}
#stage .cinema-card [data-fc-fixed=steps] .fi-example strong{color:var(--fi-color);font-size:calc(10px * var(--reading-scale));line-height:1.3;margin-bottom:8px}
#stage .cinema-card [data-fc-fixed=steps] .fi-example p{font:calc(clamp(20px,2.7vw,34px) * var(--reading-scale))/1.2 Arial,sans-serif;color:#f4f7ff}
#stage .cinema-card .fi-dots{display:flex;align-items:center;gap:10px}
#stage .cinema-card .fi-dots i{width:14px;height:14px;border:2px solid #9daec9;background:transparent;box-sizing:border-box}
#stage .cinema-card .fi-dots [data-filled]{background:#64e3a1;border-color:#64e3a1}
#stage .cinema-card .fi-dots [data-current]{outline:2px solid #f4f7ff;outline-offset:3px}
#stage .history-cinema .fi-controls button{height:38px;min-height:38px;padding:0 12px;font:11px/1 'Brasil Arcade',monospace;box-shadow:3px 3px 0 #05081a}
#stage .history-cinema .fi-controls [data-scene=step-pause]{background:#002776;color:var(--sb-selection);border:2px solid #4a7be0}
#stage .history-cinema .fi-controls [data-scene=step-next]{background:var(--sb-selection);color:#002776;border:2px solid #009c3b}
#stage .history-cinema .fi-controls button:focus-visible{outline:3px solid #f4f7ff;outline-offset:3px}

/* A MENOS QUE… compartilha os passos de leitura: um parágrafo ou nota por vez. */
#stage .cinema-card [data-fv-steps]{display:flex;flex-direction:column;align-items:stretch;overflow:hidden;min-height:0;gap:8px}
#stage .cinema-card [data-fv-steps] .fv-flow{flex:1;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-content:stretch;align-items:stretch;min-height:0;height:auto;max-width:none;width:100%;margin:0;gap:0;overflow:hidden}
#stage .cinema-card [data-fv-steps] :is(.fv-item,.fv-studio){display:flex;flex-direction:column;min-height:0;height:100%;box-sizing:border-box;padding:0;border:2px solid var(--fv-color);background:#111827;overflow:hidden;gap:0}
#stage .cinema-card [data-fv-steps] .fv-tag{flex:none;background:var(--fv-color);color:#101629;font:calc(clamp(14px,1.7vw,24px) * var(--reading-scale))/1.3 'Brasil Arcade',monospace;padding:10px 16px;margin:0}
#stage .cinema-card [data-fv-steps] :is(.fv-para,.fv-studio-text){flex:1;min-height:0;box-sizing:border-box;overflow:hidden;align-content:center;padding:16px 20px;margin:0;font:calc(clamp(28px,4vw,48px) * var(--reading-scale))/1.25 Arial,sans-serif;color:#f4f7ff}
#stage .cinema-card [data-fv-steps] :is(.fv-para,.fv-studio-text) .fc-hl{display:inline;font:inherit;color:var(--fv-color);background:none;padding:0;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.15em}
#stage .cinema-card [data-fv-steps] .fv-sign{flex:none;padding:0 20px 16px;margin:0;color:var(--fv-color);font:calc(18px * var(--reading-scale))/1.3 Arial,sans-serif}
#stage .cinema-card [data-fv-steps] .fi-dots{gap:8px}

/* Desfecho: trilha, perguntas e reações locais, sem efeitos de desfoque. */
#stage .cinema-card .fc-quiz{grid-column:1/-1;grid-row:auto;margin:0;border:1px solid #778791;font:20px/1.15 'VT323',monospace;min-width:0}
#stage .cinema-card .fc-quiz p{margin:4px 0}#stage .cinema-card .fc-quiz button{min-height:36px;margin:3px;padding:5px;font:16px monospace}
#stage .cinema-card .fc-card[data-quiz-pending] :is(.fc-hero,.fc-text,.fc-bars,.fc-whyline,.fc-links,.fc-detail,.fc-share){display:none!important}
#stage .cinema-card .fc-card:not([data-quiz-pending]) .fc-quiz{display:none}
#stage .cinema-card .fc-answer{grid-column:1/-1;font:18px 'VT323',monospace;color:#d9dfc7;margin:0}
#stage .cinema-card .fc-status[data-stamp]{animation:fcStamp .28s steps(4,end) both;animation-delay:0ms}
@keyframes fcStamp{0%{transform:scale(1.6) rotate(-5deg);opacity:0}50%{transform:scale(.94) translateX(2px);opacity:1}75%{transform:scale(1.03) translateX(-2px)}100%{transform:scale(1)}}
.fc-face{display:inline-block;position:relative;vertical-align:middle;width:22px;height:22px;margin-right:8px;background:#d8b08a;border:3px solid #76523d;box-shadow:3px 3px #202d46;image-rendering:pixelated}
.fc-face i{position:absolute;left:3px;top:6px;width:4px;height:4px;background:#152235;box-shadow:9px 0 #152235;animation:fcBlink 3s steps(1,end) infinite}
.fc-face b{position:absolute;left:6px;top:15px;width:10px;height:3px;background:#76523d;animation:fcSmile .8s steps(3,end) 2}
@keyframes fcBlink{0%,85%,100%{height:4px;transform:translateY(0)}90%{height:1px;transform:translateY(-2px)}}
@keyframes fcSmile{0%{width:5px}50%{width:10px;height:5px}100%{width:10px;height:3px}}
.fc-score,.fc-reward{margin:2px 0;padding:6px;color:#f0d17d;font:20px 'VT323',monospace}.fc-reward{position:absolute;bottom:8px;right:8px;z-index:10;background:#142b22;border:2px solid #f0d17d;animation:fcToast 4s steps(1,end) forwards}
@keyframes fcToast{0%,90%{visibility:visible}100%{visibility:hidden}}
@media(prefers-reduced-motion:reduce){#stage .cinema-card .fc-status[data-stamp],.fc-face i,.fc-face b{animation:none}.fc-reward{animation:none}}

#stage .cinema-card .fc-status:not([data-stamp]){animation:none}
/* Altura natural: perguntas e a primeira página do rumo não cortam cartões. */
#stage .cinema-card [data-fc-facts]{overflow-y:auto;overflow-x:hidden}
#stage .cinema-card [data-fc-facts]>.fc-grid{flex:none;grid-template-rows:none!important;grid-auto-rows:minmax(240px,auto)}
#stage .cinema-card [data-fc-facts]>.fc-grid .fc-item{min-height:240px}
#stage .cinema-card [data-fc-fixed=steps] .fi-step[data-step-state=enter]{animation-timing-function:steps(5,end)}
#stage .cinema-card [data-fc-section]{margin:2px 0;font:18px 'Brasil Arcade',monospace;color:#ead484}
#stage .cinema-card [data-fc-section] small{display:block;margin-top:5px;font:18px 'VT323',monospace;color:#d3dce5}
#stage .cinema-card :is(.fi-heading,.fv-item,.fc-synthesis,.fc-closing-columns li){position:relative}
#stage .cinema-card .fc-share{background:#101827;color:#b9c9dd;border:1px solid #506477;cursor:pointer}
#stage .cinema-card[data-card-kind=melhorou] [data-fc-facts]>.fc-grid{flex:none}
#root #stage[data-mode=cinema] .history-cinema[data-video]>.fc-chapters{position:static;width:100%;box-sizing:border-box}
.fc-video-summary{margin:3px 0;font:17px/1.1 'VT323',monospace;color:#d3dce5}
.fc-face::before{content:'';position:absolute;left:3px;top:2px;width:5px;height:2px;background:#76523d;box-shadow:9px 0 #76523d;animation:fcBrow 1.2s steps(2,end) 2}
@keyframes fcBrow{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@media(prefers-reduced-motion:reduce){.fc-face::before{animation:none}}

/* Leitura em pares: tamanho de leitura, sem ampliar para preencher a tela. */
#stage .cinema-card [data-fc-fixed=steps] :is(.fi-steps,.fv-flow){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:12px;flex:1;min-height:0;overflow:hidden}
#stage .cinema-card [data-fc-fixed=steps] [data-fc-item][hidden]{display:none!important}
#stage .cinema-card [data-fc-fixed=steps] .fi-route{display:none}
#stage .cinema-card [data-fc-fixed=steps] :is(.fi-text,.fi-example p,.fv-para){font:calc(clamp(16px,1.65vw,24px) * var(--reading-scale,1))/1.3 Arial,sans-serif;align-content:start;padding:12px;margin:0;overflow:hidden}
#stage .cinema-card [data-fc-fixed=steps] .fi-text{flex:1}
#stage .cinema-card [data-fc-fixed=steps] .fi-example{flex:1;margin:0 10px 8px;padding:8px;align-content:start}
#stage .cinema-card [data-fc-fixed=steps] .fi-example p{padding:0}
#stage .cinema-card [data-fc-fixed=steps] :is(.fi-title,.fv-tag){font-size:calc(clamp(10px,1.1vw,16px) * var(--reading-scale,1));line-height:1.3}
#stage .cinema-card [data-fc-fixed=steps] .fi-heading{gap:8px;padding:6px 8px}
#stage .cinema-card [data-fc-fixed=steps] .fi-num{font-size:22px}
#stage .cinema-card [data-fc-fixed=steps] .fi-tile{width:24px;height:24px;padding:2px}
#stage .cinema-card [data-fv-steps] .fv-tag{display:flex;align-items:center;gap:8px;padding:8px}
#stage .cinema-card [data-fv-steps] .fv-tag svg{width:28px;height:28px;display:block}
#stage .cinema-card [data-fv-steps] .fv-para .fc-hl{font-size:1.12em;font-weight:700}
#stage .cinema-card [data-fv-steps] .fv-flow:has([data-note]:not([hidden])){grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px}
#stage .cinema-card [data-fv-steps] .fv-studio{height:auto;display:block;border:0;border-top:1px solid var(--fv-color);background:none;padding:6px 10px}
#stage .cinema-card [data-fv-steps] .fv-studio .fv-tag{display:inline;padding:0;background:none;color:var(--fv-color);font:10px/1.3 'Brasil Arcade',monospace}
#stage .cinema-card [data-fv-steps] .fv-studio :is(.fv-studio-text,.fv-sign){display:inline;padding:0;margin:0 0 0 8px;font:calc(clamp(14px,1.2vw,18px) * var(--reading-scale,1))/1.3 Arial,sans-serif}
#stage .cinema-card[data-card-kind=encerramento] :is(.fc-post-election,.fc-closing-columns){overflow:hidden}
#stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns section>p{font:calc(clamp(14px,1.45vw,22px) * var(--reading-scale,1))/1.2 Arial,sans-serif;margin:0 0 8px}
#stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns h4{font-size:calc(clamp(10px,1.1vw,16px) * var(--reading-scale,1));margin:0 0 8px}
#stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns section>p strong{font-size:1em;margin-top:0}
#stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns section>.fc-src{font-size:13px;margin:0;padding:0;border:0}
@media(max-height:500px) and (orientation:landscape){
 #stage .cinema-card [data-fc-fixed=steps] :is(.fi-text,.fi-example p,.fv-para){font-size:calc(16px * var(--reading-scale,1));padding:6px;line-height:1.2}
 #stage .cinema-card [data-fc-fixed=steps] .fi-example{padding:5px;margin:0 6px 5px}
 #stage .cinema-card [data-fc-fixed=steps] .fi-example p{padding:0}
 #stage .cinema-card [data-fc-fixed=steps] .fi-example strong{margin-bottom:3px}
 #stage .cinema-card[data-card-kind=encerramento] .fc-closing-columns section>p{margin-bottom:5px}
}

/* Cinema por toque: ações continuam focáveis e disponíveis à tecnologia assistiva. */

html body #root #stage [data-scene-swipe][data-swipe-touch]:not(.history-cinema) [data-swipe-control]:not([hidden]):not(:focus-visible){display:block!important;position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
[data-scene-swipe] [data-swipe-control]:not([hidden]):focus-visible{clip-path:none;outline:3px solid #ead484}
[data-swipe-drag]{translate:var(--scene-swipe-x,0px) 0}
[data-swipe-settle]{animation:sceneSwipeSettle .18s steps(4,end)}
@keyframes sceneSwipeSettle{from{translate:12px 0}to{translate:0 0}}
[data-swipe-settle=previous]{animation-name:sceneSwipeBack}
@keyframes sceneSwipeBack{from{translate:-12px 0}to{translate:0 0}}
.scene-swipe-hint{position:fixed;z-index:90;bottom:max(8px,env(safe-area-inset-bottom));left:50%;translate:-50% 0;display:flex;align-items:center;gap:12px;max-width:90%;width:max-content;box-sizing:border-box;margin:0;padding:9px 14px;background:#101827;color:#f0d17d;border:2px solid #d8bf79;box-shadow:4px 4px #05081a;font:18px/1.2 'VT323',monospace;pointer-events:none}
.scene-swipe-hand{display:inline-block;font:30px/1 'Brasil Arcade',monospace;animation:sceneSwipeHint 1s steps(4,end) infinite}
@keyframes sceneSwipeHint{0%,100%{translate:5px 0}70%{translate:-8px 0}}
@media(prefers-reduced-motion:reduce){[data-swipe-drag]{translate:none}[data-swipe-settle],.scene-swipe-hand{animation:none}}
.fm-sheet>.fc-chapters{grid-column:1/-1}
html body #root #stage [data-scene-swipe][data-swipe-touch] [data-swipe-control]:not([hidden]):focus-visible,
html body .founder-manifesto[data-scene-swipe][data-swipe-touch] [data-swipe-control]:not([hidden]):focus-visible{display:inline-flex!important;position:relative!important;clip-path:none!important;min-width:36px!important;min-height:36px!important;outline:3px solid #ead484}

/* Trilha isolada dos ícones de título: 16 px, opaca e sempre em uma só linha. */
.fc-chapters{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;flex:0 0 24px;height:24px;min-height:24px;min-width:0;box-sizing:border-box;padding:2px 0;background:#101827;border-bottom:1px solid #506477;color:#e4edee;position:relative;z-index:1;overflow:hidden}
#root #stage .fc-chapters [data-chapter],body .founder-manifesto .fc-chapters [data-chapter]{display:flex;align-items:center;justify-content:center;flex:0 0 20px;box-sizing:border-box;width:20px;height:20px;min-width:20px;min-height:20px;max-width:20px;max-height:20px;padding:1px;margin:0;border:1px solid #506477;background:#101827;box-shadow:none;opacity:1!important;transform:none}
#root #stage .fc-chapters [data-seen],body .founder-manifesto .fc-chapters [data-seen]{background:#305343}
#root #stage .fc-chapters [aria-current],body .founder-manifesto .fc-chapters [aria-current]{border-color:#f0d17d;background:#70592b}
.fc-chapters .fc-chapter-icon,.fc-chapters .fc-chapter-svg{display:block;flex:none;width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;max-height:16px;overflow:hidden;opacity:1;image-rendering:pixelated;shape-rendering:crispEdges}
.fc-chapters small{flex:0 0 auto;margin-left:auto;white-space:nowrap;font:12px/18px monospace;letter-spacing:0;color:#cbd5e1}
#stage .history-cinema>.fc-chapters{position:relative;flex:none;width:100%}

/* Apenas título + uma sublinha; o rosto alterna resumo e frase, sem aumentar a altura. */
#stage .cinema-card.fc-screen{display:flex;flex-direction:column;gap:4px}
#stage .cinema-card[data-card-kind] .fc-top.fc-compact-top{display:grid;flex:none;grid-template-columns:28px minmax(0,1fr) auto;grid-template-rows:34px 20px;grid-template-areas:"tile title nav" "subline subline subline";align-items:center;gap:2px 8px;padding:0;min-height:0}
#stage .cinema-card[data-card-kind] .fc-compact-top>.fc-title-tile{grid-area:tile;grid-row:1;width:28px;height:28px;box-sizing:border-box;align-self:center;box-shadow:none}
#stage .cinema-card[data-card-kind] .fc-compact-top>.fc-title-tile .fc-title-icon{width:20px;height:20px}
#stage .cinema-card[data-card-kind] .fc-top.fc-compact-top h3.fc-title{font-size:clamp(12px,1.8vw,26px);line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#stage .cinema-card:is([data-card-kind=melhorou],[data-card-kind=encerramento]) .fc-top.fc-compact-top h3.fc-title{font-size:clamp(10px,1.2vw,18px)}
#stage .cinema-card .fc-compact-top .fc-head-meta{display:contents}
#stage .history-cinema .fc-compact-top .fc-nav{grid-area:nav;align-self:center;margin:0;gap:4px;flex-wrap:nowrap}
#stage .history-cinema .fc-compact-top .fc-nav button{height:30px;min-height:30px;padding:0 8px;font-size:10px;box-shadow:none}
#stage .cinema-card .fc-subline{grid-area:subline;display:flex;align-items:center;gap:6px;min-width:0;height:20px;white-space:nowrap;overflow:hidden;text-align:left}
#stage .cinema-card .fc-subline :is(.fc-summary,.fc-narr-line){flex:1;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:16px/20px 'VT323',monospace;color:#d3dce5}
#stage .cinema-card .fc-subline .fc-narr-line{color:#e3cf8a}
#stage .history-cinema .fc-subline .fc-narr-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 22px;box-sizing:border-box;width:22px;height:20px;min-width:22px;min-height:20px;margin:0;padding:0;border:0;box-shadow:none;background:transparent;color:#e3cf8a}
#stage .cinema-card .fc-subline .fc-face{flex:none;scale:.6;transform-origin:center;margin:0}
@media(max-height:500px) and (orientation:landscape){
 #stage .cinema-card.fc-screen{padding:6px 10px;gap:4px}
 #stage .cinema-card[data-card-kind] .fc-top.fc-compact-top{grid-template-rows:30px 18px;gap:2px 6px}
 #stage .cinema-card .fc-subline{height:18px}
 #stage .cinema-card .fc-subline :is(.fc-summary,.fc-narr-line){font-size:15px;line-height:18px}
 #stage .cinema-card>.fc-chapters{padding-right:44px}
 .fc-chapters small{font-size:10px}
}
/* Fonte, situação e compartilhar dividem o rodapé; nunca ocupam o canto da data. */
#stage .cinema-card .fc-card .fc-links:has(.fc-share){display:flex;grid-area:links;grid-column:1/-1;align-items:center;flex-wrap:wrap;gap:4px 8px;min-width:0}
#stage .cinema-card .fc-footer-actions{display:inline-flex;align-items:center;gap:7px;margin-left:auto;flex:none}
#stage .cinema-card .fc-links .fc-share{position:static;inset:auto;display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;box-sizing:border-box;width:24px;height:24px;min-width:24px;min-height:24px;margin:0 0 0 auto;padding:0;font:18px/1 monospace;box-shadow:none}
#stage .cinema-card .fc-links .fc-status{margin:0;flex:none}
#stage .cinema-card .fc-share-footer{display:flex;flex:none;justify-content:flex-end;padding:2px 8px;min-height:24px}
#stage .cinema-card .fc-card .fc-head{padding-right:0}

/* Navigation is outside the scrolling stage, including on touch screens. */
#root #stage .cinema-card.fc-screen{overflow:hidden;padding-top:8px}
#root #stage .cinema-card>.fc-chapters{position:sticky;top:0;flex:none;padding-right:56px;overflow:visible}
#root #stage .cinema-card .fc-top.fc-compact-top{position:sticky;top:28px;z-index:2;background:#0d0f1a;grid-template-columns:28px minmax(0,1fr);grid-template-rows:30px 34px 20px;grid-template-areas:"tile title" "nav nav" "subline subline";flex:none}
#root #stage .cinema-card .fc-top .fc-nav{display:flex;justify-content:flex-end;width:100%;min-width:0;flex-wrap:nowrap}
#root #stage .cinema-card .fc-nav button{display:inline-flex;margin:0;align-items:center;min-height:32px;height:32px;font-size:10px;padding:4px 8px}
#root #stage .cinema-card .fc-nav [data-scene=card-next]{color:var(--sb-action);border-color:var(--sb-action)}
#root #stage .cinema-card .fc-stage{min-height:0;overflow:auto;overscroll-behavior:contain}
#root #stage .cinema-card .fc-card{color:#f3f3eb}
#root #stage .cinema-card .fc-kicker{color:var(--fc-h)}
#root #stage .cinema-card .fc-activity{grid-column:1/-1;min-width:0;margin:8px 0;padding:8px;color:#f3f3eb;border-color:var(--fc-a);font:16px/1.3 Arial,sans-serif}
#root #stage .cinema-card .fc-activity button{font:14px/1.2 Arial,sans-serif;min-height:36px;margin:4px;padding:6px 10px;color:var(--sb-info)}
#root #stage .fc-activity input{display:block;width:100%;accent-color:var(--sb-action);min-height:32px}
#root #stage .fc-activity output{color:var(--sb-action)}
#root #stage .fc-activity [data-activity-result]{color:var(--sb-secondary)}
#root #stage .fc-activity :focus-visible{outline:3px solid var(--sb-action);outline-offset:2px}
#root #stage .cinema-card .fc-card[data-activity-pending]>:not(.fc-tile):not(.fc-head):not(.fc-activity){display:none!important}
#root #stage .fc-card[data-activity-pending] .fc-activity:not([hidden]){display:block!important;grid-row:2}
.fc-compare-bar{height:12px;background:var(--sb-base);border:1px solid var(--fc-a)}
.fc-compare-bar i{display:block;height:100%;background:var(--sb-info);transition:width .3s steps(8,end)}
#root #stage .cinema-card [data-closing-steps] .fi-steps{display:block;height:100%;overflow:auto}
#root #stage .cinema-card [data-closing-steps] .fi-step{min-height:100%;box-sizing:border-box;overflow:auto;border-left:4px solid var(--fc-a);padding:14px 20px}
#root #stage .cinema-card [data-closing-steps] .fi-text{font:clamp(18px,2.4vw,30px)/1.35 Arial,sans-serif;color:#f3f3eb;margin:12px 0}
#root #stage .cinema-card [data-closing-steps] .fi-text.fi-democracy{font:clamp(22px,2.6vw,36px)/1.4 'Brasil Arcade',monospace;letter-spacing:1px;color:#00e676;text-shadow:2px 2px 0 #03371b}
#root #stage .cinema-card [data-closing-steps] .fc-score{color:var(--sb-reward);font-size:20px}
@media(prefers-reduced-motion:reduce){.fc-compare-bar i{transition:none}}

/* Cenas (modo real cinema): altura da imagem determina o painel; faixa inferior reservada à dica.
   Escopo exclui data-finale. !important apenas para neutralizar as regras móveis legadas. */
#root #stage[data-mode=cinema]:has(.history-cinema:not([data-finale])) #overlay{overflow:hidden;padding:12px 12px max(64px,env(safe-area-inset-bottom));align-items:center}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:40px minmax(0,1fr) auto;gap:8px 12px;max-width:min(1120px,calc((100dvh - 144px)*4.8));width:100%;height:auto;max-height:100%;padding:10px;overflow:hidden;align-items:stretch}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) header{grid-column:1/-1;display:flex;flex-wrap:nowrap;gap:8px;margin:0;padding-right:48px;min-width:0}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) header>div:first-child{flex:1;flex-wrap:nowrap;gap:8px;overflow:hidden}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) header small{flex:none;font-size:14px;white-space:nowrap}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) header h2{font-size:clamp(9px,1.15vw,14px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .cinema-head-actions{display:flex;flex:none;flex-wrap:nowrap;align-items:center;gap:6px;width:auto;margin:0}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) :is(button,.cinema-sources>summary){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:36px;width:auto;padding:6px 10px;font-size:12px;margin:0}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .cinema-play{background:#40330b;color:var(--sb-action);border:2px solid var(--sb-action);white-space:nowrap}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .cinema-picture{grid-column:1;grid-row:2/4;height:auto!important;min-height:0;aspect-ratio:12/5;align-self:start}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .cinema-dialogue{grid-column:2;grid-row:2;align-self:stretch;min-height:0;font-size:20px;padding:10px;margin:0}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .cinema-caption{grid-column:2;grid-row:3;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;padding:0;min-width:0}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .cinema-caption h3{order:0;min-width:0;margin:0;font:18px/1.4 VT323,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .cinema-transport{display:flex;flex:0 0 auto!important;width:max-content!important;margin:0;gap:4px}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .cinema-transport :is([data-scene=previous],[data-scene=next]){flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px;min-height:44px!important;padding:0!important}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) [data-cinema-count]{white-space:nowrap;font-size:14px}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .scene-swipe-hint{bottom:max(8px,env(safe-area-inset-bottom));max-width:calc(100vw - 32px);padding:6px 10px;font-size:16px;line-height:1.15;gap:8px}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .scene-swipe-hand{font-size:24px}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .cinema-footer{display:none!important}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .cinema-sources[open] .cinema-sources-body{position:fixed;z-index:80;inset:60px 24px 20px;overflow:auto;background:var(--sb-base);padding:16px;border:2px solid var(--sb-info)}

#root #stage .cinema-card .fc-card .fc-activity:not([hidden]){display:block}
#root #stage .cinema-card .fc-card .fc-activity[hidden]{display:none!important}

#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .cinema-picture canvas{display:block;width:100%;height:auto;max-height:none;aspect-ratio:12/5;object-fit:contain}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .cinema-sources-body{width:auto;max-height:none}
#root #stage .cinema-card [data-closing-page="5"]{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-content:center}
#root #stage .cinema-card [data-closing-page="5"] .fi-heading{grid-column:1/-1}
#root #stage .cinema-card [data-closing-steps] .fi-step{--fi-color:var(--fc-a);--fi-bg:var(--fc-bg)}
#root #stage .cinema-card [data-closing-steps] .fi-text{flex:none;overflow:visible}
#root #stage .cinema-card [data-closing-page="5"]{grid-template-areas:none;grid-template-rows:auto 1fr}
#root #stage .cinema-card [data-closing-page="5"] .fi-heading{grid-area:1 / 1 / 2 / 3}
#root #stage .cinema-card [data-closing-page="5"] .fi-text{grid-area:auto}

/* Avançar: texto azul-escuro sobre o amarelo, sempre legível (contraste AA). */
#root #stage .history-cinema .cinema-card .fc-nav .cinema-card-next[data-scene=card-next]{color:#002776}

/* Cenas: pausar em laranja, JOGAR em verde (ação de ir para a fase). */
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .cinema-head-actions [data-scene=pause]{color:var(--sb-pause);border-color:var(--sb-pause);background:color-mix(in srgb,var(--sb-pause) 18%,var(--sb-base))}
#root #stage[data-mode=cinema] .history-cinema:not([data-finale]) .cinema-head-actions .cinema-play[data-scene=play]{color:#eafff1;border-color:var(--sb-secondary);background:var(--sb-action-green)}

#root #stage .history-cinema[data-finale] > header{flex-wrap:wrap}
[data-finale] > header .scene-swipe-hint{position:static;translate:none;margin:4px auto;flex-basis:100%;max-width:100%;font:16px/1.2 VT323,monospace;padding:4px 8px;box-shadow:none}
