/* ==========================================================================
   WebPlayer · estilos
   ========================================================================== */

:root {
    --bg:       #0b0f16;
    --bg-2:     #111725;
    --bg-3:     #18202f;
    --line:     #232c3d;
    --text:     #e8edf5;
    --muted:    #8b98ad;
    --accent:   #3b82f6;
    --accent-2: #60a5fa;
    --ok:       #22c55e;
    --warn:     #f59e0b;
    --danger:   #ef4444;
    --radius:   14px;
    --shadow:   0 18px 40px rgba(0, 0, 0, .45);

    /* Espacio libre debajo del reproductor.
       Este es EL número para regular el tamaño del video: subirlo lo achica,
       bajarlo lo agranda. En 0 ocupa toda la ventana. */
    --player-gap: 80px;
}

* { box-sizing: border-box; }

/**
 * El atributo hidden tiene que ganar SIEMPRE.
 *
 * El navegador lo aplica con una regla `[hidden] { display: none }` de baja
 * prioridad, que cualquier clase con `display` pisa sin querer. Acá pasaba
 * justo eso: `.sheet-wrap { display: flex }` dejaba los paneles de Ajustes y
 * Guía visibles de forma permanente, y `.player-overlay { display: grid }`
 * impedía que se fuera el cartel del reproductor. El JavaScript marcaba los
 * elementos como ocultos y no pasaba nada.
 */
[hidden] { display: none !important; }

/**
 * Marco de foco.
 *
 * El que dibuja el navegador al hacer clic es un rectángulo blanco duro que
 * corta la estética. Se reemplaza por un halo suave del color de acento.
 *
 * Se usa :focus-visible y no :focus a propósito: así el halo aparece cuando se
 * navega con el teclado, que es cuando hace falta para saber dónde se está, y
 * no cuando se hace clic con el mouse, donde sólo estorba. Quitarlo del todo
 * dejaría la interfaz inutilizable sin mouse.
 */
:focus { outline: none; }

:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, .55);
    border-radius: 8px;
}

/* El video nunca necesita marco: se hace clic sobre él para pausar. */
video:focus,
video:focus-visible { outline: none; box-shadow: none; }

/**
 * Barras de desplazamiento, en toda la aplicación.
 *
 * Las del navegador son claras y de bordes rectos: sobre un fondo oscuro
 * cantan. Acá el riel desaparece y queda sólo el pulgar, como una pastilla
 * translúcida que se aclara al pasar el mouse.
 *
 * El borde transparente con background-clip es el truco para darle aire a los
 * costados sin recurrir a márgenes, que en las barras no funcionan.
 */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .18) transparent;
}

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner { background: transparent; }

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .16);
    border: 3px solid transparent;
    background-clip: padding-box;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, .32);
    background-clip: padding-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

input, button, select { font: inherit; color: inherit; }
a { color: var(--accent-2); text-decoration: none; }

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: #fff;
    box-shadow: 0 10px 24px rgba(59, 130, 246, .35);
}
.brand-mark.small { width: 32px; height: 32px; border-radius: 10px; box-shadow: none; }

