/*
 * Linktree do Futty (protótipo, 28/10).
 *
 * Palco escuro em cima (o estádio, com o telão em HyperFrames) e a folha
 * clara subindo por cima, como a tela inicial do app ("faixas no topo e a
 * folha clara por cima"). No computador, palco à esquerda e folha à direita.
 *
 * Cores e letras são as do app: Space Grotesk no texto, IBM Plex Mono em
 * dado, Big Shoulders (a condensada do protótipo "pelada") em placar e LED.
 */

@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-400-700-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/fonts/ibm-plex-mono-600-latin.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Big Shoulders';
  src: url('assets/fonts/big-shoulders-latin.woff2') format('woff2');
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --fundo: #04070a;
  --ink: #0b0e12;
  --papel: #f4f6f8;
  --superficie: #ffffff;
  --corpo: #3b4553;
  --suave: #7a8593;
  --mudo: #93a0ac;
  --linha: rgba(11, 14, 18, 0.08);
  --verde: #12c97e;
  --verde-claro: #5cf2b0;
  --verde-fundo: #0a7a50;
  --verde-suave: #e7fbf2;
  --ouro: #fde68a;
  --ambar: #f5a524;
  --android: #3ddc84;

  --f-texto: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --f-placar: 'Big Shoulders', 'Space Grotesk', sans-serif;

  --sombra-cartao: 0 1px 2px rgba(11, 14, 18, 0.05), 0 14px 30px -22px rgba(11, 14, 18, 0.5);
  --sombra-destaque: 0 1px 2px rgba(11, 14, 18, 0.06), 0 22px 40px -24px rgba(11, 14, 18, 0.55);
  --seguro-topo: env(safe-area-inset-top, 0px);
  --seguro-baixo: env(safe-area-inset-bottom, 0px);

  /* O telão tem 1080 × 1200: no celular ele ocupa a largura (111% de altura),
     sem passar de 60% da tela num iPhone baixo. */
  --palco-h: min(111.11vw, 60vh);
  --palco-h: min(111.11vw, 60svh);
  --folha-sobe: 26px;
}

