/* =========================================================================
   LAHMP · Liga Amateur Hockey Madridpatina
   Sistema visual brutalista: burdeos + coral + hueso + tinta.
   Radio: 0 en todo (sistema "sharp"), salvo los iconos de reglas (radio de marca).
   ========================================================================= */

/* ---------- Fuentes (self-hosted) ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: italic; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2-variations"); }
@font-face { font-family: "Mr Dafoe"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/mr-dafoe-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Mr Dafoe"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/mr-dafoe-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-024F; }

/* ---------- Tokens ---------- */
:root {
  --ink: #170407;          /* tinta casi negra (burdeos muy profundo) */
  --burdeos-950: #1F0409;
  --burdeos-900: #2A060E;  /* fondo base */
  --burdeos-800: #3B0A14;  /* superficies */
  --burdeos-700: #56101F;  /* superficies elevadas / hover */
  --burdeos-600: #74192C;  /* líneas */
  --coral: #FF3B57;        /* acento único */
  --coral-claro: #FF6B80;
  --coral-papel: #C4122F;  /* coral para texto sobre hueso (AA) */
  --hueso: #EFE9E1;        /* claro base */
  --hueso-2: #E3DAD0;
  --texto: var(--hueso);
  --texto-2: #C7B4AE;      /* secundario sobre burdeos (9:1) */
  --texto-3: #A8949A;      /* terciario (6.5:1) */
  --papel-texto: #1A0B0F;
  --papel-texto-2: #5E4A4F;
  --linea: rgb(239 233 225 / .14);
  --linea-fuerte: rgb(239 233 225 / .32);

  /* equipos */
  --eq-A: #D7263D; --eq-B: #F2EEE8; --eq-C: #141414; --eq-D: #F2C230; --eq-E: #2F6FDE; --eq-F: #2E9E5B; --eq-G: #8A8A8A;

  --logo-outline: var(--ink); --logo-fill: var(--hueso); --logo-figure: var(--coral);

  --f-sans: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-mano: "Mr Dafoe", "Brush Script MT", cursive;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --nav-h: 80px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  /* z-index: 10 contenido elevado · 40 nav · 60 overlays/dialog · 80 toasts · 90 grano */
  --z-elev: 10; --z-nav: 40; --z-overlay: 60; --z-toast: 80; --z-grano: 90;

  color-scheme: dark;
  accent-color: var(--coral);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; min-height: 100dvh;
  background: var(--burdeos-900); color: var(--texto);
  font-family: var(--f-sans); font-size: 1rem; line-height: 1.55; font-stretch: 100%;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--coral); color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: .95; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; }
html { scrollbar-color: var(--burdeos-600) var(--burdeos-950); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--coral); color: var(--ink); padding: 10px 14px; font-weight: 800; }
.skip:focus { top: 12px; }

/* grano analógico fijo, nunca sobre contenedores con scroll */
body::after {
  content: ""; position: fixed; inset: 0; z-index: var(--z-grano); pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Tipografía ---------- */
.display {
  font-weight: 900; font-stretch: 62%; text-transform: uppercase; letter-spacing: -.012em; line-height: .82;
}
.titulo-seccion { font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(3rem, 9vw, 6rem); line-height: .84; letter-spacing: -.01em; }
.titulo-m { font-weight: 850; font-stretch: 70%; text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: .92; }
.titulo-s { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.15rem; line-height: 1; letter-spacing: .01em; }
.mano { font-family: var(--f-mano); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--coral); line-height: 1.1; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--texto-2); max-width: 52ch; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.coral { color: var(--coral); }
.texto-2 { color: var(--texto-2); }
.meta { font-size: .875rem; color: var(--texto-2); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.seccion { padding-block: clamp(64px, 10vw, 136px); position: relative; }
.seccion--tight { padding-block: clamp(40px, 6vw, 80px); }
.stack > * + * { margin-top: var(--gap, 1rem); }

/* ---------- Iconos ---------- */
.i { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.i--s { width: 1em; height: 1em; }

/* ---------- Botones ---------- */
.btn {
  --b-bg: var(--coral); --b-fg: var(--ink);
  display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: .7em 1.25em;
  background: var(--b-bg); color: var(--b-fg); border: 2px solid var(--b-bg);
  font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: .02em; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap; border-radius: 0;
  transition: transform 160ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn:active { transform: scale(.97); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--hueso); border-color: var(--linea-fuerte); }
.btn--hueso { --b-bg: var(--hueso); --b-fg: var(--ink); }
.btn--s { min-height: 40px; padding: .55em .9em; font-size: .875rem; }
.btn .i { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --b-bg: var(--coral-claro); border-color: var(--coral-claro); }
  .btn--ghost:hover { --b-bg: transparent; border-color: var(--hueso); }
  .btn--hueso:hover { --b-bg: #fff8f0; border-color: #fff8f0; }
  .btn:hover .i--arrow { transform: translateX(3px); }
}
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.enlace-flecha { display: inline-flex; align-items: center; gap: .4em; font-weight: 800; font-stretch: 80%; text-transform: uppercase; text-decoration: none; color: var(--coral); }
.enlace-flecha .i { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .enlace-flecha:hover .i { transform: translateX(4px); } .enlace-flecha:hover { text-decoration: underline; } }

/* ---------- Cabecera ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgb(42 6 14 / .92); border-bottom: 1px solid var(--linea);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background: var(--burdeos-900); } }
.nav__in { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.marca { gap: 12px; }
.marca svg { width: 54px; height: auto; }
.marca__txt { display: flex; flex-direction: column; gap: 5px; line-height: .9; transform: skewX(-8deg); transform-origin: left bottom; }
.marca__siglas { font-weight: 900; font-stretch: 62%; font-size: 2.3rem; line-height: .82; letter-spacing: .01em; }
.marca__sub { font-weight: 700; font-stretch: 75%; font-size: .74rem; line-height: 1; text-transform: uppercase; letter-spacing: .1em; word-spacing: .12em; color: var(--texto-2); }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a {
  position: relative; display: flex; align-items: center; height: var(--nav-h); padding-inline: 13px;
  font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.9rem; line-height: 1; letter-spacing: .02em; text-decoration: none; color: var(--texto-2);
  transition: color 160ms ease;
}
/* caja con la diagonal de la rejilla (8°) en coral: sección actual y rollover */
.nav__links a { isolation: isolate; }
.nav__links a::after {
  content: ""; position: absolute; z-index: -1; left: 2px; right: 2px; top: 50%; height: 1.38em; margin-top: -.69em;
  background: var(--coral); transform: skewX(calc(var(--angulo, 8deg) * -1)) scaleX(0); transform-origin: left center;
  transition: transform 220ms var(--ease-out);
}
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after { transform: skewX(calc(var(--angulo, 8deg) * -1)) scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--ink); }
  .nav__links a:hover::after { transform: skewX(calc(var(--angulo, 8deg) * -1)) scaleX(1); }
}
@media (prefers-reduced-motion: reduce) { .nav__links a::after { transition: none; } }
.nav__menu { display: none; margin-left: auto; background: none; border: 2px solid var(--linea-fuerte); min-height: 44px; padding: 0 14px; align-items: center; gap: 8px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; }
.vivo-pill { display: none; align-items: center; gap: 8px; padding: 6px 10px; background: var(--coral); color: var(--ink); font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: .8rem; text-decoration: none; }
.vivo-pill[data-on] { display: inline-flex; }
.vivo-pill__dot { width: 8px; height: 8px; background: var(--ink); border-radius: 50%; animation: latido 1.4s ease-in-out infinite; }
@keyframes latido { 50% { opacity: .25; } }

@media (max-width: 1240px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; }
}

/* menú móvil a pantalla completa */
.menu-movil {
  position: fixed; inset: 0; z-index: var(--z-overlay); background: var(--coral); color: var(--ink);
  display: flex; flex-direction: column; padding: 16px var(--gutter) 32px;
  transform: translateY(-100%); visibility: hidden;
  transition: transform 420ms var(--ease-drawer), visibility 0s linear 420ms;
}
.menu-movil[data-open] { transform: none; visibility: visible; transition: transform 420ms var(--ease-drawer), visibility 0s; }
.menu-movil__top { display: flex; justify-content: space-between; align-items: center; height: calc(var(--nav-h) - 16px); }
.menu-movil__cerrar { background: none; border: 2px solid var(--ink); min-height: 44px; min-width: 44px; display: grid; place-items: center; color: var(--ink); }
.menu-movil nav { margin-top: auto; }
.menu-movil nav a { display: block; text-decoration: none; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(3rem, 15vw, 5.5rem); line-height: .86; padding-block: 4px; }
.menu-movil nav a[aria-current="page"] { position: relative; isolation: isolate; width: max-content; color: var(--coral); padding-inline: .14em .2em; }
.menu-movil nav a[aria-current="page"]::before { content: ""; position: absolute; z-index: -1; inset: .06em 0 .02em; background: var(--ink); transform: skewX(calc(var(--angulo, 8deg) * -1)); }
@media (max-width: 700px) {
  :root { --nav-h: 70px; }
  .marca svg { width: 46px; }
  .marca__siglas { font-size: 2rem; }
  .marca__sub { font-size: .66rem; }
}
.menu-movil__pie { margin-top: 24px; display: flex; justify-content: space-between; font-weight: 700; font-size: .9rem; }

/* ---------- Banda en directo ---------- */
.banda-vivo { display: none; background: var(--coral); color: var(--ink); }
.banda-vivo[data-on] { display: block; }
.banda-vivo a { display: flex; align-items: center; gap: 14px; min-height: 48px; text-decoration: none; font-weight: 800; font-stretch: 80%; text-transform: uppercase; }
.banda-vivo__marcador { font-weight: 900; font-stretch: 70%; font-size: 1.35rem; letter-spacing: .02em; }
.banda-vivo__crono { margin-left: auto; font-weight: 900; font-size: 1.1rem; }

