/* analisis-del-club.css */

.ana-v { padding: 18px; z-index: 96; }
.ana-v__fondo { background: radial-gradient(80% 70% at 50% 45%, color-mix(in srgb, var(--ana-fondo, #2a3140) 22%, rgb(4 5 8 / 0.84)), rgb(4 5 8 / 0.92)); }
.ana {
  position: relative; z-index: 1;
  width: min(1240px, calc(100vw / var(--escala-sitio, 1) - 36px));
  max-height: min(880px, calc(var(--alto-ventana, 100dvh) - 36px));
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto; overflow: hidden;
  background: var(--bg-panel); border-radius: var(--r-lg); box-shadow: var(--sombra-modal);
  color: var(--text-primary); font-family: var(--font-ui);
  animation: ana-entra 420ms cubic-bezier(.2, .8, .2, 1) both;
}
.ana > .ana-cabeza { grid-row: 1; }
.ana > .ana-grilla, .ana > .ana-pre { grid-row: 2; grid-column: 1; }
.ana > .ana-puntitos { grid-row: 3; }
.ana > .ana-pie { grid-row: 4; grid-column: 1; }
@keyframes ana-entra { from { opacity: 0; transform: scale(.97); } }
.ana-v--sale .ana { transition: opacity 200ms ease, transform 200ms ease; opacity: 0; transform: scale(.98); }
.ana-v--sale .ana-v__fondo { transition: opacity 220ms ease; opacity: 0; }

.ana-cabeza {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 12px 58px 12px 20px; overflow: hidden;
  background: linear-gradient(100deg, color-mix(in srgb, var(--ana-club) 34%, var(--ink-900)) 0%, var(--ink-900) 62%);
  border-bottom: 1px solid var(--line-hairline);
}
.ana-cabeza::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, hsl(0 0% 100% / .10) 50%, transparent 70%);
  transform: translateX(-100%); animation: ana-barrido 1100ms 200ms ease-out both;
}
@keyframes ana-barrido { to { transform: translateX(100%); } }
.ana-cabeza__escudo { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 3px 6px rgb(0 0 0 / .45)); }
.ana-cabeza__club { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.ana-cabeza__eti { display: block; white-space: normal; }
.ana-cabeza__n { margin: 0; font-size: var(--fs-2xl); font-weight: 800; font-stretch: var(--wd-condensed); line-height: 1.02; }
.ana-cabeza__s { color: var(--text-secondary); font-size: var(--fs-xs); line-height: 1.3; }
.ana-cabeza__s i { font-style: normal; color: var(--text-muted); }
.ana-paso-de { color: var(--accent-texto, var(--accent)); }
.ana-v[data-ana-paso="1"] .ana-paso-de--2, .ana-v[data-ana-paso="2"] .ana-paso-de--1 { display: none; }
.ana-objetivo { text-align: right; display: grid; gap: 3px; justify-items: end; max-width: 340px; }
.ana-objetivo__t { font-size: var(--fs-xl); font-weight: 800; font-stretch: var(--wd-condensed); line-height: 1.05; }
.ana-x {
  position: absolute; top: 10px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-control); background: rgb(0 0 0 / .35); color: var(--text-primary);
  font: 400 22px/1 var(--font-ui); cursor: pointer; display: grid; place-items: center;
}
.ana-x:hover { background: rgb(0 0 0 / .55); }

.ana-grilla { display: grid; grid-template-columns: 1fr 1.22fr 1fr; gap: 8px; padding: 10px 12px; min-height: 0; }
.ana-col { display: flex; flex-direction: column; gap: 8px; min-height: 0; min-width: 0; }
.ana-tarjeta {
  background: var(--bg-row); border-radius: var(--r-tarjeta); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; min-height: 0; min-width: 0;
  flex: 0 0 auto;
  animation: ana-tarjeta 520ms cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(200ms + var(--t) * 90ms);
}
.ana-tarjeta--ano, .ana-tarjeta--lineas { flex: 1 0 auto; }
.ana-tarjeta--once { flex: 1 1 auto; }
.ana-tarjeta--ano .ana-ano { margin-top: auto; }
@keyframes ana-tarjeta { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.ana-tarjeta .ana-cae { --base: calc(300ms + var(--t) * 90ms); }
.ana-tarjeta__t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ana-tarjeta__t .ana-nota { text-align: right; }
.ana .label { font-size: var(--fs-2xs); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-muted); }
.ana-nota { color: var(--text-muted); font-size: var(--fs-2xs); line-height: 1.3; }
.ana-nota b { color: var(--text-primary); font-weight: 600; }
.ana-cifra { display: block; font-size: var(--fs-xl); font-stretch: var(--wd-condensed); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: var(--tracking-tight); line-height: 1.05; }
.ana-par { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ana-caja { background: var(--bg-raised); border-radius: var(--r-md); padding: 7px 10px; display: grid; gap: 2px; align-content: start; }
.ana-renglon { margin: 0; font-size: var(--fs-xs); color: var(--text-secondary); line-height: 1.35; }
.ana-renglon b { color: var(--text-primary); }
.ana-cita { margin: 0; font-size: var(--fs-xs); color: var(--text-secondary); line-height: 1.4; border-left: 3px solid var(--ana-club); padding-left: 10px; }
.ana-cita small { display: block; color: var(--text-muted); margin-top: 3px; font-size: var(--fs-2xs); }

.ana-tabla { display: grid; gap: 3px; padding-top: 12px; }
.ana-tabla__fila { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 2px; }
.ana-tabla__c { height: 14px; border-radius: 2px; background: var(--ink-700); animation: ana-aparece 300ms ease both; animation-delay: calc(var(--base, 0ms) + 200ms + var(--k) * 18ms); }
.ana-tabla__c--ok { background: var(--verde-500); }
.ana-tabla__c--margen { background: var(--amber-500); }
.ana-tabla__mio {
  position: absolute; bottom: calc(100% + 2px); left: calc(var(--x) * 1%); width: 0; height: 0; transform: translateX(-50%);
  border: 6px solid transparent; border-bottom: 0; border-top: 8px solid var(--text-primary);
  animation: ana-cae 420ms cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--base, 0ms) + 900ms);
}
.ana-tabla__ext { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); }
.ana-tabla__ley { display: grid; gap: 3px; font-size: var(--fs-2xs); color: var(--text-secondary); line-height: 1.3; }
.ana-tabla__ley b { color: var(--text-primary); }
.ana-tabla__ley span { display: block; }
.ana-tabla__k { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 7px; }
.ana-tabla__k--ok { background: var(--verde-500); }
.ana-tabla__k--margen { background: var(--amber-500); }
.ana-tabla__k--mio { width: 0; height: 0; border-radius: 0; border: 5px solid transparent; border-bottom: 0; border-top: 7px solid var(--text-primary); margin: 0 7px 1px 0; }