* {
  box-sizing: border-box;
}
html {
  /* Puxar além do topo mostra o escuro; além do fim, o papel. */
  background: linear-gradient(var(--fundo) 50%, var(--papel) 50%);
}
/* Enquanto a folha não subiu, tudo embaixo do palco é estádio. */
html.prepara,
html.entrando {
  background: var(--fundo);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-texto);
  color: var(--ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
p,
h1,
ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
img,
svg,
canvas {
  display: block;
}

/* ---------- o que aparece em cada aparelho ---------- */
html:not([data-aparelho='ios']) .so-ios,
html:not([data-aparelho='android']) .so-android,
html:not([data-aparelho='computador']) .so-pc,
html[data-aparelho='android'] .nao-android {
  display: none !important;
}
html:not([data-navegador]) .dica-chrome {
  display: none !important;
}

/* ================= o palco ================= */
.palco {
  --logo-w: clamp(118px, 34vw, 150px);
  --k: 0.74;
  position: sticky;
  top: 0;
  z-index: 0;
  height: var(--palco-h);
  overflow: hidden;
  background: var(--fundo);
  isolation: isolate;
}
.telao {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
/* Se o telão não carregar, fica a foto parada (nunca o palco vazio). */
.palco-reserva {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 7, 10, 0.55), rgba(4, 7, 10, 0.2) 40%, rgba(4, 7, 10, 0.95)),
    url('telao/assets/estadio.webp') center 9% / cover no-repeat;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.sem-telao .palco-reserva {
  opacity: 1;
}
/* Escurece o palco conforme a folha sobe por cima dele. */
.palco-coberto {
  position: absolute;
  inset: 0;
  background: var(--fundo);
  opacity: calc(var(--coberto, 0) * 0.7);
  pointer-events: none;
}

/* ---------- a logo com a bola (a mesma abertura do app) ---------- */
.logo {
  position: absolute;
  z-index: 3;
  left: calc(50% - var(--logo-w) / 2);
  top: calc(var(--seguro-topo) + 16px);
  width: var(--logo-w);
  aspect-ratio: 855 / 225;
  opacity: 0;
}
.logo-letras {
  width: 100%;
  height: auto;
  /* As letras sem o ponto: o ponto é a bola (RECORTE_LETRAS do LogoFutty). */
  clip-path: polygon(0 0, 100% 0, 100% 44.44%, 89.71% 44.44%, 89.71% 100%, 0 100%);
}
.logo-bola {
  position: absolute;
  left: 89.71%;
  top: 50.22%;
  width: 8.3%;
  height: 28.44%;
  background: var(--verde);
  border-radius: 1px;
  touch-action: manipulation;
}
/* Área de toque bem maior que o pontinho. */
.logo-bola::before {
  content: '';
  position: absolute;
  inset: -16px;
}
.logo-bola:focus-visible {
  outline: 2px solid var(--verde-claro);
  outline-offset: 4px;
}
.logo.pronta {
  opacity: 1;
}
.logo.anima {
  opacity: 1;
  animation: futtyRespiro 1700ms both;
}
.logo.anima .logo-bola {
  border-radius: 50%;
  animation: futtyBola 1550ms 150ms both;
}
.logo.anima .logo-letras {
  animation: futtyLetras 1550ms 150ms both;
}
.logo.sem-bola .logo-bola {
  visibility: hidden;
}
/* Os quadros-chave da abertura do app (theme/global.css), medidos numa logo
   de 190px: aqui escalam pelo --k (largura da logo ÷ 190). */
@keyframes futtyBola {
  0% {
    transform: translate(calc(-240px * var(--k)), calc(260px * var(--k))) scale(2.6);
    opacity: 0;
    border-radius: 50%;
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1);
  }
  8% {
    opacity: 1;
  }
  26% {
    transform: translate(calc(-176px * var(--k)), calc(-46px * var(--k))) scale(1.25);
    animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4);
  }
  37% {
    transform: translate(calc(-170px * var(--k)), 0) scale(1);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  76% {
    transform: translate(calc(-22px * var(--k)), 0) scale(1);
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1);
  }
  84% {
    transform: translate(calc(-6px * var(--k)), calc(-18px * var(--k))) scale(1);
    border-radius: 50%;
    animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4);
  }
  92% {
    transform: translate(0, 0) scale(1.08, 0.88);
    border-radius: 22%;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
    border-radius: 1px;
  }
}
@keyframes futtyLetras {
  0%,
  37% {
    clip-path: polygon(0 0, 0 0, 0 44.44%, 0 44.44%, 0 100%, 0 100%);
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  }
  76% {
    clip-path: polygon(0 0, 78% 0, 78% 44.44%, 78% 44.44%, 78% 100%, 0 100%);
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 44.44%, 89.71% 44.44%, 89.71% 100%, 0 100%);
  }
}
@keyframes futtyRespiro {
  0%,
  88% {
    transform: scale(1);
  }
  94% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}
/* O convite da embaixadinha: a bola dá um quique só. */
.logo.convida .logo-bola {
  animation: quique 900ms cubic-bezier(0.3, 0, 0.3, 1) both;
}
@keyframes quique {
  0%,
  100% {
    transform: translateY(0) scale(1);
    border-radius: 1px;
  }
  12% {
    transform: translateY(0) scale(1.15, 0.8);
  }
  40% {
    transform: translateY(-180%) scale(0.95, 1.08);
    border-radius: 50%;
  }
  72% {
    transform: translateY(0) scale(1.12, 0.86);
    border-radius: 30%;
  }
  86% {
    transform: translateY(-40%) scale(1);
    border-radius: 50%;
  }
}