/* ---------- Chip / swatch de equipo ---------- */
.eq { display: inline-flex; align-items: center; gap: .5em; white-space: nowrap; }
.eq__sw {
  width: 1.4em; height: 1.4em; display: inline-grid; place-items: center; flex: none;
  background: var(--sw); color: var(--sw-fg, var(--ink)); box-shadow: inset 0 0 0 1.5px rgb(239 233 225 / .55);
  font-weight: 900; font-stretch: 70%; font-size: .85em; line-height: 1;
}
.eq--A { --sw: var(--eq-A); --sw-fg: #fff; }
.eq--B { --sw: var(--eq-B); --sw-fg: var(--ink); }
.eq--C { --sw: var(--eq-C); --sw-fg: var(--hueso); }
.eq--D { --sw: var(--eq-D); --sw-fg: var(--ink); }
.eq--E { --sw: var(--eq-E); --sw-fg: #fff; }
.eq--F { --sw: var(--eq-F); --sw-fg: #fff; }
.eq--G { --sw: var(--eq-G); --sw-fg: var(--ink); }

/* ---------- HERO (inicio) ---------- */
.hero { position: relative; overflow: clip; padding-top: clamp(20px, 3vw, 40px); min-height: min(calc(100dvh - var(--nav-h)), 960px); display: grid; }
.hero__lienzo { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; column-gap: 16px; }
.hero { --fs: clamp(4.4rem, 15.2vw, 14.2rem); }
.hero__tipo { grid-column: 1 / -1; grid-row: 1 / 3; position: relative; z-index: 1; margin: 0; padding-top: .06em; }
.hero__tipo span { display: block; font-size: var(--fs); }
.hero__tipo .l2 { color: var(--coral); padding-left: 9vw; }
.hero__tipo .l3 { -webkit-text-stroke: 2px var(--hueso); color: transparent; }
.hero__foto { grid-column: 5 / 13; grid-row: 1 / 4; justify-self: end; align-self: end; position: relative; z-index: 2; width: min(100%, 860px); margin-bottom: -2%; pointer-events: none; }
.hero__foto img { width: 100%; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .45)); }
/* palabra que pasa POR DELANTE del jugador (efecto sándwich) */
.hero__frente { grid-column: 1 / -1; grid-row: 1 / 3; position: relative; z-index: 3; pointer-events: none; margin: 0; padding-top: .06em; }
.hero__frente span { display: block; font-size: var(--fs); visibility: hidden; }
.hero__tipo .l3 { visibility: hidden; }
.hero__frente .l3 { visibility: visible; -webkit-text-stroke: 2px var(--hueso); color: transparent; }
.hero__firma { position: absolute; z-index: 4; left: calc(var(--gutter) + 26%); top: calc(var(--fs) * 1.72); font-size: clamp(2.4rem, 5.2vw, 5rem); transform: rotate(-7deg); white-space: nowrap; text-shadow: 0 2px 0 var(--burdeos-900); }
.hero__pie { grid-column: 1 / 7; grid-row: 3; position: relative; z-index: 4; display: grid; gap: 22px; padding-block: 28px clamp(28px, 5vw, 56px); }
.hero__pie .lead { color: var(--hueso); font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__dato { grid-column: 9 / 13; grid-row: 3; z-index: 4; align-self: end; justify-self: end; margin-bottom: clamp(28px, 5vw, 56px); background: var(--ink); border: 2px solid var(--coral); padding: 16px 18px; min-width: 260px; text-decoration: none; display: block; transition: transform 200ms var(--ease-out); }
.hero__dato:active { transform: scale(.98); }
.hero__dato .titulo-s { color: var(--coral); }
.hero__dato strong { display: block; font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: 1.7rem; line-height: 1; margin-block: 6px 4px; }
@media (max-width: 860px) {
  .hero { min-height: 0; --fs: clamp(4.2rem, 24vw, 9rem); }
  .hero__lienzo { display: flex; flex-direction: column; }
  .hero__tipo .l3 { visibility: visible; }
  .hero__tipo .l2 { padding-left: 0; }
  .hero__foto { margin: -34vw -4vw 0 auto; width: 96%; }
  .hero__frente { display: none; }
  .hero__firma { top: calc(var(--fs) * 2.15); left: 12vw; font-size: clamp(2rem, 9vw, 3rem); }
  .hero__pie { padding-top: 12px; padding-bottom: 20px; }
  .hero__dato { align-self: stretch; margin-bottom: 40px; min-width: 0; }
  .ladrillo { min-height: 60px; }
}

/* entrada autorizada del hero: un único momento */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__tipo span { animation: subir 900ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
  .js .hero__foto { animation: recorte 1100ms var(--ease-out) 220ms both; }
  .js .hero__frente .l3 { animation: subir 900ms var(--ease-out) both; animation-delay: 140ms; }
  .js .hero__firma { animation: firma 900ms var(--ease-out) 700ms both; }
}
@keyframes subir { from { transform: translateY(32%); opacity: 0; clip-path: inset(-30% 0 100% 0); } to { transform: none; opacity: 1; clip-path: inset(-30% 0 -10% 0); } }
@keyframes recorte { from { clip-path: inset(100% 0 0 0); transform: translateY(6%); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes firma { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 -5% 0 0); } }

/* ---------- Marcadores (resultados de la jornada en la home) ---------- */
.marcadores { background: var(--ink); border-top: 4px solid var(--coral); }
.marcadores__cab { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding: 20px clamp(16px, 2vw, 28px) 18px; border-bottom: 1px solid var(--linea-fuerte); }
.marcadores__titulo { font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: .9; }
.marcadores__meta { font-size: .9rem; color: var(--texto-2); }
.marcadores__lista { display: grid; grid-template-columns: 1fr; column-gap: 0; }
@media (min-width: 1000px) {
  .marcadores__lista { grid-template-columns: 1fr 1fr; }
  .marcadores__lista li:nth-child(odd) { border-right: 1px solid var(--linea); }
}
.marcadores__lista li { border-bottom: 1px solid var(--linea); }
.mc {
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: clamp(10px, 1.4vw, 18px);
  min-height: 68px; padding: 10px clamp(16px, 2vw, 28px); text-decoration: none; color: var(--hueso);
  transition: background-color 160ms ease;
}
.mc:active { background: var(--burdeos-800); }
@media (hover: hover) and (pointer: fine) { .mc:hover { background: var(--burdeos-800); } .mc:hover .mc__res { background: var(--coral-claro); } }
.mc__hora { font-size: .85rem; font-weight: 700; color: var(--texto-3); }
.mc__eq { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.2rem; line-height: 1; }
.mc__eq--l { justify-content: flex-end; text-align: right; }
.mc__nom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc__eq .eq__sw { font-size: 1rem; }
.mc__eq.is-pierde { color: var(--texto-3); }
.mc__eq.is-pierde .eq__sw { opacity: .7; }
.mc__res { display: inline-flex; align-items: center; gap: 0; background: var(--coral); color: var(--ink); font-weight: 900; font-stretch: 62%; font-size: 1.9rem; line-height: 1; padding: 6px 10px 4px; min-width: 5.2rem; justify-content: center; transition: background-color 160ms ease; }
.mc__res b { min-width: 1.1ch; text-align: center; }
.mc__res i { width: .5em; height: 3px; background: currentColor; margin-inline: .25em; }
.marcadores__amist { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px clamp(16px, 2vw, 28px); text-decoration: none; font-weight: 700; color: var(--hueso); }
.marcadores__amist .i { color: var(--coral); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .marcadores__amist:hover .i { transform: translateX(4px); } }
@media (max-width: 520px) {
  .mc { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); row-gap: 4px; padding-block: 12px; }
  .mc__hora { grid-column: 1 / -1; }
  .mc { padding-inline: 12px; column-gap: 8px; }
  .mc__eq { font-size: .98rem; gap: 6px; }
  .mc__eq .eq__sw { font-size: .9rem; }
  .mc__res { font-size: 1.5rem; min-width: 4rem; padding-inline: 6px; }
}

/* ---------- Muro de partidos (ladrillos) ---------- */
.muro { background: var(--coral); color: var(--ink); padding: clamp(10px, 1.4vw, 16px); display: grid; gap: clamp(8px, 1vw, 12px); box-shadow: inset 0 0 0 clamp(10px,1.4vw,16px) var(--ink); }
.muro__fila { display: grid; grid-template-columns: var(--cols, 1fr 2fr 1fr); gap: clamp(8px, 1vw, 12px); }
.ladrillo { background: var(--coral); box-shadow: 0 0 0 clamp(4px, .6vw, 6px) var(--ink); min-height: 74px; display: flex; align-items: center; padding: 10px 16px; position: relative; text-decoration: none; color: var(--ink); }
.ladrillo--partido { justify-content: space-between; gap: 12px; transition: background-color 180ms ease; }
.ladrillo--partido:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { a.ladrillo--partido:hover { background: var(--coral-claro); } }
.ladrillo__hora { font-weight: 800; font-stretch: 80%; font-size: .85rem; }
.ladrillo__res { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px); font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: .9; }
.ladrillo__res .marcador { background: var(--ink); color: var(--hueso); padding: 4px 10px 2px; letter-spacing: .02em; }
.ladrillo__res .eq__sw { width: 1.05em; height: 1.05em; font-size: .9em; box-shadow: 0 0 0 2px var(--ink); }
.ladrillo__nota { font-weight: 700; font-size: .78rem; text-transform: uppercase; }
.ladrillo--vacio { min-height: 40px; }
.ladrillo--texto { font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(2rem, 5vw, 4.4rem); line-height: .86; background: var(--ink); color: var(--hueso); box-shadow: 0 0 0 clamp(4px,.6vw,6px) var(--ink); }
@media (max-width: 720px) {
  .muro__fila { grid-template-columns: 1fr !important; }
  .muro__fila .ladrillo--vacio { display: none; }
}

/* ---------- Clasificación (cartel) ---------- */
.papel { background: var(--hueso); color: var(--papel-texto); }
.papel ::selection { background: var(--papel-texto); color: var(--hueso); }
.papel a { color: inherit; }
.papel :focus-visible { outline-color: var(--coral-papel); }
.cartel-tabla { width: 100%; }
.cartel-tabla th { font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: .78rem; letter-spacing: .04em; text-align: right; padding: 12px 10px; color: var(--papel-texto-2); border-bottom: 3px solid var(--papel-texto); }
.cartel-tabla th:first-child, .cartel-tabla th.izq { text-align: left; }
.cartel-tabla td { padding: 10px; text-align: right; border-bottom: 1px solid rgb(26 11 15 / .14); font-weight: 600; }
.cartel-tabla td.izq { text-align: left; }
.cartel-tabla .pos { font-weight: 900; font-stretch: 62%; font-size: clamp(2rem, 4vw, 3.4rem); line-height: .8; width: 1%; padding-right: 18px; text-align: left; }
.cartel-tabla .equipo { font-weight: 900; font-stretch: 65%; text-transform: uppercase; font-size: clamp(1.4rem, 2.8vw, 2.3rem); line-height: .9; }
.cartel-tabla .equipo .eq__sw { box-shadow: 0 0 0 2px var(--papel-texto); }
.cartel-tabla .pts { font-weight: 900; font-stretch: 62%; font-size: clamp(2rem, 4vw, 3.4rem); line-height: .8; }
.cartel-tabla tr:first-child td { }
.cartel-tabla tbody tr:first-child .pos, .cartel-tabla tbody tr:first-child .pts { color: var(--coral-papel); }
@media (max-width: 720px) { .cartel-tabla .opc { display: none; } .cartel-tabla td, .cartel-tabla th { padding-inline: 6px; } }

