/* Nosso Catálogo — app instalado */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url(../fonts/space-grotesk-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 600; font-display: swap; src: url(../fonts/space-grotesk-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url(../fonts/space-grotesk-latin-700-normal.woff2) format('woff2'); }

:root {
  --bg: #F4F7FF; --surf: #FFFFFF; --surf2: #EEF3FF; --ink: #0B1B3A; --mute: #4A5878; --line: #DCE4F7;
  --acc: #2457FF; --acc2: #1A3FCC; --accSoft: #E3EBFF; --navy: #0B1B3A; --navyInk: #B9C6EA;
  --ela: #2457FF; --elaInk: #1A3FCC; --ele: #F5A524; --eleInk: #8A4F00; --eleSoft: #FFF4E0;
  --ok: #12805C; --bad: #B4401A; --shadow: 0 10px 30px rgba(11, 27, 58, .08);
  --topo: env(safe-area-inset-top, 0px); --base: env(safe-area-inset-bottom, 0px);
  --f: Inter, system-ui, -apple-system, sans-serif; --fd: 'Space Grotesk', Inter, sans-serif;
  color-scheme: light;
}
[data-tema="noite"] {
  --bg: #070D1C; --surf: #0F1830; --surf2: #16213F; --ink: #E6ECFF; --mute: #9AA8CC; --line: #22305A;
  --acc: #6E95FF; --acc2: #9DB8FF; --accSoft: #1A2A55; --navy: #0B1B3A; --navyInk: #B9C6EA;
  --ela: #6E95FF; --elaInk: #9DB8FF; --ele: #F5A524; --eleInk: #F5B94D; --eleSoft: #2A2410;
  --ok: #4CC79A; --bad: #F08A6C; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); }
html, body { margin: 0; height: 100%; }
body { font-family: var(--f); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.45;
  overscroll-behavior-y: none; -webkit-text-size-adjust: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--acc); }
h1, h2, h3 { font-family: var(--fd); margin: 0; letter-spacing: -.01em; }
img { display: block; }
.oculto { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* faixa da barra de status (o app ocupa a tela toda) */
#faixa { position: fixed; top: 0; left: 0; right: 0; height: var(--topo); background: var(--navy); z-index: 60; }
#app { min-height: 100%; padding: calc(var(--topo) + 4px) 0 calc(96px + var(--base)); max-width: 640px; margin: 0 auto; }
.tela { padding: 12px 16px 24px; display: flex; flex-direction: column; gap: 18px; animation: entra .22s ease-out; }
@keyframes entra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tela, .folha, .toast { animation: none !important; } }

/* cabeçalhos */
.cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cab .tit { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cab h1 { font-size: 28px; font-weight: 700; }
.sobre { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.cabv { display: flex; align-items: center; gap: 12px; }
.cabv h1 { font-size: 22px; }
.cabv .sub { font-size: 13px; color: var(--mute); }
.redondo { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line); background: var(--surf); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 0; text-decoration: none; }
.duo { display: flex; }
.av { width: 34px; height: 34px; border-radius: 17px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
  font-size: 14px; flex: none; border: 2px solid var(--bg); }
.av.ela { background: var(--ela); color: #fff; }
.av.ele { background: var(--ele); color: #0B1B3A; }
.av.p { width: 24px; height: 24px; font-size: 11px; border-width: 0; }
.duo .av + .av { margin-left: -10px; }
.ic { width: 20px; height: 20px; flex: none; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 14px;
  border: none; background: var(--acc); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
[data-tema="noite"] .btn { color: #07112B; }
.btn.sec { background: transparent; color: var(--acc); border: 1.5px solid var(--acc); }
.btn.claro { background: var(--surf); color: var(--ink); border: 1px solid var(--line); }
.btn.navy { background: var(--navy); color: #fff; }
[data-tema="noite"] .btn.navy { background: #22305A; color: #fff; }
.btn.perigo { background: transparent; color: var(--bad); border: 1.5px solid var(--bad); }
.btn.peq { min-height: 38px; padding: 0 12px; font-size: 13px; border-radius: 12px; }
.btn.lg { width: 100%; }
.btn:disabled { opacity: .55; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btns > .btn { flex: 1 1 140px; }
.link { background: none; border: none; color: var(--acc); font-weight: 700; font-size: 13px; padding: 6px 0; text-decoration: none; }

/* superfícies */
.card { background: var(--surf); border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.card.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
[data-tema="noite"] .card.navy { background: #0B1B3A; border-color: #22305A; }
.card.suave { background: var(--surf2); border-color: transparent; }
.card h2 { font-size: 18px; }
.secao { display: flex; flex-direction: column; gap: 12px; }
.secao > .topo { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.secao > .topo h2 { font-size: 19px; }
.meta { font-size: 13px; color: var(--mute); }
.card.navy .meta { color: var(--navyInk); }
.vazio { padding: 24px 16px; text-align: center; color: var(--mute); font-size: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

/* chips e segmentos */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; flex: none; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: var(--surf2); color: var(--ink); border: 1px solid transparent; }
button.chip { min-height: 34px; }
.chip.on { background: var(--acc); color: #fff; }
[data-tema="noite"] .chip.on { color: #07112B; }
.chip.vidro { background: rgba(255,255,255,.16); color: #fff; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--line); }
[data-tema="noite"] .seg { background: var(--surf2); }
.seg button { min-height: 40px; border: none; border-radius: 10px; background: transparent; color: var(--mute); font-size: 13px; font-weight: 700; padding: 0 6px; }
.seg button[aria-pressed="true"] { background: var(--surf); color: var(--ink); box-shadow: 0 2px 6px rgba(11,27,58,.1); }
.rolar { display: flex; gap: 8px; overflow-x: auto; scroll-padding-inline: 16px; scrollbar-width: none; padding: 2px 16px; margin: 0 -16px; }
.rolar::-webkit-scrollbar { display: none; }

/* pôsteres */
.poster { position: relative; aspect-ratio: 2/3; border-radius: 16px; overflow: hidden; background: var(--surf2); color: #fff; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
[data-tema="noite"] .poster img { filter: brightness(.88); }
.poster .ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 10px; font-size: 13px; font-weight: 700; line-height: 1.2; }
.poster .selo { position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: rgba(5,10,22,.62); color: #fff; }
.poster .barra { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); }
.poster .barra span { display: block; height: 4px; border-radius: 2px; background: #6E95FF; }
.prat { display: flex; gap: 12px; overflow-x: auto; scroll-padding-inline: 16px; scrollbar-width: none; padding: 2px 16px 4px; margin: 0 -16px; scroll-snap-type: x proximity; }
.prat::-webkit-scrollbar { display: none; }
.prat .item { flex: none; width: 116px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); scroll-snap-align: start; }
.prat .item .nome { font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
.grade .item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); min-width: 0; }
.grade .item .nome { font-size: 12px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grade .item .sub { font-size: 11px; color: var(--mute); }
.linhas { display: flex; flex-direction: column; }
.linha { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.linha:last-child { border-bottom: none; }
.linha .poster { width: 52px; flex: none; border-radius: 10px; }
.linha .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.linha .info strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notas { display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; }
.n-ela { color: var(--elaInk); } .n-ele { color: var(--eleInk); }

/* herói */
.heroi { position: relative; border-radius: 24px; overflow: hidden; min-height: 300px; color: #fff; background: linear-gradient(170deg, #1E3A7A, #0B1B3A 70%); display: flex; text-decoration: none; }
.heroi .fundo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.heroi::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,10,22,.15) 0%, rgba(5,10,22,.55) 50%, rgba(5,10,22,.92) 100%); }
.heroi .cont { position: relative; z-index: 1; margin-top: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.heroi .logo { max-width: 72%; max-height: 90px; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.heroi .titulo { font-family: var(--fd); font-size: 32px; font-weight: 700; line-height: 1.05; }
.heroi .rot { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.16); padding: 6px 10px; border-radius: 999px; }
.prog { height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); }
.prog span { display: block; height: 6px; border-radius: 3px; background: #6E95FF; }
.prog.claro { background: var(--line); } .prog.claro span { background: var(--acc); }
.heroi .btn { min-height: 44px; white-space: nowrap; padding: 0 12px; }
.btn { white-space: nowrap; }
.heroi .btn.branco { background: #fff; color: #0B1B3A; }
.heroi .btn.vidro { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); }

/* aviso de desafio */
.alerta { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--acc); color: #fff; text-decoration: none; }
[data-tema="noite"] .alerta { color: #07112B; }
.alerta .bola { width: 36px; height: 36px; border-radius: 18px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; flex: none; }
.alerta .txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.alerta .txt strong { font-size: 14px; }
.alerta .txt span { font-size: 13px; opacity: .92; }
.alerta .acao { font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 12px; background: #fff; color: #2457FF; flex: none; }

/* jogos */
.jogo { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; border-radius: 18px; background: var(--surf); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.jogo strong { font-size: 14px; }
.jogo span { font-size: 12px; color: var(--mute); }
.jogo .ic { color: var(--acc); width: 24px; height: 24px; }

/* barra de navegação */
#tabbar { position: fixed; left: 12px; right: 12px; bottom: calc(10px + var(--base)); height: 68px; max-width: 616px; margin: 0 auto; border-radius: 24px;
  background: color-mix(in srgb, var(--surf) 94%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; box-shadow: 0 12px 32px rgba(11,27,58,.16); z-index: 40; }
#tabbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--mute); text-decoration: none; padding: 8px 0; }
#tabbar a.on { color: var(--acc); font-weight: 700; }
#tabbar .ponto { position: absolute; margin-left: 18px; margin-top: -2px; width: 9px; height: 9px; border-radius: 5px; background: #E0567A; border: 2px solid var(--surf); }

/* formulários */
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo > span { font-size: 12px; font-weight: 700; color: var(--mute); }
.inp, select.inp, textarea.inp { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surf); color: var(--ink); font-size: 16px; }
textarea.inp { min-height: 88px; resize: vertical; line-height: 1.4; }
.inp:focus { outline: 2px solid var(--acc); outline-offset: 1px; }
.busca { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 14px; background: var(--surf); border: 1px solid var(--line); }
.busca input { flex: 1; border: none; outline: none; background: transparent; font-size: 16px; min-width: 0; }
.par { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

/* notas */
.notabox { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--surf2); border: none; text-align: left; width: 100%; }
.notabox.ele { background: var(--eleSoft); }
.notabox strong { font-family: var(--fd); font-size: 24px; display: block; line-height: 1.1; }
.notabox small { font-size: 12px; color: var(--mute); }
.ext { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); min-width: 0; }
.ext span { font-size: 11px; font-weight: 700; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.ext strong { font-size: 16px; }
.seletor-nota { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.seletor-nota button { min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surf); font-weight: 700; }
.seletor-nota button.on { background: var(--acc); color: #fff; border-color: var(--acc); }

/* pessoas (Top 5, elenco) */
.foto { border-radius: 50%; background: var(--surf2); object-fit: cover; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; overflow: hidden; }
.pessoa { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pessoa .foto { width: 36px; height: 36px; font-size: 12px; }
.pessoa .n { font-family: var(--fd); font-weight: 700; width: 14px; flex: none; }
.pessoa .t { display: flex; flex-direction: column; min-width: 0; }
.pessoa .t strong { font-size: 13px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pessoa .t span { font-size: 11px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.morto strong { text-decoration: line-through; color: var(--mute); }
.elenco-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cartao-ator { display: flex; flex-direction: column; gap: 6px; padding: 0 0 10px; border-radius: 16px; background: var(--surf); border: 1px solid var(--line); overflow: hidden; text-align: left; position: relative; color: var(--ink); }
.cartao-ator.on { border: 2px solid var(--acc); }
.cartao-ator .img { width: 100%; aspect-ratio: 4/5; background: var(--surf2); object-fit: cover; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: #fff; }
.cartao-ator .pos { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 13px; background: var(--acc); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cartao-ator .rip { position: absolute; top: 6px; left: 6px; font-size: 10px; font-weight: 700; color: #fff; background: rgba(0,0,0,.6); padding: 3px 7px; border-radius: 999px; }
.cartao-ator.morto { opacity: .55; }
.cartao-ator .pn { padding: 0 8px; font-size: 12px; font-weight: 700; line-height: 1.2; }
.cartao-ator .pa { padding: 0 8px; font-size: 11px; color: var(--mute); }
.slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.slot { display: flex; flex-direction: column; align-items: center; gap: 6px; border: none; background: none; padding: 0; color: var(--ink); }
.slot .foto { width: 58px; height: 58px; border: 3px solid var(--acc); font-size: 14px; }
.slot .vazio2 { width: 58px; height: 58px; border-radius: 29px; border: 2px dashed var(--mute); display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-weight: 700; color: var(--mute); }
.slot span { font-size: 11px; font-weight: 600; text-align: center; line-height: 1.15; height: 26px; overflow: hidden; }

/* folha (modal de baixo) */
#veu { position: fixed; inset: 0; background: rgba(5,10,22,.5); z-index: 70; display: flex; align-items: flex-end; justify-content: center; }
.folha { background: var(--bg); width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto; border-radius: 24px 24px 0 0;
  padding: 10px 16px calc(20px + var(--base)); animation: sobe .22s ease-out; display: flex; flex-direction: column; gap: 14px; }
.folha .alca { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 4px; }
@keyframes sobe { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }

.toast { position: fixed; left: 50%; bottom: calc(92px + var(--base)); transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 14px;
  font-size: 14px; font-weight: 600; z-index: 90; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: sobe .2s ease-out; }
[data-tema="noite"] .toast { background: #22305A; }

/* números */
.stat { padding: 14px; border-radius: 18px; background: var(--surf); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.stat .r { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.stat .v { font-family: var(--fd); font-size: 22px; font-weight: 700; }
.stat .d { font-size: 12px; color: var(--mute); line-height: 1.35; }
.barras { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; align-items: end; height: 150px; }
.barras div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.barras b { font-size: 10px; }
.barras i { width: 100%; border-radius: 4px 4px 2px 2px; background: var(--acc); display: block; min-height: 2px; }
.barras small { font-size: 10px; color: var(--mute); }
.hbar { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.hbar .tr { flex: 1; height: 14px; border-radius: 7px; background: var(--surf2); overflow: hidden; }
.hbar .tr i { display: block; height: 14px; border-radius: 7px; background: var(--acc); }
.tab { display: grid; grid-template-columns: minmax(0, 1fr) 48px 48px; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.tab b { text-align: right; }

/* mata-mata e quiz */
.duelo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; position: relative; }
.duelo > button { border: none; padding: 0; border-radius: 22px; overflow: hidden; position: relative; aspect-ratio: 2/3.2; background: var(--surf2); color: #fff; text-align: left; }
.duelo > button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.duelo > button .sombra { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,10,22,0) 40%, rgba(5,10,22,.9) 100%); }
.duelo > button .tx { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 4px; }
.duelo > button .tx strong { font-family: var(--fd); font-size: 18px; line-height: 1.15; }
.duelo > button .tx span { font-size: 12px; opacity: .9; }
.duelo > button .cab2 { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700; background: rgba(5,10,22,.6); padding: 4px 8px; border-radius: 999px; }
.duelo .x { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 24px; background: #fff; color: #0B1B3A;
  font-family: var(--fd); font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(11,27,58,.25); pointer-events: none; }
.fases { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
.fases div { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.fases i { width: 100%; height: 6px; border-radius: 3px; background: var(--line); display: block; }
.fases i.feito { background: var(--acc); } .fases i.agora { background: color-mix(in srgb, var(--acc) 45%, var(--line)); }
.fases span { font-size: 10px; font-weight: 700; color: var(--mute); text-align: center; }
.opcao { min-height: 56px; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surf); font-size: 15px; font-weight: 600; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink); }
.opcao.certa { background: var(--accSoft); border: 2px solid var(--acc); }
.opcao.errada { background: var(--eleSoft); border: 2px solid var(--eleInk); }
.placar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px; background: var(--surf); border: 1px solid var(--line); }
.placar.vez { background: var(--navy); color: #fff; border-color: var(--navy); }
.placar strong { font-family: var(--fd); font-size: 26px; line-height: 1; }

/* login */
.login { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 24px 20px calc(24px + var(--base)); max-width: 440px; margin: 0 auto; }
.login img { width: 200px; margin: 0 auto; }
.login h1 { text-align: center; font-size: 30px; }
.codigo { letter-spacing: .5em; text-align: center; font-family: var(--fd); font-size: 26px !important; font-weight: 700; }

/* vídeos e curiosidades */
.video { flex: none; width: 220px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.video .th { height: 124px; border-radius: 16px; background: #0B1B3A center/cover; position: relative; display: flex; align-items: center; justify-content: center; }
.video .th .play { width: 44px; height: 44px; border-radius: 22px; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; color: #0B1B3A; }
.video .th .tp { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,.45); padding: 4px 8px; border-radius: 999px; }
.video .nm { font-size: 13px; font-weight: 600; line-height: 1.3; }
.texto { font-size: 14px; line-height: 1.55; white-space: pre-line; margin: 0; }
.galeria { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 16px; margin: 0 -16px; }
.galeria img { width: 72px; aspect-ratio: 2/3; border-radius: 10px; object-fit: cover; flex: none; border: 2px solid transparent; }
.galeria img.on { border-color: var(--acc); }
.carregando { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 32px; color: var(--mute); font-size: 14px; }
.roda { width: 20px; height: 20px; border-radius: 10px; border: 3px solid var(--line); border-top-color: var(--acc); animation: gira .8s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.sinc { position: fixed; top: calc(var(--topo) + 8px); right: 12px; z-index: 50; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 10px; border-radius: 999px; display: flex; align-items: center; gap: 6px; }
.sinc .roda { width: 12px; height: 12px; border-width: 2px; border-color: rgba(255,255,255,.3); border-top-color: #fff; }
.linha-tempo { display: flex; gap: 12px; }
.linha-tempo .eixo { display: flex; flex-direction: column; align-items: center; width: 14px; flex: none; }
.linha-tempo .eixo b { width: 12px; height: 12px; border-radius: 6px; margin-top: 4px; flex: none; }
.linha-tempo .eixo i { flex: 1; width: 2px; background: var(--line); }
.linha-tempo .c { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; }
.ep { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ep:last-child { border-bottom: none; }
.troca { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.troca:last-child { border-bottom: none; }
.troca .t { display: flex; flex-direction: column; gap: 2px; }
.troca .t strong { font-size: 14px; } .troca .t span { font-size: 12px; color: var(--mute); }
.chave { position: relative; width: 52px; height: 32px; border-radius: 16px; background: var(--line); border: none; flex: none; padding: 0; }
.chave::after { content: ''; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 13px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .18s; }
.chave[aria-checked="true"] { background: var(--acc); }
.chave[aria-checked="true"]::after { left: 23px; }

.prat .item .sub { font-size: 11px; color: var(--mute); margin-top: -4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
