/* styles.css — QR Submit · Concurso IA-first de hoteles (Pxsol DS) */

:root {
  --accent-dyn: #D20A11;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--pxs-paper);
  color: var(--fg-1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
#root { min-height: 100vh; }
[data-lucide] { width: 1em; height: 1em; stroke-width: 1.8; vertical-align: -0.12em; }

/* ───────────────────────── Layout base ───────────────────────── */
.page-wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 140px;
}
.page-wrap.narrow { max-width: 560px; }

.moon {
  position: absolute;
  top: 90px; left: 50%;
  width: 680px; height: 340px;
  transform: translateX(-50%);
  background: var(--pxs-yellow-200);
  border-radius: 680px 680px 0 0;
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
}

.center-screen {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}

/* ───────────────────────── Formulario ───────────────────────── */
.form-head { position: relative; z-index: 1; text-align: center; margin-bottom: 36px; }
.form-head .pxs-tag { margin-left: auto; margin-right: auto; }
.form-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 8vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--pxs-ink);
  margin: 0;
}
.form-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.45;
  color: var(--fg-2);
  max-width: 480px;
  margin: 18px auto 0;
}
.form-sub strong { font-weight: 600; color: var(--pxs-ink); }
.form-sub em { font-style: italic; color: var(--pxs-red); font-weight: 400; }

.form-card {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 40px;
  display: flex; flex-direction: column; gap: 22px;
}

.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  font-family: var(--font-display);
  font-weight: 500; font-size: 15px; color: var(--pxs-ink);
  letter-spacing: -0.01em;
}
.field-label .req { color: var(--pxs-red); }
.q-label { display: flex; gap: 12px; align-items: flex-start; line-height: 1.35; }
.q-num {
  flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--pxs-ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  margin-top: 1px;
}
.q-num.sm { width: 22px; height: 22px; font-size: 12px; }
.q-eje {
  display: inline-block; margin-left: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 100px; vertical-align: middle;
}
.eje-disposición, .eje-disposicion { background: var(--pxs-red-100); color: var(--pxs-red-600); }
.eje-visión, .eje-vision { background: var(--pxs-info-bg); color: var(--pxs-info); }
.eje-apertura { background: var(--pxs-info-bg); color: var(--pxs-info); }
.eje-criterio { background: #EFEFEF; color: var(--fg-3); }
.eje-hoy { background: #EFEFEF; color: var(--fg-3); }

/* Mensaje de "gracias por participar" en el resultado */
.thanks-block { margin-top: 22px; text-align: center; }
.thanks-title { font-size: 18px; font-weight: 800; color: var(--pxs-ink, #000017); }
.thanks-text { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--fg-3); }

/* Modal de confirmación (reemplaza el confirm() del navegador) */
.modal-scrim {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 23, 0.45);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; animation: modalIn 0.15s ease;
}
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: #fff; border-radius: 18px; padding: 26px 24px;
  max-width: 400px; width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 23, 0.28);
}
.modal-actions { margin-top: 22px; display: flex; gap: 10px; justify-content: flex-end; }