.chip {
    background: var(--bg-3);
    border: 1px solid var(--line);
    color: var(--muted);
    border-radius: 10px;
    padding: 9px 13px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    transition: background .12s, color .12s, border-color .12s;
}
.chip:hover { color: var(--text); border-color: #33405a; }
.chip.active { background: rgba(59, 130, 246, .18); color: var(--accent-2); border-color: rgba(59, 130, 246, .45); }

.icon-btn {
    background: none;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    font-size: 20px;
    line-height: 1;
}
.icon-btn:hover { color: var(--text); background: var(--bg-3); }

.btn-primary {
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--accent), #6366f1);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform .12s, filter .15s;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:active { transform: translateY(1px); }

.badge { padding: 1px 8px; border-radius: 999px; font-size: 12px; }
.badge.ok   { background: rgba(34, 197, 94, .15);  color: #86efac; }
.badge.warn { background: rgba(245, 158, 11, .15); color: #fcd34d; }

/* ==========================================================================
   Login
   ========================================================================== */

.login-body {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.login-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(900px 500px at 15% -10%, rgba(59, 130, 246, .28), transparent 60%),
        radial-gradient(700px 500px at 90% 110%, rgba(168, 85, 247, .22), transparent 60%),
        var(--bg);
    z-index: -1;
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: rgba(17, 23, 37, .82);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 34px 30px 26px;
    box-shadow: var(--shadow);
}

.login-brand { text-align: center; margin-bottom: 24px; }
.login-brand h1 { margin: 12px 0 4px; font-size: 24px; letter-spacing: -.4px; }
.login-brand p { margin: 0; color: var(--muted); font-size: 14px; }

.login-form { display: grid; gap: 16px; }

.field { display: grid; gap: 7px; }
.field > span { font-size: 13px; color: var(--muted); }

.field input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: var(--bg);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
}

.pw-wrap { position: relative; }
.pw-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    color: var(--muted);
    font-size: 13px;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 8px;
}
.pw-toggle:hover { color: var(--text); background: var(--bg-3); }

.alert {
    background: rgba(239, 68, 68, .12);
    border: 1px solid rgba(239, 68, 68, .4);
    color: #fecaca;
    padding: 11px 13px;
    border-radius: 11px;
    font-size: 14px;
    margin-bottom: 16px;
}

.login-foot { margin: 20px 0 0; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.5; }

/* ==========================================================================
   Estructura del reproductor
   ========================================================================== */

/* Pantalla completa sin scroll: el video manda, como en los servicios de TV.
   El único que scrollea es la lista de canales.

   El margen de abajo no es decorativo: sin él, los controles del reproductor
   quedan pegados al borde inferior de la ventana, encima de la barra de tareas
   del sistema, y se vuelven incómodos de usar. */
.tv {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding-bottom: var(--player-gap);
    overflow: hidden;
}

.tv-top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 15, 22, .92);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 30;
}

.brand { display: flex; align-items: center; gap: 10px; font-size: 16px; }

.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.who { color: var(--muted); font-size: 13px; }

.tv-main {
    flex: 1;
    min-height: 0;
    display: grid;

    /* El ancho de la columna define el tamaño del video.
       Con una columna angosta al video le sobra ancho pero le falta altura, y
       queda limitado por lo alto con bandas negras a los costados. Dándole a la
       columna su parte, la caja 16:9 llena el espacio y las bandas desaparecen.
       El clamp evita que se coma la pantalla en monitores chicos. */
    grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 470px);
}

/* ------------------------------------------------------------- Escenario */

.stage {
    min-width: 0;
    position: relative;
    background: #000;
}

.player-shell {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
}

/* 'contain' respeta la proporción original del canal. Las señales de TV no
   siempre son 16:9 exactos, y recortar para llenar cortaría los zócalos. */
.player-shell video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    object-fit: contain;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 14px;
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, .74);
    color: var(--text);
    font-size: 15px;
    cursor: pointer;
}
.player-overlay p { margin: 0; }

.spinner {
    width: 34px; height: 34px;
    border: 3px solid rgba(255, 255, 255, .18);
    border-top-color: var(--accent-2);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Barra única de control

   Reemplaza a los controles nativos del navegador. Antes convivían dos capas
   —la información arriba y los controles del navegador abajo— y quedaban dos
   lugares distintos para hacer cosas. Acá está todo junto.
   ========================================================================== */

.stage-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 26px 16px 12px;
    background: linear-gradient(to top,
                rgba(0, 0, 0, .9), rgba(0, 0, 0, .55) 55%, transparent);
    transition: opacity .35s ease;
}

/* Sin actividad del mouse se desvanece y deja el video limpio. */
.stage.idle .stage-bar { opacity: 0; pointer-events: none; }

.bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.bar-row > img {
    width: 40px;
    height: 40px;
    padding: 2px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, .1);
    flex-shrink: 0;
}

/* Tres líneas, de más a menos importante:
   canal · lo que se está viendo · lo que sigue. */
.bar-text { min-width: 0; flex: 1; line-height: 1.35; }

.bar-text > * {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bar-text strong { font-size: 14.5px; font-weight: 700; }
.bar-text .bt-now  { font-size: 12.5px; color: var(--text); opacity: .88; }
.bar-text .bt-next { font-size: 11.5px; color: var(--muted); }

.bar-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* --- Botones de la barra --- */

.ctl {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 13px;
    flex-shrink: 0;
    transition: background .12s;
}
.ctl:hover { background: rgba(255, 255, 255, .22); }
.ctl.wide { width: auto; padding: 0 14px; }

/* Enviando al televisor. */
.ctl.on {
    background: rgba(59, 130, 246, .3);
    border-color: rgba(59, 130, 246, .6);
    color: var(--accent-2);
}

/* --- Volumen --- */

.vol { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.vol input[type="range"] {
    width: 84px;
    height: 4px;
    accent-color: var(--accent-2);
    cursor: pointer;
}

/* Selector de señal: HD · SD · Alternativa */

.src-picker { display: flex; gap: 5px; flex-wrap: nowrap; }

.src-btn {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    color: var(--muted);
    border-radius: 999px;
    padding: 3px 11px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .2px;
    transition: color .12s, border-color .12s, background .12s;
}
.src-btn:hover { color: var(--text); border-color: #33405a; }

.src-btn.on {
    background: rgba(59, 130, 246, .18);
    border-color: rgba(59, 130, 246, .5);
    color: var(--accent-2);
}

/* La señal externa no viene del panel: se distingue en ámbar. */
.src-btn.ext.on {
    background: rgba(245, 158, 11, .16);
    border-color: rgba(245, 158, 11, .45);
    color: #fcd34d;
}
/* --------------------------------------------------------- Barra de EPG */

.now-bar { margin: 0; }

.now-track {
    height: 4px;
    background: var(--bg-3);
    border-radius: 999px;
    overflow: hidden;
}
.now-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), #8b5cf6);
    border-radius: 999px;
    transition: width .6s linear;
}

.now-times {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 5px;
    font-size: 11.5px;
    color: var(--muted);
}

/* ---------------------------------------------------- Columna de canales */

.chan-col {
    background: var(--bg-2);
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.chan-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
}
.chan-count { color: var(--muted); font-weight: 400; font-size: 13px; }

.chan-list { flex: 1; min-height: 0; overflow-y: auto; }
.chan-msg { padding: 20px 16px; color: var(--muted); font-size: 14px; margin: 0; line-height: 1.5; }

.ch-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 14px;
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    text-align: left;
    cursor: pointer;
    transition: background .12s;
}
.ch-row:last-child { border-bottom: 0; }
.ch-row:hover { background: var(--bg-3); }
.ch-row.on { background: rgba(59, 130, 246, .14); }

.ch-logo {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--bg-3);
    overflow: hidden;
}
.ch-logo img { max-width: 94%; max-height: 94%; object-fit: contain; }
.ch-logo.ph { font-weight: 700; font-size: 23px; color: var(--muted); }

.ch-info { min-width: 0; flex: 1; }

.ch-name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-row.on .ch-name { color: var(--accent-2); }

.ch-now {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ch-track {
    height: 3px;
    margin-top: 6px;
    background: var(--bg-3);
    border-radius: 999px;
    overflow: hidden;
}
.ch-fill { height: 100%; width: 0; background: var(--accent); border-radius: 999px; }
.ch-row.on .ch-fill { background: var(--accent-2); }

/* ==========================================================================
   Hojas (ajustes y guía)
   ========================================================================== */

.sheet-wrap {
    position: fixed;
    inset: 0;
    z-index: 60;
    /* Velo suave: si fuera muy opaco, el vidrio esmerilado no tendría nada
       que difuminar y el efecto se perdería. */
    background: rgba(0, 0, 0, .38);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

/* Vidrio esmerilado: fondo translúcido + desenfoque de lo que hay detrás,
   un borde claro de un píxel y un brillo interno arriba que simula el canto
   del cristal. */
.sheet {
    width: 100%;
    max-width: 440px;
    background: rgba(17, 23, 37, .58);
    backdrop-filter: blur(26px) saturate(160%);
    -webkit-backdrop-filter: blur(26px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, .55),
        inset 0 1px 0 rgba(255, 255, 255, .14);
    overflow: hidden;
}

/* La guía pertenece al canal que se está viendo, así que se centra sobre el
   video y no sobre toda la ventana. Ocupando la ventana entera quedaba corrida
   a la derecha, porque la mitad de la pantalla incluye la columna de canales.
   El recorte de la derecha usa el mismo ancho que esa columna. */
#guide {
    left: 0;
    top: 0;
    right: clamp(300px, 26vw, 470px);
    bottom: var(--player-gap);
    padding: 24px;
}

/* Panel grande: ocupa casi todo el alto del video. */
#guide .sheet {
    max-width: min(920px, 100%);
    height: min(78vh, 840px);
    display: flex;
    flex-direction: column;
}

.sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    flex-shrink: 0;
}
.sheet-head h3 { margin: 0; font-size: 17px; }

.sheet-section { padding: 18px; border-bottom: 1px solid var(--line); }
.sheet-section:last-child { border-bottom: 0; }
.sheet-section h4 { margin: 0 0 6px; font-size: 14px; }
.hint { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.45; }

.opt-list { display: grid; gap: 8px; }

.opt {
    display: block;
    width: 100%;
    text-align: left;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: border-color .12s, background .12s;
}
.opt b { display: block; font-size: 14px; font-weight: 600; }
.opt span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; line-height: 1.4; }
.opt:hover:not(.off) { border-color: #33405a; }
.opt.on { border-color: var(--accent); background: rgba(59, 130, 246, .12); }
.opt.off { opacity: .45; cursor: not-allowed; }

.server-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }

/* ------------------------------------------------------------- Contacto */

#support .field { margin-bottom: 14px; }
#support .field > span em { font-style: normal; opacity: .7; }

#support select,
#support textarea {
    width: 100%;
    padding: 11px 13px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--text);
    outline: none;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
#support textarea { resize: vertical; min-height: 96px; line-height: 1.5; }

#support select:focus,
#support textarea:focus,
#support input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
}

.wa-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted);
}
.wa-link:hover { color: #86efac; }

.sup-ok {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 600;
    color: #86efac;
}

.account-row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 13.5px; }
.account-row span { color: var(--muted); }
.account-row b { font-weight: 600; }

/* ------------------------------------------------------- Guía del canal */

.guide-body {
    flex: 1;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    padding: 8px 0;
    /* El estilo de la barra es el general, definido arriba. */
}

.g-row {
    display: flex;
    gap: 18px;
    padding: 15px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: background .15s;
}
.g-row:last-child { border-bottom: 0; }
.g-row:hover { background: rgba(255, 255, 255, .04); }
.g-row.past { opacity: .4; }

/* El programa al aire se marca con un filo de luz a la izquierda. */
.g-row.live {
    background: linear-gradient(90deg, rgba(59, 130, 246, .18), rgba(59, 130, 246, .04));
    box-shadow: inset 3px 0 0 var(--accent);
}

.g-time {
    flex-shrink: 0;
    width: 54px;
    font-variant-numeric: tabular-nums;
    font-size: 14px;
    color: var(--muted);
    padding-top: 1px;
}
.g-row.live .g-time { color: var(--accent-2); font-weight: 700; }

.g-body { min-width: 0; }
.g-title { font-size: 15px; line-height: 1.4; }

.g-live {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .4px;
    vertical-align: 1px;
}

.g-desc {
    margin: 5px 0 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1000px) {
    /* Video arriba con su proporción, lista abajo ocupando el resto. */
    .tv-main {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .stage { height: auto; }
    .player-shell { height: auto; aspect-ratio: 16 / 9; }

    .chan-col {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    /* Apilado no hay columna lateral: la guía vuelve a usar toda la pantalla. */
    #guide { right: 0; bottom: 0; padding: 0; }

    /* En pantalla chica la barra se compacta: se van el volumen (el teléfono
       tiene botones físicos) y el logo. */
    .stage-bar { padding: 20px 10px 8px; }
    .bar-row { gap: 8px; }
    .vol,
    .bar-row > img { display: none; }
}

@media (max-width: 620px) {
    .tv-top { padding: 10px 14px; }
    .hide-sm { display: none; }

    .bar-text strong { font-size: 13.5px; }
    .bar-text span { font-size: 11.5px; }
    .ctl { width: 32px; height: 32px; font-size: 12px; }
    .ctl.wide { padding: 0 10px; }

    .sheet-wrap { align-items: flex-end; padding: 0; }
    .sheet {
        max-width: none;
        border-radius: 22px 22px 0 0;
        border-bottom: 0;
        max-height: 88vh;
        overflow-y: auto;
        padding-bottom: env(safe-area-inset-bottom);
    }
    /* En el teléfono la guía ocupa casi toda la pantalla, de abajo hacia arriba. */
    #guide .sheet { height: 88vh; max-width: none; }
    .g-row { padding: 13px 18px; gap: 14px; }
}

/* Modo app instalada: respetar el notch y la barra de gestos. */
@media (display-mode: standalone) {
    .tv-top { padding-top: calc(12px + env(safe-area-inset-top)); }
    .chan-list { padding-bottom: env(safe-area-inset-bottom); }
}

/* Celular apaisado: el video se lleva toda la pantalla, sin márgenes. */
@media (max-width: 1000px) and (orientation: landscape) {
    .tv { padding-bottom: 0; }
    .tv-top { display: none; }
    .tv-main { grid-template-rows: 1fr; }
    .chan-col { display: none; }
    .stage { height: 100%; }
    .player-shell { height: 100%; aspect-ratio: auto; }
}