/* tabla densa genérica (sobre burdeos) */
.tabla { width: 100%; font-size: .95rem; }
.tabla th { font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: .75rem; letter-spacing: .05em; color: var(--texto-2); text-align: right; padding: 10px 8px; border-bottom: 2px solid var(--linea-fuerte); }
.tabla td { padding: 10px 8px; text-align: right; border-bottom: 1px solid var(--linea); }
.tabla .izq { text-align: left; }
.tabla tbody tr { transition: background-color 140ms ease; }
@media (hover: hover) and (pointer: fine) { .tabla tbody tr:hover { background: var(--burdeos-800); } }
.tabla-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Bloque líderes (texto repetido de fondo) ---------- */
.tapiz { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.tapiz::before { content: attr(data-texto); display: block; white-space: pre-line; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(5rem, 13vw, 12rem); line-height: .86; color: rgb(239 233 225 / .045); }
.tapiz p { font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(5rem, 13vw, 12rem); line-height: .86; white-space: nowrap; color: rgb(239 233 225 / .045); }
.lider { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.lider__nombre { font-size: clamp(5rem, 16vw, 15rem); color: var(--coral); }
.lider__cifra { display: flex; align-items: baseline; gap: 16px; margin-top: 12px; }
.lider__cifra b { font-weight: 900; font-stretch: 62%; font-size: clamp(4rem, 9vw, 8rem); line-height: .8; }
.lider__cifra span { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.2rem; }
.ranking li { display: grid; grid-template-columns: 2.4ch 1fr auto; align-items: baseline; gap: 14px; padding-block: 12px; border-bottom: 1px solid var(--linea); }
.ranking li:first-child { border-top: 1px solid var(--linea); }
.ranking .r-pos { font-weight: 900; font-stretch: 62%; font-size: 1.6rem; color: var(--texto-3); }
.ranking .r-nombre { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.3rem; display: flex; align-items: center; gap: 10px; min-width: 0; }
.ranking .r-nombre a { text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.ranking .r-val { font-weight: 900; font-stretch: 62%; font-size: 1.8rem; }
@media (max-width: 860px) { .lider { grid-template-columns: 1fr; } }

/* ---------- Marquesina (una por página como máximo) ---------- */
.marquesina { overflow: hidden; border-block: 2px solid var(--coral); background: var(--ink); }
.marquesina__pista { display: flex; width: max-content; gap: 48px; padding-block: 18px; animation: desliza 38s linear infinite; }
.marquesina__pista span { display: inline-flex; align-items: center; gap: 48px; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1; white-space: nowrap; }
.marquesina__pista span::after { content: ""; width: .5em; height: .5em; background: var(--coral); transform: rotate(45deg); }
@keyframes desliza { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquesina__pista { animation: none; flex-wrap: wrap; width: auto; } }
@media (hover: hover) { .marquesina:hover .marquesina__pista { animation-play-state: paused; } }

/* ---------- Palmarés (inicio + histórico) ---------- */
.palmares { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; border-top: 2px solid var(--linea-fuerte); }
.palmares li { border-bottom: 1px solid var(--linea); border-right: 1px solid var(--linea); padding: 16px 14px 18px; min-height: 150px; display: flex; flex-direction: column; gap: 10px; }
.palmares .temp { font-weight: 800; font-stretch: 75%; font-size: .9rem; color: var(--texto-2); }
.palmares .campeon { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.palmares .campeon .eq__sw { width: 2.4rem; height: 2.4rem; font-size: 1.4rem; }
.palmares .campeon b { font-weight: 900; font-stretch: 65%; text-transform: uppercase; font-size: 1.3rem; line-height: .95; }
.palmares .sin { color: var(--texto-3); font-weight: 700; font-size: .85rem; margin-top: auto; }

/* ---------- Cabecera de página interior ---------- */
.cab { position: relative; overflow: clip; padding-block: clamp(36px, 7vw, 96px) clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--linea); }
.cab__titulo { font-size: clamp(4.2rem, 15vw, 13rem); position: relative; z-index: 2; }
.cab__titulo .coral { display: block; }
.cab__mano { position: relative; z-index: 3; display: inline-block; font-size: clamp(2rem, 4.5vw, 3.8rem); transform: rotate(-5deg); margin: -.35em 0 0 clamp(8px, 10vw, 180px); }
.cab__lead { position: relative; z-index: 2; margin-top: 22px; }
.cab__foto { position: absolute; z-index: 1; right: max(-2vw, -40px); top: 20px; bottom: 0; pointer-events: none; display: flex; align-items: flex-end; }
.cab__foto img { height: 100%; width: auto; max-width: 48vw; object-fit: contain; object-position: bottom right; filter: drop-shadow(0 20px 30px rgb(0 0 0 / .4)); }
@media (max-width: 860px) { .cab__foto { position: relative; right: auto; top: auto; width: 70%; margin: 8px 0 -40px auto; } .cab__foto img { height: auto; width: 100%; max-width: none; } }

/* fondo de códigos repetidos (J1 J2 ...) */
.tapiz-codigos { position: absolute; inset: 0; z-index: 0; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 0 .2em; font-weight: 900; font-stretch: 62%; font-size: clamp(4rem, 11vw, 9rem); line-height: .86; color: rgb(239 233 225 / .05); overflow: hidden; pointer-events: none; text-transform: uppercase; }

/* ---------- Pestañas / selector jornadas ---------- */
.selector { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-block: 2px solid var(--linea-fuerte); scroll-snap-type: x proximity; }
.selector::-webkit-scrollbar { display: none; }
.selector button, .selector a {
  flex: none; scroll-snap-align: start; background: none; border: 0; border-right: 1px solid var(--linea); color: var(--texto-2);
  min-height: 64px; min-width: 76px; padding: 8px 16px; display: grid; place-items: center; text-decoration: none;
  font-weight: 900; font-stretch: 62%; font-size: 2rem; line-height: 1; text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease;
}
.selector [aria-selected="true"], .selector [aria-current="true"] { background: var(--coral); color: var(--ink); }
.selector small { display: block; font-size: .62rem; font-stretch: 80%; font-weight: 800; letter-spacing: .04em; margin-top: 2px; }
@media (hover: hover) and (pointer: fine) { .selector button:hover:not([aria-selected="true"]), .selector a:hover:not([aria-current="true"]) { background: var(--burdeos-800); color: var(--hueso); } }

.filtros { display: flex; flex-wrap: wrap; gap: 8px; }
.filtro { min-height: 44px; padding: 0 14px; background: transparent; border: 2px solid var(--linea-fuerte); color: var(--texto-2); font-weight: 800; font-stretch: 80%; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.filtro:active { transform: scale(.97); }
.filtro[aria-pressed="true"] { background: var(--hueso); color: var(--ink); border-color: var(--hueso); }
@media (hover: hover) and (pointer: fine) { .filtro:hover:not([aria-pressed="true"]) { border-color: var(--hueso); color: var(--hueso); } }

.campo { display: grid; gap: 6px; }
.campo label { font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; color: var(--texto-2); }
.input { min-height: 48px; padding: 0 14px; background: var(--burdeos-950); border: 2px solid var(--linea-fuerte); color: var(--hueso); border-radius: 0; caret-color: var(--coral); }
.input::placeholder { color: var(--texto-3); }
.input:focus-visible { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgb(255 59 87 / .3); }

/* ---------- Jornada: cabecera + partidos ---------- */
.jornada-cab { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; padding-block: 36px 24px; }
.jornada-cab h2 { font-size: clamp(3rem, 8vw, 6.5rem); }
.jornada-cab .meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-weight: 700; }
.etiqueta { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1.5px solid currentColor; font-weight: 800; font-stretch: 80%; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.etiqueta--coral { background: var(--coral); color: var(--ink); border-color: var(--coral); }

.partidos { border-top: 2px solid var(--linea-fuerte); }
.partido {
  display: grid; grid-template-columns: 70px 1fr auto 1fr 40px; align-items: center; gap: 12px;
  min-height: 76px; padding: 10px 8px; border-bottom: 1px solid var(--linea); width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; color: inherit;
  transition: background-color 150ms ease;
}
.partido:active { background: var(--burdeos-700); }
@media (hover: hover) and (pointer: fine) { .partido:hover { background: var(--burdeos-800); } .partido:hover .partido__ir { color: var(--coral); transform: translateX(3px); } }
.partido__hora { font-weight: 800; font-stretch: 80%; color: var(--texto-2); }
.partido__eq { font-weight: 900; font-stretch: 65%; text-transform: uppercase; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: .9; }
.partido__eq--l { justify-self: end; flex-direction: row-reverse; }
.partido__eq.gana { color: var(--hueso); }
.partido__eq.pierde { color: var(--texto-3); }
.partido__marcador { font-weight: 900; font-stretch: 62%; font-size: clamp(2rem, 3.6vw, 3rem); line-height: .9; padding: 2px 12px; background: var(--ink); min-width: 4.2ch; text-align: center; }
.partido__marcador.vivo { background: var(--coral); color: var(--ink); }
.partido__ir { color: var(--texto-3); transition: transform 200ms var(--ease-out), color 160ms ease; justify-self: end; }
.partido__nota { grid-column: 2 / -1; font-size: .78rem; color: var(--texto-3); font-weight: 700; text-transform: uppercase; margin-top: -6px; }
@media (max-width: 600px) {
  .partido { grid-template-columns: 1fr auto 1fr; row-gap: 4px; }
  .partido__hora { grid-column: 1 / -1; font-size: .8rem; }
  .partido__ir { display: none; }
  .partido__nota { grid-column: 1 / -1; }
}

/* ---------- Diálogo ---------- */
dialog.dlg { padding: 0; border: 0; background: var(--burdeos-800); color: var(--hueso); width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 48px); border-top: 6px solid var(--coral); box-shadow: 0 30px 80px rgb(0 0 0 / .55); }
dialog.dlg::backdrop { background: rgb(15 2 5 / .72); }
dialog.dlg[open] { animation: dlg-in 260ms var(--ease-out); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { dialog.dlg[open] { animation: fade 150ms ease; } }
@keyframes fade { from { opacity: 0; } }
.dlg__cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 20px 0; }
.dlg__cuerpo { padding: 20px; overflow: auto; }
.dlg__cerrar { background: none; border: 2px solid var(--linea-fuerte); color: var(--hueso); min-width: 44px; min-height: 44px; display: grid; place-items: center; flex: none; }
.marcador-xl { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 8px 20px; }
.marcador-xl .eq { flex-direction: column; gap: 10px; font-weight: 900; font-stretch: 65%; text-transform: uppercase; font-size: 1.4rem; }
.marcador-xl .eq__sw { width: 64px; height: 64px; font-size: 2.2rem; }
.marcador-xl .res { font-weight: 900; font-stretch: 62%; font-size: clamp(4rem, 12vw, 6.5rem); line-height: .8; }
.eventos { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.eventos h4 { font-weight: 800; font-stretch: 80%; font-size: .8rem; text-transform: uppercase; color: var(--texto-2); padding-bottom: 8px; border-bottom: 2px solid var(--linea-fuerte); margin-bottom: 4px; }
.eventos li { display: flex; justify-content: space-between; gap: 8px; padding-block: 8px; border-bottom: 1px solid var(--linea); font-weight: 700; }
.eventos li span:last-child { color: var(--texto-2); font-weight: 600; white-space: nowrap; }
.vacio { padding: 28px 0; color: var(--texto-2); }
.vacio b { display: block; font-weight: 900; font-stretch: 65%; text-transform: uppercase; font-size: 1.4rem; color: var(--hueso); margin-bottom: 6px; }

/* ---------- Equipos: bandas ---------- */
.banda-eq { --bg: var(--eq-A); --fg: #fff; --fg-2: #fff; --lin: rgb(255 255 255 / .25); background: var(--bg); color: var(--fg); position: relative; overflow: clip; }
.banda-eq--B { --bg: var(--eq-B); --fg: var(--ink); --fg-2: #4d3a3f; --lin: rgb(23 4 7 / .18); }
.banda-eq--C { --bg: #121010; --fg: var(--hueso); --fg-2: #c9bfb8; --lin: rgb(239 233 225 / .18); }
.banda-eq--D { --bg: var(--eq-D); --fg: var(--ink); --fg-2: #4a3a12; --lin: rgb(23 4 7 / .2); }
.banda-eq--E { --bg: #2559C2; --fg: #fff; --fg-2: #fff; --lin: rgb(255 255 255 / .25); }
.banda-eq__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); padding-block: clamp(48px, 7vw, 96px); position: relative; }
.banda-eq__letra { font-weight: 900; font-stretch: 62%; font-size: clamp(14rem, 34vw, 30rem); line-height: .72; letter-spacing: -.02em; margin: -.04em 0 0 -.04em; }
.banda-eq__nombre { font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .85; }
.banda-eq__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--fg); border-bottom: 1px solid var(--lin); margin-block: 22px; }
.banda-eq__stats div { padding: 12px 10px 12px 0; }
.banda-eq__stats b { display: block; font-weight: 900; font-stretch: 62%; font-size: clamp(2rem, 4vw, 3rem); line-height: .85; }
.banda-eq__stats span { font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: .72rem; letter-spacing: .05em; color: var(--fg-2); }
.plantilla { columns: 2; column-gap: 24px; }
.plantilla li { break-inside: avoid; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-block: 9px; border-bottom: 1px solid var(--lin); }
.plantilla a { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.15rem; text-decoration: none; }
.plantilla a:hover { text-decoration: underline; }
.plantilla small { font-weight: 700; color: var(--fg-2); font-size: .8rem; }
.cap { display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; border: 1.5px solid currentColor; font-size: .7em; font-weight: 900; margin-left: 6px; vertical-align: .15em; }
.banda-eq .mano { color: var(--fg); position: absolute; right: var(--gutter); top: clamp(24px, 4vw, 48px); font-size: clamp(2rem, 4vw, 3.4rem); transform: rotate(-6deg); }
@media (max-width: 860px) { .banda-eq__in { grid-template-columns: 1fr; } .banda-eq__letra { font-size: 46vw; } .plantilla { columns: 1; } .banda-eq__stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Jugadores ---------- */
.rejilla-jug { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; border-top: 2px solid var(--linea-fuerte); border-left: 1px solid var(--linea); }
.ficha { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 18px 16px; min-height: 196px; border-right: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: none; color: inherit; text-align: left; border-top: 0; border-left: 0; position: relative; transition: background-color 160ms ease; }
.ficha:active { background: var(--burdeos-700); }
@media (hover: hover) and (pointer: fine) { .ficha:hover { background: var(--burdeos-800); } .ficha:hover .ficha__nick { color: var(--coral); } }
.ficha__top { display: flex; justify-content: space-between; align-items: center; }
.ficha__nick { font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(2.2rem, 3.4vw, 2.9rem); line-height: .86; transition: color 160ms ease; overflow-wrap: anywhere; }
.ficha__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linea-fuerte); padding-top: 10px; }
.ficha__stats b { display: block; font-weight: 900; font-stretch: 62%; font-size: 1.7rem; line-height: .9; }
.ficha__stats span { font-weight: 800; font-stretch: 80%; font-size: .68rem; text-transform: uppercase; color: var(--texto-2); letter-spacing: .05em; }
.barras-jornada { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; align-items: end; height: 140px; margin-top: 12px; }
.barras-jornada div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; }
.barras-jornada i { display: block; width: 100%; background: var(--coral); min-height: 2px; border-radius: 4px 4px 0 0; }
.barras-jornada i.as { background: var(--texto-2); }
.barras-jornada i.no { background: transparent; border: 1.5px dashed var(--linea-fuerte); height: 100% !important; border-radius: 0; }
.barras-jornada span { font-weight: 800; font-stretch: 80%; font-size: .72rem; color: var(--texto-2); }

/* ---------- Estadísticas ---------- */
.est-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 48px); }
.est-grid > * { grid-column: span 4; }
.est-grid > .ancho { grid-column: span 8; }
.est-grid > .completo { grid-column: 1 / -1; }
@media (max-width: 1000px) { .est-grid > *, .est-grid > .ancho { grid-column: 1 / -1; } }
.est-titulo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 3px solid var(--hueso); padding-bottom: 10px; margin-bottom: 4px; }

/* gráfico de barras de goles por jornada */
.grafico { width: 100%; height: auto; overflow: visible; }
.grafico text { fill: var(--texto-2); font-family: var(--f-sans); font-size: 12px; font-weight: 700; }
.grafico .eje { stroke: var(--linea-fuerte); }
.grafico .rej { stroke: var(--linea); }
.grafico .barra { fill: var(--coral); }
.grafico .barra-b { fill: var(--burdeos-600); }
.grafico .val { fill: var(--hueso); font-weight: 900; font-stretch: 70%; font-size: 14px; }
.leyenda { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; font-weight: 700; color: var(--texto-2); }
.leyenda i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; }