/* Banner de error del admin */
.admin-error {
  margin: 12px 20px 0; padding: 10px 14px; border-radius: 10px;
  background: var(--pxs-red-100, #FDE7E7); color: var(--pxs-red-600, #B00710);
  font-size: 14px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
}

.pxs-field { width: 100%; }
.pxs-field.field-err { border-color: var(--pxs-red); }
.pxs-field [data-lucide] { color: var(--fg-4); font-size: 18px; }

.pxs-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--pxs-ink-300);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-body); font-size: 14.5px; line-height: 1.5;
  color: var(--pxs-ink);
  resize: vertical; min-height: 56px;
  transition: border-color .15s, box-shadow .15s;
}
.pxs-textarea:focus { outline: 0; border-color: var(--pxs-ink); box-shadow: 0 0 0 3px rgba(0,0,23,.06); }
.pxs-textarea::placeholder { color: #AAA; }

.divider { height: 1px; background: rgba(0,0,0,.08); margin: 6px 0; }
.q-intro { display: flex; flex-direction: column; gap: 4px; }
.q-intro p { font-size: 14px; color: var(--fg-3); margin: 0; }

.err-msg { font-size: 13px; color: var(--pxs-red); font-weight: 500; }

.submit-btn { width: 100%; margin-top: 8px; }
.form-foot { text-align: center; font-size: 13px; color: var(--fg-4); margin: 0; }

/* ───────────────────────── Scoring ───────────────────────── */
.scoring-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); padding: 44px 40px;
  text-align: center; max-width: 460px; width: 100%;
}
.spinner {
  width: 64px; height: 64px; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--pxs-red); font-size: 44px;
}
.spinner [data-lucide], .spin { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scoring-bar {
  margin-top: 24px; height: 6px; border-radius: 100px;
  background: var(--pxs-ink-100); overflow: hidden;
}
.scoring-bar span {
  display: block; height: 100%; width: 40%;
  background: var(--pxs-red); border-radius: 100px;
  animation: indet 1.4s cubic-bezier(.22,.61,.36,1) infinite;
}
@keyframes indet {
  0% { margin-left: -40%; } 100% { margin-left: 100%; }
}

/* ───────────────────────── Resultado ───────────────────────── */
.result-card {
  position: relative; z-index: 1;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); padding: 40px;
  text-align: center;
}
.result-check {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--pxs-success); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; margin: 0 auto 16px;
}
/* Badge de éxito del resultado: más grande, degradé, halo y "pop" al aparecer */
.result-check--success {
  width: 76px; height: 76px; font-size: 38px; margin-bottom: 18px;
  background: linear-gradient(135deg, #3DDC74 0%, #1FA347 100%);
  box-shadow: 0 10px 24px rgba(31, 163, 71, 0.38), 0 0 0 9px rgba(61, 220, 116, 0.14);
  animation: checkPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.result-check--success [data-lucide] { stroke-width: 2.6; }
@keyframes checkPop {
  0% { transform: scale(0.3); opacity: 0; }
  55% { transform: scale(1.14); }
  100% { transform: scale(1); opacity: 1; }
}
.result-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 6vw, 44px); letter-spacing: -0.03em;
  margin: 6px 0 0; color: var(--pxs-ink);
}
.score-hero { margin: 28px 0 24px; }
.score-num {
  font-family: var(--font-display); font-weight: 600;
  font-size: 88px; line-height: 1; letter-spacing: -0.04em;
  color: var(--pxs-ink);
}
.score-den { font-size: 32px; color: var(--fg-4); font-weight: 400; }
.score-chip {
  display: inline-block; margin-top: 10px;
  background: var(--pxs-ink); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  padding: 7px 18px; border-radius: 100px;
}

.score-bars { display: flex; flex-direction: column; gap: 16px; margin: 8px 0 24px; text-align: left; }
.sbar-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.sbar-top span { font-family: var(--font-display); font-weight: 500; font-size: 14px; color: var(--pxs-ink); }
.sbar-val { font-weight: 600; }
.sbar-val small { color: var(--fg-4); font-weight: 400; }
.sbar-track { height: 10px; border-radius: 100px; background: var(--pxs-ink-100); overflow: hidden; }
.sbar-fill { height: 100%; border-radius: 100px; transition: width .9s cubic-bezier(.22,.61,.36,1); }

.analysis {
  display: flex; gap: 12px; text-align: left;
  background: var(--pxs-paper-2); border-radius: 16px;
  padding: 18px 20px; margin-bottom: 24px;
}
.analysis [data-lucide] { color: var(--pxs-red); font-size: 20px; flex: none; margin-top: 2px; }
.analysis p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg-2); }

.pos-banner {
  display: flex; align-items: baseline; justify-content: center; gap: 10px;
  border-top: 1px solid rgba(0,0,0,.08); padding-top: 22px; margin-bottom: 24px;
}
.pos-label { font-family: var(--font-display); font-weight: 300; font-size: 18px; color: var(--fg-3); }
.pos-num { font-family: var(--font-display); font-weight: 600; font-size: 40px; letter-spacing: -0.03em; color: var(--pxs-red); }
.pos-of { font-size: 15px; color: var(--fg-4); }

.result-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.result-actions .pxs-btn { width: 100%; }

