@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fuentes/fraunces.woff2?v=df3606425b") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fuentes/fraunces-italica.woff2?v=df3606425b") format("woff2"); }

:root {
  --fondo: #12100e;
  --superficie: #1c1916;
  --superficie-2: #24201c;
  --linea: #322c26;
  --texto: #f2ece1;
  --suave: #a39a8c;
  --tenue: #6f675d;
  --oro: #c9a45c;
  --oro-claro: #e2c58a;
  --alerta: #d9775f;
  --ok: #8fb08a;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radio: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 2px; }

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

/* ---------- estructura ---------- */
.barra {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--linea);
  position: sticky; top: 0; background: var(--fondo); z-index: 5;
}
.barra .evento { font-family: var(--serif); font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barra .acciones { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.conexion { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.conexion.caida { background: var(--alerta); }
.contenedor { max-width: 520px; margin: 0 auto; padding: 24px 18px 48px; }

.etiqueta { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); }
.titulo { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 8vw, 38px); line-height: 1.1; margin: 8px 0 18px; }
.subtitulo { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 12px; }
.nota { font-size: 14px; color: var(--suave); }
.centro { text-align: center; }

/* ---------- controles ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--linea); background: transparent; cursor: pointer;
  font-size: 15px; text-decoration: none; color: var(--texto);
  transition: background .15s, border-color .15s, transform .1s;
}
.boton:hover { border-color: var(--tenue); }
.boton:active { transform: scale(.98); }
.boton.principal { background: var(--oro); border-color: var(--oro); color: #1a1510; }
.boton.principal:hover { background: var(--oro-claro); }
.boton.chico { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.boton.peligro { color: var(--alerta); border-color: #5a352b; }
.boton.ancho { width: 100%; }
.boton[aria-busy="true"] { opacity: .6; pointer-events: none; }

.campo { display: block; margin-bottom: 14px; }
.campo > span { display: block; font-size: 13px; color: var(--suave); margin-bottom: 6px; }
.campo input, .campo textarea, .campo select {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--linea); background: var(--superficie); outline: none;
}
.campo textarea { min-height: 84px; resize: vertical; }
.campo input:focus, .campo textarea:focus, .campo select:focus { border-color: var(--oro); }
.error { color: var(--alerta); font-size: 14px; min-height: 20px; margin: 4px 0 10px; }

.tarjeta { background: var(--superficie); border: 1px solid var(--linea); border-radius: var(--radio); padding: 18px; }

/* ---------- foto / iniciales ---------- */
.foto { position: relative; overflow: hidden; border-radius: 12px; background: var(--superficie-2); aspect-ratio: 1; }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto .iniciales {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 30px; color: var(--oro);
}
.foto.redonda { border-radius: 50%; }

/* ---------- login ---------- */
.login { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; max-width: 380px; margin: 0 auto; padding: 32px 22px; }
.login .titulo { margin-bottom: 28px; }

/* ---------- reloj ---------- */
.reloj { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.reloj .pista { flex: 1; height: 4px; border-radius: 4px; background: var(--linea); overflow: hidden; }
.reloj .avance { height: 100%; width: 100%; background: var(--oro); transform-origin: left; transition: background .3s; }
.reloj .avance.urgente { background: var(--alerta); }
.reloj .tiempo { font-variant-numeric: tabular-nums; font-size: 15px; min-width: 40px; text-align: right; }

/* ---------- grilla de nominados ---------- */
.grilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grilla.pocos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nominado { background: none; border: 0; padding: 0; cursor: pointer; text-align: center; transition: opacity .3s, transform .15s; }
.nominado:active { transform: scale(.96); }
.nominado .nombre { display: block; margin-top: 7px; font-size: 13px; color: #d8cfc1; overflow-wrap: anywhere; }
.nominado.elegido .foto { box-shadow: 0 0 0 2px var(--oro); }
.nominado.apagado { opacity: .28; }
.nominado[disabled] { cursor: default; }
.estado-voto { margin-top: 22px; text-align: center; font-size: 14px; color: var(--suave); }

/* ---------- confirmacion ---------- */
.capa {
  position: fixed; inset: 0; z-index: 20; background: rgba(8, 7, 6, .84);
  display: flex; align-items: center; justify-content: center; padding: 22px;
  animation: aparecer .18s ease-out;
}
.dialogo { width: 100%; max-width: 340px; background: var(--superficie); border: 1px solid var(--linea); border-radius: 18px; padding: 24px 20px 20px; text-align: center; }
.dialogo .foto { width: 96px; margin: 0 auto 14px; }
.dialogo h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0 0 6px; }
.dialogo p { margin: 0 0 20px; font-size: 14px; color: var(--suave); }
.dialogo .botones { display: flex; gap: 10px; }
.dialogo .botones .boton { flex: 1; }

/* ---------- previa / empate ---------- */
.previa { min-height: 62dvh; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.previa .cuenta { font-family: var(--serif); font-size: 84px; line-height: 1; color: var(--oro); margin-top: 18px; animation: latido 1s ease-in-out infinite; }
.empatados { display: flex; justify-content: center; gap: 14px; margin: 18px 0 8px; flex-wrap: wrap; }
.empatados .foto { width: 92px; }
.empatados .nombre { font-size: 13px; margin-top: 6px; color: #d8cfc1; }

/* ---------- revelacion (linea de tiempo en jugar.js: clases ver-*) ---------- */
.revelacion { text-align: center; padding-top: 8px; position: relative; }
.revelacion .anuncio { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--suave); margin: 22px 0 0; opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s; }
.revelacion.ver-anuncio .anuncio { opacity: 1; transform: none; }
.revelacion.aterrizo .anuncio { opacity: 0; height: 0; margin: 0; transition: opacity .3s, height .4s .2s, margin .4s .2s; }
.rueda { width: min(58vw, 220px); aspect-ratio: 1; margin: 22px auto 18px; position: relative; display: none; }
.revelacion.girando .rueda { display: block; }
.rueda::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--linea); }
.rueda-foto, .rueda-foto .foto { position: absolute; inset: 0; }
.rueda-foto.tic .foto { animation: tic .16s ease-out; }
.rueda-foto .foto .iniciales { font-size: 64px; }
.ganadores { display: none; justify-content: center; gap: 18px; margin: 22px 0 18px; flex-wrap: wrap; }
.revelacion.aterrizo .ganadores { display: flex; }
.ganador-foto { position: relative; width: min(58vw, 220px); aspect-ratio: 1; }
.ganadores.dobles .ganador-foto { width: min(38vw, 150px); }
.ganador-foto > .foto { position: absolute; inset: 0; box-shadow: 0 0 0 2px var(--oro); animation: aterrizar .7s calc(var(--i, 0) * 120ms) cubic-bezier(.2, 1.3, .4, 1) both; }
.ganador-foto .foto .iniciales { font-size: 64px; }
.ganador-foto .aro { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--oro); opacity: 0; animation: aro 1.4s .1s ease-out both; }
.ganador-foto .aro-2 { animation-delay: .35s; border-width: 1px; }
.revelacion .nombre-ganador { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 10vw, 46px); line-height: 1.1; margin: 0; visibility: hidden; }
.revelacion.ver-nombre .nombre-ganador { visibility: visible; }
.revelacion.ver-nombre .nombre-ganador .palabra > span { animation: palabra .7s calc(var(--i) * 90ms) cubic-bezier(.2, .8, .2, 1) both; }
.revelacion .votos { color: var(--oro); font-size: 14px; margin-top: 8px; opacity: 0; transition: opacity .5s; font-variant-numeric: tabular-nums; }
.revelacion.ver-votos .votos { opacity: 1; }
.anecdota { font-family: var(--serif); font-size: 19px; line-height: 1.55; color: #e6ddcf; margin: 26px auto 0; max-width: 420px; padding: 0; white-space: pre-line; }
.anecdota .quien { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--oro); margin-bottom: 4px; opacity: 0; }
.anecdota .frase { opacity: 0; display: inline; }
.revelacion.ver-anecdota .anecdota .quien { animation: aparecer .5s calc(var(--i) * 600ms) both; }
.revelacion.ver-anecdota .anecdota .frase { animation: frase .9s calc(var(--i) * 600ms + var(--k) * 650ms) ease-out both; }
.conteo { margin: 32px auto 0; max-width: 360px; opacity: 0; transition: opacity .4s; }
.revelacion.ver-conteo .conteo { opacity: 1; }
.conteo .fila { display: grid; grid-template-columns: 96px 1fr 24px; align-items: center; gap: 10px; font-size: 12px; color: var(--suave); margin: 8px 0; text-align: left; }
.conteo .fila.gana { color: var(--oro-claro); }
.conteo .fila span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conteo .barra-voto { height: 3px; background: var(--linea); border-radius: 3px; overflow: hidden; }
.conteo .barra-voto i { display: block; height: 100%; width: 0; background: var(--tenue); transition: width .9s calc(var(--i) * 90ms) cubic-bezier(.2, .8, .2, 1); }
.conteo .fila.gana .barra-voto i { background: var(--oro); }
.revelacion.ver-conteo .conteo .barra-voto i { width: var(--w); }
.revelacion.directo *, .revelacion.directo *::before { animation-duration: .01s !important; animation-delay: 0s !important; transition: none !important; }
.revelacion.directo .anuncio { display: none; }
.papel-picado { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }

/* ---------- espera / historial ---------- */
.espera { padding-top: 6vh; }
.pulso { width: 10px; height: 10px; border-radius: 50%; background: var(--oro); margin: 0 auto 18px; animation: latido 1.6s ease-in-out infinite; }
.historial { margin-top: 36px; }
.historial h3 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); font-weight: 500; margin: 0 0 12px; }
.item-historial { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--linea); }
.item-historial .fotos { display: flex; flex-shrink: 0; }
.item-historial .fotos .foto { width: 46px; border-radius: 50%; border: 2px solid var(--fondo); }
.item-historial .fotos .foto + .foto { margin-left: -14px; }
.item-historial .foto .iniciales { font-size: 16px; }
.item-historial .cat { font-size: 13px; color: var(--suave); }
.item-historial .gano { font-family: var(--serif); font-size: 17px; }

.aviso {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 30;
  background: var(--superficie-2); border: 1px solid var(--linea); border-radius: 12px;
  padding: 12px 16px; font-size: 14px; max-width: calc(100% - 32px); animation: subir .2s ease-out;
}
.aviso.mal { border-color: #5a352b; color: #f0b9a9; }

@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes desvanecer { to { opacity: 0; height: 0; margin: 0; } }
@keyframes subir { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes entrar { 0% { opacity: 0; transform: scale(.25) rotate(-8deg); } 60% { opacity: 1; transform: scale(1.06) rotate(2deg); } 100% { opacity: 1; transform: none; } }
@keyframes aro { from { opacity: .9; transform: scale(.7); } to { opacity: 0; transform: scale(1.6); } }
@keyframes latido { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.92); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-delay: 0s !important; transition: none !important; }
  .revelacion .anuncio { display: none; }
}