/* gráfico de posiciones (bump) */
.bump .linea { fill: none; stroke: var(--texto-3); stroke-width: 2; opacity: .55; transition: opacity 160ms ease, stroke 160ms ease, stroke-width 160ms ease; }
.bump .punto { stroke: rgb(239 233 225 / .7); stroke-width: 1.5; }
.bump g[data-eq].activo .linea { stroke: var(--coral); opacity: 1; stroke-width: 4; }
.bump.foco g[data-eq]:not(.activo) { opacity: .25; }
.bump g[data-eq] { transition: opacity 160ms ease; cursor: pointer; }
.bump .etq { font-weight: 900; font-stretch: 65%; font-size: 15px; fill: var(--hueso); }

/* ---------- Reglas ---------- */
.indice-reglas { display: flex; flex-wrap: wrap; gap: 0 .35em; }
.indice-reglas a { font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 5rem); line-height: .9; text-decoration: none; color: var(--texto-3); transition: color 160ms ease; }
.indice-reglas a:nth-child(odd) { color: var(--hueso); }
@media (hover: hover) and (pointer: fine) { .indice-reglas a:hover { color: var(--coral); } }
.datos-clave { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 2px solid var(--coral); }
.datos-clave div { padding: 22px 18px; border-right: 1px solid var(--linea); }
.datos-clave div:last-child { border-right: 0; }
.datos-clave b { display: block; font-weight: 900; font-stretch: 62%; font-size: clamp(3.4rem, 8vw, 6.5rem); line-height: .8; color: var(--coral); }
.datos-clave span { display: block; margin-top: 10px; font-weight: 700; color: var(--texto-2); max-width: 18ch; }
@media (max-width: 760px) { .datos-clave { grid-template-columns: repeat(2, 1fr); } .datos-clave div:nth-child(2) { border-right: 0; } .datos-clave div:nth-child(-n+2) { border-bottom: 1px solid var(--linea); } }

.normas { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; border-top: 2px solid var(--linea-fuerte); border-left: 1px solid var(--linea); }
.norma { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; padding: 20px 18px 22px; border-right: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.icono-regla { width: 64px; height: 64px; border-radius: 14px; background: var(--coral); display: grid; place-items: center; color: var(--ink); position: relative; }
.icono-regla img { width: 72%; height: 72%; object-fit: contain; }
.icono-regla--hueco { background: transparent; border: 2px dashed rgb(255 59 87 / .55); }
.icono-regla--hueco::after { content: attr(data-falta); position: absolute; inset: auto 0 -1px 0; font-size: 0; }
.norma h3 { font-weight: 850; font-stretch: 72%; text-transform: uppercase; font-size: 1.3rem; line-height: .95; margin-bottom: 8px; }
.norma p { color: var(--texto-2); font-size: .95rem; line-height: 1.45; }
.norma--grave .icono-regla { background: var(--ink); box-shadow: inset 0 0 0 2px var(--coral); }
.puntos-regla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.puntos-regla div { background: var(--ink); padding: 18px; border-top: 4px solid var(--coral); }
.puntos-regla b { font-weight: 900; font-stretch: 62%; font-size: clamp(3rem, 7vw, 5.5rem); line-height: .8; display: block; }
.puntos-regla span { font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: .85rem; color: var(--texto-2); display: block; margin-top: 8px; }
@media (max-width: 760px) { .puntos-regla { grid-template-columns: repeat(2, 1fr); } }
.pista-svg { width: 100%; height: auto; }
.pista-svg text { font-family: var(--f-sans); font-weight: 800; font-stretch: 75%; text-transform: uppercase; }

/* ---------- Histórico ---------- */
.linea-tiempo { display: grid; gap: 0; border-top: 2px solid var(--linea-fuerte); }
.temporada-fila { display: grid; grid-template-columns: 200px 1.2fr 1fr 1fr 48px; gap: 16px; align-items: center; min-height: 96px; padding: 14px 8px; border-bottom: 1px solid var(--linea); background: none; border-left: 0; border-right: 0; border-top: 0; color: inherit; text-align: left; width: 100%; transition: background-color 150ms ease; }
.temporada-fila[disabled] { cursor: default; }
@media (hover: hover) and (pointer: fine) { .temporada-fila:not([disabled]):hover { background: var(--burdeos-800); } }
.temporada-fila .t { font-weight: 900; font-stretch: 62%; font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: .85; }
.temporada-fila .c { display: flex; align-items: center; gap: 12px; }
.temporada-fila .c .eq__sw { width: 2.6rem; height: 2.6rem; font-size: 1.5rem; }
.temporada-fila .c b { font-weight: 900; font-stretch: 65%; text-transform: uppercase; font-size: 1.5rem; line-height: .9; }
.temporada-fila small { display: block; font-weight: 800; font-stretch: 80%; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--texto-2); margin-bottom: 4px; }
.temporada-fila .x { font-weight: 700; color: var(--texto-2); }
@media (max-width: 760px) { .temporada-fila { grid-template-columns: 1fr 1fr; } .temporada-fila .t { grid-column: 1 / -1; } .temporada-fila > :last-child { display: none; } }

/* ---------- Pie ---------- */
.pie { border-top: 2px solid var(--coral); background: var(--burdeos-950); padding-block: 56px 32px; }
.pie__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.pie__grande { font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(3rem, 7vw, 5.6rem); line-height: .84; }
.pie .pie__h { font-weight: 800; font-stretch: 80%; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--texto-2); margin-bottom: 14px; }
.pie li a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; font-weight: 700; }
.pie li a:hover { color: var(--coral); text-decoration: underline; }
.pie__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--linea); font-size: .85rem; color: var(--texto-3); }
@media (max-width: 860px) { .pie__grid { grid-template-columns: 1fr 1fr; } .pie__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Revelado al hacer scroll (contenido visible por defecto) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-revela] { transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
  .js [data-revela]:not(.visto) { opacity: 0; transform: translateY(24px); }
}

/* ---------- Trazos de lápiz ---------- */
.trazo { position: absolute; pointer-events: none; overflow: visible; }
.trazo path { fill: none; stroke: var(--coral); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.subrayado { position: relative; display: inline-block; }
.subrayado .trazo { left: -6%; width: 112%; bottom: -.18em; height: .35em; }
.rodeado { position: relative; display: inline-block; }
.rodeado .trazo { inset: -22% -10%; width: 120%; height: 144%; }
@media (prefers-reduced-motion: no-preference) {
  .js .trazo path { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 900ms var(--ease-in-out) 200ms; }
  .js .visto .trazo path, .js .trazo.visto path { stroke-dashoffset: 0; }
}

/* ---------- Toast ---------- */
.toasts { position: fixed; z-index: var(--z-toast); left: 50%; bottom: 20px; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100vw - 24px)); }
.toast { background: var(--hueso); color: var(--ink); padding: 14px 16px; font-weight: 700; display: flex; gap: 10px; align-items: center; box-shadow: 0 12px 30px rgb(0 0 0 / .35); transition: opacity 260ms ease, transform 260ms var(--ease-out); }
@starting-style { .toast { opacity: 0; transform: translateY(12px); } }
.toast.sale { opacity: 0; transform: translateY(8px); transition-duration: 160ms; }

/* ---------- Esqueleto de carga ---------- */
.esq { background: linear-gradient(90deg, var(--burdeos-800) 0 40%, var(--burdeos-700) 50%, var(--burdeos-800) 60% 100%); background-size: 300% 100%; animation: brillo 1.2s linear infinite; min-height: 1em; }
@keyframes brillo { to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .esq { animation: none; } }

/* utilidades */
.flex { display: flex; } .gap { gap: 16px; } .wrapf { flex-wrap: wrap; } .centro { align-items: center; } .entre { justify-content: space-between; }
.mt-s { margin-top: 12px; } .mt { margin-top: 24px; } .mt-l { margin-top: 48px; } .mt-xl { margin-top: clamp(48px, 7vw, 96px); }
.maxw { max-width: 62ch; }

.pal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
@media (max-width: 860px) { .pal-grid { grid-template-columns: 1fr; } .pal-grid picture img { max-height: 420px !important; } }

/* forma (últimos 5) */
.forma { display: inline-flex; gap: 3px; }
.forma i { font-style: normal; width: 22px; height: 22px; display: grid; place-items: center; font-weight: 900; font-stretch: 75%; font-size: .72rem; }
.forma .f-G { background: var(--papel-texto); color: var(--hueso); }
.forma .f-E { background: transparent; box-shadow: inset 0 0 0 1.5px var(--papel-texto); color: var(--papel-texto); }
.forma .f-P { background: var(--coral-papel); color: #fff; }
/* tooltip de gráficos */
.tooltip { position: absolute; left: 0; top: 0; z-index: var(--z-elev); pointer-events: none; background: var(--hueso); color: var(--ink); padding: 8px 12px; display: grid; gap: 2px; font-size: .85rem; font-weight: 600; box-shadow: 0 10px 24px rgb(0 0 0 / .35); white-space: nowrap; }
.tooltip b { font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
.barras-apiladas div { gap: 0; }
.barras-apiladas i + i { margin-top: 2px; }
.barras-apiladas span { margin-top: 6px; }
.barras-apiladas i { border-radius: 0; }
.barras-apiladas i:first-of-type { border-radius: 4px 4px 0 0; }
.presentes { display: flex; flex-wrap: wrap; gap: 8px; }
.presentes li { border: 1.5px solid var(--linea-fuerte); padding: 6px 10px; font-weight: 800; font-stretch: 75%; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; }
.frase-dato { font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: .9; max-width: 22ch; }
.frase-dato em { font-style: normal; color: var(--coral); }
.hbar { display: grid; grid-template-columns: 7.5rem 1fr; gap: 6px 14px; align-items: center; }
.hbar__eq { font-weight: 900; font-stretch: 65%; text-transform: uppercase; font-size: 1.15rem; }
.hbar__pista { display: grid; gap: 3px; }
.hbar__b { height: 14px; background: var(--coral); border-radius: 0 4px 4px 0; position: relative; min-width: 2px; }
.hbar__b.gc { background: var(--texto-3); }
.hbar__b span { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); font-weight: 800; font-size: .8rem; color: var(--texto-2); }
.icono-regla--hueco .i { width: 30px; height: 30px; color: rgb(255 59 87 / .7); }

/* letra del equipo siempre pegada al marcador */
.partido__eq--l .eq { flex-direction: row-reverse; }
/* botón admin al final del menú */
.nav__links a.nav__admin { margin-left: 10px; align-self: center; width: 50px; height: 50px; padding: 0; justify-content: center; border: 2px solid var(--linea-fuerte); color: var(--hueso); }
.nav__links a.nav__admin::after { display: none; }
.nav__links a.nav__admin .i { width: 1.5rem; height: 1.5rem; }
@media (hover: hover) and (pointer: fine) { .nav__links a.nav__admin:hover { border-color: var(--coral); color: var(--coral); } }
.menu-movil nav a.nav__admin { display: inline-flex; align-items: center; justify-content: center; margin-top: 18px; width: 64px; height: 64px; padding: 0; border: 3px solid var(--ink); }
.menu-movil nav a.nav__admin .i { width: 28px; height: 28px; }
@media (max-width: 1400px) { .nav__links a { padding-inline: 10px; font-size: 1.65rem; } }

/* foto de jugador (hueco con iniciales mientras no haya foto) */
.foto { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--burdeos-800); box-shadow: inset 0 5px 0 var(--sw, var(--coral)); }
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 2; }
.foto::after { content: attr(data-ini); position: absolute; inset: auto 0 -.08em 0; text-align: center; font-weight: 900; font-stretch: 62%; font-size: clamp(4.5rem, 9vw, 7rem); line-height: .8; color: rgb(239 233 225 / .12); }
.foto--hueco::before { content: ""; position: absolute; inset: 14px 10px 10px; border: 1.5px dashed rgb(239 233 225 / .16); }
.ficha { grid-template-rows: auto auto 1fr auto; }
.ficha__foto { margin: -18px -16px 0; aspect-ratio: 5 / 4; }
.perfil-cab { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: end; }
.perfil__foto { width: 132px; }
.perfil__foto::after { font-size: 4.6rem; }
@media (max-width: 520px) { .perfil-cab { grid-template-columns: 96px 1fr; } .perfil__foto { width: 96px; } }