.ana-cancha {
  position: relative; border-radius: var(--r-md); overflow: hidden; flex: 1 1 0; min-height: 260px;
  background: repeating-linear-gradient(90deg, var(--campo) 0 9.09%, var(--campo-franja) 9.09% 18.18%);
}
.ana-cancha__lineas { position: absolute; inset: 4%; border: 2px solid hsl(80 30% 96% / .55); }
.ana-cancha__lineas i { position: absolute; border: 2px solid hsl(80 30% 96% / .55); }
.ana-c-medio { left: 50%; top: -2px; bottom: -2px; border-width: 0 0 0 2px !important; }
.ana-c-circulo { left: 50%; top: 50%; width: 17%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
.ana-c-area { top: 22%; bottom: 22%; width: 15%; }
.ana-c-area--a { left: -2px; border-left: 0 !important; }
.ana-c-area--b { right: -2px; border-right: 0 !important; }
.ana-ficha {
  position: absolute; left: var(--h-x); top: var(--h-y); width: 30px; height: 30px; transform: translate(-50%, -50%);
  animation: ana-ficha 520ms cubic-bezier(.2, .9, .3, 1.25) both; animation-delay: var(--d, 0ms);
}
.ana-disco { width: 30px; height: 30px; display: block; font-family: var(--font-ui); font-weight: 800; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .45)); }
.ana-ficha__quien {
  position: absolute; left: 50%; top: calc(100% + 2px); transform: translateX(calc(-50% + var(--dx, 0px)));
  font-size: 11px; font-weight: 700; line-height: 1.05; text-align: center; white-space: nowrap; padding: 1px 5px; border-radius: 4px; background: rgb(0 0 0 / .62); color: #fff;
}
.ana-ficha[data-lado="arriba"] .ana-ficha__quien { top: auto; bottom: calc(100% + 2px); }
.ana-ficha[data-lado="der"] .ana-ficha__quien, .ana-ficha[data-lado="izq"] .ana-ficha__quien { top: 50%; transform: translateY(calc(-50% + var(--dx, 0px))); }
.ana-ficha[data-lado="der"] .ana-ficha__quien { left: calc(100% + 3px); }
.ana-ficha[data-lado="izq"] .ana-ficha__quien { left: auto; right: calc(100% + 3px); }
@keyframes ana-ficha { from { opacity: 0; transform: translate(-50%, -20%) scale(.4); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

.ana-lineas { display: grid; gap: 6px; }
.ana-linea { display: grid; grid-template-columns: 64px minmax(0, 1fr) 66px; gap: 8px; align-items: center; font-size: var(--fs-xs); }
.ana-linea > span:last-child { text-align: right; color: var(--text-secondary); font-size: var(--fs-2xs); white-space: nowrap; }
.ana-linea b { color: var(--text-primary); }
.ana-barra { position: relative; height: 9px; border-radius: 5px; background: var(--ink-750); }
.ana-barra__v { position: absolute; inset: 0 auto 0 0; border-radius: 5px; background: var(--verde-500); }
.ana-barra__v--regular { background: var(--amber-500); }
.ana-barra__v--flojo { background: var(--clay-400); }
.ana-barra__media { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink-200); border-radius: 1px; }
.ana-barra--conf .ana-barra__media { background: var(--clay-300); }
.ana-ley { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: 11.5px; color: var(--text-muted); }
.ana-ley span { display: inline-flex; align-items: center; gap: 5px; }
.ana-ley span:last-child { flex-basis: 100%; }
.ana-ley__k { width: 9px; height: 9px; border-radius: 50%; }
.ana-ley__k--bien { background: var(--verde-500); }
.ana-ley__k--regular { background: var(--amber-500); }
.ana-ley__k--flojo { background: var(--clay-400); }
.ana-edades-bloque { flex: 1 1 auto; display: flex; flex-direction: column; gap: 5px; border-top: 1px solid var(--line-hairline); padding-top: 8px; }
.ana-edades__t { display: flex; justify-content: space-between; align-items: baseline; }
.ana-edades { flex: 1 1 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; align-items: end; height: 64px; min-height: 64px; max-height: 128px; }
.ana-edades__col { display: grid; grid-template-rows: auto minmax(14px, 1fr) auto; gap: 2px; justify-items: center; height: 100%; }
.ana-edades__barra { width: 100%; align-self: end; border-radius: 3px 3px 0 0; background: var(--ink-500); }
.ana-edades__col--joven .ana-edades__barra { background: var(--verde-500); }
.ana-edades__col--viejo .ana-edades__barra { background: var(--amber-500); }
.ana-edades__n { font-size: var(--fs-2xs); font-weight: 700; font-variant-numeric: tabular-nums; }
.ana-edades__k { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; }
.ana-figs { display: grid; gap: 4px; padding-top: 8px; border-top: 1px solid var(--line-hairline); }
.ana-figs--once { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 14px; row-gap: 2px; border-top: 0; padding-top: 0; }
.ana-figs--once > .label { grid-row: span 2; }
.ana-fig { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; align-items: baseline; font-size: var(--fs-xs); line-height: 1.3; }
.ana-fig em { font-style: normal; color: var(--text-muted); font-size: var(--fs-2xs); }
.ana-fig b { color: var(--verde-300); font-variant-numeric: tabular-nums; font-size: var(--fs-sm); text-align: center; }

.ana-plata { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ana-caja--semanas { grid-column: 1 / -1; gap: 6px; }
.ana-semanas { display: grid; grid-template-columns: repeat(52, 1fr); gap: 1.5px; }
.ana-semanas i { height: 10px; border-radius: 1.5px; background: var(--ink-700); }
.ana-semanas i.on { background: var(--verde-500); animation: ana-sube 380ms cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--base, 0ms) + 260ms + var(--k) * 14ms); transform-origin: center bottom; }
.ana-deuda { border-radius: var(--r-md); padding: 8px 12px; background: var(--tint-bad); border: 1px solid hsl(9 62% 47% / .4); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; }
.ana-deuda > div { display: grid; gap: 2px; }
.ana-deuda .label { color: var(--clay-300); }
.ana-deuda .ana-cifra { color: var(--clay-300); }
.ana-deuda > span:last-child { font-size: var(--fs-2xs); color: var(--text-secondary); line-height: 1.35; }
.ana-deuda i { color: var(--text-muted); }

