/* ===== Arena Eventos — sistema de diseno v2 (esports) ===== */
:root {
  --bg: #05080f;
  --bg2: #0a1120;
  --panel: rgba(16, 24, 42, 0.88);
  --panel-solid: #101a2c;
  --border: rgba(125, 155, 225, 0.14);
  --border-strong: rgba(125, 155, 225, 0.28);
  --text: #eef3ff;
  --muted: #92a2c4;
  --gold: #ffc93d;
  --gold2: #ffe07e;
  --cyan: #37e0ee;
  --green: #3ddc84;
  --red: #ff5568;
  --violet: #8f6bff;
  --radius: 14px;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  --font-display: "Rajdhani", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, .logo { font-family: var(--font-display); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #223154; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #2e4270; }
::selection { background: rgba(255, 201, 61, 0.3); }

/* ---- Fondo animado (simulacion del juego) ---- */
.bg-sim { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-sim canvas { display: block; width: 100%; height: 100%; opacity: 0.55; }
.bg-sim::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, transparent 30%, rgba(5, 8, 15, 0.85) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.25), rgba(5, 8, 15, 0.65));
}
.bg-sim.dim canvas { opacity: 0.3; }
.portal-content { position: relative; z-index: 1; }

/* ---- Botones ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 15.5px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, border-color 0.14s;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-gold {
  background: linear-gradient(135deg, #ffd75e, #ffae1a);
  color: #1c1200;
  box-shadow: 0 6px 26px rgba(255, 185, 50, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-gold:hover:not(:disabled) { box-shadow: 0 8px 34px rgba(255, 185, 50, 0.55), inset 0 1px 0 rgba(255,255,255,0.4); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03); color: var(--text); border: 1px solid var(--border-strong);
}
.btn-ghost:hover:not(:disabled) { border-color: var(--gold); color: var(--gold2); background: rgba(255, 201, 61, 0.06); }
.btn-green {
  background: linear-gradient(135deg, #52f09a, #1db863); color: #04220f;
  box-shadow: 0 6px 26px rgba(61, 220, 132, 0.3), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-green:hover:not(:disabled) { box-shadow: 0 8px 34px rgba(61, 220, 132, 0.5); transform: translateY(-1px); }
.btn-red { background: transparent; color: var(--red); border: 1px solid rgba(255, 85, 104, 0.5); }
.btn-red:hover { background: rgba(255, 85, 104, 0.12); border-color: var(--red); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; letter-spacing: 0.8px; }
.btn-block { width: 100%; }

/* ---- Formularios ---- */
.field { margin-bottom: 14px; text-align: left; }
.field label {
  display: block; font-size: 11px; color: var(--muted); margin-bottom: 6px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-display);
}
.field input, .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px; font-size: 15px;
  border: 1px solid var(--border-strong); background: rgba(5, 8, 15, 0.7);
  color: var(--text); outline: none; transition: border-color 0.15s, box-shadow 0.15s;
  font-family: var(--font-body);
}
.field input:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 201, 61, 0.12); }
.form-error { color: var(--red); font-size: 13px; min-height: 18px; margin-top: 8px; }
.form-ok { color: var(--green); font-size: 13px; min-height: 18px; margin-top: 8px; }

/* ---- Paneles ---- */
.card {
  background: linear-gradient(165deg, rgba(24, 34, 58, 0.9), rgba(10, 16, 30, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  backdrop-filter: blur(10px);
}
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  font-family: var(--font-display);
}
.chip-open { background: rgba(61, 220, 132, 0.12); color: var(--green); border: 1px solid rgba(61, 220, 132, 0.35); }
.chip-live { background: rgba(255, 85, 104, 0.14); color: var(--red); border: 1px solid rgba(255, 85, 104, 0.4); }
.chip-finished { background: rgba(146, 162, 196, 0.12); color: var(--muted); border: 1px solid rgba(146, 162, 196, 0.25); }
.chip-pending { background: rgba(255, 201, 61, 0.12); color: var(--gold); border: 1px solid rgba(255, 201, 61, 0.35); }
.chip-confirmed { background: rgba(61, 220, 132, 0.12); color: var(--green); border: 1px solid rgba(61, 220, 132, 0.35); }
.chip-rejected { background: rgba(255, 85, 104, 0.14); color: var(--red); border: 1px solid rgba(255, 85, 104, 0.4); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: livePulse 1.6s infinite; }
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 85, 104, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(255, 85, 104, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 85, 104, 0); }
}

/* ---- Modal ---- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  background: rgba(3, 5, 10, 0.82); backdrop-filter: blur(6px); padding: 16px;
}
.modal {
  background: var(--panel-solid); border: 1px solid var(--border-strong); border-radius: 18px;
  width: min(440px, 100%); max-height: 90vh; overflow-y: auto;
  padding: 30px; box-shadow: var(--shadow); animation: modalIn 0.24s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
.modal h2 { font-size: 24px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.modal .sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.modal-close { float: right; background: none; border: none; color: var(--muted); font-size: 24px; cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--text); }

/* ---- Tabs ---- */
.tabs { display: flex; gap: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.tab {
  padding: 10px 18px; background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 14.5px; font-weight: 700; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 1px;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.15s;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ---- Tablas ---- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th {
  text-align: left; padding: 10px 12px; color: var(--muted); font-size: 11px;
  text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 700;
}
table.data td { padding: 12px; border-bottom: 1px solid rgba(125, 155, 225, 0.07); }
table.data tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(5, 8, 15, 0.75); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; letter-spacing: 2px; color: var(--text); }
.logo b { color: var(--gold); }
.logo-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #ffe07e, #ffae1a 70%);
  box-shadow: 0 0 18px rgba(255, 185, 50, 0.55), inset -3px -3px 8px rgba(160, 90, 0, 0.5);
}
.nav { display: flex; gap: 22px; align-items: center; }
.nav > a { color: var(--muted); font-size: 14px; font-weight: 600; transition: color 0.15s; }
.nav > a:hover { color: var(--gold2); }
.user-chip {
  display: flex; align-items: center; gap: 10px; padding: 5px 6px 5px 6px;
  background: rgba(16, 24, 42, 0.8); border: 1px solid var(--border-strong); border-radius: 30px; font-size: 14px; font-weight: 600;
}
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5); flex-shrink: 0;
}

/* ===== Hero ===== */
.hero {
  min-height: 66vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 70px 20px 50px; position: relative;
}
.overline-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 24px; margin-bottom: 22px;
  background: rgba(255, 201, 61, 0.08); border: 1px solid rgba(255, 201, 61, 0.3);
  color: var(--gold2); font-family: var(--font-display); font-weight: 700;
  font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(46px, 9vw, 100px); font-weight: 700; line-height: 0.98;
  text-transform: uppercase; letter-spacing: 2px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}
.hero h1 span {
  background: linear-gradient(120deg, #ffe07e, #ffae1a 55%, #ff7a3d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(255, 175, 40, 0.45));
}
.hero p { color: #b9c6e2; font-size: clamp(15px, 2.4vw, 18.5px); margin: 22px auto 32px; max-width: 620px; line-height: 1.65; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---- Franja de estadisticas en vivo ---- */
.stats-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px;
  max-width: 1080px; margin: 0 auto; padding: 0 20px 10px;
}
.stat-tile {
  background: linear-gradient(165deg, rgba(24, 34, 58, 0.85), rgba(10, 16, 30, 0.92));
  border: 1px solid var(--border); border-radius: 14px; padding: 18px 14px; text-align: center;
  backdrop-filter: blur(10px);
}
.stat-tile .v {
  font-family: var(--font-display); font-size: clamp(26px, 4vw, 40px); font-weight: 700;
  font-variant-numeric: tabular-nums; line-height: 1; color: var(--gold);
  text-shadow: 0 0 22px rgba(255, 185, 50, 0.35);
}
.stat-tile .v.cyan { color: var(--cyan); text-shadow: 0 0 22px rgba(55, 224, 238, 0.3); }
.stat-tile .v.green { color: var(--green); text-shadow: 0 0 22px rgba(61, 220, 132, 0.3); }
.stat-tile .k { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.6px; margin-top: 8px; font-weight: 600; }

/* ===== Secciones ===== */
.section { max-width: 1120px; margin: 0 auto; padding: 56px 20px; }
.overline {
  font-family: var(--font-display); color: var(--gold); font-size: 13px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 6px;
}
.section > h2 { font-size: clamp(26px, 4vw, 36px); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.section > .section-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 28px; max-width: 560px; }

/* ===== Tarjetas de eventos (salas) ===== */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.event-card {
  position: relative; overflow: hidden; padding-top: 26px;
  transition: transform 0.18s ease, border-color 0.18s, box-shadow 0.18s;
}
.event-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--violet), var(--cyan));
  opacity: 0.75;
}
.event-card:hover {
  transform: translateY(-5px); border-color: rgba(255, 201, 61, 0.45);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 201, 61, 0.12);
}
.event-card .ev-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.event-card h3 { font-size: 21px; text-transform: uppercase; letter-spacing: 0.5px; }
.event-card .ev-date { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.ev-countdown {
  font-family: var(--font-display); font-variant-numeric: tabular-nums;
  font-weight: 700; color: var(--cyan); letter-spacing: 1px;
}
.ev-stats { display: flex; gap: 10px; margin-bottom: 12px; }
.ev-stat {
  flex: 1; background: rgba(5, 8, 15, 0.55); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 8px; text-align: center;
}
.ev-stat .v {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.ev-stat .v.gold { color: var(--gold); text-shadow: 0 0 16px rgba(255, 185, 50, 0.4); }
.ev-stat .k { font-size: 9.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; margin-top: 4px; font-weight: 600; }
.ev-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 16px;
  color: var(--muted); font-size: 12.5px;
}
.ev-meta b { color: var(--text); font-weight: 600; }
.ev-meta .online { color: var(--green); font-weight: 700; }
.ev-note { font-size: 12px; margin-top: 8px; text-align: center; }

/* ===== Clasificacion ===== */
.lb-podium { display: flex; align-items: flex-end; justify-content: center; gap: 14px; margin-bottom: 26px; }
.lb-pod-card {
  flex: 1; max-width: 210px; text-align: center; border-radius: 16px 16px 6px 6px;
  padding: 20px 12px 16px; border: 1px solid var(--border); backdrop-filter: blur(8px);
}
.lb-pod-card .avatar { width: 52px; height: 52px; font-size: 24px; margin: 0 auto 10px; }
.lb-pod-card .medal { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 2px; margin-bottom: 6px; }
.lb-pod-card .nm { font-weight: 800; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-pod-card .won { font-family: var(--font-display); color: var(--green); font-weight: 700; font-size: 20px; margin-top: 4px; }
.lb-pod-card .sub2 { color: var(--muted); font-size: 12px; margin-top: 2px; }
.lb-pod-card.p1 { background: linear-gradient(180deg, rgba(255, 201, 61, 0.16), rgba(10, 16, 30, 0.9)); border-color: rgba(255, 201, 61, 0.5); padding-top: 30px; }
.lb-pod-card.p1 .medal { color: var(--gold); }
.lb-pod-card.p2 { background: linear-gradient(180deg, rgba(200, 211, 232, 0.1), rgba(10, 16, 30, 0.9)); border-color: rgba(200, 211, 232, 0.3); }
.lb-pod-card.p2 .medal { color: #c8d3e8; }
.lb-pod-card.p3 { background: linear-gradient(180deg, rgba(216, 146, 90, 0.12), rgba(10, 16, 30, 0.9)); border-color: rgba(216, 146, 90, 0.35); }
.lb-pod-card.p3 .medal { color: #d8925a; }

.lb-row { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid rgba(125, 155, 225, 0.07); }
.lb-row .pos { width: 28px; font-family: var(--font-display); font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 16px; }
.lb-row .name { flex: 1; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.lb-row .stat { width: 92px; text-align: right; font-variant-numeric: tabular-nums; font-size: 14.5px; font-weight: 600; }
.lb-row .stat small { display: block; color: var(--muted); font-size: 9.5px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* ===== Como funciona ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step .n {
  width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 201, 61, 0.1); border: 1px solid rgba(255, 201, 61, 0.35);
  color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.6; }

.pay-box {
  background: rgba(5, 8, 15, 0.6); border: 1px dashed var(--border-strong);
  border-radius: 12px; padding: 14px; margin-bottom: 16px; font-size: 14px;
}
.pay-box .row { display: flex; justify-content: space-between; padding: 4px 0; }
.pay-box .row b { color: var(--gold2); }

.site-footer {
  text-align: center; color: var(--muted); font-size: 13px; padding: 44px 20px;
  border-top: 1px solid var(--border); margin-top: 40px;
  background: rgba(5, 8, 15, 0.7);
}

/* ===== Juego ===== */
#game { display: block; width: 100vw; height: 100vh; touch-action: none; background: var(--bg); }
.game-root { position: fixed; inset: 0; overflow: hidden; }
.overlay {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(3, 5, 10, 0.86); backdrop-filter: blur(8px); z-index: 20; padding: 16px;
}
.overlay.lobby-live { background: rgba(3, 5, 10, 0.55); }
.overlay .panel {
  background: var(--panel-solid); border: 1px solid var(--border-strong); border-radius: 20px;
  padding: 36px; width: min(540px, 100%); text-align: center; box-shadow: var(--shadow);
  animation: modalIn 0.26s ease;
}
.overlay .panel h1 { font-size: 28px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.overlay .panel .sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

.lobby-pot {
  font-family: var(--font-display); font-size: 54px; font-weight: 700; color: var(--gold);
  margin: 6px 0 2px; font-variant-numeric: tabular-nums; line-height: 1;
  text-shadow: 0 0 34px rgba(255, 185, 50, 0.4);
}
.lobby-pot-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.6px; margin-bottom: 16px; }
.prize-split { display: flex; gap: 10px; justify-content: center; margin-bottom: 18px; }
.prize-mini {
  flex: 1; max-width: 120px; background: rgba(5, 8, 15, 0.6); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 6px;
}
.prize-mini .pos { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; color: var(--muted); }
.prize-mini .amt { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--green); font-variant-numeric: tabular-nums; }
.prize-mini.first { border-color: rgba(255, 201, 61, 0.45); }
.prize-mini.first .pos { color: var(--gold); }
.lobby-count {
  font-family: var(--font-display); font-size: 58px; font-weight: 700; color: var(--cyan);
  font-variant-numeric: tabular-nums; line-height: 1; text-shadow: 0 0 30px rgba(55, 224, 238, 0.4);
}
.player-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 20px 0 4px; max-height: 140px; overflow-y: auto; }
.player-chips .pchip {
  display: flex; align-items: center; gap: 7px; padding: 6px 13px;
  background: rgba(5, 8, 15, 0.6); border: 1px solid var(--border-strong); border-radius: 20px;
  font-size: 13px; font-weight: 600; animation: modalIn 0.25s ease;
}
.pchip .dot { width: 9px; height: 9px; border-radius: 50%; }

#hud { position: fixed; inset: 0; pointer-events: none; z-index: 10; }
.hud-box {
  position: absolute; background: rgba(8, 13, 24, 0.82); border: 1px solid var(--border);
  border-radius: 14px; padding: 10px 16px; backdrop-filter: blur(8px);
}
#hud-top { top: 14px; left: 50%; transform: translateX(-50%); text-align: center; min-width: 180px; }
#hud-top .timer {
  font-family: var(--font-display); font-size: 30px; font-weight: 700;
  font-variant-numeric: tabular-nums; letter-spacing: 2px; line-height: 1.1;
}
#hud-top .timer.danger { color: var(--red); animation: pulse 1s infinite; }
#hud-top .timer.rush { color: var(--gold); text-shadow: 0 0 22px rgba(255, 201, 61, 0.6); animation: pulse 0.8s infinite; }
.rush-badge {
  display: inline-block; padding: 2px 10px; border-radius: 14px;
  background: rgba(255, 201, 61, 0.15); border: 1px solid rgba(255, 201, 61, 0.5);
  color: var(--gold); font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: 1.5px;
}
@keyframes pulse { 50% { opacity: 0.55; } }

/* Anuncios dramaticos (orbe, zona caliente, rachas, rey, x2) */
#announce {
  position: absolute; top: 88px; left: 50%; transform: translateX(-50%);
  padding: 8px 30px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 3.4vw, 34px); letter-spacing: 2.5px; text-transform: uppercase;
  white-space: nowrap; pointer-events: none;
  animation: annPop 3.2s ease forwards;
}
/* Haz de luz que se abre detras del texto */
#announce::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 14px;
  background: linear-gradient(90deg, transparent, currentColor 50%, transparent);
  opacity: 0; animation: annBeam 3.2s ease forwards;
}
/* Lineas laterales que se disparan hacia afuera */
#announce::after {
  content: ""; position: absolute; left: -40px; right: -40px; top: 50%; height: 2px; z-index: -1;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0; animation: annLines 3.2s ease forwards;
}
.ann-gold { color: var(--gold2); text-shadow: 0 0 34px rgba(255, 201, 61, 0.8), 0 2px 4px rgba(0,0,0,0.6); }
.ann-hot, .ann-rush { color: #ff8a5c; text-shadow: 0 0 34px rgba(255, 110, 60, 0.8), 0 2px 4px rgba(0,0,0,0.6); }
.ann-streak { color: var(--red); text-shadow: 0 0 34px rgba(255, 85, 104, 0.8), 0 2px 4px rgba(0,0,0,0.6); }
.ann-king { color: var(--gold); text-shadow: 0 0 40px rgba(255, 201, 61, 0.9), 0 2px 4px rgba(0,0,0,0.6); }
@keyframes annPop {
  0% { opacity: 0; transform: translateX(-50%) scale(1.6); filter: blur(9px); }
  9% { opacity: 1; transform: translateX(-50%) scale(0.97); filter: blur(0); }
  13% { transform: translateX(-50%) scale(1.02); }
  17% { transform: translateX(-50%) scale(1); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) scale(0.94); filter: blur(3px); }
}
@keyframes annBeam {
  0% { opacity: 0; transform: scaleX(0); }
  12% { opacity: 0.14; transform: scaleX(1); }
  80% { opacity: 0.14; }
  100% { opacity: 0; }
}
@keyframes annLines {
  0% { opacity: 0; transform: scaleX(0.2); }
  14% { opacity: 0.7; transform: scaleX(1); }
  80% { opacity: 0.5; }
  100% { opacity: 0; transform: scaleX(1.15); }
}
@media (max-width: 700px) {
  #announce { font-size: 15px; letter-spacing: 1.2px; top: 66px; white-space: normal; text-align: center; width: 90vw; }
}
#hud-top .pot { color: var(--gold); font-weight: 700; font-size: 13.5px; font-family: var(--font-display); letter-spacing: 1px; }

#hud-board { top: 14px; right: 14px; min-width: 210px; padding: 12px 14px; }
#hud-board h3 { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.6px; margin-bottom: 8px; }
#hud-board .row { display: flex; align-items: center; gap: 8px; padding: 3.5px 0; font-size: 13.5px; font-variant-numeric: tabular-nums; }
#hud-board .row .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
#hud-board .row .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#hud-board .row .sc { font-weight: 700; font-family: var(--font-display); }
#hud-board .row.me { color: var(--gold); font-weight: 800; }

#hud-me {
  bottom: 14px; left: 50%; transform: translateX(-50%);
  font-size: 14px; display: flex; gap: 18px; align-items: center;
}
#hud-me b { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: 16px; }
#hud-me .rank { color: var(--gold); font-weight: 800; font-family: var(--font-display); font-size: 19px; }

#killfeed { position: absolute; top: 66px; left: 14px; display: flex; flex-direction: column; gap: 6px; max-width: 300px; }
.kf-item {
  background: rgba(8, 13, 24, 0.85); border: 1px solid var(--border); border-left: 3px solid var(--red);
  border-radius: 8px; padding: 7px 12px; font-size: 13px; animation: kfIn 0.2s ease;
}
.kf-item b { color: var(--gold2); }
@keyframes kfIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }

.mobile-actions {
  position: absolute; bottom: 24px; right: 20px; display: none; gap: 14px;
  pointer-events: auto; z-index: 12;
}
.action-btn {
  width: 78px; height: 78px; border-radius: 50%;
  border: 2px solid var(--gold); background: rgba(255, 201, 61, 0.16); color: var(--gold);
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 1px; cursor: pointer;
  user-select: none; -webkit-user-select: none; touch-action: none; backdrop-filter: blur(4px);
}
.action-btn:active { background: rgba(255, 201, 61, 0.45); color: #131313; }
.action-btn.secondary { border-color: var(--cyan); background: rgba(55, 224, 238, 0.14); color: var(--cyan); }
.action-btn.secondary:active { background: rgba(55, 224, 238, 0.4); color: #06232a; }
@media (pointer: coarse) { .mobile-actions { display: flex; } }
#hint-boost { position: absolute; bottom: 64px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 12.5px; }
@media (pointer: coarse) { #hint-boost { display: none; } }

/* ---- Panel de audio ---- */
.audio-wrap { position: absolute; top: 14px; left: 14px; pointer-events: auto; z-index: 26; }
#audio-btn {
  width: 62px; height: 42px; border-radius: 12px;
  background: rgba(8, 13, 24, 0.82); border: 1px solid var(--border); color: var(--muted);
  cursor: pointer; font-size: 12px; font-weight: 700; font-family: var(--font-display); letter-spacing: 1px;
}
#audio-btn:hover { color: var(--gold); border-color: var(--border-strong); }
.audio-panel {
  position: absolute; top: 48px; left: 0; width: 250px; max-width: calc(100vw - 24px);
  background: rgba(8, 13, 24, 0.94); border: 1px solid var(--border-strong);
  border-radius: 14px; padding: 14px; backdrop-filter: blur(10px);
  display: flex; flex-direction: column; gap: 12px; animation: modalIn 0.18s ease;
  overflow: hidden;
}
.audio-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.audio-toggle {
  min-width: 84px; padding: 7px 10px; border-radius: 8px; cursor: pointer;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  color: var(--muted); font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.8px; text-transform: uppercase;
}
.audio-toggle.on { color: var(--green); border-color: rgba(61, 220, 132, 0.5); background: rgba(61, 220, 132, 0.08); }
.audio-row input[type="range"] {
  flex: 1; min-width: 0; width: 100%; margin: 0;
  accent-color: var(--gold); cursor: pointer;
}
.audio-note { font-size: 11px; color: var(--muted); line-height: 1.5; }

/* ---- Chat de la sala ---- */
#chat {
  position: absolute; left: 14px; bottom: 14px; width: min(320px, 72vw);
  display: flex; flex-direction: column; gap: 6px; z-index: 25;
}
.chat-msgs {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 3px;
  max-height: 168px; overflow: hidden; pointer-events: none;
}
.chat-msg {
  align-self: flex-start; max-width: 100%;
  background: rgba(8, 13, 24, 0.78); border: 1px solid rgba(125, 155, 225, 0.12);
  border-radius: 9px; padding: 5px 10px; font-size: 13px; line-height: 1.4;
  word-break: break-word; animation: kfIn 0.18s ease;
}
.chat-msg b { font-weight: 800; }
.chat-input-row { display: flex; gap: 6px; pointer-events: auto; }
.chat-input-row input {
  flex: 1; padding: 9px 12px; border-radius: 9px; font-size: 14px;
  border: 1px solid var(--border-strong); background: rgba(5, 8, 15, 0.88);
  color: var(--text); outline: none; font-family: var(--font-body);
}
.chat-input-row input:focus { border-color: var(--gold); }
.chat-open-btn {
  align-self: flex-start; pointer-events: auto; cursor: pointer;
  background: rgba(8, 13, 24, 0.72); border: 1px solid var(--border);
  color: var(--muted); border-radius: 9px; padding: 6px 13px;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.8px; text-transform: uppercase;
}
.chat-open-btn:hover { color: var(--gold); }
.chat-hint { color: rgba(146, 162, 196, 0.6); }
@media (pointer: coarse) { .chat-hint { display: none; } }

#dead-overlay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  text-align: center;
}
#dead-overlay .t {
  font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--red);
  text-transform: uppercase; letter-spacing: 3px; text-shadow: 0 2px 24px rgba(255, 85, 104, 0.5);
}
#dead-overlay .s { color: var(--muted); margin-top: 6px; font-size: 14px; }
.respawn-bar { width: 210px; height: 5px; background: rgba(125, 155, 225, 0.2); border-radius: 3px; margin: 14px auto 0; overflow: hidden; }
.respawn-bar > div { height: 100%; background: var(--gold); border-radius: 3px; transition: width 0.1s linear; }