/* torneos: tabla del día + partidos agrupados */
.torneo-intro { margin-bottom: 28px; max-width: 70ch; }
.torneo-intro b { color: var(--hueso); }
.torneo { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.torneo__tabla { position: sticky; top: calc(var(--nav-h) + 16px); }
.torneo__tabla .lider-dia td { background: rgb(255 59 87 / .14); }
.torneo__tabla .etiqueta { font-size: .62rem; padding: 2px 5px; margin-left: 6px; vertical-align: 2px; color: var(--texto-2); }
.torneo .partido { grid-template-columns: 56px 1fr auto 1fr 28px; }
.partidos--amistosos .partido__marcador { background: transparent; box-shadow: inset 0 0 0 2px var(--linea-fuerte); }
@media (max-width: 1000px) { .torneo { grid-template-columns: 1fr; } .torneo__tabla { position: static; } }
@media (max-width: 600px) { .torneo .partido { grid-template-columns: 1fr auto 1fr; } }
.extras li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--linea); font-weight: 700; }
.extras b { font-weight: 900; font-stretch: 62%; font-size: 1.8rem; color: var(--coral); }
.muro__resto { background: var(--ink); color: var(--hueso); box-shadow: 0 0 0 clamp(4px,.6vw,6px) var(--ink); }
.muro__resto { font-weight: 800; font-stretch: 78%; text-transform: uppercase; justify-content: space-between; gap: 12px; }
.muro__resto .i { color: var(--coral); }

.cartel-tabla:not(.con-extra) .col-extra { display: none; }

/* =========================================================================
   RONDA 7 · sistema 8°: botones, cabeceras estilo home, iconos, FAQs, pie
   ========================================================================= */

/* ---------- Botones: paralelogramo a 8° (el texto se queda recto) ---------- */
.btn { position: relative; isolation: isolate; background: transparent; border: 0; padding: calc(.7em + 2px) 1.5em; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--b-bg); border: 2px solid var(--b-bd, var(--b-bg));
  transform: skewX(calc(var(--angulo, 8deg) * -1));
  transition: background-color 180ms ease, border-color 180ms ease;
}
.btn--ghost { --b-bd: var(--linea-fuerte); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { --b-bd: var(--hueso); } }
.btn--s { padding: calc(.55em + 2px) 1.15em; }

/* ---------- Clasificación (cartel): sin barras de desplazamiento y escudos x2 ---------- */
.tabla-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabla-scroll::-webkit-scrollbar { display: none; }
.cartel-tabla .equipo .eq { gap: .45em; }
.cartel-tabla .equipo .eq__sw { font-size: 1.7em; box-shadow: 0 0 0 2px var(--papel-texto); }
@media (max-width: 520px) { .cartel-tabla .equipo .eq__sw { font-size: 1.35em; } .cartel-tabla .equipo { font-size: 1.25rem; } }

/* ---------- Iconos de la cabecera (contacto + admin) ---------- */
.nav__links a.nav__ico { margin-left: 6px; align-self: center; width: 50px; height: 50px; padding: 0; justify-content: center; border: 2px solid var(--linea-fuerte); color: var(--hueso); }
.nav__links a.nav__ico:first-of-type, .nav__links a:not(.nav__ico) + a.nav__ico { margin-left: 12px; }
.nav__links a.nav__ico::after { display: none; }
.nav__links a.nav__ico .i { width: 1.6rem; height: 1.6rem; }
@media (hover: hover) and (pointer: fine) { .nav__links a.nav__ico:hover { border-color: var(--coral); color: var(--coral); } }
.menu-movil nav .menu-movil__iconos { display: flex; gap: 12px; margin-top: 18px; }
.menu-movil nav a.nav__ico { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; padding: 0; border: 3px solid var(--ink); margin: 0; }
.menu-movil nav a.nav__ico .i { width: 30px; height: 30px; }

/* ---------- Títulos: blanco + palabra a mano en coral ---------- */
.titulo-seccion .coral, .cab__titulo .coral { color: inherit; }
.titulo-par { position: relative; display: inline-block; }
.titulo-par__mano { position: relative; z-index: 2; display: block; width: max-content; font-size: clamp(2rem, 4.4vw, 3.6rem); margin: -.42em 0 0 34%; transform: rotate(-6deg); transform-origin: left center; line-height: 1; padding: .1em .2em; }
.papel .titulo-par__mano { color: var(--coral-papel); }

/* ---------- Cabeceras de sección con el estilo de la home ---------- */
.cab { padding-block: clamp(20px, 3.4vw, 48px) clamp(32px, 5vw, 64px); }
.cab .tapiz-codigos { display: none; }
.cab__lienzo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; align-items: center; }
.cab__texto { grid-column: 1 / 8; grid-row: 1; position: relative; z-index: 2; padding-block: 12px; }
.cab__titulo { color: var(--hueso); white-space: nowrap; width: max-content; transform: skewX(calc(var(--angulo, 8deg) * -1)); transform-origin: left bottom; line-height: .9; }
.cab__mano { display: block; width: max-content; position: relative; z-index: 3; color: var(--coral); font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1; margin: -.38em 0 0 clamp(24px, 12vw, 200px); padding: .1em .25em; transform: rotate(-6deg); transform-origin: left center; }
.cab__dato { margin-top: 26px; color: var(--texto-2); }
.cab__dato:empty { display: none; }
.cab__lead { margin-top: 26px; }
.cab__mano + .cab__lead, .cab__mano + .cab__dato { margin-top: 30px; }
.cab__rejilla { grid-column: 7 / 13; grid-row: 1; justify-self: end; width: min(100%, 600px, calc(100dvh - var(--nav-h) - 80px)); margin-right: calc(var(--gutter) * -.4); }
@media (max-width: 900px) {
  .cab__lienzo { display: flex; flex-direction: column; align-items: stretch; }
  .cab__rejilla { width: 100%; max-width: 560px; align-self: flex-end; margin: -6vw 0 0; }
}

/* ---------- Pie: WE LOVE HOCKEY + keko ---------- */
.pie__marca { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.pie__keko { width: clamp(96px, 10vw, 140px); height: auto; }
.pie__grande { transform: skewX(calc(var(--angulo, 8deg) * -1)); transform-origin: left bottom; }
.pie__verbo { display: inline-block; color: var(--coral); }
.pie__verbo.is-glitch { animation: verbo-glitch 260ms steps(1, end); }
@keyframes verbo-glitch {
  0% { clip-path: inset(0 0 55% 0); transform: translateX(-.06em); color: var(--hueso); }
  25% { clip-path: inset(45% 0 0 0); transform: translateX(.08em); }
  50% { clip-path: inset(20% 0 30% 0); transform: translateX(-.03em); color: var(--coral); }
  75% { clip-path: none; transform: none; opacity: .6; }
  100% { opacity: 1; }
}

/* ---------- FAQs ---------- */
.faq-grupo + .faq-grupo { margin-top: clamp(48px, 7vw, 88px); }
.faq-lista { margin-top: 18px; border-top: 2px solid var(--linea-fuerte); }
.faq { border-bottom: 1px solid var(--linea); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px minmax(0, 1fr) 40px; align-items: center; gap: 18px; padding: 16px 0; min-height: 72px; }
.faq summary::-webkit-details-marker { display: none; }
.faq__ico { width: 56px; height: 56px; }
.faq__p { font-family: var(--f-display, inherit); font-weight: 900; text-transform: uppercase; font-size: clamp(1.25rem, 2.4vw, 1.9rem); line-height: 1; }
.faq__mas { position: relative; width: 40px; height: 40px; justify-self: end; }
.faq__mas::before, .faq__mas::after { content: ""; position: absolute; left: 10px; right: 10px; top: 19px; height: 3px; background: var(--coral); transition: transform 220ms var(--ease-out); }
.faq__mas::after { transform: rotate(90deg); }
.faq[open] .faq__mas::after { transform: rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .faq summary:hover .faq__p { color: var(--coral); } }
.faq__r { padding: 0 56px 24px 74px; max-width: 78ch; color: var(--texto-2); }
.faq__r p + p, .faq__r ul { margin-top: 10px; }
.faq__r ul { list-style: none; display: grid; gap: 6px; }
.faq__r li { padding-left: 18px; position: relative; }
.faq__r li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 3px; background: var(--coral); }
.faq__r strong { color: var(--hueso); }
.faq__r a { color: var(--coral); }
.pendiente { display: inline-block; padding: 1px 8px; border: 1.5px dashed var(--coral); color: var(--hueso); background: rgb(255 59 87 / .12); font-size: .92em; }
@media (max-width: 600px) {
  .faq summary { grid-template-columns: 42px minmax(0, 1fr) 32px; gap: 12px; }
  .faq__ico { width: 42px; height: 42px; }
  .faq__r { padding: 0 0 22px 54px; }
}
.contacto { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px 28px; align-items: center; padding: clamp(24px, 4vw, 40px); background: var(--ink); border-top: 4px solid var(--coral); }
.contacto__ico { width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); fill: currentColor; color: var(--coral); }
.contacto__mail { font-family: var(--f-display, inherit); font-weight: 900; font-size: clamp(1.4rem, 3.6vw, 2.6rem); color: var(--hueso); text-decoration-color: var(--coral); text-underline-offset: .15em; overflow-wrap: anywhere; }
@media (max-width: 600px) { .contacto { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cab__mano { margin-left: 7vw; font-size: clamp(1.9rem, 8.6vw, 2.6rem); max-width: calc(100% - 7vw); white-space: normal; } .titulo-par__mano { margin-left: 22%; } }

/* =========================================================================
   RONDA 8 · ajustes de cabecera, iconos del menú y pie
   ========================================================================= */
.vivo-pill { display: none !important; } /* el directo se anuncia solo en la banda coral */

/* cabeceras: la foto se monta sobre el título y la palabra a mano va a media altura */
.cab { --cab-fs: clamp(3.6rem, 12.4vw, 11rem); }
.cab__texto { grid-column: 1 / 9; }
.cab__rejilla { grid-column: 6 / 13; width: min(100%, 680px, calc(100dvh - var(--nav-h) - 72px)); }
.cab__mano { font-size: calc(var(--cab-fs) * .34); margin-top: calc(var(--cab-fs) * -.68); margin-left: clamp(24px, 9vw, 170px); }
.cab__mano + .cab__lead, .cab__mano + .cab__dato { margin-top: calc(var(--cab-fs) * .28); }
@media (max-width: 900px) { .cab { --cab-fs: clamp(3.4rem, 19vw, 7rem); } .cab__rejilla { margin-top: -12vw; } }
@media (max-width: 600px) { .cab__mano { font-size: calc(var(--cab-fs) * .36); margin-left: 6vw; } }

/* iconos de contacto y admin: caja blanca a 8°, icono coral */
.nav__links a.nav__ico, .menu-movil nav a.nav__ico { position: relative; isolation: isolate; border: 0; color: var(--coral); }
.nav__links a.nav__ico { width: 54px; height: 46px; }
.nav__links a.nav__ico::before, .menu-movil nav a.nav__ico::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hueso);
  transform: skewX(calc(var(--angulo, 8deg) * -1)); transition: background-color 180ms ease;
}
.menu-movil nav a.nav__ico { width: 70px; height: 60px; color: var(--coral); }
.menu-movil nav a.nav__ico::before { background: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .nav__links a.nav__ico:hover { color: var(--hueso); }
  .nav__links a.nav__ico:hover::before { background: var(--coral); box-shadow: inset 0 0 0 2px var(--hueso); }
}

/* pie: keko a la izquierda, HOCKEY un 40 % más grande, secciones en Winner */
.pie__marca { flex-direction: row; align-items: flex-end; gap: clamp(14px, 2vw, 28px); flex-wrap: wrap; }
.pie__marca + .meta { margin-top: 18px; }
.pie__keko { width: clamp(92px, 10vw, 160px); flex: none; }
.pie__hockey { display: inline-block; font-size: 1.4em; line-height: .84; }
.pie li a { font-family: var(--f-display, inherit); font-weight: 800; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .02em; }
.pie .pie__h { font-size: 1rem; }

