/* Rarefeito — estilo.
   Registro de painel de instrumentos: tinta quase preta, creme, letreiro em estêncil, fonte
   mono para rótulos e números, linhas finas e tracejadas. Sem brilho, sem degradê, sem vidro.
   A cor fica com os destinos (as mesmas de js/marca.js); o dourado é o único acento da marca. */
:root {
  --tinta: #0B1020;           /* fundo */
  --tinta-2: #10172B;         /* superfícies: campos, modais */
  --tinta-3: #172038;
  --linha: rgba(236, 229, 214, .15);
  --linha-forte: rgba(236, 229, 214, .32);
  --texto: #ECE5D6;           /* creme */
  --texto-2: #8D94A8;         /* apagado */
  --escuro: #0B1020;          /* texto sobre creme */
  --creme: #ECE5D6;
  --ouro: #F4B955;            /* acento da marca */
  --perigo: #FF6B5B;
  --foco: #ECE5D6;

  /* destinos */
  --terra: #4FA3E0;
  --lua: #E9E2CF;
  --marte: #E8503A;
  --jupiter: #F59A4A;
  --saturno: #F2CB5A;
  --urano: #86E2B6;
  --netuno: #5E8EF0;
  --cometa: #6FE7F3;
  --galaxia: #C98BFF;

  --f-marca: "Jersey 15", "Arial Narrow", Impact, sans-serif;
  --f-mono: "Tiny5", ui-monospace, Menlo, Consolas, monospace;
  --f-texto: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --raio: 0px;
  --coluna: 600px;
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--tinta); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--tinta);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: 17px;
  line-height: 1.5;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* grão de papel bem leve: tira a cara de tela lisa */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > * { position: relative; z-index: 1; }
[hidden] { display: none !important; }
img, svg, canvas { max-width: 100%; }
img.corpo { display: block; object-fit: contain; flex: none; user-select: none; -webkit-user-drag: none; image-rendering: pixelated; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--foco); outline-offset: 3px; }

.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.pular-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--creme); color: var(--escuro); padding: 10px 14px; border-radius: var(--raio); font-weight: 600;
}
.pular-link:focus { top: 12px; }

/* ------------------------------------------------------------------ topo */

.topo {
  max-width: var(--coluna);
  margin: 0 auto;
  min-height: 64px;
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px solid var(--linha);
}

.marca { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--texto); }
/* o sinal da marca: um planeta com órbita, em duas linhas */
.marca-sinal {
  width: 13px; height: 13px; flex: none;
  border-radius: 50%;
  background: var(--ouro);
  box-shadow: 0 0 0 3px var(--tinta), 0 0 0 4.5px var(--ouro);
  margin: 0 3px;
}
.marca-nome {
  font-family: var(--f-marca);
  font-weight: 900;
  font-size: 27px;
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--texto);
  white-space: nowrap;
}

.topo-acoes { display: flex; gap: 8px; }
.icone {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 2px solid var(--linha-forte);
  border-radius: var(--raio);
  background: transparent;
  color: var(--texto);
  cursor: pointer;
  transition: background-color .15s;
}
.icone:hover { background: rgba(236, 229, 214, .07); }
.icone:active { transform: translateY(1px); }
.icone svg { width: 19px; height: 19px; }
.icone[aria-pressed="false"] .so-ligado,
.icone[aria-pressed="true"] .so-desligado { display: none; }

/* ----------------------------------------------------------------- telas */

main { max-width: var(--coluna); margin: 0 auto; padding-block: 18px 44px; }
.tela { display: flex; flex-direction: column; gap: 30px; }
.tela > *, .cartao > * { min-width: 0; }
.tela.entrando { animation: entrar .35s ease-out both; }
@keyframes entrar { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* seções planas: sem caixa, separadas por respiro e por rótulos tracejados */
.cartao { position: relative; color: var(--texto); }

.etiqueta {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--texto-2);
  line-height: 1.5;
}

/* título de seção: rótulo de instrumento com linha tracejada até a borda */
.titulo {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--texto-2);
  line-height: 1.4;
}
.titulo::after { content: ""; flex: 1; border-top: 2px dashed var(--linha); }

/* ---------------------------------------------------------------- botões */

.botao {
  --bg: transparent;
  --fg: var(--texto);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 2px solid var(--linha-forte);
  border-radius: var(--raio);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s;
  -webkit-user-select: none;
  user-select: none;
}
.botao:hover { background: rgba(236, 229, 214, .07); }
.botao:active { transform: translateY(1px); }
.botao:disabled { opacity: .5; cursor: progress; transform: none; }
.botao svg { width: 18px; height: 18px; flex: none; }

.botao-amarelo { --bg: var(--creme); --fg: var(--escuro); border-color: var(--creme); }
.botao-amarelo:hover { background: #FFFFFF; }
.botao-grande { min-height: 58px; font-size: 15px; letter-spacing: .2em; }
.botao-largo { width: 100%; }
.botao-seta::after { content: "→"; letter-spacing: 0; margin-left: 2px; }

.link { background: none; border: 0; padding: 6px 0; font-weight: 500; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: inherit; }

/* ------------------------------------------------------------------ capa */

.capa-hero { display: grid; gap: 22px; }
.capa-ceu { display: block; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 360 / 460; height: auto; border: 2px solid var(--linha); border-radius: var(--raio); background: var(--tinta); }
.capa-texto { display: grid; gap: 14px; }

.manchete {
  margin: 0;
  font-family: var(--f-texto);
  font-weight: 600;
  font-size: clamp(1.9rem, 8.2vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.destaque { color: var(--ouro); }

.linha-fina { margin: 0; font-size: 17px; line-height: 1.5; color: var(--texto-2); max-width: 44ch; }
.linha-fina strong { color: var(--texto); font-weight: 500; }

.escada { list-style: none; margin: 4px 0 0; padding: 0; display: grid; }
.destino {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 2px;
  border-bottom: 2px dashed var(--linha);
}
.destino svg, .destino .corpo { width: 40px; height: 40px; }
.destino strong { display: block; font-family: var(--f-mono); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cor); }
.destino span { font-size: 15px; color: var(--texto-2); }

.capa-acoes { display: grid; gap: 10px; margin-top: 6px; }
.capa-sequencia { margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--texto); text-align: center; }
.capa-sequencia::before { content: ""; width: 9px; height: 9px; flex: none; background: var(--ouro); }
.capa-sequencia span { font-weight: 500; color: var(--texto-2); }

/* faixa do desafio de um amigo, no alto da capa */
.desafio-faixa { display: grid; gap: 10px; padding: 16px; border: 2px solid var(--ouro); border-radius: var(--raio); }
.desafio-faixa .etiqueta { color: var(--ouro); }
.desafio-texto { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; }
.desafio-texto span { display: block; margin-top: 4px; font-size: 15.5px; font-weight: 400; color: var(--texto-2); }
.desafio-botoes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.desafio-botoes .botao { min-height: 48px; }
.capa-status:empty { display: none; }
.capa-status { margin: 0; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--texto-2); min-height: 1.4em; text-align: center; }
.capa-status strong { color: var(--texto); font-weight: 600; }