.dica {
  position: absolute;
  z-index: 3;
  left: calc(50% + var(--logo-w, 140px) / 2 + 8px);
  top: calc(var(--seguro-topo) + 30px);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ouro);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.dica::before {
  content: '←';
  margin-right: 6px;
}

/* ---------- placar da embaixadinha (aparece só jogando) ---------- */
.placar {
  position: absolute;
  z-index: 3;
  right: 14px;
  top: calc(var(--seguro-topo) + 12px);
  display: grid;
  justify-items: end;
  gap: 0;
  padding: 8px 12px 9px;
  border-radius: 12px;
  background: rgba(4, 7, 10, 0.72);
  border: 1px solid rgba(92, 242, 176, 0.22);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.placar.visivel {
  visibility: visible;
}
.placar-rotulo {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.placar-numero {
  display: block;
  height: 40px;
  overflow: hidden;
  font-family: var(--f-placar);
  font-weight: 900;
  font-size: 44px;
  line-height: 40px;
  color: var(--verde-claro);
  text-shadow: 0 0 14px rgba(92, 242, 176, 0.45);
  font-variant-numeric: tabular-nums;
}
.placar-numero span {
  display: block;
}
.placar-recorde {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ouro);
  min-height: 13px;
}

/* Jogando, o telão apaga um pouco: a bola e o placar mandam. */
.palco::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(4, 7, 10, 0.62);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.jogando .palco::after {
  opacity: 1;
}

/* ---------- o grito (10 embaixadinhas, caiu...) ---------- */
.grito {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 46%;
  text-align: center;
  font-family: var(--f-placar);
  font-weight: 900;
  font-size: clamp(44px, 15vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--ouro);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
}
.grito small {
  display: block;
  margin-top: 8px;
  font-family: var(--f-texto);
  font-weight: 600;
  font-size: 15px;
  text-transform: none;
  color: #fff;
}

/* ---------- a bola em jogo ---------- */
.bola-em-jogo {
  position: fixed;
  z-index: 40;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  visibility: hidden;
  touch-action: none;
  will-change: transform;
}
.bola-em-jogo::before {
  /* toque com folga: ninguém acerta 48px correndo */
  content: '';
  position: absolute;
  inset: -26px;
  border-radius: 50%;
}
.bola-em-jogo svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.bola-cor {
  fill: var(--verde);
}
.bola-costura {
  fill: var(--verde-fundo);
}
.bola-costura-linha {
  fill: none;
  stroke: var(--verde-fundo);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.bola-brilho {
  fill: rgba(255, 255, 255, 0.55);
}
.jogando .bola-em-jogo {
  visibility: visible;
}

/* ================= a folha ================= */
.folha {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--folha-sobe) * -1);
  min-height: calc(100vh - var(--palco-h) + var(--folha-sobe));
  min-height: calc(100svh - var(--palco-h) + var(--folha-sobe));
  padding: 24px 16px calc(28px + var(--seguro-baixo));
  background: var(--papel);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -16px 40px -18px rgba(0, 0, 0, 0.55);
}
.folha::before {
  /* a alça, igual à das folhas do app */
  content: '';
  position: absolute;
  left: calc(50% - 18px);
  top: 9px;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(11, 14, 18, 0.14);
}

.titulo {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
/* O ponto final é o quadradinho verde da logo. */
.ponto {
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  margin-left: 0.06em;
  background: var(--verde);
  border-radius: 1px;
}
.subtitulo {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--corpo);
}

