/*
 * CSS conservador para Chrome 68 (webOS 5): sem `gap` em flex, `aspect-ratio`, `:focus-visible`, `inset`,
 * `clamp()/min()/max()`. Espaçamento por margem; grid só com `grid-gap`. Escala: 1rem = 1/80 da largura (24px em 1920).
 */
:root {
  --bg: #12082a;
  --surface: #1b0f3d;
  --surface-2: #281656;
  --border: #3b2a75;
  --text: #f0ebff;
  --muted: #a79bd0;
  --accent: #4f8cff;
  --danger: #ff6b6b;
  --glow: #2b1763;
  --deep: #1b0f3d;
  --overlay-92: rgba(27, 15, 61, 0.92);
  --overlay-95: rgba(27, 15, 61, 0.95);
  --active-bg: #f4efff;
  --vodbar: rgba(12, 6, 30, 0.35);
}

/* tema azul: o layout "glass" troca a paleta roxa de todas as telas pelas mesmas variáveis */
html[data-layout="glass"] {
  --bg: #04122f;
  --surface: #0b2358;
  --surface-2: #123478;
  --border: #2a62c8;
  --text: #eaf2ff;
  --muted: #9cc0ff;
  --accent: #2f7bff;
  --glow: #0f4fd0;
  --deep: #0b2358;
  --overlay-92: rgba(5, 22, 66, 0.92);
  --overlay-95: rgba(5, 22, 66, 0.95);
  --active-bg: #eaf3ff;
  --vodbar: rgba(4, 18, 52, 0.35);
}
html[data-layout="glass"], html[data-layout="glass"] body {
  background: radial-gradient(ellipse at 15% 0%, #0d47b8 0%, rgba(13, 71, 184, 0) 60%), radial-gradient(ellipse at 90% 100%, #0a3a94 0%, rgba(10, 58, 148, 0) 55%), #04122f;
}

html { font-size: 1.25vw; background: var(--bg); color: var(--text); }
html, body, #root { margin: 0; height: 100%; overflow: hidden; }
body { font-family: sans-serif; font-size: 1rem; line-height: 1.3; }
* { box-sizing: border-box; }
h1 { font-size: 2rem; margin: 0; }
h2 { font-size: 1.2rem; margin: 1.4rem 0 0.4rem; }
.muted { color: var(--muted); }
.grow { flex: 1; min-width: 0; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row { display: flex; align-items: center; }
.row > * { margin-right: 0.8rem; }
.top-gap { margin-top: 1.5rem; }
.mono { font-family: monospace; font-size: 0.8rem; white-space: pre-wrap; background: var(--surface); border: 1px solid var(--border); border-radius: 0.5rem; padding: 0.8rem; margin: 0 0 0.8rem; }

/* foco único e bem visível para tudo que é navegável */
[data-focusable] { outline: none; transition: transform 0.12s, box-shadow 0.12s; }
[data-focusable]:focus { box-shadow: 0 0 0 0.2rem var(--accent), 0 0.5rem 1.6rem rgba(0, 0, 0, 0.55); }
.tile:focus, .btn:focus, .pill:focus, .icon-btn:focus, .check:focus { transform: scale(1.04); }

/* botões e campos */
.btn, .pill, .icon-btn, .check, input {
  font-family: inherit; font-size: 1rem; color: var(--text);
}
.btn { padding: 0.7rem 1.4rem; background: var(--surface-2); border: 2px solid var(--border); border-radius: 0.8rem; cursor: pointer; }
.btn.small { padding: 0.5rem 1rem; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: bold; }
.btn:disabled, .pill:disabled { opacity: 0.45; }
input { width: 100%; padding: 0.7rem 1rem; background: var(--surface); border: 2px solid var(--border); border-radius: 0.8rem; }

/* login */
.login { height: 100%; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 0%, var(--glow) 0%, var(--bg) 65%); }
.login-card { width: 34rem; max-height: 100%; padding: 2rem 2.4rem; background: var(--surface); border: 1px solid var(--border); border-radius: 1.2rem; }
.wordmark { display: flex; align-items: center; }
.wordmark svg { margin-right: 0.9rem; flex: 0 0 auto; }
.top-logo { margin-right: 1.2rem; display: flex; align-items: center; }
.brand { font-size: 2.2rem; font-weight: bold; letter-spacing: 0.05rem; }
.brand span { color: var(--accent); }
.field-label { display: block; margin: 1rem 0 0.3rem; font-size: 0.85rem; color: var(--muted); }
.login .row input { flex: 1; }
.check { display: flex; align-items: center; margin: 1rem 0 0.4rem; padding: 0.4rem 0.6rem; background: transparent; border: 0; border-radius: 0.6rem; cursor: pointer; }
.box { display: inline-block; width: 1.4rem; height: 1.4rem; margin-right: 0.7rem; line-height: 1.2rem; text-align: center; border: 2px solid var(--muted); border-radius: 0.3rem; }
.box.on { background: var(--accent); border-color: var(--accent); }
.warn { margin: 0 0 0.6rem; font-size: 0.8rem; color: #f5c26b; }
.login .btn.primary { width: 100%; margin-top: 0.8rem; }
.error { margin-top: 1rem; padding: 0.8rem 1rem; border: 1px solid var(--danger); border-radius: 0.6rem; color: var(--danger); font-size: 0.9rem; }
.error div { margin-top: 0.3rem; color: var(--text); }

/* home */
.home { height: 100%; padding: 1.4rem 2.4rem 1.2rem; display: flex; flex-direction: column; background: radial-gradient(ellipse at 50% 20%, var(--glow) 0%, var(--bg) 70%); }
.topbar { display: flex; align-items: center; height: 4rem; flex: 0 0 auto; }
.clock { font-size: 1.6rem; margin-right: 1.4rem; }
.date { font-size: 1.1rem; margin-right: 1.6rem; color: var(--muted); }
.spacer { flex: 1; }
.pill { display: flex; align-items: center; padding: 0.6rem 1.4rem; border: 2px solid #a45cf0; border-radius: 2rem; background: linear-gradient(90deg, #7a2fd0, #c0398a); font-size: 0.95rem; font-weight: bold; }
.pill svg { margin-right: 0.5rem; }
.icon-btn { margin-left: 0.8rem; width: 3.4rem; height: 3.4rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--border); cursor: pointer; }
.tiles { flex: 1; min-height: 0; display: flex; margin: 1rem 0; }
.tiles-right { flex: 1; display: flex; flex-direction: column; margin-left: 1.2rem; min-width: 0; }
.tiles-row { display: flex; min-height: 0; }
.tiles-row.top { flex: 3; margin-bottom: 1.2rem; }
.tiles-row.bottom { flex: 2; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; border-radius: 0.9rem; color: #fff; cursor: pointer; font-family: inherit; min-width: 0; }
.tile-live { flex: 0 0 38%; background: linear-gradient(170deg, #0fb89a 0%, #1a6fd0 55%, #3b2fd6 100%); }
.tile-movies { flex: 1; margin-right: 1.2rem; background: linear-gradient(135deg, #e0405a 0%, #f2a03a 100%); }
.tile-series { flex: 1; background: linear-gradient(135deg, #7a45c8 0%, #3f8fd8 100%); }
.tile-small { flex: 1; margin-right: 1.2rem; flex-direction: row; background: linear-gradient(135deg, #2f6f66 0%, #3b8a7a 100%); }
.tile-small:last-child { margin-right: 0; }
.tile-label { margin-top: 0.8rem; font-size: 1.5rem; font-weight: bold; letter-spacing: 0.12rem; }
.tile-live .tile-label { font-size: 2.2rem; margin-top: 1.4rem; }
.tile-small .tile-label { margin: 0 0 0 0.8rem; font-size: 1.1rem; letter-spacing: 0.05rem; }
.tile.soon { opacity: 0.6; }
.tile .badge { position: absolute; top: 0.6rem; right: 0.8rem; padding: 0.15rem 0.6rem; font-size: 0.7rem; background: rgba(0, 0, 0, 0.5); border-radius: 1rem; }
.footbar { flex: 0 0 auto; display: flex; justify-content: space-between; padding: 0 0.4rem; font-size: 1rem; color: #cfd6e6; }

/* TV ao vivo */
.live { height: 100%; padding: 1.4rem 2.4rem 1rem; display: flex; flex-direction: column; }
.live-head { display: flex; align-items: center; flex: 0 0 auto; margin-bottom: 1rem; }
.live-head h1 { margin-right: 2rem; }
.cloudbar { display: flex; align-items: center; gap: 0.8rem; margin-left: 1.4rem; }
.live-head .search { width: 26rem; margin-right: 1.4rem; }
.live-body { flex: 1; min-height: 0; display: flex; }
.panel { position: relative; min-height: 0; }
.cats { flex: 0 0 24%; margin-right: 1rem; }
.chans { flex: 0 0 34%; margin-right: 1rem; }
.right { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.datebar { display: flex; justify-content: space-between; align-items: center; flex: 0 0 auto; padding: 0.6rem 1.1rem; margin-bottom: 0.8rem; background: var(--surface); border: 1px solid var(--border); border-radius: 0.9rem; font-size: 1.1rem; }
.right-main { flex: 1; min-height: 0; display: flex; }
.right-left { flex: 1; min-width: 0; display: flex; flex-direction: column; margin-right: 0.8rem; }
.stage-slot { position: relative; flex: 0 0 auto; width: 100%; padding-top: 56.25%; background: #000; border-radius: 0.6rem; }
.now-line { display: flex; align-items: center; flex: 0 0 auto; padding: 0.6rem 0; font-size: 1.1rem; font-weight: bold; }
.now-line .ov-num { font-size: 0.95rem; }
.epg-list { flex: 1; min-height: 0; overflow: hidden; position: relative; transition: opacity 0.2s; }
.epg-list.dim { opacity: 0.45; }
.epg-row { position: relative; display: flex; align-items: center; padding: 0.55rem 0.9rem; margin-bottom: 0.4rem; background: var(--surface); border: 1px solid var(--border); border-radius: 0.6rem; font-size: 0.95rem; overflow: hidden; }
.epg-row.live { border-color: #3ddc84; background: #13241d; }
.epg-row.past { opacity: 0.5; }
.dot { flex: 0 0 auto; width: 0.9rem; height: 0.9rem; margin-right: 0.7rem; border-radius: 50%; background: #6b7385; }
.dot.on { background: #3ddc84; }
.epg-time { margin-right: 1rem; color: var(--muted); white-space: nowrap; }
.epg-title { flex: 1; min-width: 0; text-align: right; }
.epg-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 0.25rem; background: rgba(255, 255, 255, 0.08); }
.epg-bar span { display: block; height: 100%; background: #3ddc84; }
.epg-msg { padding: 1rem 0.4rem; color: var(--muted); font-size: 0.95rem; }
.daystrip { flex: 0 0 4.2rem; display: flex; flex-direction: column; overflow: hidden; }
.day { display: flex; flex-direction: column; align-items: center; margin-bottom: 0.5rem; padding: 0.4rem 0; font-family: inherit; color: var(--text); background: var(--surface); border: 2px solid var(--border); border-radius: 0.7rem; cursor: pointer; }
.day b { font-size: 1.2rem; }
.day span { font-size: 0.7rem; color: var(--muted); }
.day.sel { border-color: var(--accent); }
.hints { flex: 0 0 auto; display: flex; align-items: center; margin-top: 0.8rem; font-size: 0.95rem; color: #d6ccf5; }
.hint { display: flex; align-items: center; margin-right: 2.2rem; }
.hint-click { cursor: pointer; }
.hint-click:hover { color: #fff; }
.hint kbd { margin-right: 0.55rem; padding: 0.1rem 0.7rem; font-family: inherit; font-size: 0.85rem; font-weight: bold; color: #fff; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 0.45rem; }
.ydot { display: inline-block; flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-right: 0.55rem; border-radius: 50%; background: #ffcf5c; box-shadow: 0 0 0 2px rgba(255, 207, 92, 0.35); }
.empty { padding: 2rem; color: var(--muted); }
/* listas como cartões arredondados separados (sem camadas extras: medido na TV, ver docs/performance.md) */
.vlist { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; border-radius: 1rem; }
.vlist:focus { box-shadow: none; }
.vrow { position: absolute; top: 0; left: 0; right: 0; padding: 0.24rem 0.15rem; font-size: 1.1rem; }
.vcell { display: flex; align-items: center; height: 100%; padding: 0 1.1rem; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 0.9rem; }
.vrow.active .vcell { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.38); }
.vlist:focus .vrow.active .vcell { background: var(--active-bg); border-color: #ffffff; color: var(--glow); font-weight: bold; }
.vrow .num { width: 3rem; margin-right: 0.8rem; text-align: right; color: var(--muted); }
.vlist:focus .vrow.active .num { color: #6b5aa8; }
.count { flex: 0 0 auto; margin-left: 0.8rem; padding: 0.05rem 0.75rem; font-size: 0.85rem; font-weight: normal; color: #d6ccf5; background: rgba(255, 255, 255, 0.12); border-radius: 1rem; }
.vlist:focus .vrow.active .count { color: #fff; background: var(--glow); }
.vrow .logo { width: 2.6rem; height: 2.6rem; margin-right: 0.9rem; object-fit: contain; border-radius: 0.3rem; background: rgba(255, 255, 255, 0.05); flex: 0 0 auto; }
.vrow .logo.ph, .infobar .logo.ph { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 0.85rem; font-weight: bold; color: #dfe6f5; }
.logo-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; background: var(--deep); }
.star { margin-left: 0.6rem; padding: 0 0.4rem; font-size: 1.5rem; color: var(--muted); border-radius: 0.4rem; }
.star.on { color: #ffcf5c; }
.star.sel { color: #ffcf5c; background: rgba(255, 255, 255, 0.25); box-shadow: 0 0 0 0.15rem #ffcf5c; }
.vlist:focus .vrow.active .star { color: #9b8ad0; }
.vlist:focus .vrow.active .star.on { color: #f0a000; }
.vlist:focus .vrow.active .star.sel { background: var(--glow); color: #ffcf5c; }

/* palco de vídeo: miniatura no painel e tela cheia são o MESMO elemento (sem recarregar o stream) */
.stage { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; border-radius: 0.6rem; background: #000; }
.stage.full { position: fixed; z-index: 20; border-radius: 0; }
/* transição de canal: último quadro por cima do vídeo, some com fade quando o novo canal começa */
.snap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; pointer-events: none; transition: opacity 0.3s ease-out; }
.snap.on { opacity: 1; transition: none; }
.stage:not(.full) .toast { bottom: 2.4rem; padding: 0.3rem 0.9rem; font-size: 0.8rem; }
.stage-empty, .stage-error { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); text-align: center; font-size: 0.95rem; color: var(--muted); }
.stage-error b { color: var(--danger); font-weight: normal; }
.stage:not(.full) .spinner { width: 2rem; height: 2rem; margin: -1rem 0 0 -1rem; border-width: 0.25rem; }
.video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; transition: opacity 0.2s; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 78%, rgba(0, 0, 0, 0.7) 100%); }
.overlay.show { opacity: 1; }
/* barra de informações do canal (tela cheia): translúcida, número + logo + nome + programação */
.infobar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; padding: 1.2rem 3.5rem 1.4rem; background: rgba(12, 6, 30, 0.3); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9); }
.ib-num { flex: 0 0 auto; min-width: 6rem; margin-right: 1.6rem; text-align: right; font-size: 3.6rem; font-weight: bold; line-height: 1; }
.infobar .logo { flex: 0 0 auto; width: 8rem; height: 3rem; margin-right: 1.8rem; object-fit: contain; border-radius: 0.4rem; background: rgba(255, 255, 255, 0.12); display: flex; align-items: center; justify-content: center; font-weight: bold; color: #dfe6f5; }
.ib-main { flex: 1; min-width: 0; }
.ib-name { display: flex; align-items: baseline; font-size: 2.2rem; font-weight: bold; margin-bottom: 0.3rem; }
.ib-state { flex: 0 0 auto; margin-left: 1.2rem; font-size: 1rem; font-weight: normal; color: #cfc6ee; }
.ib-epg { display: flex; font-size: 1.4rem; line-height: 1.35; }
.ib-epg b { flex: 0 0 auto; width: 4.4rem; margin-right: 0.8rem; font-weight: bold; }
.ib-hints { margin-top: 0.5rem; font-size: 0.8rem; color: #b8aedc; }
.ov-top { display: flex; align-items: center; padding: 1.4rem 2.4rem; font-size: 1.6rem; }
.ov-num { margin-right: 1rem; padding: 0.1rem 0.8rem; background: var(--accent); border-radius: 0.5rem; font-weight: bold; }
.ov-name { flex: 1; font-weight: bold; }
.ov-state { font-size: 1.1rem; color: #cfd6e6; }
.ov-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 2.4rem; font-size: 0.95rem; color: #cfd6e6; }
.ov-epg { margin-bottom: 0.5rem; font-size: 1.2rem; color: #fff; }
.spinner { position: absolute; top: 50%; left: 50%; width: 4rem; height: 4rem; margin: -2rem 0 0 -2rem; border: 0.4rem solid rgba(255, 255, 255, 0.2); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: absolute; left: 50%; bottom: 6rem; transform: translateX(-50%); padding: 0.7rem 1.6rem; font-size: 1.1rem; background: var(--overlay-92); border: 1px solid var(--accent); border-radius: 2rem; white-space: nowrap; }
.zap { position: absolute; top: 2rem; right: 3rem; font-size: 4rem; font-weight: bold; text-shadow: 0 0 1rem #000; }
.player-error { position: absolute; top: 50%; left: 50%; width: 32rem; margin: -4rem 0 0 -16rem; padding: 1.4rem 1.6rem; text-align: center; background: var(--overlay-95); border: 1px solid var(--danger); border-radius: 0.9rem; }
.player-error b { color: var(--danger); }
.player-error .muted { margin-top: 0.6rem; font-size: 0.85rem; }

/* páginas simples e diálogo */
.page { height: 100%; padding: 1.6rem 2.4rem; overflow: hidden; }
.modal-backdrop { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: center; background: rgba(18, 8, 42, 0.82); }
.modal { width: 32rem; padding: 1.6rem 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 1rem; }
.modal h2 { margin-top: 0; }

/* ===== Filmes e Séries ===== */
.vod { height: 100%; padding: 1.4rem 2.4rem 1rem; display: flex; flex-direction: column; }
.vod-body { flex: 1; min-height: 0; display: flex; }
.vleft { flex: 0 0 26%; margin-right: 1.4rem; display: flex; flex-direction: column; min-height: 0; }
.vleft .search { width: 100%; margin-bottom: 0.8rem; flex: 0 0 auto; }
.vcats { flex: 1; }
.vright { position: relative; flex: 1; min-width: 0; min-height: 0; }
.vgrid-wrap { position: absolute; top: 0; left: 0; right: 0; bottom: 0; transition: opacity 0.2s; }
.vgrid-wrap.dim { opacity: 0.35; }
.vgrid { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; }
.vgrid:focus { box-shadow: none; }
.gcard { position: absolute; top: 0; left: 0; }
.pcard { height: 100%; }
.pbox { position: relative; width: 100%; height: 14.1rem; border: 2px solid rgba(255, 255, 255, 0.14); border-radius: 0.7rem; overflow: hidden; background: var(--surface); }
.gcard.active .pbox { border-color: rgba(255, 255, 255, 0.5); }
.vgrid:focus .gcard.active .pbox { border-color: #fff; box-shadow: 0 0 0 0.22rem #fff; }
.poster { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }
.poster-initials { position: absolute; top: 50%; left: 0; right: 0; margin-top: -1.1rem; text-align: center; font-size: 2.2rem; font-weight: bold; color: rgba(255, 255, 255, 0.55); }
.poster-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.pfav { position: absolute; top: 0.3rem; right: 0.4rem; font-size: 1.5rem; line-height: 1; color: #ffcf5c; text-shadow: 0 0 0.4rem #000; }
.pseen { position: absolute; top: 0.3rem; left: 0.4rem; width: 1.6rem; height: 1.6rem; line-height: 1.6rem; text-align: center; font-size: 1rem; font-weight: bold; color: #fff; background: #2fbf71; border-radius: 50%; }
.pprog { position: absolute; left: 0; right: 0; bottom: 0; height: 0.35rem; background: rgba(0, 0, 0, 0.55); }
.pprog span { display: block; height: 100%; background: var(--accent); }
.ptitle { margin-top: 0.45rem; font-size: 0.95rem; font-weight: bold; line-height: 1.2; height: 2.3rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.psub { font-size: 0.8rem; color: var(--muted); }
.fav-note { color: #ffcf5c; }
.vright .empty { padding: 2rem 0.5rem; }
.vright .empty .btn { margin-top: 1rem; }
.vright > .spinner { width: 2.4rem; height: 2.4rem; margin: -1.2rem 0 0 -1.2rem; border-width: 0.3rem; }
.hints.small { margin-top: 0.4rem; font-size: 0.85rem; }

/* detalhe de filme/série e player de vídeo */
.detail { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 25; overflow: hidden; padding: 2.4rem 3.2rem; background: radial-gradient(ellipse at 30% 0%, var(--glow) 0%, var(--bg) 70%); }
.backdrop-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.detail-body { position: relative; display: flex; height: 100%; }
.detail-poster { position: relative; flex: 0 0 auto; width: 15rem; height: 22.5rem; border: 2px solid rgba(255, 255, 255, 0.25); border-radius: 0.8rem; overflow: hidden; }
.detail-info { flex: 1; min-width: 0; margin-left: 2.4rem; display: flex; flex-direction: column; }
.detail-info h1 { font-size: 2.6rem; margin-bottom: 0.4rem; }
.detail-info .row { margin: 1.2rem 0 0.8rem; flex-wrap: wrap; }
.detail-meta { margin-bottom: 0.9rem; font-size: 1.1rem; color: #cfc6ee; }
.plot { max-width: 52rem; margin: 0; font-size: 1.1rem; line-height: 1.5; color: #e6e0fa; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.plot.short { -webkit-line-clamp: 3; }
.detail-left { flex: 0 0 auto; }
.detail-info.wide .row.seasons { margin-top: 0.4rem; }
.chip { margin-right: 0.7rem; padding: 0.45rem 1.2rem; font-family: inherit; font-size: 1rem; color: var(--text); background: rgba(255, 255, 255, 0.08); border: 2px solid rgba(255, 255, 255, 0.18); border-radius: 2rem; cursor: pointer; }
.chip.sel { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: bold; }
.eplist { position: relative; flex: 1; min-height: 0; margin-top: 0.6rem; }
.seen { flex: 0 0 auto; width: 1.8rem; margin-left: 0.7rem; text-align: center; font-weight: bold; color: transparent; }
.seen.on { color: #2fbf71; }
.vlist:focus .vrow.active .seen.on { color: #1a8f4f; }

.vodplayer { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 40; background: #000; }
.next-ep { position: absolute; right: 1.2rem; bottom: 1rem; z-index: 5; padding: 0.65rem 1.2rem; font: inherit; font-size: 1.15rem; font-weight: 700; color: #000; background: rgba(238, 244, 251, 0.55); border: 2px solid rgba(238, 244, 251, 0.7); border-radius: 0.5rem; cursor: pointer; }
.next-ep.raised { bottom: 9rem; }
.next-ep:hover, .next-ep.sel { background: rgba(255, 255, 255, 0.75); border-color: #2f7bff; box-shadow: 0 0 0 3px rgba(47, 123, 255, 0.55); }
.next-ep .hint-tv { font-size: 0.8rem; font-weight: 400; opacity: 0.8; }
.vodbar { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 3.5rem 1.6rem; background: var(--vodbar); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9); }
.vb-title { display: flex; align-items: baseline; margin-bottom: 0.7rem; font-size: 1.8rem; font-weight: bold; }
.vb-sub { margin-left: 1.2rem; font-size: 1.2rem; font-weight: normal; color: #cfc6ee; }
.vb-track { height: 0.45rem; background: rgba(255, 255, 255, 0.22); border-radius: 0.3rem; overflow: hidden; }
.vb-fill { height: 100%; background: var(--accent); }
.vb-times { display: flex; justify-content: space-between; margin-top: 0.45rem; font-size: 1rem; color: #e6e0fa; }

/* ===== Ficha de filme/série (arte em tela cheia, como o player de referência) ===== */
.backdrop-img.strong { opacity: 1; }
.detail-shade { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, rgba(18, 8, 42, 0.94) 0%, rgba(18, 8, 42, 0.78) 34%, rgba(18, 8, 42, 0.18) 72%, rgba(18, 8, 42, 0.05) 100%), linear-gradient(0deg, rgba(18, 8, 42, 0.96) 0%, rgba(18, 8, 42, 0) 42%); }
.detail { padding: 0; }
.detail-poster.side { position: absolute; top: 3rem; right: 4rem; }
.mcontent { position: relative; padding: 2.6rem 3.5rem 0; max-width: 54rem; }
.mcontent.series { max-width: 62rem; }
.mtitle { font-size: 3.4rem; line-height: 1.1; margin: 0 0 0.9rem; text-shadow: 0 0.15rem 0.8rem rgba(0, 0, 0, 0.6); }
.mmeta { display: flex; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; font-size: 1.15rem; }
.mmeta > * { margin-right: 1.2rem; }
.stars { font-size: 1.5rem; letter-spacing: 0.1rem; color: #ffcf5c; }
.stars .off { color: rgba(255, 255, 255, 0.3); }
.ybadge { padding: 0.1rem 0.8rem; font-weight: bold; color: var(--deep); background: #fff; border-radius: 0.35rem; }
.rt { color: #f0ebff; }
.gen { color: #e6e0fa; }
.mgroup { margin: 0.4rem 0 0; font-size: 1.05rem; color: #cfc8ee; }
.mcontent .plot { max-width: 46rem; text-shadow: 0 0.1rem 0.5rem rgba(0, 0, 0, 0.7); }
.mactions { display: flex; flex-direction: column; width: 22rem; margin-top: 1.4rem; }
.mactions.inline { flex-direction: row; width: auto; }
.mactions .btn { margin: 0 0 0.6rem; }
.mactions.inline .btn { margin: 0 0.8rem 0 0; }
.btn.white, .btn.dark { display: flex; align-items: center; justify-content: center; font-weight: bold; letter-spacing: 0.04rem; padding: 0.8rem 1.6rem; border-radius: 0.5rem; min-width: 14rem; }
.btn.white { color: var(--deep); background: #fff; border: 2px solid #fff; }
.btn.dark { color: #fff; background: rgba(18, 8, 42, 0.72); border: 2px solid rgba(255, 255, 255, 0.18); }
.btn .pl { margin-right: 0.7rem; font-size: 1.05rem; }

.cast { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 3.5rem 1.4rem; }
.cast h3, .seasons-block h3 { margin: 0 0 0.5rem; font-size: 1.3rem; text-shadow: 0 0.1rem 0.5rem rgba(0, 0, 0, 0.7); }
.cast-row { display: flex; overflow: hidden; }
.cast-item { flex: 0 0 auto; width: 8.2rem; margin-right: 1rem; text-align: center; }
.avatar { display: flex; align-items: center; justify-content: center; width: 5.2rem; height: 5.2rem; margin: 0 auto 0.4rem; font-size: 1.5rem; font-weight: bold; color: rgba(255, 255, 255, 0.85); border: 2px solid rgba(255, 255, 255, 0.2); border-radius: 50%; }
.avatar.dir { background: var(--border); }
.cname { display: block; font-size: 0.85rem; line-height: 1.15; max-height: 2.4rem; overflow: hidden; }
.cname small { display: block; color: #cfc6ee; font-size: 0.7rem; }

.seasons-block { position: relative; padding: 0 3.5rem; margin-top: 1rem; }
.seasons-block .row.seasons { margin: 0 0 0.9rem; }
.rail { position: relative; overflow: hidden; border-radius: 0.6rem; }
.rail:focus { box-shadow: none; }
.ritem { position: absolute; top: 0; left: 0; }
.epthumb { position: relative; width: 100%; height: 7.2rem; border: 2px solid rgba(255, 255, 255, 0.2); border-radius: 0.6rem; overflow: hidden; background: var(--surface); }
.ritem.active .epthumb { border-color: rgba(255, 255, 255, 0.55); }
.rail:focus .ritem.active .epthumb { border-color: #fff; box-shadow: 0 0 0 0.22rem #fff; }
.eplabel { margin-top: 0.4rem; text-align: center; font-size: 0.95rem; font-weight: bold; }
.epname { text-align: center; font-size: 0.8rem; color: #cfc6ee; }
.pprog.red span { background: #ff4b4b; }
.epthumb .poster-initials { font-size: 2.4rem; }

/* ajuste de espaço vertical da ficha (a linha de ajuda sobrepunha o "Elenco" na TV real) */
.seasons-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.seasons-head h3 { margin: 0; }
.seasons-head .hint { margin: 0; font-size: 0.85rem; color: #d6ccf5; }
.epthumb { height: 6.4rem; }
.mcontent { padding-top: 2rem; }
.mtitle { font-size: 3.1rem; margin-bottom: 0.6rem; }
.mmeta { margin-bottom: 0.7rem; }
.mactions { margin-top: 1rem; }
.mactions.inline .btn { margin-bottom: 0; }
.seasons-block { margin-top: 0.9rem; }
.seasons-block .row.seasons { margin: 0 0 0.7rem; }
.avatar { width: 4.6rem; height: 4.6rem; font-size: 1.3rem; }
.cast-item { width: 8rem; }
.cast { padding-bottom: 1rem; }
.cast h3 { margin-bottom: 0.4rem; }
.avatar { position: relative; overflow: hidden; }
.avatar-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.attrib { margin-top: 1.2rem; max-width: 40rem; font-size: 0.8rem; line-height: 1.4; color: var(--muted); }

/* dica "Marcar Assistido": legível também sobre artes claras */
.seasons-head .hint { padding: 0.2rem 0.9rem; background: rgba(18, 8, 42, 0.78); border-radius: 1rem; color: #f0ebff; }

/* elenco: quadrado de cantos arredondados, mesmo estilo da miniatura do episódio (filmes e séries) */
.cast-item { width: 9.4rem; margin-right: 1.1rem; }
.avatar { width: 9.4rem; height: 9.4rem; margin: 0 0 0.45rem; font-size: 2.6rem; border: 2px solid rgba(255, 255, 255, 0.2); border-radius: 0.6rem; }
.avatar-img { object-position: center 22%; }
.cname { font-size: 0.9rem; }
.cast { padding-bottom: 0.8rem; }

/* ficha da série: elenco compacto, para caber sob a fileira de episódios (medido na TV: 1080 px de altura) */
.cast.compact { padding-bottom: 0.7rem; }
.cast.compact h3 { margin-bottom: 0.3rem; }
.cast.compact .cast-item { width: 6.6rem; margin-right: 1rem; }
.cast.compact .avatar { width: 6.6rem; height: 6.6rem; font-size: 1.9rem; margin-bottom: 0.3rem; }
.cast.compact .cname { font-size: 0.8rem; }

/* sem cena do episódio: pôster da temporada esmaecido, com o número do episódio por cima */
.poster.art .poster-img { opacity: 0.45; object-position: center 25%; }
.poster.art .poster-initials { z-index: 1; color: #fff; text-shadow: 0 0.1rem 0.6rem rgba(0, 0, 0, 0.9); }

/* home "glass": cartões translúcidos em azul (layout alternativo; o clássico segue intacto) */
.gl-home { padding: 1.2rem 2.2rem 1rem; background: radial-gradient(ellipse at 15% 0%, #0b3a8a 0%, rgba(11, 58, 138, 0) 55%), radial-gradient(ellipse at 90% 100%, #06285f 0%, rgba(6, 40, 95, 0) 50%), #030816; }
.gl-top { display: flex; align-items: center; height: 4.4rem; flex: 0 0 auto; }
.gl-brand { display: flex; align-items: center; padding-right: 1.4rem; margin-right: 1.4rem; border-right: 1px solid rgba(120, 170, 255, 0.25); }
.gl-brand-name { margin-left: 0.8rem; font-size: 1.7rem; font-weight: bold; }
.gl-brand-name span { color: #4da3ff; }
.gl-chip { display: flex; flex-direction: column; margin-right: 1.4rem; font-size: 0.8rem; color: var(--muted); }
.gl-chip b { font-size: 1.05rem; color: #5cc0ff; }
.gl-pill, .gl-round, .gl-card, .gl-watch { font-family: inherit; color: var(--text); cursor: pointer; border: 1px solid rgba(110, 170, 255, 0.2); background: rgba(70, 130, 255, 0.07); }
.gl-pill { display: flex; align-items: center; padding: 0.6rem 1.4rem; border-radius: 0.9rem; font-size: 0.95rem; color: #5cc0ff; background: rgba(40, 120, 255, 0.16); }
.gl-pill svg { margin-right: 0.5rem; }
.gl-pill:disabled { opacity: 0.45; }
.gl-round { margin-left: 0.8rem; width: 3.2rem; height: 3.2rem; display: flex; align-items: center; justify-content: center; border-radius: 0.9rem; }
.gl-main { flex: 0 0 auto; display: flex; height: 17.5rem; margin: 1rem 0 1.4rem; }
.gl-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 1.1rem; min-width: 0; }
.gl-main > .gl-card { flex: 1; margin-right: 1.2rem; }
.gl-card-icon { color: #3b9bff; }
.gl-card-title { margin-top: 0.8rem; font-size: 2.2rem; font-weight: 500; }
.gl-card-sub { font-size: 0.85rem; color: var(--muted); }
.gl-side-col { flex: 1.15; display: flex; flex-direction: column; min-width: 0; }
.gl-side { flex: 1; flex-direction: row; justify-content: flex-start; padding: 0 1.4rem; margin-bottom: 1rem; }
.gl-side:last-child { margin-bottom: 0; }
.gl-side-icon { color: #3b9bff; margin-right: 1rem; }
.gl-side-text { display: flex; flex-direction: column; text-align: left; }
.gl-side-title { font-size: 1.6rem; }
.gl-pill:focus, .gl-round:focus, .gl-card:focus, .gl-watch:focus { transform: scale(1.03); border-color: #4da3ff; background: rgba(40, 120, 255, 0.2); box-shadow: 0 0 0 0.14rem #4da3ff, 0 0 1.6rem rgba(60, 140, 255, 0.55); }
.gl-heading { flex: 0 0 auto; margin: 0 0 0.8rem; padding-left: 0.7rem; font-size: 1.5rem; font-weight: 500; border-left: 0.2rem solid #4da3ff; }
.gl-rail { flex: 1; min-height: 0; display: flex; padding: 0.3rem 0.3rem 0; }
.gl-watch { display: flex; flex-direction: column; flex: 0 0 18.6%; margin-right: 1.1rem; padding: 0; text-align: left; border-radius: 0.9rem; overflow: hidden; background: rgba(70, 130, 255, 0.05); }
.gl-thumb { position: relative; display: block; width: 100%; height: 7.6rem; background: #0a1a3a; }
.gl-watch-info { display: flex; flex-direction: column; padding: 0.6rem 0.8rem; }
.gl-watch-title { font-size: 1rem; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-watch-sub { display: flex; justify-content: space-between; margin-top: 0.15rem; font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.gl-left { color: #5cc0ff; margin-left: 0.5rem; }
.gl-empty { align-self: flex-start; padding: 1.4rem 1.6rem; font-size: 1rem; color: var(--muted); border: 1px dashed rgba(110, 170, 255, 0.25); border-radius: 0.9rem; }
.gl-foot { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.4rem 0; font-size: 1rem; color: var(--muted); }
.gl-foot b { color: var(--text); font-weight: 500; }
.gl-clock { font-size: 1.3rem; font-weight: bold; color: var(--text); }

/* abertura estilo cinema: só transform/opacity animam (leve na TV) */
.splash { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 100; overflow: hidden; background: radial-gradient(ellipse at 50% 45%, #0a3a94 0%, #04122f 55%, #01040f 100%); opacity: 1; transition: opacity 0.7s ease-in; }
.splash.leaving { opacity: 0; }
.sp-beam { position: absolute; top: -40%; left: 50%; width: 22rem; height: 180%; margin-left: -11rem; opacity: 0; background: linear-gradient(to bottom, rgba(120, 190, 255, 0.0), rgba(120, 190, 255, 0.22) 45%, rgba(120, 190, 255, 0.0)); transform-origin: 50% 0%; }
.sp-beam-a { animation: sp-sweep-a 5s ease-in-out 0.2s infinite; }
.sp-beam-b { animation: sp-sweep-b 6.5s ease-in-out 0.8s infinite; }
@keyframes sp-sweep-a { 0% { opacity: 0; transform: rotate(-38deg); } 20% { opacity: 1; } 50% { transform: rotate(24deg); opacity: 0.8; } 100% { opacity: 0; transform: rotate(38deg); } }
@keyframes sp-sweep-b { 0% { opacity: 0; transform: rotate(40deg); } 25% { opacity: 0.9; } 55% { transform: rotate(-20deg); opacity: 0.7; } 100% { opacity: 0; transform: rotate(-40deg); } }


.sp-spark { position: absolute; bottom: -2rem; border-radius: 50%; background: #8fc4ff; box-shadow: 0 0 0.8rem #4da3ff; opacity: 0; animation: sp-rise 4s ease-out infinite; }
@keyframes sp-rise { 0% { opacity: 0; transform: translateY(0) scale(0.6); } 15% { opacity: 0.9; } 100% { opacity: 0; transform: translateY(-48rem) scale(1.1); } }

.sp-center { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sp-flare { position: absolute; top: 50%; left: 50%; width: 70rem; height: 0.35rem; margin: -4rem 0 0 -35rem; background: linear-gradient(90deg, rgba(77, 163, 255, 0), #bfe0ff 50%, rgba(77, 163, 255, 0)); box-shadow: 0 0 2rem 0.4rem rgba(77, 163, 255, 0.7); opacity: 0; transform: scaleX(0); animation: sp-flare 2.2s ease-out 1.7s forwards; }
@keyframes sp-flare { 0% { opacity: 0; transform: scaleX(0); } 30% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0.25; transform: scaleX(1.1); } }
.sp-logo { opacity: 0; transform: scale(0.4); filter: drop-shadow(0 0 0 rgba(77, 163, 255, 0)); animation: sp-logo 1.4s cubic-bezier(0.2, 0.9, 0.3, 1.2) 1.6s forwards; }
@keyframes sp-logo { 0% { opacity: 0; transform: scale(0.4); } 60% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
.sp-logo svg { display: block; filter: drop-shadow(0 0 1.8rem rgba(77, 163, 255, 0.75)); }
.sp-title { position: relative; margin-top: 1.6rem; overflow: hidden; font-size: 3.4rem; font-weight: bold; letter-spacing: 0.5rem; color: #fff; white-space: nowrap; text-shadow: 0 0 1.4rem rgba(77, 163, 255, 0.9); }
.sp-letter { display: inline-block; opacity: 0; transform: translateY(1.2rem) scale(1.4); animation: sp-letter 0.5s ease-out forwards; }
@keyframes sp-letter { to { opacity: 1; transform: translateY(0) scale(1); } }
.sp-shine { position: absolute; top: 0; left: 0; width: 30%; height: 100%; opacity: 0; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0)); transform: translateX(-120%); animation: sp-shine 1.2s ease-in-out 3.7s forwards; }
@keyframes sp-shine { 0% { opacity: 1; transform: translateX(-120%); } 100% { opacity: 1; transform: translateX(420%); } }
.sp-tag { margin-top: 0.8rem; font-size: 1.1rem; letter-spacing: 0.25rem; color: var(--muted); text-transform: uppercase; opacity: 0; animation: sp-fade 0.9s ease-out 3.5s forwards; }
@keyframes sp-fade { to { opacity: 1; } }
.sp-load { position: absolute; left: 50%; bottom: 6.4rem; width: 18rem; height: 0.25rem; margin-left: -9rem; overflow: hidden; background: rgba(120, 170, 255, 0.18); border-radius: 0.2rem; }
.sp-load span { display: block; width: 40%; height: 100%; background: #4da3ff; box-shadow: 0 0 0.8rem #4da3ff; animation: sp-load 1.3s ease-in-out infinite; }
@keyframes sp-load { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

/* botão de play "clicado": aparece, aperta, ondula e abre o logo */
.sp-play { position: absolute; top: 50%; left: 50%; width: 9rem; height: 9rem; margin: -4.5rem 0 0 -4.5rem; opacity: 0; transform: scale(0.3); animation: sp-play 1.7s ease-in-out forwards; filter: drop-shadow(0 0 1.6rem rgba(77, 163, 255, 0.8)); }
@keyframes sp-play { 0% { opacity: 0; transform: scale(0.3); } 25% { opacity: 1; transform: scale(1); } 40% { transform: scale(1.06); } 55% { transform: scale(0.84); } 68% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.sp-ring { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0.25rem solid #bfe0ff; border-radius: 50%; opacity: 0; }
.sp-ring.r1 { animation: sp-ripple 0.9s ease-out 0.95s forwards; }
.sp-ring.r2 { animation: sp-ripple 0.9s ease-out 1.2s forwards; }
@keyframes sp-ripple { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }

.keyinfo { margin: 0.6rem 0 0; font-size: 0.7rem; color: var(--muted); }
.warn .saved { color: #5fe0a0; }
.error .diag { margin-top: 0.4rem; font-size: 0.8rem; color: var(--muted); }

/* toque (celular/tablet): listas com janela rolam por arrasto; páginas longas rolam normalmente */
.vlist, .vgrid { touch-action: none; }
/* fileira de episódios: arrastar na horizontal é nosso (JS); na vertical o dedo rola a ficha */
.rail { touch-action: pan-y; }
.touch .page, .touch .detail, .touch .login-card { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.touch .login { align-items: flex-start; }

/* versão */
.ver { margin: 0.5rem 0 0; font-size: 0.7rem; text-align: center; color: var(--muted); opacity: 0.8; }
.ver-inline { color: var(--muted); font-size: 0.8em; }
/* botão Voltar na tela: só em toque */

/* ===== Ficha de filme/série responsiva: tudo em fluxo (sem sobreposição) e rolável quando a tela é baixa ===== */
.detail { display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; }
.detail::-webkit-scrollbar { display: none; }
.detail > * { flex-shrink: 0; }
/* arte e sombra ficam fixas atrás do conteúdo que rola */
.detail > .backdrop-img, .detail > .detail-shade { position: fixed; }
/* elenco no fim da ficha: encosta embaixo quando sobra espaço e nunca cobre as temporadas */
.cast { position: relative; margin-top: auto; padding-top: 0.6rem; }
/* telas mais largas que 16:9 (celular/tablet deitado): ficha mais compacta */
@media (min-aspect-ratio: 17/9) {
  .mcontent { padding-top: 1.2rem; }
  .mtitle { font-size: 2.4rem; margin-bottom: 0.4rem; }
  .mcontent .plot { -webkit-line-clamp: 2; }
  .mactions { margin-top: 0.7rem; }
  .cast-item, .cast.compact .cast-item { width: 5.2rem; margin-right: 0.8rem; }
  .avatar, .cast.compact .avatar { width: 5.2rem; height: 5.2rem; font-size: 1.6rem; }
  .cname, .cast.compact .cname { font-size: 0.7rem; }
}

/* favoritos: estrela na barra de informações (tela cheia) e na linha do canal; toque longo na lista */
.ib-fav { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; margin: 0 1.6rem 0 0; padding: 0.4rem 0.9rem; font-family: inherit; color: #fff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 0.8rem; cursor: pointer; pointer-events: auto; }
.ib-fav.on { background: rgba(255, 207, 92, 0.18); border-color: #ffcf5c; }
.ib-star { font-size: 2rem; line-height: 1.1; color: #fff; }
.ib-fav.on .ib-star { color: #ffcf5c; }
.ib-fav-hint { font-size: 0.7rem; color: #cfc6ee; }
.overlay:not(.show) .ib-fav { pointer-events: none; }
.hint-touch { display: none; }
.touch .hint-tv { display: none; }
.touch .hint-touch { display: inline; }
.touch .star { padding: 0.5rem 1rem; }
.live-fav-note { position: absolute; left: 50%; bottom: 3.4rem; z-index: 5; max-width: 90%; transform: translateX(-50%); padding: 0.6rem 1.4rem; font-size: 1rem; color: #fff; background: var(--overlay-95); border: 1px solid #ffcf5c; border-radius: 2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }

/* Filmes/Séries enquanto o catálogo é pré-carregado: cartão esmaecido, com o aviso abaixo */
.gl-card.busy { opacity: 0.55; cursor: default; }
.gl-card.busy .gl-card-sub { color: #9fc6ff; font-weight: bold; }
.tile-busy { position: absolute; left: 0; right: 0; bottom: 0.7rem; text-align: center; font-size: 0.9rem; font-weight: bold; color: #9fc6ff; }