.ja-jogou {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 2px solid var(--linha-forte);
  border-radius: var(--raio);
}
.placar-mini { margin: 0; font-family: var(--f-marca); font-weight: 900; font-size: 54px; line-height: 1; color: var(--texto); }
.placar-mini small { font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; margin-left: 8px; color: var(--texto-2); }

/* treino e arquivo: linhas de menu, não cartões */
.capa-extras { display: grid; border-top: 2px dashed var(--linha); }
.mini {
  display: grid;
  grid-template-columns: 34px auto 1fr;
  gap: 4px 14px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  padding: 14px 2px;
  background: none;
  border: 0;
  border-bottom: 2px dashed var(--linha);
  font: inherit;
}
.mini:hover strong { color: var(--ouro); }
.mini svg, .mini .corpo { width: 30px; height: 30px; }
.mini strong { font-family: var(--f-mono); font-weight: 600; font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; }
.mini span { font-size: 15px; line-height: 1.35; color: var(--texto-2); text-align: right; }
.mini span::after { content: " →"; }

.passos { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: passo; }
.passos li { counter-increment: passo; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.passos li::before {
  content: counter(passo, decimal-leading-zero);
  width: 34px; height: 30px;
  display: grid; place-items: center;
  border: 2px solid var(--linha-forte);
  border-radius: var(--raio);
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 12px;
  color: var(--texto);
}
.passos strong { display: block; font-weight: 600; }
.passos span { color: var(--texto-2); }
.como-rodape { margin: 18px 0 0; font-weight: 500; }

/* ------------------------------------------------------------- pergunta */

.trilha { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; justify-content: center; }
.passo {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 2px dashed var(--linha-forte);
  border-radius: var(--raio);
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--texto-2);
}
.passo svg, .passo .corpo { width: 32px; height: 32px; }
.passo.atual { border: 2px solid var(--creme); color: var(--texto); }
.passo.feito { border: 2px solid var(--cor-passo); animation: pulo .35s ease-out both; }
.passo.zerado { border-style: dashed; }
@keyframes pulo { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.cartao-pergunta { display: grid; gap: 16px; }
.pergunta-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.relogio {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 4px 12px;
  border: 2px solid var(--linha-forte);
  border-radius: var(--raio);
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  min-width: 3.6ch;
  justify-content: center;
}
.relogio small { font-size: 12px; color: var(--texto-2); }
.relogio.urgente { border-color: var(--perigo); color: var(--perigo); animation: piscar 1s steps(2) infinite; }
@keyframes piscar { 50% { opacity: .55; } }

.barra-tempo { height: 4px; background: rgba(236, 229, 214, .12); overflow: hidden; }
.barra-tempo span {
  display: block;
  height: 100%;
  background: var(--creme);
  transform-origin: left center;
  transform: scaleX(1);
}
.urgente-barra span { background: var(--perigo); }

.enunciado {
  margin: 2px 0 0;
  font-family: var(--f-texto);
  font-weight: 600;
  font-size: clamp(1.75rem, 7.4vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -.012em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.enunciado.longo { font-size: clamp(1.5rem, 6.1vw, 2rem); }
.enunciado.escondido { filter: blur(12px); opacity: .35; user-select: none; }
.cartao-pergunta.revelando .enunciado { font-size: clamp(1.1rem, 4.4vw, 1.35rem); }
.cartao-pergunta.revelando .relogio,
.cartao-pergunta.revelando .barra-tempo { display: none; }
.cartao-pergunta.revelando { gap: 12px; }

.letra {
  display: inline-block;
  min-width: 1.1em;
  padding: 0 .14em;
  border-radius: 2px;
  background: var(--ouro);
  color: var(--escuro);
  text-align: center;
}

.resposta-form { display: grid; grid-template-columns: 1fr 56px; gap: 10px; }
.campo {
  width: 100%;
  min-width: 0;
  height: 56px;
  padding: 0 18px;
  border: 2px solid var(--linha-forte);
  border-radius: var(--raio);
  background: var(--tinta-2);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: 20px;
  font-weight: 500;
  caret-color: var(--ouro);
}
.campo::placeholder { color: var(--texto-2); opacity: .8; }
.campo:focus-visible { outline: 2px solid var(--creme); outline-offset: 2px; }
.botao-enviar {
  height: 56px;
  border: 0;
  border-radius: var(--raio);
  background: var(--creme);
  color: var(--escuro);
  display: grid; place-items: center;
  cursor: pointer;
}
.botao-enviar svg { width: 24px; height: 24px; }
.botao-enviar:active { transform: translateY(1px); }

.tremer { animation: tremer .38s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes tremer {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-7px); }
  40%, 60% { transform: translateX(7px); }
}
.aviso-campo { margin: -4px 0 0; min-height: 1.45em; font-size: 15px; font-weight: 500; color: var(--ouro); }
.pergunta-rodape { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--texto-2); }
.dica { text-align: right; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; }

.contagem {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 5;
  pointer-events: none;
  background: rgba(11, 16, 32, .82);
}
.contagem span {
  font-family: var(--f-marca);
  font-weight: 900;
  font-size: clamp(7rem, 36vw, 10rem);
  line-height: 1;
  color: var(--creme);
  animation: bater .45s ease-out both;
}
.contagem span.ja { font-size: clamp(3.6rem, 18vw, 5.6rem); letter-spacing: .04em; }
@keyframes bater { from { transform: scale(1.35); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------------------------------------------------------------- viagem */

.revelacao { display: grid; gap: 16px; }

.cena {
  position: relative;
  height: clamp(340px, 100vw, 520px);
  overflow: hidden;
  background: var(--tinta);
  cursor: pointer;
  touch-action: manipulation;
  border: 2px solid var(--linha);
  border-radius: var(--raio);
}
.ceu { display: block; width: 100%; height: 100%; }

.hud { position: absolute; top: 10px; right: 10px; pointer-events: none; }
.hud-pontos, .hud-camada {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border: 2px solid var(--linha-forte);
  border-radius: 3px;
  background: rgba(11, 16, 32, .88);
  color: var(--texto);
  font-family: var(--f-mono);
}
.hud-pontos { font-weight: 600; font-size: 20px; min-width: 62px; justify-content: center; font-variant-numeric: tabular-nums; }
.cena > .hud-camada { position: absolute; left: 10px; bottom: 10px; pointer-events: none; font-weight: 500; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.hud-camada i { width: 8px; height: 8px; background: var(--c, #4FA3E0); }
/* a distância do dia, que cresce durante o voo */
.hud-distancia {
  position: absolute;
  top: 10px; left: 10px;
  max-width: calc(100% - 104px);
  display: grid;
  justify-items: start;
  gap: 1px;
  padding: 4px 9px 5px;
  border: 2px solid var(--linha-forte);
  border-radius: 3px;
  background: rgba(11, 16, 32, .88);
  font-family: var(--f-mono);
  line-height: 1.4;
  pointer-events: none;
}
.hud-distancia small { font-size: 9.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-2); }
.hud-distancia b { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hud-distancia em { font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ouro); animation: entrar .35s ease-out both; }
.hud-pular {
  position: absolute;
  bottom: 14px; right: 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texto-2);
  pointer-events: none;
  transition: opacity .3s;
}
/* placa de região: aparece ao entrar em cada mundo */
.hud-aviso {
  --cor: var(--ouro);
  position: absolute;
  left: 50%;
  top: 27%; /* abaixo do painel da distância */
  transform: translate(-50%, -50%);
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: clamp(14px, 4.4vw, 17px);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cor);
  padding: 8px 14px 8px 18px;
  background: rgba(11, 16, 32, .9);
  border: 2px solid var(--cor);
  border-radius: 2px;
  white-space: nowrap;
  pointer-events: none;
  animation: aviso 1.5s ease both;
}
@keyframes aviso {
  0% { opacity: 0; transform: translate(-50%, -30%); }
  15% { opacity: 1; transform: translate(-50%, -50%); }
  78% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -60%); }
}

.rev-info { display: grid; gap: 10px; animation: entrar .35s ease-out both; }
.revelacao.viajando .rev-info,
.revelacao.viajando #bt-proxima { display: none; }

.rev-topo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.resposta-dada { margin: 2px 0 0; font-family: var(--f-texto); font-weight: 600; font-size: clamp(1.5rem, 6.2vw, 2rem); line-height: 1.12; overflow-wrap: anywhere; }
.digitou { margin: 4px 0 0; font-size: 14px; color: var(--texto-2); }

.achado {
  --cor: var(--lua);
  display: grid;
  grid-template-columns: 44px auto;
  column-gap: 12px;
  align-items: center;
  padding: 8px 14px 8px 8px;
  border: 2px solid var(--cor);
  border-radius: var(--raio);
  background: var(--tinta-2);
}
.achado svg, .achado .corpo { grid-row: span 2; width: 44px; height: 44px; }
.achado-pontos { font-family: var(--f-marca); font-weight: 900; font-size: 34px; line-height: .95; color: var(--cor); }
.achado-nome { font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texto); white-space: nowrap; }
.achado.estalar { animation: estalar .4s ease-out both; }
@keyframes estalar { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.rev-titulo { margin: 0; font-size: 18px; font-weight: 600; }
.rev-quase { margin: -4px 0 0; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro); }
.rev-texto { display: grid; gap: 6px; font-size: 16px; line-height: 1.45; color: var(--texto-2); }
.rev-texto p { margin: 0; }
.rev-legenda strong { color: var(--texto); font-weight: 600; }

