/* ==========================================================================
   Sistema visual
   Idea: afiche suizo de fútbol. Una sola familia con eje de ancho (Archivo):
   titulares ultra condensados y enormes contra rótulos expandidos y chicos.
   Todo lo diagonal comparte el ángulo de la banda (/). Rojo, blanco y negro.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* color */
  --papel: #f8f8f6;
  --papel-2: #ecece9;
  --tinta: #080808;
  --rojo: #e2001a;
  --humo: #6b6b67;
  --linea: rgba(8, 8, 8, 0.16);
  --sobre-foto: #ffffff;
  /* tipografía */
  --fuente: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  /* medida */
  --margen: clamp(1rem, 3.2vw, 3rem);
  --ancho: 1560px;
  --corte: 9.5%;               /* cuánto se inclina la banda: mismo ángulo en todo el sitio */
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papel: #070707; --papel-2: #151515; --tinta: #f4f4f1; --rojo: #f0142d;
    --humo: #9b9b96; --linea: rgba(244, 244, 241, 0.2);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --papel: #070707; --papel-2: #151515; --tinta: #f4f4f1; --rojo: #f0142d;
  --humo: #9b9b96; --linea: rgba(244, 244, 241, 0.2);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--fuente);
  font-size: 1.0625rem;
  line-height: 1.5;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;   /* «hidden» convertía al body en contenedor de scroll y la cabecera dejaba de quedar fija */
}
/* grano de papel, muy leve */
/* absolute (no fixed): un elemento fijo transparente sobre toda la pantalla hacía que Safari (iOS 26) no tiñera
   la barra de estado con el color de la cabecera y se viera la página por encima. */
body { position: relative; }
body::before {
  content: ""; position: absolute; inset: 0; z-index: 100; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
:root[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: 0.05; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::before { mix-blend-mode: screen; opacity: 0.05; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--rojo); outline-offset: 3px; }
::selection { background: var(--rojo); color: #fff; }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- tipografía ---------- */
.titular {
  font-stretch: 62%; font-weight: 900; text-transform: uppercase;
  line-height: 0.82; letter-spacing: -0.012em; text-wrap: balance;
}
.rotulo {            /* rótulo chico y expandido: el contrapeso del titular */
  font-stretch: 125%; font-weight: 600; font-size: 0.6875rem; line-height: 1.3; letter-spacing: 0.01em;
}
.rotulo--humo { color: var(--humo); }
.bajada { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.9vw, 1.75rem); line-height: 1.18; text-wrap: pretty; }
.cifra { font-variant-numeric: tabular-nums; }
.barra { color: var(--rojo); font-weight: 900; }       /* la / de la marca */

.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--margen); }

/* enlaces de texto con subrayado que se dibuja */
.enlace { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size 0.35s var(--ease); }
.enlace:hover { background-size: 0 1px; background-position: 100% 100%; }

.boton {
  display: inline-flex; align-items: center; gap: 0.6em; min-height: 2.75rem; padding: 0 1.15rem;
  background: var(--tinta); color: var(--papel); font-stretch: 112%; font-weight: 600; font-size: 0.8125rem;
  clip-path: polygon(0.7rem 0, 100% 0, calc(100% - 0.7rem) 100%, 0 100%);   /* paralelogramo: el botón también es banda */
  padding-inline: 1.6rem; transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.boton:hover { background: var(--rojo); color: #fff; }
.boton:active { transform: translateY(1px); }
.boton--rojo { background: var(--rojo); color: #fff; }
.boton--rojo:hover { background: var(--tinta); color: var(--papel); }
.boton--linea { background: none; color: inherit; clip-path: none; padding-inline: 0; min-height: 0; }
.boton[disabled], .boton[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.boton svg, .icono { width: 1.05em; height: 1.05em; flex: none; }

/* ---------- aviso de versión de prueba ---------- */
.aviso { background: var(--papel-2); color: var(--tinta); }
.aviso .contenedor { display: flex; gap: 0.5rem 1.5rem; flex-wrap: wrap; justify-content: space-between; padding-block: 0.4rem; }
.aviso .contenedor > span { opacity: 0.75; }
.aviso:has(#franja-pub:empty) { display: none; }   /* sin el control de publicidad de demostración, no queda franja vacía */

/* ---------- cabecera ---------- */
/* Fija (no sticky): en el iPhone, Safari pinta la barra de estado con el color de los elementos fijos que tocan el borde,
   así no se ve el contenido pasando por arriba de la cabecera. */
.cabecera { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--papel); border-bottom: 1px solid var(--linea); padding-top: env(safe-area-inset-top, 0px); }
body { padding-top: calc(3.75rem + 1px + env(safe-area-inset-top, 0px)); }
.cabecera .contenedor { display: flex; align-items: center; gap: 1.5rem; min-height: 3.75rem; }
/* El logo, según la referencia aprobada: Archivo 900 engrosada, letras casi tocándose,
   y la diagonal como paralelogramo propio (16°, apenas más alta que las letras). */
.logo { display: inline-block; font-stretch: 84%; font-weight: 900; text-transform: uppercase; letter-spacing: 0.036em; line-height: 1; white-space: nowrap;
  -webkit-text-stroke: 0.07em currentColor; paint-order: stroke fill; }
.logo__barra { display: inline-block; width: 0.231em; height: 0.82em; margin: 0 0.12em -0.065em 0.22em; background: var(--rojo); transform: skewX(-16deg); vertical-align: baseline; }
.marca { display: inline-flex; font-size: 1.36rem; }
.marca { position: relative; align-self: stretch; align-items: center; }
/* la gallina: asoma detrás de la línea de la cabecera y picotea la barra */
.gallina { position: absolute; left: 100%; bottom: -1px; width: 2.1rem; height: 2.4rem; margin-left: 0.05rem; transform: scaleX(-1); clip-path: inset(-60% -60% 0 -60%); pointer-events: none; }
.gallina svg { display: block; width: 100%; height: 100%; overflow: visible; transform: translateY(112%); transition: transform 0.38s var(--ease); }
.gallina__cabeza { transform-origin: 22px 50px; }
.gallina__cuerpo { fill: #fff; stroke: var(--tinta); stroke-width: 2.6; stroke-linejoin: round; }
.gallina__rojo { fill: var(--rojo); }
.gallina__pico { fill: var(--tinta); }
.gallina__ojo { fill: #080808; }
.gallina__ojo { transform-origin: 28px 23px; }
.marca:hover .gallina svg, .marca:focus-visible .gallina svg { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .marca:hover .gallina__cabeza { animation: picotea 1.25s 0.32s ease-in-out both; }
  .marca:hover .logo__barra { animation: golpe 1.25s 0.32s ease-in-out both; }
  .marca:hover .gallina__ojo { animation: parpadea 2.6s 1.7s infinite; }
}
@keyframes picotea { 0%, 34%, 68%, 100% { transform: rotate(0); } 17%, 51% { transform: rotate(30deg) translateY(1px); } 84% { transform: rotate(-7deg); } }
@keyframes golpe { 0%, 12%, 34%, 46%, 68%, 100% { transform: skewX(-16deg); } 19%, 53% { transform: translateX(-0.06em) skewX(-20deg); } 26%, 60% { transform: translateX(0.03em) skewX(-14deg); } }
@keyframes parpadea { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.1); } }
.nombres { display: inline-flex; flex-wrap: wrap; gap: 0.15rem 0.5rem; align-items: center; opacity: 1 !important; }
.nombres button { font: inherit; padding: 0.05rem 0.5rem; border: 1px solid var(--linea); margin-right: -1px; }
.nombres button[aria-pressed="true"] { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.nav { display: flex; gap: clamp(0.8rem, 1.7vw, 1.7rem); margin-left: auto; }
.nav a { position: relative; font-stretch: 112%; font-weight: 500; font-size: 0.8125rem; padding-block: 0.4rem; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rojo); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.cabecera__acciones { display: flex; align-items: center; gap: 0.25rem; }
.icono-boton { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; }
.icono-boton svg { width: 1.2rem; height: 1.2rem; transition: transform 0.4s var(--ease); }
.icono-boton:hover svg { transform: rotate(-22deg); }
.menu-boton { display: none; }
@media (max-width: 1080px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 3.75rem); background: var(--papel); flex-direction: column; gap: 0; padding: 1rem var(--margen) 2rem; margin: 0; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0.4s; }
  .nav[data-abierto="true"] { transform: none; visibility: visible; }
  .nav a { font-stretch: 62%; font-weight: 900; font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1; text-transform: uppercase; padding-block: 0.28rem; border-bottom: 1px solid var(--linea); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--rojo); }
  .cabecera__acciones { margin-left: auto; }
  .menu-boton { display: grid; }
}

/* ---------- transición entre páginas: pasa la banda ---------- */
.barrido { position: fixed; inset: -10% -40%; z-index: 90; background: var(--rojo); transform: translateX(-130%) skewX(-14deg); pointer-events: none; }
.barrido[data-activo="true"] { animation: barrido 0.72s var(--ease) both; }
@keyframes barrido { 0% { transform: translateX(-130%) skewX(-14deg); } 46%, 54% { transform: translateX(0) skewX(-14deg); } 100% { transform: translateX(130%) skewX(-14deg); } }

/* ---------- HERO ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--linea); }
.hero__copia { padding: clamp(1.5rem, 3vw, 3rem) var(--margen) clamp(2rem, 3.4vw, 3.2rem); max-width: var(--ancho); margin-inline: auto; display: grid; gap: clamp(1.1rem, 2vw, 1.9rem); align-content: start; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; align-items: center; }
.hero h1 { font-size: clamp(4.1rem, 11.6vw, 12.6rem); line-height: 0.94; margin-left: -0.03em; text-wrap: initial; }
.hero h1 > span { display: block; }
.hero h1 > span:nth-child(-n+2) { display: inline-block; }
.hero h1 > span:last-child { margin-top: 0.07em; }
.hero h1 span .rojo, .hero h1 .rojo { display: inline; margin: 0; color: var(--rojo); }
.hero .bajada { max-width: 33ch; }
.hero__pie { display: flex; flex-wrap: wrap; gap: 0.9rem 1.6rem; align-items: center; }
.hero__fuentes { max-width: 30ch; }
/* la franja roja que acompaña el corte */
.hero__filete { position: absolute; inset: 0; z-index: -1; background: var(--rojo); clip-path: polygon(calc(57% - 1.1vw) 0, 57% 0, calc(57% - var(--corte) * 2) 100%, calc(57% - var(--corte) * 2 - 1.1vw) 100%); }
/* la foto recortada en diagonal, con la misma copia en blanco encima */
.hero__banda { position: absolute; inset: 0; z-index: 2; pointer-events: none; user-select: none; color: var(--sobre-foto); clip-path: polygon(58% 0, 100% 0, 100% 100%, calc(58% - var(--corte) * 2) 100%); background: #000; }
.hero__banda img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: 0.86; }
.hero__banda::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,0.5), rgba(0,0,0,0.05) 55%), linear-gradient(0deg, rgba(0,0,0,0.45), transparent 40%); }
.hero__banda .hero__copia { position: relative; z-index: 1; }
.hero__banda .rotulo--humo { color: inherit; opacity: 0.8; }
.hero__banda .boton { background: #fff; color: #000; }
.hero__credito { position: absolute; right: var(--margen); bottom: 0.7rem; z-index: 3; color: #fff; opacity: 0.7; }
@media (max-width: 760px) {
  .hero__copia { padding-bottom: 62vw; }
  .hero h1 { font-size: clamp(4.2rem, 25.5vw, 9rem); }
  .hero h1 > span:nth-child(-n+2) { display: block; }
  .hero__banda { clip-path: polygon(0 calc(100% - 50vw), 100% calc(100% - 74vw), 100% 100%, 0 100%); }
  .hero__filete { clip-path: polygon(0 calc(100% - 52.5vw), 100% calc(100% - 76.5vw), 100% calc(100% - 74vw), 0 calc(100% - 50vw)); }
  .hero__banda img { top: auto; height: 78vw; object-position: 62% 60%; }
}
/* la única entrada orquestada del sitio */
@media (prefers-reduced-motion: no-preference) {
  .hero__banda { animation: entra-banda 1.1s var(--ease) both; }
  .hero__filete { animation: entra-banda 1.1s 0.08s var(--ease) both; }
  .hero h1 > span { animation: sube 0.9s var(--ease) both; }
  .hero h1 > span:nth-child(2) { animation-delay: 0.07s; }
  .hero h1 > span:nth-child(3) { animation-delay: 0.14s; }
  .hero h1 > span:nth-child(4) { animation-delay: 0.21s; }
  @keyframes entra-banda { from { transform: translateX(46%); } to { transform: none; } }
  @keyframes sube { from { transform: translateY(0.35em); } to { transform: none; } }
}

/* ---------- PRÓXIMO PARTIDO ---------- */
.proximo { background: var(--tinta); color: var(--papel); }
.proximo .contenedor { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.2rem, 4vw, 4rem); align-items: center; padding-block: clamp(1.1rem, 2vw, 1.7rem); }
.proximo__cruce { display: flex; align-items: baseline; gap: 0.5rem; font-size: clamp(3rem, 7vw, 6.2rem); }
.proximo__cruce .vs { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; font-size: 0.42em; font-stretch: 100%; letter-spacing: 0; opacity: 0.7; padding-inline: 0.15em; }
.proximo__river { color: var(--rojo); }
.proximo__datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0.7rem 1.6rem; }
.proximo__datos dt { opacity: 0.6; }
.proximo__datos dd { font-weight: 600; font-size: 0.98rem; line-height: 1.25; }
.reloj { display: flex; gap: 1.3rem; }
.reloj div { position: relative; text-align: center; }
.reloj b { display: block; font-stretch: 62%; font-weight: 900; font-size: clamp(2.4rem, 4.4vw, 3.9rem); line-height: 0.9; }
.reloj div + div::before { content: "/"; position: absolute; left: -0.95rem; top: 0.1rem; font-stretch: 62%; font-weight: 900; font-size: 1.6rem; color: var(--rojo); }
.reloj span { opacity: 0.6; }
.reloj__estado { font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.15; max-width: 16ch; }
@media (max-width: 980px) { .proximo .contenedor { grid-template-columns: 1fr; } }