/* ---------- panel del organizador ---------- */
.pestanas { display: flex; gap: 4px; padding: 0 12px; border-bottom: 1px solid var(--linea); overflow-x: auto; position: sticky; top: 61px; background: var(--fondo); z-index: 4; }
.pestanas button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 10px; color: var(--suave); cursor: pointer; white-space: nowrap; font-size: 14px; }
.pestanas button[aria-selected="true"] { color: var(--texto); border-bottom-color: var(--oro); }
.panel { max-width: 720px; margin: 0 auto; padding: 22px 16px 60px; }
.panel h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0 0 14px; }
.panel h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--suave); font-weight: 500; margin: 28px 0 10px; }
.fila-panel { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--linea); }
.fila-panel:last-child { border-bottom: 1px solid var(--linea); }
.fila-panel .foto { width: 44px; flex-shrink: 0; border-radius: 50%; }
.fila-panel .foto .iniciales { font-size: 15px; }
.fila-panel .info { flex: 1; min-width: 0; }
.fila-panel .info b { font-weight: 500; display: block; overflow-wrap: anywhere; }
.fila-panel .info small { color: var(--suave); font-size: 13px; }
.fila-panel .botones { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.chip { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--linea); color: var(--suave); margin-left: 6px; vertical-align: 1px; }
.chip.en_curso { border-color: var(--oro); color: var(--oro); }
.chip.revelada { border-color: #3d4a3a; color: var(--ok); }
.numero { width: 26px; color: var(--tenue); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.formulario { margin-bottom: 22px; }
.formulario .pie { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.formulario .pie .derecha { margin-left: auto; }
.subir-foto { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.subir-foto .foto { width: 84px; border-radius: 50%; }
.check { display: flex; align-items: center; gap: 10px; margin: 6px 0 16px; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--oro); }
.nominable { border-top: 1px solid var(--linea); padding: 10px 0; }
.nominable label.persona { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.nominable .foto { width: 38px; border-radius: 50%; }
.nominable .foto .iniciales { font-size: 13px; }
.nominable input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--oro); }
.nominable textarea { margin-top: 10px; }
.vivo { margin-bottom: 8px; }
.vivo .titulo { font-size: 28px; margin: 6px 0 14px; }
.vivo .pie { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.metricas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 6px; }
.metrica { background: var(--superficie); border: 1px solid var(--linea); border-radius: 12px; padding: 12px 14px; }
.metrica small { color: var(--suave); font-size: 12px; display: block; }
.metrica b { font-weight: 400; font-family: var(--serif); font-size: 26px; }

/* ---------- animaciones de recorrido ---------- */
.pantalla { animation: pantalla .5s cubic-bezier(.2, .8, .2, 1) both; }
.palabra { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .2em; margin-bottom: -.2em; }
.palabra > span { display: inline-block; }
.palabras .palabra > span, .marca-evento .palabra > span { animation: palabra .7s calc(var(--base, 0ms) + var(--i) * 70ms) cubic-bezier(.2, .8, .2, 1) both; }
.marca-evento { font-family: var(--serif); font-size: 15px; letter-spacing: .02em; color: var(--oro); margin: 0 0 6px; }
.sacudir { animation: sacudir .4s ease-in-out; }

.cuenta-caja { position: relative; width: 150px; height: 150px; margin: 24px auto 0; }
.aro-previa { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.aro-fondo { fill: none; stroke: var(--linea); stroke-width: 2; }
.aro-linea { fill: none; stroke: var(--oro); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 276.5; stroke-dashoffset: 0; transition: stroke-dashoffset .2s linear; }
.cuenta-caja .cuenta { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; animation: none; }
.cuenta { font-family: var(--serif); font-size: 72px; line-height: 1; color: var(--oro); margin-top: 18px; }
.cuenta-num { display: inline-block; animation: cuenta .9s cubic-bezier(.2, .8, .2, 1) both; }
.previa-fotos { display: flex; justify-content: center; margin-top: 26px; }
.previa-fotos > div { width: 40px; margin-left: -8px; animation: subir .5s calc(.3s + var(--i) * 60ms) both; }
.previa-fotos .foto { border: 2px solid var(--fondo); }
.previa-fotos .foto .iniciales { font-size: 14px; }

.nominado { animation: nominado .55s calc(var(--i) * 60ms) cubic-bezier(.2, .8, .2, 1) both; position: relative; }
.nominado .foto { transition: box-shadow .25s, transform .25s; }
.nominado:not([disabled]):hover .foto { transform: translateY(-2px); }
.nominado.elegido .foto { box-shadow: 0 0 0 3px var(--oro); animation: elegido .5s cubic-bezier(.2, 1.4, .4, 1); }
.tilde { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--oro); color: #1a1510; display: flex; align-items: center; justify-content: center; font-size: 15px; animation: elegido .45s .1s cubic-bezier(.2, 1.4, .4, 1) both; }
.reloj .tiempo.urgente { color: var(--alerta); animation: latido 1s ease-in-out infinite; }

.tira { margin-top: 26px; text-align: center; }
.presentes { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.presente { width: 30px; opacity: .3; transition: opacity .3s; }
.presente .foto { border: 1.5px solid transparent; }
.presente .foto .iniciales { font-size: 11px; }
.presente.voto { opacity: 1; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.presente.voto .foto { border-color: var(--oro); }
.tira .nota { margin: 10px 0 0; font-size: 13px; }

.empatados > div { animation: subir .6s calc(.2s + var(--i) * 120ms) both; }
.empatados.duelo > div:first-child { animation: desde-izq .8s .15s cubic-bezier(.2, 1.3, .4, 1) both; }
.empatados.duelo > div:last-child { animation: desde-der .8s .15s cubic-bezier(.2, 1.3, .4, 1) both; }

.contando { display: flex; justify-content: center; margin: 10px 0 18px; }
.contando > div { width: 46px; margin-left: -10px; animation: rebote 1.1s calc(var(--i) * 110ms) ease-in-out infinite; }
.contando .foto { border: 2px solid var(--fondo); }
.contando .foto .iniciales { font-size: 15px; }
.puntos i { font-style: normal; animation: punto 1.2s infinite; }
.puntos i:nth-child(2) { animation-delay: .2s; }
.puntos i:nth-child(3) { animation-delay: .4s; }

.sala { margin-top: 34px; }
.sala h3, .final h3 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); font-weight: 500; margin: 0 0 14px; text-align: center; }
.sala-grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 14px 8px; }
.en-sala { text-align: center; opacity: .32; transition: opacity .5s; animation: subir .5s calc(var(--i) * 30ms) both; }
.en-sala .foto { width: 46px; margin: 0 auto; transition: box-shadow .4s; }
.en-sala .foto .iniciales { font-size: 15px; }
.en-sala span { display: block; font-size: 11px; color: var(--suave); margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.en-sala.conectado { opacity: 1; }
.en-sala.conectado .foto { box-shadow: 0 0 0 2px var(--oro); }

.final { padding-top: 4vh; }
.podio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; margin-top: 10px; }
.premio { animation: premio .7s calc(.5s + var(--i) * 140ms) cubic-bezier(.2, .8, .2, 1) both; }
.premio-fotos { display: flex; justify-content: center; }
.premio-fotos .foto { width: 84px; box-shadow: 0 0 0 2px var(--oro); }
.premio-fotos .foto + .foto { margin-left: -18px; }
.premio-fotos .foto .iniciales { font-size: 26px; }
.premio-cat { font-size: 12px; color: var(--suave); margin-top: 10px; line-height: 1.35; }
.premio-nombre { font-family: var(--serif); font-size: 18px; margin-top: 2px; }

.item-historial { animation: subir .5s calc(var(--i) * 70ms) both; }
.dialogo { animation: dialogo .28s cubic-bezier(.2, 1.2, .4, 1); }

@keyframes pantalla { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes palabra { from { transform: translateY(110%); } to { transform: none; } }
@keyframes frase { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }
@keyframes cuenta { 0% { opacity: 0; transform: scale(1.7); } 40% { opacity: 1; } 100% { opacity: 1; transform: scale(1); } }
@keyframes nominado { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes elegido { 0% { transform: scale(.85); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes tic { from { transform: scale(1.06); filter: brightness(1.25); } to { transform: none; filter: none; } }
@keyframes aterrizar { 0% { transform: scale(1.18); filter: brightness(1.6); } 100% { transform: scale(1); filter: none; } }
@keyframes desde-izq { from { opacity: 0; transform: translateX(-70px) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes desde-der { from { opacity: 0; transform: translateX(70px) rotate(8deg); } to { opacity: 1; transform: none; } }
@keyframes rebote { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes punto { 0%, 20% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }
@keyframes premio { from { opacity: 0; transform: translateY(24px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes dialogo { from { opacity: 0; transform: scale(.92) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sacudir { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }

@media (prefers-reduced-motion: reduce) {
  .palabra > span, .anecdota .frase, .anecdota .quien { animation: none !important; opacity: 1 !important; }
  .revelacion .nombre-ganador { visibility: visible; }
}
.final.tras-revelacion { margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--linea); }
.final.tras-revelacion .palabra > span { animation-delay: calc(6.6s + var(--i) * 70ms); }
.final.tras-revelacion .premio { animation-delay: calc(7.2s + var(--i) * 140ms); }

.arranque { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.arranque .marca-evento { font-size: 22px; margin: 0; }