/* ------------------------------------------------------------ resultado */

.cartao-resultado { display: grid; gap: 16px; }
.placar { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.placar-num {
  margin: 0;
  font-family: var(--f-marca);
  font-weight: 900;
  font-size: clamp(5.2rem, 27vw, 7.2rem);
  line-height: .86;
  color: var(--texto);
  font-variant-numeric: tabular-nums;
}
.placar-de { margin: 0 0 8px; font-family: var(--f-mono); font-weight: 500; font-size: 14px; letter-spacing: .06em; line-height: 1.35; color: var(--texto-2); }
.placar-de span { display: block; }

.nivel { display: grid; gap: 6px; }
.carimbo-nivel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--texto);
}
.carimbo-nivel::before { content: ""; width: 10px; height: 10px; background: var(--ouro); flex: none; }
.carimbo-nivel svg, .carimbo-nivel .corpo { display: none; }
.carimbo-nivel.carimbar { animation: estalar .4s ease-out .2s both; }
.nivel-frase { margin: 0; font-size: 16px; color: var(--texto-2); }

.mapa { margin: 0; display: grid; gap: 12px; }
.mapa-cena { min-width: 0; }
.mapa-ceu { display: block; width: 100%; aspect-ratio: 18 / 25; height: auto; border: 2px solid var(--linha); border-radius: var(--raio); background: var(--tinta); }
.viagem-dia { list-style: none; margin: 0; padding: 14px 8px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; border: 2px solid var(--linha); border-radius: var(--raio); }
.parada { display: grid; justify-items: center; gap: 4px; }
.parada svg, .parada .corpo { width: 100%; max-width: 44px; aspect-ratio: 1; height: auto; }
.parada b { font-family: var(--f-mono); font-weight: 600; font-size: 13px; color: var(--cor); }
.parada-num { font-family: var(--f-mono); font-size: 11px; color: var(--texto-2); }

.compartilhar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.compartilhar .botao { padding: 0 10px; gap: 8px; }
.compartilhar .botao-amarelo { grid-column: 1 / -1; min-height: 56px; }
.compartilhar .botao-desafiar { grid-column: 1 / -1; border-color: var(--ouro); color: var(--ouro); }