/* ───────────────────────── Admin ───────────────────────── */
.admin { min-height: 100vh; background: var(--pxs-paper-2); padding-bottom: 120px; }
.admin-bar {
  position: sticky; top: 0; z-index: 20;
  background: #fff; border-bottom: 1px solid rgba(0,0,0,.08);
  height: 64px; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-bar-left { display: flex; align-items: center; gap: 16px; }
.admin-divider-v { width: 1px; height: 24px; background: rgba(0,0,0,.12); }
.admin-bar-title { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--pxs-ink); }
.admin-bar-right { display: flex; align-items: center; gap: 8px; }
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--pxs-success-700);
  box-shadow: 0 0 0 0 rgba(46,204,113,.5); animation: pulse 1.8s infinite;
}
.live-dot.closed { background: var(--fg-4); animation: none; box-shadow: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,204,113,.5); } 70% { box-shadow: 0 0 0 8px rgba(46,204,113,0); } }
.live-label { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--fg-2); }

.admin-body { max-width: 1080px; margin: 0 auto; padding: 32px 28px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat {
  background: #fff; border-radius: 16px; padding: 20px;
  box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 14px;
}
.stat > [data-lucide] { font-size: 26px; color: var(--fg-4); flex: none; }
.stat-accent { box-shadow: inset 0 0 0 1.5px var(--pxs-red); }
.stat-accent > [data-lucide] { color: var(--pxs-red); }
.stat-val { font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; color: var(--pxs-ink); line-height: 1; }
.stat-label { font-size: 13px; color: var(--fg-3); margin-top: 4px; }

.admin-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-actions-right { display: flex; gap: 8px; flex-wrap: wrap; }

.rank-table { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; }
.rank-head, .rank-row {
  display: grid;
  grid-template-columns: 56px 2.4fr 1.3fr 1.3fr 70px 70px 36px;
  align-items: center; gap: 12px; padding: 0 20px;
}
.rank-head { height: 44px; border-bottom: 1px solid rgba(0,0,0,.08); }
.rank-head span { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-4); }
.rank-row { min-height: 64px; border-bottom: 1px solid rgba(0,0,0,.05); cursor: pointer; transition: background .12s; }
.rank-row:last-child { border-bottom: 0; }
.rank-row:hover { background: var(--pxs-mist); }
.rank-row .c-pos { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--fg-3); display: flex; align-items: center; }
.rank-row.top1 .c-pos { color: #E0A800; font-size: 24px; }
.rank-row.top2 .c-pos { color: #9AA3AF; font-size: 22px; }
.rank-row.top3 .c-pos { color: #D98A3D; font-size: 22px; }
.rank-row.top1 { background: linear-gradient(90deg, rgba(241,194,0,.10), transparent 60%); }
.c-hotel { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.c-hotel strong { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--pxs-ink); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-hotel small { font-size: 12px; color: var(--fg-4); }
.c-score { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--pxs-ink); }
.c-time { font-size: 13px; color: var(--fg-4); }
.c-act { color: var(--fg-4); display: flex; justify-content: flex-end; }
.rank-row.pending { opacity: .7; cursor: default; }
.rank-row.pending:hover { background: transparent; }

.mini { display: flex; flex-direction: column; gap: 4px; }
.mini-val { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--fg-2); }
.mini-track { height: 6px; border-radius: 100px; background: var(--pxs-ink-100); overflow: hidden; }
.mini-track > div { height: 100%; border-radius: 100px; }

.empty { text-align: center; padding: 80px 20px; color: var(--fg-3); }
.empty [data-lucide] { font-size: 40px; color: var(--pxs-ink-300); }
.empty p { margin-top: 12px; }

.admin-foot { margin-top: 24px; display: flex; justify-content: center; }
.link-danger { background: none; border: 0; cursor: pointer; color: var(--pxs-red); font-family: var(--font-body); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.link-danger:hover { text-decoration: underline; }

/* Drawer detalle */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(9,9,11,.45); display: flex; justify-content: flex-end;
  animation: fade .18s ease;
}
@keyframes fade { from { opacity: 0; } }
.drawer {
  width: min(520px, 92vw); height: 100%; background: #fff;
  box-shadow: -8px 0 40px rgba(0,0,0,.2); overflow-y: auto; padding: 28px;
  animation: slidein .24s cubic-bezier(.22,.61,.36,1);
}
@keyframes slidein { from { transform: translateX(40px); opacity: .4; } }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.drawer-head h3 { margin: 6px 0 2px; }
.drawer-close { background: var(--pxs-ink-100); border: 0; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--fg-2); font-size: 18px; flex: none; }
.drawer-close:hover { background: var(--pxs-ink-200); }
.drawer-score { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 22px 0; padding: 20px; background: var(--pxs-paper-2); border-radius: 16px; }
.ds-num { font-family: var(--font-display); font-weight: 600; font-size: 44px; letter-spacing: -0.03em; color: var(--pxs-ink); }
.ds-num small { font-size: 18px; color: var(--fg-4); }
.ds-chip { background: var(--pxs-ink); color: #fff; font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 100px; }
.ds-bars { flex: 1; min-width: 140px; display: flex; flex-direction: column; gap: 8px; }
.drawer-analysis { display: flex; gap: 10px; padding: 14px 16px; background: var(--pxs-red-50); border-radius: 12px; margin-bottom: 22px; }
.drawer-analysis [data-lucide] { color: var(--pxs-red); flex: none; margin-top: 2px; }
.drawer-analysis p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.drawer-answers { display: flex; flex-direction: column; gap: 18px; }
.da-q { display: flex; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: 14px; color: var(--pxs-ink); line-height: 1.35; margin-bottom: 6px; align-items: flex-start; }
.da-a { font-size: 14px; line-height: 1.55; color: var(--fg-2); padding-left: 32px; }
.da-a em { color: var(--fg-4); }

/* ───────────────────────── Podio (común) ───────────────────────── */
.pod { min-height: 100vh; padding: 40px clamp(24px, 5vw, 72px) 120px; position: relative; overflow: hidden; }
.pod-header { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.pod-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--fg-2); }
.pod-titleblock { position: relative; z-index: 2; margin: clamp(28px, 6vh, 64px) 0 clamp(28px, 5vh, 52px); }
.pod-titleblock.center { text-align: center; }
.pod-h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 9vw, 88px); line-height: 1; letter-spacing: -0.04em; color: var(--pxs-ink); margin: 8px 0 0; }

