/* ============================================================
   LIVE DRAW — Vista sorteo en vivo (modo proyección)
   Optimizado para pantalla grande / salón con 1000+ personas
   ============================================================ */

/* ── Layout principal ── */
.live-draw {
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background: var(--bb-gray-darker);
  position: relative;
  overflow: hidden;
}

/* Gradiente cálido central - color cobre/bronce */
.live-draw::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(186,157,121,.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(186,157,121,.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Header ── */
.live-header {
  text-align: center;
  padding: clamp(1.2rem, 3vh, 2.5rem) 2rem clamp(.6rem, 1.5vh, 1.2rem);
  position: relative;
  z-index: 1;
}

.live-header .brand-title {
  font-family: var(--font-heading);
  font-size: clamp(.9rem, 1.6vw, 1.5rem);
  font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.live-header .sorteo-nombre {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 3rem);
  font-weight: 700;
  color: rgba(255,255,255,.92);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-top: .2rem;
}

.live-header .sorteo-subtitulo {
  font-size: clamp(.75rem, 1.2vw, 1rem);
  color: rgba(255,255,255,.3);
  margin-top: .3rem;
}

/* ── Semilla visible (transparencia/auditabilidad) ── */
.semilla-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  padding: .2rem .75rem;
  border-radius: 50px;
  color: rgba(255,255,255,.4);
  font-family: monospace;
  font-size: clamp(.65rem, .85vw, .78rem);
}

.semilla-badge .semilla-label {
  color: rgba(255,255,255,.15);
  font-style: normal;
}

/* ── Premio actual ── */
.live-premio-actual {
  text-align: center;
  padding: clamp(.5rem, 1.5vh, 1rem) 2rem clamp(.3rem, 1vh, .6rem);
  position: relative;
  z-index: 1;
}

.premio-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(186,157,121,.1);
  border: 1px solid rgba(186,157,121,.2);
  padding: .32rem 1rem;
  border-radius: 50px;
  color: var(--bb-bronze-light);
  font-weight: 500;
  font-size: clamp(.72rem, 1.15vw, .92rem);
}

.premio-nombre {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.2vw, 2.1rem);
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin-top: 0;
  letter-spacing: -.02em;
  line-height: 1.2;
}

/* ── Zona del slot ── */
.slot-zone {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: clamp(.8rem, 2vh, 1.5rem) clamp(1rem, 4vw, 4rem);
  min-height: 0;
}

.slot-container {
  width: 100%;
  max-width: min(90vw, 1400px);
  flex: 1 1 auto;
  min-height: 240px;
  max-height: 720px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.022);
  border: 1px solid rgba(255,255,255,.05);
}

/* Máscaras de desvanecimiento superior e inferior */
.slot-container::before,
.slot-container::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(60px, 22%, 130px);
  z-index: 2;
  pointer-events: none;
}

.slot-container::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bb-gray-darker) 10%, transparent 100%);
}

.slot-container::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bb-gray-darker) 10%, transparent 100%);
}

/* Indicador central (celda activa) */
.slot-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
  height: var(--slot-item-h, 90px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(186,157,121,.18);
  background: rgba(186,157,121,.04);
  z-index: 3;
  pointer-events: none;
}

/* ── Reel ── */
.slot-reel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slot-reel.stopping {
  transition: top 2.6s cubic-bezier(.2, 1, .3, 1);
}

/* ── Ítem del slot ── */
.slot-item {
  width: calc(100% - 2rem);
  height: var(--slot-item-h, 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-align: center;
  padding: 0 1rem;
}

.slot-name {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3.3vw, 3.9rem);
  font-weight: 700;
  color: rgba(255,255,255,.78);
  letter-spacing: -.02em;
  line-height: 1.15;
}

.slot-empresa {
  font-size: clamp(.85rem, 1.4vw, 1.35rem);
  font-weight: 400;
  color: rgba(255,255,255,.38);
  margin-top: .15rem;
}

