:root {
  color-scheme: dark;
  font: 16px/1.45 "Segoe UI", system-ui, sans-serif;
  --night: #100d20;
  --panel: #1b162e;
  --control: #28213e;
  --line: #494061;
  --text: #f5f0ff;
  --muted: #c7bddb;
  --cyan: #65e3ff;
  --pink: #ee9afe;
  --lilac: #b9b8ff;
  --green: #93e4bf;
  --gold: #ffd38a;
  --accent: var(--lilac);
  --screen-gutter: clamp(.9rem, 1.55vw, 1.95rem);
  --home-header-height: clamp(4.5rem, 11.8dvh, 7.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; color: var(--text); background: linear-gradient(125deg, #1c1634, #100d20 60%) fixed; }
html:has(.page), .tabs, .live-dialog, .catalog-page .well-body { scrollbar-width: none; }
html:has(.page)::-webkit-scrollbar, .tabs::-webkit-scrollbar, .live-dialog::-webkit-scrollbar,
.catalog-page .well-body::-webkit-scrollbar { display: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
select { min-width: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.muted, small { color: var(--muted); }
.canais { --accent: var(--cyan); --card: #26334f; }
.filmes { --accent: var(--pink); --card: #3a234b; }
.series { --accent: var(--lilac); --card: #302955; }
.kids { --accent: #8be3ff; }
.radio { --accent: #a8d9e8; }
.jogos { --accent: #edbaff; }
.favoritos { --accent: var(--pink); }
.glyph { display: block; width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; z-index: 3; top: .7rem; left: .7rem; padding: .6rem .9rem; border-radius: .5rem; background: var(--panel); translate: 0 -180%; }
.skip:focus { translate: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.quiet, .primary, .icon-button {
  display: inline-flex; justify-content: center; align-items: center; gap: .5rem;
  min-height: 42px; padding: .45rem .8rem; border: 1px solid var(--line);
  border-radius: 10px; background: var(--control); font-weight: 620;
}
.primary { color: white; background: linear-gradient(108deg, #7b34c4, #4449b6); border-color: #a273d4; }
.primary:hover { filter: brightness(1.14); }
.quiet:hover, .icon-button:hover, .tab:hover, .category:hover { background: #382b51; }
.quiet[aria-current], .quiet[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.icon-button { flex: none; width: 44px; height: 44px; padding: 0; }
.favorite[aria-pressed="true"] { color: var(--gold); }
.favorite[aria-pressed="true"] .glyph { fill: currentColor; }
.startup, .access { min-height: 100svh; display: grid; place-content: center; padding: 1.25rem; }
.startup { justify-items: center; gap: 1rem; color: var(--muted); }
.startup img { width: 220px; }
.access { background: #121024 url('/art/access.jpg') center / cover no-repeat; }
.login-layout { width: min(820px, calc(100vw - 2.5rem)); display: grid; grid-template-columns: minmax(170px, 1fr) minmax(300px, 405px); align-items: center; gap: clamp(1.5rem, 6vw, 4rem); }
.login-identity { display: grid; justify-items: center; gap: .72rem; min-width: 0; text-align: center; }
.login-brand { width: min(100%, 325px); justify-self: center; filter: drop-shadow(0 12px 33px #7149ad7a); }
.login-slogan { color: var(--text); font-size: clamp(1rem, 1.38vw, 1.4rem); font-weight: 650; line-height: 1.25; }
.login-card { display: grid; gap: .6rem; padding: clamp(1.15rem, 3vw, 1.7rem); background: #1b152d; border: 1px solid #564271; border-radius: 22px; box-shadow: 0 18px 50px #09071163; }
.login-card h1 { font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.16; text-align: center; margin-bottom: .45rem; }
.login-card h2 { color: #c9b6ee; font-size: .99rem; }
.login-card label { font-size: .86rem; font-weight: 650; }
input, select, .field, .search { padding: .5rem .7rem; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; background: #120e23; }
.field, .search { display: flex; padding: 0; align-items: center; }
.field input, .search input { min-width: 0; flex: 1; border: 0; background: transparent; }
.field:focus-within, .search:focus-within { border-color: var(--accent); }
.field input:focus-visible, .search input:focus-visible { outline: 0; }
.field > .glyph { margin-left: .7rem; color: #bc9de9; }
.field .icon-button { width: 40px; height: 38px; min-height: 0; margin-right: 3px; }
.login-card .primary { min-height: 47px; margin-top: .4rem; }
.login-note { min-height: 1.3em; color: #ffc3d2; font-size: .875rem; }
.topbar, .page { width: min(1920px, 100%); margin: 0 auto; padding-inline: var(--screen-gutter); }
.topbar { min-height: clamp(4rem, 8.8dvh, 5.75rem); display: flex; align-items: center; gap: clamp(.35rem, .38vw, .5rem); padding-block: .42rem; }
.home-topbar { min-height: var(--home-header-height); }
.brand { flex: none; display: grid; place-items: center; border-radius: 8px; }
.brand img { width: clamp(94px, 10.9vw, 190px); height: clamp(42px, 6.9dvh, 69px); object-fit: contain; }
.home-topbar .brand img { width: clamp(110px, 11.25vw, 206px); height: clamp(47px, 8.3dvh, 83px); margin-left: .48vw; }
.section-topbar .brand { margin-inline-end: clamp(.24rem, .43vw, .5rem); }
.top-actions { display: flex; align-items: center; gap: clamp(.28rem, .38vw, .47rem); margin-left: auto; }
.top-actions .icon-button { width: clamp(34px, 3.18vw, 57px); height: auto; aspect-ratio: 1; min-height: 0; border: 2px solid #4c3a69; border-radius: 39%; background: #181226; }
.top-actions .glyph { width: clamp(18px, 1.65vw, 30px); height: auto; aspect-ratio: 1; }
.home-topbar .top-actions { gap: clamp(.45rem, .65vw, .76rem); }
.home-topbar .top-actions .icon-button { width: clamp(40px, 4.14vw, 74px); border-radius: 50%; background: #2a233e; }
.tabs { display: flex; flex: 1; gap: clamp(.3rem, .36vw, .44rem); min-width: 0; }
.tab { flex: 1 0 auto; flex-basis: 0; display: flex; justify-content: center; align-items: center; min-height: clamp(35px, 5.6dvh, 57px); padding: .3rem .38rem; white-space: nowrap; background: #171225; border: 2px solid #4c3a69; border-radius: clamp(.65rem, 1.02vw, 1.18rem); font-size: clamp(.71rem, 1.02vw, 1.13rem); font-weight: 720; }
.tab[aria-current="page"]::before { content: ''; width: .3em; height: 1.15em; margin-right: .36em; border-radius: 4px; background: linear-gradient(#d9f5ff, var(--accent) 48%, #5e72ee); }
.tab[aria-current="page"] { border-color: #4c3a69; background: #2b2442; }
.top-actions .icon-button:hover, .tab:hover { background: #34284d; }
.logout { margin-left: auto; }
.page { padding-top: .75rem; padding-bottom: 2rem; }
.page.home { min-height: calc(100dvh - var(--home-header-height)); display: grid; grid-template-rows: minmax(min-content, 1fr) auto; align-items: center; padding-block: .55rem .8rem; }
.screen-title, .page-heading h1 { font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.16; }
.screen-title { margin-bottom: 1rem; }
.page-heading { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.home-deck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.095fr); gap: clamp(.55rem, .94vw, 1.12rem); }
.home-card { position: relative; min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: .52rem; padding: clamp(.7rem, .9vw, 1.13rem) clamp(.83rem, 1.25vw, 1.5rem) clamp(.75rem, 1.35vw, 1.6rem); border: 2px solid #4e426f; border-radius: clamp(1rem, 1.75vw, 2rem); background: linear-gradient(150deg, var(--card), #1b152c 90%); transition: border-color .15s; }
.home-card:hover { border-color: var(--accent); }
.home-tile { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; align-items: center; justify-items: center; border-radius: 6px; }
.illustration { width: min(100%, clamp(146px, 14.15vw, 260px)); height: min(100%, clamp(120px, 16vw, 260px)); object-fit: contain; }
.hero-label { display: flex; align-items: center; width: 100%; padding-left: .74rem; }
.hero-label h2 { font-size: clamp(1.16rem, 2.14vw, 2.4rem); line-height: 1.15; }
.card-summary { position: relative; display: flex; align-items: center; gap: clamp(.4rem, .8vw, .9rem); padding-left: .74rem; font-size: clamp(.84rem, 1.22vw, 1.35rem); }
.card-summary .count { flex: 1; background: #2a243e; border: 2px solid #4e426f; padding: .42em .54em; border-radius: 999px; color: color-mix(in srgb, var(--accent), white 55%); }
.card-summary .icon-button { width: clamp(34px, 3.45vw, 61px); height: auto; aspect-ratio: 1; min-height: 0; color: var(--accent); border: 2px solid #4e426f; border-radius: 50%; }
.card-summary .icon-button .glyph { width: 48%; height: auto; }
.quick { min-height: 0; background: #1b152d; border: 2px solid #4e426f; border-radius: clamp(1rem, 1.75vw, 2rem); padding: clamp(.65rem, 1.15vw, 1.32rem); display: grid; grid-template-rows: auto repeat(5, minmax(0, 1fr)) minmax(0, 3.4fr); gap: clamp(.33rem, .48vw, .58rem); }
.quick:has(.home-recent[hidden]) { grid-template-rows: auto repeat(5, minmax(0, 1fr)); }
.quick h2 { font-size: clamp(.94rem, 1.13vw, 1.23rem); color: var(--muted); }
.quick-link { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .55em; padding: .2em .48em; border: 2px solid #4e426f; background: #28213d; border-radius: clamp(.65rem, 1.15vw, 1.28rem); min-height: 38px; font-size: clamp(.87rem, 1.19vw, 1.35rem); }
.quick-link .glyph:first-child { box-sizing: content-box; width: .99em; height: .99em; padding: .44em; border-radius: .68em; color: var(--accent); background: #a599d21c; }
.quick-link:first-of-type { border-color: #9160c4; background: #36234f; font-weight: 700; }
.quick-link:hover { border-color: var(--accent); }
.home-recent { min-width: 0; min-height: 0; display: grid; grid-template-columns: minmax(54px, 31%) minmax(0, 1fr); gap: clamp(.55rem, .84vw, .92rem); padding: .56rem; border: 2px solid #4e426f; border-radius: 16px; background: #171126; }
.home-recent-art { display: grid; align-items: stretch; min-height: 0; overflow: hidden; border-radius: 8px; background: var(--panel); }
.home-recent-art img { width: 100%; height: 100%; object-fit: cover; }
.home-recent-content { display: grid; align-content: center; gap: .25rem; min-width: 0; }
.home-recent-caption { display: flex; align-items: center; justify-content: space-between; gap: .35rem; color: var(--pink); font-size: clamp(.83rem, 1.05vw, 1.2rem); font-weight: 680; }
.home-recent-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; padding: 0; background: transparent; border: 0; text-align: left; font-weight: 680; font-size: clamp(.88rem, 1.22vw, 1.38rem); line-height: 1.2; overflow-wrap: anywhere; }
.home-recent-title:hover { color: var(--pink); }
.home-recent-tools { display: flex; justify-content: end; gap: .28rem; }
.home-recent-tools .icon-button { width: clamp(30px, 2.9vw, 52px); height: auto; aspect-ratio: 1; min-height: 0; border: 2px solid #4e426f; border-radius: 41%; background: transparent; }
.statusbar { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.3rem; padding: .58rem 1.15rem; margin-top: .65rem; border-radius: clamp(.95rem, 1.6vw, 1.77rem); border: 2px solid #4e426f; background: var(--panel); }
.welcome { display: flex; align-items: center; flex: 1 1 240px; gap: .65rem; }
.notice-icon { display: grid; place-items: center; width: clamp(40px, 3.1vw, 56px); aspect-ratio: 1; flex: none; border-radius: 29%; color: var(--lilac); background: #30264a; }
.welcome h2, .metric strong { font-size: clamp(1.04rem, 1.45vw, 1.65rem); line-height: 1.22; }
.welcome p { font-size: clamp(.9rem, 1.25vw, 1.42rem); }
.welcome + .metric strong { color: var(--cyan); }
.metric { display: grid; padding-left: 1rem; border-left: 1px solid var(--line); }
.metric span { font-size: clamp(.8rem, 1.05vw, 1.2rem); color: var(--muted); font-weight: 650; }
.browse-tools, .subtabs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
#app:has(> .page.kids) { background: linear-gradient(110deg, #21103055, #0e173d55), url('/art/section_kids.jpg') center / cover fixed; }
.kids .well { background: #181326ed; }
.kids .page-heading { margin-bottom: .72rem; }
.kids .browse-tools { margin-bottom: 0; }
.kids-tabs { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .38rem; }
.kids-tabs .quiet { min-height: clamp(42px, 5.5dvh, 57px); padding: .25rem .45rem; text-align: center; font-size: clamp(.72rem, 1.02vw, 1.13rem); border: 2px solid #4c3a69; border-radius: clamp(.65rem, 1.02vw, 1.18rem); background: #181226; }
.kids-tabs .quiet[aria-current] { background: #2b2442; color: var(--text); }
.kids-tabs .quiet[aria-current]::before { content: ''; flex: 0 0 .3em; height: 1.19em; border-radius: 4px; background: linear-gradient(#dcf8ff, var(--accent) 55%, #5d77ea); }
.kids .channel:has([aria-current]) { position: relative; background: #2d3553; }
.kids .channel:has([aria-current])::before { position: absolute; content: ''; width: .26em; left: .22em; top: 13%; bottom: 13%; border-radius: 3px; background: linear-gradient(#dcf8ff, var(--cyan) 52%, #4f76dc); pointer-events: none; }
.results > .search { flex: none; width: auto; margin: .55rem .65rem 0; }
.browse-tools { margin-bottom: .8rem; }
.browse-tools:not(:has(input:focus)):has(.search[hidden]) { margin-bottom: 0; }
.page-heading:only-child { margin-bottom: 0; }
.page-heading:has(> .visually-hidden):not(:has(.subtabs)) { margin-bottom: 0; }
.search { width: min(445px, 100%); padding-left: .65rem; }
.search .glyph { color: var(--accent); }
.mobile-categories { display: none; }
.workspace { display: grid; align-items: start; grid-template-columns: minmax(150px, 1fr) minmax(0, 2.78fr); gap: .7rem; }
.workspace.live-layout { grid-template-columns: minmax(150px, 1fr) minmax(175px, 1fr) minmax(0, 1.78fr); }
.well { min-width: 0; border: 2px solid #49375f; background: #181326; border-radius: clamp(.85rem, 1.43vw, 1.65rem); overflow: hidden; }
.well-heading { padding: .7rem .8rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
.well-body { padding: .65rem; }
.categories .well-body { display: grid; align-content: start; gap: .32rem; }
.catalog-page .categories .well-body, .catalog-page .results .well-body { overscroll-behavior: contain; }
.category { position: relative; display: flex; align-items: center; gap: .65rem; text-align: left; min-height: 42px; padding: .4rem .55rem; border: 1px solid transparent; background: #1e1830; border-radius: 8px; user-select: none; }
.category[aria-pressed="true"] { background: #232c44; }
.category[aria-pressed="true"]::before { position: absolute; content: ""; width: .26em; background: linear-gradient(#d9f5ff, var(--accent) 47%, #4567cb); border-radius: 3px; left: .25em; top: 12%; bottom: 12%; }
.category-icon { display: grid; place-items: center; width: 35px; height: 35px; flex: none; border-radius: 29%; color: var(--lilac); background: linear-gradient(140deg, #39285a, #182649); }
.category[data-id=""] .category-icon { color: var(--cyan); background: #1e2d52; }
.category[data-id="favorites"] .category-icon { color: #f19acd; }
.category-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.category-count { flex: none; padding: 0 .35em; border: 2px solid #594476; color: #ece2ff; border-radius: 20px; background: #34264e; font-size: .81em; font-weight: 680; }
.channel-list { display: grid; gap: .38rem; }
.channel { min-width: 0; display: flex; align-items: center; border: 1px solid transparent; border-radius: 10px; background: #1d182e; }
.channel:has([aria-current]) { border-color: #4d6089; background: #262e46; }
.channel-open { display: flex; flex: 1; align-items: center; min-height: 44px; min-width: 0; gap: .45rem; padding: .25rem; border: 0; border-radius: 6px; background: transparent; text-align: left; overflow-wrap: anywhere; }
.channel-open:hover { color: var(--accent); }
.channel-open img { flex: none; width: 35px; height: 35px; border-radius: 5px; object-fit: contain; background: #130f22; }
.poster-grid { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.tile { min-width: 0; position: relative; background: #231a36; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tile:hover { border-color: var(--accent); }
.tile-link { display: flex; flex-direction: column; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; text-align: left; }
.tile-link:focus-visible { outline-offset: -2px; }
.tile-link strong { display: block; width: 100%; padding: .48rem .52rem; line-height: 1.25; font-size: .93rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .poster-visual { width: 100%; position: relative; }
.tile .cover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: #120e23; }
.tile .placeholder, .station .cover { padding: 12%; object-fit: contain; background: radial-gradient(ellipse, #35284d, #150f25); }
.tile .favorite { position: absolute; top: .38rem; right: .38rem; background: #1b142c; }
.poster-tags { position: absolute; top: .42rem; left: .42rem; display: flex; gap: .24rem; flex-wrap: wrap; }
.poster-tags span, .tile .rating { border: 1px solid #77638e; border-radius: 5px; padding: .14rem .3rem; background: #171023ed; font-size: .69rem; font-weight: 700; }
.poster-tags span:first-child { color: var(--accent); }
.tile .rating { position: absolute; bottom: .4rem; right: .4rem; color: var(--gold); }
.catalog-tail { min-height: 1px; }
.list-note { grid-column: 1 / -1; color: var(--muted); padding: .65rem .35rem; }
.preview { scroll-margin-top: .6rem; }
.preview .well-heading { border-bottom: 0; letter-spacing: .13em; color: #d1eef7; padding-bottom: .24rem; }
.preview .well-body { padding: .65rem; }
.live-preview { --accent: var(--cyan); --live-title-size: clamp(1.2rem, 1.82vw, 2.12rem); --guide-title-size: clamp(.98rem, 1.24vw, 1.47rem); --guide-label-size: clamp(.78rem, .94vw, 1.1rem); }
.live-preview .well-heading { font-size: clamp(1.06rem, 1.36vw, 1.54rem); padding: clamp(.5rem, 1.15dvh, .85rem) .65rem .2rem; }
.live-preview .well-body { padding-top: 0; }
.video-stage { position: relative; min-height: 130px; display: grid; overflow: hidden; background: #0e0d1d; }
.screen-image { grid-area: 1 / 1; display: grid; place-items: center; color: #9183aa; min-width: 0; }
.video-stage { border: 2px solid #536d91; border-radius: 5px; }
.video-stage .screen-image { aspect-ratio: 16 / 9; align-content: center; gap: .82rem; color: var(--cyan); }
.video-stage:has(video:not([hidden])) .screen-image { visibility: hidden; }
.screen-image .glyph { width: clamp(28px, 2.65vw, 48px); height: auto; }
.screen-image span { color: var(--text); text-align: center; padding-inline: .5rem; font-size: clamp(.95rem, 1.32vw, 1.5rem); font-weight: 680; }
.player { grid-area: 1 / 1; align-self: end; z-index: 1; min-width: 0; }
.player video, .vod-playback video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #000; }
.live-preview:not(.preview-expanded) video { cursor: zoom-in; }
.player-status { padding: .55rem .65rem; font-size: .88rem; background: #12101eee; color: var(--muted); }
.player-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; padding: .4rem .6rem; background: #1b152b; }
.player-actions label { color: var(--muted); font-size: .84rem; }
.player-actions select { min-height: 38px; margin-left: .24rem; }
.live-overlay { padding-inline: .22rem; }
.playback-hint { padding: .32rem .25rem 0; font-size: clamp(.77rem, 1.06vw, 1.15rem); text-align: center; }
.preview-info { display: grid; gap: clamp(.65rem, 1.52dvh, 1rem); padding: clamp(.75rem, 2.65dvh, 1.75rem) 0 .14rem; }
.live-preview:not(.preview-expanded) .preview-info { padding-top: clamp(.55rem, 1.25dvh, .9rem); }
.preview-title { display: flex; justify-content: space-between; align-items: center; gap: .55rem; }
.preview-title h3 { color: var(--text); font-size: var(--live-title-size, 1.15rem); line-height: 1.12; overflow-wrap: anywhere; }
.channel-actions { display: flex; flex: none; align-items: center; gap: .45rem; }
.preview-fullscreen { width: clamp(38px, 2.65vw, 49px); height: auto; aspect-ratio: 1; min-height: 0; }
.preview-sound { position: absolute; z-index: 2; right: 1rem; top: 1rem; background: #21182be8; }
.preview-expanded { position: fixed; inset: 0; z-index: 5; width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; background: #07060d; }
.preview-expanded .well-body { height: 100%; padding: 0; overflow: hidden; }
.preview-expanded .well-heading, .preview-expanded .playback-hint, .preview-expanded .favorite-labeled { display: none; }
.preview-expanded .video-stage { position: absolute; inset: 0; min-height: 0; border: 0; border-radius: 0; }
.preview-expanded .video-stage .screen-image { min-height: 0; aspect-ratio: auto; background: #07060d; }
.preview-expanded .player { position: absolute; inset: 0; grid-area: auto; align-self: stretch; display: grid; grid-template: 1fr / 1fr; pointer-events: none; }
.preview-expanded .player > * { pointer-events: auto; }
.preview-expanded .player-status, .preview-expanded .player-actions { grid-area: 1 / 1; place-self: start center; background: #181326ed; border-radius: 8px; }
.preview-expanded .player-actions { place-self: start end; }
.preview-expanded .player video { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; object-fit: contain; }
.preview-expanded .live-overlay { position: absolute; z-index: 3; inset: auto 0 0; padding: clamp(.65rem, 1.65dvh, 1.1rem) clamp(.85rem, 2.67vw, 3.4rem) max(env(safe-area-inset-bottom), clamp(.65rem, 1.85dvh, 1.2rem)); background: linear-gradient(108deg, #171129ef, #2b2040f0); transition: opacity .18s, visibility .18s; }
.preview-expanded .live-overlay.controls-idle:not(:has(:focus-visible)) { opacity: 0; visibility: hidden; }
.preview-expanded .preview-info { display: flex; align-items: center; justify-content: space-between; gap: .55rem; padding: 0; }
.preview-expanded .preview-title { flex: 1; }
.preview-expanded .guide-schedule { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; padding: .68rem 0 0; }
.preview-expanded .programme { grid-template-areas: 'label label' 'time title'; grid-template-columns: max-content minmax(0, 1fr); gap: .22rem .65rem; justify-content: start; min-height: 0; border: 0; background: #ffffff06; }
.preview-expanded .programme time, .preview-expanded .programme strong { color: var(--text); font-size: clamp(.9rem, 1.13vw, 1.3rem); font-weight: 450; }
.preview-expanded .programme strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-expanded .programme progress, .preview-expanded .programme.current .programme-label::before { display: none; }
.preview-expanded::backdrop { background: #07060d; }
.channel-identity { display: flex; align-items: center; gap: clamp(.55rem, .92vw, 1.1rem); min-width: 0; }
.channel-identity-art { display: grid; place-items: center; width: clamp(42px, 4vw, 73px); aspect-ratio: 1; flex: none; border: 1px solid var(--line); background: var(--control); border-radius: 8px; color: var(--accent); overflow: hidden; }
.channel-identity-art img { width: 100%; height: 100%; object-fit: contain; }
.channel-identity-names { min-width: 0; }
.channel-category { font-size: clamp(.8rem, 1.12vw, 1.25rem); margin-top: .15em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.favorite-labeled { white-space: nowrap; flex: none; }
.qualities { display: flex; align-items: center; gap: clamp(.26rem, .6vw, .66rem); flex-wrap: wrap; }
.quality-label { margin-inline-end: .04rem; }
.qualities button, .fullscreen-back, .live-preview .favorite-labeled { min-height: clamp(36px, 5.15dvh, 54px); padding: .22em .7em; border: 2px solid #4c3a69; border-radius: clamp(.55rem, .7vw, .8rem); font-size: clamp(.84rem, 1.06vw, 1.2rem); }
.qualities button { min-width: clamp(44px, 4.25vw, 76px); }
.qualities button[aria-pressed="true"], .live-preview .favorite-labeled[aria-pressed="true"] { background: linear-gradient(112deg, #892acb, #443fba); color: white; border-color: transparent; }
.fullscreen-back .glyph { width: .86em; height: .86em; }
.source-quality { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; font-size: .9rem; }
.guide-schedule { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(.4rem, .78dvh, .8rem); padding: clamp(.55rem, 1.35dvh, .96rem) 0 .14rem; }
.guide-schedule > p { grid-column: 1 / -1; }
.programme { --programme-tone: #ffcf76; --guide-stripe: linear-gradient(#fff3be, #ffc96c 48%, #d97c2d); position: relative; display: grid; grid-template-areas: 'label time title' 'progress progress progress'; grid-template-columns: max-content max-content minmax(0, 1fr); gap: .48rem .57rem; align-items: baseline; align-content: center; min-height: clamp(51px, 7dvh, 74px); padding: clamp(.53rem, 1.15dvh, .79rem) .85rem clamp(.53rem, 1.15dvh, .79rem) clamp(1.1rem, 1.8vw, 2rem); border: 2px solid #71563b; border-radius: 10px; background: #32252e; font-size: var(--guide-label-size); color: var(--programme-tone); }
.programme.current { --programme-tone: #68dbff; --guide-stripe: linear-gradient(#d5f3ff, #69cefd 50%, #3875d6); border-color: #3c5d80; background: #1b2742; }
.programme::before { position: absolute; content: ''; width: .32rem; left: clamp(.32rem, .56vw, .68rem); top: .55rem; bottom: .55rem; border-radius: 999px; background: var(--guide-stripe); }
.programme-label { grid-area: label; font-weight: 760; white-space: nowrap; }
.programme.current .programme-label::before { content: ''; display: inline-block; width: .52em; height: .52em; margin-right: .42em; border-radius: 50%; background: #ff4b68; vertical-align: .08em; }
.programme time { grid-area: time; font-weight: 590; white-space: nowrap; }
.programme strong { grid-area: title; color: var(--text); font-size: var(--guide-title-size); line-height: 1.17; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.programme progress { grid-area: progress; appearance: none; width: 100%; height: .39rem; accent-color: var(--cyan); background: #293755; border: 0; }
.programme progress::-webkit-progress-bar { background: #293755; }
.programme progress::-webkit-progress-value { background: var(--cyan); }
.programme progress::-moz-progress-bar { background: var(--cyan); }
.favorites-grid { margin-top: .85rem; }
.radio-tabs, .sports-tabs, .sports-days { display: flex; gap: .52rem; }
.radio-tabs { overflow: auto; scrollbar-width: none; margin: .35rem 0 .72rem; }
.radio .mobile-categories, .radio .browse-tools { display: none; }
.radio-category, .sports-tab { flex: none; min-height: clamp(40px, 5.8dvh, 60px); padding: .42em 1em; border: 2px solid #4c3a69; border-radius: clamp(.65rem, 1.17vw, 1.32rem); background: #171226; font-size: clamp(.86rem, 1.12vw, 1.25rem); font-weight: 550; }
.radio-category[aria-pressed="true"], .sports-tab[aria-pressed="true"], .radio-toggle { border-color: transparent; background: linear-gradient(106deg, #852ace, #4246b6); color: #fff; }
.radio .results .well-heading { padding: .7rem .7rem .1rem; border: 0; color: var(--muted); font-size: clamp(.92rem, 1.32vw, 1.44rem); font-weight: 550; }
.radio .results .well-body { padding-top: .15rem; }
.radio .channel-open { font-weight: 660; }
.radio .channel:has([aria-current]) { border-color: #7db4cb; background: #3d5063; }
.radio .workspace > .radio-studio { position: relative; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; min-height: 315px; width: 100%; overflow: hidden; padding: clamp(.7rem, 1.26vw, 1.5rem); border: 0; background: linear-gradient(0deg, #110c20 1%, #110c2030 43%, #110c2018 77%), url('/art/radio_studio.png') center / cover; }
.radio-on-air { position: absolute; inset: 1rem auto auto 1rem; padding: .29em .72em; border-radius: 40px; background: #151126e8; font-size: clamp(.8rem, 1.06vw, 1.19rem); font-weight: 720; letter-spacing: .12em; }
.radio-live-dot { display: inline-block; width: .67em; height: .67em; margin-right: .48em; border-radius: 50%; background: #fa596b; }
.radio-player-status { position: absolute; top: 3.7rem; left: .85rem; right: .85rem; }
.radio-player-status audio { display: none; }
.radio-player-status .player-status, .radio-player-status .player-actions { border-radius: .55rem; }
.radio-wave { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: center; height: clamp(36px, 7.4dvh, 78px); }
.radio-wave i { width: 39%; height: 94%; justify-self: center; border-radius: 999px; background: #73d6f8; transform: scaleY(.11); opacity: .28; }
.radio-wave i:nth-child(5n+1) { background: #d592ec; }
.radio-summary { display: flex; align-items: center; gap: .7rem; }
.radio-labels { flex: 1; min-width: 0; }
.radio-labels h2 { font-size: clamp(1.24rem, 1.77vw, 1.95rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.radio-labels p { font-size: clamp(.9rem, 1.33vw, 1.46rem); }
.radio-toggle { flex: none; width: clamp(48px, 4.3vw, 78px); aspect-ratio: 1; border-radius: 28%; padding: 0; }
.radio-toggle:disabled { opacity: .88; }
.radio-toggle .glyph { width: 47%; height: auto; }
.radio-studio:not(.is-playing) .radio-toggle .glyph { fill: currentColor; }
.radio-favorite .icon-button { background: #171226b8; }
#app:has(> .sports-page) { --sports-art: url('/art/sports_football.jpg'); background: linear-gradient(105deg, #110a20c4, #100d20a6), var(--sports-art) center / cover fixed; }
#app:has(> .sports-page[data-sport="basquete"]) { --sports-art: url('/art/sports_basketball.jpg'); }
#app:has(> .sports-page[data-sport="ufc"]) { --sports-art: url('/art/sports_arena.jpg'); }
.sports-page { display: flex; flex-direction: column; gap: .56rem; }
.sports-heading { display: flex; gap: .5rem; align-items: center; justify-content: space-between; }
.sports-heading .screen-title { margin: 0; }
.sports-total { color: var(--accent); font-size: clamp(.85rem, 1.25vw, 1.4rem); white-space: nowrap; }
.sports-tabs .sports-tab { flex: 1; }
.sports-days .sports-tab { min-height: clamp(35px, 4.8dvh, 51px); min-width: clamp(76px, 8vw, 147px); }
.sports-search:has(.search[hidden]) { display: none; }
.sports-workspace { display: grid; grid-template-columns: minmax(185px, 25.6%) minmax(0, 1fr); gap: .75rem; }
.sports-channels { display: flex; flex-direction: column; background: #181326ed; }
.sports-channels .well-heading { border: 0; padding: .67rem .75rem .28rem; color: var(--muted); font-size: clamp(.88rem, 1.09vw, 1.24rem); }
.sports-channels .well-body { display: grid; gap: .53rem; align-content: start; padding: .32rem .47rem .5rem; }
.sports-filter { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .58em; align-items: center; min-height: clamp(45px, 8.15dvh, 83px); padding: .44em .51em; border: 2px solid transparent; border-radius: .9rem; background: #231b35; color: var(--text); text-align: left; font-size: clamp(.85rem, 1.12vw, 1.29rem); font-weight: 680; }
.sports-filter[aria-pressed="true"], .sports-filter:hover { border-color: #55436e; background: #35274c; }
.sports-filter img, .sports-filter .glyph { width: clamp(26px, 2.73vw, 50px); height: auto; aspect-ratio: 1; object-fit: contain; }
.sports-filter .glyph, .sports-filter strong { color: var(--accent); }
.sports-feed { min-width: 0; display: grid; align-content: start; gap: clamp(.48rem, .95dvh, .72rem); }
.game-card { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 2.6fr) auto; align-items: center; gap: .8rem; padding: clamp(.6rem, .88vw, 1.02rem); border-radius: clamp(.72rem, 1.13vw, 1.35rem); background: linear-gradient(115deg, #1d162eea, #2b2140ed); }
.game-league { position: relative; min-width: 0; display: grid; justify-items: start; gap: .27rem; padding-left: clamp(.55rem, .93vw, 1.04rem); }
.game-league::before { content: ''; position: absolute; inset: 19% auto 15% 0; width: .28rem; border-radius: 3px; background: linear-gradient(#ffd9ff, #b67ed8 72%, #523a75); }
.game-league img, .game-league .glyph { width: clamp(26px, 3vw, 57px); height: auto; aspect-ratio: 1; object-fit: contain; color: #ba99d5; }
.game-league p { font-size: clamp(.76rem, 1.02vw, 1.15rem); font-weight: 670; line-height: 1.12; overflow-wrap: anywhere; }
.game-league strong { font-size: clamp(.89rem, 1.22vw, 1.42rem); }
.game-matchup { min-width: 0; display: grid; gap: .33rem; text-align: center; }
.match { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr); gap: clamp(.28rem, .55vw, .64rem); align-items: center; font-size: clamp(.88rem, 1.28vw, 1.43rem); font-weight: 690; }
.match span:first-child { text-align: right; }
.match span:last-child { text-align: left; }
.match img, .match .glyph { height: auto; width: clamp(26px, 3.53vw, 66px); aspect-ratio: 1; object-fit: contain; }
.game-status { color: var(--gold); font-size: clamp(.76rem, 1.04vw, 1.18rem); font-weight: 680; }
.game-watch { flex-direction: column; min-width: clamp(100px, 10vw, 185px); min-height: clamp(50px, 7.9dvh, 80px); border: 2px solid #4c3a69; border-radius: .95rem; background: #20162c; color: var(--accent); font-size: clamp(.84rem, 1.15vw, 1.3rem); gap: .14em; }
.game-watch small { max-width: 15ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.match span { overflow-wrap: anywhere; }
.score, .facts { color: var(--accent); }
.facts { font-size: .875rem; }
.broadcasts { display: flex; gap: .37rem; flex-wrap: wrap; }
.broadcasts .quiet { font-size: .85rem; }
.information:has(.broadcasts) { width: min(550px, calc(100% - 1.5rem)); }
.information .broadcasts { padding-top: .7rem; }
.details-dialog { border: 1px solid #6a538a; width: min(760px, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); padding: 0; border-radius: 16px; background: #1b152c; color: var(--text); }
.details-dialog::backdrop { background: #070510c9; }
.cinematic { isolation: isolate; position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: none; }
.cinematic.is-watching { overflow: hidden; }
.detail-backdrop, .cinematic::before { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.detail-backdrop { object-fit: cover; object-position: center 28%; z-index: -2; }
.cinematic::before { content: ''; z-index: -1; background: linear-gradient(0deg, #100b20 2%, #100b2060 72%), linear-gradient(90deg, #130e24ed, #140e2491 52%, #18122835); }
.title-details { display: flex; flex-direction: column; min-height: 100%; }
.title-bar { display: flex; align-items: center; gap: clamp(.55rem, .95vw, 1.1rem); padding: clamp(.6rem, 1.2dvh, .9rem) var(--screen-gutter); }
.title-back { background: #19132be0; border: 2px solid #4c3a69; border-radius: clamp(.7rem, 1.18vw, 1.35rem); padding: .45em .68em; min-height: clamp(40px, 6dvh, 65px); font-size: clamp(1rem, 1.27vw, 1.48rem); }
.title-back .glyph { width: .76em; height: .76em; }
.title-type { color: var(--accent); letter-spacing: .12em; font-weight: 760; font-size: clamp(.86rem, 1.13vw, 1.3rem); }
.title-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 15%); align-items: center; gap: clamp(1rem, 5vw, 6rem); padding: 1rem clamp(1rem, 8.2vw, 10rem) 1.3rem var(--screen-gutter); }
.filmes .title-hero { flex: 1; padding-bottom: 4dvh; }
.series .title-hero { min-height: 44dvh; }
.cinematic .detail-art { width: 100%; max-height: min(41dvh, 390px); aspect-ratio: 2 / 3; object-fit: cover; border-radius: clamp(.5rem, .85vw, .95rem); }
.title-name { font-size: clamp(1.85rem, 3.25vw, 4rem); line-height: 1.06; overflow-wrap: anywhere; }
.title-name::after { content: ''; display: block; width: min(100%, 34rem); height: .32rem; margin-top: .24em; background: linear-gradient(90deg, var(--accent) 0 1.65rem, #46355261 1.65rem 100%); }
.title-facts { display: flex; align-items: baseline; flex-wrap: wrap; gap: .28rem 1rem; font-size: clamp(.9rem, 1.23vw, 1.44rem); }
.title-rating { color: var(--gold); }
.cinematic .synopsis, .vod-intro > p { max-width: 71ch; color: var(--muted); font-size: clamp(1rem, 1.39vw, 1.64rem); line-height: 1.25; }
.title-actions { display: flex; flex-wrap: wrap; gap: clamp(.38rem, .63vw, .72rem); }
.title-actions > * { min-height: clamp(45px, 7.35dvh, 76px); padding-inline: clamp(.74rem, 2.1vw, 2.5rem); border: 2px solid #4c3a69; border-radius: clamp(.7rem, 1.14vw, 1.3rem); font-size: clamp(.9rem, 1.31vw, 1.52rem); }
.title-actions .quiet { background: #1a142be8; }
.title-actions .primary, .season-tabs [aria-pressed="true"], .episode-download { border-color: transparent; color: #fff; background: linear-gradient(105deg, #842fcf, #4449b6); }
.title-actions .favorite-labeled { color: var(--pink); }
.seasons-panel { margin-top: auto; padding: clamp(.58rem, 1vw, 1.1rem); border: 2px solid #4c3a69; border-radius: clamp(.8rem, 1.3vw, 1.5rem); background: #2d2245b0; }
.seasons-panel h3 { font-size: clamp(1.29rem, 1.65vw, 1.95rem); margin-bottom: .42rem; }
.season-tabs, .episodes { display: flex; gap: .55rem; overflow: auto; scrollbar-width: none; }
.season-tabs { padding: .16rem .16rem .46rem; }
.season-tabs .quiet { flex: none; background: #181226; border: 2px solid #4c3a69; border-radius: clamp(.65rem, 1.15vw, 1.3rem); min-height: clamp(42px, 5.9dvh, 62px); padding-inline: .94em; font-size: clamp(.86rem, 1.23vw, 1.41rem); }
.season-tabs .quiet[aria-pressed="true"] { border-color: transparent; color: #fff; background: linear-gradient(105deg, #842fcf, #4449b6); }
.episodes { padding: .18rem .18rem .32rem; scroll-padding: .3rem; scroll-snap-type: x proximity; }
.episode-card { position: relative; flex: 0 0 min(24%, 420px); min-width: 136px; border: 2px solid #4c3a69; border-radius: clamp(.6rem, 1.16vw, 1.35rem); overflow: hidden; background: #181225; scroll-snap-align: start; }
.episode-watch { display: grid; gap: .35rem; justify-items: start; width: 100%; height: 100%; padding: 0 0 clamp(.5rem, 1.15vw, 1.15rem); border: 0; color: var(--text); background: transparent; text-align: left; }
.episode-watch:focus-visible { outline-offset: -3px; }
.episode-watch img { width: 100%; height: clamp(92px, 24dvh, 245px); object-fit: cover; }
.episode-watch strong { margin: .15rem .65rem 0; font-size: clamp(.89rem, 1.19vw, 1.35rem); }
.episode-watch small { padding: 0 3.5rem 0 .65rem; text-align: left; }
.episode-download { position: absolute; right: .35rem; bottom: .35rem; min-height: clamp(34px, 5.7dvh, 63px); width: auto; aspect-ratio: 1; padding: .35rem; border-radius: 30%; }
.dialog-content { padding: .8rem; }
.dialog-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .5rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.dialog-bar h2 { font-size: clamp(1.1rem, 2.6vw, 1.6rem); overflow-wrap: anywhere; }
.information { width: min(400px, calc(100% - 1.5rem)); }
.information .dialog-bar { grid-template-columns: minmax(0, 1fr) auto; }
.account-info { display: grid; grid-template-columns: 1fr auto; gap: .6rem; color: var(--muted); }
.account-info dd { margin: 0; color: var(--text); font-weight: 650; }
.setting-option { display: flex; align-items: center; gap: .6rem; margin-top: .7rem; }
.setting-option input { min-height: 0; accent-color: var(--lilac); }
.live-dialog-bar { padding-bottom: .55rem; }
.details-layout { display: grid; grid-template-columns: minmax(0, 25%) minmax(0, 1fr); gap: 1rem; align-items: start; margin-top: .8rem; }
.detail-art { width: 100%; max-height: 300px; object-fit: contain; border-radius: 9px; background: #120e23; }
.description { display: grid; gap: .6rem; align-content: start; justify-items: start; }
.synopsis { overflow-wrap: anywhere; }
.vod-playback, .vod-media, .vod-chrome { position: absolute; inset: 0; }
.vod-playback { overflow: hidden; }
.vod-media { opacity: 0; pointer-events: none; background: #050407; }
.vod-playback.has-frame .vod-media { opacity: 1; pointer-events: auto; }
.vod-media video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.vod-intro { position: absolute; inset: 50% auto auto clamp(1rem, 3.1vw, 3.8rem); translate: 0 -40%; width: min(72%, 77rem); display: grid; gap: .86rem; }
.vod-intro h2 { font-size: clamp(1.6rem, 2.65vw, 3.1rem); line-height: 1.13; }
.vod-loading { align-self: start; }
.vod-loading .player-status { width: fit-content; background: #171020cc; border-radius: .5rem; font-size: clamp(1rem, 1.23vw, 1.4rem); }
.vod-loading:has(.player-actions[hidden]) .player-status:not([hidden])::before { content: ''; display: inline-block; width: 1em; height: 1em; margin-right: .6em; vertical-align: -.12em; border: .15em solid var(--accent); border-right-color: transparent; border-radius: 50%; animation: vod-spin 1s linear infinite; }
@keyframes vod-spin { to { rotate: 360deg; } }
.vod-loading-back { position: absolute; top: 1rem; left: clamp(1rem, 3.1vw, 3.8rem); }
.vod-playback.has-frame .vod-intro { inset: 5rem auto auto 50%; translate: -50%; width: auto; }
.vod-playback.has-frame .vod-intro > h2, .vod-playback.has-frame .vod-intro > p, .vod-playback.has-frame .vod-loading-back { display: none; }
.vod-chrome { display: none; pointer-events: none; }
.vod-playback.has-frame .vod-chrome { display: flex; flex-direction: column; justify-content: space-between; }
.vod-playback.controls-idle .vod-chrome { visibility: hidden; }
.vod-playback.controls-idle video { cursor: none; }
.vod-playback:focus { outline: none; }
.vod-title { padding: clamp(.8rem, 2.45dvh, 1.65rem) var(--screen-gutter) 3.4rem; background: linear-gradient(#100d1eeb, transparent); font-size: clamp(1.03rem, 1.62vw, 1.9rem); }
.vod-footer { background: linear-gradient(0deg, #140f23 58%, #151020c2, transparent); }
.vod-timeline { display: grid; grid-template-columns: auto max-content minmax(0, 1fr) max-content; align-items: center; gap: clamp(.38rem, 1.12vw, 1.35rem); padding: 0 var(--screen-gutter); pointer-events: auto; }
.vod-timeline time { font-variant-numeric: tabular-nums; font-size: clamp(.74rem, 1.13vw, 1.26rem); font-weight: 650; }
.vod-seek { padding: 0; width: 100%; min-width: 0; min-height: 36px; border: 0; background: transparent; accent-color: #af80e5; }
.vod-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.3rem, .54vw, .62rem); padding: clamp(.6rem, 1.8dvh, 1.25rem); pointer-events: auto; }
.vod-controls .icon-button, .vod-timeline .icon-button { width: clamp(40px, 4.08vw, 75px); height: auto; min-height: 0; aspect-ratio: 1; border: 2px solid #4c3a69; background: #1a1429; border-radius: 29%; }
.vod-controls .glyph, .vod-timeline .glyph { width: 51%; height: auto; }
.vod-menu { width: min(650px, calc(100% - 1.5rem)); border: 2px solid #594276; background: linear-gradient(145deg, #29213a, #1b1428); }
.vod-menu::backdrop { background: #130c2566; }
.vod-menu .dialog-content { display: grid; gap: .8rem; padding: clamp(.85rem, 2vw, 1.55rem); }
.vod-menu h2 { font-size: clamp(1.3rem, 1.87vw, 2rem); }
.vod-menu .dialog-content > .quiet { justify-self: end; }
.vod-menu-fields, .vod-episode-list { display: grid; gap: .62rem; }
.vod-menu .vod-episode-list { overflow-y: auto; max-height: min(52dvh, 24rem); scrollbar-width: thin; }
.vod-menu .vod-episode-list:empty { display: none; }
.vod-options { display: grid; gap: .3rem; padding: 0; border: 0; margin: 0; }
.vod-option, .vod-volume { display: flex; align-items: center; gap: .72em; min-height: 45px; font-size: clamp(.94rem, 1.23vw, 1.4rem); }
.vod-option input { min-height: 0; accent-color: #ba9aef; }
.vod-volume input { flex: 1; }
.vod-playback[data-captions="contrast"] video::cue { color: #fff098; background-color: #100d20; }
.page.ajustes { min-height: 100dvh; padding: clamp(.55rem, 1.36dvh, 1rem) var(--screen-gutter) .85rem; }
.settings-header { display: flex; align-items: center; gap: clamp(.65rem, 1.05vw, 1.3rem); margin-bottom: clamp(.55rem, 1.45dvh, 1rem); }
.settings-header h1, .settings-panel h2 { font-size: clamp(1.4rem, 1.9vw, 2.2rem); line-height: 1.18; }
.settings-header .settings-back { min-height: clamp(44px, 8dvh, 81px); padding-inline: .68em; font-size: clamp(.91rem, 1.24vw, 1.45rem); }
.settings-version { margin-inline-start: auto; font-size: clamp(.72rem, 1.08vw, 1.22rem); font-weight: 700; }
.settings-shell { display: grid; grid-template-columns: minmax(170px, 18.5%) minmax(0, 1fr); gap: clamp(.55rem, .85vw, 1rem); }
.settings-navigation { display: grid; align-content: start; gap: .38rem; min-height: calc(100dvh - 8rem); padding: clamp(.44rem, .54vw, .62rem); border: 2px solid #4c3a69; border-radius: clamp(.8rem, 1.35vw, 1.45rem); background: #1c162c; }
.settings-back, .settings-navigation .settings-category, .settings-row { border: 2px solid #4c3a69; border-radius: clamp(.7rem, 1.14vw, 1.35rem); background: #181226; }
.settings-back:hover, .settings-navigation .settings-category:hover, .settings-row:hover { border-color: #8666af; background: #261c39; }
.settings-navigation .settings-category { justify-content: flex-start; min-height: clamp(43px, 8dvh, 81px); padding-inline: clamp(.55rem, 1vw, 1.15rem); text-align: left; font-size: clamp(.85rem, 1.32vw, 1.5rem); font-weight: 490; }
.settings-navigation .settings-category[aria-current="true"] { background: linear-gradient(108deg, #8231d1, #4247b5); border-color: transparent; color: var(--text); }
.settings-category .glyph { color: #d4edf7; width: 1em; height: 1em; }
.settings-panel { min-width: 0; }
.settings-panel h2 { margin: .24em 0 .39em; }
.settings-rows { display: grid; gap: clamp(.43rem, 1dvh, .7rem); }
.settings-row { display: flex; align-items: center; gap: clamp(.5rem, .85vw, 1.03rem); min-height: clamp(62px, 8.9dvh, 92px); padding: .5rem clamp(.52rem, .77vw, .9rem); text-align: left; }
.settings-row-icon { display: grid; place-items: center; flex: none; width: clamp(36px, 3.5vw, 64px); aspect-ratio: 1; border-radius: 27%; color: var(--pink); background: #34254c; }
.settings-row-icon .glyph { width: 49%; height: 49%; }
.settings-row-text { display: grid; gap: .13em; flex: 1; min-width: 0; line-height: 1.25; font-size: clamp(.86rem, 1.2vw, 1.38rem); }
.settings-row-text strong { font-size: clamp(1rem, 1.48vw, 1.68rem); }
.settings-row > .glyph { color: var(--muted); margin-inline-end: .22em; }
.settings-dialog { width: min(38rem, calc(100vw - 1.5rem)); background: #211931; border: 2px solid #5c447a; }
.settings-dialog .dialog-content, .settings-form { display: grid; gap: .84rem; }
.settings-dialog h2 { font-size: clamp(1.2rem, 1.65vw, 1.75rem); }
.settings-choices { display: grid; gap: .22rem; max-height: 48dvh; overflow: auto; border: 0; margin: 0; padding: 0 .18rem; }
.settings-choice { display: flex; align-items: center; min-height: 42px; gap: .65rem; }
.settings-choice input { min-height: 0; width: 1.1rem; height: 1.1rem; accent-color: #be9cec; }
.settings-form > label:not(.settings-choice) { display: grid; gap: .3rem; }
.settings-buttons { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .55rem; }
.settings-form > button { justify-self: start; }
@media (max-width: 670px) {
  .settings-shell { grid-template-columns: minmax(0, 1fr); }
  .settings-navigation { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; min-height: 0; }
  .settings-panel h2 { margin-top: .36em; }
}
#toast { position: fixed; z-index: 4; right: 1rem; bottom: 1rem; padding: .66rem .9rem; margin: 0; border: 1px solid var(--accent); border-radius: 9px; background: #231934; max-width: calc(100vw - 2rem); }
@media (max-width: 1060px) {
  .home-deck { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-card { min-height: 230px; }
  .quick, .quick:has(.home-recent[hidden]) { grid-column: 1 / -1; grid-template: auto auto / repeat(5, minmax(0, 1fr)); padding: .8rem; }
  .quick h2 { grid-column: 1 / -1; }
  .home-recent { grid-column: 1 / -1; grid-template-columns: 80px minmax(0, 1fr); }
  .home-recent-art { height: 112px; }
}
@media (max-width: 860px) {
  .topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem; }
  .brand { justify-self: start; }
  .tabs { grid-row: 2; grid-column: 1 / -1; overflow-x: auto; padding: 3px; }
}
@media (max-width: 760px) {
  .workspace, .workspace.live-layout { grid-template-columns: minmax(0, 1fr); }
  .categories { display: none; }
  .mobile-categories { display: block; flex: 1 1 138px; }
  .browse-tools:has(.search[hidden]) { margin-bottom: .65rem; }
  .kids .browse-tools { margin-bottom: .65rem; }
  .search { flex: 1 1 170px; }
  .preview { grid-row: 1; }
  .radio .workspace > .radio-studio { min-height: clamp(240px, 49vh, 430px); }
  .sports-workspace { grid-template-columns: minmax(0, 1fr); }
  .sports-channels .well-body { display: flex; overflow-x: auto; scrollbar-width: none; }
  .sports-filter { flex: none; min-width: 140px; max-width: 240px; }
  .sports-tabs .sports-tab { min-width: 0; padding-inline: .35rem; }
  .game-card { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'match match' 'league watch'; }
  .game-league { grid-area: league; }
  .game-matchup { grid-area: match; }
  .game-watch { grid-area: watch; }
  .quick, .quick:has(.home-recent[hidden]) { grid-template: auto auto auto / repeat(2, minmax(0, 1fr)); }
  .preview-expanded .preview-info { display: grid; }
  .preview-expanded .preview-title { width: 100%; }
  .preview-expanded .programme { grid-template-areas: 'label' 'time' 'title'; grid-template-columns: minmax(0, 1fr); }
  #app:has(> .catalog-page .poster-grid) { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }
  #app:has(> .catalog-page .poster-grid) > .topbar { flex: none; }
  .catalog-page:has(.poster-grid) { display: flex; flex-direction: column; flex: 1; min-height: 0; padding-bottom: .65rem; }
  .catalog-page:has(.poster-grid) > .workspace { flex: 1; min-height: 0; align-items: stretch; }
  .catalog-page:has(.poster-grid) .results { display: flex; flex-direction: column; }
  .catalog-page:has(.poster-grid) .results > .well-body { flex: 1; min-height: 0; overflow: auto; }
}
@media (max-width: 545px) {
  .login-layout { grid-template-columns: 1fr; gap: .75rem; }
  .login-brand { width: 165px; }
  .login-card { gap: .5rem; }
  .brand img { width: 80px; height: 40px; }
  .top-actions .icon-button { width: clamp(32px, 9.6vw, 40px); min-height: 37px; }
  .top-actions .glyph { width: 17px; height: 17px; }
  .page.home { display: block; }
  .home-deck { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
  .home-card { min-height: 100px; padding: .6rem; grid-template: auto auto / minmax(0, 1fr); }
  .home-tile { grid-template: auto / minmax(0, 31%) minmax(0, 1fr); }
  .illustration { height: 61px; }
  .hero-label { padding-left: .45rem; gap: .25rem; }
  .card-summary { margin-inline-start: 31%; padding-inline-start: .45rem; }
  .quick, .quick:has(.home-recent[hidden]) { grid-template-columns: minmax(0, 1fr); gap: .44rem; padding: .65rem; }
  .statusbar { padding: .7rem .8rem; gap: .6rem 1rem; }
  .metric { padding-left: .55rem; }
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .list-note { padding: .55rem .25rem; }
  .details-layout { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .detail-art { max-height: 148px; width: auto; }
  .title-hero { grid-template-columns: minmax(0, 1fr); padding-inline: var(--screen-gutter); }
  .title-hero .detail-art { max-height: 175px; width: auto; grid-row: 1; }
  .title-actions > * { padding-inline: .65rem; }
  .filmes .title-hero { align-content: center; }
  .episode-card { flex-basis: 57%; }
  .vod-intro { width: calc(100% - 2rem); }
  .vod-intro > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
  .channel-actions .favorite-labeled { font-size: .82rem; padding-inline: .52rem; }
  .programme { column-gap: .35rem; padding-right: .55rem; }
}
@media (max-width: 500px) {
  .workspace > .preview { display: none; }
  .radio .workspace > .preview { display: block; }
  .live-dialog { width: 100%; max-width: 100%; max-height: 100%; }
  .live-dialog .preview { border: 0; }
  .live-dialog .preview .well-body { padding-inline: .15rem; }
  .live-dialog .preview-expanded .well-body { padding: 0; }
}
@media (min-width: 761px) {
  #app:has(> :is(.catalog-page, .sports-page)) { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }
  #app:has(> :is(.catalog-page, .sports-page)) > .topbar { flex: none; }
  .catalog-page { display: flex; flex-direction: column; flex: 1; min-height: 0; padding-block: 0 .65rem; }
  .catalog-page > .workspace { flex: 1; min-height: 0; align-items: stretch; gap: clamp(.45rem, .69vw, .85rem); }
  .catalog-page .workspace > .well { display: flex; flex-direction: column; }
  .radio .workspace.live-layout { grid-template-columns: minmax(200px, 38.6%) minmax(0, 1fr); }
  .radio .workspace > .radio-studio { min-height: 0; }
  .sports-page { flex: 1; min-height: 0; padding-block: .2rem .66rem; }
  .sports-workspace { flex: 1; min-height: 0; }
  .sports-channels .well-body, .sports-feed { min-height: 0; overflow: auto; scrollbar-width: none; }
  .sports-filter { min-width: 0; }
  .catalog-page .well-body { flex: 1; min-height: 0; overflow: auto; }
  .catalog-page .live-preview:not(.preview-expanded) > .well-body { display: flex; flex-direction: column; }
  .live-preview:not(.preview-expanded) .video-stage {
    width: 100%; min-height: min(130px, 20dvh); aspect-ratio: 16 / 9;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  }
  .live-preview:not(.preview-expanded) .video-stage .screen-image { min-height: 0; aspect-ratio: auto; }
  .live-preview:not(.preview-expanded) .video-stage .player {
    display: grid; grid-template-rows: minmax(0, 1fr) auto auto; align-self: stretch; min-height: 0;
  }
  .live-preview:not(.preview-expanded) .player video { grid-row: 1; height: 100%; min-height: 0; aspect-ratio: auto; object-fit: contain; }
  .live-preview:not(.preview-expanded) .player-status { grid-row: 2; }
  .live-preview:not(.preview-expanded) .player-actions { grid-row: 3; }
  .live-preview:not(.preview-expanded) .live-overlay, .live-preview:not(.preview-expanded) .playback-hint { flex-shrink: 0; }
  .catalog-page .preview-expanded .well-body { overflow: hidden; }
  .catalog-page .categories .well-body, .workspace.live-layout .results .well-body { padding: clamp(.3rem, .55vw, .6rem) clamp(.2rem, .35vw, .43rem); }
  .catalog-page .category, .live-layout .channel-open { min-height: clamp(46px, 6.7dvh, 71px); font-size: clamp(.87rem, 1.24vw, 1.4rem); padding-inline: clamp(.58rem, 1.05vw, 1.25rem); gap: clamp(.45rem, .63vw, .75rem); }
  .live-layout .channel-open img, .catalog-page .category-icon { width: clamp(32px, 2.8vw, 51px); height: auto; aspect-ratio: 1; }
  .catalog-page .category-icon .glyph { width: 56%; height: 56%; }
  .catalog-page .catalog-category-icon .glyph { width: 87%; height: 87%; }
  .catalog-page .categories .well-body, .live-layout .channel-list { gap: clamp(.38rem, 1.24dvh, .86rem); }
  .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1061px) {
  .home-deck { height: clamp(19.25rem, 60dvh, 42rem); margin-bottom: 3.5dvh; }
  .home-card.canais { --card: #202b49; }
  .home-card.filmes { --card: #312044; }
  .home-card.series { --card: #292448; }
  .home-card::before { position: absolute; content: ''; width: clamp(3px, .28vw, 6px); bottom: clamp(.75rem, 1.35vw, 1.6rem); left: clamp(.48rem, .82vw, 1rem); height: clamp(75px, 12.2dvh, 123px); border-radius: 4px; background: linear-gradient(#fff3ff, var(--accent) 44%, #446bd3); }
  .home-card.filmes::before { background: linear-gradient(#fff3ff, var(--accent) 44%, #9443d6); }
  .home-card.series::before { background: linear-gradient(#fff3ff, var(--accent) 44%, #6b5ee0); }
}
@media (min-width: 1080px) { .poster-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1320px) { .poster-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 3000px) and (min-height: 1600px) {
  :root { font-size: 24px; }
  .glyph { width: 28px; height: 28px; }
  .catalog-page .category, .live-layout .channel-open { min-height: 3.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
