/* =========================================================
   IRON FIST CUP — design system
   Inspirado en la identidad visual de TEKKEN 8: diagonales,
   1P rojo / 2P azul eléctrico, metal pulido y tipografía
   condensada en cursiva. Identidad original, no oficial.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* color */
  --black: #090a0e;
  --black-2: #0e1016;
  --graphite: #1c202b;
  --graphite-2: #252a38;
  --steel: #3a4152;
  --red: #e51c42;
  --red-hot: #ff3b5c;
  --red-deep: #8a0a24;
  --cyan: #23cbe6;
  --cyan-hot: #7deeff;
  --cyan-deep: #0a5f70;
  --white: #f2f3f5;
  --muted: #8b92a5;
  --dim: #5a6175;
  --gold: #ffcf3d;
  --gold-hot: #fff1b8;
  --gold-deep: #b87d00;
  --silver: #cfd5e2;
  --bronze: #e07a3c;
  --green: #3ee08f;

  --line: rgba(242, 243, 245, 0.07);
  --line-strong: rgba(242, 243, 245, 0.16);
  --glass: rgba(9, 10, 14, 0.55);

  /* superficies */
  --surface: linear-gradient(160deg, rgba(37, 42, 56, 0.92) 0%, rgba(20, 23, 31, 0.95) 45%, rgba(14, 16, 22, 0.97) 100%);
  --chrome: linear-gradient(180deg, #ffffff 0%, #e8eaf0 44%, #858c9e 50%, #ffffff 57%, #c4c9d4 100%);
  --gold-metal: linear-gradient(180deg, #fffbe6 0%, var(--gold) 42%, #8f5f00 52%, #ffe17a 62%, var(--gold-deep) 100%);

  /* forma */
  --cut: 16px;
  --cut-sm: 10px;
  --skew: -12deg;
  --clip-panel: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  --clip-para: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  --clip-para-sm: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);

  /* espaciado */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;

  /* tipografía */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-num: "Oxanium", "Barlow Condensed", sans-serif;
  --font-ui: "Chakra Petch", "Segoe UI", sans-serif;
  --font-body: "Barlow", "Segoe UI", sans-serif;

  /* glow */
  --glow-red: 0 0 18px rgba(229, 28, 66, 0.55);
  --glow-cyan: 0 0 18px rgba(35, 203, 230, 0.55);
  --glow-gold: 0 0 24px rgba(255, 207, 61, 0.5);

  /* movimiento */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-hit: cubic-bezier(0.2, 1.4, 0.35, 1);
  --t-fast: 0.15s;
  --t-med: 0.35s;
  --t-slow: 0.6s;
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ---------- 3. Fondo (estático: sin animación continua) ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 0% 0%, rgba(229, 28, 66, 0.26), transparent 65%),
    radial-gradient(ellipse 50% 55% at 100% 100%, rgba(35, 203, 230, 0.18), transparent 65%),
    linear-gradient(180deg, #0c0e14 0%, var(--black) 60%);
}
.bg-fx::before {
  content: "";
  position: absolute;
  inset: -50% -10% 0;
  background:
    linear-gradient(rgba(242, 243, 245, 0.03) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(242, 243, 245, 0.03) 1px, transparent 1px) 0 0 / 64px 64px;
  transform: perspective(700px) rotateX(58deg) translateY(30%);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 55%);
}
.bg-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 38%, rgba(229, 28, 66, 0.08) 40%, transparent 42%),
    linear-gradient(115deg, transparent 56%, rgba(35, 203, 230, 0.06) 57%, transparent 58.5%);
}

/* ---------- 4. Cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: var(--s5);
  padding: 10px 28px;
  background: linear-gradient(180deg, rgba(9, 10, 14, 0.97), rgba(9, 10, 14, 0.88));
  backdrop-filter: blur(8px);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 30%, transparent 50%, var(--cyan) 70%, var(--cyan) 100%);
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: #fff;
  background: linear-gradient(150deg, var(--red-hot), var(--red) 45%, var(--red-deep));
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45);
}
.brand-text { display: flex; flex-direction: column; }
.brand-top {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 2px;
  line-height: 0.9;
  text-transform: uppercase;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  margin-top: 3px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
}

.tabs {
  display: flex;
  gap: 2px;
  margin-left: auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0;
  background: rgba(242, 243, 245, 0.04);
  border: 0;
  padding: 9px 20px 7px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  clip-path: var(--clip-para);
  transition: color var(--t-fast), background var(--t-fast);
}
.tab:hover:not(:disabled) { color: var(--white); background: rgba(242, 243, 245, 0.1); }
.tab.active {
  color: #fff;
  background: linear-gradient(100deg, var(--red-deep), var(--red) 40%, var(--red-hot));
  box-shadow: inset 0 -3px 0 var(--cyan);
}
.tab:disabled { opacity: 0.25; cursor: not-allowed; }
.tools { display: flex; gap: 4px; flex-shrink: 0; }

/* ---------- 5. Layout ---------- */
main {
  flex: 1;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 30px 28px 48px;
}
main.enter > * { animation: enterUp 0.55s var(--ease-out) both; }
main.enter > *:nth-child(2) { animation-delay: 0.06s; }
main.enter > *:nth-child(3) { animation-delay: 0.12s; }
main.enter > *:nth-child(4) { animation-delay: 0.18s; }
@keyframes enterUp { from { opacity: 0; transform: translateY(22px); } }

.site-footer {
  text-align: center;
  padding: 16px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--s5);
  align-items: start;
}
.stack { display: flex; flex-direction: column; gap: var(--s5); min-width: 0; }
.side-sticky { position: sticky; top: 90px; }