.ana-partidos { display: grid; gap: 6px; }
.ana-partido { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 9px; align-items: center; }
.ana-partido .ana-escudo { grid-row: span 2; }
.ana-partido--sobra { display: none; }
.ana-partido--sobra.ana-partido--pone { display: grid; }
.ana-partido__n { font-size: var(--fs-xs); font-weight: 600; line-height: 1.2; }
.ana-partido__m { font-size: var(--fs-2xs); color: var(--text-muted); line-height: 1.25; }
.ana-partido__m b { color: var(--text-secondary); font-weight: 600; }
.ana-chip-clasico { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--clay-300); border: 1px solid color-mix(in srgb, var(--clay-300) 55%, transparent); border-radius: var(--r-pill); padding: 0 6px; margin-left: 4px; white-space: nowrap; }
.ana-escudo { width: 22px; height: 22px; object-fit: contain; }
.ana-copas { display: flex; gap: 6px; flex-wrap: wrap; }
.ana-copas span { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-2xs); background: var(--bg-raised); border-radius: var(--r-pill); padding: 3px 10px 3px 4px; }
.ana-copas img { width: 18px; height: 18px; object-fit: contain; margin: 0; }
.ana-ano { display: grid; gap: 3px; }
.ana-ano__ext { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); }
.ana-ano__pista { position: relative; height: 14px; }
.ana-ano__pista > i { position: absolute; top: 50%; }
.ana-ano__linea { left: 0; right: 0; height: 2px; margin-top: -1px; border-radius: 1px; background: var(--ink-500); transform-origin: left center; animation: ana-crece 1200ms cubic-bezier(.4, 0, .2, 1) both; animation-delay: calc(var(--base, 0ms) + 6 * 70ms + 200ms); }
.ana-ano__mercado { height: 10px; margin-top: -5px; border-radius: 2px; background: color-mix(in srgb, var(--accent) 60%, transparent); animation: ana-aparece 400ms ease both; animation-delay: calc(var(--base, 0ms) + 6 * 70ms + 700ms + var(--k, 0) * 160ms); }
.ana-ano__clasico { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--clay-300); box-shadow: 0 0 0 2px var(--bg-row); animation: ana-aparece 400ms ease both; animation-delay: calc(var(--base, 0ms) + 6 * 70ms + 1000ms + var(--k, 0) * 160ms); }
.ana-ano__hoy { width: 2px; height: 14px; margin: -7px 0 0 -1px; background: var(--text-primary); border-radius: 1px; animation: ana-aparece 400ms ease both; animation-delay: calc(var(--base, 0ms) + 6 * 70ms + 300ms); }
.ana-ano__vents { position: relative; height: calc(var(--filas, 1) * 15px); }
.ana-ano__vent {
  position: absolute; top: calc(var(--fila) * 15px); left: calc(var(--x) * 1%); transform: translateX(calc(var(--x) * -1%));
  font-size: 11px; line-height: 15px; color: var(--text-muted); white-space: nowrap;
  animation: ana-aparece 400ms ease both; animation-delay: calc(var(--base, 0ms) + 6 * 70ms + 900ms);
}
.ana-ano__vent b { font-weight: 600; color: color-mix(in srgb, var(--accent) 75%, var(--text-primary)); }
.ana-ano__ley { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-muted); }
.ana-ano__ley-m { display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: color-mix(in srgb, var(--accent) 55%, transparent); }
@keyframes ana-aparece { from { opacity: 0; } }
.ana-ventana { display: grid; grid-template-columns: 96px repeat(2, minmax(0, 1fr)); gap: 8px; align-items: center; font-size: var(--fs-xs); }
.ana-ventana__comp { font-size: 11px; letter-spacing: .02em; color: var(--text-muted); text-transform: uppercase; white-space: nowrap; }
.ana-ventana__p { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 6px; align-items: center; }
.ana-ventana__p b { font-weight: 600; line-height: 1.15; }
.ana-ventana__p em { grid-column: 2; font-style: normal; font-size: 11px; color: var(--text-muted); }
.ana-ventana__p b, .ana-ventana__p em { min-width: 0; overflow-wrap: anywhere; }
.ana-bandera { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; grid-row: span 2; }

.ana-urgente { border-left: 3px solid var(--accent); padding-left: 10px; display: grid; gap: 6px; }
.ana-urgente__t { font-weight: 700; font-size: var(--fs-sm); }
.ana-urgente p { margin: 0; font-size: var(--fs-xs); color: var(--text-secondary); line-height: 1.38; }
.ana-ops { display: grid; gap: 6px; margin-top: 2px; }
.ana-op {
  display: grid; place-items: center; text-align: center; min-height: 36px; padding: 5px 12px; border-radius: var(--r-md);
  border: 1px solid var(--accent-line, var(--line-control)); background: var(--accent-wash, var(--bg-raised)); color: var(--accent-texto, var(--text-primary));
  font: 600 var(--fs-xs)/1.2 var(--font-ui); cursor: pointer; text-decoration: none;
}
.ana-op:hover { border-color: var(--accent); }
.ana-op:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ana-urgente .ana-urgente__hecho { color: var(--text-primary); background: var(--bg-raised); border-radius: var(--r-md); padding: 8px 10px; }
.ana-urgente__extras { display: grid; gap: 4px; padding-top: 8px; border-top: 1px solid var(--line-hairline); }
.ana-urgente__mas { margin: 0; font-size: var(--fs-2xs); color: var(--text-secondary); line-height: 1.35; }
.ana-malo { color: var(--clay-300); }
.ana-aviso { color: var(--amber-300); }

.ana-pie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 9px 14px 11px; border-top: 1px solid var(--line-hairline); }
.ana-boton {
  display: grid; place-items: center; text-align: center; min-height: 46px; padding: 6px 14px;
  border-radius: var(--r-md); border: 1px solid var(--line-control); background: var(--bg-raised); color: var(--text-primary);
  font: 600 var(--fs-sm)/1.2 var(--font-ui); text-decoration: none; cursor: pointer; min-width: 0;
  animation: ana-cae 480ms cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(900ms + var(--i) * 80ms);
}
.ana-boton:hover { border-color: var(--text-secondary); }
.ana-boton--lleno { border: 0; background: var(--accent-degradado); color: var(--text-on-accent); font-size: var(--fs-md); }
.ana-boton--lleno:hover { background: var(--accent-degradado-hover); }
.ana-boton:focus-visible, .ana-x:focus-visible, .ana-volver:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ana-puntitos { display: none; }