/* ── Revelación del ganador ── */
.winner-reveal {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(90vw, 1400px);
  padding: clamp(1rem, 2.5vh, 2rem) clamp(1.2rem, 4vw, 3.5rem);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.028);
  border: 1px solid rgba(186,157,121,.1);
  text-align: center;
  gap: clamp(.2rem, .6vh, .5rem);
}

.winner-reveal.show {
  display: flex;
  animation: winnerBurst .42s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes winnerBurst {
  0%   { opacity: 0; transform: scale(.55); }
  65%  { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

/* Flash gold overlay */
@keyframes flashFade {
  0%   { opacity: 1; }
  30%  { opacity: .85; }
  100% { opacity: 0; }
}

/* Nombre del ganador: glow pulse al revelar */
@keyframes nameGlow {
  0%   { text-shadow: 0 2px 40px rgba(186,157,121,.3); }
  20%  { text-shadow: 0 0 70px rgba(212,184,150,1), 0 0 140px rgba(186,157,121,.7); }
  60%  { text-shadow: 0 0 50px rgba(212,184,150,.55), 0 0 90px rgba(186,157,121,.35); }
  100% { text-shadow: 0 2px 40px rgba(186,157,121,.3); }
}

.winner-name.glow-pulse {
  animation: nameGlow 2.2s ease-out both;
}

.winner-label {
  font-size: clamp(.8rem, 1.2vw, 1.1rem);
  font-weight: 600;
  color: var(--bb-bronze-light);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: clamp(.3rem, .8vh, .6rem);
}

.winner-name {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6.2vw, 7rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: .15rem;
  text-shadow: 0 2px 40px rgba(186,157,121,.3);
  max-width: 100%;
  word-break: break-word;
}

.winner-company {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.4vw, 2.7rem);
  color: rgba(255,255,255,.45);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.15;
}

.winner-cupones {
  font-size: clamp(.85rem, 1.3vw, 1.2rem);
  color: rgba(255,255,255,.18);
  margin-top: .25rem;
}

.winner-premio {
  margin-top: clamp(.5rem, 1.2vh, 1rem);
  padding: .55rem 1.8rem;
  background: rgba(186,157,121,.08);
  border: 1px solid rgba(186,157,121,.16);
  border-radius: 50px;
  color: var(--bb-sand);
  font-weight: 500;
  font-size: clamp(.95rem, 1.5vw, 1.35rem);
  max-width: 100%;
}

/* ── Countdown (3-2-1 antes de revelar) ── */
.countdown-overlay {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background: rgba(26,26,26,.7);
  border-radius: var(--radius-xl);
}

.countdown-overlay.show {
  display: flex;
}

.countdown-number {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 20vw, 18rem);
  font-weight: 800;
  color: var(--bb-bronze);
  line-height: 1;
  animation: countPulse .85s ease-out;
  text-shadow: 0 0 80px rgba(186,157,121,.6);
}

@keyframes countPulse {
  0%   { transform: scale(1.4); opacity: 0; }
  30%  { transform: scale(1);   opacity: 1; }
  80%  { transform: scale(1);   opacity: 1; }
  100% { transform: scale(.8);  opacity: 0; }
}

/* ── Controles (dentro de live-col-slot) ── */
.live-controls {
  flex: 0 0 auto;
  padding: clamp(.3rem, .6vh, .55rem) 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .8rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.btn-live {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(.85rem, 1.3vw, 1rem);
  padding: .65rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all .18s ease;
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-live:active  { transform: scale(.96); }
.btn-live:disabled { opacity: .3; cursor: not-allowed; }

.btn-sortear {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}
.btn-sortear:hover:not(:disabled) {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.2);
}

.btn-detener {
  background: var(--bb-bronze);
  color: var(--bb-gray-darker);
  font-weight: 700;
}
.btn-detener:hover:not(:disabled) {
  background: var(--bb-bronze-light);
}

.btn-siguiente {
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.08);
}
.btn-siguiente:hover:not(:disabled) {
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* ── Botón fullscreen ── */
.btn-fullscreen {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.28);
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}
.btn-fullscreen:hover {
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.6);
  border-color: rgba(255,255,255,.12);
}