.previa-texto {
  margin: 0;
  padding: 14px 16px;
  border: 2px dashed var(--linha-forte);
  border-radius: var(--raio);
  background: var(--tinta-2);
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* o desafio: você contra quem te desafiou, pergunta por pergunta */
.vs { display: grid; gap: 12px; }
.vs-veredito { margin: 6px 0 0; font-weight: 600; font-size: clamp(1.4rem, 6vw, 1.8rem); line-height: 1.15; text-wrap: balance; }
.vs-placar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vs-placar div { display: grid; gap: 4px; padding: 10px 12px; border: 2px solid var(--linha-forte); border-radius: var(--raio); }
.vs-placar div.vence { border-color: var(--ouro); }
.vs-placar span { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2); overflow-wrap: anywhere; }
.vs-placar div.vence span { color: var(--ouro); }
.vs-placar b { font-family: var(--f-marca); font-weight: 900; font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; }
.vs-placar small { font-family: var(--f-mono); font-size: 11.5px; color: var(--texto-2); }
.vs-lista { list-style: none; margin: 0; padding: 0; display: grid; border-top: 2px dashed var(--linha); }
.vs-lista li { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; padding: 12px 0; border-bottom: 2px dashed var(--linha); }
.vs-pergunta { grid-column: 1 / -1; margin: 0; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--texto-2); }
.vs-lado { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 7px; align-items: center; padding: 7px 8px; border: 2px solid var(--linha); border-radius: var(--raio); }
.vs-lado.vence { border-color: var(--ouro); }
.vs-lado .corpo { width: 24px; height: 24px; }
/* nome longo quebra por sílaba, com hífen, e não no meio da palavra */
.vs-lado span { font-weight: 600; font-size: 14.5px; line-height: 1.2; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.vs-lado span.vazia { font-weight: 500; color: var(--texto-2); }
.vs-lado b { font-family: var(--f-marca); font-weight: 900; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }

/* a distância do dia e os marcos de verdade no caminho */
.distancia { display: grid; gap: 6px; }
.dist-total { margin: 8px 0 0; font-family: var(--f-marca); font-weight: 900; font-size: clamp(2.3rem, 10.5vw, 3.1rem); line-height: 1; letter-spacing: .01em; }
.dist-frase { margin: 0; font-size: 16px; color: var(--texto-2); }
.inteira { white-space: nowrap; }
.dist-frase strong { color: var(--texto); font-weight: 600; }
.marcos { list-style: none; margin: 10px 0 0; padding: 0; display: grid; position: relative; border-top: 2px dashed var(--linha); }
.marcos::before { content: ""; position: absolute; left: 6px; top: 22px; bottom: 22px; border-left: 2px dashed var(--linha-forte); }
.marco { position: relative; display: grid; grid-template-columns: 13px minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; padding: 11px 0; }
.marco i { width: 13px; height: 13px; background: var(--c, var(--creme)); box-shadow: 0 0 0 4px var(--tinta); }
.marco.proximo i { background: var(--tinta); border: 2px solid var(--creme); }
.marco.voce i { background: var(--ouro); }
.m-nome { font-weight: 600; font-size: 16px; line-height: 1.25; }
.m-km { font-family: var(--f-mono); font-size: 12.5px; color: var(--texto-2); text-align: right; font-variant-numeric: tabular-nums; }
.m-sub { grid-column: 2 / -1; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2); }
.marco.proximo .m-nome { color: var(--texto-2); }
.marco.voce .m-nome, .marco.voce .m-km { color: var(--ouro); }

.cartao-monte { display: grid; gap: 8px; }
.curva { margin: 10px 0 0; display: grid; gap: 12px; }
.curva svg { display: block; width: 100%; height: auto; overflow: visible; }
.curva figcaption { font-size: 16px; line-height: 1.45; color: var(--texto-2); }
.curva figcaption strong { font-family: var(--f-marca); font-weight: 900; font-size: 1.6em; line-height: 1; color: var(--texto); }
.c-rotulo { fill: var(--texto-2); font: 500 12px var(--f-mono); }
.c-eixo { stroke: rgba(236, 229, 214, .28); stroke-width: 1; }
.c-voce-rotulo { fill: var(--ouro); font: 600 13px var(--f-mono); letter-spacing: .14em; }
.curva-crescer { transform-box: fill-box; transform-origin: bottom; animation: crescer .8s ease-out both; }
@keyframes crescer { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.estrela-surgir { animation: entrar .4s ease .6s both; }

.mural { display: grid; gap: 12px; }
.mural-topo { display: grid; gap: 8px; }
.mural-topo p { margin: 0; color: var(--texto-2); font-size: 15px; }
.mural-lista { list-style: none; margin: 0; padding: 0; display: grid; border-top: 2px dashed var(--linha); }
.achado-linha { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; padding: 14px 2px; border-bottom: 2px dashed var(--linha); }
.achado-icone { width: 44px; height: 44px; grid-row: span 3; display: grid; place-items: center; }
.achado-icone svg, .achado-icone .corpo { width: 40px; height: 40px; }
.linha-pergunta { margin: 0; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--texto-2); }
.linha-resposta { margin: 0; font-weight: 600; font-size: 19px; line-height: 1.2; overflow-wrap: anywhere; }
.linha-resposta.vazia { color: var(--texto-2); }
.linha-nota { margin: 0; font-size: 13.5px; color: var(--texto-2); }
.linha-pontos { grid-column: 3; grid-row: 1 / span 3; font-family: var(--f-marca); font-weight: 900; font-size: 36px; line-height: .9; text-align: right; color: var(--texto); }
.linha-pontos small { display: block; font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2); margin-top: 4px; }

.escala-lista { list-style: none; margin: 14px 0 0; padding: 0; display: grid; border-top: 2px dashed var(--linha); }
.escala-lista li { display: grid; grid-template-columns: 82px 1fr; gap: 2px 14px; padding: 12px 10px; border-bottom: 2px dashed var(--linha); }
.escala-lista .faixa { font-family: var(--f-mono); font-weight: 500; font-size: 13px; grid-row: span 2; align-self: center; font-variant-numeric: tabular-nums; color: var(--texto-2); }
.escala-lista .nome { font-weight: 600; }
.escala-lista .frase { font-size: 14px; color: var(--texto-2); }
.escala-lista li.atual { outline: 2px solid var(--ouro); outline-offset: -1px; border-bottom-color: transparent; }
.escala-lista li.atual .faixa, .escala-lista li.atual .nome { color: var(--ouro); }