.ana-pre, .ana-pie--2 { display: none; }
.ana-v[data-ana-paso="2"] .ana-grilla { visibility: hidden; }
.ana-v[data-ana-paso="2"] .ana-pie--1 { display: none; }
.ana-v[data-ana-paso="2"] .ana-pie--2 { display: grid; }
.ana-v[data-ana-paso="2"] .ana-pre { display: grid; }
.ana-v[data-ana-paso="2"] .ana-pre .ana-cae, .ana-v[data-ana-paso="2"] .ana-pie--2 .ana-boton { --base: 0ms; }
.ana-v[data-ana-paso="2"] .ana-pie--2 .ana-boton { animation-delay: calc(500ms + var(--i) * 80ms); }
.ana-pre { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px; padding: 10px 12px; min-height: 0; }
.ana-pre__foto {
  position: relative; border-radius: var(--r-tarjeta); background: var(--ink-800) center / cover no-repeat;
  display: grid; align-content: end; justify-items: center; text-align: center; padding: 24px 18px; gap: 6px; min-height: 0;
}
.ana-pre__cuenta { display: grid; justify-items: center; gap: 2px; color: #fff; }
.ana-pre__cuenta b { font-size: 84px; line-height: .95; font-weight: 800; font-stretch: var(--wd-condensed); font-variant-numeric: tabular-nums; text-shadow: 0 3px 18px rgb(0 0 0 / .5); }
.ana-pre__cuenta span { font-size: var(--fs-md); font-weight: 600; }
.ana-pre__rango { margin: 0; font-size: var(--fs-xs); color: rgb(255 255 255 / .78); }
.ana-pre__relato { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px; padding: 18px 22px; background: var(--bg-row); border-radius: var(--r-tarjeta); min-height: 0; }
.ana-volver { position: absolute; top: 10px; left: 12px; border: 0; background: none; color: var(--text-muted); font: 600 var(--fs-2xs)/1.2 var(--font-ui); cursor: pointer; padding: 4px 6px; border-radius: var(--r-sm, 4px); }
.ana-volver:hover { color: var(--text-primary); }
.ana-pre__t { margin: 0; font-size: var(--fs-2xl); font-weight: 800; font-stretch: var(--wd-condensed); line-height: 1.05; }
.ana-pre__lead { margin: 0; max-width: 54ch; font-size: var(--fs-md); color: var(--text-secondary); line-height: 1.4; }
.ana-pre__lead strong { color: var(--text-primary); }
.ana-pre__pasos { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.ana-pre__paso { display: grid; justify-items: center; align-content: start; gap: 5px; padding: 16px 12px; border-radius: var(--r-md); background: var(--bg-raised); font-size: var(--fs-xs); color: var(--text-secondary); line-height: 1.4; }
.ana-pre__paso b { color: var(--text-primary); font-size: var(--fs-sm); }
.ana-pre__n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: var(--fs-2xs); background: var(--accent-wash, var(--ink-700)); color: var(--accent-texto, var(--accent)); border: 1px solid var(--accent-line, transparent); }
.ana-pre__pie { margin: 2px 0 0; max-width: 60ch; font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.35; }

.ana-cae { animation: ana-cae 480ms cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--base, 0ms) + var(--i, 0) * 70ms); }
@keyframes ana-cae { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ana-crece { transform-origin: left center; animation: ana-crece 700ms cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--base, 0ms) + var(--i, 0) * 70ms + 140ms); }
@keyframes ana-crece { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ana-sube { transform-origin: center bottom; animation: ana-sube 600ms cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--base, 0ms) + var(--i, 0) * 60ms + 120ms); }
@keyframes ana-sube { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.ana-v--quieto .ana, .ana-v--quieto .ana *, .ana-v--quieto .ana *::after, .ana-v--quieto .ana-cabeza::after { animation: none !important; }
.ana-v--quieto .ana-cabeza::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  .ana, .ana *, .ana-cabeza::after { animation: none !important; }
  .ana-cabeza::after { display: none; }
}

@media (min-width: 641px) and (max-height: 820px) {
  .ana-cabeza { padding-top: 9px; padding-bottom: 9px; }
  .ana-cabeza__escudo { width: 50px; height: 50px; }
  .ana-grilla, .ana-pre { padding-top: 8px; padding-bottom: 8px; }
  .ana-tarjeta { padding: 8px 11px; gap: 6px; }
  .ana-edades { height: 66px; min-height: 66px; }
  .ana-lineas { gap: 4px; }
  .ana-op { min-height: 32px; padding: 4px 10px; }
  .ana-cancha { min-height: 232px; }
  .ana-pie { padding: 8px 14px 9px; }
  .ana-boton { min-height: 42px; }
  .ana-pre__cuenta b { font-size: 68px; }
}
@media (min-width: 641px) and (min-height: 860px) {
  .ana-cancha { min-height: 290px; }
}
@media (min-width: 1700px) and (min-height: 1000px) {
  .ana { max-height: min(960px, calc(var(--alto-ventana, 100dvh) - 36px)); width: min(1340px, calc(100vw / var(--escala-sitio, 1) - 36px)); }
  .ana-cabeza__escudo { width: 70px; height: 70px; }
  .ana-cabeza__n { font-size: var(--fs-3xl); }
  .ana-cabeza__s { font-size: var(--fs-sm); }
  .ana-objetivo__t { font-size: var(--fs-2xl); }
  .ana-cifra { font-size: var(--fs-2xl); }
  .ana-cita, .ana-renglon, .ana-urgente p, .ana-partido__n, .ana-linea, .ana-fig { font-size: var(--fs-sm); }
  .ana-nota, .ana-cita small, .ana-urgente__mas, .ana-deuda > span:last-child, .ana-tabla__ley, .ana-partido__m { font-size: var(--fs-xs); }
}

