/* Lumen — mode TV (voir tv.js). Toutes les règles sont limitées à html.tv : aucun effet dans un navigateur. */

/* Curseur de la télécommande */
html.tv .tv-focus { outline: 3px solid var(--accent); outline-offset: -3px; }
html.tv .card.tv-focus, html.tv .tile.tv-focus { outline: none; }
html.tv .card.tv-focus { transform: scale(1.06); z-index: 2; }
html.tv .card.tv-focus .art { box-shadow: 0 0 0 3px var(--accent), 0 14px 40px rgba(0,0,0,.6); }
html.tv .tile.tv-focus .tile-art { transform: scale(1.03); box-shadow: 0 0 0 3px var(--accent), 0 14px 40px rgba(0,0,0,.6); }
html.tv .tile.tv-focus .tile-play { opacity: 1; }
html.tv .links a.tv-focus { color: #fff; border-radius: 8px; outline-offset: 4px; }
html.tv .chan.tv-focus, html.tv .ep.tv-focus, html.tv .catpop-list button.tv-focus, html.tv .dd-menu button.tv-focus { background: rgba(255,255,255,.14); }
html.tv .logo-btn.tv-focus { transform: translateY(-3px); }

/* Ce qui ne sert qu'à la souris */
html.tv .row-arrow, html.tv #search-x, html.tv .tile-fav, html.tv .zap, html.tv #player-back, html.tv .live-ctl { display: none !important; }

/* Lecteur : aide et barre de progression */
.tv-hint { margin-left: auto; color: var(--muted); font-size: 15px; }
.tv-ctl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 18px; padding: 70px 48px 38px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: 20px; font-variant-numeric: tabular-nums; }
.tv-ctl #tv-state { width: 28px; color: var(--accent); }
.tv-track { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.tv-track i { display: block; height: 100%; width: 0; background: var(--accent); }

/* Lecteur natif Samsung : l'image est affichée derrière la page, qui doit donc devenir transparente */
html.tv-native #video { display: none; }
html.tv-native #av-player { position: absolute; inset: 0; width: 100%; height: 100%; }
html.tv-native .player { background: transparent; animation: none; }
html.av-on, html.av-on body { background: transparent !important; }
html.av-on #app, html.av-on #modal, html.av-on #login { visibility: hidden; }