/* ---------- iPhone: o ingresso ---------- */
.ingresso {
  position: relative;
  margin-top: 18px;
  perspective: 1400px;
}
.ingresso-giro {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.ingresso.virado .ingresso-giro {
  transform: rotateY(180deg);
}
.ingresso-face {
  --canhoto: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--canhoto);
  background: var(--superficie);
  border-radius: 20px;
  box-shadow: var(--sombra-destaque);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* os dois meios-círculos do picote, em cima e embaixo */
  -webkit-mask:
    radial-gradient(circle at calc(100% - var(--canhoto)) 0, transparent 9px, #000 9.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at calc(100% - var(--canhoto)) 100%, transparent 9px, #000 9.5px) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle at calc(100% - var(--canhoto)) 0, transparent 9px, #000 9.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at calc(100% - var(--canhoto)) 100%, transparent 9px, #000 9.5px) bottom / 100% 51% no-repeat;
}
.ingresso-verso {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
}
.ingresso-corpo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 16px 16px 16px;
  min-width: 0;
}
.app-linha {
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-icone {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(11, 14, 18, 0.08);
}
.app-nome {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.app-detalhe {
  margin-top: 2px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--suave);
}
/* O selo oficial não se mexe nem muda (regra da Apple): só o que está em volta. */
.selo {
  display: inline-block;
  align-self: flex-start;
  margin: 2px 0 0;
  border-radius: 9px;
}
.selo img {
  height: 50px;
  width: auto;
}
.selo:active {
  opacity: 0.85;
}
.selo:focus-visible {
  outline: 2px solid var(--verde);
  outline-offset: 3px;
}
.ingresso-canhoto {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 12px;
  border-left: 2px dashed rgba(11, 14, 18, 0.14);
}
.canhoto-texto {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--verde-fundo);
  white-space: nowrap;
}
.virar {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 6px 8px;
  border-radius: 10px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--corpo);
}
.virar svg {
  width: 26px;
  height: 26px;
  fill: var(--ink);
  stroke: none;
}
.ingresso-verso .virar svg {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.virar:active {
  background: var(--papel);
}
.verso-corpo {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}
.verso-titulo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.verso-texto {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--corpo);
}

/* ---------- QR (mosaico da torcida) ---------- */
.qr {
  flex-shrink: 0;
  width: 128px;
  height: 128px;
  border-radius: 10px;
  background: #fff;
  image-rendering: pixelated;
}

/* ---------- Android: abrir no navegador ---------- */
.abrir {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 16px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--sombra-destaque);
  overflow: hidden;
}
.abrir:active {
  transform: scale(0.985);
}
.abrir-icone {
  width: 44px;
  height: 44px;
  border-radius: 11px;
}
.abrir-textos {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.abrir-textos b {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.abrir-textos small {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.abrir-seta {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--verde);
}
.abrir-seta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #04230f;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.aquecimento {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--superficie);
  box-shadow: var(--sombra-cartao);
}
.aquecimento .robo {
  width: 46px;
  height: 54px;
}
.aquecimento-textos b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.aquecimento-textos p {
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--corpo);
}
.dica-chrome {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--suave);
}

