/* Fulbito — negro de estadio de noche y un verde eléctrico de acento. */

@font-face { font-family: "Fira Sans"; src: url("/fonts/firasans-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("/fonts/firasans-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("/fonts/firasans-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("/fonts/bebasneue-400.woff") format("woff"); font-weight: 400; font-display: swap; }

:root {
  --fondo: #050706;
  --noche: #0B0F0D;
  --cesped: #163521;
  --cesped-claro: #1C4029;
  --cal: #F2F5F3;
  --cal-2: #DCE3DE;
  --acento: #22E27A;
  --acento-claro: #6FF0A8;
  --acento-suave: rgba(34, 226, 122, .16);
  --tinta: #03140A; /* texto sobre el verde */
  --tribuna: #A3ADA7;
  --tribuna-2: #78837D;
  --verde: #6FF0A8;
  --ambar: #E8C36A;
  --panel: linear-gradient(180deg, rgba(20, 25, 22, .90), rgba(8, 11, 9, .94));
  --borde: rgba(242, 245, 243, .10);
  --borde-fuerte: rgba(242, 245, 243, .22);
  --brillo: inset 0 1px 0 rgba(242, 245, 243, .07);
  --titulo: "Montserrat", "Fira Sans", system-ui, sans-serif;
  --marca: "Bebas Neue", "Montserrat", "Arial Narrow", sans-serif; /* solo el nombre FULBITO */
  --texto: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radio-grande: 18px;
  --radio: 12px;
  --sombra: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --margen: clamp(16px, 4vw, 40px);
  --margen-izq: max(var(--margen), env(safe-area-inset-left, 0px));
  --margen-der: max(var(--margen), env(safe-area-inset-right, 0px));
  --candado: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='9.5' rx='2.5'/%3E%3Cpath d='M8.5 10.5V8a3.5 3.5 0 0 1 7 0v2.5'/%3E%3C/svg%3E");
  --resto-vertical: 200px; /* barra superior + selector de canales + márgenes (lo ajusta ajustarAlto) */
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--fondo);
  color: var(--cal);
  font: 400 1rem/1.5 var(--texto);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  /* Es una app, no un documento: el texto de la interfaz no se selecciona (los campos sí) */
  -webkit-user-select: none; user-select: none;
}
input { -webkit-user-select: text; user-select: text; }
img, svg { display: block; }
button, input { font: inherit; color: inherit; }
button { touch-action: manipulation; }
h1, h2 { font-family: var(--titulo); font-weight: 700; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--acento-claro); outline-offset: 3px; }
.sprite { position: absolute; overflow: hidden; }

/* ------------------------------------------------------------ estadio --- */
/* Escena fija detrás de todo. ".escena" es una caja 16:9 que cubre la ventana anclada arriba, así
   lo dibujado (SVG) y los efectos (divs en %) coinciden en cualquier pantalla. Solo se animan
   opacidad y transformaciones de capas enteras: no cuesta CPU mientras se mira un partido. */

.estadio { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #04070A; }
.escena {
  position: absolute; top: 0; left: 50%;
  width: max(100vw, 100vh * 16 / 9); height: max(100vh, 100vw * 9 / 16);
  transform: translateX(-50%);
}
.escena-svg, .destellos { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Flashes en la tribuna: tres tandas de puntos que se prenden a destiempo */
.destellos { opacity: 0; animation: flash 4.6s ease-in-out infinite; }
.destellos.d2 { animation-duration: 6.1s; animation-delay: -2.2s; }
.destellos.d3 { animation-duration: 7.9s; animation-delay: -5s; }
@keyframes flash { 0%, 55%, 100% { opacity: 0; } 62% { opacity: .95; } 70% { opacity: .15; } 78% { opacity: .8; } }

/* Carteles LED al borde de la cancha, corriendo despacio */
.vallas { position: absolute; left: 0; right: 0; top: 41.3%; height: 2%; overflow: hidden; opacity: .75; }
.vallas::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 200%;
  background: repeating-linear-gradient(90deg,
    rgba(34, 226, 122, .85) 0 3.6%, #040706 3.6% 4%,
    rgba(242, 245, 243, .55) 4% 5.6%, #040706 5.6% 6%,
    rgba(38, 150, 88, .7) 6% 9.6%, #040706 9.6% 10%,
    rgba(111, 240, 168, .5) 10% 12.1%, #040706 12.1% 12.5%);
  animation: vallas 60s linear infinite;
}
@keyframes vallas { to { transform: translateX(-50%); } }

/* Haces de los reflectores: bajan desde el techo y se mecen apenas */
.haz {
  position: absolute; width: 34%; height: 78%; margin-left: -17%;
  background: linear-gradient(180deg, rgba(255, 248, 230, .30), rgba(255, 248, 230, .07) 55%, rgba(255, 248, 230, 0) 92%);
  clip-path: polygon(49% 0, 51% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0; mix-blend-mode: screen; filter: blur(5px);
  animation: haz 11s ease-in-out infinite alternate;
}
.haz-1 { left: 14%; top: 17.4%; --giro: -24deg; }
.haz-2 { left: 32%; top: 19.8%; --giro: -9deg; animation-delay: -4s; animation-duration: 14s; }
.haz-3 { left: 68%; top: 19.8%; --giro: 9deg; animation-delay: -7s; animation-duration: 13s; }
.haz-4 { left: 86%; top: 17.4%; --giro: 24deg; animation-delay: -2s; }
@keyframes haz {
  from { transform: rotate(calc(var(--giro) - 4deg)); opacity: .55; }
  to   { transform: rotate(calc(var(--giro) + 4deg)); opacity: 1; }
}

.luz {
  position: absolute; width: 90vmax; height: 90vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 248, 230, .13), rgba(240, 248, 230, 0));
  mix-blend-mode: screen;
  animation: barrido 26s ease-in-out infinite alternate;
}
.luz-a { left: -25vmax; top: -10vmax; }
.luz-b { right: -25vmax; top: -5vmax; animation-delay: -13s; animation-direction: alternate-reverse; }
@keyframes barrido {
  from { transform: translate(0, 0) scale(1); opacity: .7; }
  to   { transform: translate(22vmax, 18vmax) scale(1.15); opacity: 1; }
}
/* Velo para que el contenido se lea: más cerrado abajo y en los costados */
.sombra {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 30%, rgba(4, 7, 10, 0) 30%, rgba(4, 7, 10, .55) 100%),
    linear-gradient(180deg, rgba(4, 7, 10, .30) 0%, rgba(4, 7, 10, .38) 40%, rgba(4, 7, 10, .72) 72%, rgba(4, 7, 10, .95) 100%);
}
/* Con el reproductor abierto el fondo queda quieto y más apagado */
body.mirando .estadio * { animation-play-state: paused; }
body.mirando .sombra { background: rgba(4, 7, 10, .78); }

/* ------------------------------------------------------------ marca --- */

.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--cal); text-decoration: none; }
.marca-iso { width: 26px; height: 26px; flex: none; }
.marca-sigla { font: 400 1.875rem/1 var(--marca); letter-spacing: .06em; text-transform: uppercase; padding-top: .08em; }