/* diário de bordo: os mundos visitados e os recordes */
.diario { display: grid; gap: 14px; }
.colecao-nota { margin: 0; font-size: 16px; color: var(--texto-2); }
.colecao-nota strong { color: var(--texto); font-weight: 600; }
.colecao { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.colecao li { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 10px 4px 9px; border: 2px dashed var(--linha); border-radius: var(--raio); text-align: center; }
.colecao li.visto { border: 2px solid var(--c); }
.colecao .corpo { width: 40px; height: 40px; }
.colecao li:not(.visto) .corpo { opacity: .2; filter: grayscale(1); }
.colecao b { font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.25; }
.colecao li:not(.visto) b { color: var(--texto-2); }
.colecao small { font-family: var(--f-mono); font-size: 10.5px; color: var(--texto-2); }
.colecao li.visto small { color: var(--c); }
.colecao-curta { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.colecao-curta li { padding: 6px 0 5px; gap: 2px; }
.colecao-curta .corpo { width: 100%; max-width: 32px; height: auto; aspect-ratio: 1; }
.colecao-curta b { display: none; }
.recordes { margin: 0; display: grid; border-top: 2px dashed var(--linha); }
.recordes div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 0; border-bottom: 2px dashed var(--linha); }
.recordes dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2); align-self: center; }
.recordes dd { margin: 0; text-align: right; font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.recordes dd small { display: block; font-weight: 400; font-size: 13px; color: var(--texto-2); }
.modal-cartao h3.titulo { margin-top: 6px; }

.numeros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.numeros div { padding: 12px 6px; text-align: center; display: grid; gap: 4px; border: 2px solid var(--linha); border-radius: var(--raio); }
.numeros b { font-family: var(--f-marca); font-weight: 900; font-size: clamp(30px, 8.5vw, 38px); line-height: 1; }
.numeros span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2); }

.proximo { display: grid; gap: 14px; justify-items: center; text-align: center; }
.proximo p { margin: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-2); }
.proximo strong { display: block; font-family: var(--f-marca); font-weight: 900; font-size: clamp(3rem, 14vw, 3.8rem); line-height: 1; color: var(--texto); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.proximo .botoes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.surgir { animation: estalar .4s ease-out both; }

/* ---------------------------------------------------------------- anúncio */

.anuncio { display: grid; gap: 6px; justify-items: center; }
.anuncio:empty { display: none; }
.anuncio-rotulo { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-2); }
.anuncio ins { display: block; width: 100%; min-height: 100px; }
/* na prévia: onde o anúncio do Google vai ficar */
.anuncio-exemplo { width: 100%; min-height: 250px; display: grid; place-items: center; padding: 16px; border: 2px dashed var(--linha-forte); border-radius: var(--raio); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-align: center; color: var(--texto-2); }
/* longe do anúncio de propósito: nada clicável colado nele (regra do AdSense) */
.tirar-anuncios { justify-self: center; margin-top: 24px; font-size: 14px; color: var(--texto-2); }

/* patrocínio do dia */
.patrocinio-linha { margin: 0; display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2); }
.patrocinio-linha::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--ouro); }
.patrocinio-linha a { color: var(--texto); font-weight: 600; }
.patrocinio-cartao { display: grid; gap: 10px; justify-items: start; padding: 16px; border: 2px solid var(--linha-forte); border-radius: var(--raio); }
.patrocinio-texto { margin: 0; font-size: 17px; line-height: 1.4; }
.patrocinio-texto strong { font-weight: 600; }
.patrocinio-chamada { margin: 0; font-size: 15.5px; color: var(--texto-2); }
.patrocinio-cartao .botao { min-height: 44px; font-size: 12.5px; }

/* Passe Rarefeito */
.passe-motivo { margin: 0; padding: 12px 14px; border: 2px solid var(--ouro); border-radius: var(--raio); font-size: 15.5px; line-height: 1.45; }
.passe-oferta, .passe-ativo { display: grid; gap: 12px; }
.passe-preco { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.passe-preco b { font-family: var(--f-marca); font-weight: 900; font-size: 48px; line-height: 1; color: var(--ouro); }
.passe-preco span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-2); }
.passe-lista { list-style: none; margin: 0; padding: 0; display: grid; border-top: 2px dashed var(--linha); }
.passe-lista li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 2px dashed var(--linha); font-size: 16px; }
.passe-lista li::before { content: ""; width: 9px; height: 9px; flex: none; background: var(--ouro); }
.passe-nota { margin: 0; font-size: 14px; line-height: 1.45; color: var(--texto-2); }
.passe-previa { color: var(--ouro); }
.passe-restaurar summary { cursor: pointer; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.passe-codigo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 10px; }
.passe-codigo .campo { text-transform: uppercase; font-family: var(--f-mono); letter-spacing: .08em; }

/* ----------------------------------------------------------------- modais */

dialog.modal { position: fixed; inset: 0; margin: auto; width: min(560px, calc(100% - 32px)); height: fit-content; max-height: min(86vh, 900px); padding: 0; border: 0; background: transparent; color: var(--texto); overflow: visible; }
dialog.modal::backdrop { background: rgba(5, 7, 16, .82); }
dialog.modal[open] { animation: entrar .25s ease-out both; }
.modal-cartao { max-height: min(86vh, 900px); overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 14px; padding: 24px 20px 22px; background: var(--tinta-2); border: 2px solid var(--linha-forte); border-radius: 6px; }
.fechar {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  border: 2px solid var(--linha-forte);
  border-radius: var(--raio);
  background: var(--tinta-2);
  color: var(--texto);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 3;
}
.fechar svg { width: 16px; height: 16px; }
.modal-texto { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--texto-2); }
.modal-texto strong { color: var(--texto); }
.modal-cartao .titulo { padding-right: 52px; }

.arquivo-lista { list-style: none; margin: 0; padding: 0; display: grid; }
.arquivo-lista li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 2px dashed var(--linha); }
.arquivo-lista .dia { font-family: var(--f-mono); font-weight: 600; font-size: 14px; letter-spacing: .08em; }
.arquivo-lista .data { display: block; font-size: 14px; color: var(--texto-2); margin-top: 2px; }
.arquivo-lista .botao { min-height: 40px; padding: 0 14px; font-size: 12px; }
.arquivo-lista .feito { font-family: var(--f-marca); font-weight: 900; font-size: 26px; color: var(--ouro); }