@media (max-width: 640px) {
  .ana-v { padding: 0; }
  .ana { width: calc(100vw / var(--escala-sitio, 1)); height: var(--alto-ventana, 100dvh); max-height: none; border-radius: 0; }
  .ana-cabeza { grid-template-columns: 46px minmax(0, 1fr); gap: 2px 12px; padding: 12px 50px 10px 14px; align-items: start; }
  .ana-cabeza__escudo { width: 46px; height: 46px; }
  .ana-cabeza__n { font-size: var(--fs-xl); }
  .ana-cabeza__s { font-size: var(--fs-2xs); }
  .ana-objetivo { grid-column: 1 / -1; text-align: left; justify-items: start; margin-top: 6px; max-width: none; }
  .ana-objetivo__t { font-size: var(--fs-lg); }
  .ana-x { top: 8px; right: 8px; }
  .ana-grilla { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; gap: 10px; padding: 10px 14px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .ana-grilla::-webkit-scrollbar { display: none; }
  .ana-col { display: contents; }
  .ana-tarjeta { order: var(--t); flex: 0 0 calc(100% - 0px); scroll-snap-align: center; scroll-snap-stop: always; overflow: hidden; }
  .ana-grilla .ana-tarjeta { width: calc(100vw / var(--escala-sitio, 1) - 28px); flex-basis: calc(100vw / var(--escala-sitio, 1) - 28px); }
  .ana-tarjeta:not(.ana-vista), .ana-tarjeta:not(.ana-vista) * { animation-play-state: paused !important; }
  .ana-tarjeta { animation-delay: 200ms; }
  .ana-tarjeta .ana-cae { --base: 260ms; }
  .ana-renglon, .ana-cita, .ana-urgente p, .ana-partido__n, .ana-linea, .ana-fig { font-size: var(--fs-sm); }
  .ana-tabla__ley, .ana-partido__m, .ana-urgente__mas, .ana-nota { font-size: var(--fs-xs); }
  .ana-tabla__c { height: 20px; }
  .ana-tabla__ley { gap: 6px; }
  .ana-cifra { font-size: var(--fs-2xl); }
  .ana-semanas i { height: 16px; }
  .ana-partidos { gap: 10px; }
  .ana-edades { height: 96px; max-height: 160px; }
  .ana-tarjeta--once { align-items: center; }
  .ana-tarjeta--once .ana-tarjeta__t { align-self: stretch; }
  .ana-tarjeta--once .ana-cancha { flex: 1 1 0; min-height: 0; height: auto; max-height: 100%; width: auto; max-width: 100%; aspect-ratio: 68 / 105;
    background: repeating-linear-gradient(0deg, var(--campo) 0 9.09%, var(--campo-franja) 9.09% 18.18%); }
  .ana-tarjeta--once .ana-ficha { left: var(--v-x); top: var(--v-y); }
  .ana-figs--once { align-self: stretch; grid-template-columns: minmax(0, 1fr); }
  .ana-tarjeta--once .ana-c-medio { left: -2px; right: -2px; top: 50%; bottom: auto; border-width: 2px 0 0 0 !important; }
  .ana-tarjeta--once .ana-c-circulo { width: 26%; }
  .ana-tarjeta--once .ana-c-area { left: 22%; right: 22%; width: auto; height: 15%; top: auto; bottom: auto; }
  .ana-tarjeta--once .ana-c-area--a { bottom: -2px; border-bottom: 0 !important; border-left: 2px solid hsl(80 30% 96% / .55) !important; }
  .ana-tarjeta--once .ana-c-area--b { top: -2px; border-top: 0 !important; border-right: 2px solid hsl(80 30% 96% / .55) !important; }
  .ana-puntitos { display: flex; gap: 6px; justify-content: center; padding: 0 0 6px; }
  .ana-v[data-ana-paso="2"] .ana-puntitos { display: none; }
  .ana-puntitos i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-600); cursor: pointer; transition: width 200ms ease, background 200ms ease; }
  .ana-puntitos i.on { background: var(--accent); width: 20px; border-radius: 4px; }
  .ana-ventana { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3px; }
  .ana-ventana__comp { grid-column: 1 / -1; }
  .ana-pie { grid-template-columns: 1fr 1fr; padding: 8px 14px 12px; gap: 6px; }
  .ana-pie .ana-boton--lleno { grid-column: 1 / -1; }
  .ana-boton { min-height: 46px; padding: 5px 10px; font-size: var(--fs-xs); }
  .ana-pre { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 8px; padding: 10px 14px; }
  .ana-pre__foto { grid-template-columns: auto minmax(0, 1fr); align-items: end; justify-items: start; text-align: left; padding: 30px 14px 12px; min-height: 120px; gap: 2px 12px; }
  .ana-pre__cuenta { grid-template-columns: auto auto; align-items: baseline; gap: 8px; }
  .ana-pre__cuenta b { font-size: 52px; }
  .ana-pre__cuenta span { font-size: var(--fs-xs); }
  .ana-pre__rango { grid-column: 1 / -1; }
  .ana-pre__relato { justify-content: start; padding: 12px 14px; gap: 8px; }
  .ana-volver { position: static; align-self: flex-start; padding: 0; }
  .ana-pre__t { font-size: var(--fs-xl); }
  .ana-pre__lead { font-size: var(--fs-sm); }
  .ana-pre__paso { font-size: var(--fs-2xs); }
  .ana-pre__paso b { font-size: var(--fs-xs); }
  .ana-pre__pie { font-size: var(--fs-2xs); }
  .ana-pre__pasos { grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 2px; }
  .ana-pre__paso { grid-template-columns: 24px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 10px; row-gap: 1px; padding: 8px 10px; }
  .ana-pre__paso .ana-pre__n { grid-row: span 2; }
  .ana-pre__paso > span:last-child { grid-column: 2; }
}

.ana-com, .ana-pie--3, .ana-objetivo--mercado { display: none; }
.ana-v[data-ana-paso="3"] .ana-grilla { visibility: hidden; }
.ana-v[data-ana-paso="3"] .ana-pie--1 { display: none; }
.ana-v[data-ana-paso="3"] .ana-pie--3 { display: grid; }
.ana-v[data-ana-paso="3"] .ana-com { display: grid; }
.ana-v[data-ana-paso="3"] .ana-objetivo--mercado { display: grid; }
.ana-v[data-ana-paso="3"] .ana-objetivo--mercado ~ .ana-x { z-index: 2; }
.ana-v[data-ana-paso="3"] .ana-cabeza:has(.ana-objetivo--mercado) .ana-objetivo--pide { display: none; }
.ana-v[data-ana-paso="1"] .ana-paso-de--3, .ana-v[data-ana-paso="2"] .ana-paso-de--3,
.ana-v[data-ana-paso="3"] .ana-paso-de--1, .ana-v[data-ana-paso="3"] .ana-paso-de--2 { display: none; }
.ana-v[data-ana-paso="3"] .ana-com .ana-cae, .ana-v[data-ana-paso="3"] .ana-pie--3 .ana-boton { --base: 0ms; }
.ana-v[data-ana-paso="3"] .ana-pie--3 .ana-boton { animation-delay: calc(400ms + var(--i) * 80ms); }
.ana > .ana-com { grid-row: 2; grid-column: 1; }
.ana-objetivo__s { font-size: var(--fs-xs); color: var(--text-secondary); }
.ana-objetivo__s b { color: var(--text-primary); }