/* ------------------------------------------------------------ barra --- */

.barra {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px;
  padding: max(8px, env(safe-area-inset-top, 0px)) var(--margen-der) 8px var(--margen-izq);
  background: rgba(5, 7, 6, .78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--borde);
}
/* Una línea de cal con el centro encendido, como la mitad de la cancha */
.barra::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 20%, rgba(34, 226, 122, .7) 50%, transparent 80%);
}
body.cargando .barra, body.en-login .barra { display: none; }

/* Cuenta: el texto por un lado y el botón de salir aparte (no es una sola cápsula) */
.cuenta { display: flex; align-items: center; gap: 18px; min-width: 0; }
.cuenta-datos { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tribuna); font-size: .9375rem; }
.cuenta-nombre { color: var(--cal); font-weight: 600; }
.cuenta-salir {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none;
  min-width: 38px; min-height: 38px; padding: 0 16px 0 13px; cursor: pointer;
  border: 1px solid var(--borde-fuerte); border-radius: 999px;
  background: transparent;
  color: var(--cal); font-size: .875rem; font-weight: 600; letter-spacing: .01em;
  transition: background .18s, color .18s, border-color .18s;
}
.cuenta-salir:hover { background: var(--acento); border-color: var(--acento); color: var(--tinta); }
.cuenta-salir svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.cuenta-salir:hover svg { transform: translateX(2px); }

main {
  display: flex; flex-direction: column;
  flex: 1; width: 100%; max-width: calc(1200px + var(--margen-izq) + var(--margen-der)); margin: 0 auto;
  padding: 0 var(--margen-der) 0 var(--margen-izq);
}
body.cargando main, body.en-login main { display: grid; align-items: center; }

/* ------------------------------------------------------------ botones --- */

.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; cursor: pointer;
  border: 0; border-radius: 999px;
  background: linear-gradient(180deg, #5CF0A0 0%, #22E27A 48%, #0E9A50 100%);
  color: var(--tinta); font-weight: 700; letter-spacing: .02em;
  box-shadow:
    0 14px 30px -12px rgba(34, 226, 122, .95),
    inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 40, 18, .4);
  transition: transform .12s, filter .12s;
}
.boton:hover { filter: brightness(1.09) saturate(1.05); }
.boton:active { transform: scale(.98); }
.boton:disabled { opacity: .7; cursor: default; }
.boton .giro { display: none; border-color: rgba(3, 20, 10, .3); border-top-color: var(--tinta); }
.boton-flecha {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s ease;
}
.boton:hover .boton-flecha { transform: translateX(4px); }
.boton[aria-busy="true"] .boton-flecha { display: none; }
.boton[aria-busy="true"] .giro { display: block; }

