:root {
  --bg: #141414;
  --red: #e50914;
  --red-dark: #b20710;
  --text: #fff;
  --muted: #b3b3b3;
  --dim: #808080;
  --panel: #181818;
  --panel-2: #2f2f2f;
  --green: #46d369;
  --gutter: 4%;
  --card-w: calc((100vw - 2 * var(--gutter)) / 6 - 6px);
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}
@media (max-width: 1400px) { :root { --card-w: calc((100vw - 2 * var(--gutter)) / 5 - 6px); } }
@media (max-width: 1100px) { :root { --card-w: calc((100vw - 2 * var(--gutter)) / 4 - 6px); } }
@media (max-width: 800px) { :root { --card-w: calc((100vw - 2 * var(--gutter)) / 3 - 6px); } }
@media (max-width: 500px) { :root { --card-w: calc((100vw - 2 * var(--gutter)) / 2.3 - 6px); --gutter: 16px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
body.watching { overflow: hidden; }
body.watching #app, body.watching .popup { display: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { display: block; width: 100%; height: 100%; }
code { background: #ffffff14; padding: 1px 6px; border-radius: 4px; font-size: .9em; word-break: break-all; }
.muted { color: var(--dim); }
.page-pad { padding: 100px var(--gutter) 40px; }

/* ---------------- logo / botões */
.logo { font-family: 'Bebas Neue', Impact, 'Arial Narrow Bold', sans-serif; color: var(--red); font-size: 34px; letter-spacing: 1.5px; line-height: 1; text-shadow: 0 2px 6px #0006; user-select: none; }
.big-logo { position: absolute; top: 22px; left: var(--gutter); font-size: 44px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 26px 0 20px; border-radius: 4px; font-weight: 700; font-size: 17px; transition: background .15s, opacity .15s; white-space: nowrap; }
.btn svg { width: 24px; height: 24px; }
.btn.white { background: #fff; color: #000; }
.btn.white:hover { background: #ffffffbf; }
.btn.gray { background: #6d6d6eb3; color: #fff; }
.btn.gray:hover { background: #6d6d6e66; }
.btn.small { height: 36px; font-size: 15px; padding: 0 16px; }
.btn-outline { border: 1px solid #808080; color: #b3b3b3; padding: 9px 22px; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; transition: .15s; display: inline-flex; gap: 8px; align-items: center; }
.btn-outline svg { width: 18px; height: 18px; }
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-outline.small { font-size: 13px; padding: 7px 14px; text-transform: none; letter-spacing: 0; border-radius: 4px; }
.btn-solid { background: #fff; color: #000; padding: 10px 24px; font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 1px; }
.btn-solid:hover { background: var(--red); color: #fff; }
.circle, .circle-outline { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #ffffffb3; background: #2a2a2a99; display: inline-grid; place-items: center; flex: none; transition: border-color .15s, background .15s; }
.circle svg, .circle-outline svg { width: 22px; height: 22px; }
.circle:hover, .circle-outline:hover { border-color: #fff; background: #ffffff1a; }
.circle.white { background: #fff; border-color: #fff; color: #000; }
.circle.white:hover { background: #e6e6e6; }
.circle-outline { background: transparent; }

/* ---------------- perfis */
.profiles-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 100px 16px 60px; animation: fadeIn .35s; }
.profiles-page h1 { font-size: clamp(28px, 3.5vw, 52px); font-weight: 500; margin: 0 0 28px; }
.profile-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2vw; margin-bottom: 50px; }
.profile-item { width: clamp(84px, 10vw, 180px); display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--dim); }
.profile-item .pname { font-size: clamp(13px, 1.3vw, 20px); transition: color .15s; }
.avatar { position: relative; width: 100%; aspect-ratio: 1; border-radius: 6px; overflow: hidden; outline: 3px solid transparent; outline-offset: -1px; transition: outline-color .15s; }
.profile-item:hover .avatar, .profile-item:focus-visible .avatar { outline-color: #fff; }
.profile-item:hover .pname { color: #fff; }
.avatar.add { display: grid; place-items: center; color: var(--dim); }
.avatar.add svg { width: 55%; height: 55%; }
.profile-item.add-profile:hover .avatar.add { background: #e5e5e5; color: #141414; }
.avatar.editing svg.avatar-svg { opacity: .5; }
.edit-ov { position: absolute; inset: 0; display: grid; place-items: center; }
.edit-ov svg { width: 34%; height: 34%; }
.avatar.sm { width: 32px; height: 32px; border-radius: 4px; outline: 0; }
.avatar.xs { width: 30px; height: 30px; border-radius: 4px; outline: 0; flex: none; }
.avatar.big { width: clamp(90px, 12vw, 150px); flex: none; }

.edit-page { align-items: center; }
.edit-box { text-align: left; max-width: 760px; width: 100%; }
.edit-box h1 { border-bottom: 1px solid #333; padding-bottom: 16px; margin-bottom: 24px; }
.edit-row { display: flex; gap: 24px; border-bottom: 1px solid #333; padding-bottom: 24px; }
.edit-fields { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.edit-fields input#ep-name { background: #666; border: 0; color: #fff; font-size: 18px; padding: 10px 12px; width: 100%; }
.edit-fields h3 { margin: 10px 0 0; font-weight: 500; color: #ccc; font-size: 17px; border-top: 1px solid #333; padding-top: 16px; }
.color-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 32px; height: 32px; border-radius: 4px; outline: 2px solid transparent; outline-offset: 2px; }
.swatch.on { outline-color: #fff; }
.chk { display: grid; grid-template-columns: 22px 1fr; gap: 4px 10px; align-items: center; cursor: pointer; color: #ddd; }
.chk input { width: 20px; height: 20px; accent-color: var(--red); margin: 0; }
.chk small { grid-column: 2; color: var(--dim); }
.edit-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

/* ---------------- navbar */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 68px; display: flex; align-items: center; gap: 40px; padding: 0 var(--gutter); background: linear-gradient(180deg, #000000b3 10%, transparent); transition: background .4s; }
.nav.solid { background: var(--bg); }
.nav-links { position: relative; }
.nav-links nav { display: flex; gap: 20px; }
.nav-links nav a { font-size: 14px; color: #e5e5e5; transition: color .3s; white-space: nowrap; }
.nav-links nav a:hover { color: #b3b3b3; }
.nav-links nav a.active { color: #fff; font-weight: 700; }
.nav-browse { display: none; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.nav-browse svg { width: 16px; height: 16px; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.search { display: flex; align-items: center; border: 1px solid transparent; height: 36px; transition: border-color .3s, background .3s; }
.search-btn { width: 26px; height: 26px; margin: 0 6px; }
.search input { width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: #fff; font-size: 14px; transition: width .3s, padding .3s; }
.search-clear { width: 18px; height: 18px; margin-right: 8px; display: none; }
.search.open { border-color: #fff; background: #000000bf; }
.search.open input { width: min(230px, 40vw); padding: 0 6px 0 0; }
.search.open .search-clear { display: block; }
.kids-tag { font-size: 14px; font-weight: 600; }
.account { position: relative; }
.account-btn { display: flex; align-items: center; gap: 8px; }
.account-btn .caret { width: 14px; height: 14px; transition: transform .2s; }
.account.open .caret { transform: rotate(180deg); }
.account-menu { position: absolute; right: 0; top: calc(100% + 16px); width: 230px; background: #000000e6; border: 1px solid #ffffff26; padding: 10px 0; display: none; }
.account.open .account-menu { display: block; animation: fadeIn .15s; }
.account-menu::before { content: ''; position: absolute; top: -8px; right: 18px; border: 8px solid transparent; border-top: 0; border-bottom-color: #e5e5e5; }
.am-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 14px; font-size: 13px; text-align: left; }
.am-item svg { width: 22px; height: 22px; color: #b3b3b3; flex: none; padding: 2px; }
.am-item:hover { text-decoration: underline; }
.am-item.center { justify-content: center; }
.account-menu hr { border: 0; border-top: 1px solid #ffffff40; margin: 8px 0; }

@media (max-width: 900px) {
  .nav { gap: 20px; height: 56px; }
  .logo { font-size: 26px; }
  .nav-browse { display: flex; }
  .nav-links nav { display: none; position: absolute; top: calc(100% + 18px); left: -60px; width: 220px; flex-direction: column; gap: 0; background: #000000e6; border: 1px solid #ffffff26; border-top: 2px solid #e5e5e5; padding: 6px 0; }
  .nav-links.open nav { display: flex; }
  .nav-links nav a { padding: 12px; text-align: center; }
  .nav-links nav a:hover { background: #ffffff0d; }
  .kids-tag { display: none; }
}
@media (max-width: 500px) {
  .nav-right { gap: 10px; }
  .search.open input { width: 34vw; }
  .search.open ~ .account { display: none; }
}

/* ---------------- billboard */
.hero { position: relative; height: 56.25vw; max-height: 92vh; min-height: 420px; margin-bottom: -7vw; }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: #000; }
.hero-media .hero-img, .hero-media .art, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity .8s; }
.hero-media.playing video { opacity: 1; }
.hero-media.playing .hero-img, .hero-media.playing .art { opacity: 0; transition: opacity .8s; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(77deg, #000000a6 0%, transparent 70%), linear-gradient(180deg, transparent 60%, #14141499 78%, var(--bg) 98%); pointer-events: none; }
.hero-label { position: absolute; top: 90px; left: var(--gutter); font-size: 38px; font-weight: 700; }
.hero-info { position: absolute; left: var(--gutter); bottom: 35%; width: 40%; min-width: 300px; z-index: 2; }
.hero-title { font-size: clamp(32px, 5vw, 76px); line-height: 1; margin: 0 0 1.2vw; font-weight: 800; text-shadow: 2px 2px 8px #0009; letter-spacing: -1px; }
.hero-logo { max-width: 100%; max-height: 14vw; margin-bottom: 1.2vw; filter: drop-shadow(0 2px 8px #0008); }
.hero-new { display: inline-block; background: var(--red); padding: 4px 10px; font-weight: 700; font-size: 14px; border-radius: 2px; margin-bottom: 12px; }
.hero-desc { font-size: clamp(14px, 1.3vw, 20px); line-height: 1.35; text-shadow: 2px 2px 4px #000b; margin: 0 0 1.5vw; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: opacity .6s; }
.hero-media.playing ~ .hero-info .hero-desc { opacity: .0; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-side { position: absolute; right: 0; bottom: 35%; display: flex; align-items: center; gap: 12px; z-index: 2; }
.hero-age { background: #33333399; border-left: 3px solid #dcdcdc; padding: 6px 60px 6px 12px; font-size: 18px; }
.hero-mute { width: 44px; height: 44px; }
@media (max-width: 800px) {
  .hero { height: 75vh; min-height: 460px; margin-bottom: 0; }
  .hero-info { width: auto; right: var(--gutter); bottom: 60px; min-width: 0; text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-side { bottom: 18px; }
  .hero-age { padding-right: 24px; }
  .hero-label { top: 64px; font-size: 26px; }
}

/* ---------------- arte */
.art { position: relative; width: 100%; height: 100%; background: #222; overflow: hidden; }
.art-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.noimg { position: absolute; inset: 0; background: radial-gradient(circle at 25% 25%, hsl(var(--hue) 60% 38%), hsl(calc(var(--hue) + 40) 55% 14%) 70%); }
.art-title { position: absolute; left: 8%; right: 8%; bottom: 9%; font-weight: 800; font-size: clamp(12px, calc(var(--card-w) / 11), 26px); line-height: 1.05; text-shadow: 0 1px 6px #000c, 0 0 2px #000; letter-spacing: -.3px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.art-logo { position: absolute; left: 7%; bottom: 9%; max-width: 60%; max-height: 40%; object-fit: contain; filter: drop-shadow(0 1px 4px #000a); }

/* ---------------- fileiras */
.rows { position: relative; z-index: 3; padding-bottom: 50px; }
.view-new .rows, .view-browse .rows:first-child { padding-top: 0; }
.row { margin: 0 0 3vw; }
.row-title { margin: 0 var(--gutter) 10px; font-size: clamp(14px, 1.4vw, 22px); font-weight: 600; color: #e5e5e5; }
.row-title a { display: inline-flex; align-items: center; gap: 8px; }
.row-title .explore { display: inline-flex; align-items: center; font-size: 13px; color: #54b9c5; opacity: 0; max-width: 0; overflow: hidden; white-space: nowrap; transition: .4s; }
.row-title .explore svg { width: 14px; height: 14px; }
.row-title a:hover .explore { opacity: 1; max-width: 200px; }
.slider { position: relative; }
.track { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 0 var(--gutter); scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.arrow { position: absolute; top: 0; bottom: 0; width: calc(var(--gutter) - 4px); min-width: 30px; z-index: 4; background: #14141480; display: grid; place-items: center; opacity: 0; transition: opacity .2s, background .2s; }
.arrow svg { width: 60%; max-width: 34px; height: auto; transition: transform .15s; }
.arrow.left { left: 0; border-radius: 0 4px 4px 0; }
.arrow.right { right: 0; border-radius: 4px 0 0 4px; }
.slider:hover .arrow { opacity: 1; }
.arrow:hover { background: #141414b3; }
.arrow:hover svg { transform: scale(1.25); }
.arrow.hide { visibility: hidden; }
.row.continue .arrow, .row.continue .card-progress ~ * { bottom: 18px; }
.pager { position: absolute; right: var(--gutter); top: -18px; display: flex; gap: 2px; opacity: 0; transition: opacity .2s; }
.slider:hover .pager { opacity: 1; }
.pager i { width: 12px; height: 2px; background: #4d4d4d; }
.pager i.on { background: #aaa; }
@media (hover: none) { .arrow, .pager { display: none; } }

.card { flex: none; width: var(--card-w); scroll-snap-align: start; cursor: pointer; position: relative; outline: none; }
.card-img { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #222; transition: transform .2s; }
.card:focus-visible .card-img { outline: 3px solid #fff; }
.badge-new { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; background: var(--red); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 3px 3px 0 0; white-space: nowrap; }
.badge-top { position: absolute; top: 0; right: 6px; width: 24px; background: var(--red); color: #fff; font-size: 7px; font-weight: 800; text-align: center; padding: 3px 0 2px; line-height: 1; border-radius: 0 0 2px 2px; }
.badge-top b { display: block; font-size: 12px; }
.card-play { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; background: #0008; padding: 11px 9px 11px 13px; opacity: 0; transition: opacity .2s; }
.card:hover .card-play { opacity: 1; }
.card-progress { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.bar { flex: 1; height: 3px; background: #ffffff40; border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--red); }

/* Top 10 */
.card.top { width: calc(var(--card-w) * 1.12); display: flex; align-items: stretch; }
.card.top .rank { flex: 0 0 48%; font-family: 'Bebas Neue', Impact, sans-serif; font-size: calc(var(--card-w) * .92); line-height: .78; color: var(--bg); -webkit-text-stroke: 4px #595959; text-align: right; letter-spacing: -8px; padding-right: 10px; display: flex; align-items: flex-end; justify-content: flex-end; }
.card.top .card-img { flex: 0 0 52%; aspect-ratio: 2 / 3; }
.card.top .art-title { font-size: 13px; }

/* grade */
.grid-page h1 { font-size: clamp(24px, 3vw, 38px); margin: 10px 0 24px; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--card-w), 1fr)); gap: 4.5vw 6px; }
.grid .card { width: auto; }
.related { color: var(--dim); font-size: 15px; margin-bottom: 30px; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.related a { color: #fff; }
.related a:hover { text-decoration: underline; }
.related span { color: #555; }
.no-results { padding-top: 40px; margin: 0 auto; max-width: 500px; color: #e5e5e5; }
.no-results ul { padding-left: 20px; color: var(--muted); }
.empty-msg { color: var(--muted); font-size: 17px; }
.empty-lib pre { background: #0006; border: 1px solid #333; padding: 16px; overflow-x: auto; font-size: 14px; line-height: 1.5; color: #ddd; }
.page-head h1 { margin: 0; font-size: 34px; }
.page-head { padding-bottom: 20px; }

/* ---------------- popup (hover) */
.popup { position: absolute; z-index: 60; background: var(--panel); border-radius: 6px; box-shadow: 0 6px 24px #000c; overflow: hidden; opacity: 0; transform: scale(.67); pointer-events: none; transition: transform .25s ease, opacity .2s; }
.popup.show { opacity: 1; transform: scale(1); pointer-events: auto; }
.pop-media { position: relative; aspect-ratio: 16 / 9; cursor: pointer; background: #000; overflow: hidden; }
.pop-media video, .m-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.pop-media.playing video, .m-media.playing video { opacity: 1; }
.pop-media.playing .art .art-img, .m-media.playing > .art-img, .m-media.playing > .art { opacity: 0; transition: opacity .6s; }
.pop-mute { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; }
.pop-mute svg { width: 16px; height: 16px; }
.pop-body { padding: 14px 16px 18px; }
.pop-btns { display: flex; gap: 8px; align-items: center; }
.pop-btns .circle { width: 36px; height: 36px; }
.pop-btns .circle svg { width: 18px; height: 18px; }
.pop-more { margin-left: auto; }
.pop-progress { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.pop-progress .bar { max-width: 45%; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 12px; font-size: 14px; color: #bcbcbc; }
.match { color: var(--green); font-weight: 700; }
.hd { border: 1px solid #ffffff66; border-radius: 3px; font-size: 10px; padding: 0 5px; line-height: 16px; font-weight: 600; }
.age { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 3px; font-size: 12px; font-weight: 800; color: #fff; background: #555; }
.age-l { background: #0c9447; } .age-10 { background: #0f7dc2; } .age-12 { background: #e3b00b; color: #000; }
.age-14 { background: #e46e1b; } .age-16 { background: #dc2a20; } .age-18 { background: #000; border: 1px solid #fff4; }
.pop-genres { margin-top: 10px; font-size: 13px; color: #fff; display: flex; flex-wrap: wrap; gap: 6px; }
.pop-genres i { color: #646464; font-style: normal; }

/* avaliação */
.rate { position: relative; }
.rate-main.rated { color: #fff; }
.rate-opts { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%) scale(.6); display: flex; gap: 2px; padding: 6px; border-radius: 30px; background: #232323; box-shadow: 0 0 2px #ffffff60, 0 6px 16px #000; opacity: 0; pointer-events: none; transition: .18s; z-index: 5; }
.rate:hover .rate-opts, .rate.open .rate-opts { opacity: 1; transform: translateX(-50%) scale(1); pointer-events: auto; }
.circle-flat { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: background .15s; }
.circle-flat svg { width: 22px; height: 22px; }
.circle-flat:hover { background: #ffffff26; }
.circle-flat.on { background: #ffffff33; }

/* ---------------- modal */
.modal-back { position: fixed; inset: 0; z-index: 70; background: #000000b3; overflow-y: auto; padding: 32px 16px; opacity: 0; transition: opacity .2s; }
.modal-back.show { opacity: 1; }
.modal { position: relative; max-width: 850px; margin: 0 auto; background: var(--panel); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 40px #000; transform: scale(.94); transition: transform .25s; }
.modal-back.show .modal { transform: scale(1); }
.m-hero { position: relative; aspect-ratio: 16 / 9; }
.m-media { position: absolute; inset: 0; background: #000; overflow: hidden; }
.m-media > .art-img, .m-media > .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel) 0%, transparent 50%); pointer-events: none; }
.m-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--panel); padding: 8px; z-index: 3; }
.m-close:hover { background: #333; }
.m-hero-info { position: absolute; left: 48px; right: 48px; bottom: 7%; }
.m-title { font-size: clamp(26px, 4.4vw, 46px); line-height: 1.05; margin: 0 0 20px; font-weight: 800; text-shadow: 2px 2px 8px #000b; max-width: 75%; }
.m-logo { max-width: 50%; max-height: 120px; margin-bottom: 20px; }
.m-btns { display: flex; align-items: center; gap: 10px; }
.m-btns .m-mute { margin-left: auto; }
.m-body { padding: 10px 48px 40px; }
.m-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.m-cols .meta { margin-top: 0; font-size: 16px; }
.m-progress { margin-top: 14px; }
.m-progress b { display: block; font-size: 15px; margin-bottom: 6px; }
.m-pbar { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.m-pbar .bar { max-width: 50%; }
.m-new { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 16px; }
.m-desc { font-size: 16px; line-height: 1.5; margin: 14px 0 0; }
.m-right { font-size: 14px; line-height: 1.5; display: flex; flex-direction: column; gap: 10px; color: #ddd; }
.lbl { color: #777; }
.m-right a:hover, .m-about a:hover { text-decoration: underline; }
.m-eps, .m-similar, .m-about { margin-top: 40px; }
.m-eps h3, .m-similar h3, .m-about h3 { font-size: 24px; margin: 0 0 18px; font-weight: 700; }
.m-about h3 { font-weight: 400; }
.eps-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.eps-head h3 { margin: 0; }
.season-sel { background: #242424; color: #fff; border: 1px solid #4d4d4d; border-radius: 4px; padding: 10px 14px; font-size: 17px; font-weight: 600; font-family: inherit; cursor: pointer; }
.season-one { font-size: 17px; font-weight: 600; }
.eps-sub { margin: 14px 0 10px; font-size: 14px; color: #ddd; display: flex; gap: 8px; align-items: center; }
.ep { display: flex; align-items: center; gap: 16px; padding: 24px 20px; border-bottom: 1px solid #404040; border-radius: 4px; cursor: pointer; }
.ep:first-child { border-top: 1px solid #404040; }
.ep.current, .ep:hover, .ep:focus-visible { background: #333; outline: none; }
.ep-num { font-size: 24px; color: #d2d2d2; width: 28px; text-align: center; flex: none; }
.ep-img { position: relative; flex: 0 0 150px; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; }
.ep-play { position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #fff; background: #0008; padding: 10px 8px 10px 12px; opacity: 0; transition: opacity .2s; }
.ep:hover .ep-play { opacity: 1; }
.ep-bar { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 0; height: 4px; background: #4d4d4d; }
.ep-info { flex: 1; min-width: 0; }
.ep-top { display: flex; justify-content: space-between; gap: 10px; font-size: 16px; }
.ep-top span { color: #ddd; flex: none; }
.ep-info p { margin: 8px 0 0; font-size: 14px; color: #d2d2d2; line-height: 1.4; }
.sim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sim-card { background: #2f2f2f; border-radius: 4px; overflow: hidden; }
.sim-img { position: relative; aspect-ratio: 16 / 9; cursor: pointer; }
.sim-dur { position: absolute; top: 8px; right: 8px; font-size: 14px; font-weight: 600; text-shadow: 0 0 4px #000; }
.sim-play { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #fff; background: #0008; padding: 12px 10px 12px 14px; opacity: 0; transition: opacity .2s; }
.sim-card:hover .sim-play { opacity: 1; }
.sim-info { padding: 12px 14px 18px; }
.sim-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.sim-top .meta { margin-top: 0; margin-bottom: 4px; }
.sim-info p { font-size: 14px; color: #d2d2d2; line-height: 1.4; margin: 10px 0 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.m-about { border-top: 2px solid #404040; padding-top: 24px; font-size: 14px; display: flex; flex-direction: column; gap: 8px; line-height: 1.5; }
.m-about .btn-outline { align-self: flex-start; margin-top: 16px; }
@media (max-width: 700px) {
  .modal-back { padding: 0; }
  .modal { border-radius: 0; min-height: 100%; }
  .m-hero-info { left: 16px; right: 16px; }
  .m-body { padding: 10px 16px 40px; }
  .m-cols { grid-template-columns: 1fr; gap: 16px; }
  .sim-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ep { padding: 16px 6px; gap: 10px; flex-wrap: wrap; }
  .ep-img { flex-basis: 120px; }
  .m-btns .btn { padding: 0 16px; font-size: 15px; }
}

/* trailer */
.yt-preview { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%) scale(1.36); border: 0; pointer-events: none; opacity: 0; transition: opacity .8s; }
.playing > .yt-preview { opacity: 1; }
.hero-media.playing .hero-img, .m-media.playing > .art-img, .m-media.playing > .art, .pop-media.playing > .art { opacity: 0; transition: opacity .8s; }
.trailer-back { position: fixed; inset: 0; z-index: 120; background: #000000e6; display: grid; place-items: center; padding: 20px; animation: fadeIn .2s; }
.trailer-box { width: min(1100px, 100%); }
.trailer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 16px; }
.trailer-top .m-close { position: static; flex: none; }
.trailer-media { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; }
.trailer-media iframe, .trailer-media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.m-btns .btn.gray { height: 44px; }

/* importar do IMDb */
.m-about-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.m-about .m-about-btns .btn-outline { margin-top: 0; }
.imp { margin-top: 10px; padding: 18px 20px; background: #232323; border: 1px solid #3a3a3a; border-radius: 6px; }
.imp h3 { margin: 0 0 12px; font-size: 20px; }
.imp-row { display: flex; gap: 10px; }
.imp-row input { flex: 1; min-width: 0; background: #333; border: 1px solid #555; border-radius: 4px; color: #fff; padding: 9px 12px; font: inherit; font-size: 15px; }
.imp-row .btn svg { width: 18px; height: 18px; }
.imp-row .btn:disabled { opacity: .5; cursor: wait; }
.imp-hint { margin: 10px 0 0; font-size: 13px; color: var(--dim); line-height: 1.4; }
.imp-msg:not(:empty) { margin-top: 12px; font-size: 14px; color: #ddd; display: flex; align-items: center; gap: 8px; }
.imp-msg.err { color: #ffb4b4; }
.imp-key { color: #ddd; }
.imp-key p, .imp-key ol { color: #ccc; line-height: 1.5; margin: 8px 0; }
.imp-key a { color: #54b9c5; text-decoration: underline; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff3; border-top-color: #fff; animation: spin .8s linear infinite; }
.imp-choices { display: grid; gap: 8px; margin-top: 10px; }
.imp-choice { display: flex; gap: 12px; text-align: left; padding: 8px; border-radius: 4px; background: #2c2c2c; }
.imp-choice:hover { background: #3a3a3a; }
.imp-choice img, .imp-choice .noposter { width: 46px; height: 69px; object-fit: cover; border-radius: 3px; flex: none; background: #444; }
.imp-choice small { color: var(--dim); }
.imp-choice em { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-style: normal; font-size: 13px; color: #aaa; margin-top: 4px; }
@media (max-width: 600px) { .imp-row { flex-direction: column; } }

/* painel admin */
.admin { padding-top: 90px; }
.adm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.adm-head h1 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(24px, 3vw, 34px); }
.adm-head h1 svg { width: 30px; height: 30px; color: var(--red); }
.adm-head-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.adm-head-btns svg { width: 16px; height: 16px; }
.adm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 20px; }
.adm-stat { background: #1f1f1f; border: 1px solid #2c2c2c; border-radius: 6px; padding: 14px 16px; text-align: left; display: flex; flex-direction: column; gap: 2px; }
button.adm-stat:hover { border-color: #555; }
.adm-stat.on { border-color: var(--red); }
.adm-stat b { font-size: 26px; }
.adm-stat span { font-size: 13px; color: var(--muted); }
.adm-progress { display: flex; align-items: center; gap: 14px; background: #1f1f1f; border-radius: 6px; padding: 12px 16px; margin-bottom: 16px; }
.adm-progress .bar { height: 6px; max-width: 320px; }
.adm-progress .bar i { transition: width .3s; }
.adm-ptext { font-size: 14px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.adm-search { display: flex; align-items: center; gap: 8px; background: #1f1f1f; border: 1px solid #333; border-radius: 4px; padding: 0 10px; flex: 1; min-width: 200px; max-width: 380px; }
.adm-search svg { width: 18px; height: 18px; color: #888; flex: none; }
.adm-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 14px; padding: 9px 0; }
.adm-toolbar select { background: #1f1f1f; border: 1px solid #333; border-radius: 4px; color: #fff; font: inherit; font-size: 14px; padding: 8px 10px; }
.adm-selinfo { font-size: 14px; color: var(--muted); margin-left: auto; }
.adm-toolbar button:disabled { opacity: .4; cursor: default; }
.adm-table-wrap { overflow-x: auto; border: 1px solid #2c2c2c; border-radius: 6px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 980px; }
.adm-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; padding: 10px; background: #1a1a1a; border-bottom: 1px solid #2c2c2c; }
.adm-table td { padding: 8px 10px; border-bottom: 1px solid #252525; vertical-align: middle; }
.adm-table tbody tr:hover { background: #1c1c1c; }
.adm-table input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--red); }
.adm-thumb { width: 54px; }
.adm-thumb img, .adm-thumb .art { width: 40px; height: 60px; object-fit: cover; border-radius: 3px; display: block; }
.adm-name { cursor: pointer; min-width: 180px; }
.adm-name b { display: block; }
.adm-name:hover b { text-decoration: underline; }
.adm-name small { display: block; color: var(--dim); font-size: 12px; margin-top: 2px; }
.adm-name small.err { color: #ff8a8a; }
.adm-cats { max-width: 240px; }
.tag { display: inline-block; font-size: 12px; background: #2c2c2c; border-radius: 10px; padding: 2px 8px; margin: 2px 4px 2px 0; }
.tag.plat { background: #12406b; }
.adm-imdb { width: 110px; background: #262626; border: 1px solid #3a3a3a; border-radius: 4px; color: #fff; font: inherit; font-size: 13px; padding: 6px 8px; }
.adm-imdb:focus { border-color: #888; outline: 0; }
.adm-status { white-space: nowrap; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 10px; background: #333; color: #ccc; margin-right: 4px; }
.chip.ok { background: #143d24; color: #6fe39b; }
.chip.warn { background: #43320c; color: #ffc65c; }
.chip.err { background: #4a1414; color: #ff8a8a; }
.chip .spin { width: 11px; height: 11px; }
.adm-acts { white-space: nowrap; text-align: right; }
.icon-btn { width: 32px; height: 32px; padding: 7px; border-radius: 4px; color: #bbb; }
.icon-btn:hover { background: #333; color: #fff; }
.adm-empty { text-align: center; color: var(--muted); padding: 40px !important; }
.adm-settings { margin-top: 40px; }
.adm-settings h2 { font-size: 22px; margin: 0 0 14px; }
.adm-set { display: grid; grid-template-columns: 1fr minmax(280px, 460px); gap: 12px 30px; align-items: center; padding: 18px 0; border-top: 1px solid #2c2c2c; }
.adm-set h3 { margin: 0 0 4px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.adm-set h3 svg { width: 18px; height: 18px; }
.adm-set p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.adm-set a { color: #54b9c5; text-decoration: underline; }
.adm-set .ok { color: var(--green); }
.adm-set .warn { color: #ffc65c; }
@media (max-width: 800px) { .adm-set { grid-template-columns: 1fr; } }
.adm-drawer-back { position: fixed; inset: 0; z-index: 80; background: #0009; }
.adm-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(760px, 100%); background: var(--panel); overflow-y: auto; box-shadow: -10px 0 40px #000; transform: translateX(30px); opacity: 0; transition: .2s; }
.adm-drawer-back.show .adm-drawer { transform: none; opacity: 1; }
.adm-drawer header { position: sticky; top: 0; z-index: 2; background: var(--panel); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-bottom: 1px solid #2c2c2c; }
.adm-drawer header h2 { margin: 0; font-size: 20px; }
.adm-drawer header .m-close { position: static; }
.adm-drawer .m-body { padding: 16px 24px 40px; }
.adm-drawer .ef-grid { grid-template-columns: repeat(2, 1fr); }
.adm-drawer .ef-grid .span2, .adm-drawer .ef-grid .span3 { grid-column: 1 / -1; }
.pin-gate { min-height: 70vh; display: grid; place-items: center; }
.pin-box { text-align: center; max-width: 340px; }
.pin-box > svg { width: 48px; height: 48px; margin: 0 auto; color: var(--red); }
.pin-box form { display: flex; gap: 10px; margin-top: 16px; }
.pin-box input { flex: 1; min-width: 0; background: #333; border: 1px solid #555; border-radius: 4px; color: #fff; font-size: 22px; letter-spacing: 6px; text-align: center; padding: 8px; }
.pin-box .btn { height: auto; }
.pin-err { color: #ff8a8a; min-height: 1.2em; }

/* importar: caixa do painel + assistente */
.adm-import { display: grid; grid-template-columns: 1fr minmax(300px, 520px); gap: 12px 24px; align-items: center; background: linear-gradient(90deg, #2a1012, #1f1f1f); border: 1px solid #4a1a1d; border-radius: 8px; padding: 18px 20px; margin-bottom: 20px; }
.adm-import h3 { margin: 0 0 4px; display: flex; gap: 8px; align-items: center; font-size: 18px; }
.adm-import h3 svg { width: 20px; height: 20px; color: var(--red); }
.adm-import p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 800px) { .adm-import { grid-template-columns: 1fr; } }
.adm-link { grid-template-columns: 1fr; background: linear-gradient(90deg, #12202a, #1f1f1f); border-color: #1d3a4a; }
.adm-link h3 svg { color: #4fb3ff; }
.adm-link-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.adm-link-form select, .adm-link-form input { background: #141414; border: 1px solid #444; color: #fff; border-radius: 4px; padding: 8px 10px; font: inherit; font-size: 14px; min-width: 0; }
.adm-link-form select { max-width: 240px; }
.adm-link-form input[name="name"] { width: 200px; }
.adm-link-form .sm, .adm-link-form input.sm { width: auto; display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; }
.adm-link-form input.sm { width: 70px; }
.adm-link-form label input { width: 60px; }
.adm-link-form .url { flex: 1 1 260px; }
.adm-link-form [hidden] { display: none !important; }
.adm-link-msg { margin: 0 !important; padding: 10px 12px; border-radius: 6px; background: #43320c; color: #ffd98a !important; font-size: 14px; line-height: 1.5; }
.adm-link-form select.ep { max-width: 340px; }
.lk-type { display: inline-flex; border: 1px solid #444; border-radius: 4px; overflow: hidden; flex: none; }
.lk-type button { background: #141414; color: var(--muted); border: 0; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.lk-type button + button { border-left: 1px solid #444; }
.lk-type button.on { background: #fff; color: #000; }
.lk-type button:not(.on):hover { color: #fff; }
.lk-pick { position: relative; flex: 1 1 240px; max-width: 360px; display: flex; align-items: center; }
.lk-pick > svg { position: absolute; left: 10px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.adm-link-form .lk-pick input[type="search"] { width: 100%; padding-left: 34px; }
.lk-results { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; width: max(100%, 380px); max-height: 380px; overflow-y: auto; background: #1b1b1b; border: 1px solid #444; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.6); padding: 4px; }
.lk-res-head { font-size: 12px; color: var(--muted); padding: 6px 8px 4px; text-transform: uppercase; letter-spacing: .04em; }
.lk-res { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; color: #fff; text-align: left; padding: 6px 8px; border-radius: 4px; cursor: pointer; font: inherit; }
.lk-res:hover, .lk-res:focus { background: #2c2c2c; outline: none; }
.lk-res.on { background: #12324a; }
.lk-thumb { width: 32px; height: 46px; border-radius: 3px; background: #333; flex: none; overflow: hidden; }
.lk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lk-res-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lk-res-name b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-res-name small { color: var(--muted); font-size: 12px; }
.lk-res .chip { flex: none; margin: 0; }
.lk-res-empty { padding: 12px 10px; color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { .lk-pick { max-width: none; } .lk-results { width: 100%; } }
.lk-src button { display: inline-flex; align-items: center; gap: 6px; }
.lk-src svg { width: 12px; height: 12px; }
.lk-file { flex: 1 1 260px; display: flex; align-items: center; position: relative; background: #141414; border: 1px dashed #555; border-radius: 4px; padding: 8px 10px; font-size: 14px; color: var(--muted); cursor: pointer; min-width: 0; }
.lk-file:hover { border-color: #888; color: #fff; }
.lk-file.has { border-style: solid; color: #fff; }
.lk-file span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.lk-up { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lk-up .bar { flex: 1 1 200px; height: 6px; background: #333; border-radius: 3px; overflow: hidden; }
.lk-up .bar i { display: block; height: 100%; width: 0; background: #4fb3ff; transition: width .2s; }
.lk-up-txt { font-size: 13px; color: var(--muted); }
.adm-link-hint { margin: 0 !important; font-size: 13px !important; color: #ffd98a !important; }
.adm-link-form button:disabled { opacity: .5; cursor: not-allowed; }
.adm-link-msg.ok { background: #143d24; color: #8ff0b4 !important; }
.adm-links h4 { margin: 0; font-size: 15px; } .adm-links h4 small { color: var(--muted); font-weight: 400; }
.adm-links-head { display: flex; justify-content: space-between; align-items: center; margin: 6px 0 8px; }
.adm-links-empty { font-size: 13px !important; }
.adm-links { overflow-x: auto; }
.adm-links-table { min-width: 640px; }
.adm-links-table td { vertical-align: middle; }
.adm-links-table .lk a { color: #8fd0ff; text-decoration: none; } .adm-links-table .lk a:hover { text-decoration: underline; }
.lk-copy { background: none; border: 1px solid #444; color: var(--muted); border-radius: 4px; font-size: 11px; padding: 1px 6px; cursor: pointer; margin-left: 6px; }
.lk-copy:hover { color: #fff; border-color: #888; }
.lk-err { color: #ff8a8a; font-size: 12px; margin-top: 3px; max-width: 360px; }
.lk-act { white-space: nowrap; text-align: right; } .lk-act .btn-outline { margin-left: 4px; }
.lk-act svg { width: 14px; height: 14px; }
.adm-waiting:not(:empty) { margin-top: 30px; }
.adm-waiting h2 { font-size: 20px; margin: 0 0 4px; }
.adm-waiting ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.adm-waiting li { background: #1c1c1c; border: 1px solid #2c2c2c; border-radius: 6px; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 14px; }
.adm-waiting li code { margin-left: auto; font-size: 12px; }
.wz-loading { display: flex; gap: 10px; align-items: center; color: #ddd; padding: 16px 0; }
.wz-q { margin: 12px 0 6px; color: #ddd; }
.wz { margin-top: 14px; }
.wz h4 { margin: 22px 0 10px; font-size: 16px; display: flex; gap: 8px; align-items: baseline; }
.wz h4 small { color: var(--muted); font-weight: 400; font-size: 13px; }
.wz-head { display: flex; gap: 16px; }
.wz-poster { width: 110px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; flex: none; background: #333; }
.wz-info { min-width: 0; }
.wz-info h3 { margin: 0; font-size: 22px; }
.wz-info h3 small { color: var(--muted); font-weight: 400; }
.wz-info .meta { margin-top: 6px; }
.wz-tags { margin-top: 8px; }
.wz-desc { font-size: 14px; color: #ccc; line-height: 1.45; margin: 8px 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.wz-trailer { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #ccc; }
.wz-trailer svg { width: 18px; height: 18px; flex: none; }
.wz-trailer .ok { color: var(--green); } .wz-trailer .warn { color: #ffc65c; }
.wz-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 6px 16px; }
.wz-check { display: flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
.wz-check input, .wz-ep input { width: 17px; height: 17px; accent-color: var(--red); flex: none; margin: 0; }
.wz-check input:disabled { opacity: .5; }
.wz-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.wz-seasons { display: grid; gap: 8px; }
.wz-season { background: #232323; border: 1px solid #333; border-radius: 6px; }
.wz-season summary { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; list-style: none; }
.wz-season summary::-webkit-details-marker { display: none; }
.wz-season summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid #aaa; border-bottom: 2px solid #aaa; transform: rotate(45deg); margin-left: 8px; transition: transform .2s; }
.wz-season[open] summary::after { transform: rotate(-135deg); }
.wz-season summary .wz-check { font-weight: 700; font-size: 15px; }
.wz-scount { margin-left: auto; font-size: 12px; color: var(--muted); }
.wz-eps { border-top: 1px solid #333; max-height: 420px; overflow-y: auto; }
.wz-ep { display: grid; grid-template-columns: 17px 96px 24px 1fr auto; gap: 10px; align-items: center; padding: 8px 14px; border-bottom: 1px solid #2a2a2a; cursor: pointer; }
.wz-ep:hover { background: #2a2a2a; }
.wz-ep img, .wz-nostill { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; background: #333; display: block; }
.wz-en { color: #aaa; text-align: center; }
.wz-et { min-width: 0; }
.wz-et b { display: block; font-size: 14px; font-weight: 600; }
.wz-et small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #999; font-size: 12px; margin-top: 2px; }
.wz-target { width: 100%; background: #333; border: 1px solid #555; border-radius: 4px; color: #fff; font: inherit; font-size: 15px; padding: 10px; }
.wz-fixed { margin: 0; }
.wz-note { font-size: 13px; color: var(--muted); line-height: 1.5; min-height: 1em; }
.wz .ef-actions .btn svg { width: 18px; height: 18px; }
.wz .btn:disabled { opacity: .6; cursor: wait; }
@media (max-width: 600px) { .wz-head { flex-direction: column; } .wz-ep { grid-template-columns: 17px 70px 1fr; } .wz-ep img, .wz-nostill { width: 70px; } .wz-en, .wz-loc { display: none; } }

/* editar título */
.edit-title h3 { font-size: 24px; margin: 20px 0; }
.ef-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ef-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.ef-grid .span2 { grid-column: span 2; }
.ef-grid .span3 { grid-column: 1 / -1; }
.ef-grid input, .ef-grid select, .ef-grid textarea { background: #333; border: 1px solid #555; border-radius: 4px; color: #fff; padding: 9px 10px; font: inherit; font-size: 15px; }
.ef-grid input[type=file] { padding: 6px; font-size: 13px; }
.ef-grid .chk-inline { flex-direction: row; align-items: center; gap: 8px; color: #ddd; font-size: 14px; align-self: end; padding-bottom: 10px; }
.chk-inline input { width: 18px; height: 18px; accent-color: var(--red); }
.ef-actions { display: flex; gap: 12px; margin-top: 24px; }
@media (max-width: 700px) { .ef-grid { grid-template-columns: 1fr; } .ef-grid .span2 { grid-column: auto; } }

/* ---------------- player */
.player { position: fixed; inset: 0; z-index: 100; background: #000; cursor: none; user-select: none; }
.player.show-ui, .player.paused { cursor: default; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.player video::cue { background: transparent; color: #fff; font-family: var(--font); font-size: clamp(18px, 2.6vw, 40px); text-shadow: 0 0 4px #000, 0 0 4px #000, 2px 2px 3px #000; line-height: 1.3; }
.player video::-webkit-media-text-track-container { transition: transform .3s; }
.player.show-ui video::-webkit-media-text-track-container { transform: translateY(-110px); }
.p-top, .p-bottom { position: absolute; left: 0; right: 0; opacity: 0; transition: opacity .3s; z-index: 3; }
.player.show-ui .p-top, .player.show-ui .p-bottom { opacity: 1; }
.p-top { top: 0; padding: 22px 26px; background: linear-gradient(#000a, transparent); }
.p-bottom { bottom: 0; padding: 40px 26px 18px; background: linear-gradient(transparent, #000c); }
.p-ico { width: 46px; height: 46px; padding: 6px; transition: transform .15s; flex: none; }
.p-ico:hover { transform: scale(1.25); }
.p-back { width: 44px; height: 44px; }
.p-progress { display: flex; align-items: center; gap: 16px; }
.p-track { position: relative; flex: 1; height: 22px; cursor: pointer; touch-action: none; }
.p-track::before, .p-buf, .p-played { content: ''; position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; transition: height .1s, margin .1s; }
.p-track::before { right: 0; background: #ffffff40; }
.p-buf { background: #ffffff66; width: 0; }
.p-played { background: var(--red); width: 0; }
.p-track:hover::before, .p-track:hover .p-buf, .p-track:hover .p-played, .scrubbing .p-track::before, .scrubbing .p-buf, .scrubbing .p-played { height: 7px; margin-top: -3.5px; }
.p-knob { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--red); transform: scale(.9); transition: transform .1s; }
.p-track:hover .p-knob, .scrubbing .p-knob { transform: scale(1.3); }
.p-tip { position: absolute; bottom: 26px; transform: translateX(-50%); background: #262626; padding: 4px 8px; border-radius: 3px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; white-space: nowrap; }
.p-track:hover .p-tip { opacity: 1; }
.p-remaining { font-size: 15px; min-width: 64px; text-align: right; font-variant-numeric: tabular-nums; }
.p-controls { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.p-left, .p-right { display: flex; align-items: center; gap: clamp(6px, 1.4vw, 24px); }
.p-title { flex: 1; text-align: center; font-size: clamp(14px, 1.4vw, 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; justify-content: center; gap: 10px; min-width: 0; }
.p-title span { color: #e5e5e5; }
.p-epname { overflow: hidden; text-overflow: ellipsis; }
.p-vol { position: relative; display: flex; align-items: center; }
.p-volslider { width: 0; overflow: hidden; transition: width .2s; display: flex; align-items: center; }
.p-vol:hover .p-volslider, .p-vol:focus-within .p-volslider { width: 110px; padding: 0 6px; }
.p-volslider input { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--red) var(--p, 100%), #ffffff55 var(--p, 100%)); outline: none; cursor: pointer; }
.p-volslider input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--red); }
.p-volslider input::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--red); }
.p-spinner { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; border: 5px solid #ffffff22; border-top-color: var(--red); animation: spin .9s linear infinite; display: none; z-index: 2; }
.player.loading .p-spinner { display: block; }
.p-flash { position: absolute; inset: 0; margin: auto; width: 90px; height: 90px; padding: 20px; border-radius: 50%; background: #0007; opacity: 0; pointer-events: none; z-index: 2; }
.p-flash.go { animation: flash .6s ease-out; }
.p-paused { position: absolute; left: 0; top: 0; bottom: 0; width: 55%; padding: 0 5% 0 6%; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(90deg, #000d, transparent); opacity: 0; transition: opacity .8s; pointer-events: none; z-index: 2; }
.player.idle-paused .p-paused { opacity: 1; pointer-events: auto; }
.player.idle-paused .p-top, .player.idle-paused .p-bottom { opacity: 0; }
.player.idle-paused.show-ui .p-paused { opacity: 0; pointer-events: none; }
.player.idle-paused.show-ui .p-top, .player.idle-paused.show-ui .p-bottom { opacity: 1; }
.p-paused-label { color: #bbb; font-size: 18px; }
.p-paused h1 { font-size: clamp(30px, 4vw, 56px); margin: 8px 0; }
.p-paused h2 { font-size: clamp(18px, 2vw, 28px); margin: 0 0 12px; font-weight: 600; }
.p-paused p { font-size: clamp(14px, 1.3vw, 20px); color: #ccc; line-height: 1.45; max-width: 640px; }
.p-skip { position: absolute; right: 5%; bottom: 140px; z-index: 4; background: #fffffff0; color: #000; font-weight: 700; font-size: 17px; padding: 12px 26px; border-radius: 4px; border: 0; animation: fadeIn .3s; }
.p-skip:hover { background: #fff; }
.p-next { position: absolute; right: 3%; bottom: 140px; z-index: 4; width: min(400px, 90vw); background: #181818ee; border-radius: 6px; padding: 14px; box-shadow: 0 4px 30px #000; animation: fadeIn .3s; }
.p-next-card { display: flex; gap: 14px; align-items: center; }
.p-next-card small { display: block; color: var(--muted); font-size: 13px; }
.p-next-card b { font-size: 15px; }
.p-next-img { position: relative; flex: 0 0 140px; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; }
.p-count { position: absolute; inset: 0; display: grid; place-items: center; font-size: 36px; font-weight: 800; background: #0006; }
.p-count:empty { display: none; }
.p-next-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; }
.player.credits video { transition: all .6s; }
.p-still, .p-error { position: absolute; inset: 0; z-index: 6; background: #000d; display: grid; place-items: center; text-align: center; padding: 20px; }
.p-still > div { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.p-still h2 { font-size: clamp(22px, 3vw, 36px); font-weight: 500; margin: 0 0 16px; }
.p-error h2 { font-size: 28px; }
.p-error p { color: #ccc; line-height: 1.5; }
.p-panel { position: absolute; right: 26px; bottom: 120px; z-index: 5; background: #262626f2; border-radius: 6px; box-shadow: 0 4px 24px #000; padding: 20px 24px; max-height: 70vh; overflow-y: auto; animation: fadeIn .15s; }
.p-panel h4 { margin: 0 0 12px; font-size: 22px; font-weight: 700; }
.pp-cols { display: flex; gap: 50px; }
.pp-opt { display: flex; align-items: center; gap: 10px; padding: 7px 0 7px 32px; font-size: 18px; color: #b3b3b3; position: relative; text-align: left; }
.pp-opt svg { position: absolute; left: 0; width: 22px; height: 22px; }
.pp-opt.on, .pp-opt:hover { color: #fff; }
.pp-hint { max-width: 230px; font-size: 13px; color: #888; }
.pp-opt small { font-size: 12px; color: #888; }
.pp-opt:disabled { color: #666; cursor: not-allowed; }
.pp-cols > div { min-width: 200px; max-width: 340px; }
.p-trackmsg { position: absolute; top: 24px; right: 26px; z-index: 5; background: #000c; border: 1px solid #ffffff2a; border-radius: 4px; padding: 8px 14px; font-size: 15px; animation: fadeIn .2s; pointer-events: none; }
@media (max-width: 700px) { .pp-cols { flex-direction: column; gap: 18px; } }
.pp-speed { display: flex; gap: 0; align-items: flex-start; margin-top: 14px; position: relative; }
.pp-speed::before { content: ''; position: absolute; top: 9px; left: 30px; right: 30px; height: 2px; background: #666; }
.pp-speed button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 90px; font-size: 15px; color: #b3b3b3; }
.pp-speed button i { width: 20px; height: 20px; border-radius: 50%; background: #666; border: 4px solid #262626; box-sizing: content-box; margin-top: -4px; }
.pp-speed button.on { color: #fff; }
.pp-speed button.on i { background: #fff; transform: scale(1.3); }
.p-panel-eps { width: min(520px, 90vw); padding: 0; }
.pp-eps-head { padding: 18px 20px 10px; position: sticky; top: 0; background: #262626; z-index: 1; }
.pp-eps-head select { background: transparent; color: #fff; border: 0; font: inherit; font-size: 22px; font-weight: 700; cursor: pointer; }
.pp-eps-head select option { background: #262626; }
.pp-eps { display: flex; flex-direction: column; padding-bottom: 8px; }
.pp-ep { display: grid; grid-template-columns: 36px 1fr 90px; align-items: center; gap: 10px; padding: 14px 20px; text-align: left; font-size: 17px; border-top: 1px solid #ffffff14; }
.pp-ep:hover { background: #ffffff12; }
.pp-ep.cur { background: #ffffff1f; }
.pp-ep .n { color: #aaa; }
.pp-ep .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) {
  .p-bottom { padding: 30px 12px 10px; }
  .p-ico { width: 38px; height: 38px; }
  .p-title { display: none; }
  .p-controls { justify-content: space-between; }
  .p-panel { right: 8px; left: 8px; bottom: 100px; }
  .pp-speed button { width: 54px; font-size: 12px; }
  .p-skip, .p-next { bottom: 110px; }
}

/* ---------------- diversos */
.footer { padding: 30px var(--gutter) 40px; color: #757575; font-size: 13px; }
#toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: #fff; color: #000; padding: 12px 20px; border-radius: 4px; font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: .25s; z-index: 200; max-width: 90vw; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flash { 0% { opacity: 1; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.4); } }
body.kids { --bg: #141414; }
body.kids .nav.solid { background: #141414; }

/* ============================================================ contas: entrar, minha conta, abas do painel */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 100px 16px 40px; background: radial-gradient(ellipse at top, #3a0a0d 0%, #141414 55%); animation: fadeIn .35s; }
.login-box { width: 100%; max-width: 420px; background: #000000c4; border-radius: 8px; padding: 44px 40px 36px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 10px 40px #000a; }
.login-box h1 { margin: 0 0 10px; font-size: 32px; }
.login-sub { margin: -4px 0 6px; color: #b3b3b3; font-size: 14px; line-height: 1.5; }
.login-box input { width: 100%; background: #333; border: 1px solid transparent; border-radius: 4px; color: #fff; font: inherit; font-size: 16px; padding: 14px 16px; }
.login-box input:focus { outline: none; border-color: #fff; background: #454545; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #aaa; padding: 6px; cursor: pointer; }
.pw-eye svg { width: 20px; height: 20px; display: block; }
.pw-eye:hover { color: #fff; }
.login-err { margin: 0; color: #ff8a8a; font-size: 14px; background: #4a141480; border-radius: 4px; padding: 10px 12px; }
.login-btn { background: var(--red); color: #fff; border-radius: 4px; padding: 14px; font-size: 16px; text-transform: none; letter-spacing: 0; margin-top: 8px; }
.login-btn:hover { background: #f40612; }
.login-btn:disabled { opacity: .6; }
.login-help { margin: 8px 0 0; color: #8c8c8c; font-size: 13px; text-align: center; }
@media (max-width: 500px) { .login-box { padding: 32px 22px; } .big-logo { font-size: 32px; } }

.am-who { padding: 4px 14px 10px; border-bottom: 1px solid #ffffff26; margin-bottom: 6px; display: flex; flex-direction: column; }
.am-who b { font-size: 14px; } .am-who small { color: #999; font-size: 12px; }

.account-page { max-width: 820px; padding-top: 100px; }
.account-page h1 { margin: 0 0 20px; }
.acc-card { display: flex; gap: 28px; align-items: flex-start; background: #1b1b1b; border: 1px solid #2c2c2c; border-radius: 8px; padding: 24px; margin-bottom: 18px; }
.acc-card > div:first-child { flex: none; }
.acc-card h3 { margin: 0 0 6px; }
.acc-card .avatar.big { width: 110px; height: 110px; }
.acc-user { margin: 0; color: #ccc; } .acc-user .chip { margin-left: 6px; }
.acc-pass > div:first-child, .acc-out > div:first-child { flex: 0 0 220px; }
.acc-pass input { background: #333; border: 1px solid #444; color: #fff; border-radius: 4px; font: inherit; padding: 10px 12px; width: 100%; }
.acc-out { align-items: center; justify-content: space-between; }
.acc-out > div:first-child { flex: 1; }
@media (max-width: 700px) { .acc-card { flex-direction: column; gap: 16px; } .acc-pass > div:first-child { flex: none; } }

.adm-tabs { display: flex; gap: 4px; border-bottom: 1px solid #333; margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.adm-tabs button { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; border-bottom: 3px solid transparent; color: #999; padding: 12px 16px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.adm-tabs button svg { width: 18px; height: 18px; }
.adm-tabs button:hover { color: #fff; }
.adm-tabs button.on { color: #fff; border-bottom-color: var(--red); }
.adm-pane[hidden] { display: none !important; }
.adm-auto { border-top: 0; margin-bottom: 10px; }
.adm-auto > button { justify-self: start; }

.adm-acc-head { display: grid; grid-template-columns: 1fr auto; gap: 14px 28px; align-items: end; margin-bottom: 18px; }
.adm-acc-head h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 18px; }
.adm-acc-head h3 svg { width: 20px; height: 20px; color: var(--red); }
.adm-acc-head p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; max-width: 560px; }
.adm-acc-new { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.adm-acc-new input[name="name"] { background: #141414; border: 1px solid #444; color: #fff; border-radius: 4px; padding: 8px 10px; font: inherit; font-size: 14px; width: 210px; }
.adm-acc-new button svg { width: 14px; height: 14px; }
.acc-sel { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #ccc; }
.acc-sel[hidden] { display: none; }
.acc-sel select, .adm-acc-table select { background: #141414; border: 1px solid #444; color: #fff; border-radius: 4px; padding: 7px 8px; font: inherit; font-size: 14px; }
.adm-acc-table select + select { margin-left: 6px; }
.chk-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #ccc; cursor: pointer; white-space: nowrap; margin-right: 10px; }
.chk-inline input { accent-color: var(--red); width: 16px; height: 16px; }
.chk-inline input:disabled + * , .chk-inline:has(input:disabled) { opacity: .55; cursor: default; }
@media (max-width: 800px) { .adm-acc-head { grid-template-columns: 1fr; } }

.adm-cred { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: center; background: #143d24; border: 1px solid #2c7a4b; border-radius: 8px; padding: 18px 20px; margin-bottom: 18px; }
.adm-cred h4 { margin: 0 0 4px; font-size: 17px; } .adm-cred p { margin: 0; color: #bfe9cf; font-size: 14px; }
.adm-cred dl { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.adm-cred dt { color: #9fd8b5; } .adm-cred dd { margin: 0; font-family: Consolas, monospace; font-size: 17px; font-weight: 700; user-select: all; }
.adm-cred-btns { grid-row: 1; grid-column: 2; display: flex; gap: 8px; }
.adm-acc-table { min-width: 720px; }
.adm-acc-table td { vertical-align: middle; }
.adm-acc-table .avatar.xs { width: 30px; height: 30px; display: block; }
.adm-acc-table code { background: #2a2a2a; padding: 2px 6px; border-radius: 3px; font-size: 13px; }
.acc-act { white-space: nowrap; text-align: right; } .acc-act .btn-outline { margin-left: 4px; } .acc-act svg { width: 14px; height: 14px; }

/* aba Segurança */
.adm-sec-tools { display: flex; gap: 8px; align-items: center; }
.adm-sec-tools select { background: #141414; border: 1px solid #444; color: #fff; border-radius: 4px; padding: 7px 10px; font: inherit; font-size: 14px; }
.adm-sec-tools svg { width: 14px; height: 14px; }
.adm-sec-list { overflow-x: auto; }
.adm-sec-table { min-width: 760px; }
.adm-sec-table tr.bad td:nth-child(2) { color: #ff8a8a; }
.adm-sec-table code { background: #2a2a2a; padding: 2px 6px; border-radius: 3px; font-size: 12px; }