/* ---------- Contacto ---------- */
.nav__links a.nav__ico[aria-current="page"] { color: var(--hueso); }
.nav__links a.nav__ico[aria-current="page"]::before { background: var(--coral); }
.contacto-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contacto-grid { grid-template-columns: 1fr; } }
.form-contacto { display: grid; gap: 20px; max-width: 640px; }
.campo-c { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.campo-c > label, .campo-c > legend { font-family: var(--f-display, inherit); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; letter-spacing: .02em; padding: 0; margin-bottom: 2px; }
.campo-c input, .campo-c textarea {
  width: 100%; background: var(--burdeos-800); color: var(--hueso); border: 2px solid var(--linea-fuerte); border-radius: 0;
  padding: 13px 14px; font: inherit; font-size: 1rem; transition: border-color 160ms ease, background-color 160ms ease;
}
.campo-c textarea { resize: vertical; min-height: 150px; }
.campo-c input:focus-visible, .campo-c textarea:focus-visible { outline: none; border-color: var(--coral); background: var(--burdeos-700); }
.campo-c [aria-invalid="true"] { border-color: var(--coral); }
.campo-c__error { color: var(--coral-claro); font-weight: 700; font-size: .9rem; }
.campo-c--trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.motivos { display: flex; flex-wrap: wrap; gap: 10px; }
.motivo { position: relative; cursor: pointer; }
.motivo input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.motivo span {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  font-family: var(--f-display, inherit); font-weight: 800; text-transform: uppercase; font-size: 1.05rem; color: var(--hueso);
}
.motivo span::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 2px solid var(--linea-fuerte); transform: skewX(calc(var(--angulo, 8deg) * -1)); transition: background-color 160ms ease, border-color 160ms ease; }
.motivo input:checked + span { color: var(--ink); }
.motivo input:checked + span::before { background: var(--coral); border-color: var(--coral); }
.motivo input:focus-visible + span::before { outline: 3px solid var(--coral); outline-offset: 3px; }
.acepto { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--texto-2); cursor: pointer; }
.acepto input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--coral); }
.form-contacto__pie { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form-contacto__estado { font-weight: 700; }
.form-contacto__estado.is-ok { color: var(--hueso); }
.form-contacto__estado.is-error { color: var(--coral-claro); }
.contacto-datos { display: grid; gap: 26px; padding: clamp(24px, 3vw, 36px); background: var(--ink); border-top: 4px solid var(--coral); }
.dato-c { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; }
.dato-c__ico { width: 48px; height: 48px; fill: var(--coral); }
.dato-c .titulo-s { color: var(--coral); }
.dato-c__v { margin-top: 4px; font-weight: 700; color: var(--hueso); overflow-wrap: anywhere; }
a.dato-c__v { text-decoration-color: var(--coral); }

/* mapa con los colores de la web: escala de grises + tinte coral, recortado a 8° */
.mapa { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.mapa__marco { position: relative; height: clamp(360px, 52vw, 560px); clip-path: polygon(calc(var(--mapa-off, 70px)) 0, 100% 0, calc(100% - var(--mapa-off, 70px)) 100%, 0 100%); background: var(--burdeos-800); isolation: isolate; }
.mapa__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(1.15) brightness(.95); }
.mapa__tinte { position: absolute; inset: 0; pointer-events: none; background: var(--coral); mix-blend-mode: multiply; opacity: .85; }
.mapa__ficha {
  position: relative; z-index: 2; justify-self: start; margin: calc(clamp(360px, 52vw, 560px) * -.42) 0 0 clamp(16px, 4vw, 56px);
  width: min(100%, 440px); padding: clamp(20px, 3vw, 32px); background: var(--ink); border-left: 4px solid var(--coral);
  box-shadow: 0 24px 48px rgb(0 0 0 / .45);
}
.mapa__ico { width: 56px; height: 56px; margin-bottom: 12px; }
.mapa__nombre { font-family: var(--f-display, inherit); font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: .95; margin-bottom: 8px; }
@media (max-width: 700px) {
  .mapa { --mapa-off: 36px; }
  .mapa__ficha { margin: -48px 0 0 0; width: 100%; }
}
.pie__grid { grid-template-columns: 2fr 1fr 1fr; }
.pie__marca { flex-wrap: nowrap; }
.pie__grande { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.pie__keko { width: clamp(101px, 10.2vw, 158px); } /* +20 % */
@media (max-width: 860px) { .pie__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pie__marca { flex-wrap: wrap; } }
@media (max-width: 900px) { .cab__rejilla { margin-top: 10px; } }

/* =========================================================================
   RONDA 9 · hovers con caja a 8°, logos del pie, resultados y campeones
   ========================================================================= */

/* iconos contacto/admin: la caja coral entra de izquierda a derecha sobre la blanca */
.nav__links a.nav__ico::after { display: block; top: 0; bottom: 0; height: auto; margin: 0; left: 0; right: 0; }
@media (hover: hover) and (pointer: fine) {
  .nav__links a.nav__ico:hover::before { background: var(--hueso); box-shadow: none; }
  .nav__links a.nav__ico:hover { color: var(--hueso); }
}
.nav__links a.nav__ico[aria-current="page"]::after { transform: skewX(calc(var(--angulo, 8deg) * -1)) scaleX(1); }

/* enlaces del pie: mismo efecto que el menú superior */
.pie li a { position: relative; isolation: isolate; padding-inline: 8px; margin-left: -8px; transition: color 160ms ease; }
.pie li a::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 50%; height: 1.3em; margin-top: -.68em;
  background: var(--coral); transform: skewX(calc(var(--angulo, 8deg) * -1)) scaleX(0); transform-origin: left center;
  transition: transform 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .pie li a:hover { color: var(--ink); text-decoration: none; }
  .pie li a:hover::after { transform: skewX(calc(var(--angulo, 8deg) * -1)) scaleX(1); }
}
.pie li a:focus-visible::after { transform: skewX(calc(var(--angulo, 8deg) * -1)) scaleX(1); }
.pie li a:focus-visible { color: var(--ink); }

/* logos al final del pie */
.pie__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px clamp(28px, 6vw, 72px); margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--linea); }
.pie__logos li, .pie__logos a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--hueso); }
.pie__logos img { width: 44px; height: 44px; }
.pie__logos span { font-family: var(--f-display, inherit); font-weight: 900; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .02em; }
@media (hover: hover) and (pointer: fine) { .pie__logos a:hover span { color: var(--coral); } }

/* resultados de la home: sin fondo oscuro ni raya coral, escudos más grandes */
.marcadores { background: transparent; border-top: 0; }
.marcadores__cab { padding-inline: 0; }
.mc { padding-inline: 0; }
.marcadores__lista li:nth-child(odd) .mc { padding-right: clamp(16px, 2vw, 28px); }
.marcadores__lista li:nth-child(even) .mc { padding-left: clamp(16px, 2vw, 28px); }
@media (max-width: 999px) { .marcadores__lista li .mc { padding-inline: 0; } }
.mc__eq .eq__sw { font-size: 1.55rem; }
.marcadores__amist { padding-inline: 0; }
@media (max-width: 520px) { .mc__eq .eq__sw { font-size: 1.25rem; } }

/* campeones en filas: temporada · escudo + nombre · copa */
.palmares { display: block; border-top: 2px solid var(--linea-fuerte); }
.palmares li { display: grid; grid-template-columns: clamp(5.5rem, 12vw, 9rem) minmax(0, max-content) auto; justify-content: start; align-items: center; gap: 12px clamp(12px, 2vw, 24px); min-height: 0; padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--linea); }
.palmares .temp { font-family: var(--f-display, inherit); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; color: var(--texto-2); }
.palmares .campeon { margin-top: 0; gap: clamp(10px, 1.4vw, 18px); min-width: 0; }
.palmares .campeon .eq__sw { width: 1.3em; height: 1.3em; font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.palmares .campeon b { font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palmares__copa { width: clamp(36px, 4vw, 52px); height: auto; }
.palmares li:first-child .palmares__copa { filter: drop-shadow(0 0 12px rgb(255 59 87 / .45)); }
@media (max-width: 520px) {
  .palmares li { grid-template-columns: 4.6rem minmax(0, max-content) auto; gap: 10px; }
  .palmares .temp { font-size: 1.3rem; }
  .palmares .campeon .eq__sw { font-size: 1.4rem; }
  .palmares .campeon b { font-size: 1.6rem; }
  .pie__logos { gap: 14px 22px; }
  .pie__logos img { width: 34px; height: 34px; }
  .pie__logos span { font-size: 1.05rem; }
}

/* pie: copyright · logos · url en una sola línea */
.pie__base { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px 32px; }
.pie__base .pie__url { justify-self: end; text-align: right; }
.pie__base > span { white-space: nowrap; }
.pie__base .pie__logos { margin: 0; padding: 0; border: 0; gap: 14px clamp(20px, 3vw, 44px); }
.pie__base .pie__logos img { width: 34px; height: 34px; }
.pie__base .pie__logos span { font-size: 1.15rem; }
@media (max-width: 1200px) {
  .pie__base { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pie__base .pie__url { justify-self: center; text-align: center; }
  .pie__base .pie__logos { order: -1; }
}

/* campeones: copa alineada a la izquierda (copa · temporada · equipo) */
.palmares li { grid-template-columns: auto clamp(5.5rem, 12vw, 9rem) minmax(0, max-content); }
.palmares__copa { order: -1; }
@media (max-width: 520px) { .palmares li { grid-template-columns: auto 5.2rem minmax(0, max-content); gap: 10px; } }

/* =========================================================================
   RONDA 10 · Stats: quién juega + estadísticas de partidos
   ========================================================================= */
.aviso-datos { max-width: 70ch; padding: 12px 16px; border: 1.5px dashed var(--coral); background: rgb(255 59 87 / .1); color: var(--texto-2); }
.aviso-datos b { color: var(--hueso); }
.aviso-datos a { color: var(--coral); font-weight: 700; }
.cifra-xl { font-family: var(--f-display, inherit); font-weight: 900; font-size: clamp(4.4rem, 9vw, 7.5rem); line-height: .85; color: var(--coral); }
.gen-barra { display: flex; height: 64px; gap: 4px; }
.gen-barra > span { display: flex; align-items: center; gap: 8px; padding: 0 16px; min-width: max-content; font-weight: 700; font-size: .95rem; transform: skewX(calc(var(--angulo, 8deg) * -1)); }
.gen-barra > span > * , .gen-barra > span { }
.gen-barra b { font-family: var(--f-display, inherit); font-size: 2rem; }
.gen-barra__f { background: var(--coral); color: var(--ink); }
.gen-barra__m { background: var(--hueso); color: var(--ink); justify-content: flex-end; }
.gen-barra--vacia { border: 2px dashed var(--linea-fuerte); justify-content: center; align-items: center; color: var(--texto-3); font-weight: 700; }
.gen-equipos { display: grid; gap: 8px; }
.gen-eq { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 4rem; gap: 14px; align-items: center; }
.gen-eq__b { display: flex; height: 14px; gap: 2px; }
.gen-eq__b i:first-child { background: var(--coral); }
.gen-eq__b i:last-child { background: var(--texto-3); }
.gen-eq .meta { text-align: right; }

.finales__barra { display: flex; height: 54px; gap: 4px; }
.finales__barra span { transform: skewX(calc(var(--angulo, 8deg) * -1)); }
.finales__lista { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 20px; margin-top: 18px; }
.finales__lista li { display: grid; grid-template-columns: 14px auto; grid-template-rows: auto auto auto; column-gap: 10px; align-items: center; }
.finales__lista i { grid-row: 1; width: 14px; height: 14px; }
.finales__lista b { font-family: var(--f-display, inherit); font-weight: 900; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; }
.finales__lista span { grid-column: 2; font-weight: 700; }
@media (max-width: 760px) { .finales__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.h2h { width: 100%; border-collapse: separate; border-spacing: 4px; }
.h2h th { font-weight: 400; padding: 4px; }
.h2h thead th { text-align: center; }
.h2h .eq__sw { font-size: 1.3rem; }
.h2h td { text-align: center; padding: 10px 6px; border: 1px solid var(--linea); min-width: 72px; }
.h2h td b { display: block; font-family: var(--f-display, inherit); font-weight: 900; font-size: 1.35rem; line-height: 1; color: var(--hueso); }
.h2h td span { display: block; font-size: .78rem; color: var(--texto-2); margin-top: 4px; }
.h2h .h2h__yo { background: repeating-linear-gradient(135deg, var(--linea) 0 2px, transparent 2px 9px); }

.grafico .linea { fill: none; stroke: var(--coral); stroke-width: 3; stroke-linejoin: round; }
.grafico .area { fill: rgb(255 59 87 / .14); }
.grafico .punto { fill: var(--burdeos-900); stroke: var(--coral); stroke-width: 3; }
.grafico .linea-ref { stroke: var(--hueso); stroke-dasharray: 4 5; opacity: .5; }

.reparto { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .reparto { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .reparto { grid-template-columns: 1fr; } }
.reparto__eq { padding: 16px; background: var(--burdeos-800); border-top: 4px solid var(--coral); display: grid; gap: 10px; }
.reparto__cab { display: flex; align-items: center; gap: 10px; font-family: var(--f-display, inherit); font-weight: 900; text-transform: uppercase; font-size: 1.3rem; }
.reparto__cab .eq__sw { font-size: 1.2rem; }
.reparto__n b { font-family: var(--f-display, inherit); font-weight: 900; font-size: 2.6rem; color: var(--coral); line-height: 1; margin-right: 6px; }
.reparto__barra { height: 10px; background: var(--burdeos-950); }
.reparto__barra i { display: block; height: 100%; background: var(--hueso); }
.cifra-xl:empty::before { content: "Sin datos"; font-size: 1.6rem; color: var(--texto-3); }
.gen-eq { grid-template-columns: 9.5rem minmax(0, 1fr) 3.5rem; }
.gen-eq .hbar__eq, .hbar .hbar__eq { white-space: nowrap; }
.hbar { grid-template-columns: 9.5rem 1fr; }
.grafico .sub { font-size: 11px; font-weight: 600; fill: var(--texto-3); }
@media (max-width: 520px) {
  .gen-eq { grid-template-columns: 8.2rem minmax(0, 1fr) 3rem; gap: 8px; }
  .hbar { grid-template-columns: 8.2rem 1fr; }
  .gen-barra > span { padding: 0 10px; font-size: .8rem; min-width: 0; }
  .gen-barra b { font-size: 1.5rem; }
  .h2h td { min-width: 54px; padding: 8px 2px; }
  .h2h td b { font-size: 1.05rem; }
}

/* iconos de reglas del set nuevo (coral): fondo oscuro para que se vean */
.icono-regla { background: var(--burdeos-800); box-shadow: inset 0 0 0 2px var(--linea-fuerte); }
.icono-regla img { width: 78%; height: 78%; }

/* =========================================================================
   RONDA 11 · pretemporada: aviso de temporada y cuenta atrás
   ========================================================================= */
.aviso-temp { background: var(--hueso); color: var(--ink); }
.aviso-temp .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; min-height: 46px; padding-block: 8px; font-weight: 600; }
.aviso-temp b { font-family: var(--f-display, inherit); font-weight: 900; }
.aviso-temp a { position: relative; isolation: isolate; font-family: var(--f-display, inherit); font-weight: 800; text-transform: uppercase; text-decoration: none; padding: 4px 12px; color: var(--hueso); }
.aviso-temp a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: skewX(calc(var(--angulo, 8deg) * -1)); transition: background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .aviso-temp a:hover::before { background: var(--coral); } .aviso-temp a:hover { color: var(--ink); } }
.cuenta { display: flex; flex-wrap: wrap; gap: clamp(8px, 1.4vw, 16px); }
.cuenta__u { position: relative; isolation: isolate; display: grid; justify-items: center; min-width: clamp(84px, 11vw, 150px); padding: 12px 18px 10px; color: var(--ink); }
.cuenta__u::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--coral); transform: skewX(calc(var(--angulo, 8deg) * -1)); }
.cuenta__u b { font-family: var(--f-display, inherit); font-weight: 900; font-size: clamp(3rem, 7vw, 6rem); line-height: .9; }
.cuenta__u small { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.cuenta__u:last-child::before { background: var(--hueso); }
.cuenta__ya { font-family: var(--f-display, inherit); font-weight: 900; font-size: 3rem; color: var(--coral); }
@media (max-width: 520px) { .cuenta__u { min-width: 0; flex: 1; padding-inline: 8px; } .cuenta__u b { font-size: 2.4rem; } }
.mc__res--vs { background: transparent; color: var(--texto-2); box-shadow: inset 0 0 0 2px var(--linea-fuerte); font-size: 1.3rem; }

/* =========================================================================
   RONDA 13 · reglas más grandes (máx. 3 columnas) con caja coral a 8° e icono blanco;
   cifras grandes de Stats sin montarse con el texto
   ========================================================================= */
.cifra-xl { line-height: 1; margin-bottom: 10px; }
.normas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .normas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .normas { grid-template-columns: 1fr; } }
.norma { grid-template-columns: 128px minmax(0, 1fr); gap: 26px; padding: 34px 30px 38px; align-items: start; }
.norma h3 { font-size: clamp(1.9rem, 2.6vw, 2.6rem); line-height: .95; margin-bottom: 12px; }
.norma p { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.45; }
.icono-regla, .norma--grave .icono-regla { width: 128px; height: 128px; border-radius: 0; background: none; box-shadow: none; isolation: isolate; }
.icono-regla::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--coral); transform: skewX(calc(var(--angulo, 8deg) * -1)); }
.norma--grave .icono-regla::before { background: var(--coral); }
.icono-regla img { width: 76%; height: 76%; }
.icono-regla--hueco { border: 0; }
.icono-regla--hueco::before { background: transparent; border: 3px dashed rgb(255 59 87 / .6); }
.icono-regla--hueco .i { width: 56px; height: 56px; }
@media (max-width: 640px) {
  .norma { grid-template-columns: 92px minmax(0, 1fr); gap: 18px; padding: 24px 16px 28px; }
  .icono-regla, .norma--grave .icono-regla { width: 92px; height: 92px; }
}