.todas-bloco { display: grid; gap: 8px; padding-top: 14px; border-top: 2px dashed var(--linha); }
.todas-bloco h3 { margin: 0; font-weight: 600; font-size: 17px; line-height: 1.25; }
.todas-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.todas-lista li { display: grid; grid-template-columns: 28px 1fr 46px 34px; gap: 10px; align-items: center; font-size: 15px; }
.todas-lista svg, .todas-lista .corpo { width: 26px; height: 26px; }
.todas-lista .nb { display: grid; gap: 4px; min-width: 0; }
.todas-lista .nb b { font-weight: 500; overflow-wrap: anywhere; line-height: 1.25; }
.todas-lista .barra { display: block; height: 4px; background: rgba(236, 229, 214, .1); position: relative; overflow: hidden; }
.todas-lista .barra i { position: absolute; inset: 0 auto 0 0; background: var(--texto-2); }
.todas-lista li.sua .barra i { background: var(--ouro); }
.todas-lista li.sua .nb b { color: var(--ouro); }
.todas-lista .pct, .todas-lista .pts { text-align: right; font-family: var(--f-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.todas-lista .pts { font-weight: 600; }
.todas-mais { margin: 0; font-size: 14px; color: var(--texto-2); }
.bloqueio { display: grid; gap: 12px; justify-items: start; }
.campo-apelido { height: 50px; font-size: 18px; }
.desafiar-botoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.desafiar-botoes .botao { padding: 0 10px; }
.desafio-exemplo { display: grid; gap: 10px; padding-top: 14px; border-top: 2px dashed var(--linha); }
.desafio-link { margin: 0; padding: 10px 12px; border: 2px dashed var(--linha-forte); border-radius: var(--raio); font-family: var(--f-mono); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.linha-nova { margin-left: 8px; font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ouro); white-space: nowrap; }
.imagem-resultado { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; border-radius: var(--raio); border: 2px solid var(--linha-forte); }

/* --------------------------------------------------------------- cookies */

.aviso-cookies {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 0 max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  pointer-events: none;
}
.aviso-cookies .cartao { max-width: 600px; margin: 0 auto; display: grid; gap: 12px; pointer-events: auto; padding: 18px; background: var(--tinta-2); border: 2px solid var(--linha-forte); border-radius: 6px; }
.aviso-cookies p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--texto-2); }
.aviso-cookies .botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aviso-cookies .botao { min-height: 46px; font-size: 12px; padding: 0 10px; }

/* ------------------------------------------------------------ toast etc. */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 20px);
  z-index: 60;
  padding: 11px 18px;
  border-radius: var(--raio);
  background: var(--creme);
  color: var(--escuro);
  font-weight: 600;
  font-size: 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  max-width: calc(100% - 32px);
}
.toast.visivel { opacity: 1; transform: translate(-50%, 0); }
.confete { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 70; image-rendering: pixelated; }

/* ---------------------------------------------------------------- rodapé */

.rodape { max-width: var(--coluna); margin: 0 auto; padding-block: 20px 36px; border-top: 2px dashed var(--linha); display: grid; gap: 10px; font-size: 14px; color: var(--texto-2); }
.rodape nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.rodape a, .rodape button { color: var(--texto); font-weight: 500; }
.rodape p { margin: 0; }

/* ----------------------------------------------------- páginas de texto */

.pagina { max-width: var(--coluna); margin: 0 auto; padding-block: 22px 40px; display: grid; gap: 34px; }
.pagina .cartao { display: grid; gap: 14px; }
.pagina h1 { margin: 0; font-family: var(--f-marca); font-weight: 900; font-size: clamp(2.6rem, 12vw, 3.4rem); line-height: .95; letter-spacing: .02em; text-transform: uppercase; }
.pagina h2 { margin: 10px 0 0; display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-weight: 500; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--texto-2); }
.pagina h2::after { content: ""; flex: 1; border-top: 2px dashed var(--linha); }
.pagina h3 { margin: 8px 0 -6px; font-size: 17px; font-weight: 600; }
.pagina p, .pagina li { font-size: 16.5px; line-height: 1.6; max-width: 65ch; color: var(--texto-2); }
.pagina strong { color: var(--texto); }
.pagina p { margin: 0; }
.pagina ul, .pagina ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.pagina a { color: var(--texto); }
.lista-destinos { list-style: none; padding-left: 0 !important; gap: 0 !important; border-top: 2px dashed var(--linha); }
.lista-destinos li { display: flex; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 2px dashed var(--linha); }
.lista-destinos .corpo { width: 40px; height: 40px; }
.botao-topo { min-height: 40px; padding: 0 16px; font-size: 12px; }

/* ------------------------------------------------------------ responsivo */

@media (max-width: 430px) {
  .numeros { grid-template-columns: repeat(2, 1fr); }
  .marca-nome { font-size: 25px; }
  .icone { width: 38px; height: 38px; }
  .topo-acoes { gap: 6px; }
  .passo { width: 37px; height: 37px; }
  .passo svg, .passo .corpo { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Respostas de ontem (ontem.html) */
.ontem-fonte { font-family: var(--f-mono); font-size: 13px !important; letter-spacing: .03em; }
.ontem-nav { display: flex; justify-content: space-between; gap: 16px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.ontem-nav #ontem-depois { margin-left: auto; }
.ontem-lista { display: grid; gap: 30px; }
.ontem-pergunta { gap: 12px !important; }
.pagina .ontem-enunciado { margin: 0; font-size: 22px; font-weight: 600; color: var(--texto); text-wrap: balance; }
.ontem-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 480px) { .ontem-colunas { grid-template-columns: 1fr; gap: 14px; } }
.pagina .ontem-rotulo { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-2); }
.pagina .ontem-respostas { list-style: none; padding: 0; margin-top: 6px; gap: 0; border-top: 2px dashed var(--linha); }
.pagina .ontem-respostas li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 2px dashed var(--linha); color: var(--texto); font-size: 16px; max-width: none; }
.ontem-destino { width: 10px; height: 10px; background: var(--cor, var(--ouro)); }
.ontem-nome { min-width: 0; overflow-wrap: anywhere; }
.ontem-valor { font-family: var(--f-mono); font-size: 13px; color: var(--texto-2); white-space: nowrap; }