.podium-empty { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 24px; }
.podium-empty [data-lucide] { font-size: 56px; color: var(--pxs-ink-300); }

/* Variación A — FILAS */
.pod-filas { max-width: 920px; margin: 0 auto; }
.pod-moon { top: 200px; }
.filas { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 16px; }
.fila {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 32px);
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 40px);
  animation: rise .6s cubic-bezier(.22,.61,.36,1) backwards; animation-delay: var(--d);
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.fila-1 { padding: clamp(28px, 4vw, 48px); box-shadow: 0 12px 40px rgba(241,194,0,.22), var(--shadow-md); border: 1.5px solid var(--pxs-yellow); }
.fila-rank { display: flex; flex-direction: column; align-items: center; flex: none; width: clamp(56px, 8vw, 88px); }
.fila-rank [data-lucide] { font-size: clamp(28px, 5vw, 48px); }
.fila-1 .fila-rank [data-lucide] { font-size: clamp(40px, 7vw, 68px); }
.fila-pos { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 3vw, 28px); color: var(--fg-4); margin-top: 2px; }
.fila-main { flex: 1; min-width: 0; }
.fila-medal { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.fila-hotel { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; color: var(--pxs-ink); margin: 4px 0; line-height: 1.05; font-size: clamp(24px, 4vw, 40px); }
.fila-1 .fila-hotel { font-size: clamp(32px, 6vw, 60px); }
.fila-tag { display: inline-block; font-family: var(--font-body); font-size: 14px; color: var(--fg-3); background: var(--pxs-paper-2); padding: 4px 14px; border-radius: 100px; }
.fila-score { text-align: right; flex: none; }
.fila-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 7vw, 72px); letter-spacing: -0.04em; color: var(--pxs-ink); line-height: 1; }
.fila-1 .fila-num { font-size: clamp(56px, 10vw, 104px); }
.fila-den { font-size: clamp(16px, 2vw, 22px); color: var(--fg-4); }