/* reglas: una por fila */
.normas, .normas { grid-template-columns: 1fr !important; }
.norma { grid-template-columns: 128px minmax(0, 1fr); align-items: center; padding-block: 26px 28px; }
.norma > div { max-width: 90ch; }
.norma p { font-size: clamp(1.1rem, 1.4vw, 1.3rem); }
@media (max-width: 640px) { .norma { grid-template-columns: 92px minmax(0, 1fr); align-items: start; } }

/* =========================================================================
   RONDA 14 · Reglas: sin cajas de línea fina y bandas de color a sangre
   ========================================================================= */
.normas { border: 0; gap: 6px; }
.norma { border: 0; padding-inline: 0; }
.banda { position: relative; box-shadow: 0 0 0 100vmax var(--banda-bg); clip-path: inset(0 -100vmax); background: var(--banda-bg); }
.banda.seccion--tight { padding-block: clamp(56px, 8vw, 104px); }
.banda--granate { --banda-bg: var(--burdeos-700); }
.banda--hueso { --banda-bg: var(--hueso); color: var(--papel-texto); }
.banda--coral { --banda-bg: var(--coral); color: var(--ink); }

/* textos secundarios según el fondo */
.banda--hueso :is(.texto-2, .lead, .meta, .norma p, figcaption), .banda--hueso [data-intro] { color: var(--papel-texto-2) !important; }
.banda--coral :is(.texto-2, .lead, .meta, .norma p, figcaption), .banda--coral [data-intro] { color: rgb(23 4 7 / .78) !important; }
.banda--hueso .titulo-seccion .coral { color: var(--coral-papel); }
.banda--coral .titulo-seccion .coral { color: var(--hueso); }
.banda--granate .norma p { color: var(--texto-2); }

/* índice ("Ir a") sobre blanco roto */
.banda--hueso .indice-reglas a { color: var(--papel-texto-2); }
.banda--hueso .indice-reglas a:nth-child(odd) { color: var(--papel-texto); }
@media (hover: hover) and (pointer: fine) { .banda--hueso .indice-reglas a:hover { color: var(--coral-papel); } }
.banda--coral .indice-reglas a { color: rgb(23 4 7 / .6); }
.banda--coral .indice-reglas a:nth-child(odd) { color: var(--ink); }

/* cajas de icono: coral sobre claro/granate, tinta sobre coral */
.banda--coral .icono-regla::before, .banda--coral .norma--grave .icono-regla::before { background: var(--ink); }
.banda--coral .icono-regla--hueco::before { background: transparent; border-color: rgb(23 4 7 / .5); }
.banda--coral .icono-regla--hueco .i { color: var(--ink); }

/* tarjetas de puntuación y pista según el fondo */
.banda--coral .puntos-regla div { border-top-color: var(--hueso); color: var(--hueso); }
.banda--hueso .puntos-regla div { color: var(--hueso); }
.banda--hueso .pista-svg text[fill="var(--texto-2)"], .banda--hueso .pista-svg g[fill="var(--texto-2)"] text { fill: var(--papel-texto-2); }

/* RONDA 15 · aire entre el título y la línea de datos de la cabecera */
.cab__mano + .cab__lead, .cab__mano + .cab__dato { margin-top: calc(var(--cab-fs) * .46); }
.cab__dato + .cab__lead { margin-top: 18px; }

/* RONDA 16 · enlaces dentro de texto: cajita ajustada a 8° en vez de subrayado
   (el degradado a 98° dibuja los lados inclinados; box-decoration-break repite la caja si el enlace salta de línea) */