/* ---------- MARQUEE ---------- */
.cinta { position: relative; z-index: 3; background: var(--rojo); color: #fff; overflow: hidden; transform: rotate(-2.2deg) scale(1.04); margin-block: clamp(1.6rem, 3.6vw, 3.4rem) clamp(1rem, 2.4vw, 2.2rem); }
.cinta__pista { display: flex; width: max-content; animation: cinta 32s linear infinite; }
.cinta__grupo { display: flex; align-items: center; flex: none; }
.cinta__grupo span { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(3.2rem, 9.4vw, 9rem); line-height: 1.02; padding-block: 0.05em 0.02em; white-space: nowrap; }
.cinta__grupo i { font-style: normal; font-weight: 900; font-size: clamp(3.2rem, 9.4vw, 9rem); line-height: 1; color: #000; padding-inline: 0.22em; font-stretch: 62%; }
.cinta__grupo span.hueca { color: transparent; -webkit-text-stroke: 2px #fff; }
.cinta__grupo span.serif { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; font-stretch: 100%; letter-spacing: -0.01em; }
@keyframes cinta { to { transform: translateX(-50%); } }
.cinta--fina { transform: none; margin: 0; background: var(--tinta); color: var(--papel); }
.cinta--fina .cinta__pista { animation-duration: 60s; animation-direction: reverse; }
.cinta--fina .cinta__grupo span { font-stretch: 125%; font-weight: 600; font-size: 0.75rem; text-transform: none; padding-block: 0.7rem; }
.cinta--fina .cinta__grupo i { font-size: 0.9rem; color: var(--rojo); padding-inline: 1.1rem; }
/* Con «reducir movimiento» (Windows: Efectos de animación apagados) la cinta sigue, pero lenta (pedido de Rami). */

/* ---------- secciones ---------- */
.seccion { padding-block: clamp(2.8rem, 6.5vw, 6.5rem); }
.seccion--linea { border-top: 1px solid var(--linea); }
.seccion__cabeza { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(1.4rem, 3vw, 2.8rem); }
.seccion__cabeza h2 { font-size: clamp(3.3rem, 9.5vw, 9.5rem); }
.seccion__cabeza p { max-width: 34ch; color: var(--humo); font-size: 0.95rem; }
.seccion__lado { display: grid; gap: 0.7rem; justify-items: end; text-align: right; }
@media (max-width: 700px) { .seccion__cabeza { grid-template-columns: 1fr; } .seccion__lado { justify-items: start; text-align: left; } }

.rejilla { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.25rem, 2.6vw, 2.75rem); }

/* ---------- estados de verificación: la forma dice el estado ---------- */
.estado { display: inline-flex; align-items: center; gap: 0.45em; white-space: nowrap; }
.estado::before { content: ""; width: 0.72em; height: 0.72em; border: 1.5px solid currentColor; flex: none; }
.estado--confirmado::before { background: currentColor; }
.estado--informado::before { background: linear-gradient(115deg, currentColor 50%, transparent 50.5%); }
.estado--rumor { color: var(--humo); }
.leyenda { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; }

/* ---------- ACTUALIDAD ---------- */
.notas { grid-column: 1 / span 7; }
.nota { position: relative; display: grid; grid-template-columns: 6.2rem 1fr; gap: 0.3rem 1.2rem; padding-block: 1.15rem 1.25rem; border-top: 1px solid var(--linea); transition: padding 0.35s var(--ease); }
.nota:last-child { border-bottom: 1px solid var(--linea); }
.nota::before { content: "/"; position: absolute; left: -0.1rem; top: 0.9rem; font-stretch: 62%; font-weight: 900; font-size: 2rem; line-height: 1; color: var(--rojo); opacity: 0; transform: translateX(-0.6rem); transition: opacity 0.25s, transform 0.35s var(--ease); }
.nota:hover { padding-left: 1.35rem; }
.nota:hover::before { opacity: 1; transform: none; }
.nota__fecha { padding-top: 0.42rem; }
.nota h3 { font-stretch: 84%; font-weight: 750; font-size: clamp(1.3rem, 2.05vw, 1.85rem); line-height: 1.06; letter-spacing: -0.012em; text-wrap: balance; }
.nota h3 a::after { content: ""; position: absolute; inset: 0; }
.nota p { color: var(--humo); font-size: 0.96rem; max-width: 62ch; margin-top: 0.4rem; }
.nota__pie { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin-top: 0.65rem; align-items: center; }
.nota__pie a { position: relative; z-index: 1; }
.lateral { grid-column: 8 / -1; display: grid; gap: clamp(1.5rem, 3vw, 2.75rem); align-content: start; }
@media (max-width: 980px) { .notas, .lateral { grid-column: 1 / -1; } }
@media (max-width: 560px) { .nota { grid-template-columns: 1fr; } .nota__fecha { padding-top: 0; } }

/* foto con marcador encima */
.cuadro { position: relative; display: block; color: #fff; background: #000; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.6rem), calc(100% - 7rem) 100%, 0 100%); }
.cuadro img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; opacity: 0.82; transition: transform 1.1s var(--ease), opacity 0.4s; }
.cuadro:hover img { transform: scale(1.05); opacity: 0.95; }
.cuadro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.78), rgba(0,0,0,0) 62%); }
.cuadro__texto { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 1.3rem 1.3rem 3.2rem; display: grid; gap: 0.5rem; }
.cuadro__marcador { font-size: clamp(5rem, 10.5vw, 10rem); display: flex; align-items: baseline; gap: 0.06em; }
.cuadro__marcador small { font-size: 0.6875rem; font-stretch: 125%; font-weight: 600; text-transform: none; letter-spacing: 0.01em; line-height: 1.3; margin-left: 1rem; max-width: 14ch; }
.cuadro h3 { font-stretch: 84%; font-weight: 750; font-size: 1.5rem; line-height: 1.05; }
.credito { position: absolute; top: 0.7rem; right: 0.8rem; z-index: 1; opacity: 0.75; color: #fff; }

.mercado h3, .bloque-titulo { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 2.3rem; line-height: 0.9; margin-bottom: 0.9rem; }
.mercado li { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 1rem; padding-block: 0.7rem; border-top: 1px solid var(--linea); position: relative; }
.mercado li:last-child { border-bottom: 1px solid var(--linea); }
.mercado b { font-weight: 700; font-size: 1.08rem; }
.mercado small { color: var(--humo); font-size: 0.86rem; grid-column: 1; }
.mercado .estado { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.mercado a::after { content: ""; position: absolute; inset: 0; }

/* ---------- PARTIDOS ---------- */
.racha { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--tinta); }
.racha li { padding: 0.9rem 1rem 1.2rem 0; border-right: 1px solid var(--linea); padding-left: 1rem; display: grid; gap: 0.35rem; align-content: start; position: relative; }
.racha li:first-child { padding-left: 0; }
.racha li:last-child { border-right: 0; }
.racha__marcador { font-size: clamp(3.2rem, 7.4vw, 7.4rem); }
.racha__marcador i { font-style: normal; color: var(--humo); padding-inline: 0.03em; }
.racha__rival { font-weight: 700; font-size: 1.05rem; line-height: 1.15; }
.racha__signo { display: inline-grid; place-items: center; width: 1.55rem; height: 1.55rem; font-weight: 800; font-size: 0.8rem; border: 1.5px solid var(--tinta); }
.racha__signo[data-r="V"] { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.racha__signo[data-r="D"] { color: var(--humo); border-color: var(--humo); }
.racha li:first-child .racha__marcador { color: var(--rojo); }
@media (max-width: 820px) {
  .racha { grid-template-columns: 1fr; }
  .racha li { grid-template-columns: 5.2rem 1fr auto; align-items: center; padding: 0.7rem 0; border-right: 0; border-bottom: 1px solid var(--linea); }
  .racha__marcador { font-size: 3.2rem; grid-row: 1 / span 2; }
  .racha li .rotulo:last-child { grid-column: 2; }
}
.camino { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(2rem, 4vw, 3.5rem); counter-reset: paso; }
.camino li { counter-increment: paso; position: relative; padding: 1.2rem 1.5rem 1.4rem; background: var(--papel-2); clip-path: polygon(1.4rem 0, 100% 0, calc(100% - 1.4rem) 100%, 0 100%); margin-right: -0.9rem; display: grid; gap: 0.25rem; padding-left: 2.6rem; }
.camino li[data-estado="proximo"] { background: var(--rojo); color: #fff; }
.camino li::before { content: counter(paso); font-stretch: 62%; font-weight: 900; font-size: 1rem; opacity: 0.7; }
.camino b { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 0.9; }
.camino span { font-size: 0.92rem; line-height: 1.3; }
@media (max-width: 820px) { .camino { grid-template-columns: 1fr; gap: 0.5rem; } .camino li { margin-right: 0; } }

.tabla { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.tabla th { text-align: left; padding: 0.5rem 1rem 0.5rem 0; border-bottom: 1px solid var(--tinta); font-weight: 600; }
.tabla td { padding: 0.8rem 1rem 0.8rem 0; border-bottom: 1px solid var(--linea); vertical-align: top; }
.tabla td:first-child { font-weight: 700; white-space: nowrap; }
.tabla-envoltura { overflow-x: auto; }

/* ---------- CORTE FOTOGRÁFICO / EFEMÉRIDE ---------- */
.corte { position: relative; color: #fff; background: #000; clip-path: polygon(0 5vw, 100% 0, 100% calc(100% - 5vw), 0 100%); margin-block: -1vw; }
.corte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.72; }
.corte::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.72), rgba(0,0,0,0.05) 70%); }
.corte .contenedor { position: relative; z-index: 1; padding-block: clamp(6rem, 15vw, 14rem); display: grid; gap: 1.2rem; }
.corte__fecha { font-size: clamp(4.6rem, 18vw, 19rem); margin-left: -0.03em; }
.corte__fecha em { font-style: normal; color: var(--rojo); }
.corte h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.05; }
.corte p { max-width: 46ch; font-size: 1.05rem; opacity: 0.92; }
.corte .boton { background: #fff; color: #000; justify-self: start; }
.corte .boton:hover { background: var(--rojo); color: #fff; }

/* ---------- DESAFÍOS ---------- */
.desafios { align-items: start; }
.quiz { grid-column: 1 / span 7; background: var(--tinta); color: var(--papel); padding: clamp(1.4rem, 3vw, 2.75rem); position: relative; overflow: hidden; min-height: 30rem; display: grid; align-content: space-between; gap: 2rem; }
.quiz::before { content: ""; position: absolute; right: -8%; top: -10%; bottom: -10%; width: 34%; background: var(--rojo); transform: skewX(-14deg); opacity: 0.95; }
.quiz > * { position: relative; }
.quiz__cabeza { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.quiz__paso { font-stretch: 62%; font-weight: 900; font-size: 2.6rem; line-height: 0.9; }
.quiz__paso small { font-size: 0.5em; opacity: 0.6; }
.quiz h3 { font-stretch: 78%; font-weight: 800; font-size: clamp(1.9rem, 3.7vw, 3.4rem); line-height: 0.98; letter-spacing: -0.015em; max-width: 17ch; text-wrap: balance; }
.quiz__opciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; max-width: 44rem; }
.opcion { text-align: left; padding: 0.85rem 1rem; border: 1.5px solid currentColor; font-weight: 600; background: var(--tinta); transition: background 0.2s, color 0.2s, transform 0.2s var(--ease); display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; }
.opcion:hover:not([disabled]) { background: var(--papel); color: var(--tinta); transform: translateX(4px); }
.opcion[data-ok="si"] { background: var(--papel); color: var(--tinta); border-color: var(--papel); }
.opcion[data-ok="no"] { opacity: 0.5; text-decoration: line-through; }
.opcion[disabled] { cursor: default; }
.quiz__dato { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.2; max-width: 34ch; min-height: 3.2rem; }
.quiz__final b { display: block; font-size: clamp(5rem, 12vw, 11rem); }
.quiz__acciones { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.quiz .boton { background: var(--papel); color: var(--tinta); }
.quiz .boton:hover { background: #000; color: #fff; }
@media (max-width: 560px) { .quiz__opciones { grid-template-columns: 1fr; } .quiz::before { width: 22%; opacity: 0.9; } }

.minis { grid-column: 8 / -1; display: grid; gap: 0; }
.mini { padding-block: 1.3rem 1.5rem; border-top: 1px solid var(--tinta); display: grid; gap: 0.75rem; }
.mini:first-child { padding-top: 0; border-top: 0; }
.mini h3 { font-stretch: 84%; font-weight: 750; font-size: 1.45rem; line-height: 1.08; text-wrap: balance; }
.mini p { color: var(--humo); font-size: 0.94rem; }
.votos { display: grid; gap: 0.35rem; }
.voto { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.55rem 0.8rem; border: 1.5px solid var(--linea); font-weight: 600; text-align: left; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.voto:hover { border-color: var(--tinta); }
.voto[aria-pressed="true"] { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.pronostico { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.pronostico__equipo { display: grid; justify-items: center; gap: 0.2rem; }
.paso-a-paso { display: flex; align-items: center; border: 1.5px solid var(--tinta); }
.paso-a-paso button { width: 2.3rem; height: 2.6rem; font-weight: 700; font-size: 1.1rem; }
.paso-a-paso button:hover { background: var(--tinta); color: var(--papel); }
.paso-a-paso output { min-width: 2.2rem; text-align: center; font-stretch: 62%; font-weight: 900; font-size: 2.2rem; line-height: 1; }
.pistas { display: grid; gap: 0.3rem; counter-reset: pista; }
.pistas li { counter-increment: pista; display: grid; grid-template-columns: 1.4rem 1fr; font-size: 0.98rem; }
.pistas li::before { content: counter(pista); font-weight: 800; color: var(--rojo); }
.pistas li[hidden] { display: none; }
.campo { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.campo input, .campo textarea { flex: 1 1 10rem; min-width: 0; font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 1.5px solid var(--tinta); padding: 0.5rem 0; border-radius: 0; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--humo); }
.racha-dias { display: flex; align-items: baseline; gap: 0.5rem; }
.racha-dias b { font-stretch: 62%; font-weight: 900; font-size: 3.4rem; line-height: 0.85; color: var(--rojo); }
@media (max-width: 980px) { .quiz, .minis { grid-column: 1 / -1; } }

/* ---------- LA TRIBUNA ---------- */
.tribuna { background: var(--tinta); color: var(--papel); position: relative; overflow: hidden; }
.tribuna__foto { position: absolute; inset: 0 0 0 auto; width: 46%; clip-path: polygon(calc(var(--corte) * 3.2) 0, 100% 0, 100% 100%, 0 100%); background: #000; }
.tribuna__foto img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.tribuna .contenedor { position: relative; }
.tribuna .seccion__cabeza p { color: inherit; opacity: 0.7; }
.tribuna__cuerpo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.columna { display: grid; gap: 1.1rem; padding-right: clamp(0rem, 3vw, 3rem); }
.columna h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.4rem, 5.2vw, 4.8rem); line-height: 0.98; letter-spacing: -0.01em; }
.columna p { font-size: 1.1rem; max-width: 46ch; opacity: 0.9; }
.firma { display: flex; align-items: center; gap: 0.8rem; }
.firma__inicial { width: 2.9rem; height: 2.9rem; display: grid; place-items: center; background: var(--rojo); color: #fff; font-stretch: 62%; font-weight: 900; font-size: 1.7rem; clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%); }
.firma b { display: block; line-height: 1.1; }
.sello { display: inline-block; padding: 0.12rem 0.5rem; border: 1.5px solid currentColor; }
.sello--rojo { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.hilo { display: grid; gap: 1rem; }
.post { background: var(--papel); color: var(--tinta); padding: 1.1rem 1.2rem 1rem; display: grid; gap: 0.7rem; }
.post__cabeza { display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; }
.post__autor { display: flex; align-items: center; gap: 0.6rem; }
.post__autor i { width: 2rem; height: 2rem; background: var(--papel-2); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 0.8rem; }
.post h4 { font-stretch: 84%; font-weight: 750; font-size: 1.3rem; line-height: 1.08; }
.post p { font-size: 0.96rem; color: var(--humo); }
.post img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.post__acciones { display: flex; flex-wrap: wrap; gap: 0.3rem 0.4rem; align-items: center; border-top: 1px solid var(--linea); padding-top: 0.7rem; }
.reaccion { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.6rem; border: 1.5px solid var(--linea); font-weight: 600; font-size: 0.82rem; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.reaccion:hover { border-color: var(--tinta); }
.reaccion[aria-pressed="true"] { background: var(--tinta); color: var(--papel); border-color: var(--tinta); }
.post__acciones .separa { margin-left: auto; display: flex; gap: 0.2rem; }
.respuesta { margin-left: 1.3rem; padding-left: 0.9rem; border-left: 2px solid var(--rojo); display: grid; gap: 0.2rem; }
.respuesta p { color: inherit; }
.componer { border: 1.5px dashed currentColor; padding: 1rem 1.1rem; display: grid; gap: 0.7rem; opacity: 0.95; }
@media (max-width: 980px) {
  .tribuna__cuerpo { grid-template-columns: 1fr; }
  .tribuna__foto { width: 100%; inset: 0 0 auto 0; height: 44vw; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8vw), 0 100%); opacity: 0.55; }
}

/* ---------- PLANTEL ---------- */
.plantel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.plantel h3 { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--tinta); padding-bottom: 0.5rem; margin-bottom: 0.3rem; }
.plantel h3 b { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.jugador { display: grid; grid-template-columns: 1fr auto; gap: 0 0.6rem; align-items: baseline; padding-block: 0.42rem; border-bottom: 1px solid var(--linea); transition: padding 0.3s var(--ease), color 0.2s; }
.jugador:hover { padding-left: 0.6rem; color: var(--rojo); }
.jugador b { font-weight: 650; font-size: 1.04rem; line-height: 1.2; }
.jugador small { grid-column: 1 / -1; color: var(--humo); font-size: 0.8rem; }
.jugador .rotulo { color: var(--humo); }
.dt { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1.5rem; align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.dt b { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: 0.85; }
.dt p { color: var(--humo); max-width: 44ch; font-size: 0.95rem; }
@media (max-width: 980px) { .plantel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .plantel { grid-template-columns: 1fr; } .dt { grid-template-columns: 1fr; } }

/* ---------- HISTORIA ---------- */
.linea-tiempo { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margen); padding-bottom: 1.2rem; margin-inline: calc(var(--margen) * -1); padding-inline: var(--margen); scrollbar-width: thin; scrollbar-color: var(--rojo) transparent; }
.hito { flex: none; width: min(78vw, 21rem); scroll-snap-align: start; padding: 1rem 1.5rem 0 0; border-top: 1px solid var(--tinta); position: relative; display: grid; gap: 0.35rem; align-content: start; }
.hito::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--rojo); transform: skewX(-14deg); }
.hito__anio { font-size: clamp(5rem, 9vw, 8.4rem); color: transparent; -webkit-text-stroke: 1.5px var(--tinta); transition: color 0.35s; }
.hito:hover .hito__anio { color: var(--rojo); -webkit-text-stroke-color: var(--rojo); }
.hito h3 { font-stretch: 84%; font-weight: 750; font-size: 1.35rem; line-height: 1.05; }
.hito p { color: var(--humo); font-size: 0.95rem; }
.controles { display: flex; gap: 0.4rem; }
.controles button { width: 2.8rem; height: 2.8rem; border: 1.5px solid var(--tinta); display: grid; place-items: center; transition: background 0.2s, color 0.2s; }
.controles button:hover { background: var(--tinta); color: var(--papel); }
.controles svg { width: 1.1rem; height: 1.1rem; }

/* ---------- APOYAR + TIENDA + PUBLICIDAD ---------- */
.apoyar { grid-column: 1 / span 7; display: grid; gap: 1.4rem; align-content: start; }
.apoyar__numero { font-size: clamp(6rem, 17vw, 16rem); display: flex; align-items: baseline; }
.apoyar__numero small { font-size: 0.3em; color: var(--rojo); }
.progreso { height: 1.6rem; background: var(--papel-2); position: relative; clip-path: polygon(0.6rem 0, 100% 0, calc(100% - 0.6rem) 100%, 0 100%); }
.progreso i { position: absolute; inset: 0 auto 0 0; background: var(--rojo); }
.cifras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--tinta); }
.cifras div { padding: 0.8rem 1rem 0 0; }
.cifras dd { font-stretch: 62%; font-weight: 900; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1; }
.vacio { border: 1.5px dashed var(--linea); padding: 1rem 1.1rem; color: var(--humo); font-size: 0.94rem; }
.costado { grid-column: 8 / -1; display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-content: start; }
.lista-linea li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 0.6rem; border-top: 1px solid var(--linea); font-weight: 650; font-size: 1.1rem; }
.lista-linea li:last-child { border-bottom: 1px solid var(--linea); }
.anuncio { display: grid; place-items: center; text-align: center; min-height: 11rem; padding: 1.5rem; color: var(--humo); border: 1px solid var(--linea);
  background: repeating-linear-gradient(104deg, transparent 0 14px, var(--papel-2) 14px 15px); }
.anuncio--ancho { min-height: 7.5rem; }
@media (max-width: 980px) { .apoyar, .costado { grid-column: 1 / -1; } }

/* ---------- CANALES ---------- */
.canales { border-top: 1px solid var(--tinta); }
.canal { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.5rem clamp(1rem, 3vw, 3rem); padding-block: clamp(0.8rem, 1.6vw, 1.4rem); border-bottom: 1px solid var(--linea); transition: padding 0.4s var(--ease), background 0.3s, color 0.3s; }
.canal:hover { padding-inline: 1.2rem; background: var(--rojo); color: #fff; }
.canal b { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 7.6vw, 7rem); line-height: 0.88; }
.canal svg { width: clamp(1.6rem, 3vw, 2.6rem); height: clamp(1.6rem, 3vw, 2.6rem); }
.canal span { text-align: right; }
.canal:hover .rotulo--humo { color: inherit; }
@media (max-width: 700px) { .canal { grid-template-columns: auto 1fr; } .canal > span { grid-column: 2; text-align: left; } .canal > span br { display: none; } .canal > span .rotulo { margin-right: 0.8rem; } }

/* ---------- PIE ---------- */
.pie { background: var(--tinta); color: var(--papel); margin-top: clamp(2.5rem, 6vw, 6rem); }
.pie__marca { font-size: min(13.6vw, 13.6rem); padding-top: clamp(2.2rem, 5vw, 4.5rem); overflow: hidden; }
.pie__lema { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.6rem 2rem; margin-top: clamp(0.9rem, 2vw, 1.6rem); max-width: none !important; opacity: 1 !important; }
.lema { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.2vw, 2.8rem); line-height: 1.05; }
.pilares { font-stretch: 125%; font-weight: 600; font-size: clamp(0.72rem, 1.1vw, 0.95rem); letter-spacing: 0.01em; }
.pilares i { font-style: normal; color: var(--rojo); padding-inline: 0.35em; font-weight: 900; }
.pie__rejilla { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-block: clamp(2rem, 4vw, 3.5rem); }
.pie h4 { margin-bottom: 0.7rem; opacity: 0.6; }
.pie li { padding-block: 0.16rem; }
.pie p { max-width: 44ch; font-size: 0.95rem; opacity: 0.85; }
.pie__estudio { display: inline-flex; align-items: center; gap: 0.9rem; margin-top: 1.5rem; }
.pie__estudio img { width: 5.6rem; height: auto; transition: transform 0.4s var(--ease); }
.pie__estudio:hover img { transform: rotate(-4deg) translateY(-2px); }
.pie__base { border-top: 1px solid rgba(128,128,128,0.4); padding-block: 1rem 1.4rem; display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; justify-content: space-between; opacity: 0.75; }
@media (max-width: 860px) { .pie__rejilla { grid-template-columns: 1fr 1fr; } .pie__rejilla > :first-child { grid-column: 1 / -1; } }

/* ---------- PÁGINAS INTERNAS ---------- */
.portadilla { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(1.2rem, 3vw, 2.4rem); border-bottom: 1px solid var(--tinta); position: relative; overflow: hidden; }
.portadilla h1 { font-size: clamp(4.4rem, 17vw, 17rem); margin-left: -0.03em; }
.portadilla p { max-width: 46ch; margin-top: 1rem; }
.portadilla::after { content: ""; position: absolute; top: -20%; bottom: -20%; right: 6%; width: clamp(1.4rem, 5vw, 5rem); background: var(--rojo); transform: skewX(-14deg); z-index: -1; }
.filtros { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.4rem; }
.filtro { padding: 0.4rem 0.9rem; border: 1.5px solid var(--linea); font-weight: 600; font-size: 0.86rem; }
.filtro[aria-pressed="true"] { background: var(--tinta); color: var(--papel); border-color: var(--tinta); }
.articulo { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.articulo h1 { font-size: clamp(3.4rem, 9.6vw, 9.4rem); margin-bottom: 1.2rem; }
.articulo__cuerpo { display: grid; gap: 1.1rem; }
.articulo__cuerpo > p:not(.bajada) { max-width: 62ch; font-size: 1.12rem; }
.articulo aside { display: grid; gap: 1.6rem; border-top: 1px solid var(--tinta); padding-top: 1rem; position: sticky; top: 5rem; }
.articulo aside ul { display: grid; gap: 0.35rem; }
.compartir { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.compartir a, .compartir button { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.42rem 0.75rem; border: 1.5px solid var(--linea); font-weight: 600; font-size: 0.84rem; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.compartir a:hover, .compartir button:hover { background: var(--tinta); color: var(--papel); border-color: var(--tinta); }
.compartir svg { width: 1rem; height: 1rem; }
.articulo__foto { position: relative; margin-bottom: 1.6rem; background: #000; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3vw), calc(100% - 9vw) 100%, 0 100%); }
.articulo__foto img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
@media (max-width: 900px) { .articulo { grid-template-columns: 1fr; } .articulo aside { position: static; } }

.aviso-demo { display: inline-flex; gap: 0.5rem; align-items: center; }
.aviso-demo::before { content: ""; width: 0.6rem; height: 0.6rem; background: repeating-linear-gradient(104deg, currentColor 0 2px, transparent 2px 4px); border: 1px solid currentColor; }

.aviso-flotante { position: fixed; left: 50%; bottom: 1.5rem; z-index: 95; visibility: hidden; transform: translate(-50%, calc(100% + 3rem)); background: var(--tinta); color: var(--papel); padding: 0.7rem 1.2rem; font-weight: 600; font-size: 0.9rem; transition: transform 0.4s var(--ease), visibility 0.4s; max-width: calc(100vw - 2rem); }
.aviso-flotante[data-visible="true"] { visibility: visible; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- FICHA DE JUGADOR ---------- */
.ficha { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--tinta); }
.ficha__copia { position: relative; z-index: 3; max-width: var(--ancho); margin-inline: auto; padding: clamp(1.5rem, 3vw, 3rem) var(--margen) clamp(1.8rem, 3.4vw, 3.2rem); display: grid; gap: 1.1rem; align-content: end; min-height: clamp(24rem, 46vw, 40rem); pointer-events: none; }
.ficha__copia a { pointer-events: auto; }
.ficha h1 { font-size: clamp(4.2rem, 13.5vw, 14.5rem); line-height: 0.9; margin-left: -0.03em; text-wrap: initial; }
.ficha h1 span { display: block; }
.ficha h1 span + span { margin-top: 0.07em; }
.ficha__datos { display: flex; flex-wrap: wrap; gap: 0.5rem 2.2rem; }
.ficha__datos div { display: grid; gap: 0.1rem; }
.ficha__datos b { font-stretch: 62%; font-weight: 900; font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.ficha__foto { position: absolute; inset: 0; z-index: 1; clip-path: polygon(62% 0, 100% 0, 100% 100%, calc(62% - var(--corte) * 2) 100%); background: var(--papel-2); }
.ficha__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 20%; }
/* Sin foto: el panel toma el estilo de las placas destacadas de redes (rojo profundo, dorsal y apellido en crema). */
.ficha__foto--vacia { background: radial-gradient(120% 90% at 72% 38%, #8c0f24 0%, #4a0712 48%, #121212 92%); }
.ficha__apellido { position: absolute; right: 4%; top: 7%; max-width: 32%; text-align: right; font-size: clamp(2.2rem, 6vw, 6.5rem); line-height: 0.85; color: #f4f2ec; text-transform: uppercase; overflow-wrap: anywhere; }
.ficha__iniciales { position: absolute; right: 4%; bottom: -0.1em; font-size: clamp(9rem, 30vw, 30rem); line-height: 0.8; color: #f4f2ec; }
.ficha__pendiente { position: absolute; right: var(--margen); top: 1.2rem; z-index: 4; max-width: 24ch; text-align: right; display: grid; gap: 0.2rem; }
.ficha__filete { position: absolute; inset: 0; z-index: 2; background: var(--rojo); clip-path: polygon(calc(62% - 1.1vw) 0, 62% 0, calc(62% - var(--corte) * 2) 100%, calc(62% - var(--corte) * 2 - 1.1vw) 100%); }
.ficha__sobre { position: absolute; inset: 0; z-index: 4; color: #fff; clip-path: polygon(62% 0, 100% 0, 100% 100%, calc(62% - var(--corte) * 2) 100%); pointer-events: none; user-select: none; }
.ficha__sobre .ficha__copia { height: 100%; }
.ficha__sobre .rotulo--humo { color: inherit; }
.ficha:not(.ficha--con-foto) .ficha__sobre { display: none; }
@media (max-width: 760px) {
  .ficha__copia { min-height: 0; padding-bottom: 58vw; }
  .ficha h1 { font-size: clamp(3.8rem, 21vw, 8rem); }
  .ficha__foto, .ficha__sobre { clip-path: polygon(0 calc(100% - 46vw), 100% calc(100% - 68vw), 100% 100%, 0 100%); }
  .ficha__filete { clip-path: polygon(0 calc(100% - 48.5vw), 100% calc(100% - 70.5vw), 100% calc(100% - 68vw), 0 calc(100% - 46vw)); }
  .ficha__foto img { top: auto; bottom: 0; height: 70vw; position: absolute; }
  .ficha__pendiente { top: auto; bottom: 0.8rem; }
  .ficha__iniciales { font-size: 46vw; }
}
.momentos { display: grid; }
.momento { display: grid; grid-template-columns: 8.2rem 1fr; gap: 0.2rem 1.4rem; padding: 1.2rem 0 1.3rem; border-top: 1px solid var(--linea); position: relative; }
.momento:first-child { border-top: 1px solid var(--tinta); }
.momento__cuando { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 1.55rem; line-height: 1; }
.momento__tipo { color: var(--rojo); }
.momento h3 { font-stretch: 84%; font-weight: 750; font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.08; margin-top: 0.25rem; text-wrap: balance; }
.momento p { color: var(--humo); font-size: 0.96rem; margin-top: 0.35rem; max-width: 58ch; }
.momento__foto { margin-top: 0.8rem; max-width: 26rem; aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 1rem; color: var(--humo); border: 1px dashed var(--linea); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.4rem), calc(100% - 3.6rem) 100%, 0 100%); background: repeating-linear-gradient(104deg, transparent 0 15px, var(--papel-2) 15px 16px); }
.momento__foto img { width: 100%; height: 100%; object-fit: cover; }
.momento[data-futuro] .momento__cuando { color: transparent; -webkit-text-stroke: 1.2px var(--tinta); }
@media (max-width: 560px) { .momento { grid-template-columns: 1fr; } }

/* ==========================================================================
   ETAPA 2 · noticia, publicidad, comunidad y marca
   ========================================================================== */

/* ---------- publicidad de demostración ---------- */
.pub { display: grid; gap: 0.45rem; }
.pub__rotulo { color: var(--humo); }
.pub__pieza { display: grid; place-content: center; justify-items: center; gap: 0.3rem; text-align: center; padding: 1rem; color: var(--humo); border: 1px solid var(--linea);
  background: repeating-linear-gradient(106deg, transparent 0 15px, var(--papel-2) 15px 16px); position: relative; overflow: hidden; }
.pub__pieza::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 7%; width: 1.1rem; background: var(--rojo); transform: skewX(-16deg); opacity: 0.85; }
.pub__pieza b { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 2.1rem; line-height: 1; color: var(--tinta); }
.pub--banda .pub__pieza { min-height: 8.5rem; }
.pub--caja .pub__pieza { aspect-ratio: 6 / 5; max-width: 22rem; width: 100%; }
.pub--articulo { margin-block: 0.6rem; }
.pub--articulo .pub__pieza { min-height: 7rem; }
.franja-pub { padding-block: clamp(1rem, 2.5vw, 2.2rem); }
.nota-pub { list-style: none; border-top: 1px solid var(--linea); padding-block: 1.1rem; }
.nota-pub:empty { display: none; }

/* ---------- página de noticia ---------- */
.nota-cabeza { padding-block: clamp(1.6rem, 3.4vw, 3rem) clamp(1.4rem, 2.6vw, 2.4rem); }
.nota-cabeza .contenedor { display: grid; gap: 1rem; justify-items: start; }
.nota-cabeza__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1.3rem; align-items: center; margin-top: 0.6rem; }
.nota-cabeza h1 { font-stretch: 68%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.3rem, 5.4vw, 4.9rem); line-height: 0.96; letter-spacing: -0.012em; max-width: 21ch; text-wrap: balance; }
.nota-cabeza .bajada { max-width: 44ch; font-size: clamp(1.35rem, 2.1vw, 1.9rem); }
.nota-rejilla { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: clamp(2rem, 5vw, 5.5rem); align-items: start; padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.nota-cuerpo { display: grid; gap: clamp(1.6rem, 3vw, 2.6rem); min-width: 0; }
.nota-portada { position: relative; background: #080808; container-type: inline-size; }
.nota-portada img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nota-portada figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem 1.5rem; padding: 0.55rem 0 0; background: var(--papel); color: var(--humo); }
.nota-portada figcaption b { color: var(--tinta); font-weight: 600; }
.lamina { position: relative; aspect-ratio: 16 / 7.4; overflow: hidden; display: grid; align-items: end; padding: 0 5cqw 3.2cqw; color: #f4f4f1;
  background: linear-gradient(#e2001a, #e2001a) no-repeat, repeating-linear-gradient(106deg, transparent 0 22px, rgba(255,255,255,0.05) 22px 23px), #080808; background-size: 0 0, auto, auto; }
.lamina::before { content: ""; position: absolute; top: -10%; bottom: -10%; right: 9%; width: 13cqw; background: var(--rojo); transform: skewX(-16deg); }
.lamina::after { content: ""; position: absolute; top: -10%; bottom: -10%; right: 25.5%; width: 1.4cqw; background: #f4f4f1; transform: skewX(-16deg); opacity: 0.9; }
.lamina__grande { position: relative; z-index: 1; font-size: min(25cqw, calc(118cqw / var(--n, 3))); line-height: 0.8; white-space: nowrap; }
.nota-texto { display: grid; gap: 1.15rem; max-width: 43rem; }
.nota-texto > p { font-size: 1.17rem; line-height: 1.62; text-wrap: pretty; }
.nota-texto > p:first-child::first-letter { font-stretch: 62%; font-weight: 900; font-size: 3.9em; line-height: 0.74; float: left; padding: 0.09em 0.1em 0 0; color: var(--rojo); }
.nota-contexto { display: grid; gap: 1rem; margin-top: 0.8rem; padding: 1.2rem 1.4rem 1.4rem; background: var(--papel-2); border-left: 0.5rem solid var(--tinta); }
.nota-contexto h3 { font-stretch: 84%; font-weight: 750; font-size: 1.25rem; line-height: 1.1; margin-bottom: 0.25rem; }
.nota-contexto p { font-size: 1rem; line-height: 1.5; }
.nota-fuentes { display: grid; gap: 0.6rem; padding-top: 1.1rem; border-top: 1px solid var(--tinta); margin-top: 0.6rem; }
.nota-fuentes ul { display: flex; flex-wrap: wrap; gap: 0.3rem 1.6rem; font-weight: 650; font-size: 1.08rem; }
.nota-lateral { display: grid; gap: 1.7rem; position: sticky; top: 5rem; border-top: 1px solid var(--tinta); padding-top: 1rem; }
.nota-lateral h2 { margin-bottom: 0.5rem; }
.nota-lateral p { font-size: 0.92rem; color: var(--humo); margin-top: 0.3rem; }
.chips { display: grid; }
.chips a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 0.5rem; border-bottom: 1px solid var(--linea); transition: padding 0.3s var(--ease), color 0.2s; }
.chips a:hover { padding-left: 0.5rem; color: var(--rojo); }
.relacionadas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--tinta); }
.relacionadas a { display: grid; gap: 0.6rem; align-content: start; height: 100%; padding: 1.1rem 1.4rem 1.4rem 0; border-right: 1px solid var(--linea); transition: background 0.25s; }
.relacionadas li + li a { padding-left: 1.4rem; }
.relacionadas li:last-child a { border-right: 0; }
.relacionadas a:hover h3 { color: var(--rojo); }
.relacionadas h3 { font-stretch: 84%; font-weight: 750; font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.07; text-wrap: balance; transition: color 0.2s; }
@media (max-width: 980px) { .nota-rejilla { grid-template-columns: 1fr; } .nota-lateral { position: static; } .lamina { aspect-ratio: 16 / 9; } }
@media (max-width: 760px) { .relacionadas { grid-template-columns: 1fr; } .relacionadas a, .relacionadas li + li a { padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--linea); } }

/* ---------- comentarios y formularios ---------- */
.comentarios { display: grid; gap: 1.1rem; border-top: 0.5rem solid var(--tinta); padding-top: 1.1rem; max-width: 46rem; }
.comentarios__cabeza { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.3rem 1.5rem; }
.comentarios__cabeza .bloque-titulo { margin: 0; font-size: 2.6rem; }
.componer--activo { border-style: solid; border-width: 1.5px; border-color: var(--linea); }
.componer__pie { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.6rem 1rem; }
.campo textarea { resize: vertical; min-height: 3.2rem; line-height: 1.45; }
.campo select { font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 1.5px solid currentColor; padding: 0.45rem 0; border-radius: 0; flex: 1 1 10rem; }
.campo select option { color: #080808; }
.tribuna .campo input, .tribuna .campo textarea { border-bottom-color: currentColor; }
.hilos { display: grid; }
.hilos--hijos { margin-top: 0.9rem; border-left: 2px solid var(--rojo); padding-left: 1rem; }
.comentario { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.2rem 0.8rem; padding-block: 1rem; border-top: 1px solid var(--linea); }
.hilos--hijos .comentario:first-child { border-top: 0; padding-top: 0.2rem; }
.comentario__inicial { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; background: var(--tinta); color: var(--papel); font-stretch: 62%; font-weight: 900; font-size: 1.25rem; clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); }
.comentario__meta { display: flex; gap: 0.7rem; align-items: baseline; }
.comentario__texto { margin-top: 0.2rem; white-space: pre-line; overflow-wrap: anywhere; }
.comentario__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; margin-top: 0.6rem; }
.comentario__acciones .separa { margin-left: auto; display: flex; }
.comentario__acciones .icono-boton { width: 2rem; height: 2rem; color: var(--humo); }
.comentario__acciones .reaccion svg { width: 0.95rem; height: 0.95rem; }
[data-respuesta]:not(:empty) { margin-top: 0.8rem; }
.post--vacio { background: transparent; color: inherit; border: 1.5px dashed currentColor; }
.post--vacio p { color: inherit; opacity: 0.8; }
.post .sello { font-size: 0.6rem; }
.pestanas { display: flex; gap: 0; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid rgba(128,128,128,0.5); }
.pestanas a { padding: 0.7rem 1.4rem 0.8rem 0; margin-right: 1.4rem; font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; opacity: 0.45; border-bottom: 0.3rem solid transparent; margin-bottom: -1px; }
.pestanas a[aria-current="page"] { opacity: 1; border-bottom-color: var(--rojo); }
.tarjeta-vivo { display: grid; gap: 0.5rem; padding: 1.2rem 1.3rem 1.3rem; background: var(--rojo); color: #fff; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.6rem), calc(100% - 4.2rem) 100%, 0 100%); transition: transform 0.3s var(--ease); margin-top: 0.6rem; max-width: 30rem; }
.tarjeta-vivo:hover { transform: translateX(6px); }
.tarjeta-vivo b { font-size: clamp(2rem, 3.6vw, 3rem); }
.tarjeta-vivo svg { width: 1em; height: 1em; vertical-align: -0.15em; }

/* ---------- Tribuna en vivo ---------- */
.vivo { display: grid; grid-template-rows: auto 1fr; border: 1.5px solid var(--tinta); min-height: 34rem; }
.vivo__salas { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1.5px solid var(--tinta); }
.vivo__salas button { text-align: left; padding: 0.8rem 1rem; display: grid; gap: 0.1rem; }
.vivo__salas button + button { border-left: 1.5px solid var(--tinta); }
.vivo__salas b { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 1.7rem; line-height: 1; }
.vivo__salas [aria-selected="true"] { background: var(--tinta); color: var(--papel); }
.vivo__salas .rotulo { opacity: 0.7; }
.vivo__cuerpo { display: grid; grid-template-rows: 1fr auto; min-height: 0; }
.vivo__mensajes { overflow-y: auto; max-height: 30rem; padding: 0.6rem 1rem; display: grid; align-content: end; gap: 0; }
.mensaje { display: grid; grid-template-columns: 2.2rem 1fr auto; gap: 0.7rem; align-items: start; padding-block: 0.55rem; }
.mensaje p { overflow-wrap: anywhere; line-height: 1.35; }
.mensaje .icono-boton { width: 1.8rem; height: 1.8rem; color: var(--humo); opacity: 0; transition: opacity 0.2s; }
.mensaje:hover .icono-boton, .mensaje .icono-boton:focus-visible { opacity: 1; }
.vivo__aviso { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; color: var(--humo); padding: 1.2rem 0.2rem; max-width: 34rem; }
.vivo__aviso svg { width: 1.4rem; height: 1.4rem; margin-top: 0.15rem; }
.vivo__form { display: flex; border-top: 1.5px solid var(--tinta); }
.vivo__form input { flex: 1; min-width: 0; font: inherit; color: inherit; background: transparent; border: 0; padding: 0.9rem 1rem; }
.vivo__form .boton { clip-path: none; padding-inline: 1.2rem; min-height: 100%; }
.vivo .componer { border: 0; border-top: 1.5px solid var(--tinta); }
@media (max-width: 980px) { .vivo-columna, .vivo-columna + .costado { grid-column: 1 / -1 !important; } }

/* ---------- ficha: valoración y datos ---------- */
.valoracion__escala { display: grid; grid-template-columns: repeat(10, 1fr); border: 1.5px solid var(--tinta); margin-bottom: 0.6rem; }
.valoracion__escala button { aspect-ratio: 1; font-stretch: 62%; font-weight: 900; font-size: 1.15rem; border-left: 1px solid var(--linea); transition: background 0.15s, color 0.15s; }
.valoracion__escala button:first-child { border-left: 0; }
.valoracion__escala button[data-lleno] { background: var(--rojo); color: #fff; border-left-color: rgba(255,255,255,0.25); }
.valoracion__escala button:hover { background: var(--tinta); color: var(--papel); }
.cifras--cuatro { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cifras--cuatro dd { color: var(--humo); }

/* ---------- página de marca ---------- */
.marca-paneles { display: grid; grid-template-columns: 1fr 1fr; }
.marca-panel { display: grid; place-items: center; padding: clamp(2rem, 6vw, 5.5rem) 1.5rem; container-type: inline-size; border: 1px solid var(--linea); }
.marca-panel--claro { background: #f2f1ed; color: #121212; --rojo: #e21c35; }
.marca-panel--oscuro { background: #121212; color: #f4f2ec; --rojo: #e21c35; }
.logo--xl { font-size: 11.6cqw; }
.marca-panel--lema { padding-block: clamp(1.6rem, 4vw, 3.4rem); text-align: center; }
.marca-notas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2.5rem; margin-top: 1.3rem; font-size: 0.96rem; color: var(--humo); }
.marca-notas b { color: var(--tinta); }
.marca-redes { display: grid; grid-template-columns: 1fr 1fr 3.2fr; gap: clamp(1rem, 2.6vw, 2.5rem); align-items: start; }
.marca-redes figcaption, .plantillas figcaption { margin-top: 0.6rem; color: var(--humo); display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; justify-content: space-between; }
.monograma { aspect-ratio: 1; container-type: inline-size; background: #121212; color: #f4f2ec; display: flex; align-items: center; justify-content: center; font-stretch: 84%; font-weight: 900; line-height: 1; }
.monograma span { font-size: 62cqw; -webkit-text-stroke: 0.07em currentColor; paint-order: stroke fill; }
.monograma i { width: 14.3cqw; height: 51.8cqw; background: #e21c35; transform: skewX(-16deg); margin: 0 0 0 9cqw; }
.monograma--claro { background: #f2f1ed; color: #121212; border: 1px solid var(--linea); }
.tarjeta-social { position: relative; aspect-ratio: 1200 / 630; container-type: inline-size; overflow: hidden; background: #121212; color: #f4f2ec; display: grid; align-content: center; gap: 2.2cqw; padding: 0 7cqw; }
.tarjeta-social .logo { font-size: 10.6cqw; position: relative; }
.tarjeta-social .lema { font-size: 4.4cqw; position: relative; }
.tarjeta-social .pilares { font-size: 1.7cqw; position: relative; opacity: 0.8; }
.tarjeta-social .placa__banda { position: absolute; top: -10%; bottom: -10%; height: auto; right: 7cqw; width: 8cqw; background: #e21c35; transform: skewX(-16deg); }
.marca-colores { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.muestra { display: grid; gap: 0.2rem; }
.muestra i { display: block; aspect-ratio: 5 / 3; border: 1px solid var(--linea); }
.marca-tipos { display: grid; gap: 0.7rem; margin-top: 2rem; }
@media (max-width: 760px) { .marca-paneles, .marca-notas { grid-template-columns: 1fr; } .marca-redes { grid-template-columns: 1fr 1fr; } .marca-redes__ancha { grid-column: 1 / -1; } .marca-colores { grid-template-columns: 1fr 1fr; } }

/* ---------- plantillas para redes (medidas en cqw: escalan con la pieza) ---------- */
.plantillas { display: grid; grid-template-columns: 1fr 1fr 0.84fr 1.05fr; gap: clamp(1rem, 2.4vw, 2.2rem); align-items: start; }
.placa { position: relative; container-type: inline-size; overflow: hidden; aspect-ratio: 4 / 5; background: #121212; color: #f4f2ec; --rojo: #e21c35; }
.placa--historia { aspect-ratio: 9 / 16; }
.placa--clara { background: #f2f1ed; color: #121212; border: 1px solid var(--linea); }
.placa > * { position: absolute; }
.placa__cabeza { top: 6cqw; left: 6cqw; right: 6cqw; display: flex; justify-content: space-between; align-items: center; }
.placa__cabeza .logo { font-size: 5.6cqw; }
.placa__estado { display: inline-flex; align-items: center; gap: 1.4cqw; font-stretch: 125%; font-weight: 600; font-size: 2.5cqw; }
.placa__estado i { width: 2.3cqw; height: 2.3cqw; border: 0.4cqw solid currentColor; }
.placa--confirmado .placa__estado i { background: currentColor; }
.placa--informado .placa__estado i { background: linear-gradient(115deg, currentColor 50%, transparent 50.5%); }
.placa__banda { top: 17%; right: 10%; width: 17cqw; height: 31%; background: var(--rojo); transform: skewX(-16deg); }
.placa--historia .placa__banda { top: 14%; height: 30%; }
.placa--informado .placa__banda { background: repeating-linear-gradient(90deg, var(--rojo) 0 1.5cqw, transparent 1.5cqw 2.6cqw); }
.placa--rumor .placa__banda { background: none; box-shadow: inset 0 0 0 0.8cqw var(--rojo); }
.placa__lamina { top: 21%; left: 6cqw; font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: min(33cqw, calc(118cqw / var(--n, 3))); line-height: 0.85; white-space: nowrap; color: transparent; -webkit-text-stroke: 0.5cqw currentColor; }
.placa .placa__lamina { -webkit-text-stroke-color: #f4f2ec; }
.placa--clara .placa__lamina { -webkit-text-stroke-color: #121212; }
.placa--historia .placa__lamina { top: 18%; }
.placa__texto { left: 6cqw; right: 6cqw; bottom: 13cqw; display: grid; gap: 2.2cqw; }
.placa--historia .placa__texto { bottom: 26cqw; }
.placa__categoria { font-stretch: 125%; font-weight: 600; font-size: 2.6cqw; color: var(--rojo); }
.placa__titular { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 11.6cqw; line-height: 0.9; letter-spacing: -0.01em; text-wrap: balance; }
.placa__bajada { font-family: var(--serif); font-style: italic; font-size: 4.3cqw; line-height: 1.1; max-width: 70cqw; }
.placa__pie { left: 6cqw; right: 6cqw; bottom: 5.4cqw; display: flex; justify-content: space-between; gap: 2cqw; font-stretch: 125%; font-weight: 600; font-size: 2.1cqw; opacity: 0.75; border-top: 0.25cqw solid currentColor; padding-top: 2cqw; }
.telegram { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--fuente); font-size: 0.92rem; line-height: 1.45; padding: 1.1rem 1.2rem; background: var(--papel-2); border-left: 0.4rem solid var(--rojo); }
@media (max-width: 1080px) { .plantillas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plantillas { grid-template-columns: 1fr; } }

/* ==========================================================================
   ETAPA 3 · cuenta, desafíos con la base, apoyar, legales, bienvenida
   Solo piezas nuevas, con los tokens y el lenguaje existentes.
   ========================================================================== */

/* ---------- cuenta en la cabecera ---------- */
.cuenta { position: relative; }
.cuenta__inicial { width: 1.7rem; height: 1.7rem; display: grid; place-items: center; background: var(--tinta); color: var(--papel); font-stretch: 62%; font-weight: 900; font-size: 1.05rem; line-height: 1;
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); }
.cuenta__boton[aria-expanded="true"] .cuenta__inicial { background: var(--rojo); color: #fff; }
.cuenta__menu { position: absolute; top: calc(100% + 0.65rem); right: 0; z-index: 60; width: min(20rem, calc(100vw - 2 * var(--margen))); background: var(--papel); color: var(--tinta);
  border: 1.5px solid var(--tinta); border-top: 0.3rem solid var(--rojo); display: grid; }
.cuenta__menu[hidden] { display: none; }
.cuenta__cabeza { display: grid; gap: 0.3rem; padding: 0.9rem 1rem 1rem; }
.cuenta__cabeza b { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 1.9rem; line-height: 0.9; overflow-wrap: anywhere; }
.cuenta__cabeza p { color: var(--humo); font-size: 0.88rem; line-height: 1.35; }
.cuenta__sellos { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.cuenta__sellos:empty { display: none; }
.cuenta__item { display: flex; align-items: center; gap: 0.65rem; width: 100%; padding: 0.75rem 1rem; border-top: 1px solid var(--linea); text-align: left; font-stretch: 112%; font-weight: 600; font-size: 0.8125rem; transition: background 0.2s, color 0.2s, padding 0.3s var(--ease); }
.cuenta__item:hover { background: var(--tinta); color: var(--papel); padding-left: 1.25rem; }
.cuenta__item--rojo { background: var(--rojo); color: #fff; border-top-color: var(--rojo); }
.cuenta__item svg { width: 1.05rem; height: 1.05rem; flex: none; }
.cuenta__form { display: grid; gap: 0.4rem; padding: 0.2rem 1rem 1rem; }
.cuenta__form[hidden] { display: none; }
.cuenta__form .boton { min-height: 2.4rem; padding-inline: 1.1rem; }
@media (max-width: 1080px) {
  .cuenta { position: static; }
  .cuenta__menu { top: 100%; right: var(--margen); }
}
.boton--google svg { width: 1.1em; height: 1.1em; }

/* ---------- desafíos: cuenta, resultados y ranking ---------- */
.pedir-cuenta { display: grid; gap: 0.6rem; justify-items: start; padding: 0.9rem 1rem; border: 1.5px dashed var(--linea); }
.pedir-cuenta p { color: var(--humo); font-size: 0.92rem; }
.resultados { display: grid; gap: 0.55rem; }
.resultados li { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; align-items: baseline; }
.resultados__texto { font-weight: 600; font-size: 0.95rem; line-height: 1.25; }
.resultados__texto .rotulo { color: var(--rojo); margin-left: 0.3rem; }
.resultados b { font-stretch: 62%; font-weight: 900; font-size: 1.5rem; line-height: 1; }
.resultados__barra { grid-column: 1 / -1; height: 0.55rem; background: var(--papel-2); position: relative; clip-path: polygon(0.3rem 0, 100% 0, calc(100% - 0.3rem) 100%, 0 100%); }
.resultados__barra i { position: absolute; inset: 0 auto 0 0; background: var(--tinta); transition: width 0.6s var(--ease); }
.resultados li[data-mio] .resultados__barra i { background: var(--rojo); }
.pronostico__populares { display: grid; gap: 0.6rem; padding-top: 0.9rem; border-top: 1px solid var(--linea); }
.ranking-bloque { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.ranking { grid-column: 1 / span 7; }
.ranking__tabla td { vertical-align: baseline; }
.ranking__puesto { font-stretch: 62%; font-weight: 900; font-size: 1.7rem; line-height: 1; }
.ranking__tabla tbody tr:first-child .ranking__puesto { color: var(--rojo); }
.ranking__tabla tr[data-mio] td { background: var(--papel-2); }
.mini.mini--proximo { grid-column: span 6; border-top: 1px solid var(--tinta); padding-top: 1.3rem; }
@media (max-width: 980px) { .ranking { grid-column: 1 / -1; } }
@media (max-width: 700px) { .mini--proximo { grid-column: 1 / -1; } }

/* ---------- apoyar con datos reales ---------- */
.apoyar__acciones { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; align-items: center; }
.alias { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem; padding: 0.3rem 0.35rem 0.3rem 0.8rem; border: 1.5px solid var(--linea); }
.alias b { font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }
.alias .reaccion svg { width: 0.95rem; height: 0.95rem; }
.gasto__importe { display: grid; justify-items: end; gap: 0.15rem; text-align: right; }

/* ---------- privacidad y términos ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.legal__indice { position: sticky; top: 5rem; display: grid; gap: 0.9rem; border-top: 1px solid var(--tinta); padding-top: 1rem; }
.legal__indice ol { display: grid; gap: 0.45rem; counter-reset: legal; }
.legal__indice li { counter-increment: legal; display: grid; grid-template-columns: 1.6rem 1fr; font-weight: 600; font-size: 0.95rem; }
.legal__indice li::before { content: counter(legal); color: var(--rojo); font-weight: 800; }
.legal__indice button { text-align: left; justify-self: start; }
.legal__texto { display: grid; gap: clamp(2rem, 4vw, 3rem); max-width: 46rem; }
.legal__texto section { display: grid; gap: 0.8rem; scroll-margin-top: 5.5rem; }
.legal__texto .bloque-titulo { margin: 0; }
.legal__texto p, .legal__lista li { font-size: 1.06rem; line-height: 1.6; text-wrap: pretty; }
.legal__lista { display: grid; gap: 0.45rem; }
.legal__lista li { display: grid; grid-template-columns: 1.3rem 1fr; }
.legal__lista li::before { content: "/"; color: var(--rojo); font-weight: 900; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .legal__indice { position: static; } }

/* ---------- carga inicial ---------- */
.cargando { min-height: 70vh; padding-block: clamp(3rem, 8vw, 6rem); display: flex; align-items: flex-start; gap: 0.7rem; }
.cargando::after { content: ""; width: 0.55rem; height: 0.95rem; background: var(--rojo); transform: skewX(-16deg); }
@media (prefers-reduced-motion: no-preference) { .cargando::after { animation: parpadea-barra 0.9s ease-in-out infinite alternate; } }
@keyframes parpadea-barra { from { opacity: 1; } to { opacity: 0.2; } }

/* ---------- publicidad real ---------- */
.pub--real ins { min-height: 6rem; }

/* ---------- aviso de consentimiento de publicidad ---------- */
.consentimiento { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--tinta); color: var(--papel); border-top: 0.3rem solid var(--rojo); }
.consentimiento .contenedor { display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; align-items: center; justify-content: space-between; padding-block: 1rem; }
.consentimiento p { max-width: 70ch; font-size: 0.92rem; line-height: 1.4; }
.consentimiento__botones { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.consentimiento .boton:not(.boton--rojo) { background: var(--papel); color: var(--tinta); }

/* ---------- aviso de bienvenida con la gallina ---------- */
.bienvenida { position: fixed; right: var(--margen); bottom: 1.2rem; z-index: 60; width: min(25rem, calc(100vw - 2 * var(--margen)));
  display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) auto; gap: 0 0.9rem; align-items: start; padding: 1rem 0.4rem 1.1rem 0.9rem;
  background: var(--papel); color: var(--tinta); border: 1.5px solid var(--tinta); overflow: hidden; }
.bienvenida::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 3.1rem; width: 0.35rem; background: var(--rojo); transform: skewX(-16deg); opacity: 0.9; }
.bienvenida > * { position: relative; }
.bienvenida__gallina svg { display: block; width: 4.6rem; height: 4.6rem; overflow: visible; }
.gb__banda { fill: var(--rojo); }
.gb__cuerpo { fill: #fff; stroke: #080808; stroke-width: 2.4; stroke-linejoin: round; }
.gb__ala { fill: none; stroke: #080808; stroke-width: 2.2; stroke-linecap: round; }
.gb__rojo { fill: var(--rojo); stroke: #080808; stroke-width: 1.4; stroke-linejoin: round; }
.gb__pico { fill: #080808; }
.gb__ojo { fill: #080808; }
.gb__cabeza { transform-origin: 40px 68px; }
.bienvenida__texto { display: grid; gap: 0.75rem; justify-items: start; padding-top: 0.15rem; }
.bienvenida__texto p { font-size: 0.9rem; line-height: 1.4; }
.bienvenida__titulo { display: block; font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.05; margin-bottom: 0.3rem; }
.bienvenida .boton { min-height: 2.4rem; }
.bienvenida__cerrar { width: 2.2rem; height: 2.2rem; margin-top: -0.6rem; }
.bienvenida[data-saliendo="true"] { opacity: 0; transform: translateY(0.8rem); transition: opacity 0.3s, transform 0.3s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .bienvenida { animation: bienvenida-entra 0.7s var(--ease) both; }
  .bienvenida .gb__cabeza { animation: gb-saluda 1.2s 0.7s ease-in-out both; }
  .bienvenida .gb__ojo { transform-origin: 53px 18px; animation: parpadea 3.2s 2s 2; }
}
@keyframes gb-saluda { 0%, 100% { transform: none; } 25%, 60% { transform: rotate(9deg); } 42% { transform: rotate(4deg); } }
@keyframes bienvenida-entra {
  from { opacity: 0; transform: translateY(1.2rem); clip-path: polygon(0 0, 0 0, -12% 100%, -12% 100%); }
  to { opacity: 1; transform: none; clip-path: polygon(0 0, 112% 0, 100% 100%, -12% 100%); }
}
/* En el teléfono no flota: queda al principio de la página, sin tapar nada. */
@media (max-width: 700px) {
  .bienvenida { position: relative; z-index: 1; right: auto; bottom: auto; width: auto; margin: 0.9rem var(--margen) 0; grid-template-columns: 3.6rem minmax(0, 1fr) auto; }
  .bienvenida::before { left: 2.4rem; }
  .bienvenida__gallina svg { width: 3.6rem; height: 3.6rem; }
  .bienvenida__titulo { font-size: 1.3rem; }
}

/* ---------- Apoyar: importe libre con Mercado Pago (Checkout Pro) ---------- */
.importe { display: grid; gap: 0.7rem; max-width: 40rem; }
.importe .campo { align-items: center; }
.importe .campo input { font-size: 1.35rem; font-weight: 600; flex: 1 1 8rem; }
.importe .campo input[aria-invalid="true"] { border-bottom-color: var(--rojo); }
.importe__signo { font-size: 1.35rem; font-weight: 700; }
.importe__sugeridos { margin-bottom: 0; }

/* ---------- Apoyar: página compacta (barra, cifras y botón arriba del pliegue) ---------- */
.portadilla--chica { padding-block: clamp(1rem, 2.4vw, 1.8rem) clamp(0.8rem, 1.8vw, 1.3rem); }
.portadilla--chica h1 { font-size: clamp(3rem, 8vw, 6.2rem); }
.portadilla--chica p { margin-top: 0.4rem; font-size: 1rem; }
.portadilla--chica::after { width: clamp(1rem, 3vw, 3rem); }
.apoyar__titulo { font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1; }
.apoyar__texto { max-width: 48ch; }
.apoyar__avance { display: grid; gap: 0.7rem; }
.cifras--dos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.apoyar-pagina { padding-block: clamp(1.2rem, 2.6vw, 2.2rem) clamp(2.8rem, 6.5vw, 6.5rem); border-top: 0; }
.apoyar-pagina .apoyar { gap: 0.9rem; }
.apoyar-pagina .apoyar__titulo { font-size: clamp(1.6rem, 3vw, 2.6rem); }
.apoyar-pagina .apoyar__avance { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 1.1rem; }
.apoyar-pagina .apoyar__numero { font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 0.9; }
.apoyar-pagina .cifras dd { font-size: clamp(1.5rem, 2.6vw, 2.3rem); }
.apoyar-pagina .cifras div { padding-top: 0.6rem; }

/* ---------- bienvenida: objetivo y dos acciones ---------- */
.bienvenida__objetivo { display: grid; gap: 0.35rem; width: 100%; }
.progreso--mini { display: block; height: 0.55rem; clip-path: polygon(0.25rem 0, 100% 0, calc(100% - 0.25rem) 100%, 0 100%); }
.bienvenida__acciones { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bienvenida { bottom: calc(1.2rem + var(--alto-barrita, 0px)); }
@media (max-width: 700px) { .bienvenida { bottom: auto; } }
.aviso-flotante { bottom: calc(1.5rem + var(--alto-barrita, 0px)); }

/* ---------- barrita fija de abajo: «Ayudanos a tener dominio propio» ---------- */
body { padding-bottom: var(--alto-barrita, 0px); }
.barrita { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; gap: 0.9rem;
  padding: 0.55rem var(--margen) calc(0.55rem + env(safe-area-inset-bottom, 0px)) calc(var(--margen) + 1.4rem); background: #080808; color: #fff; font-size: 0.86rem; font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35); }
.barrita::before { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; left: calc(var(--margen) * 0.5); width: 0.5rem; background: var(--rojo); transform: skewX(-16deg); }
.barrita__texto { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barrita__avance { display: inline-flex; align-items: center; gap: 0.55rem; flex: 0 1 12rem; min-width: 4.5rem; }
.barrita__progreso { position: relative; flex: 1 1 auto; height: 0.45rem; background: rgba(255, 255, 255, 0.2); clip-path: polygon(0.2rem 0, 100% 0, calc(100% - 0.2rem) 100%, 0 100%); }
.barrita__progreso i { position: absolute; inset: 0 auto 0 0; background: var(--rojo); }
.barrita__pct { font-stretch: 62%; font-weight: 900; font-size: 1.05rem; }
.barrita__apoyar { margin-left: auto; display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.76rem; color: #fff; padding: 0.35rem 0.8rem; background: var(--rojo); clip-path: polygon(0.4rem 0, 100% 0, calc(100% - 0.4rem) 100%, 0 100%); }
.barrita__apoyar:hover { background: #fff; color: #080808; }
.barrita__cerrar { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; color: #fff; opacity: 0.7; flex: none; }
.barrita__cerrar:hover { opacity: 1; }
.barrita__cerrar svg { width: 0.95rem; height: 0.95rem; }
@media (max-width: 560px) {
  .barrita { gap: 0.6rem; font-size: 0.78rem; padding-left: calc(var(--margen) + 1rem); }
  .barrita__avance { flex-basis: 5.5rem; }
  .barrita__pct { font-size: 0.95rem; }
}
.bienvenida__apoyo { display: grid; gap: 0.45rem; justify-items: start; width: 100%; font-size: 0.85rem; }

/* Apoyar: estado del objetivo y, al costado (debajo en celular), el muro de aportes */
.apoyar__estado { display: grid; gap: 1rem clamp(1.2rem, 2.6vw, 2.2rem); }
.apoyar__cuentas { display: grid; gap: 0.9rem; align-content: start; }
.apoyar__muro:empty { display: none; }
@media (min-width: 761px) { .apoyar__estado:has(.apoyar__muro:not(:empty)) { grid-template-columns: minmax(0, 1fr) minmax(13rem, 17rem); } }
/* Solo alias: es la acción principal */
.alias--principal { padding: 0.55rem 0.55rem 0.55rem 1rem; border-color: var(--tinta); border-width: 2px; }
.alias--principal .rotulo { color: var(--rojo); }
.alias--principal b { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-stretch: 62%; font-weight: 900; }
.barrita__corto { display: none; }
@media (max-width: 340px) { .barrita__largo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .barrita__corto { display: inline; } }

/* ---------- casilla de opt-in (noticias por mail): desmarcada por defecto ---------- */
.casilla { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.86rem; line-height: 1.4; cursor: pointer; max-width: 52ch; }
.casilla input { flex: none; width: 1.05rem; height: 1.05rem; margin: 0.12rem 0 0; accent-color: var(--rojo); }
.casilla .rotulo { display: block; margin-top: 0.15rem; }
.cuenta__noticias { padding: 0.75rem 1rem; border-top: 1px solid var(--linea); }
.cuenta__noticias .casilla { font-size: 0.8rem; }
/* ---------- Apoyar: muro de aportes (js/aportes.js) ---------- */
.muro { display: grid; gap: 0.6rem; }
.muro[hidden] { display: none; }
.muro .lista-linea li { font-weight: 500; font-size: 1rem; }
.muro .lista-linea b { font-weight: 750; }
.muro time { flex: none; white-space: nowrap; }
.muro-campos { display: grid; gap: 0.45rem; }
.importe .muro-campos .campo input { font-size: 1.05rem; font-weight: 500; }
.muro-campos .campo input[aria-invalid="true"] { border-bottom-color: var(--rojo); }
.muro-check { display: inline-flex; align-items: center; gap: 0.5rem; justify-self: start; font-weight: 600; font-size: 0.94rem; cursor: pointer; }
.muro-check input { width: 1.05rem; height: 1.05rem; accent-color: var(--rojo); }

/* ---------- fotos de jugadores y de noticias (js/fotos.js) ---------- */
/* Listados: imagen 4:3 a la derecha de cada nota, con el corte de la banda. Foto o lámina, misma proporción. */
.nota--img { grid-template-columns: 6.2rem minmax(0, 1fr) clamp(7.5rem, 15vw, 12.5rem); }
.nota__img { display: block; align-self: start; aspect-ratio: 4 / 3; overflow: hidden; background: #080808; container-type: inline-size; clip-path: polygon(calc(var(--corte) * 1.4) 0, 100% 0, 100% 100%, 0 100%); }
.nota__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lamina--mini { aspect-ratio: auto; width: 100%; height: 100%; padding: 0 7cqw 7cqw 16cqw; align-content: end; gap: 2cqw; }
.lamina--mini::before { right: 10%; width: 15cqw; }
.lamina--mini::after { right: 30%; width: 1.8cqw; }
.lamina--mini .lamina__grande { font-size: min(44cqw, calc(128cqw / var(--n, 3))); line-height: 0.82; }
.lamina__chico { position: relative; z-index: 1; font-size: max(0.5rem, 5.4cqw); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.85; }
@media (max-width: 560px) {
  .nota--img { grid-template-columns: minmax(0, 1fr) 6.4rem; }
  .nota--img .nota__fecha { grid-column: 1 / -1; }
  .nota--img .nota__img { grid-column: 2; grid-row: 2; }
  .nota--img p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
.relacionadas .nota__img { clip-path: none; aspect-ratio: 3 / 2; margin-bottom: 0.3rem; }
/* Dentro de la nota */
.nota-portada--foto img { height: auto; aspect-ratio: 16 / 9; }
.nota-foto { display: grid; gap: 0.45rem; margin: 0.4rem 0; }
.nota-foto img { width: 100%; height: auto; max-height: 34rem; object-fit: cover; background: var(--papel-2); }
.nota-foto figcaption { color: var(--humo); }
/* Ficha: la foto ocupa el espacio a la derecha de la diagonal y respeta el punto focal. */
.ficha__foto--foco img { position: absolute; top: 0; left: calc(62% - var(--corte) * 2); width: calc(38% + var(--corte) * 2); height: 100%; object-fit: cover; }
@media (max-width: 760px) { .ficha__foto--foco img { left: 0; width: 100%; top: auto; bottom: 0; height: 70vw; } }
/* Plantel: miniatura con el corte de la banda. Sin foto, la fila queda igual. */
.jugador--con-foto { grid-template-columns: auto 1fr auto; align-items: center; }
.jugador__foto { grid-row: span 2; width: 2.5rem; height: 2.5rem; overflow: hidden; background: var(--papel-2); clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%); }
.jugador__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jugador__foto--dorsal { display: grid; place-items: center; background: radial-gradient(120% 100% at 60% 30%, #8c0f24, #121212); color: #f4f2ec; font-size: 1.05rem; line-height: 1; }
.jugador--con-foto small { grid-column: 2 / -1; }
/* ---------- ficha de jugador: bloques de datos con su fuente ---------- */
.ficha-cuerpo { display: grid; gap: clamp(2.2rem, 4.5vw, 3.6rem); align-content: start; }
.ficha-bloque > .bloque-titulo, .ficha-estadisticas__cabeza .bloque-titulo { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.ficha-bloque > .bloque-titulo { margin-bottom: 0.9rem; }
.ficha-fuente { margin-top: 0.7rem; max-width: 62ch; line-height: 1.5; }
.sin-dato { color: var(--humo); font-style: italic; font-weight: 400; }
.lista-linea--datos li { align-items: baseline; font-weight: 600; }
.lista-linea--datos li > span:first-child { flex: 0 0 auto; max-width: 46%; }
.lista-linea--datos li > span:last-child { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.lista-linea--datos .rotulo--humo { font-weight: 600; }
.valor-mercado b { font-stretch: 62%; font-weight: 900; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1; }
.tabla--ficha { font-size: 0.94rem; }
.tabla--ficha th, .tabla--ficha td { padding-right: 0.8rem; }
.tabla--ficha td:first-child { white-space: normal; }
.tabla--ficha abbr { text-decoration: none; }
.tabla__total td { border-top: 1px solid var(--tinta); font-weight: 800; }
.ficha-estadisticas__cabeza { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.6rem 1.2rem; margin-bottom: 0.9rem; }
.ficha-estadisticas__cabeza .filtros { margin: 0; }
.ficha-estadisticas__sub { margin: 1.5rem 0 0.5rem; color: var(--rojo); }
.cifras--ficha { margin-bottom: 1.2rem; }
.cifras--ficha dd { color: inherit; }
.cifras--chicas dd { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
@media (max-width: 700px) { .cifras--ficha { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0.4rem; } }
@media (min-width: 900px) { .ficha:not(.ficha--con-foto) .ficha__datos { max-width: 54vw; } }
@media (prefers-reduced-motion: reduce) { .cinta__pista { animation: cinta 90s linear infinite !important; animation-duration: 90s !important; } }

/* En celulares el cartel de apoyo va arriba, pegado a la cabecera: iOS 26 no deja que un elemento fijo llegue
   al borde de abajo (la barra flotante de Safari tapa y deja ver contenido por debajo). */
@media (max-width: 700px) {
  .barrita { top: calc(3.75rem + 1px + env(safe-area-inset-top, 0px)); bottom: auto; padding-top: 0.4rem; padding-bottom: 0.4rem; border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
  body { padding-bottom: 0; padding-top: calc(3.75rem + 1px + env(safe-area-inset-top, 0px) + var(--alto-barrita, 0px)); }
  .aviso-flotante { bottom: 1.5rem; }
}
@media (max-width: 700px) {
  .barrita { transition: transform 0.25s ease, opacity 0.25s ease; }
  html[data-bajando] .barrita { transform: translateY(-100%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s 0.25s; }
}