.ana-com { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); grid-template-rows: auto minmax(0, 1fr); gap: 10px; padding: 10px 12px; min-height: 0; }
.ana-com--sola { grid-template-columns: minmax(0, 1fr); }
.ana-com__carta { grid-column: 1 / -1; margin: 0; padding: 2px 4px 2px 14px; border-left: 3px solid var(--ana-club); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.ana-com__carta span { flex: 1 1 520px; font-size: var(--fs-sm); line-height: 1.4; font-style: italic; color: var(--text-primary); }
.ana-com__carta small { color: var(--text-muted); font-size: var(--fs-2xs); }
.ana-com .ana-tarjeta { gap: 10px; padding: 12px 14px; flex: initial; }
.ana-com__t { margin: -4px 0 0; font-size: var(--fs-xl); font-weight: 800; font-stretch: var(--wd-condensed); line-height: 1.05; }
.ana-com__pie { margin: auto 0 0; font-size: var(--fs-2xs); color: var(--text-muted); line-height: 1.35; }
.ana-com__pie b { color: var(--text-secondary); }

.ana-sec__terna { display: grid; gap: 6px; }
.ana-sec__ficha { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 10px 6px 6px; background: var(--bg-raised); border-radius: var(--r-md); }
.ana-sec__cara { width: 40px; height: 40px; border-radius: 8px; background: var(--ink-700) center 20% / cover no-repeat; display: grid; place-items: center; overflow: hidden; }
.ana-sec__cara svg { width: 24px; height: 24px; fill: var(--text-muted); }
.ana-sec__cara .sec__cara-esc { display: none; }
.ana-sec__n { min-width: 0; }
.ana-sec__n b { display: block; font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ana-sec__n small, .ana-sec__p small { display: block; font-size: var(--fs-2xs); color: var(--text-muted); font-weight: 400; }
.ana-sec__p { text-align: right; font-weight: 700; font-size: var(--fs-sm); font-stretch: var(--wd-condensed); font-variant-numeric: tabular-nums; }
.ana-sec__hace { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: var(--fs-xs); color: var(--text-secondary); }
.ana-sec__hace li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin: 0 9px 2px 0; }
.ana-sec__hace b { color: var(--text-primary); }
.ana-sec__ir { display: grid; place-items: center; min-height: 42px; border-radius: var(--r-md); border: 1px solid var(--accent); color: var(--accent-texto, var(--accent)); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; }
.ana-com__sec .ana-sec__ir { margin-top: auto; }
.ana-com__sec .ana-com__pie { margin-top: 0; }
.ana-sec__ir:hover { background: hsl(135 100% 50% / .08); }
.ana-sec__ir:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.ana-com__opciones { gap: 10px; }
.ana-com .prem__foto { height: 64px; }
.ana-com .prem__op:hover { transform: none; }

.ana-boton--doble { display: grid; place-content: center; gap: 1px; line-height: 1.2; }
.ana-boton--doble small { font-size: 11px; font-weight: 500; color: var(--text-muted); }
.ana-boton--lleno.ana-boton--doble small { color: color-mix(in srgb, var(--text-on-accent) 70%, transparent); }

@media (min-width: 641px) and (max-height: 820px) {
  .ana-com__carta { display: none; }
  .ana-com { grid-template-rows: minmax(0, 1fr); padding-top: 8px; padding-bottom: 8px; }
  .ana-com .ana-tarjeta { padding: 9px 12px; gap: 8px; }
  .ana-com .prem__foto { height: 40px; }
  .ana-sec__ficha { padding-block: 4px; grid-template-columns: 36px minmax(0, 1fr) auto; }
  .ana-sec__cara { width: 36px; height: 36px; }
}

@media (max-width: 640px) {
  .ana-v[data-ana-paso="3"] .ana-puntitos { display: none; }
  .ana-com { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: start; gap: 8px; padding: 10px 14px; }
  .ana-com__carta { display: none; }
  .ana-com .ana-tarjeta { padding: 10px 12px; gap: 8px; }
  .ana-com__t { font-size: var(--fs-lg); }
  .ana-com__sec .ana-com__t, .ana-sec__hace, .ana-com__sec .ana-com__pie { display: none; }
  .ana-sec__terna { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ana-sec__ficha { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 6px; gap: 4px; }
  .ana-sec__cara { width: 44px; height: 44px; }
  .ana-sec__n small, .ana-sec__p { display: none; }
  .ana-sec__n b { font-size: var(--fs-2xs); white-space: normal; }
  .ana-sec__ir { min-height: 38px; font-size: var(--fs-xs); }
  .ana-com__apuesta .ana-com__pie, .ana-com__apuesta .ana-tarjeta__t .ana-nota { display: none; }
  .ana-com .prem__renglones { display: none !important; }
  .ana-com .prem__op--elegida .prem__foto { height: 36px; }
  .ana-com .prem__medidor { margin-top: 0; }
  .ana-sec__cara { width: 40px; height: 40px; }
  .ana-sec__ficha { padding: 5px 4px; }
  .ana-objetivo--mercado .ana-objetivo__s { font-size: var(--fs-2xs); }
  .ana-boton--doble small { font-size: 10px; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .ana-com__apuesta .ana-com__t, .ana-com .prem__dice, .ana-com .prem__pie, .ana-objetivo--mercado .label { display: none; }
  .ana-com .prem__op--elegida .prem__foto { height: 0; }
  .ana-com .prem__op--elegida .prem__cab { margin-top: 0; padding-top: var(--sp-4); }
  .ana-sec__cara { width: 34px; height: 34px; }
}
.ana-pie--solo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .ana-pie--solo { grid-template-columns: minmax(0, 1fr); } .ana-pie--solo .ana-boton--lleno { grid-column: auto; } }
.ana-ventana--torneo .ana-ventana__p { grid-column: 2 / -1; grid-template-columns: minmax(0, 1fr); }
.ana-ventana--torneo .ana-ventana__p em { grid-column: 1; }
@media (max-width: 720px) { .ana-ventana--torneo .ana-ventana__p { grid-column: 1 / -1; } }

/* camino-de-la-fecha.css */

.chrome .nav-sub__item[data-camino="cerrado"] {
  gap: 6px;
  color: var(--text-muted) !important;
  background: transparent !important;
  border-style: dashed !important;
  border-color: rgb(255 255 255 / 0.22) !important;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}
@media (hover: hover) {
  .chrome .nav-sub__item[data-camino="cerrado"]:hover {
    color: var(--text-secondary) !important;
    border-color: rgb(255 255 255 / 0.4) !important;
    background: rgb(255 255 255 / 0.05) !important;
  }
}
.chrome .nav-sub__item[data-camino="cerrado"]:active { transform: scale(0.97) !important; }
.chrome .nav-sub__item[data-camino="cerrado"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.camino-candado {
  flex: none;
  width: 12px;
  height: 12px;
  color: currentColor;
  opacity: 0.9;
}

.chrome .nav-sub__item--con-aviso { gap: 7px; }
.nav-aviso {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink-950, #0b0b0c);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.nav-aviso--urge { background: var(--danger, #ff4d4f); color: #fff; }
.nav-aviso--toca { min-width: 9px; width: 9px; height: 9px; padding: 0; }
.chrome .nav-grupos__b[data-aviso] { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.chrome .nav-grupos__b[aria-pressed='true'] .nav-aviso:not(.nav-aviso--urge) { background: var(--ink-950, #0b0b0c); color: var(--accent); }
.franja-club__sub--con-aviso { display: inline-flex; align-items: center; gap: 6px; }
.franja-club__sub[aria-current='page'] .nav-aviso:not(.nav-aviso--urge) { background: var(--ink-950, #0b0b0c); color: var(--accent); }
.chrome .nav-sub__item[aria-current='page'] .nav-aviso:not(.nav-aviso--urge) { background: var(--ink-950, #0b0b0c); color: var(--accent); }

.chrome .nav-sub__item.camino-cambia { animation: camino-rebote 420ms cubic-bezier(.2, .8, .2, 1); }
@keyframes camino-rebote {
  0% { transform: scale(1); }
  35% { transform: scale(1.07); }
  70% { transform: scale(0.98); }
  100% { transform: scale(1); }
}

.camino-aviso {
  --camino-flecha: 50%;
  position: fixed;
  z-index: 2147483000;
  box-sizing: border-box;
  width: min(340px, calc(100vw - 24px));
  padding: 12px 14px 16px;
  border-radius: 14px;
  background: var(--ink-850, #171717);
  border: 1px solid var(--line, #4d4d4d);
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.6), 0 0 0 1px rgb(0 0 0 / 0.4);
  color: var(--text-primary, #fff);
  text-align: left;
  animation: camino-entra 220ms cubic-bezier(.2, .8, .2, 1) both;
}
.camino-aviso::before {
  content: '';
  position: absolute;
  left: calc(var(--camino-flecha) - 7px);
  width: 12px;
  height: 12px;
  background: inherit;
  border: inherit;
  transform: rotate(45deg);
}
.camino-aviso[data-lado="abajo"]::before { top: -7px; border-right: 0; border-bottom: 0; }
.camino-aviso[data-lado="arriba"]::before { bottom: -7px; border-left: 0; border-top: 0; }
.camino-aviso[data-lado="suelto"]::before { display: none; }
.camino-aviso--sale { animation: camino-sale 180ms ease-in both; }

.camino-aviso > [style*="--i"] { animation: camino-pieza 260ms cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(60ms + var(--i) * 55ms); }

.camino-aviso__cab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.camino-aviso__marca {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: normal;
  color: var(--accent-texto, var(--accent));
}
.camino-aviso__marca .camino-candado { width: 11px; height: 11px; }
.camino-aviso__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: -4px -6px -4px 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary, #dbdbdb);
  font-size: 20px;
  line-height: normal;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}
.camino-aviso__x span { display: block; line-height: 1; transform: translateY(-1px); }
@media (hover: hover) {
  .camino-aviso__x:hover { background: rgb(255 255 255 / 0.1); color: var(--text-primary, #fff); }
}
.camino-aviso__x:active { transform: scale(0.92); }
.camino-aviso__x:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.camino-aviso__titulo {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary, #fff);
}
.camino-aviso__texto {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-secondary, #dbdbdb);
}
.camino-aviso__pie { display: flex; justify-content: flex-start; margin-top: 12px; }
.camino-aviso__ir.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--r-pill, 999px);
  font-size: 15px;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}
.camino-aviso__ir .i { width: 14px; height: 14px; flex: none; }
@media (hover: hover) {
  .camino-aviso__ir.action:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 16px rgb(0 0 0 / 0.35); }
}
.camino-aviso__ir.action:active { transform: translateY(1px) scale(0.98); filter: brightness(0.95); box-shadow: none; }
.camino-aviso__ir.action:focus-visible { outline: 2px solid var(--text-primary, #fff); outline-offset: 2px; }

.camino-aviso__tiempo {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.55;
  transform-origin: left center;
  animation: camino-tiempo 6500ms linear both;
}

@keyframes camino-entra { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
@keyframes camino-sale { to { opacity: 0; transform: translateY(-4px) scale(0.98); } }
@keyframes camino-pieza { from { opacity: 0; transform: translateY(6px); } }
@keyframes camino-tiempo { from { transform: scaleX(1); } to { transform: scaleX(0); } }

@media (prefers-reduced-motion: reduce) {
  .camino-aviso, .camino-aviso > [style*="--i"], .chrome .nav-sub__item.camino-cambia { animation: none !important; }
  .camino-aviso__tiempo { animation-name: camino-tiempo !important; }
}

.dialogo--lo-basico .dialogo__titulo { text-wrap: balance; }
.lo-basico__marca {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: normal;
  color: var(--clay-300);
}

/* premios.css */

.dialogo--premios {
  width: min(1060px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px);
  padding: 0; overflow: hidden auto; text-align: center; border-radius: 24px;
}
.prem__hero {
  position: relative; height: clamp(150px, 22vh, 210px); display: grid; align-content: end; justify-items: center;
  padding: 0 var(--sp-8) var(--sp-6); background-size: cover; background-position: center 16%;
}
.prem__hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #0008 0%, #0005 40%, var(--bg-panel) 100%); }
.prem__hero > * { position: relative; z-index: 1; }
.prem__escudo { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 6px 18px #000a); margin-bottom: var(--sp-3); }
.prem__ojo { margin: 0; font-size: var(--fs-2xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.prem__titulo { margin: var(--sp-2) 0 0; font-size: var(--fs-3xl); line-height: 1.05; }

.prem__cuerpo { padding: var(--sp-3) var(--sp-8) var(--sp-7); }
.prem__lead { margin: var(--sp-3) auto var(--sp-6); max-width: 680px; color: var(--text-secondary, #c9c9c9); font-size: var(--fs-md); line-height: 1.5; }
.prem__lead b { color: var(--text-primary); }

.prem__opciones { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); text-align: left; }
.prem__op {
  position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border-radius: 18px; cursor: pointer;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--bg-panel) 72%, #000); color: inherit; font: inherit; text-align: left;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.prem__op:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--text-primary) 30%, var(--line)); }
.prem__op:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.prem__op--elegida { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, 0 0 34px 0 hsl(135 100% 50% / .16); animation: prem-brilla 2.6s 1.2s ease-in-out infinite; }
@keyframes prem-brilla { 50% { box-shadow: 0 0 0 1px var(--accent) inset, 0 0 40px 4px hsl(135 100% 50% / .26); } }
@media (prefers-reduced-motion: reduce) { .prem__op--elegida { animation: none; } .prem__op:hover { transform: none; } }

.prem__foto { display: block; height: 104px; position: relative; background-size: cover; background-position: center 55%; }
.prem__foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #0002, color-mix(in srgb, var(--bg-panel) 72%, #000) 96%); }
.prem__op--todo .prem__foto { background-position: center 60%; }
.prem__cab { position: relative; z-index: 1; margin-top: -42px; padding: 0 var(--sp-7); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.prem__tit { font-size: var(--fs-2xl); font-weight: 900; letter-spacing: -.01em; }
.prem__pill { font-size: var(--fs-2xs); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--text-primary) 10%, transparent); border: 1px solid color-mix(in srgb, var(--text-primary) 18%, transparent); }
.prem__op--elegida .prem__pill { background: var(--accent); color: var(--ink-1000, #111); border-color: transparent; }
.prem__dice { position: relative; display: block; margin: var(--sp-3) var(--sp-7) var(--sp-4); color: var(--text-muted); font-size: var(--fs-sm); }

.prem__renglones { display: block; padding: 0 var(--sp-7); }
.prem__r { display: grid; grid-template-columns: 40px 1fr auto; gap: var(--sp-5); align-items: center; padding: var(--sp-4) 0; border-top: 1px solid var(--line); }
.prem__trofeo { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--text-primary) 5%, transparent); border: 1px solid color-mix(in srgb, var(--text-primary) 8%, transparent); }
.prem__trofeo img { max-width: 30px; max-height: 32px; object-fit: contain; }
.prem__trofeo--signo { font-weight: 900; font-size: var(--fs-lg); color: var(--text-secondary, #c9c9c9); }
.prem__trofeo--malo { color: var(--danger); }
.prem__que { font-size: var(--fs-sm); font-weight: 650; }
.prem__que small { display: block; margin-top: 2px; color: var(--text-muted); font-size: var(--fs-2xs); font-weight: 500; }
.prem__plata { font-weight: 900; font-size: var(--fs-lg); font-variant-numeric: tabular-nums; text-align: right; }
.prem__plata small { display: block; font-size: var(--fs-2xs); font-weight: 600; color: var(--text-muted); }
.prem__plata--malo, .prem__malo { color: var(--danger); }

.prem__medidor { display: block; margin: var(--sp-2) var(--sp-7) 0; padding: var(--sp-5) 0 var(--sp-6); border-top: 1px solid var(--line); }
.prem__fila { display: flex; justify-content: space-between; align-items: baseline; color: var(--text-muted); font-size: var(--fs-sm); }
.prem__fila b { font-size: var(--fs-xl); font-weight: 900; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.prem__op--todo .prem__fila b { color: var(--good); }
.prem__barra { display: block; height: 7px; margin-top: var(--sp-4); border-radius: 99px; overflow: hidden; background: color-mix(in srgb, var(--text-primary) 8%, transparent); }
.prem__barra i { display: block; height: 100%; border-radius: 99px; }
.prem__op--fijo .prem__barra i { background: linear-gradient(90deg, #8fa3b8, #c7d3df); }
.prem__op--todo .prem__barra i { background: linear-gradient(90deg, var(--good), var(--accent)); }
.prem__pie { display: flex; justify-content: space-between; margin-top: var(--sp-3); font-size: var(--fs-2xs); color: var(--text-muted); }

.prem__sola--estreno { padding: var(--sp-3) var(--sp-5); border-radius: 12px; color: var(--text-primary); background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); max-width: 760px; }
.prem__sola { margin: var(--sp-6) auto 0; color: var(--text-secondary, #c9c9c9); font-size: var(--fs-sm); }
.dialogo--premios .dialogo__pie { justify-content: center; margin-top: var(--sp-6); }
.prem__firma { margin: var(--sp-4) 0 0; color: var(--text-muted); font-size: var(--fs-2xs); }

@media (max-height: 860px) and (min-width: 761px) {
  .prem__hero { height: 118px; padding-bottom: var(--sp-5); }
  .prem__escudo { width: 40px; height: 40px; margin-bottom: var(--sp-2); }
  .prem__titulo { font-size: var(--fs-2xl); }
  .prem__lead { margin: var(--sp-2) auto var(--sp-5); }
  .prem__foto { height: 72px; }
  .prem__cab { margin-top: -36px; }
  .prem__dice { margin-bottom: var(--sp-2); }
  .prem__r { padding: var(--sp-3) 0; }
  .prem__medidor { padding-bottom: var(--sp-5); }
  .prem__sola { margin-top: var(--sp-5); }
  .dialogo--premios .dialogo__pie { margin-top: var(--sp-5); }
}

@media (max-width: 760px) {
  .dialogo--premios { border-radius: 18px; }
  .prem__hero { height: 96px; padding: 0 var(--sp-5) var(--sp-4); }
  .prem__escudo { width: 32px; height: 32px; margin-bottom: var(--sp-1); }
  .prem__ojo { letter-spacing: .08em; padding: 0 44px; }
  .prem__titulo { font-size: var(--fs-xl); }
  .prem__cuerpo { padding: var(--sp-1) var(--sp-5) var(--sp-5); }
  .prem__lead { font-size: var(--fs-xs); line-height: 1.42; margin: var(--sp-2) auto var(--sp-4); }
  .prem__opciones { grid-template-columns: 1fr; gap: var(--sp-4); }
  .prem__foto { height: 52px; }
  .prem__cab { margin-top: -30px; padding: 0 var(--sp-5); }
  .prem__tit { font-size: var(--fs-xl); }
  .prem__dice { margin: var(--sp-2) var(--sp-5) var(--sp-2); font-size: var(--fs-xs); }
  .prem__renglones, .prem__medidor { padding-left: var(--sp-5); padding-right: var(--sp-5); margin-left: 0; margin-right: 0; }
  .prem__r { grid-template-columns: 32px 1fr auto; gap: var(--sp-4); padding: var(--sp-2) 0; }
  .prem__trofeo { width: 32px; height: 32px; }
  .prem__trofeo img { max-width: 24px; max-height: 26px; }
  .prem__plata { font-size: var(--fs-md); }
  .prem__medidor { padding-top: var(--sp-3); padding-bottom: var(--sp-4); }
  .prem__fila b { font-size: var(--fs-lg); }
  .prem__op:not(.prem__op--elegida) .prem__foto { height: 0; }
  .prem__op:not(.prem__op--elegida) .prem__cab { margin-top: 0; padding-top: var(--sp-4); }
  .prem__op:not(.prem__op--elegida) .prem__dice,
  .prem__op:not(.prem__op--elegida) .prem__renglones,
  .prem__op:not(.prem__op--elegida) .prem__barra,
  .prem__op:not(.prem__op--elegida) .prem__pie { display: none; }
  .prem__op:not(.prem__op--elegida) .prem__medidor { border-top: 0; padding: var(--sp-2) var(--sp-5) var(--sp-4); }
  .prem__sola { font-size: var(--fs-2xs); margin-top: var(--sp-4); }
  .dialogo--premios .dialogo__pie { flex-direction: column-reverse; gap: var(--sp-3); margin-top: var(--sp-4); }
  .dialogo--premios .dialogo__pie .action { justify-content: center; }
  .prem__firma { display: none; }
}

.prem-tar { display: grid; gap: var(--sp-2); text-decoration: none; color: inherit; }
.dpu-col .dpu-card.prem-tar { flex: none; display: grid; padding: 14px 18px; gap: var(--sp-2); }
.prem-tar .label small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.prem-tar__fila { display: grid; grid-template-columns: 1fr auto; gap: 0 var(--sp-4); padding: var(--sp-3) 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.prem-tar__fila:first-of-type { border-top: 0; }
.prem-tar__fila b { font-variant-numeric: tabular-nums; }
.prem-tar__fila small { grid-column: 1 / -1; color: var(--text-muted); font-size: var(--fs-2xs); }
.prem-tar__chip { font-style: normal; font-size: var(--fs-2xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--good); color: var(--good); margin-left: var(--sp-2); }
.prem-tar__bueno { color: var(--good); }
.prem-tar__total { display: flex; justify-content: space-between; gap: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--line); font-size: var(--fs-2xs); color: var(--text-muted); }
.prem-tar__total b { font-size: var(--fs-sm); }
.prem-tar__total > span:first-child { flex: none; white-space: nowrap; }
.prem-tar__total > span:last-child { text-align: right; }
.prem-tar__aviso { display: block; padding: var(--sp-3) var(--sp-4); border-radius: 10px; font-size: var(--fs-xs); font-weight: 700;
  background: color-mix(in srgb, var(--good) 14%, transparent); border: 1px solid color-mix(in srgb, var(--good) 45%, transparent); }
.prem-tar--nuevo { border-color: color-mix(in srgb, var(--good) 55%, var(--line)); }
.prem-tar--firmar { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }

