/* 🎄 Jako's Choice Awards 2026: votaciones del convivio (temporal) */
@font-face { font-family: 'Cinzel'; src: url('/fonts/cinzel-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/fonts/jost-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/fonts/jost-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/fonts/jost-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
  --bg: #07110d; --bg2: #0c1c15; --panel: #10241b; --panel2: #163126; --line: rgba(245, 215, 122, .18);
  --red: #d42a3c; --red2: #8f1424; --green: #1f8a56; --green2: #0f4d31; --gold: #e9c46a; --gold2: #f8e3a1; --gold3: #b8892b;
  --text: #f6f1e4; --muted: #b9c2b8; --ok: #49d18b; --danger: #ff6b6b;
  --radius: 16px; --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; font: 16px/1.45 'Jost', system-ui, sans-serif; color: var(--text);
  background: radial-gradient(1200px 600px at 50% -200px, #1b3a2b 0%, transparent 70%),
    radial-gradient(800px 500px at 110% 30%, rgba(143, 20, 36, .35), transparent 70%),
    radial-gradient(700px 500px at -10% 70%, rgba(15, 77, 49, .45), transparent 70%), var(--bg);
  background-attachment: fixed;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Nieve */
#nieve { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .6; }
.app { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 0 16px 48px; }

/* Luces navideñas */
.luces { display: flex; justify-content: space-between; gap: 6px; padding: 0 6px; height: 22px; overflow: hidden;
  background: linear-gradient(transparent 6px, rgba(255, 255, 255, .12) 6px 7px, transparent 7px); }
.luces i { width: 10px; height: 14px; margin-top: 7px; border-radius: 50% 50% 45% 45%; background: var(--red);
  box-shadow: 0 0 10px 2px currentColor; color: var(--red); animation: brillo 1.6s ease-in-out infinite alternate; }
.luces i:nth-child(3n+2) { background: var(--gold); color: var(--gold); animation-delay: .5s; }
.luces i:nth-child(3n) { background: var(--ok); color: var(--ok); animation-delay: 1s; }
@keyframes brillo { from { opacity: .35; box-shadow: 0 0 2px 0 currentColor; } to { opacity: 1; } }

/* Encabezado */
.cabecera { text-align: center; padding: 18px 0 8px; }
.marca { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; letter-spacing: .04em; text-decoration: none; }
.marca img { width: 30px; height: 34px; }
img[src*="logo-jakos"] { filter: invert(84%) sepia(38%) saturate(640%) hue-rotate(354deg) brightness(97%) drop-shadow(0 0 6px rgba(233, 196, 106, .45)); }
.titulo { margin: 6px 0 2px; font: 700 clamp(28px, 8vw, 50px)/1.05 'Cinzel', serif; letter-spacing: .02em;
  background: linear-gradient(100deg, var(--gold3), var(--gold2) 30%, var(--gold) 50%, #fff6d6 60%, var(--gold3) 90%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: oro 6s linear infinite;
  filter: drop-shadow(0 2px 10px rgba(233, 196, 106, .25)); }
.titulo small { display: block; font-size: .5em; letter-spacing: .3em; }
@keyframes oro { to { background-position: -200% 0; } }
.sub { margin: 0; color: var(--muted); }

/* Paneles y formularios */
.panel { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); }
.acceso { max-width: 440px; margin: 18px auto 0; }
.pestanas { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, .3); margin-bottom: 16px; }
.pestanas button { border: 0; padding: 10px; border-radius: 9px; background: none; font-weight: 500; color: var(--muted); }
.pestanas button[aria-selected="true"] { background: var(--gold); color: #1b1405; }
.campo { display: grid; gap: 6px; margin-bottom: 14px; }
.campo label { font-weight: 500; font-size: 15px; }
.campo small { color: var(--muted); font-size: 13px; }
.input { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .35);
  font-size: 17px; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233, 196, 106, .25); }
.input.pin { letter-spacing: .6em; text-align: center; font-size: 24px; font-weight: 700; }
textarea.input { min-height: 110px; resize: vertical; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 18px; border-radius: 12px;
  border: 1px solid transparent; font-weight: 700; text-decoration: none; transition: transform .15s, filter .15s, opacity .15s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-oro { background: linear-gradient(180deg, var(--gold2), var(--gold) 45%, var(--gold3)); color: #1b1405; box-shadow: 0 4px 16px rgba(233, 196, 106, .3); }
.btn-rojo { background: linear-gradient(180deg, #e8475a, var(--red) 50%, var(--red2)); color: #fff; }
.btn-verde { background: linear-gradient(180deg, #2fae6f, var(--green) 50%, var(--green2)); color: #fff; }
.btn-linea { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .18); color: var(--text); }
.btn-chico { min-height: 38px; padding: 7px 12px; font-size: 14px; font-weight: 500; border-radius: 10px; }
.btn-bloque { width: 100%; }
.error { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 107, 107, .12); border: 1px solid rgba(255, 107, 107, .4); color: #ffd1d1; font-size: 15px; }
.aviso { margin: 14px 0; padding: 12px 14px; border-radius: 12px; background: rgba(212, 42, 60, .16); border: 1px solid rgba(212, 42, 60, .5); text-align: center; font-weight: 500; }

/* Barra de progreso */
.progreso { position: sticky; top: 0; z-index: 5; margin: 14px -16px 6px; padding: 12px 16px; backdrop-filter: blur(10px);
  background: rgba(7, 17, 13, .78); border-bottom: 1px solid var(--line); }
.progreso-fila { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.progreso-fila strong { font-size: 15px; }
.barra { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.barra > i { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .8s cubic-bezier(.2, .8, .2, 1);
  background: linear-gradient(90deg, var(--red), var(--gold) 55%, var(--ok)); box-shadow: 0 0 12px rgba(233, 196, 106, .5); }
.enlace { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 6px; font-size: 14px; }

/* Secciones */
.seccion { margin-top: 26px; }
.seccion > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font: 700 22px/1.2 'Cinzel', serif; color: var(--gold2); }
.seccion > p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.grupo { margin: 18px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 10px; }
.grupo::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.cartas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .cartas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cartas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Carta TCG con borde foil */
.carta { position: relative; perspective: 900px; aspect-ratio: 5 / 7; border: 0; padding: 0; background: none; text-align: left; }
.carta-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, 1.4, .5, 1); }
.carta.votada .carta-in { transform: rotateY(180deg); }
.cara { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 14px; padding: 3px;
  background: conic-gradient(from var(--ang), var(--gold3), var(--gold2), var(--red), var(--gold), var(--ok), var(--gold2), var(--gold3));
  animation: foil 5s linear infinite; box-shadow: var(--shadow); }
@keyframes foil { to { --ang: 360deg; } }
.cara-in { position: relative; height: 100%; border-radius: 11px; overflow: hidden; display: flex; flex-direction: column; padding: 10px;
  background: linear-gradient(160deg, #1d4433, var(--panel) 45%, #0b1a13); }
.cara-in::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: .35;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 45%, transparent 60%); background-size: 250% 100%; animation: brilloFoil 4.5s ease-in-out infinite; }
@keyframes brilloFoil { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }
.carta-arte { flex: 1; display: grid; place-items: center; font-size: clamp(42px, 13vw, 64px); border-radius: 8px; margin-bottom: 8px;
  background: radial-gradient(circle at 50% 40%, rgba(233, 196, 106, .25), transparent 65%), rgba(0, 0, 0, .25); border: 1px solid rgba(233, 196, 106, .25); }
.carta-titulo { font: 700 14px/1.2 'Cinzel', serif; color: var(--gold2); margin-bottom: 4px; }
.carta-desc { font-size: 12px; line-height: 1.3; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.carta-pie { margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--gold); display: flex; justify-content: space-between; }
.carta.encuesta .cara { background: conic-gradient(from var(--ang), var(--green2), var(--ok), var(--gold), var(--green), var(--green2)); }
.carta.encuesta .cara-in { background: linear-gradient(160deg, #23412f, #11281c 50%, #0a1811); }
.carta.encuesta .carta-titulo { font-family: 'Jost', sans-serif; font-weight: 700; font-size: 14px; color: var(--text); }
.carta.encuesta .carta-arte { flex: 0 0 34%; font-size: clamp(30px, 9vw, 46px); }
.carta:not(.votada):not(.bloqueada) .cara { transition: transform .2s; }
.carta:not(.votada):not(.bloqueada):hover .cara.frente { transform: translateY(-3px); }
.carta.bloqueada { cursor: default; }
.carta.bloqueada .cara.frente { filter: grayscale(.7) brightness(.7); }
.cara.atras { transform: rotateY(180deg); background: conic-gradient(from var(--ang), var(--ok), var(--gold2), var(--ok), var(--green), var(--ok)); }
.cara.atras .cara-in { align-items: center; justify-content: center; text-align: center; gap: 8px;
  background: radial-gradient(circle at 50% 35%, rgba(73, 209, 139, .28), transparent 60%), linear-gradient(160deg, #143726, #0a1811); }
.check { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 700; color: #06210f;
  background: var(--ok); box-shadow: 0 0 22px rgba(73, 209, 139, .7); }
.carta.votada.recien .check { animation: pop .6s .45s both cubic-bezier(.3, 1.8, .5, 1); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.votado { font-weight: 700; color: var(--ok); }
.tu-voto { font-size: 12px; color: var(--muted); word-break: break-word; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Hoja para votar (dialog) */
dialog.hoja { width: min(560px, 100%); max-height: 92vh; margin: auto auto 0; padding: 0; border: 1px solid var(--line); border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, #17352a, #0d1f17); color: var(--text); box-shadow: 0 -10px 40px rgba(0, 0, 0, .6); }
@media (min-width: 640px) { dialog.hoja { margin: auto; border-radius: 22px; } }
dialog.hoja[open] { animation: subir .35s cubic-bezier(.2, .9, .3, 1); }
@keyframes subir { from { transform: translateY(40px); opacity: 0; } }
dialog::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(3px); }
.hoja-cab { position: sticky; top: 0; z-index: 1; display: flex; gap: 12px; align-items: flex-start; padding: 16px 16px 12px; background: inherit; border-bottom: 1px solid var(--line); }
.hoja-cab .emoji { font-size: 34px; line-height: 1; }
.hoja-cab h3 { margin: 0; font: 700 19px/1.2 'Cinzel', serif; color: var(--gold2); }
.hoja-cab p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.cerrar { margin-left: auto; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .25); font-size: 20px; line-height: 1; }
.hoja-cuerpo { padding: 14px 16px; overflow: auto; max-height: calc(92vh - 170px); }
.hoja-pie { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.opciones { display: grid; gap: 10px; }
.opcion { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 12px; border-radius: 14px; text-align: left;
  border: 2px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .25); font-size: 16px; font-weight: 500; transition: border-color .15s, background .15s, transform .15s; }
.opcion:active { transform: scale(.99); }
.opcion[aria-checked="true"] { border-color: var(--gold); background: rgba(233, 196, 106, .14); }
.opcion .marca-op { margin-left: auto; width: 24px; height: 24px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); display: grid; place-items: center; font-size: 14px; }
.opcion[aria-checked="true"] .marca-op { background: var(--gold); border-color: var(--gold); color: #1b1405; }
.opcion[aria-checked="true"] .marca-op::before { content: '✓'; font-weight: 700; }
.avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-weight: 700; font-size: 18px;
  background: linear-gradient(135deg, var(--red), var(--gold3)); color: #fff; border: 2px solid rgba(233, 196, 106, .6); }
.nota { font-size: 13px; color: var(--muted); text-align: center; margin: 8px 0 0; }
.vacio { text-align: center; padding: 24px 8px; color: var(--muted); }

/* Mensaje flotante */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 12px; background: #0b1a13; border: 1px solid var(--gold); box-shadow: var(--shadow); font-weight: 500; transition: .3s; max-width: calc(100% - 32px); }
.toast.ver { opacity: 1; transform: translate(-50%, 0); }

.pie { margin-top: 36px; text-align: center; color: var(--muted); font-size: 13px; }

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

/* Confeti */
canvas.confeti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; }

/* ---------- Panel de administración ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 12px; }
.tile { display: grid; gap: 2px; padding: 14px 10px; text-align: center; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.tile-num { font: 700 28px/1 'Cinzel', serif; color: var(--gold2); }
.tile-lbl { font-size: 13px; color: var(--muted); }
.control { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.acciones { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 56px; height: 32px; flex: none; border-radius: 99px; background: var(--red2); position: relative; transition: background .2s; border: 1px solid rgba(255, 255, 255, .2); }
.switch-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + .switch-ui { background: var(--green); }
.switch input:checked + .switch-ui::after { transform: translateX(24px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--gold); outline-offset: 2px; }
.switch strong { display: block; }
.switch small { color: var(--muted); font-size: 13px; }
.pestanas-3 { grid-template-columns: repeat(3, 1fr); max-width: 520px; }
.titulo-sec { margin: 24px 0 10px; font: 700 20px/1.2 'Cinzel', serif; color: var(--gold2); }
.res { margin-bottom: 12px; padding: 14px; }
.res-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.res-cab h3 { margin: 0; font-size: 17px; }
.res-cab small { color: var(--muted); font-size: 13px; }
.res-cab .btn { margin-left: auto; }
.res-emoji { font-size: 30px; line-height: 1; }
.barras { display: grid; gap: 10px; }
.fila-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 15px; }
.fila-nombre { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fila-num { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 14px; }
.fila-barra .barra > i { background: linear-gradient(90deg, var(--green2), var(--green)); box-shadow: none; }
.fila-barra.gana .barra > i { background: linear-gradient(90deg, var(--gold3), var(--gold2)); box-shadow: 0 0 10px rgba(233, 196, 106, .5); }
.fila-barra.gana .fila-nombre { color: var(--gold2); font-weight: 700; }
.avatar.mini { width: 34px; height: 34px; font-size: 13px; border-width: 1px; }
.vacio-av { background: rgba(255, 255, 255, .08); color: var(--muted); }
.abiertas { margin-top: 10px; }
.abiertas summary { cursor: pointer; color: var(--gold); font-weight: 500; padding: 4px 0; }
.abiertas ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.abiertas small { color: var(--muted); }
.lista { list-style: none; margin: 0; padding: 0; }
.lista > li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.lista > li:last-child { border-bottom: 0; }
.lista small { color: var(--muted); }
.lista.panel { padding: 4px 14px; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: 13px; font-weight: 500; background: rgba(233, 196, 106, .14); color: var(--gold2); max-width: 100%; word-break: break-word; }
.chip.est-completo { background: rgba(73, 209, 139, .16); color: var(--ok); }
.chip.est-parcial { background: rgba(233, 196, 106, .16); color: var(--gold2); }
.chip.est-sin { background: rgba(255, 255, 255, .08); color: var(--muted); }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.chip-btn { border: 1px solid rgba(255, 255, 255, .18); background: none; border-radius: 99px; padding: 7px 12px; font-size: 14px; }
.chip-btn[aria-pressed="true"] { background: var(--gold); color: #1b1405; border-color: var(--gold); font-weight: 700; }
.buscar { margin-top: 4px; }
.nom { display: flex; align-items: center; gap: 10px; }
.form-nom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; margin-top: 8px; }
.form-nom .input { flex: 1 1 180px; padding: 10px 12px; font-size: 16px; }
.form-nom .input.pin { flex: 0 1 120px; font-size: 20px; }
.peligro { color: #ffb3b3; border-color: rgba(255, 107, 107, .4); }
.caja { margin: 16px 0; padding: 14px; }
.nota.izq { text-align: left; }
.qr { display: grid; gap: 14px; justify-items: center; }
.qr img { width: min(320px, 100%); background: #fff; border-radius: 12px; padding: 8px; }
.admin dialog.hoja .hoja-cuerpo { max-height: calc(92vh - 90px); }
.admin .titulo { font-size: clamp(26px, 6vw, 40px); }

/* ---------- Ceremonia (pantalla para proyectar) ---------- */
body.ceremonia { overflow: hidden; height: 100vh; display: flex; flex-direction: column; }
.barra-cer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; color: var(--muted); }
.barra-cer .marca img { width: 22px; height: 24px; }
.contador { font-weight: 700; color: var(--gold); letter-spacing: .1em; }
.escenario { position: relative; z-index: 1; flex: 1; min-height: 0; display: grid; place-items: center; padding: 8px 24px; text-align: center; overflow: hidden; }
.escenario.entra > * { animation: entrar .6s cubic-bezier(.2, .9, .3, 1); }
@keyframes entrar { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.nav-cer { position: relative; z-index: 2; display: flex; justify-content: center; gap: 12px; padding: 12px 16px 18px; }
.nav-cer .revelar { min-width: 260px; font-size: 20px; }
.portada .logo-grande { width: min(160px, 22vh); animation: flotar 4s ease-in-out infinite; }
@keyframes flotar { 50% { transform: translateY(-10px); } }
.titulo.enorme { font-size: clamp(40px, 8vw, 110px); }
.anio { margin: 0; font: 700 clamp(30px, 5vw, 70px)/1 'Cinzel', serif; letter-spacing: .4em; color: var(--red); text-shadow: 0 0 24px rgba(212, 42, 60, .6); }
.grupo-cer { margin: 0; font-size: clamp(14px, 1.6vw, 22px); font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.emoji-cer { font-size: clamp(40px, 8vh, 110px); line-height: 1.1; filter: drop-shadow(0 0 20px rgba(233, 196, 106, .5)); }
.categoria-cer .titulo { margin: 0; font-size: clamp(30px, min(6vw, 9vh), 80px); }
.categoria-cer .sub, .portada .sub, .resumen .sub { font-size: clamp(16px, 2vw, 26px); }
.nominados { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 2vw, 28px); margin: clamp(12px, 3vh, 32px) auto 8px; max-width: 1400px; }
.nominado { width: clamp(100px, min(15vw, 22vh), 220px); aspect-ratio: 5 / 7; perspective: 1000px; transition: transform .5s, opacity .5s, filter .5s; }
.nominados.n5 .nominado, .nominados.n6 .nominado { width: clamp(100px, min(13vw, 22vh), 190px); }
.nominado-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.3, 1.3, .5, 1); }
.nominado.boca-abajo .nominado-in { transform: rotateY(180deg); }
.nominado .cara-in { align-items: center; justify-content: center; gap: 12px; padding: 12px; }
.avatar.grande { width: 70%; height: auto; aspect-ratio: 1; font-size: clamp(28px, 4vw, 56px); border-width: 3px; }
.nominado-nombre { font: 700 clamp(15px, 1.7vw, 24px)/1.15 'Cinzel', serif; color: var(--gold2); word-break: break-word; }
.dorso { background: repeating-linear-gradient(45deg, #5d0f1a 0 12px, #7a1422 12px 24px) !important; }
.dorso img { width: 45%; }
.dorso span { font: 700 clamp(12px, 1.3vw, 18px) 'Cinzel', serif; letter-spacing: .25em; color: var(--gold2); }
.nominado.suspenso { animation: temblar .18s ease-in-out infinite alternate; }
.nominado.suspenso .cara { box-shadow: 0 0 30px rgba(233, 196, 106, .7); }
@keyframes temblar { from { transform: rotate(-1.5deg) translateY(-2px); } to { transform: rotate(1.5deg) translateY(2px); } }
.nominado.ganador { transform: scale(1.18); z-index: 2; }
.nominado.ganador .cara.frente { box-shadow: 0 0 40px 8px rgba(233, 196, 106, .75), 0 0 90px 20px rgba(212, 42, 60, .35); }
.nominado.pierde { opacity: .35; filter: grayscale(.8); transform: scale(.92); }
.anuncio { min-height: clamp(56px, 10vh, 120px); display: grid; place-items: center; gap: 2px; margin-top: clamp(8px, 2.5vh, 30px); }
.categoria-cer .sub { margin: 4px 0 0; }
.gana-lbl { font-size: clamp(14px, min(2vw, 3vh), 28px); font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--red); text-shadow: 0 0 16px rgba(212, 42, 60, .6); }
.gana-nombre { font: 700 clamp(24px, min(5vw, 7vh), 72px)/1.1 'Cinzel', serif; color: var(--gold2); text-shadow: 0 0 30px rgba(233, 196, 106, .6); animation: pop .6s cubic-bezier(.3, 1.8, .5, 1); }
.suspenso-txt { animation: brillo .6s ease-in-out infinite alternate; color: var(--gold); }
.resumen { width: min(1300px, 100%); }
.grid-ganadores { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin: 20px 0; text-align: left; }
.ganador-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); }
.ganador-item small { display: block; color: var(--muted); font-size: 14px; }
.ganador-item strong { display: block; font: 700 clamp(16px, 1.6vw, 22px)/1.2 'Cinzel', serif; color: var(--gold2); }
.ganador-item .avatar { margin-left: auto; }
@media (max-width: 640px) { .barra-cer .marca, #pantalla { display: none; } .nav-cer .revelar { min-width: 0; flex: 1; font-size: 16px; } }
textarea.input.comentario { min-height: 80px; }
.opciones > .nota.izq { margin: 6px 0 -4px; }
.grupo-cer.finalistas { margin-top: clamp(8px, 2vh, 20px); font-size: clamp(12px, 1.2vw, 16px); color: var(--muted); }