/* ---------- o robô do Android aquecendo (polichinelo) ---------- */
.robo {
  overflow: visible;
}
.robo-cabeca,
.robo-tronco,
.robo-braco rect,
.robo-perna rect {
  fill: var(--android);
}
.robo-antena {
  fill: none;
  stroke: var(--android);
  stroke-width: 2.6;
  stroke-linecap: round;
}
.robo-olho {
  fill: #fff;
}
.robo-pulo,
.robo-braco,
.robo-perna {
  transform-box: fill-box;
}
.robo-pulo {
  transform-origin: 50% 100%;
  animation: roboPulo 1.1s ease-in-out infinite;
}
.robo-braco-e {
  transform-origin: 50% 8%;
  animation: roboBracoE 1.1s ease-in-out infinite;
}
.robo-braco-d {
  transform-origin: 50% 8%;
  animation: roboBracoD 1.1s ease-in-out infinite;
}
.robo-perna-e {
  transform-origin: 50% 6%;
  animation: roboPernaE 1.1s ease-in-out infinite;
}
.robo-perna-d {
  transform-origin: 50% 6%;
  animation: roboPernaD 1.1s ease-in-out infinite;
}
@keyframes roboPulo {
  0%,
  50%,
  100% {
    transform: translateY(0);
  }
  25%,
  75% {
    transform: translateY(-7%);
  }
}
@keyframes roboBracoE {
  0%,
  100% {
    transform: rotate(8deg);
  }
  50% {
    transform: rotate(150deg);
  }
}
@keyframes roboBracoD {
  0%,
  100% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(-150deg);
  }
}
@keyframes roboPernaE {
  0%,
  100% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(16deg);
  }
}
@keyframes roboPernaD {
  0%,
  100% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(-16deg);
  }
}
/* Tocou no robô: ele dá um pulo mais alto. */
.robo.empolgado .robo-pulo {
  animation: roboEmpolgado 0.7s cubic-bezier(0.3, 0, 0.3, 1) both;
}
@keyframes roboEmpolgado {
  0% {
    transform: translateY(0) scale(1);
  }
  20% {
    transform: translateY(0) scale(1.08, 0.88);
  }
  55% {
    transform: translateY(-36%) scale(0.95, 1.05);
  }
  85% {
    transform: translateY(0) scale(1.06, 0.92);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* ---------- a placa de LED (como a de substituição) ---------- */
.placa-led {
  display: inline-block;
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #07090c;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 0.8px, transparent 1.1px);
  background-size: 3px 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.placa-led-rolo {
  display: block;
  animation: placaTroca 4.4s steps(1, end) infinite;
}
.placa-led-rolo span {
  display: block;
  height: 26px;
  line-height: 27px;
  font-family: var(--f-placar);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ambar);
  text-shadow: 0 0 8px rgba(245, 165, 36, 0.55);
  white-space: nowrap;
  text-align: center;
}
.placa-led-rolo span + span {
  color: var(--android);
  text-shadow: 0 0 8px rgba(61, 220, 132, 0.5);
}
@keyframes placaTroca {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-26px);
  }
}

/* ---------- computador: os dois QR ---------- */
.ingressos-pc {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.ingresso-pc {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px;
  border-radius: 20px;
  background: var(--superficie);
  box-shadow: var(--sombra-destaque);
}
.ingresso-pc .qr {
  width: 132px;
  height: 132px;
}
.ingresso-pc-textos {
  display: grid;
  gap: 10px;
}
.ingresso-pc-textos p {
  font-size: 14px;
  line-height: 1.4;
  color: var(--corpo);
}
.selo-pc img {
  height: 44px;
}
.android-marca {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
}
.robo-mini {
  width: 30px;
  height: 35px;
}

/* ---------- a escalação (linhas) ---------- */
.escalacao {
  margin-top: 22px;
  border-top: 1px solid var(--linha);
}
.linha {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--linha);
  text-decoration: none;
  overflow: hidden;
}
a.linha:active {
  background: rgba(11, 14, 18, 0.03);
}
.linha-varre {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--verde);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
.linha-icone {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.linha-android .robo {
  width: 36px;
  height: 42px;
  margin: 0 auto;
  border-radius: 0;
}
.linha-textos {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.linha-titulo {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.linha-sub {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--suave);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Botão é retângulo de 30px (regra dos artboards do app). */
.linha-acao {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink);
}
.linha-acao svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.linha-android {
  cursor: pointer;
}

/* ---------- mais ---------- */
.mais {
  margin-top: 26px;
  border-top: 1px solid var(--linha);
}
.mais-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--linha);
  text-decoration: none;
}
.mais-linha span {
  display: grid;
  gap: 2px;
}
.mais-linha b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mais-linha small {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--suave);
}
.mais-linha svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--suave);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mais-linha:active {
  background: rgba(11, 14, 18, 0.03);
}