/* ── Link a detalle ── */
.btn-detalle-link {
  position: absolute;
  top: 1.2rem;
  right: 4rem;
  z-index: 10;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  padding: .35rem .9rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.28);
  cursor: pointer;
  transition: all .2s;
}
.btn-detalle-link:hover {
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.08);
}

/* ── Progreso compacto (dentro de live-col-slot) ── */
.live-progress {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 2rem clamp(.3rem, .6vh, .6rem);
  text-align: center;
}

.progress-text {
  font-size: clamp(.62rem, .85vw, .74rem);
  color: rgba(255,255,255,.22);
  margin-bottom: .25rem;
}

.progress-bar-wrap {
  height: 2px;
  background: rgba(255,255,255,.05);
  border-radius: 2px;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--bb-bronze-dark), var(--bb-bronze-light));
  border-radius: 2px;
  transition: width .6s ease;
}

/* ── Mini ganadores — scroll vertical cuando hay muchos ganadores ── */
.live-ganadores-mini {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(186,157,121,.35) transparent;
}

.live-ganadores-mini::-webkit-scrollbar {
  width: 3px;
}

.live-ganadores-mini::-webkit-scrollbar-track {
  background: transparent;
}

.live-ganadores-mini::-webkit-scrollbar-thumb {
  background: rgba(186,157,121,.35);
  border-radius: 2px;
}

.mini-ganador {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .2rem 0;
  font-size: clamp(.78rem, 1.1vw, .95rem);
  color: rgba(255,255,255,.45);
  animation: miniSlide .3s ease;
}

@keyframes miniSlide {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mini-pos {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(186,157,121,.12);
  border: 1px solid rgba(186,157,121,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: rgba(186,157,121,.9);
  flex-shrink: 0;
}

/* ── Responsive (legacy) ── */
@media (max-width: 768px) {
  .live-header .sorteo-nombre { font-size: clamp(1.2rem, 5vw, 2rem); }
  .slot-item { height: 70px; }
  .slot-container { height: clamp(160px, 40vh, 280px); }
  .winner-name { font-size: clamp(2rem, 10vw, 4rem); }
  .live-ganadores-mini { display: none; }
  .btn-detalle-link { right: 1rem; top: auto; bottom: 4rem; }
  .btn-fullscreen { right: 1rem; top: 1rem; }
}

/* ═══════════════════════════════════════════════════════
   REDISEÑO PROYECCIÓN — Jerarquía visual mejorada
   ═══════════════════════════════════════════════════════ */

/* ── Top bar compacto (horizontal) ── */
.live-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 1.5rem;
  position: relative;
  z-index: 5;
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  flex-shrink: 0;
}

/* Izquierda: mismo ancho que la derecha para centrar el título */
.live-topbar-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.topbar-logo-img {
  height: clamp(54px, 7.5vh, 96px);
  width: auto;
  object-fit: contain;
}

/* Centro: nombre sorteo + semilla apilados */
.live-topbar-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  min-width: 0;
}

.live-sorteo-title {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  font-weight: 700;
  color: rgba(255,255,255,.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-align: center;
}

.live-topbar-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
}

.live-subtitulo {
  font-size: clamp(.6rem, .85vw, .75rem);
  color: rgba(255,255,255,.2);
  white-space: nowrap;
  margin-right: .3rem;
}

/* Botones dentro del topbar: sin posición absoluta */
.live-topbar .btn-fullscreen,
.live-topbar .btn-detalle-link {
  position: static;
  top: auto;
  right: auto;
}

/* ── Premio actual (dentro de live-col-slot): badge+nombre arriba, imagen debajo ── */
.live-premio-actual {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(.35rem, .8vh, .65rem);
  padding: clamp(.3rem, .6vh, .5rem) 1rem;
  position: relative;
  z-index: 1;
}

