/* Fiesta Retro: base común. Colores planos y alto contraste. Solo dos tipografías: Kanit y marcador. */
@font-face { font-family: 'Kanit'; font-weight: 400; font-display: swap; src: url(fonts/kanit-400.woff2) format('woff2'); }
@font-face { font-family: 'Kanit'; font-weight: 500; font-display: swap; src: url(fonts/kanit-500.woff2) format('woff2'); }
@font-face { font-family: 'Kanit'; font-weight: 600 700; font-display: swap; src: url(fonts/kanit-700.woff2) format('woff2'); }
/* Los títulos piden peso 400 y reciben la negrita */
@font-face { font-family: 'Kanit Titulo'; font-weight: 400; font-display: swap; src: url(fonts/kanit-700.woff2) format('woff2'); }
@font-face { font-family: 'Marcador'; font-weight: 400; font-display: swap; src: url(fonts/marcador.woff2) format('woff2'); }

:root {
  --noche: #26242E; --noche-2: #1d1c24; --panel: #312e3a; --panel-2: #3b3746; --linea: #55505f;
  --magenta: #F28C28; --cian: #7CC7C4; --sol: #F6C343; --rojo: #E4572E; --papel: #F7F2E8; --tinta: #1A1920;
  --texto: #F4EBDD; --suave: #BDB5A6; --ok: #8FD694; --alerta: #FF6B5B;
  --display: 'Kanit Titulo', system-ui, sans-serif;
  --display-inline: 'Kanit Titulo', system-ui, sans-serif;
  --cuerpo: 'Kanit', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { color-scheme: dark; }
body { font-family: var(--cuerpo); background: var(--noche); color: var(--texto); line-height: 1.45; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; }

/* Títulos con un leve corrimiento de color, como una cinta gastada */
.neon-magenta, .neon-cian { color: var(--texto); text-shadow: 3px 0 0 rgba(228,87,46,.7), -2px 0 0 rgba(63,190,200,.45); }

.btn { display: flex; align-items: center; justify-content: center; gap: .6em; min-height: 60px; padding: 0 1.4rem; border: 3px solid transparent; border-radius: 10px; font-family: var(--display); font-size: 1.1rem; letter-spacing: .02em; text-decoration: none; text-align: center; cursor: pointer; transition: transform .12s ease, background .2s ease; background: none; }
.btn:active { transform: translateY(2px) scale(.99); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn-magenta { background: var(--magenta); color: var(--tinta); box-shadow: inset 0 -4px 0 rgba(0,0,0,.2); }
.btn-cian { color: var(--texto); border-color: var(--texto); }
.btn-cian:not([disabled]):hover { background: rgba(244,235,221,.1); }
.btn-suave { background: var(--panel); border-color: var(--linea); color: var(--texto); font-family: var(--cuerpo); font-weight: 600; font-size: 1rem; min-height: 48px; }
.btn-suave:hover { border-color: var(--suave); }

/* Estado, como el indicador de una videocasetera */
.chip { display: inline-flex; align-items: center; gap: .6em; padding: .25em .9em; border-radius: 6px; background: rgba(0,0,0,.28); color: var(--alerta); border: 1px solid rgba(255,107,91,.45); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.chip::before { content: ""; width: .7em; height: .7em; border-radius: 50%; background: currentColor; animation: titilar 1.2s steps(1, end) infinite; }
.chip.pausa { color: var(--sol); border-color: rgba(246,195,67,.45); }
.chip.pausa::before { width: .65em; height: .75em; border-radius: 0; animation: none; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.chip.cerrado { color: var(--texto); border-color: var(--linea); }
.chip.cerrado::before { border-radius: 2px; animation: none; }
@keyframes titilar { 50% { opacity: 0; } }

/* Cassette chico para los celulares (cuando no hay fotos) */
.mini-casete { width: min(100%, 260px); height: auto; margin: 0 auto; }
.mini-casete .eje { transform-box: fill-box; transform-origin: center; animation: carrete 3s linear infinite; }
.mini-casete.rebobina .eje { animation: carrete .5s linear infinite reverse; }
.mini-casete.parado .eje { animation: none; }
@keyframes carrete { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.fase[hidden] { display: none; }
.aviso-sorteo { background: color-mix(in srgb, var(--c, #B08CD9) 14%, transparent); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; font-size: .92rem; }