.icono svg, .campo-boton svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icono {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; cursor: pointer;
  border: 0; border-radius: 50%; background: rgba(242, 245, 243, .07);
  transition: background .12s;
}
.icono:hover { background: rgba(242, 245, 243, .16); }

.giro {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(242, 245, 243, .22); border-top-color: var(--cal);
  animation: giro .8s linear infinite;
}
@keyframes giro { to { transform: rotate(360deg); } }

.arranque { display: none; justify-content: center; padding: 80px 0; }
.arranque .giro { width: 36px; height: 36px; border-width: 3px; border-top-color: var(--acento); }
body.cargando .arranque { display: flex; }

/* ------------------------------------------------------------ login --- */

.login {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: center; gap: clamp(32px, 7vw, 104px);
  padding: clamp(32px, 7vh, 80px) 0;
}
.login-hero { display: grid; justify-items: start; gap: 22px; }
/* El logo va arriba de todo, sobre el cielo: no se cruza con las tribunas ni con la cancha */
body.en-login main { position: relative; }
.marca-grande { position: absolute; top: clamp(18px, 4.2vh, 40px); left: var(--margen-izq); gap: 14px; }
.login { padding-top: clamp(96px, 15vh, 150px); }
.marca-grande .marca-iso { width: 42px; height: 42px; }
.marca-grande .marca-sigla { font-size: 3rem; }
.login-hero h1 { font-size: clamp(2.25rem, 5.4vw, 4.25rem); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 4px 30px rgba(0, 0, 0, .65); }
.login-hero h1 em { font-style: normal; color: var(--acento); text-shadow: none; }
.login-bajada { max-width: 44ch; color: var(--cal-2); font-size: 1.0625rem; text-wrap: balance; text-shadow: 0 1px 10px rgba(0, 0, 0, .8); }
@media (min-width: 1240px) { .login-bajada { max-width: none; white-space: nowrap; } }
.login-puntos { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.login-puntos li {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px;
  border: 1px solid var(--borde); border-radius: 999px;
  background: rgba(5, 7, 6, .55); box-shadow: var(--brillo);
  color: var(--cal-2); font-size: .9375rem; font-weight: 500; white-space: nowrap;
}
/* Ícono en una ficha redonda con el naranja de la marca */
.login-puntos svg {
  flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 50%;
  background: var(--acento-suave); color: var(--acento-claro);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.login-puntos circle { fill: currentColor; stroke: none; }

.panel {
  position: relative; display: grid; gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  /* borde en degradé: naranja arriba a la izquierda, se apaga hacia abajo */
  background:
    linear-gradient(165deg, rgba(18, 22, 20, .84), rgba(4, 6, 5, .92)) padding-box,
    linear-gradient(150deg, rgba(111, 240, 168, .75), rgba(242, 245, 243, .12) 34%, rgba(242, 245, 243, .05) 62%, rgba(34, 226, 122, .40)) border-box;
  border: 1px solid transparent;
  border-radius: 22px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 90px -40px rgba(34, 226, 122, .45), inset 0 1px 0 rgba(242, 245, 243, .08);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}
/* línea de luz en el borde de arriba */
.panel::before {
  content: ""; position: absolute; top: -1px; left: 22%; right: 22%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--acento-claro), transparent);
  box-shadow: 0 0 18px 1px rgba(34, 226, 122, .7);
}
.panel-cabeza { display: flex; align-items: center; gap: 14px; margin-bottom: 2px; }
.panel-icono {
  flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(111, 240, 168, .30), rgba(34, 226, 122, .08));
  box-shadow: inset 0 0 0 1px rgba(111, 240, 168, .35), 0 8px 20px -10px rgba(34, 226, 122, .7);
  color: var(--acento-claro);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.panel h2 { font-size: 1.375rem; }
.panel .boton { margin-top: 6px; min-height: 54px; font-size: 1.0625rem; letter-spacing: .01em; }