.rotate-icon { display: flex; justify-content: center; margin-bottom: 10px; animation: rotateWiggle 2s ease-in-out infinite; }
@keyframes rotateWiggle {
  0%, 35%, 100% { transform: rotate(0deg); }
  55%, 80% { transform: rotate(90deg); }
}

#start-count {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  z-index: 30; pointer-events: none;
}
#start-count .num {
  font-family: var(--font-display); font-size: 150px; font-weight: 700; color: var(--gold);
  text-shadow: 0 0 70px rgba(255, 201, 61, 0.55); animation: countPop 0.9s ease;
  text-transform: uppercase; letter-spacing: 4px;
}
@keyframes countPop { 0% { transform: scale(1.8); opacity: 0; } 25% { transform: scale(1); opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; } }

/* Podio final */
.podium-grid { display: flex; align-items: flex-end; justify-content: center; gap: 12px; margin: 24px 0; }
.podium-col { flex: 1; max-width: 140px; border-radius: 14px 14px 0 0; padding: 16px 8px 12px; text-align: center; }
.podium-col .pname { font-weight: 800; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium-col .ppts { font-size: 12px; color: var(--muted); margin: 2px 0 6px; }
.podium-col .pprize { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--green); font-variant-numeric: tabular-nums; }
.podium-col.p1 { background: linear-gradient(180deg, rgba(255, 201, 61, 0.24), rgba(255, 201, 61, 0.05)); border: 1px solid rgba(255, 201, 61, 0.5); height: 175px; }
.podium-col.p2 { background: linear-gradient(180deg, rgba(200, 211, 232, 0.15), rgba(200, 211, 232, 0.03)); border: 1px solid rgba(200, 211, 232, 0.32); height: 138px; }
.podium-col.p3 { background: linear-gradient(180deg, rgba(216, 146, 90, 0.18), rgba(216, 146, 90, 0.04)); border: 1px solid rgba(216, 146, 90, 0.38); height: 116px; }
.podium-col .medal { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.podium-col.p1 .medal { color: var(--gold); }
.podium-col.p2 .medal { color: #c8d3e8; }
.podium-col.p3 .medal { color: #d8925a; }
#full-ranking { max-height: 190px; overflow-y: auto; text-align: left; margin-bottom: 20px; }

/* ===== Lobby: menu principal del juego ===== */
.lobby-wrap { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.lobby-topbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 26px; gap: 12px; }
.lobby-topbar .links { display: flex; gap: 16px; align-items: center; }
.lobby-topbar .links a, .lobby-topbar .links button.linkish {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 13.5px; font-weight: 600; font-family: var(--font-body);
}
.lobby-topbar .links a:hover, .lobby-topbar .links button.linkish:hover { color: var(--gold2); }

.game-logo { text-align: center; margin: 4px 0 24px; }
.game-logo h1 {
  font-size: clamp(42px, 6.5vw, 76px); font-weight: 700; line-height: 1;
  text-transform: uppercase; letter-spacing: 8px; margin-left: 8px;
}
.game-logo h1 span {
  background: linear-gradient(120deg, #ffe07e, #ffae1a 55%, #ff7a3d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 175, 40, 0.5));
}
.game-logo .tag {
  color: var(--muted); font-family: var(--font-display); font-size: 12.5px;
  letter-spacing: 4.5px; text-transform: uppercase; margin-top: 8px;
}

.lobby-grid {
  flex: 1; display: grid; grid-template-columns: 285px minmax(0, 1fr) 300px; gap: 18px;
  width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px 20px; align-items: start;
}
.lobby-panel {
  background: linear-gradient(165deg, rgba(24, 34, 58, 0.88), rgba(10, 16, 30, 0.94));
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden; backdrop-filter: blur(12px);
}
.lobby-panel .ph {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 13px 18px; border-bottom: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold);
}
.lobby-panel .pb { padding: 16px 18px; }

/* Navegador de salas */
.event-row {
  display: flex; align-items: center; gap: 14px; padding: 15px 18px;
  border-bottom: 1px solid rgba(125, 155, 225, 0.07); transition: background 0.14s;
}
.event-row:hover { background: rgba(255, 255, 255, 0.03); }
.event-row .info { flex: 1; min-width: 0; }
.event-row .t {
  font-family: var(--font-display); font-weight: 700; font-size: 17.5px;
  text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 10px;
  overflow: hidden; white-space: nowrap;
}
.event-row .meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.event-row .meta .online { color: var(--green); font-weight: 700; }
.event-row .num { text-align: center; min-width: 72px; }
.event-row .num .v {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.event-row .num .v.gold { color: var(--gold); text-shadow: 0 0 14px rgba(255, 185, 50, 0.4); }
.event-row .num .k { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; margin-top: 2px; font-weight: 600; }
.event-row .act { min-width: 128px; text-align: center; }
.event-row .act .ev-note { margin-top: 5px; font-size: 10.5px; }
.rows-empty { padding: 26px 18px; color: var(--muted); font-size: 14px; text-align: center; }
.event-row.public-row {
  background: linear-gradient(90deg, rgba(61, 220, 132, 0.07), transparent 60%);
  border-left: 3px solid var(--green);
}

/* Panel de perfil */
.profile-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.profile-head .nm { font-family: var(--font-display); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: 0.5px; }
.profile-head .sub2 { color: var(--muted); font-size: 12px; }
.profile-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.pstat {
  background: rgba(5, 8, 15, 0.55); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 8px; text-align: center;
}
.pstat .v { font-family: var(--font-display); font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.pstat .v.gold { color: var(--gold); }
.pstat .v.green { color: var(--green); }
.pstat .k { font-size: 9.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; margin-top: 3px; font-weight: 600; }

/* Ranking lateral */
.rank-row { display: flex; align-items: center; gap: 10px; padding: 9px 18px; border-bottom: 1px solid rgba(125, 155, 225, 0.06); font-size: 13.5px; }
.rank-row .pos { width: 22px; font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: 14px; }
.rank-row.top1 .pos { color: var(--gold); }
.rank-row.top2 .pos { color: #c8d3e8; }
.rank-row.top3 .pos { color: #d8925a; }
.rank-row .nm { flex: 1; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.rank-row .won { color: var(--green); font-weight: 700; font-family: var(--font-display); font-variant-numeric: tabular-nums; }

/* Barra inferior de estadisticas */
.ticker {
  display: flex; gap: 8px 34px; justify-content: center; flex-wrap: wrap;
  padding: 13px 16px; border-top: 1px solid var(--border);
  background: rgba(5, 8, 15, 0.75); backdrop-filter: blur(10px);
  font-size: 13px; color: var(--muted);
}
.ticker b { color: var(--gold); font-family: var(--font-display); font-size: 15px; font-variant-numeric: tabular-nums; }
.ticker .sep { color: rgba(125, 155, 225, 0.25); }

@media (max-width: 1040px) {
  .lobby-grid { grid-template-columns: 1fr; }
  .panel-rooms { order: 1; }
  .panel-profile { order: 2; }
  .panel-rank { order: 3; }
  .game-logo h1 { letter-spacing: 4px; }
  .event-row { flex-wrap: wrap; }
  .event-row .info { flex-basis: 100%; }
  .event-row .act { flex: 1; }
}

/* ===== Editor de skins ===== */
.skin-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.skin-opt {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: rgba(5, 8, 15, 0.55); border: 1px solid var(--border);
  border-radius: 12px; padding: 8px 6px 6px; cursor: pointer; min-width: 68px;
  transition: border-color 0.13s, background 0.13s;
}
.skin-opt span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600; }
.skin-opt:hover { border-color: var(--border-strong); }
.skin-opt.sel { border-color: var(--gold); background: rgba(255, 201, 61, 0.08); }
.skin-opt.sel span { color: var(--gold); }
.color-well {
  flex: 1; display: flex; align-items: center; gap: 10px; cursor: pointer;
  background: rgba(5, 8, 15, 0.55); border: 1px solid var(--border-strong);
  border-radius: 10px; padding: 8px 12px;
}
.color-well span { font-size: 12px; color: var(--muted); font-weight: 600; }
.color-well input[type="color"] {
  width: 34px; height: 34px; border: none; border-radius: 8px; padding: 0;
  background: none; cursor: pointer;
}
.color-well input[type="color"]::-webkit-color-swatch-wrapper { padding: 2px; }
.color-well input[type="color"]::-webkit-color-swatch { border: 1px solid rgba(255,255,255,0.25); border-radius: 6px; }

/* ===== Admin ===== */
.admin-wrap { max-width: 1120px; margin: 0 auto; padding: 24px 20px; position: relative; z-index: 1; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.settings-h {
  color: var(--gold); font-size: 13px; margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-display);
}

/* ===== Responsivo ===== */
@media (max-width: 760px) {
  .site-header { padding: 12px 14px; }
  .nav { gap: 12px; }
  .nav > a { display: none; }
  .hero { min-height: 58vh; }
  .lb-podium { gap: 8px; }
  .lb-row .stat { width: 64px; font-size: 12.5px; }
  .lb-row .stat:nth-child(4) { display: none; }
}
@media (max-width: 700px) {
  #hud-top { min-width: 140px; padding: 7px 12px; }
  #hud-top .timer { font-size: 22px; }
  #hud-top .pot { font-size: 11.5px; }
  #hud-board { min-width: 152px; padding: 8px 10px; }
  #hud-board .row { font-size: 12px; }
  #hud-board .row:nth-child(n + 6) { display: none; }
  #hud-me { font-size: 12.5px; gap: 12px; padding: 8px 10px; }
  #killfeed { top: 60px; left: 10px; max-width: 200px; }
  .kf-item { font-size: 11.5px; padding: 5px 9px; }
  .audio-wrap { top: 10px; left: 10px; }
  #audio-btn { width: 52px; height: 38px; font-size: 10.5px; }
  #chat { bottom: 12px; left: 10px; width: min(230px, 58vw); }
  .chat-msgs { max-height: 104px; }
  .chat-msg { font-size: 11.5px; }
  #hud-me { bottom: 12px; font-size: 12px; gap: 10px; padding: 7px 10px; white-space: nowrap; }
  #hud-me .rank { font-size: 15px; }
  #hud-me b { font-size: 13px; }
  #start-count .num { font-size: 90px; }
  .podium-grid { gap: 8px; }
  .prize-split { gap: 6px; }
}

/* ---------- Caras BILLIO en overlays ---------- */
.dead-face {
  width: 84px;
  margin-bottom: 10px;
  animation: face-drop 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
.result-face {
  width: 112px;
  margin: 0 auto 12px;
  display: block;
}
.result-face.won { animation: face-bounce 1.6s ease-in-out infinite; }
.result-face.lost { animation: face-drop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
@keyframes face-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes face-drop {
  from { transform: translateY(-26px) scale(0.6); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* ---------- Rebrand BILLIO: mascota picara en header y hero ---------- */
.logo-mascot {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 10px rgba(255, 185, 50, 0.45));
}
.game-logo h1 {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 20px);
}
.hero-mascot {
  width: clamp(54px, 7vw, 92px);
  height: auto;
  animation: mascot-float 3.2s ease-in-out infinite;
  filter: drop-shadow(0 0 26px rgba(255, 175, 40, 0.45));
}
@keyframes mascot-float {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-7px); }
}

/* ---------- Muro de ganadores, liga y espectador ---------- */
.winners-wrap {
  width: 100%; max-width: 1320px; margin: 0 auto; padding: 4px 20px 18px;
}
.winners-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.winners-head .ph { font-size: 13px; }
.winners-sub { color: var(--muted); font-size: 12.5px; }
.winners-row {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: thin;
}
.winner-card {
  min-width: 210px; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px; flex-shrink: 0;
}
.wc-top { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.wc-name { font-weight: 800; font-size: 14px; }
.wc-event { color: var(--muted); font-size: 11.5px; }
.wc-prize {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  color: var(--green); line-height: 1;
}
.wc-meta { color: var(--muted); font-size: 12px; margin: 4px 0 8px; }
.wc-proof { font-size: 12.5px; font-weight: 700; color: var(--cyan); }
.wc-proof.muted { color: var(--muted); font-weight: 600; }

.champ-banner {
  display: flex; align-items: center; gap: 10px;
  margin: 10px 12px 4px; padding: 9px 12px;
  background: rgba(255, 201, 61, 0.07); border: 1px solid rgba(255, 201, 61, 0.3);
  border-radius: 10px; font-size: 12.5px; color: var(--text);
}
.champ-banner b { color: var(--gold); }
.champ-crown {
  width: 18px; height: 14px; flex-shrink: 0;
  background: linear-gradient(180deg, #ffe07e, #ffb02e);
  clip-path: polygon(0 100%, 0 25%, 25% 55%, 50% 0, 75% 55%, 100% 25%, 100% 100%);
}
.league-note {
  margin: 10px 12px; padding: 9px 12px; border-radius: 10px;
  background: rgba(55, 224, 238, 0.06); border: 1px solid rgba(55, 224, 238, 0.22);
  color: var(--muted); font-size: 12px; line-height: 1.55;
}

.spec-badge {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: 2px; color: var(--cyan);
  border: 1px solid rgba(55, 224, 238, 0.45); border-radius: 999px;
  padding: 4px 12px; background: rgba(55, 224, 238, 0.08);
}