/* ===================================================================== pixel
   A interface na mesma linguagem dos planetas: grade de 2 px, cantos recortados em degrau,
   tracejados de pixel, letreiro em Jersey 15 (múltiplos de 15 px) e rótulos em Tiny5
   (10 ou 20 px). Fontes pixel só têm um peso: nada de negrito falso. Textos longos (FAQ,
   termos, privacidade) continuam na IBM Plex Sans, para ler sem cansar. */
html { font-synthesis: none; }
:root {
  --entalhe: polygon(2px 0, calc(100% - 2px) 0, calc(100% - 2px) 2px, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 2px calc(100% - 2px), 0 calc(100% - 2px), 0 2px, 2px 2px);
  --sombra-botao: #B5AC97;
}
body::before { opacity: .6; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2290%22 height=%2290%22 shape-rendering=%22crispEdges%22%3E%3Crect x=%227%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%23ECE5D6%22 fill-opacity=%220.9%22/%3E%3Crect x=%2223%22 y=%2241%22 width=%221%22 height=%221%22 fill=%22%23ECE5D6%22 fill-opacity=%220.5%22/%3E%3Crect x=%2238%22 y=%228%22 width=%221%22 height=%221%22 fill=%22%23ECE5D6%22 fill-opacity=%220.7%22/%3E%3Crect x=%2252%22 y=%2263%22 width=%221%22 height=%221%22 fill=%22%23ECE5D6%22 fill-opacity=%220.6%22/%3E%3Crect x=%2266%22 y=%2227%22 width=%221%22 height=%221%22 fill=%22%23ECE5D6%22 fill-opacity=%220.8%22/%3E%3Crect x=%2281%22 y=%2249%22 width=%221%22 height=%221%22 fill=%22%23ECE5D6%22 fill-opacity=%220.5%22/%3E%3Crect x=%2214%22 y=%2277%22 width=%221%22 height=%221%22 fill=%22%23ECE5D6%22 fill-opacity=%220.7%22/%3E%3Crect x=%2245%22 y=%2286%22 width=%221%22 height=%221%22 fill=%22%23ECE5D6%22 fill-opacity=%220.5%22/%3E%3Crect x=%2273%22 y=%2280%22 width=%221%22 height=%221%22 fill=%22%23ECE5D6%22 fill-opacity=%220.6%22/%3E%3Crect x=%2288%22 y=%2212%22 width=%221%22 height=%221%22 fill=%22%23ECE5D6%22 fill-opacity=%220.4%22/%3E%3Crect x=%2230%22 y=%2260%22 width=%221%22 height=%221%22 fill=%22%23ECE5D6%22 fill-opacity=%220.4%22/%3E%3Crect x=%2260%22 y=%225%22 width=%221%22 height=%221%22 fill=%22%23ECE5D6%22 fill-opacity=%220.5%22/%3E%3Crect x=%225%22 y=%2250%22 width=%221%22 height=%221%22 fill=%22%23ECE5D6%22 fill-opacity=%220.6%22/%3E%3Crect x=%2284%22 y=%2270%22 width=%221%22 height=%221%22 fill=%22%23ECE5D6%22 fill-opacity=%220.4%22/%3E%3Crect x=%2218%22 y=%2225%22 width=%221%22 height=%221%22 fill=%22%239DB8FF%22 fill-opacity=%220.6%22/%3E%3Crect x=%2270%22 y=%2258%22 width=%221%22 height=%221%22 fill=%22%239DB8FF%22 fill-opacity=%220.5%22/%3E%3Crect x=%2242%22 y=%2233%22 width=%221%22 height=%221%22 fill=%22%23C98BFF%22 fill-opacity=%220.6%22/%3E%3Crect x=%2257%22 y=%2274%22 width=%221%22 height=%221%22 fill=%22%23F4B955%22 fill-opacity=%220.6%22/%3E%3C/svg%3E"); background-size: 180px 180px; image-rendering: pixelated; }

/* topo */
.marca { gap: 0; }
.marca-img { display: block; width: 156px; height: 22px; image-rendering: pixelated; }
.topo { border-bottom: 2px dashed var(--linha); }
.icone { border-width: 2px; clip-path: var(--entalhe); }
.icone svg { width: 20px; height: 20px; }
.icone:active { transform: translateY(2px); }

/* rótulos em Tiny5 */
.etiqueta, .titulo, .capa-status, .capa-sequencia, .dica, .proximo p, .patrocinio-linha, .placar-de,
.carimbo-nivel, .mini strong, .destino strong, .escala-lista .faixa, .arquivo-lista .dia, .passe-preco span,
.rev-quase, .pagina h2, .ontem-rotulo, .ontem-nav, .ontem-fonte { font-size: 20px !important; letter-spacing: 1px; line-height: 1.2; font-weight: 400; }
.hud-distancia small, .hud-pular, .hud-camada, .achado-nome, .m-sub, .parada-num, .vs-placar span, .vs-placar small,
.colecao b, .colecao small, .recordes dt, .numeros span, .linha-pontos small, .anuncio-rotulo, .linha-nova,
.c-rotulo, .ontem-valor, .m-km { font-size: 10px !important; letter-spacing: 1px; font-weight: 400; }
.cena > .hud-camada { font-size: 10px; }
.titulo::after, .pagina h2::after { border-top: 2px dashed var(--linha); }

/* botões: bloco com volume embaixo, canto recortado, aperta para dentro */
.botao, .botao-enviar, .fechar {
  border-width: 2px;
  clip-path: var(--entalhe);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .28);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 2px;
}
.botao { padding: 0 18px 4px; }
.botao:active, .botao-enviar:active, .fechar:active { transform: translateY(2px); box-shadow: inset 0 4px 0 rgba(0, 0, 0, .2); }
.botao-amarelo { box-shadow: inset 0 -4px 0 var(--sombra-botao); }
.botao-amarelo:hover { background: #FFF8E8; }
.botao-amarelo:active { box-shadow: inset 0 4px 0 var(--sombra-botao); }
.botao-grande { min-height: 60px; font-size: 20px; letter-spacing: 3px; }
.botao-seta::after { content: "▸"; margin-left: 4px; letter-spacing: 0; }
.botao-enviar { box-shadow: inset 0 -4px 0 var(--sombra-botao); }
.botao-enviar svg { width: 20px; height: 20px; }
.fechar svg { width: 16px; height: 16px; }
.link { font-family: var(--f-texto); }

/* molduras das cenas: tela de console em pixel */
.capa-ceu, .cena, .mapa-ceu { border: 2px solid var(--linha-forte); clip-path: var(--entalhe); }

/* caixas e painéis */
.ja-jogou, .desafio-faixa, .achado, .vs-placar div, .vs-lado, .patrocinio-cartao, .colecao li, .numeros div,
.viagem-dia, .previa-texto, .passe-motivo, .modal-cartao, .aviso-cookies .cartao, .anuncio-exemplo,
.desafio-link, .imagem-resultado, .relogio, .hud-pontos, .hud-camada, .hud-distancia, .hud-aviso, .toast,
.passo, .passos li::before { clip-path: var(--entalhe); }
.relogio, .hud-pontos, .hud-camada, .hud-distancia, .hud-aviso, .passo { border-width: 2px; }

/* letreiro em Jersey 15 */
.manchete { font-family: var(--f-marca); font-weight: 400; font-size: 45px; line-height: 1; letter-spacing: 0; }
.enunciado, .enunciado.longo { font-family: var(--f-marca); font-weight: 400; font-size: 45px; line-height: 1; letter-spacing: 0; }
.cartao-pergunta.revelando .enunciado { font-size: 30px; }
.resposta-dada { font-family: var(--f-marca); font-weight: 400; font-size: 45px; line-height: 1; }
.placar-mini { font-size: 60px; }
.placar-num { font-size: 105px; line-height: .85; }
.achado-pontos { font-size: 45px; line-height: .9; }
.dist-total { font-size: 45px; letter-spacing: 0; }
.vs-placar b { font-size: 45px; }
.vs-lado b { font-size: 30px; }
.vs-veredito { font-family: var(--f-marca); font-weight: 400; font-size: 30px; line-height: 1.05; }
.linha-pontos { font-size: 45px; }
.numeros b { font-size: 30px; }
.proximo strong { font-size: 60px; }
.passe-preco b { font-size: 45px; }
.arquivo-lista .feito { font-size: 30px; }
.curva figcaption strong { font-size: 30px; }
.contagem span { font-size: 150px; }
.contagem span.ja { font-size: 90px; letter-spacing: 0; }
.pagina h1 { font-size: 60px; line-height: .95; letter-spacing: 0; }
.parada b { font-family: var(--f-marca); font-size: 30px; font-weight: 400; line-height: 1; }

/* pergunta */
.campo { border-width: 2px; clip-path: var(--entalhe); font-family: var(--f-marca); font-size: 30px; font-weight: 400; padding: 0 16px; }
.campo::placeholder { font-family: var(--f-marca); }
.campo:focus-visible { outline: none; border-color: var(--ouro); }
.passo { font-size: 20px; font-weight: 400; }
.passo.atual { border-color: var(--ouro); color: var(--ouro); }
.relogio { font-family: var(--f-marca); font-size: 30px; padding: 2px 10px 4px; line-height: 1; }
.relogio small { font-family: var(--f-mono); font-size: 10px; color: var(--texto-2); margin-left: 2px; }
.barra-tempo { height: 8px; background: repeating-linear-gradient(90deg, rgba(236, 229, 214, .14) 0 14px, transparent 14px 18px); }
.barra-tempo span { transform: none; background: repeating-linear-gradient(90deg, var(--creme) 0 14px, transparent 14px 18px); }
.urgente-barra span { background: repeating-linear-gradient(90deg, var(--perigo) 0 14px, transparent 14px 18px); }
.passos li::before { font-size: 20px; font-weight: 400; width: 36px; height: 32px; border-width: 2px; }
.passos li { grid-template-columns: 36px 1fr; }

/* viagem: o painel da cena em pixel */
.hud-pontos { font-family: var(--f-marca); font-size: 30px; padding: 0 10px 2px; min-width: 64px; }
.hud-distancia { padding: 4px 8px 6px; gap: 2px; }
.hud-distancia b { font-family: var(--f-marca); font-size: 30px; font-weight: 400; line-height: .9; }
.hud-distancia em { font-size: 10px; letter-spacing: 1px; }
.hud-aviso { font-size: 20px; letter-spacing: 4px; padding: 6px 12px 8px 16px; border-width: 2px; }
.hud-camada i, .capa-sequencia::before, .carimbo-nivel::before, .patrocinio-linha::before, .passe-lista li::before { image-rendering: pixelated; }

@media (max-width: 380px) {
  .topo-acoes { gap: 6px; }
  .icone { width: 36px; height: 36px; }
  .manchete, .enunciado, .enunciado.longo, .resposta-dada { font-size: 30px; line-height: 1.05; }
  .placar-num { font-size: 90px; }
}
/* ajustes da fatia: estrelas discretas, distância da cena em Tiny5, setas de pixel */
body::before { opacity: .32; background-size: 270px 270px; }
.hud-distancia b { font-family: var(--f-mono); font-size: 20px; line-height: 1.1; letter-spacing: 0; }
.mini span::after { content: " ▸"; }
.relogio small { font-size: 20px; margin-left: 3px; }
/* resultado: textos pequenos legíveis, curva em colunas, ícones de pixel nos botões */
.botao svg { width: 20px; height: 20px; }
.previa-texto { font-size: 20px; line-height: 1.35; letter-spacing: 0; }
.m-km { font-family: var(--f-marca); font-size: 15px !important; letter-spacing: 0; }
.linha-pergunta, .vs-pergunta { font-family: var(--f-texto); font-size: 13.5px; letter-spacing: 0; }
.c-rotulo { font: 20px var(--f-mono); }
.c-voce-rotulo { font: 20px var(--f-mono); letter-spacing: 1px; }
.c-eixo { stroke: rgba(236, 229, 214, .35); stroke-width: 2; stroke-dasharray: 6 4; }
.marco i { width: 12px; height: 12px; }
/* páginas: botão-link legível, frases em texto corrido, pergunta no letreiro */
.pagina a.botao { text-decoration: none; }
.pagina a.botao-amarelo { color: var(--escuro); }
.ontem-fonte { font-family: var(--f-texto) !important; font-size: 15px !important; letter-spacing: 0 !important; line-height: 1.5 !important; }
.pagina .ontem-enunciado { font-family: var(--f-marca); font-weight: 400; font-size: 30px; line-height: 1.05; }
.ontem-valor { font-size: 20px !important; letter-spacing: 0; }