/* ---------- rodapé: a placa de LED de beira de campo ---------- */
.rodape {
  margin-top: 30px;
}
.led {
  margin: 0 -16px;
  overflow: hidden;
  padding: 11px 0;
  background-color: #07090c;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 0.8px, transparent 1.1px);
  background-size: 4px 4px;
}
.led-faixa {
  display: flex;
  width: max-content;
  animation: ledCorre 36s linear infinite;
}
.led ul {
  display: flex;
  flex-shrink: 0;
}
.led li {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 22px 0 0;
  margin-left: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--verde-claro);
  text-shadow: 0 0 6px rgba(92, 242, 176, 0.45), 0 0 18px rgba(92, 242, 176, 0.18);
}
.led li::after {
  content: '';
  width: 4px;
  height: 4px;
  background: currentColor;
  opacity: 0.5;
}
@keyframes ledCorre {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.rodape-linha {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--suave);
}
.rodape-linha a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.rodape-credito {
  margin-top: 6px;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--mudo);
}

/* ================= a cortina (saída) ================= */
.cortina {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  visibility: hidden;
}
.cortina.ativa {
  visibility: visible;
  pointer-events: auto;
}
.cortina-faixas {
  position: absolute;
  inset: 0;
  background-color: #04070a;
  background-size: cover;
  background-position: center;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
.cortina-logo {
  position: absolute;
  left: calc(50% - 90px);
  top: calc(50% - 24px);
  width: 180px;
  aspect-ratio: 855 / 225;
  opacity: 0;
}
.cortina-logo img {
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 44.44%, 89.71% 44.44%, 89.71% 100%, 0 100%);
}
.cortina-logo i {
  position: absolute;
  left: 89.71%;
  top: 50.22%;
  width: 8.3%;
  height: 28.44%;
  background: var(--verde);
  border-radius: 1px;
}

/* ---------- antes da entrada (o JS tira; se ele falhar, o head tira em 4 s) ---------- */
html.prepara .folha {
  transform: translateY(72vh);
}
html.prepara .baixar .entra,
html.prepara .principal,
html.prepara .mais-linha,
html.prepara .rodape,
html.prepara .escalacao .linha > :not(.linha-varre) {
  opacity: 0;
}

/* ================= computador ================= */
@media (min-width: 960px) {
  :root {
    --palco-h: 100vh;
    --folha-sobe: 0px;
  }
  .pagina {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 520px);
    min-height: 100vh;
  }
  html {
    background: var(--fundo);
  }
  .palco {
    height: 100vh;
  }
  /* Quando o telão não ocupa a largura toda (computador), as
     bordas dele somem no escuro em vez de cortar seco. */
  .palco::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    --meia: calc(var(--palco-h) * 0.45);
    background: linear-gradient(
      90deg,
      var(--fundo) 0,
      var(--fundo) calc(50% - var(--meia)),
      rgba(4, 7, 10, 0) calc(50% - var(--meia) + 48px),
      rgba(4, 7, 10, 0) calc(50% + var(--meia) - 48px),
      var(--fundo) calc(50% + var(--meia)),
      var(--fundo) 100%
    );
  }
  .palco {
    --logo-w: 168px;
    --k: 0.884;
  }
  .logo {
    top: 34px;
  }
  .dica {
    top: 50px;
  }
  html.prepara .folha {
    transform: translateX(48px);
    opacity: 0;
  }
  .folha {
    min-height: 100vh;
    padding: 72px 52px 40px;
    border-radius: 0;
    box-shadow: none;
  }
  .folha::before {
    display: none;
  }
  .titulo {
    font-size: 40px;
  }
  .subtitulo {
    font-size: 16px;
  }
  .led {
    margin: 0 -52px;
  }
  .grito {
    font-size: 110px;
  }
}

/* ================= menos movimento ================= */
@media (prefers-reduced-motion: reduce) {
  .robo-pulo,
  .robo-braco,
  .robo-perna,
  .placa-led-rolo,
  .led-faixa {
    animation: none !important;
  }
  .ingresso-giro {
    transition: none;
  }
}