/* Variación B — PODIO CLÁSICO */
.pod-clasico { max-width: 1080px; margin: 0 auto; }
.pedestals { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: center; gap: clamp(12px, 2vw, 28px); }
.ped { flex: 1; max-width: 320px; display: flex; flex-direction: column; align-items: center; animation: rise .6s cubic-bezier(.22,.61,.36,1) backwards; }
.ped-1 { animation-delay: .1s; } .ped-2 { animation-delay: .25s; } .ped-3 { animation-delay: .4s; }
.ped-empty { visibility: hidden; }
.ped-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow-md); padding: 24px 20px; text-align: center; width: 100%; margin-bottom: 16px; }
.ped-1 .ped-card { box-shadow: 0 12px 40px rgba(241,194,0,.22), var(--shadow-md); border: 1.5px solid var(--pxs-yellow); }
.ped-medal { font-size: 36px; margin-bottom: 8px; }
.ped-1 .ped-medal { font-size: 48px; }
.ped-hotel { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--pxs-ink); margin: 0 0 6px; line-height: 1.1; }
.ped-1 .ped-hotel { font-size: 26px; }
.ped-tag { font-size: 12px; color: var(--fg-3); }
.ped-score { font-family: var(--font-display); font-weight: 600; font-size: 34px; letter-spacing: -0.03em; color: var(--pxs-ink); margin-top: 10px; }
.ped-score small { font-size: 16px; color: var(--fg-4); }
.ped-block { width: 100%; height: var(--h); border-radius: 16px 16px 0 0; box-shadow: var(--shadow-sm); display: flex; align-items: flex-start; justify-content: center; padding-top: 18px; }
.ped-place { font-family: var(--font-display); font-weight: 600; font-size: 64px; letter-spacing: -0.04em; }

/* Variación C — GALA */
.pod-gala { background: var(--pxs-ink); max-width: none; }
.pod-gala .pod-h1 { color: #fff; }
.gala-spot {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at center top, rgba(241,194,0,.18), transparent 65%);
  pointer-events: none; z-index: 0;
}
.gala-rows { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.gala-row {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 32px);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 28px) clamp(22px, 4vw, 36px);
  backdrop-filter: blur(6px);
  animation: rise .6s cubic-bezier(.22,.61,.36,1) backwards; animation-delay: var(--d);
}
.gala-1 { background: linear-gradient(100deg, rgba(241,194,0,.14), rgba(255,255,255,.04)); border-color: rgba(241,194,0,.4); padding: clamp(26px, 4vw, 44px) clamp(24px, 4vw, 40px); }
.gala-rank { display: flex; align-items: center; gap: 10px; flex: none; width: clamp(80px, 12vw, 130px); }
.gala-rank [data-lucide] { font-size: clamp(32px, 5vw, 52px); }
.gala-1 .gala-rank [data-lucide] { font-size: clamp(44px, 7vw, 72px); }
.gala-rank span { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 4vw, 44px); }
.gala-main { flex: 1; min-width: 0; }
.gala-hotel { font-family: var(--font-display); font-weight: 600; color: #fff; letter-spacing: -0.03em; margin: 0 0 6px; line-height: 1.05; font-size: clamp(24px, 4vw, 40px); }
.gala-1 .gala-hotel { font-size: clamp(32px, 6vw, 58px); }
.gala-tag { display: inline-block; font-size: 13px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); padding: 4px 14px; border-radius: 100px; }
.gala-score { text-align: right; flex: none; }
.gala-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 7vw, 72px); letter-spacing: -0.04em; color: var(--pxs-yellow); line-height: 1; }
.gala-1 .gala-num { font-size: clamp(56px, 10vw, 100px); }
.gala-den { font-size: clamp(16px, 2vw, 22px); color: rgba(255,255,255,.5); }

/* ───────────────────────── Demo nav ───────────────────────── */
.demo-nav {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 60; display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,.08); border-radius: 100px;
  padding: 6px 6px 6px 14px; box-shadow: 0 8px 30px rgba(0,0,0,.16);
}
.demo-nav-tag { font-family: var(--font-body); font-weight: 700; font-size: 10px; letter-spacing: 0.12em; color: var(--fg-4); margin-right: 6px; }
.demo-nav-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-weight: 500; font-size: 13.5px; color: var(--fg-2);
  padding: 9px 16px; border-radius: 100px; transition: background .15s, color .15s;
}
.demo-nav-btn [data-lucide] { font-size: 16px; }
.demo-nav-btn:hover { background: rgba(0,0,0,.05); }
.demo-nav-btn.active { background: var(--pxs-ink); color: #fff; }

@media (max-width: 720px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .rank-head, .rank-row { grid-template-columns: 40px 1.6fr 64px 28px; }
  .rank-head .c-eje, .rank-row .c-eje, .rank-head .c-time, .rank-row .c-time { display: none; }
  .form-card { padding: 26px 20px; }
  .result-card { padding: 28px 22px; }
  .demo-nav-btn span { display: none; }
  .demo-nav { padding: 6px; }
  .demo-nav-tag { display: none; }
}