.campo { display: grid; gap: 8px; }
label { color: var(--tribuna); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
input:not([type="range"]) {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 14px;
  background: rgba(0, 0, 0, .45); border: 1px solid rgba(242, 245, 243, .16);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45);
  font-size: 1rem; /* 16px: iOS no hace zoom al enfocar */
  transition: border-color .12s, box-shadow .12s, background .12s;
}
/* Campo con ícono a la izquierda */
.campo-entrada { position: relative; }
.campo-entrada > svg {
  position: absolute; left: 15px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px; pointer-events: none;
  color: var(--tribuna-2); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: color .12s;
}
.campo-entrada input { padding-left: 46px; }
.campo-entrada:focus-within > svg { color: var(--acento-claro); }
input:not([type="range"]):hover { border-color: rgba(242, 245, 243, .34); }
input:not([type="range"]):focus { outline: none; border-color: var(--acento); background: rgba(0, 0, 0, .6); box-shadow: 0 0 0 4px var(--acento-suave), inset 0 2px 6px rgba(0, 0, 0, .45); }
input:-webkit-autofill, input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--cal); caret-color: var(--cal);
  box-shadow: 0 0 0 1000px #0B120E inset;
}
input:-webkit-autofill:focus { box-shadow: 0 0 0 1000px #0B120E inset, 0 0 0 4px var(--acento-suave); }
.campo-clave input { padding-right: 54px; }
.campo-boton {
  position: absolute; top: 3px; right: 3px; bottom: 3px; width: 46px; padding: 0; cursor: pointer;
  display: grid; place-items: center;
  border: 0; border-radius: 11px; background: transparent; color: var(--tribuna);
}
.campo-boton:hover { color: var(--cal); background: rgba(242, 245, 243, .07); }
.campo-boton .tachado { display: none; }
.campo-boton[aria-pressed="true"] .tachado { display: inline; }
.campo-aviso { color: var(--ambar); font-size: .8125rem; }

.mensaje {
  padding: 10px 14px; border-radius: var(--radio);
  background: rgba(255, 92, 92, .12); border: 1px solid rgba(255, 92, 92, .40);
  color: #FFC4C4; font-size: .9375rem;
}
.mensaje:empty { display: none; }

/* ------------------------------------------------------------ app --- */

.app { display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 6vh, 64px) 0 56px; }
/* En el inicio el bloque queda centrado en la ventana, apenas hacia arriba */
body:not(.mirando) .app { flex: 1; justify-content: center; padding-bottom: clamp(48px, 12vh, 128px); }
.intro-saludo {
  margin-bottom: 10px; color: var(--acento-claro);
  font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.intro h1 { font-size: clamp(1.875rem, 4.4vw, 3rem); line-height: 1.05; letter-spacing: -.03em; }
.intro-nota { margin-top: 10px; max-width: 60ch; color: var(--tribuna); font-size: 1.0625rem; }

.reproductor { order: 1; }
.aviso { order: 2; }
.canales { order: 3; }
.consejo { order: 4; display: none; color: var(--tribuna-2); font-size: .8125rem; text-align: center; text-wrap: balance; }

.aviso {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; border-radius: var(--radio);
  background: rgba(232, 195, 106, .10); border: 1px solid rgba(232, 195, 106, .30);
  color: #F3E0AE; font-size: .9375rem;
}
.aviso::before {
  content: "i"; flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px;
  border-radius: 50%; background: var(--ambar); color: #2A2008; font: 700 .75rem/1 var(--titulo);
}
.aviso:empty { display: none; }

/* Mientras se mira: el reproductor sube y los canales quedan como selector compacto */
body.mirando .intro { display: none; }
body.mirando main { max-width: 1600px; }
body.mirando .app { gap: 14px; padding: 14px 0 16px; }
body.mirando .pie { display: none; } /* mientras se mira, la ventana es toda para el video */
/* Mientras se mira, todo entra en la ventana sin scroll: el ancho del reproductor sale
   del alto disponible (alto de ventana menos barra, cabecera del reproductor y selector). */
body.mirando .reproductor,
body.mirando .aviso,
body.mirando .canales {
  width: min(100%, max(320px, calc((100dvh - var(--resto-vertical)) * 16 / 9)));
  margin-inline: auto;
}

/* ------------------------------------------------------------ canales --- */

.canales { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }

.canal {
  --alto-logo: clamp(150px, 20vw, 210px);
  position: relative;
  display: grid;
  grid-template: "logo logo" var(--alto-logo) "pie play" auto / minmax(0, 1fr) auto;
  align-items: center;
  padding: 0; overflow: hidden; cursor: pointer; text-align: left;
  background: var(--panel);
  border: 1px solid var(--borde);
  border-radius: var(--radio-grande);
  box-shadow: var(--sombra), var(--brillo);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (hover: hover) {
  .canal:hover:not([aria-disabled="true"]) {
    transform: translateY(-4px);
    border-color: rgba(34, 226, 122, .6);
    box-shadow: var(--sombra), 0 0 0 4px var(--acento-suave);
  }
  .canal:hover:not([aria-disabled="true"]) .canal-play { transform: scale(1.08); }
}
.canal:active:not([aria-disabled="true"]) { transform: scale(.99); }
.canal[aria-disabled="true"] { cursor: not-allowed; }
.canal[aria-disabled="true"] .canal-logo img,
.canal[aria-disabled="true"] .canal-marca { opacity: .55; }
.canal.activo { border-color: var(--acento); box-shadow: var(--sombra), 0 0 0 4px var(--acento-suave); }

/* Zona del logo: blanca arriba y al centro, se va a gris hacia los bordes y la base
   (los logos oficiales tienen partes oscuras y necesitan fondo claro). */
.canal-logo {
  grid-area: logo; align-self: stretch;
  display: grid; place-items: center; padding: 26px 32px; min-height: 0;
  background:
    linear-gradient(180deg, rgba(20, 26, 23, 0) 55%, rgba(20, 26, 23, .30) 100%),
    radial-gradient(115% 100% at 50% 0%, #FFFFFF 0%, #F3F3F0 32%, #D3D5D1 68%, #A4A9A5 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 50px rgba(20, 26, 23, .12);
}
.canal-logo img {
  width: 100%; max-width: min(280px, 74%); height: 100%; min-height: 0; object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(20, 26, 23, .22));
  transition: transform .25s ease;
}
.canal[aria-disabled="true"] .canal-logo { filter: grayscale(1) brightness(.62); }
.canal-marca { display: grid; justify-items: center; gap: 2px; color: var(--noche); }
.canal-marca strong { font-family: var(--titulo); font-size: clamp(1.5rem, 4vw, 2.75rem); line-height: 1; }
.canal-marca span { color: #4B5650; }

.canal-pie { grid-area: pie; display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 16px 12px 17px 20px; }
.canal-accion {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--titulo); font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em;
}
.estado { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--tribuna); font-size: .875rem; }
.estado::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.estado > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.estado.disponible { color: var(--verde); }
.estado.en_vivo, .estado.mirando { color: var(--acento-claro); }
.estado.en_vivo::before, .estado.mirando::before { animation: latido 1.6s ease-in-out infinite; }
.estado.ocupado, .estado.liberando { color: var(--ambar); }

.canal-play {
  grid-area: play; position: relative; width: 48px; height: 48px; margin-right: 18px; border-radius: 50%;
  background: var(--acento);
  box-shadow: 0 10px 22px -10px rgba(34, 226, 122, .9);
  transition: transform .18s ease;
}
.canal-play::after {
  content: ""; position: absolute; left: 19px; top: 15px;
  border-style: solid; border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent var(--tinta);
}
/* Canal ocupado: candado en lugar del "play" */
.canal[aria-disabled="true"] .canal-play { background: rgba(242, 245, 243, .06); box-shadow: inset 0 0 0 1px var(--borde-fuerte); }
.canal[aria-disabled="true"] .canal-play::after {
  inset: 0; border: 0; background: var(--tribuna-2);
  -webkit-mask: var(--candado) center / 46% no-repeat; mask: var(--candado) center / 46% no-repeat;
}

/* Canal que se está mirando: ecualizador en lugar del "play" */
.canal-eq { grid-area: play; display: flex; align-items: flex-end; gap: 3px; height: 20px; margin-right: 26px; }
.canal-eq i { width: 4px; height: 100%; border-radius: 2px; background: var(--acento); transform-origin: bottom; animation: eq 1.1s ease-in-out infinite; }
.canal-eq i:nth-child(2) { animation-delay: -.45s; }
.canal-eq i:nth-child(3) { animation-delay: -.8s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* Selector compacto mientras se mira: logo a la izquierda, texto a la derecha */
body.mirando .canales { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.mirando .canal {
  --alto-logo: 72px;
  grid-template: "logo pie play" var(--alto-logo) / clamp(96px, 30%, 160px) minmax(0, 1fr) auto;
  border-radius: 16px;
  background: linear-gradient(90deg, #060807 0%, #101412 100%);
  box-shadow: inset 0 1px 0 rgba(242, 245, 243, .06), 0 14px 30px -20px rgba(0, 0, 0, .9);
}
body.mirando .canal.activo {
  border-color: transparent;
  background:
    linear-gradient(90deg, #040806 30%, #06301A 100%) padding-box,
    linear-gradient(90deg, rgba(34, 226, 122, .45), var(--acento)) border-box;
  box-shadow: 0 0 0 3px var(--acento-suave), 0 16px 36px -18px rgba(34, 226, 122, .7);
}
body.mirando .canal:hover:not([aria-disabled="true"]) { transform: none; }
body.mirando .canal-logo { margin: 6px; padding: 9px 12px; border-radius: 11px; }
body.mirando .canal-logo img { max-width: 100%; filter: none; }
body.mirando .canal-pie { gap: 6px; padding: 0 8px 0 12px; }
body.mirando .canal-accion { font-size: 1rem; }
/* estado como etiqueta */
body.mirando .estado {
  align-self: start; max-width: 100%; padding: 2px 10px 2px 8px; border-radius: 999px;
  background: rgba(242, 245, 243, .07); font-size: .75rem; font-weight: 600; letter-spacing: .02em;
}
body.mirando .estado::before { width: 6px; height: 6px; }
body.mirando .estado.mirando, body.mirando .estado.en_vivo { background: rgba(34, 226, 122, .16); }
body.mirando .estado.disponible { background: rgba(127, 214, 155, .12); }
body.mirando .estado.ocupado, body.mirando .estado.liberando { background: rgba(232, 195, 106, .12); }
body.mirando .canal-play { width: 36px; height: 36px; margin-right: 14px; box-shadow: none; }
body.mirando .canal-play::after { left: 14px; top: 11px; border-width: 7px 0 7px 11px; }
body.mirando .canal-eq { margin-right: 20px; }
body.mirando .estado-detalle { display: none; } /* el detalle se explica al tocar el canal */

/* ------------------------------------------------------------ reproductor --- */

/* Todo el reproductor es el video: el título va arriba y los controles abajo, encima de la imagen.
   Aparecen al mover el mouse o tocar, y se esconden solos mientras se reproduce. */
.reproductor {
  container-type: inline-size;
  scroll-margin-top: 8px;
  background: #000;
  border: 1px solid var(--borde);
  border-radius: var(--radio-grande);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 140px -50px rgba(34, 226, 122, .35);
  overflow: hidden;
  animation: abrir .3s ease-out;
}
@keyframes abrir { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }

.video-marco { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; color: #fff; }
/* fill: el marco es 16:9; así la "alta" anamórfica de ESPN (1280x1080) se ve en su aspecto real
   aunque el navegador ignore el SAR del H.264. */
video { width: 100%; height: 100%; display: block; background: #000; object-fit: fill; cursor: pointer; }

.rep-arriba, .rep-controles {
  position: absolute; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; gap: 4px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.rep-arriba {
  top: 0; gap: 10px; padding: 10px 10px 40px 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}
.rep-controles {
  bottom: 0; gap: 10px; padding: 56px 14px 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, 0));
}
/* Los controles van agrupados en cápsulas de vidrio; el de pausa es el principal */
.rep-grupo {
  display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px;
  background: rgba(14, 18, 16, .58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 10px 26px -12px rgba(0, 0, 0, .9);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
}
.video-marco .rep-grupo .icono { width: 38px; height: 38px; }
.video-marco .rep-grupo .icono svg { width: 20px; height: 20px; }
.video-marco #pausa {
  width: 46px; height: 46px; color: var(--tinta);
  background: linear-gradient(180deg, #5CF0A0, #13B862);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 24px -8px rgba(34, 226, 122, .95);
  transition: transform .12s, filter .12s;
}
.video-marco #pausa:hover { filter: brightness(1.1); transform: scale(1.05); }
.video-marco #pausa:active { transform: scale(.96); }
.video-marco.activo :is(.rep-arriba, .rep-controles),
.video-marco:has(:focus-visible) :is(.rep-arriba, .rep-controles) { opacity: 1; }
.video-marco.activo :is(.rep-arriba, .rep-controles) > :not(.espaciador),
.video-marco:has(:focus-visible) :is(.rep-arriba, .rep-controles) > :not(.espaciador) { pointer-events: auto; }
.video-marco.casteando .solo-local { display: none; }

.rep-canal { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.0625rem; }
.rep-nota { color: rgba(255, 255, 255, .85); font-size: .8125rem; white-space: nowrap; }
.rep-nota:empty { display: none; }
.vivo {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  padding: 4px 11px; border-radius: 999px;
  background: linear-gradient(180deg, #5CF0A0, #13B862); color: var(--tinta);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 16px -6px rgba(34, 226, 122, .9);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.vivo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tinta); animation: latido 1.6s ease-in-out infinite; }
@keyframes latido { 50% { opacity: .2; } }
.espaciador { flex: 1; }

.video-marco .icono { width: 42px; height: 42px; background: transparent; }
.video-marco .icono:hover { background: rgba(255, 255, 255, .18); }
.video-marco .icono svg { width: 22px; height: 22px; }
.video-marco #detener {
  background: rgba(14, 18, 16, .58); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.video-marco #detener:hover { background: rgba(255, 255, 255, .22); }
.icono svg.relleno { fill: currentColor; stroke: none; }
.icono .ico-on, .icono.on .ico-off { display: none; }
.icono.on .ico-on { display: block; }

/* Deslizador propio: pista fina con la parte activa en blanco (--vol lo pone pintarVolumen) */
.volumen {
  -webkit-appearance: none; appearance: none;
  width: 84px; height: 20px; margin: 0 14px 0 4px; padding: 0; cursor: pointer; background: transparent;
}
.volumen::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, #fff var(--vol, 100%), rgba(255, 255, 255, .28) var(--vol, 100%));
}
.volumen::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 5px rgba(0, 0, 0, .7); transition: transform .12s;
}
.volumen:hover::-webkit-slider-thumb { transform: scale(1.25); }
.volumen::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .28); }
.volumen::-moz-range-progress { height: 4px; border-radius: 4px; background: #fff; }
.volumen::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }

.cast.sin-dispositivos { opacity: .5; }
.cast.conectando svg { animation: latido 1.2s ease-in-out infinite; }
.video-marco .cast.conectado, .video-marco .cast.conectado:hover { background: linear-gradient(180deg, #5CF0A0, #13B862); color: var(--tinta); }

.control-texto {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 38px; padding: 0 14px 0 12px; cursor: pointer;
  border: 0; border-radius: 999px;
  background: transparent; color: #fff;
  font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap;
  transition: background .15s;
}
.control-texto:hover, .control-texto[aria-expanded="true"] { background: rgba(255, 255, 255, .2); }
.control-texto svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.calidad-menu { position: relative; display: flex; }
.calidad {
  position: absolute; right: -3px; bottom: calc(100% + 12px);
  display: inline-flex; padding: 4px; gap: 2px;
  background: rgba(10, 16, 12, .95); border: 1px solid var(--borde-fuerte); border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .85);
}
.calidad button {
  min-height: 36px; padding: 5px 15px; cursor: pointer;
  border: 0; border-radius: 999px;
  background: transparent; color: var(--tribuna); font-size: .875rem; font-weight: 500;
  transition: background .15s, color .15s;
}
.calidad button:hover { color: var(--cal); }
.calidad button[aria-checked="true"] { background: linear-gradient(180deg, #5CF0A0, #13B862); color: var(--tinta); }

.mosca {
  /* abajo a la derecha; sube cuando aparecen los controles */
  position: absolute; bottom: 4%; right: 3%;
  display: flex; align-items: center; gap: .28em;
  color: #fff; font: 400 clamp(16px, 2.8cqw, 30px)/1 var(--marca); letter-spacing: .06em; text-transform: uppercase;
  opacity: .8; pointer-events: none;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .75));
  transition: transform .2s ease;
}
.mosca svg { width: 1.45em; height: 1.45em; }
.video-marco.activo .mosca, .video-marco:has(:focus-visible) .mosca { transform: translateY(-66px); }

.cartel {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 56px 24px; text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, .5), rgba(0, 0, 0, .84));
  color: var(--cal); font-size: 1.0625rem; pointer-events: none;
}
.cartel p { max-width: 46ch; text-wrap: balance; }
.cartel .giro { width: 34px; height: 34px; border-width: 3px; border-top-color: var(--acento); }
.cartel .boton { pointer-events: auto; min-height: 44px; }

.video-marco:fullscreen { display: grid; place-items: center; aspect-ratio: auto; width: 100vw; height: 100vh; }
.video-marco:fullscreen video { width: min(100vw, calc(100vh * 16 / 9)); height: auto; aspect-ratio: 16 / 9; }
.video-marco:fullscreen .mosca { font-size: clamp(18px, 2.2vw, 40px); }
.video-marco:fullscreen :is(.rep-arriba, .rep-controles) { padding-inline: max(16px, 2vw); }
.video-marco:fullscreen:not(.activo), .video-marco:fullscreen:not(.activo) video { cursor: none; }

/* Reproductor angosto (celular parado): controles más juntos y sin deslizador de volumen */
@container (max-width: 520px) {
  .rep-arriba { gap: 8px; padding: 6px 6px 28px 12px; }
  .rep-controles { padding: 30px 6px 6px; gap: 6px; }
  .rep-grupo { padding: 2px; }
  .video-marco .rep-grupo .icono { width: 36px; height: 36px; }
  .video-marco #pausa { width: 40px; height: 40px; }
  .rep-canal { font-size: .9375rem; }
  .volumen, .control-texto svg { display: none; }
  .control-texto { padding-inline: 12px; }
  .calidad button { padding-inline: 13px; }
  .video-marco.activo .mosca, .video-marco:has(:focus-visible) .mosca { transform: translateY(-52px); }
  .cartel { gap: 8px; padding: 44px 12px; font-size: .875rem; line-height: 1.3; }
  .cartel .boton { min-height: 36px; padding: 6px 18px; }
  .cartel .giro { width: 26px; height: 26px; }
}
@media (hover: none) { .volumen { display: none; } }

/* ------------------------------------------------------------ pie --- */

.pie {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 28px;
  padding: 18px var(--margen-der) max(18px, env(safe-area-inset-bottom, 0px)) var(--margen-izq);
  background: linear-gradient(180deg, rgba(5, 7, 6, .5), rgba(5, 7, 6, .94));
  color: var(--tribuna-2); font-size: .8125rem;
}
/* La misma línea de cal del header, en espejo */
.pie::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--borde-fuerte) 18%, var(--borde-fuerte) 82%, transparent);
}
.pie-marca {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--cal-2); font: 400 1.25rem/1 var(--marca); letter-spacing: .06em; text-transform: uppercase;
}
.pie-marca svg { width: 24px; height: 24px; }
.pie-legal { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .02em; }
.pie-legal svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ pantallas chicas --- */

@media (max-width: 860px) {
  body.en-login main { align-items: start; }
  .marca-grande { position: static; margin-bottom: clamp(20px, 7vh, 64px); }
  .login { grid-template-columns: minmax(0, 1fr); gap: 28px; width: 100%; max-width: 520px; margin-inline: auto; padding: 22px 0 40px; }
  .login-hero { gap: 16px; }
  .marca-grande .marca-iso { width: 34px; height: 34px; }
  .marca-grande .marca-sigla { font-size: 2.375rem; }
  .login-hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .login-bajada { font-size: 1.0625rem; }
}

@media (max-width: 720px) {
  .barra { min-height: 56px; }
  .canal { --alto-logo: clamp(120px, 34vw, 170px); }
  .pie { flex-direction: column; justify-content: center; gap: 10px; padding-block: 20px; text-align: center; }
  /* Sin lugar para todo en una pantalla: el reproductor usa el ancho completo */
  body.mirando .reproductor, body.mirando .aviso, body.mirando .canales { width: 100%; }
  body.mirando .app { padding-top: 12px; }
}

@media (max-width: 600px) {
  .cuenta { gap: 10px; }
  .cuenta-rotulo, .cuenta-salir span { display: none; }
  .cuenta-salir { width: 40px; min-height: 40px; padding: 0; }
  .estado-detalle { display: none; }
  /* En el celular lo primero es el formulario */
  .login-puntos { display: none; }
  .login { gap: 22px; padding: 18px 0 32px; }
  /* Selector de canal: una fila por canal, con el logo a la izquierda */
  body.mirando .canales { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body.mirando .canal { --alto-logo: 68px; grid-template: "logo pie play" var(--alto-logo) / 128px minmax(0, 1fr) auto; }
  body.mirando .consejo { display: block; padding: 4px 12px 0; }
}

@media (max-width: 380px) {
  .panel { padding: 20px 18px; }
}

/* Celular acostado: el video ocupa todo el alto y el resto queda debajo, con scroll */
@media (max-height: 520px) and (orientation: landscape) {
  .barra { position: static; }
  body.mirando .reproductor, body.mirando .aviso, body.mirando .canales {
    width: min(100%, calc((100dvh - 16px) * 16 / 9));
  }
  body.mirando .canal { --alto-logo: 64px; grid-template: "logo pie play" var(--alto-logo) / clamp(88px, 32%, 150px) minmax(0, 1fr) auto; }
  body.mirando .canal-play { display: block; }
  body.mirando .canal-eq { display: flex; }
  body.mirando .canal-pie { padding: 0 8px 0 14px; }
  .login { padding: 20px 0 24px; }
}

/* ------------------------------------------------------------ efectos --- */

/* Entrada escalonada de cada vista */
@keyframes subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.login-hero > *, .panel, .intro > *, .canales, .aviso { animation: subir .6s cubic-bezier(.2, .7, .2, 1) both; }
.login-hero > :nth-child(2), .intro > :nth-child(2) { animation-delay: .07s; }
.login-hero > :nth-child(3), .intro > :nth-child(3) { animation-delay: .14s; }
.login-hero > :nth-child(4), .canales { animation-delay: .21s; }
.panel { animation-delay: .18s; }
.aviso { animation-duration: .3s; animation-delay: 0s; }

/* "en vivo." con un destello que va y vuelve */
.login-hero h1 em {
  background: linear-gradient(100deg, var(--acento) 10%, #C8FFE0 45%, var(--acento) 80%) 0 0 / 240% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: destello 6s ease-in-out infinite;
}
@keyframes destello { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }

/* Marca: halo en el logo grande y un giro corto al pasar el mouse */
.marca-iso { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
a.marca:hover .marca-iso { transform: rotate(-10deg) scale(1.08); }
.marca-grande .marca-iso { filter: drop-shadow(0 0 14px rgba(255, 255, 255, .22)); }

/* La línea del header late despacio desde el centro */
.barra::after { animation: respiro 5s ease-in-out infinite; }
@keyframes respiro { 50% { opacity: .35; } }

/* Botón principal: un brillo interno lo cruza cada pocos segundos */
.boton { position: relative; overflow: hidden; isolation: isolate; }
.boton > * { position: relative; z-index: 1; }
.boton::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .42) 50%, transparent);
  transform: translateX(-130%) skewX(-18deg);
  animation: brillo 3.4s ease-in-out infinite;
}
@keyframes brillo { 0%, 12% { transform: translateX(-130%) skewX(-18deg); } 55%, 100% { transform: translateX(360%) skewX(-18deg); } }
.boton:disabled::after { animation: none; }

/* Formulario: se enciende cuando hay un campo activo */
.panel { transition: box-shadow .3s; }
.panel:focus-within { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 110px -30px rgba(34, 226, 122, .65), inset 0 1px 0 rgba(242, 245, 243, .08); }
.login-puntos li { transition: transform .2s ease, border-color .2s ease; }
.login-puntos li:hover { transform: translateY(-2px); border-color: rgba(34, 226, 122, .45); }

/* Canales: foco de luz que sigue al mouse, la placa del logo se levanta y el "play" emite ondas */
.canal::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .10), transparent 70%);
}
@media (hover: hover) {
  .canal:hover:not([aria-disabled="true"])::after { opacity: 1; }
  .canal:hover:not([aria-disabled="true"]) .canal-logo img { transform: translateY(-3px) scale(1.04); }
}
.canal:not([aria-disabled="true"]) .canal-play::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--acento); animation: onda 2.6s ease-out infinite;
}
@keyframes onda { from { transform: scale(1); opacity: .7; } 70%, to { transform: scale(1.5); opacity: 0; } }

.cartel { animation: aparecer .25s ease-out; }
@keyframes aparecer { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .giro { animation-duration: 2s !important; animation-iteration-count: infinite !important; }
}