/* ---------- 6. Panel ---------- */
.panel {
  position: relative;
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--line);
  clip-path: var(--clip-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.panel::before,
.panel::after {
  content: "";
  position: absolute;
  width: 46px; height: 46px;
  pointer-events: none;
}
.panel::before {
  top: 0; left: 0;
  border-top: 3px solid var(--red);
  border-left: 3px solid var(--red);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.panel::after {
  bottom: 0; right: 0;
  border-bottom: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  opacity: 0.8;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.panel-title h2 {
  position: relative;
  margin: 0;
  padding-left: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
}
.panel-title h2::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 9px;
  background: var(--red);
  transform: skewX(var(--skew));
  box-shadow: var(--glow-red);
}
.panel-title h2 span { color: var(--red-hot); }
.hint {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
}
.link {
  border: 0;
  background: none;
  padding: 4px 0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
}
.link:hover { color: var(--cyan-hot); }

/* ---------- 7. Títulos de sección ---------- */
.section-hero { text-align: center; margin: 4px 0 30px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--cyan);
}
.kicker::before, .kicker::after { content: ""; width: 54px; height: 2px; background: linear-gradient(90deg, transparent, var(--red)); }
.kicker::after { background: linear-gradient(90deg, var(--red), transparent); }
.section-hero h1 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.88;
  text-transform: uppercase;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(4px 4px 0 rgba(229, 28, 66, 0.55)) drop-shadow(-3px -2px 0 rgba(35, 203, 230, 0.3));
}
.section-hero p {
  margin: 12px 0 0;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.sec-title::after { content: ""; order: 1; flex: 1; height: 2px; background: linear-gradient(90deg, var(--red), transparent); }
.sec-title .link { order: 2; }

/* ---------- 8. Botones ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  border: 0;
  cursor: pointer;
  min-height: 44px;
  padding: 12px 28px 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1.5px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(100deg, var(--red-deep) 0%, var(--red) 35%, var(--red-hot) 100%);
  clip-path: var(--clip-para);
  transition: filter var(--t-fast), transform 0.1s;
  user-select: none;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.5s var(--ease-out);
}
.btn:hover:not(:disabled)::after { transform: translateX(120%); }
.btn:hover:not(:disabled) { filter: brightness(1.12); }
.btn:active:not(:disabled) { transform: translateY(1px) scale(0.98); }
.btn:disabled { opacity: 0.32; cursor: not-allowed; filter: grayscale(0.8); }
.btn-lg {
  font-size: 30px;
  padding: 18px 54px 15px;
  clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}
.btn-sm {
  min-height: 36px;
  font-size: 15px;
  padding: 8px 16px 6px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn-ghost { background: rgba(242, 243, 245, 0.07); color: var(--white); }
.btn-ghost:hover:not(:disabled) { background: rgba(242, 243, 245, 0.15); filter: none; }
.btn-danger { background: rgba(229, 28, 66, 0.18); color: var(--red-hot); }
.btn-danger:hover:not(:disabled) { background: var(--red); color: #fff; filter: none; }
.btn-cyan { background: linear-gradient(100deg, var(--cyan-deep) 0%, #109bb3 40%, var(--cyan) 100%); color: #03161b; }
.btn-gold { background: linear-gradient(100deg, var(--gold-deep), var(--gold) 60%, var(--gold-hot)); color: #1b1200; }

.icon-btn {
  width: 42px; height: 42px;
  border: 0;
  background: var(--graphite-2);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background 0.12s;
}
.icon-btn:hover { background: var(--red); }

/* ---------- 9. Chips de estado ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 2px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: var(--clip-para-sm);
}
.chip-pending { background: rgba(242, 243, 245, 0.08); color: var(--muted); }
.chip-live { background: var(--red); color: #fff; }
.chip-done { background: rgba(62, 224, 143, 0.15); color: var(--green); }
.dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.6s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

/* ---------- 10. Botones de marcador ---------- */
.scores { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.score-btn {
  min-width: 46px;
  min-height: 36px;
  padding: 7px 8px 5px;
  border: 0;
  background: rgba(9, 10, 14, 0.75);
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  clip-path: var(--clip-para-sm);
  transition: background 0.12s, color 0.12s, opacity 0.12s, transform 0.1s;
}
.score-btn.l { box-shadow: inset 0 -2px 0 var(--red); }
.score-btn.r { box-shadow: inset 0 -2px 0 var(--cyan); }
.score-btn.l:hover:not(:disabled) { background: rgba(229, 28, 66, 0.4); }
.score-btn.r:hover:not(:disabled) { background: rgba(35, 203, 230, 0.35); }
.score-btn:active:not(:disabled) { transform: scale(0.94); }
.score-btn.sel.l { background: linear-gradient(180deg, var(--red-hot), var(--red)); color: #fff; box-shadow: var(--glow-red); }
.score-btn.sel.r { background: linear-gradient(180deg, var(--cyan-hot), var(--cyan)); color: #03161b; box-shadow: var(--glow-cyan); }
.score-btn:disabled { cursor: default; }
.scores.lg .score-btn { min-width: 60px; min-height: 46px; font-size: 21px; }
.bo-tag {
  width: 100%;
  margin-bottom: 8px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 11. Portada (TournamentHero) ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--s6);
  min-height: 480px;
  padding: 56px 48px;
  margin-bottom: var(--s5);
  overflow: hidden;
  background: var(--black);
  clip-path: var(--clip-panel);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg span { position: absolute; }
.hb-red {
  inset: 0;
  background:
    repeating-linear-gradient(115deg, transparent 0 26px, rgba(0, 0, 0, 0.14) 26px 28px),
    linear-gradient(100deg, #4a0413 0%, #b0122f 40%, var(--red) 58%, #7a0a22 68%);
  clip-path: polygon(0 0, 70% 0, 52% 100%, 0 100%);
}
.hb-blue {
  inset: 0;
  background:
    repeating-linear-gradient(115deg, transparent 0 26px, rgba(0, 0, 0, 0.14) 26px 28px),
    linear-gradient(100deg, #052a33 40%, var(--cyan-deep) 70%, #0d93ab 100%);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 52% 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 62% 50%, rgba(255, 255, 255, 0.12), transparent 70%),
    linear-gradient(90deg, rgba(9, 10, 14, 0.75) 0%, rgba(9, 10, 14, 0.25) 55%, rgba(9, 10, 14, 0.4) 100%),
    linear-gradient(180deg, transparent 50%, rgba(9, 10, 14, 0.7) 100%);
}
.hb-ghost {
  left: -1%;
  bottom: -8%;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(140px, 22vw, 300px);
  line-height: 0.8;
  white-space: nowrap;
  color: rgba(0, 0, 0, 0.28);
  user-select: none;
}
.hb-line {
  top: -20%; bottom: -20%;
  width: 3px;
  background: #fff;
  transform: rotate(16deg);
  box-shadow: 0 0 20px #fff, 0 0 50px var(--cyan);
}
.hb-line.l1 { left: 61%; }
.hb-line.l2 { left: 64%; width: 1px; opacity: 0.5; }
.hb-line.l3 { left: 20%; width: 1px; opacity: 0.2; box-shadow: none; }

.hero-content { position: relative; min-width: 0; }
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 5px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0, 0, 0, 0.55);
  border-left: 3px solid var(--cyan);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.hero-status.live .dot { color: var(--red-hot); }
.hero-status.gold { border-left-color: var(--gold); color: var(--gold); }
.hero-status:not(.live) .dot { animation: none; }
.hero-title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  line-height: 0.82;
  text-transform: uppercase;
}
.hero-title span { display: block; }
.ht-1 {
  font-size: clamp(64px, 10vw, 150px);
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, 0.6));
}
.ht-2 {
  font-size: clamp(64px, 10vw, 150px);
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
  padding-left: 0.6em;
}
.hero-sub {
  max-width: 560px;
  margin: 18px 0 0;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(242, 243, 245, 0.8);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  max-width: 600px;
  margin-top: 26px;
}
.hs {
  padding: 10px 14px 8px;
  background: rgba(0, 0, 0, 0.55);
  border-top: 2px solid var(--red);
  min-width: 0;
}
.hs:nth-child(even) { border-top-color: var(--cyan); }
.hs b {
  display: block;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hs span {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-side { position: relative; min-width: 0; }
.hero-card {
  padding: 26px 26px 24px;
  background: rgba(9, 10, 14, 0.78);
  border: 1px solid var(--line-strong);
  clip-path: var(--clip-panel);
  backdrop-filter: blur(6px);
}
.hero-card.gold { border-color: rgba(255, 207, 61, 0.5); box-shadow: inset 0 0 60px rgba(255, 207, 61, 0.1); }
.hc-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
}
.hero-card.gold .hc-kicker { color: var(--gold); }
.hc-name {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 44px;
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.hero-card.gold .hc-name { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hc-sub { margin-bottom: 18px; color: var(--muted); font-size: 15px; }
.hc-sub b { color: var(--white); }
.hc-vs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 18px 0 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
}
.hc-p1, .hc-p2 { font-size: 30px; line-height: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-p1 { color: #fff; text-shadow: 0 0 18px rgba(229, 28, 66, 0.9); }
.hc-p2 { text-align: right; color: #fff; text-shadow: 0 0 18px rgba(35, 203, 230, 0.9); }
.hc-x { font-size: 40px; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* accesos */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 36px;
}
.tile {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: end;
  gap: 2px 10px;
  min-height: 116px;
  padding: 18px 22px 16px;
  text-align: left;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  background: var(--surface);
  clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  transition: transform var(--t-fast), background var(--t-fast);
}
.tile::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--red);
  transform: skewX(var(--skew));
  transform-origin: bottom;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease-out);
}
.tile:hover:not(:disabled) { transform: translateY(-3px); }
.tile:hover:not(:disabled)::after { transform: translateX(120%); }
.tile.primary { background: linear-gradient(110deg, var(--red-deep), var(--red) 60%, var(--red-hot)); }
.tile.primary::before { background: #fff; }
.tile:disabled { opacity: 0.35; cursor: not-allowed; }
.tile-num {
  position: absolute;
  top: 8px; right: 26px;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
}
.tile.primary .tile-num { color: rgba(0, 0, 0, 0.18); }
.tile-title {
  grid-column: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
}
.tile-meta {
  grid-column: 1;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tile.primary .tile-meta { color: rgba(255, 255, 255, 0.85); }
.tile-arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: var(--cyan);
  transition: transform var(--t-fast);
}
.tile.primary .tile-arrow { color: #fff; }
.tile:hover:not(:disabled) .tile-arrow { transform: translateX(4px); }

.home-podium { margin-bottom: 10px; }

/* ---------- 12. Pantalla VS (combate en curso) ---------- */
.vs-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px 16px;
  min-height: 260px;
  padding: 50px 40px 26px;
  margin-bottom: var(--s5);
  overflow: hidden;
  background: var(--black);
  clip-path: var(--clip-panel);
  isolation: isolate;
}
.vs-bg { position: absolute; inset: 0; z-index: -1; }
.vs-bg .vs-red, .vs-bg .vs-blue { position: absolute; inset: 0; }
.vs-bg .vs-red {
  background:
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(0, 0, 0, 0.12) 22px 24px),
    linear-gradient(100deg, #5c0517 0%, var(--red) 35%, #a10f2e 55%);
  clip-path: polygon(0 0, 57% 0, 45% 100%, 0 100%);
}
.vs-bg .vs-blue {
  background:
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(0, 0, 0, 0.12) 22px 24px),
    linear-gradient(100deg, #0a7f95 45%, var(--cyan) 70%, #064452 100%);
  clip-path: polygon(57% 0, 100% 0, 100% 100%, 45% 100%);
}
.vs-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 90% at 51% 50%, rgba(255, 255, 255, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
}
.vs-bg .vs-slash {
  position: absolute;
  top: -10%; bottom: -10%;
  left: 51%;
  width: 7px;
  background: #fff;
  transform: translateX(-50%) rotate(14deg);
  box-shadow: 0 0 18px #fff, 0 0 40px var(--cyan), 0 0 70px var(--red);
}
.vs-bg .vs-ghost {
  position: absolute;
  top: 50%;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 260px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.22);
  transform: translateY(-50%);
  white-space: nowrap;
  user-select: none;
}
.vs-bg .vs-ghost.g1 { left: -2%; }
.vs-bg .vs-ghost.g2 { right: -2%; }
.vs-label {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  padding: 7px 26px 6px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--black);
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 14px 100%);
}
.vs-status { position: absolute; top: 12px; left: 22px; }
.vs-side { min-width: 0; position: relative; }
.vs-side.p2 { text-align: right; }
.vs-tag {
  display: inline-block;
  padding: 3px 10px 2px;
  margin-bottom: 6px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  background: rgba(0, 0, 0, 0.55);
  clip-path: var(--clip-para-sm);
}
.vs-side.p1 .vs-tag { color: var(--red-hot); }
.vs-side.p2 .vs-tag { color: var(--cyan-hot); }
.vs-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(34px, 5.6vw, 76px);
  line-height: 0.9;
  text-transform: uppercase;
  color: #fff;
  overflow-wrap: anywhere;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}
.vs-char {
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.hp {
  position: relative;
  height: 12px;
  margin-top: 12px;
  max-width: 340px;
  background: rgba(0, 0, 0, 0.6);
  transform: skewX(var(--skew));
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.vs-side.p2 .hp { margin-left: auto; transform: skewX(12deg); }
.hp i {
  position: absolute;
  inset: 1px;
  background: linear-gradient(180deg, #fff6c9 0%, var(--gold) 45%, var(--gold-deep) 100%);
}
.hp i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(0, 0, 0, 0.35) 22px 24px);
}
.vs-mid {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(64px, 9vw, 130px);
  line-height: 0.8;
  padding: 0 10px;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, 0.65)) drop-shadow(0 0 22px rgba(255, 255, 255, 0.5));
}
.vs-actions {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 10px;
  padding: 12px 22px 14px;
  background: rgba(0, 0, 0, 0.6);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.vs-foot {
  grid-column: 1 / -1;
  justify-self: center;
  padding: 6px 20px 5px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.65);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.vs-foot strong { color: var(--white); }

/* entrada (solo cuando cambia el combate) */
.vs-hero.intro .vs-red { animation: inLeft 0.6s var(--ease-out) both; }
.vs-hero.intro .vs-blue { animation: inRight 0.6s var(--ease-out) both; }
.vs-hero.intro .vs-side.p1 { animation: inLeft 0.7s 0.1s var(--ease-out) both; }
.vs-hero.intro .vs-side.p2 { animation: inRight 0.7s 0.1s var(--ease-out) both; }
.vs-hero.intro .vs-mid { animation: slam 0.55s 0.35s var(--ease-hit) both; }
.vs-hero.intro .vs-slash { animation: slashIn 0.5s 0.25s var(--ease-out) both; }
@keyframes inLeft { from { transform: translateX(-60%); opacity: 0; } }
@keyframes inRight { from { transform: translateX(60%); opacity: 0; } }
@keyframes slashIn { from { transform: translateX(-50%) rotate(14deg) scaleY(0); } }

/* ---------- 13. TournamentProgress ---------- */
.t-progress { margin-bottom: 18px; }
.t-progress-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.t-value { font-family: var(--font-num); font-size: 14px; color: var(--white); letter-spacing: 0; }
.t-value b { font-size: 18px; color: var(--cyan); }
.t-round { margin-left: auto; color: var(--cyan); }
.heat {
  position: relative;
  height: 12px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--line-strong);
  transform: skewX(var(--skew));
  overflow: hidden;
}
.heat i {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan) 60%, var(--cyan-hot));
  box-shadow: var(--glow-cyan);
  transition: width var(--t-slow) var(--ease-out);
}
.heat i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(0, 0, 0, 0.4) 18px 20px);
}