:root { --lnk-bg: var(--coral); --lnk-fg: var(--ink); --lnk-bg-h: var(--hueso); }
:where(main, .aviso-pie) :where(p, dd, td, figcaption, blockquote, .faq__r li, .norma li, .texto li, .lista-texto li) a:not([class]),
:where(main) a.coral:not(.btn), a.dato-c__v, a.enlace-texto {
  color: var(--lnk-fg) !important; text-decoration: none; font-weight: 700;
  padding: .06em .32em .08em; margin-inline: -.06em;
  background: linear-gradient(98deg, transparent .2em, var(--lnk-bg) calc(.2em + 1px), var(--lnk-bg) calc(100% - .2em - 1px), transparent calc(100% - .2em));
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@media (hover: hover) and (pointer: fine) {
  :where(main, .aviso-pie) :where(p, dd, td, figcaption, blockquote, .faq__r li, .norma li, .texto li, .lista-texto li) a:not([class]):hover,
  :where(main) a.coral:not(.btn):hover, a.dato-c__v:hover, a.enlace-texto:hover { --lnk-bg: var(--lnk-bg-h); }
}
:where(main, .aviso-pie) :where(p, dd, td, figcaption, blockquote, li) a:not([class]):focus-visible { outline: 2px solid var(--hueso); outline-offset: 2px; }
.papel, .banda--hueso { --lnk-bg-h: var(--ink); }
.papel a:not([class]):hover, .banda--hueso a:not([class]):hover { color: var(--hueso) !important; }
.banda--coral { --lnk-bg: var(--ink); --lnk-fg: var(--hueso); --lnk-bg-h: var(--hueso); }
.banda--coral a:not([class]):hover { color: var(--ink) !important; }

/* pie: lema bajo WE LOVE HOCKEY */
.pie__textos { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pie__lema { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1rem, 1.5vw, 1.3rem); line-height: 1.1; color: var(--texto-2); transform: skewX(calc(var(--angulo, 8deg) * -1)); transform-origin: left bottom; }
.pie__textos { flex: 1 1 auto; }
@media (max-width: 480px) { .pie__marca { flex-wrap: nowrap; gap: 12px; } .pie__lema { font-size: .85rem; } .pie__textos { gap: 10px; } }
@media (max-width: 379px) { .pie__marca { flex-wrap: wrap; } .pie__grande { font-size: 2.3rem; } }
.pie__grid > * { min-width: 0; }
@media (max-width: 860px) { .pie__grid > :first-child { grid-column: 1 / -1; } }
.pie li a { overflow-wrap: anywhere; }

/* RONDA 17 · las flechas de los botones son ahora el puck (mismo símbolo #i-arrow-*) y giran al pasar por encima */
:is(.btn, .enlace-flecha, .marcadores__amist) .i:has(use[href="#i-arrow-right"], use[href="#i-arrow-up-right"]) {
  width: 1.2em; height: 1.2em; transition: transform 1100ms cubic-bezier(.65, 0, .35, 1);
}
@media (hover: hover) and (pointer: fine) {
  :is(.btn, .enlace-flecha, .marcadores__amist):hover .i:has(use[href="#i-arrow-right"], use[href="#i-arrow-up-right"]) { transform: rotate(720deg); }
}
@media (prefers-reduced-motion: reduce) { :is(.btn, .enlace-flecha, .marcadores__amist) .i { transition: none; } }

/* FAQs · cierre "Hockey smell" con el keko que huele mal */
.huele { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(56px, 8vw, 112px); padding-block: clamp(40px, 6vw, 88px); }
.huele__img { width: 100%; max-width: 560px; height: auto; justify-self: center; transform-origin: 50% 90%; }
.huele__txt { display: grid; gap: 18px; }
.huele__txt .titulo-par { margin-bottom: 12px; }
.huele__txt .titulo-seccion { color: var(--papel-texto); }
.huele__txt .titulo-par__mano { color: var(--coral-papel); }
.huele__txt .lead { font-weight: 600; }
.huele__firma { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.05; color: var(--coral-papel); transform: skewX(calc(var(--angulo, 8deg) * -1)); transform-origin: left bottom; }
@media (max-width: 860px) { .huele { grid-template-columns: minmax(0, 1fr); } .huele__img { max-width: 380px; } }
.huele__txt .titulo-par__mano { margin-left: 30%; }

/* tufo detrás del keko (la imagen queda quieta) */
.huele__arte { position: relative; display: grid; place-items: center; isolation: isolate; }
.huele__arte .huele__img { position: relative; z-index: 2; }
.huele__tufo { position: absolute; z-index: 1; left: 50%; top: 46%; width: 125%; height: auto; transform: translate(-50%, -50%); overflow: visible; pointer-events: none; }
.huele__ola { stroke: #8DB43A; stroke-width: 7; opacity: .55; }
.huele__ola:nth-child(even) { stroke: #B7C26A; stroke-width: 5; }
.huele__motas circle { fill: #8DB43A; opacity: .45; }
@media (prefers-reduced-motion: no-preference) {
  .huele__nube { transform-box: fill-box; transform-origin: center; animation: tufo-nube 4.5s ease-in-out infinite; }
  .huele__ola { stroke-dasharray: 60 22; animation: tufo-sube 3.4s linear infinite, tufo-raya 1.1s linear infinite; animation-delay: var(--d), var(--d); opacity: 0; }
  .huele__motas circle { animation: tufo-mota 3.8s ease-out infinite; animation-delay: var(--d); opacity: 0; }
  @keyframes tufo-nube { 0%, 100% { transform: scale(.94); opacity: .75; } 50% { transform: scale(1.06); opacity: 1; } }
  @keyframes tufo-sube { 0% { translate: 0 30px; opacity: 0; } 20% { opacity: .8; } 70% { opacity: .6; } 100% { translate: 0 -70px; opacity: 0; } }
  @keyframes tufo-raya { to { stroke-dashoffset: -82; } }
  @keyframes tufo-mota { 0% { translate: 0 0; opacity: 0; } 15% { opacity: .55; } 100% { translate: 12px -250px; opacity: 0; } }
}
.pie__lema--coral { color: var(--coral); margin-top: -8px; }
@media (max-width: 480px) { .pie__lema--coral { margin-top: -4px; } }
@media (max-width: 480px) { .pie__grid { column-gap: 20px; } .pie li a { font-size: 1.1rem; overflow-wrap: break-word; } }
/* FAQs: la banda "Hockey smell" llega hasta el pie, sin hueco granate */
.seccion:has(> .wrap > .huele:last-child) { padding-bottom: 0; }
.wrap > .huele:last-child { margin-bottom: 0; }

/* RONDA 19 · pie: keko alineado por arriba con "WE" */
.pie__marca { align-items: flex-start; }
.pie__keko { margin-top: calc(clamp(2.6rem, 5.4vw, 4.6rem) * var(--keko-ajuste, -.12)); }
@media (max-width: 379px) { .pie__keko { margin-top: 0; } }

/* RONDA 20 · Past: álbum de fotos (rejilla de tamaños aleatorios, piezas a 8°) + visor */
.album { --tan8: .1405; }
.album .titulo-par { margin-bottom: 4px; }
.album__dato { margin-top: 18px; color: var(--texto-2); }
.album__filtros { display: flex; flex-wrap: wrap; gap: 6px 4px; margin-top: 26px; }
.album__filtro { position: relative; isolation: isolate; border: 0; background: transparent; color: var(--hueso); cursor: pointer;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 1.05rem; line-height: 1;
  min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; transition: color .2s var(--ease-out); }
.album__filtro::before { content: ""; position: absolute; inset: 6px 2px; z-index: -1; background: var(--burdeos-800); transform: skewX(calc(var(--angulo, 8deg) * -1)); transition: background-color .2s var(--ease-out), transform .2s var(--ease-out); }
.album__filtro .num { font-size: .8em; color: var(--texto-2); }
.album__filtro[aria-pressed="true"] { color: var(--ink); }
.album__filtro[aria-pressed="true"]::before { background: var(--coral); }
.album__filtro[aria-pressed="true"] .num { color: var(--ink); opacity: .7; }
@media (hover: hover) and (pointer: fine) { .album__filtro:not([aria-pressed="true"]):hover::before { background: var(--burdeos-700); } }
.album__filtro:active::before { transform: skewX(calc(var(--angulo, 8deg) * -1)) scale(.97); }
.album__filtro:focus-visible { outline: none; }
.album__filtro:focus-visible::before { box-shadow: 0 0 0 3px var(--hueso); }

/* RONDA 21 · rejilla en bandas (album.js coloca cada pieza en px): todas las juntas de una banda siguen la misma
   línea a 8°, así el hueco es igual en horizontal y vertical y las cajas no se montan. */
.album__rejilla { position: relative; list-style: none; margin: 30px 0 0; padding: 0; min-height: 200px; }
.album__item { position: absolute; margin: 0; transform: translateX(var(--dx, 0px)) skewX(calc(var(--angulo, 8deg) * -1)); }
.album__foto { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: var(--burdeos-800); color: inherit; }
.album__media { position: absolute; top: 0; bottom: 0; left: calc(var(--o) * -.5); right: calc(var(--o) * -.5); transform: skewX(var(--angulo, 8deg)); overflow: hidden; }
.album__media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.01); transition: transform .6s var(--ease-out), filter .4s var(--ease-out); }
.album__foto::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgb(23 4 7 / .82)); opacity: 0; transition: opacity .3s var(--ease-out); pointer-events: none; }
.album__pie { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
  font-family: var(--f-display); text-transform: uppercase; color: var(--hueso); line-height: 1; opacity: 0; translate: 0 6px; transition: opacity .3s var(--ease-out), translate .3s var(--ease-out); pointer-events: none; }
.album__pie b { font-weight: 800; font-size: 1rem; }
.album__pie .num { font-size: .85rem; color: var(--coral-claro); }
@media (hover: hover) and (pointer: fine) {
  .album__foto:hover .album__media img { transform: scale(1.07); }
  .album__foto:hover::after, .album__foto:hover .album__pie { opacity: 1; translate: 0 0; }
}
.album__foto:focus-visible { outline: none; }
.album__foto:focus-visible::after, .album__foto:focus-visible .album__pie { opacity: 1; translate: 0 0; }
.album__item:has(:focus-visible) { z-index: 3; filter: drop-shadow(3px 0 0 var(--coral)) drop-shadow(-3px 0 0 var(--coral)) drop-shadow(0 3px 0 var(--coral)) drop-shadow(0 -3px 0 var(--coral)); }
.album__item--s .album__pie b { font-size: .85rem; }

/* destacada: componente rejilla (tiras con la foto en monocromo coral + recorte con alfa). No va inclinada:
   el paralelogramo lo dibujan las tiras y el clip-path, con los mismos bordes que el resto de la banda. */
.album__item--dest:not(.album__item--plana) { transform: translateX(var(--dx, 0px)); }
.album__foto--dest { position: absolute; top: 0; bottom: 0; left: calc(var(--o) * -.5); right: calc(var(--o) * -.5); width: auto; height: auto; background: transparent; overflow: hidden;
  clip-path: polygon(var(--o) 0, 100% 0, calc(100% - var(--o)) 100%, 0 100%); }
.album__foto--dest .rejilla, .album__foto--dest .rejilla__marco { width: 100%; height: 100%; aspect-ratio: auto; }
.album__foto--dest::after { background: linear-gradient(180deg, transparent 60%, rgb(23 4 7 / .7)); }
.album__foto--dest .album__pie { left: calc(var(--o) * .5 + 18px); bottom: 14px; }
.album__foto--dest .album__pie b { font-size: 1.25rem; }
.album__item--plana .album__media img { filter: grayscale(1) contrast(1.15); }
.album__item--plana .album__foto::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--coral); mix-blend-mode: multiply; pointer-events: none; }

/* cajas coral con palabra (decorativas) */
.album__lema { display: grid; place-items: center; background: var(--coral); color: var(--ink); overflow: hidden; pointer-events: none; }
.album__lema-txt { display: block; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: var(--fs, 2rem); line-height: .88; letter-spacing: .005em; text-align: center; padding-top: .06em; }

/* entrada escalonada */
.album__item { opacity: 0; translate: 0 18px; }
.album__item.is-in { opacity: 1; translate: 0 0; transition: opacity .5s var(--ease-out), translate .5s var(--ease-out); transition-delay: calc(min(var(--k, 0), 14) * 35ms); }
.album__item.sin-trans { transition: none; }
@media (prefers-reduced-motion: reduce) { .album__item, .album__item.is-in { opacity: 1; translate: none; transition: none; } .album__media img { transition: none; } }

.album__mas { margin-top: 34px; display: flex; justify-content: center; }
.album__mas [hidden], [data-album-mas][hidden] { display: none !important; }

@media (max-width: 600px) {
  .album__filtro { font-size: .95rem; padding: 0 12px; }
  .album__pie b { font-size: .85rem; }
}

/* visor */
html.lb-abierto { overflow: hidden; }
dialog.album-lb { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(15 2 5 / .96); color: var(--hueso); overscroll-behavior: contain; }
dialog.album-lb::backdrop { background: rgb(15 2 5 / .9); }
dialog.album-lb[open] { display: grid; grid-template-rows: auto 1fr; animation: fade .22s ease; }
.album-lb__barra { display: flex; align-items: center; justify-content: space-between; padding: 10px clamp(12px, 3vw, 28px); }
.album-lb__cont { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; letter-spacing: .04em; color: var(--texto-2); }
.album-lb__fig { margin: 0; min-height: 0; display: grid; grid-template-rows: 1fr auto; justify-items: center; padding: 0 clamp(12px, 7vw, 96px) clamp(14px, 3vw, 28px); }
.album-lb__marco { min-height: 0; width: 100%; display: grid; place-items: center; touch-action: pan-y; }
.album-lb__marco img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; background-size: cover; background-position: center; filter: blur(0); box-shadow: 0 30px 80px rgb(0 0 0 / .55); user-select: none; -webkit-user-drag: none; }
.album-lb__marco img:not(.is-cargada) { filter: blur(6px) saturate(.9); }
.album-lb__pie { position: relative; isolation: isolate; margin-top: 14px; padding: 8px 18px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 14px;
  font-family: var(--f-display); text-transform: uppercase; line-height: 1.05; text-align: center; }
.album-lb__pie::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--coral); transform: skewX(calc(var(--angulo, 8deg) * -1)); }
.album-lb__pie b { color: var(--ink); font-weight: 900; font-size: 1.2rem; }
.album-lb__pie .num { color: var(--ink); font-weight: 700; font-size: .95rem; opacity: .8; }
.album-lb__btn { position: relative; isolation: isolate; width: 52px; height: 52px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.album-lb__btn::before { content: ""; position: absolute; inset: 4px; z-index: -1; background: var(--hueso); transform: skewX(calc(var(--angulo, 8deg) * -1)); transition: background-color .2s var(--ease-out), transform .15s var(--ease-out); }
.album-lb__btn .i { width: 24px; height: 24px; }
@media (hover: hover) and (pointer: fine) { .album-lb__btn:hover::before { background: var(--coral); } }
.album-lb__btn:active::before { transform: skewX(calc(var(--angulo, 8deg) * -1)) scale(.94); }
.album-lb__btn:focus-visible { outline: none; }
.album-lb__btn:focus-visible::before { box-shadow: 0 0 0 3px var(--coral); }
.album-lb__nav { position: absolute; top: 50%; translate: 0 -50%; }
.album-lb__nav--prev { left: clamp(4px, 1.5vw, 20px); }
.album-lb__nav--next { right: clamp(4px, 1.5vw, 20px); }
@media (max-width: 600px) { .album-lb__nav { top: auto; bottom: 14px; translate: none; } .album-lb__fig { padding-bottom: 76px; } .album-lb__marco img { max-height: calc(100dvh - 230px); } }

/* =========================================================================
   LIGA (MC) 21-oct: ajustes de la ronda de arreglo (RF-54, sin scroll horizontal a 375 px)
   - Pie: el enlace «madridpatina.org» (inline-flex, mayúsculas) era más ancho que su columna
     y empujaba el documento a 385 px: la regla de ≤480 px lo dejaba en `break-word`, que no
     baja el ancho mínimo; `anywhere` sí. Se escribe DESPUÉS de esa regla (orden) y con su misma
     especificidad.
   - Banda «En directo»: el marcador no se parte; el texto de jornada es el que se recorta.
   ========================================================================= */
@media (max-width: 480px) { .pie li a { overflow-wrap: anywhere; max-width: 100%; } }
.banda-vivo a > * { min-width: 0; }
.banda-vivo .etiqueta { white-space: nowrap; flex: none; }
.banda-vivo__marcador, .banda-vivo__crono { white-space: nowrap; flex: none; }
.banda-vivo [data-vivo-texto] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 0 1 auto; }
@media (max-width: 480px) {
  .banda-vivo a { flex-wrap: wrap; gap: 2px 10px; padding-block: 6px; }
  .banda-vivo__marcador { font-size: 1.15rem; }
  .banda-vivo [data-vivo-texto] { display: none; }
}