.premio-img {
  height: clamp(72px, 11vh, 145px);
  width: auto;
  max-width: clamp(120px, 18vw, 230px);
  object-fit: contain;
  border-radius: 8px;
  opacity: .88;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.4));
  flex-shrink: 0;
}

.premio-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(.6rem, 1.2vw, 1rem);
  flex-wrap: wrap;
  min-width: 0;
}

/* ── Mini-ganadores: nombre + empresa ── */
.mini-ganador-info {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
  flex: 1;
}

.mini-ganador-nombre {
  font-size: clamp(.82rem, 1.1vw, 1rem);
  color: rgba(255,255,255,.88);
  font-weight: 600;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.mini-ganador-empresa {
  font-size: clamp(.68rem, .9vw, .8rem);
  color: rgba(255,255,255,.5);
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ── Bottom combinado: admin (izq) + controles (centro) + progreso (der) ── */
.live-bottom {
  position: relative;
  z-index: 1;
  padding: 0 1.2rem clamp(.6rem, 1.5vh, 1rem);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.live-bottom .live-controls {
  flex-shrink: 0;
  padding: clamp(.3rem, .6vh, .55rem) 0;
}

.live-bottom .live-progress {
  flex: 1;
  padding: 0;
  text-align: right;
  min-width: 0;
}

/* Botón detener más prominente (CTA principal) */
.btn-detener {
  font-size: clamp(.95rem, 1.5vw, 1.2rem) !important;
  padding: .75rem 3.5rem !important;
  letter-spacing: .05em;
  box-shadow: 0 4px 20px rgba(186,157,121,.35);
}

.btn-detener:hover:not(:disabled) {
  box-shadow: 0 6px 28px rgba(186,157,121,.5);
  transform: translateY(-1px);
}

/* Reel: fuente levemente más compacta para mostrar más items */
.slot-name {
  font-size: clamp(1.55rem, 3.3vw, 3.9rem);
}

/* ── Responsive topbar ── */
@media (max-width: 900px) {
  .live-topbar { flex-wrap: wrap; padding: .5rem 1rem; }
  .live-subtitulo { display: none; }
  .live-sorteo-title { font-size: .9rem; }
}

@media (max-width: 600px) {
  .live-premio-actual { flex-direction: column; gap: .5rem; }
  .premio-img { height: 70px; }
  .live-ganadores-card { display: none; }
  .btn-detener { padding: .65rem 2rem !important; font-size: .95rem !important; }
}

/* ── Layout fila principal: lateral | slot | lateral ── */
.live-main-row {
  flex: 1;
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 1;
  padding: .3rem 1rem .7rem;
  gap: 1rem;
  min-height: 0;
  overflow: hidden;
}

/* Columnas laterales (más delgadas: ~12%) para dar más ancho al slot */
.live-col-lateral {
  flex: 0 0 clamp(160px, 12%, 220px);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-height: 0;
  min-width: 0;
}

/* Izquierda: ganadores (crece) + admin (tamaño contenido) */
.live-col-left .live-ganadores-card {
  flex: 1 1 auto;
  min-height: 0;
}

.live-col-left .admin-panel {
  flex: 0 0 auto;
}

/* Derecha: marcas ocupa todo el alto */
.live-col-right .marcas-panel {
  flex: 1 1 auto;
  min-height: 0;
}

/* Columna central (col-8 de 12 ≈ 66.67%): premio + slot + controles + progress */
.live-col-slot {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

/* ── Card ganadores ── */
.live-ganadores-card {
  flex: 1;
  min-height: 0;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: .7rem .85rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.live-ganadores-card-titulo {
  font-size: clamp(.72rem, 1vw, .88rem);
  font-weight: 700;
  color: rgba(186,157,121,.75);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .7rem;
}

/* ── Panel de marcas ── */
.marcas-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  background: rgba(255,255,255,.022);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius-xl);
  padding: .75rem .65rem;
  overflow: hidden;
}

.marcas-titulo {
  flex-shrink: 0;
  font-size: clamp(.68rem, .9vw, .82rem);
  color: rgba(255,255,255,.5);
  text-align: center;
  line-height: 1.45;
  font-weight: 500;
}

.marcas-lista {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .55rem;
  min-height: 0;
}

.marca-item {
  flex: 0 1 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  min-height: 0;
  padding: .55rem .9rem;
  overflow: hidden;
}

.marca-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Ajuste fino por marca según proporción visual del logo */
.marca-item .dub-img       { max-width: 78%; max-height: 80%; }
.marca-item .viajante-img  { max-width: 92%; max-height: 62%; }
.marca-item .cocodinus-img { max-width: 86%; max-height: 84%; }
.marca-item .incode-img    { max-width: 52%; max-height: 90%; }

.marcas-footer {
  flex-shrink: 0;
  font-size: clamp(.62rem, .8vw, .72rem);
  color: rgba(255,255,255,.3);
  text-align: center;
  font-style: italic;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .live-col-lateral { display: none; }
}

/* ══════════════════════════════════════════════
   PANEL ADMIN — Operador en vivo
   ══════════════════════════════════════════════ */


/* Admin panel — apilado bajo ganadores en columna izquierda (ancho completo) */
.admin-panel {
  width: 100%;
  background: rgba(10,10,10,.85);
  border: 1px solid rgba(186,157,121,.35);
  border-radius: 10px;
  padding: .55rem .7rem;
  font-size: .76rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.admin-panel-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 0;
  padding-bottom: .3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.admin-badge-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  background: var(--bb-bronze, #ba9d79);
  color: #000;
  padding: .15rem .45rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.admin-premio-label {
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-candidato-card {
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  padding: .4rem .6rem;
  margin-bottom: 0;
}

.admin-candidato-rol {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.admin-candidato-rol.normal   { color: var(--bb-bronze, #ba9d79); }
.admin-candidato-rol.fallback { color: #e9a84c; }

.admin-candidato-nombre {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-candidato-empresa {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-fallback-alert {
  font-size: .72rem;
  background: rgba(233,168,76,.15);
  border: 1px solid rgba(233,168,76,.4);
  border-radius: 6px;
  padding: .4rem .6rem;
  color: #e9a84c;
  margin-bottom: .6rem;
}

.admin-acciones {
  display: flex;
  gap: .5rem;
  margin-bottom: 0;
}

.btn-admin {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: .5rem .3rem;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
}
.btn-admin:active   { transform: scale(.97); }
.btn-admin:disabled { opacity: .5; cursor: not-allowed; }

.btn-entregado {
  background: #1a7a4a;
  color: #fff;
}
.btn-entregado:hover:not(:disabled) { background: #1e9057; }

.btn-ausente {
  background: #5a3a8a;
  color: #fff;
}
.btn-ausente:hover:not(:disabled) { background: #6b45a8; }

.admin-mensaje {
  font-size: .75rem;
  border-radius: 6px;
  padding: .4rem .6rem;
  margin-bottom: .6rem;
  background: rgba(255,255,255,.06);
}

/* Lista de estado de premios */
.admin-premios-status {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  max-height: 240px;
  overflow-y: auto;
  padding-right: .2rem;
}
.admin-premios-status::-webkit-scrollbar { width: 3px; }
.admin-premios-status::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 2px; }

.admin-premio-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  color: rgba(255,255,255,.6);
  padding: .2rem .3rem;
  border-radius: 4px;
}
.admin-premio-row.entregado { color: rgba(255,255,255,.85); }
.admin-premio-row.fallback  { color: #e9a84c; }

.admin-premio-pos {
  font-weight: 700;
  min-width: 22px;
  text-align: right;
  color: rgba(255,255,255,.4);
}
.admin-premio-desc { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.admin-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.admin-status-dot.pendiente  { background: rgba(255,255,255,.25); }
.admin-status-dot.entregado  { background: #2ecc71; }
.admin-status-dot.fallback   { background: #e9a84c; }