/* ---------- 14. Jornadas y VersusCard ---------- */
.round-block + .round-block { margin-top: 22px; }
.round-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.round-head::after { content: ""; order: 5; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.rh-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.round-block.live .rh-title { color: var(--red-hot); }
.rh-rest { font-family: var(--font-ui); font-size: 11px; letter-spacing: 1px; color: var(--muted); }
.rh-done {
  order: 6;
  padding: 2px 8px 1px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(62, 224, 143, 0.12);
  clip-path: var(--clip-para-sm);
}
.vc-list { display: flex; flex-direction: column; gap: 6px; }

.vs-card {
  position: relative;
  padding: 8px 18px 10px;
  background:
    linear-gradient(90deg, rgba(229, 28, 66, 0.16) 0%, transparent 30%, transparent 70%, rgba(35, 203, 230, 0.14) 100%),
    rgba(28, 32, 43, 0.85);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background var(--t-med), opacity var(--t-med);
}
.vs-card::before, .vs-card::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 4px;
  transform: skewX(var(--skew));
}
.vs-card::before { left: 6px; background: var(--red); }
.vs-card::after { right: 6px; background: var(--cyan); }
.vs-card.st-live {
  background:
    linear-gradient(90deg, rgba(229, 28, 66, 0.4) 0%, rgba(28, 32, 43, 0.92) 35%, rgba(28, 32, 43, 0.92) 65%, rgba(35, 203, 230, 0.36) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.vs-card.st-done {
  background:
    linear-gradient(90deg, rgba(229, 28, 66, 0.06) 0%, transparent 30%, transparent 70%, rgba(35, 203, 230, 0.05) 100%),
    rgba(14, 16, 22, 0.85);
}
.vc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 18px;
  margin-bottom: 4px;
  padding: 0 4px;
}
.vc-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.vc-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 4px;
}
.vc-fighter { min-width: 0; }
.vc-fighter.p2 { text-align: right; }
.vc-name {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
  min-width: 0;
}
.vc-fighter.p2 .vc-name { flex-direction: row-reverse; }
.vc-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-pos { font-family: var(--font-num); font-size: 11px; font-weight: 700; color: var(--muted); }
.vc-char {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vc-fighter.win .vc-n { color: var(--gold); text-shadow: var(--glow-gold); }
.vc-fighter.lose { opacity: 0.45; }
.vc-vs {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  color: var(--dim);
}
.st-live .vc-vs { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vc-score { display: flex; align-items: center; gap: 8px; }
.vc-score b {
  min-width: 34px;
  padding: 4px 6px 2px;
  text-align: center;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.5);
  clip-path: var(--clip-para-sm);
}
.vc-score b.w { color: #1b1200; background: var(--gold); }
.vc-score i { width: 8px; height: 2px; background: var(--dim); }
.vc-actions { margin-top: 8px; }
.st-done .vc-actions .score-btn:not(.sel) { opacity: 0.25; }
.st-done .vc-actions .score-btn:not(.sel):hover { opacity: 1; }

/* ---------- 15. RankingTable ---------- */
.rank { display: flex; flex-direction: column; gap: 4px; }
.rank-head, .rank-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) repeat(5, 38px) 50px 76px 56px;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.rank.compact .rank-head, .rank.compact .rank-row { grid-template-columns: 40px minmax(0, 1fr) repeat(3, 30px) 44px 48px; }
.rank.compact .c-g, .rank.compact .c-form { display: none; }
.rank-head {
  padding: 0 12px 4px 0;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.rank-row {
  position: relative;
  min-height: 52px;
  padding: 0 12px 0 0;
  font-family: var(--font-num);
  font-weight: 600;
  font-size: 15px;
  background: rgba(9, 10, 14, 0.55);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background var(--t-fast);
}
.rank-row:hover { background: rgba(37, 42, 56, 0.85); }
.r-name { text-align: left; min-width: 0; }
.r-name b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.05;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.r-name small {
  display: block;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
}
.r-pos {
  align-self: stretch;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 26px;
  color: var(--dim);
  background: rgba(0, 0, 0, 0.35);
}
.r-pts {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
}
.r-diff.up, .pod-meta .up { color: var(--green); }
.r-diff.down, .pod-meta .down { color: var(--red-hot); }

.rank-row.q { background: linear-gradient(90deg, rgba(229, 28, 66, 0.16), rgba(9, 10, 14, 0.55) 55%); }
.rank-row.q .r-pos { color: var(--white); box-shadow: inset 4px 0 0 var(--red); }
.rank-row.top1 { background: linear-gradient(90deg, rgba(255, 207, 61, 0.22), rgba(9, 10, 14, 0.55) 60%); }
.rank-row.top1 .r-pos { color: #1b1200; background: var(--gold); box-shadow: none; }
.rank-row.top1 .r-name b, .rank-row.top1 .r-pts { color: var(--gold); }
.rank-row.top2 .r-pos { color: var(--black); background: var(--silver); box-shadow: none; }
.rank-row.top3 .r-pos { color: var(--black); background: var(--bronze); box-shadow: none; }
.rank-row.cut { margin-bottom: 10px; }
.rank-row.cut::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.form { display: inline-flex; gap: 3px; }
.form span {
  display: inline-grid;
  place-items: center;
  width: 20px; height: 18px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}
.form .w { background: var(--green); color: #032013; }
.form .l { background: var(--red); color: #fff; }

/* cambio de posición */
.moved-up { animation: movedUp 1.2s ease-out; }
.moved-down { animation: movedDown 1.2s ease-out; }
@keyframes movedUp { 0%, 30% { box-shadow: inset 0 0 0 2px var(--green), 0 0 18px rgba(62, 224, 143, 0.4); } }
@keyframes movedDown { 0%, 30% { box-shadow: inset 0 0 0 2px var(--red), 0 0 18px rgba(229, 28, 66, 0.4); } }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--dim);
}
.legend b { color: var(--muted); font-family: var(--font-ui); }
.legend b.cyan { color: var(--cyan); }
.legend + .legend { margin-top: 6px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  text-align: center;
}
.cta-row .note {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.cta-row.bottom { margin-top: 36px; }

/* ---------- 16. Podio ---------- */
.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto var(--s5);
}
.podium:has(> .pod:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 660px; }
.pod {
  position: relative;
  padding: 24px 20px 20px;
  text-align: center;
  overflow: hidden;
  background: var(--surface);
  clip-path: var(--clip-panel);
  border-top: 3px solid var(--steel);
}
.pod::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 24px, rgba(255, 255, 255, 0.025) 24px 26px);
  pointer-events: none;
}
.pod-1 {
  padding-top: 40px;
  padding-bottom: 30px;
  border-top-color: var(--gold);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 207, 61, 0.26), transparent 70%),
    var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 207, 61, 0.35);
}
.pod-2 { border-top-color: var(--silver); }
.pod-3 { border-top-color: var(--bronze); }
.pod-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px 4px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1b1200;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 8px 100%);
}
.pod-rank {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 64px;
  line-height: 0.85;
  color: var(--silver);
}
.pod-1 .pod-rank { font-size: 92px; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(255, 207, 61, 0.4)); }
.pod-3 .pod-rank { color: var(--bronze); }
.pod-name {
  margin-top: 6px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pod-1 .pod-name { font-size: 40px; }
.pod-char {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
}
.pod-pts { margin-top: 12px; }
.pod-pts b { font-family: var(--font-num); font-weight: 800; font-size: 40px; line-height: 1; }
.pod-1 .pod-pts b { font-size: 52px; color: var(--gold); }
.pod-pts span { margin-left: 4px; font-family: var(--font-ui); font-size: 11px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.pod-meta { display: flex; justify-content: center; gap: 12px; margin-top: 6px; font-family: var(--font-num); font-size: 13px; color: var(--muted); }

/* ---------- 17. Luchadores ---------- */
.f-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}
.f-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 170px;
  padding: 16px 20px 14px;
  text-align: left;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 30%, rgba(9, 10, 14, 0.85) 100%),
    linear-gradient(135deg, var(--graphite-2), var(--black-2));
  clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  transition: transform var(--t-med) var(--ease-out), filter var(--t-fast);
}
.f-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(229, 28, 66, 0.55), transparent 55%, rgba(35, 203, 230, 0.4));
  opacity: 0;
  transition: opacity var(--t-med);
}
.f-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--steel);
  transition: background var(--t-fast);
}
.f-card:hover { transform: translateY(-4px); }
.f-card:hover::before { opacity: 0.6; }
.f-card:hover::after { background: var(--cyan); }
.f-card.sel { transform: translateY(-4px); }
.f-card.sel::before { opacity: 1; }
.f-card.sel::after { background: #fff; box-shadow: 0 0 14px #fff; }
.f-card > span { position: relative; }
.f-ghost {
  position: absolute !important;
  top: 6px; left: 12px; right: -40px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 72px;
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.f-pos {
  position: absolute !important;
  top: 10px; right: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: var(--dim);
}
.f-card.lead .f-pos { color: var(--gold); }
.f-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.f-char {
  margin-top: 2px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
}
.f-card.sel .f-char { color: #fff; }
.f-stats { display: flex; gap: 12px; margin-top: 10px; font-family: var(--font-ui); font-size: 10px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.f-stats b { margin-right: 3px; font-family: var(--font-num); font-size: 16px; color: var(--white); }
.f-bar { display: block; height: 3px; margin-top: 10px; background: rgba(255, 255, 255, 0.08); }
.f-bar i { display: block; height: 100%; background: var(--green); }

.f-detail {
  position: relative;
  margin-bottom: var(--s5);
  padding: 30px 32px 26px;
  overflow: hidden;
  background: var(--surface);
  clip-path: var(--clip-panel);
  isolation: isolate;
}
.fd-bg { position: absolute; inset: 0; z-index: -1; }
.fd-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(229, 28, 66, 0.45) 0%, rgba(229, 28, 66, 0.1) 40%, transparent 55%),
    linear-gradient(105deg, transparent 75%, rgba(35, 203, 230, 0.2) 100%);
}
.fd-ghost {
  position: absolute;
  right: -2%; top: -10%;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(120px, 18vw, 240px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.04);
}
.fd-top { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.fd-pos {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 92px; height: 92px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--red);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}
.fd-pos span { margin-bottom: -18px; font-family: var(--font-ui); font-size: 10px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.fd-pos b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 58px; line-height: 1; }
.fd-id { min-width: 0; }
.fd-kicker { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--cyan); }
.fd-name {
  margin: 4px 0 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.9;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.55));
}
.f-detail.swap .fd-name, .f-detail.swap .fd-pos { animation: inLeft 0.45s var(--ease-out) both; }

.pstats {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.ps {
  position: relative;
  padding: 12px 14px 10px;
  background: rgba(0, 0, 0, 0.45);
  border-top: 2px solid var(--steel);
  animation: enterUp 0.5s calc(var(--i) * 0.05s) var(--ease-out) both;
}
.ps.main { border-top-color: var(--red); background: rgba(229, 28, 66, 0.14); }
.ps b { display: block; font-family: var(--font-num); font-weight: 800; font-size: 30px; line-height: 1.05; }
.ps.main b { color: #fff; }
.ps > span { font-family: var(--font-ui); font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.ps-bar { display: block; height: 3px; margin-top: 6px; background: rgba(255, 255, 255, 0.08); }
.ps-bar i { display: block; height: 100%; background: var(--green); transition: width var(--t-slow) var(--ease-out); }

.fd-log { margin-top: 22px; }
.fd-log-title {
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.fd-log { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; }
.fd-log-title { grid-column: 1 / -1; }
.log-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding-right: 12px;
  background: rgba(0, 0, 0, 0.35);
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.log-res { align-self: stretch; display: grid; place-items: center; font-family: var(--font-ui); font-weight: 700; font-size: 12px; background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.log-row.w .log-res { background: var(--green); color: #032013; }
.log-row.l .log-res { background: var(--red); color: #fff; }
.log-vs { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-vs b { font-family: var(--font-display); font-weight: 800; font-size: 18px; text-transform: uppercase; color: var(--white); }
.log-meta { font-family: var(--font-ui); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); }
.log-score { font-family: var(--font-num); font-weight: 800; font-size: 17px; }
.log-row.p { opacity: 0.6; }

/* ---------- 18. Semifinales ---------- */
.semis { margin-bottom: var(--s6); }
.semis-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.semis .vs-card { padding: 12px 22px 14px; }
.semis .vc-name { font-size: 30px; }
.semis .vc-score b { font-size: 30px; min-width: 42px; }

/* ---------- 19. Gran Final ---------- */
.gf {
  position: relative;
  margin-bottom: var(--s6);
  padding: 64px 48px 34px;
  overflow: hidden;
  background: var(--black);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  isolation: isolate;
}
.gf-bg { position: absolute; inset: 0; z-index: -1; }
.gf-bg span { position: absolute; }
.gf-red {
  inset: 0;
  background:
    repeating-linear-gradient(115deg, transparent 0 30px, rgba(0, 0, 0, 0.14) 30px 32px),
    linear-gradient(100deg, #3d0310 0%, #a3102c 35%, var(--red) 50%);
  clip-path: polygon(0 0, 56% 0, 44% 100%, 0 100%);
}
.gf-blue {
  inset: 0;
  background:
    repeating-linear-gradient(115deg, transparent 0 30px, rgba(0, 0, 0, 0.14) 30px 32px),
    linear-gradient(100deg, var(--cyan) 50%, #0a7f95 70%, #042b33 100%);
  clip-path: polygon(56% 0, 100% 0, 100% 100%, 44% 100%);
}
.gf-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(9, 10, 14, 0.94) 72%, var(--black) 100%);
}
.gf-ghost {
  left: 50%; top: 2%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(160px, 30vw, 420px);
  line-height: 0.8;
  color: rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  user-select: none;
}
.gf-glow {
  left: 50%; top: 28%;
  width: 520px; height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 207, 61, 0.35), rgba(255, 207, 61, 0) 65%);
  z-index: 1;
}
.gf-slash {
  top: -10%; height: 360px;
  left: 50%;
  width: 9px;
  background: linear-gradient(180deg, #fff 55%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-50%) rotate(12deg);
  transform-origin: top;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 207, 61, 0.6);
  z-index: 1;
}
.gf-label {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 18px 100%);
}
.gf-label span {
  padding: 9px 26px 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}
.gf-label span:first-child { color: #1b1200; background: var(--gold); }
.gf-label .gf-bo { color: var(--white); background: var(--black); }
.gf-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}
.gf-side { min-width: 0; }
.gf-side.p2 { text-align: right; }
.gf-seed {
  display: inline-block;
  padding: 4px 12px 3px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.6);
  clip-path: var(--clip-para-sm);
}
.gf-side.p1 .gf-seed { color: var(--red-hot); }
.gf-side.p2 .gf-seed { color: var(--cyan-hot); }
.gf-name {
  margin-top: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(44px, 7.5vw, 112px);
  line-height: 0.88;
  text-transform: uppercase;
  color: #fff;
  overflow-wrap: anywhere;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
}
.gf-side.tbd .gf-name { color: rgba(255, 255, 255, 0.35); }
.gf-char {
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.gf-side.lose { opacity: 0.4; }
.gf-side.win .gf-name { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.6)) drop-shadow(var(--glow-gold)); text-shadow: none; }
.gf-winner {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 14px 3px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1b1200;
  background: var(--gold);
  clip-path: var(--clip-para-sm);
}
.pips { display: flex; gap: 6px; margin-top: 16px; }
.gf-side.p2 .pips { justify-content: flex-end; }
.pip {
  width: 34px; height: 14px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transform: skewX(var(--skew));
}
.pip.on {
  background: linear-gradient(180deg, var(--gold-hot), var(--gold) 50%, var(--gold-deep));
  border-color: var(--gold-hot);
  box-shadow: var(--glow-gold);
  animation: pipOn 0.45s calc(var(--i) * 0.08s) var(--ease-hit) both;
}
@keyframes pipOn { from { transform: skewX(var(--skew)) scale(0.2); opacity: 0; } }
.gf-center { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gf-center .chip { background: var(--black); box-shadow: inset 0 0 0 1px currentColor; }
.gf-center .chip-live { background: var(--red); box-shadow: none; }
.gf-vs {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(80px, 12vw, 180px);
  line-height: 0.8;
  padding: 0 12px;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(6px 6px 0 rgba(0, 0, 0, 0.7)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
}
.gf-score { display: flex; align-items: center; gap: 14px; }
.gf-score b {
  min-width: 80px;
  padding: 10px 14px 6px;
  text-align: center;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 72px;
  line-height: 1;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.7);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.gf-score b.w { color: #1b1200; background: var(--gold-metal); }
.gf-score i { width: 14px; height: 4px; background: #fff; }

.tape {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 34px auto 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tape-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 150px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 10px;
}
.tape-v { font-family: var(--font-num); font-weight: 700; font-size: 20px; color: var(--muted); }
.tape-v.a { text-align: right; }
.tape-v.best { color: #fff; }
.tape-l {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.tape-bar { position: relative; height: 8px; background: rgba(255, 255, 255, 0.06); transform: skewX(var(--skew)); }
.tape-bar i { position: absolute; top: 0; bottom: 0; transition: width var(--t-slow) var(--ease-out); }
.tape-bar.a i { right: 0; background: linear-gradient(270deg, var(--red-hot), var(--red-deep)); }
.tape-bar.b i { left: 0; background: linear-gradient(90deg, var(--cyan-hot), var(--cyan-deep)); }
.tape-row.plain .tape-bar { background: none; }
.gf-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}
.gf-wait {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}
.gf.st-done .gf-glow { background: radial-gradient(circle, rgba(255, 207, 61, 0.5), rgba(255, 207, 61, 0) 65%); }

/* ---------- 20. Campeón ---------- */
.champ {
  position: relative;
  margin-bottom: var(--s6);
  padding: 48px 24px 36px;
  text-align: center;
  overflow: hidden;
  clip-path: var(--clip-panel);
  isolation: isolate;
}
.champ-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 70% at 50% 35%, rgba(255, 207, 61, 0.3), transparent 70%),
    repeating-conic-gradient(from 0deg at 50% 35%, rgba(255, 207, 61, 0.06) 0deg 6deg, transparent 6deg 18deg),
    linear-gradient(180deg, #16130a, var(--black));
  box-shadow: inset 0 0 0 1px rgba(255, 207, 61, 0.45);
}
.champ-badge {
  position: relative;
  width: 74px; height: 74px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  background: var(--gold-metal);
  box-shadow: var(--glow-gold), inset 0 0 0 3px rgba(0, 0, 0, 0.3);
  animation: badgeIn 0.7s var(--ease-hit) both;
}
.champ-badge span { transform: rotate(-45deg); font-size: 34px; line-height: 1; color: #1b1200; }
.champ-badge.big { width: 92px; height: 92px; margin-top: 18px; }
.champ-badge.big span { font-size: 42px; }
@keyframes badgeIn { from { transform: rotate(45deg) scale(0); } }
.champ-kicker {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
}
.champ-name {
  padding-top: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(64px, 12vw, 160px);
  line-height: 0.86;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  background: var(--gold-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(255, 207, 61, 0.45));
}
.champ-char { margin-top: 10px; font-family: var(--font-ui); font-weight: 600; letter-spacing: 4px; text-transform: uppercase; }
.champ-result { margin-top: 14px; font-family: var(--font-ui); font-size: 16px; letter-spacing: 1px; color: rgba(242, 243, 245, 0.85); }
.champ-result b { font-family: var(--font-num); color: var(--gold); text-transform: uppercase; }
.champ-record { margin: 6px 0 20px; font-family: var(--font-num); font-size: 14px; color: var(--muted); }
.champ-record span { font-family: var(--font-ui); letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); }

/* ---------- 21. Inscripción ---------- */
.counter { display: flex; align-items: center; gap: 6px; }
.counter-value {
  width: 92px;
  text-align: center;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  padding: 2px 0 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  border-bottom: 3px solid var(--red);
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.counter-value::-webkit-inner-spin-button,
.counter-value::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.counter-value:focus { border-bottom-color: var(--cyan); }
.player-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.player-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  background: linear-gradient(90deg, rgba(229, 28, 66, 0.12), rgba(28, 32, 43, 0.9) 35%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background var(--t-fast);
}
.player-row:focus-within { background: linear-gradient(90deg, rgba(229, 28, 66, 0.3), rgba(37, 42, 56, 0.95) 45%); }
.player-row:focus-within .num { color: #fff; background: var(--red); }
.player-row .num {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 24px;
  color: var(--red-hot);
  background: rgba(0, 0, 0, 0.45);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  transition: background var(--t-fast), color var(--t-fast);
}
.player-row .fields { display: flex; flex-direction: column; min-width: 0; }
.player-row input { width: 100%; border: 0; background: transparent; padding: 8px 12px 6px 4px; outline: none; }
.player-row input.nick {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.player-row input.nick::placeholder { text-transform: none; font-family: var(--font-body); font-size: 15px; font-weight: 500; }
.player-row input.char { font-family: var(--font-ui); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); }
.player-row input::placeholder { color: var(--dim); }
.player-row input.invalid { background: rgba(229, 28, 66, 0.25); color: #fff; }

.opt-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
}
.opt-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.panel-title + .opt-label { margin-top: 0; }
.option-group { display: flex; flex-direction: column; gap: 8px; }
.option {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 12px 16px;
  background: var(--glass);
  border-left: 3px solid var(--steel);
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.option:hover { background: rgba(37, 42, 56, 0.8); border-left-color: var(--muted); }
.option.selected { background: linear-gradient(90deg, rgba(229, 28, 66, 0.22), rgba(229, 28, 66, 0.04) 70%); border-left-color: var(--red); }
.option.disabled { opacity: 0.4; pointer-events: none; }
.option input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  margin: 4px 0 0;
  border: 2px solid var(--muted);
  transform: rotate(45deg);
  cursor: pointer;
}
.option input:checked { border-color: var(--red); background: var(--red); box-shadow: var(--glow-red), inset 0 0 0 2px var(--black); }
.opt-title { font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase; line-height: 1.1; }
.opt-desc { color: var(--muted); font-size: 14px; margin-top: 2px; }
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px 2px;
  vertical-align: 3px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #04141a;
  background: var(--cyan);
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}
.summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 20px;
}
.sum-item { padding: 10px 14px 8px; background: rgba(0, 0, 0, 0.45); border-top: 2px solid var(--cyan); }
.sum-item b { display: block; font-family: var(--font-num); font-weight: 800; font-size: 28px; line-height: 1.1; }
.sum-item span { font-family: var(--font-ui); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.summary p { grid-column: 1 / -1; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.actions-center { display: flex; justify-content: center; margin-top: 34px; }
.error-msg { min-height: 1.4em; margin-top: 12px; text-align: center; font-family: var(--font-ui); font-weight: 700; letter-spacing: 1px; color: var(--red-hot); }

/* ---------- 22. Overlays (K.O. / FIGHT) ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
  background:
    repeating-linear-gradient(115deg, transparent 0 60px, rgba(229, 28, 66, 0.06) 60px 64px),
    radial-gradient(ellipse at center, rgba(40, 6, 14, 0.94), rgba(5, 5, 8, 0.98) 70%);
  animation: fadeIn 0.25s;
}
.overlay[hidden] { display: none; }
.overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  animation: flash 0.45s ease-out forwards;
  pointer-events: none;
}
.overlay::after {
  content: "";
  position: absolute;
  left: -10%; right: -10%;
  top: 50%;
  height: 46%;
  transform: translateY(-50%) skewY(-6deg);
  background: linear-gradient(90deg, transparent, rgba(229, 28, 66, 0.3) 20%, rgba(229, 28, 66, 0.3) 80%, transparent);
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--cyan);
  animation: band 0.5s 0.1s var(--ease-out) both;
  pointer-events: none;
}
@keyframes flash { from { opacity: 0.9; } to { opacity: 0; } }
@keyframes band { from { transform: translateY(-50%) skewY(-6deg) scaleX(0); } }
@keyframes fadeIn { from { opacity: 0; } }
.overlay-inner { position: relative; z-index: 2; width: 100%; max-width: 960px; text-align: center; }
.overlay .ko-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(110px, 24vw, 280px);
  line-height: 0.8;
  background: linear-gradient(180deg, #ffffff 0%, #ffd0d8 40%, var(--red) 55%, #ff8fa3 70%, var(--red-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(6px 6px 0 #000) drop-shadow(0 0 40px rgba(229, 28, 66, 0.9));
  animation: slam 0.6s var(--ease-hit) both, shake 0.4s 0.55s both;
}
.overlay.fight .ko-text {
  background: linear-gradient(180deg, #ffffff 0%, #d9f8ff 40%, var(--cyan) 55%, #b3f3ff 70%, var(--cyan-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(6px 6px 0 #000) drop-shadow(0 0 40px rgba(35, 203, 230, 0.9));
}
.overlay .fight-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 54px);
  letter-spacing: 6px;
  text-transform: uppercase;
  animation: rise 0.5s var(--ease-out) both;
}
.overlay .champ-badge { animation: badgeIn 0.7s 0.4s var(--ease-hit) both; }
.overlay .champ-name { animation: rise 0.8s 0.5s var(--ease-out) both; }
.overlay .champ-kicker, .overlay .champ-char, .overlay .champ-result { animation: rise 0.8s 0.7s var(--ease-out) both; }
.overlay .btn { margin-top: 30px; animation: rise 0.8s 1s var(--ease-out) both; }
@keyframes slam {
  0% { transform: scale(3.2) skewX(-8deg); opacity: 0; }
  60% { transform: scale(0.92) skewX(-8deg); opacity: 1; }
  100% { transform: scale(1) skewX(-8deg); opacity: 1; }
}
@keyframes shake {
  0%, 100% { translate: 0 0; }
  20% { translate: -8px 4px; }
  40% { translate: 7px -5px; }
  60% { translate: -5px 3px; }
  80% { translate: 3px -2px; }
}
@keyframes rise { from { transform: translateY(30px); opacity: 0; } }
.spark {
  position: absolute;
  top: -20px;
  z-index: 1;
  width: 4px; height: 22px;
  transform: skewX(-20deg);
  animation: fall linear forwards;
}
@keyframes fall { to { transform: translateY(115vh) rotate(540deg); } }

/* ---------- 23. Responsive: tablet ---------- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 48px 36px; }
  .hero-side { max-width: 560px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .side-sticky { position: static; }
  .pstats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pstats .ps.main { grid-column: span 1; }
}

@media (max-width: 860px) {
  .site-header { flex-wrap: wrap; gap: 10px; padding: 8px 16px 0; }
  .tools { margin-left: auto; }
  .tabs { order: 3; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px 8px; }
  .semis-grid { grid-template-columns: minmax(0, 1fr); }
  .fd-log { grid-template-columns: minmax(0, 1fr); }
  .gf { padding: 60px 24px 28px; }
  .tape-row { grid-template-columns: 56px minmax(0, 1fr) 110px minmax(0, 1fr) 56px; gap: 6px; }
}

/* ---------- 24. Responsive: móvil ---------- */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .brand-mark { width: 38px; height: 38px; font-size: 32px; }
  .brand-top { font-size: 21px; }
  .brand-sub { font-size: 9px; letter-spacing: 1.5px; }
  .tools .btn-sm { min-height: 32px; font-size: 13px; padding: 7px 10px 5px; }
  .tab { font-size: 16px; padding: 8px 14px 6px; }
  main { padding: 18px 16px 36px; }
  .panel { padding: 18px 14px; }
  .panel-title h2 { font-size: 26px; }

  /* portada */
  .hero { min-height: 0; padding: 36px 20px 24px; gap: 22px; }
  .hb-red { clip-path: polygon(0 0, 100% 0, 100% 52%, 0 70%); }
  .hb-blue { clip-path: polygon(0 70%, 100% 52%, 100% 100%, 0 100%); }
  .hb-line { display: none; }
  .ht-2 { padding-left: 0.4em; -webkit-text-stroke-width: 1.5px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-name { font-size: 34px; }
  .hc-p1, .hc-p2 { font-size: 24px; }
  .tiles { gap: 8px; }
  .tile { min-height: 96px; padding: 14px 16px 12px 20px; }
  .tile-title { font-size: 24px; }
  .tile-arrow { font-size: 32px; }

  /* pantalla VS: corte horizontal */
  .vs-hero { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 44px 16px 18px; text-align: center; }
  .vs-side.p1, .vs-side.p2 { text-align: center; }
  .hp, .vs-side.p2 .hp { margin-left: auto; margin-right: auto; }
  .vs-bg .vs-red { clip-path: polygon(0 0, 100% 0, 100% 34%, 0 46%); }
  .vs-bg .vs-blue { clip-path: polygon(0 46%, 100% 34%, 100% 100%, 0 100%); }
  .vs-bg .vs-slash { top: 40%; bottom: auto; left: -10%; width: 120%; height: 5px; transform: translateY(-50%) rotate(-6deg); }
  .vs-hero.intro .vs-slash { animation: none; }
  .vs-bg .vs-ghost { font-size: 140px; }
  .vs-mid { font-size: 64px; }
  .vs-status { left: 50%; transform: translateX(-50%); top: 34px; }
  .vs-hero { padding-top: 64px; }
  .vs-actions { padding: 10px 10px 12px; width: 100%; }
  .scores.lg .score-btn { min-width: 0; flex: 1; }

  /* tarjetas de combate */
  .vs-card { padding: 8px 14px 10px; }
  .vc-name { font-size: 19px; }
  .vc-pos { display: none; }
  .vc-actions .scores { flex-wrap: nowrap; }
  .vc-actions .score-btn { flex: 1; min-width: 0; }
  .semis .vc-name { font-size: 22px; }

  /* ranking: columnas esenciales */
  .rank-head, .rank-row,
  .rank.compact .rank-head, .rank.compact .rank-row { grid-template-columns: 38px minmax(0, 1fr) 26px 26px 38px 42px; gap: 3px; }
  .rank .c-j, .rank .c-g, .rank .c-form { display: none; }
  .rank-row { min-height: 50px; padding-right: 10px; }
  .r-name b { font-size: 19px; }
  .r-pts { font-size: 21px; }

  /* podio: líder arriba a lo ancho */
  .podium { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .podium .pod-1 { grid-column: 1 / -1; order: -1; }
  .podium:has(> .pod:nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); }
  .pod { padding: 18px 12px 14px; }
  .pod-1 { padding: 34px 16px 20px; }
  .pod-rank { font-size: 48px; }
  .pod-1 .pod-rank { font-size: 68px; }
  .pod-name { font-size: 24px; }
  .pod-1 .pod-name { font-size: 34px; }
  .pod-pts b { font-size: 30px; }
  .pod-1 .pod-pts b { font-size: 40px; }

  /* luchadores */
  .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .f-card { min-height: 140px; padding: 12px 14px 12px 18px; }
  .f-name { font-size: 22px; }
  .f-pos { font-size: 30px; right: 18px; }
  .f-ghost { font-size: 52px; }
  .f-detail { padding: 22px 16px 18px; }
  .fd-top { gap: 14px; }
  .fd-pos { width: 68px; height: 68px; }
  .fd-pos b { font-size: 42px; }
  .pstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pstats .ps.main { grid-column: 1 / -1; }
  .ps b { font-size: 24px; }
  .log-meta { display: none; }

  /* gran final: apilada */
  .gf { padding: 58px 16px 22px; }
  .gf-red { clip-path: polygon(0 0, 100% 0, 100% 30%, 0 40%); }
  .gf-blue { clip-path: polygon(0 40%, 100% 30%, 100% 100%, 0 100%); }
  .gf-slash { display: none; }
  .gf-label span { padding: 8px 14px 7px; font-size: 16px; letter-spacing: 2px; }
  .gf-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; text-align: center; }
  .gf-side.p1, .gf-side.p2 { text-align: center; }
  .pips, .gf-side.p2 .pips { justify-content: center; }
  .gf-vs { font-size: 72px; }
  .gf-score b { font-size: 48px; min-width: 60px; }
  .tape { margin-top: 24px; }
  .tape-row { grid-template-columns: 48px minmax(0, 1fr) 84px minmax(0, 1fr) 48px; gap: 5px; }
  .tape-v { font-size: 16px; }
  .tape-l { font-size: 9px; letter-spacing: 1px; }
  .gf-actions .scores.lg { flex-wrap: wrap; }
  .gf-actions .score-btn { flex: 1 0 28%; }

  /* inscripción */
  .player-list { grid-template-columns: minmax(0, 1fr); }
  .btn-lg { font-size: 24px; padding: 16px 30px 13px; }
  .counter-value { width: 74px; font-size: 36px; }
}

/* ---------- 25. Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
