body.watching{overflow:hidden}#drama-player-dialog{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#000;color:#fff;overflow:hidden}#drama-player-dialog::backdrop{background:#000}#drama-player-dialog:has(.watch-shell) #drama-player-close{display:none}#drama-player-content{height:100%;display:grid;place-items:center}.watch-shell{position:relative;display:flex;flex-direction:column;width:min(100vw,calc((100dvh - 76px)*.5625));min-width:300px;max-width:100vw;height:100dvh;margin:auto;background:#000;font-family:inherit;overflow:hidden}.watch-stage{position:relative;flex:1;min-height:0;width:100%;overflow:hidden;background:#000;isolation:isolate;touch-action:pan-x}.watch-stage:before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#0009 0,transparent 19%,transparent 60%,#000b 100%)}.watch-video{display:block;width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;object-fit:contain;margin:0;border-radius:0;background:#000}.watch-top{position:absolute;inset:0 0 auto;display:flex;align-items:center;gap:5px;height:58px;padding:env(safe-area-inset-top,0px) 10px 0;z-index:3;pointer-events:none}.watch-top button{pointer-events:auto}.watch-shell button{font:inherit;color:#fff;cursor:pointer}.watch-shell svg{width:26px;height:26px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.watch-shell .watch-back{background:transparent;padding:10px;border:0;border-radius:50%}.watch-back svg{width:28px;height:28px;stroke-width:2.2}.watch-current{font-size:16px;font-weight:500;text-shadow:0 1px 5px #000}.watch-center{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);width:62px;height:62px;display:grid;place-items:center;border:0;border-radius:50%;padding:14px!important;background:#0008!important;z-index:4;opacity:0;transition:opacity .18s;pointer-events:none}.watch-center svg{width:29px;height:29px;stroke-width:4}.watch-stage.is-paused .watch-center,.watch-stage.controls-visible .watch-center{opacity:1;pointer-events:auto}.watch-stage.is-paused .watch-center svg{fill:white;stroke-width:1}.watch-stage.is-buffering .watch-center{opacity:1}.watch-stage.is-buffering .watch-center:after{content:'';position:absolute;inset:-5px;border-radius:50%;border:2px solid #ffffff40;border-top-color:#fff;animation:watch-spin .8s linear infinite}.watch-notice{position:absolute;z-index:5;top:35%;left:8%;right:8%;font-size:12px;line-height:1.5;text-align:center;background:#000b;padding:13px;border-radius:9px;cursor:pointer}.watch-notice[hidden]{display:none}.watch-rail{position:absolute;right:7px;bottom:135px;display:flex;flex-direction:column;gap:17px;z-index:4}.watch-shell .watch-action{padding:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:4px;width:48px;border-radius:6px;text-shadow:0 1px 5px #000}.watch-action svg{width:29px;height:29px;fill:white;stroke:white;filter:drop-shadow(0 1px 3px #0008)}.watch-action.selected{color:#e74c59}.watch-action.selected svg{fill:#e74c59;stroke:#e74c59}.watch-action span{font-size:10px;font-weight:500}.watch-action[aria-label="Mais opções"] svg{fill:none;stroke-width:5}.watch-copy{position:absolute;left:14px;right:64px;bottom:25px;z-index:3;text-shadow:0 1px 5px #000}.watch-copy h2{font-size:15px;line-height:1.5;font-weight:600;margin:0 0 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.watch-copy p{font-size:12px;line-height:1.65;color:#eee;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.watch-shell .watch-expand{font-size:11px;font-weight:600;background:transparent;padding:2px 0;border:0}.watch-copy.expanded{max-height:45%;overflow:auto;background:transparent;padding:0;left:14px;right:64px;bottom:116px;border-radius:0;scrollbar-width:thin;overscroll-behavior:contain}.watch-copy.expanded p{display:block;overflow:visible}.watch-copy.expanded h2{white-space:normal}.watch-seek{position:absolute;bottom:0;left:0;right:0;z-index:5}.watch-times{display:flex;justify-content:space-between;padding:0 13px 2px;font-size:10px;text-shadow:0 1px 4px black;opacity:0;transition:opacity .18s}.watch-stage.controls-visible .watch-times,.watch-stage.is-paused .watch-times,.watch-seek:focus-within .watch-times{opacity:1}.watch-progress{--progress:0%;appearance:none;-webkit-appearance:none;display:block;width:100%;height:3px;margin:0;padding:0;border:0;border-radius:0;cursor:pointer;background:linear-gradient(to right,#fff var(--progress),#ffffff50 var(--progress))}.watch-progress::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:8px;height:8px;border-radius:50%;background:white}.watch-progress::-moz-range-thumb{width:8px;height:8px;border:0;border-radius:50%;background:#fff}.watch-progress:focus-visible{height:7px;outline:0}.watch-footer{flex:0 0 76px;display:flex;align-items:center;padding:12px 12px calc(12px + env(safe-area-inset-bottom,0px));background:#000}.watch-shell .watch-episodes-toggle{width:100%;display:flex;align-items:center;gap:10px;padding:14px 12px;background:#1b1b1d;border:0;border-radius:7px;text-align:left}.watch-episodes-toggle span{font-size:12px;flex:1;font-weight:500}.watch-episodes-toggle svg{width:19px;height:19px}.watch-episodes-toggle[aria-expanded="true"]>svg:last-child{transform:rotate(180deg)}.watch-sheet,.watch-settings{position:absolute;z-index:10;left:0;right:0;bottom:0;border-radius:18px 18px 0 0;background:#18181bf5;box-shadow:0 -10px 60px #0009;padding:20px 16px calc(24px + env(safe-area-inset-bottom,0px));max-height:65%;overflow:auto;backdrop-filter:blur(14px)}.watch-sheet[hidden],.watch-settings[hidden]{display:none}.watch-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:20px}.watch-sheet-head strong{font-size:15px}.watch-shell .watch-sheet-head button{background:#2b2b30;color:#d9d9df;font-size:11px;padding:7px 10px;border:0}.watch-episode-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;max-height:45dvh;overflow:auto;padding:2px}#episodes.watch-episode-grid{display:grid;margin:0;max-height:45dvh;gap:9px}.watch-shell #episodes button{min-width:0;background:#2b2b30;color:white;padding:11px 0;border:1px solid transparent;border-radius:7px;font-size:13px;font-weight:500}.watch-shell #episodes button.active{background:#e74c59;border-color:#f47d86;color:white}.watch-setting{display:flex;align-items:center;justify-content:space-between;gap:20px;color:#eee;font-size:13px;margin:0;padding:13px 0;border-bottom:1px solid #ffffff12}.watch-setting input{flex:0 0 auto;width:18px;height:18px;min-width:18px;accent-color:#e74c59}.watch-setting select{background:#2b2b30;font-size:12px;padding:7px;border:0}.watch-shell .watch-setting-button{display:flex;align-items:center;gap:10px;background:transparent;border:0;padding:14px 0;font-size:13px;width:100%;text-align:left}.watch-setting-button svg{width:20px;height:20px}.watch-shell:fullscreen{width:100vw;max-width:none;height:100dvh}.watch-shell:fullscreen .watch-stage{max-width:calc((100dvh - 76px)*.5625);margin:auto;width:100%;min-height:0}.watch-shell:fullscreen .watch-footer{width:min(100%,500px);margin:auto;flex-shrink:0}@keyframes watch-spin{to{transform:rotate(360deg)}}@media(max-width:600px){.watch-shell{width:100vw;min-width:0}.watch-top{height:55px}.watch-rail{bottom:140px;right:8px}.watch-copy{bottom:25px}.watch-copy h2{font-size:15px}.watch-footer{padding-left:14px;padding-right:14px}.watch-progress{height:3px}}@media(prefers-reduced-motion:reduce){.watch-shell *{transition:none!important;animation:none!important}}

#drama-player-dialog .watch-shell{font-family:inherit}#drama-player-dialog .watch-video{aspect-ratio:auto!important;height:100%!important;max-height:none!important}#drama-player-content{width:100%;height:100%}

/* Every control shares one three-second visibility cycle; no footer reserves video space. */
.watch-shell{width:min(100vw,calc(100dvh * .5625))}.watch-stage{flex:1;width:100%;height:100%}
.watch-footer{position:absolute;left:0;right:0;bottom:0;z-index:6;background:linear-gradient(transparent,#000b);height:76px;flex:none}
.watch-copy{bottom:105px}.watch-seek{bottom:80px}.watch-rail{bottom:210px}
.watch-top,.watch-rail,.watch-copy,.watch-seek,.watch-footer,.watch-stage:before{transition:opacity .18s ease,visibility .18s ease}
.watch-shell.controls-hidden:not(.keyboard-controls) .watch-top,.watch-shell.controls-hidden:not(.keyboard-controls) .watch-rail,.watch-shell.controls-hidden:not(.keyboard-controls) .watch-copy,.watch-shell.controls-hidden:not(.keyboard-controls) .watch-seek,.watch-shell.controls-hidden:not(.keyboard-controls) .watch-footer,.watch-shell.controls-hidden:not(.keyboard-controls) .watch-center{opacity:0;visibility:hidden;pointer-events:none}
.watch-shell.controls-hidden .watch-stage:before{opacity:0}
.watch-shell:fullscreen .watch-stage{max-width:calc(100dvh * .5625);height:100%;margin:auto}.watch-shell:fullscreen .watch-footer{width:100%;margin:0}

/* Movyra's portrait cinema: branded controls, seasonal accents, clean picture. */
.watch-shell{--watch-accent:var(--accent,#e53935);--watch-panel:var(--panel,#17171c)}
.watch-top{height:68px;gap:10px;padding-left:12px;padding-right:18px;background:linear-gradient(#0009,transparent)}
.watch-brand{display:flex;flex-direction:column;gap:3px;flex:1}.watch-brand small{color:var(--watch-accent);font-size:10px;font-weight:800;letter-spacing:2px}.watch-current{font-size:13px}
.watch-format{font-size:9px;letter-spacing:1px;font-weight:700;color:var(--watch-accent);border:1px solid color-mix(in srgb,var(--watch-accent) 35%,transparent);background:color-mix(in srgb,var(--watch-accent) 12%,transparent);border-radius:30px;padding:6px 10px}
.watch-shell .watch-center{width:66px;height:66px;background:var(--watch-accent)!important;box-shadow:0 8px 35px #0005}.watch-center svg{stroke:#fff}.watch-stage.is-paused .watch-center svg{fill:#fff}
.watch-kicker{display:block;color:var(--watch-accent);font-size:9px;font-weight:700;letter-spacing:1.7px;margin-bottom:7px}.watch-copy h2{font-size:17px;letter-spacing:-.3px}.watch-copy p{font-size:12px;color:#ddd;line-height:1.6}.watch-expand{color:var(--watch-accent)!important}
.watch-shell .watch-action{color:var(--watch-accent)}.watch-action svg{stroke:var(--watch-accent)}
.watch-footer{height:86px;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px))}.watch-shell .watch-episodes-toggle{background:color-mix(in srgb,var(--watch-panel) 94%,transparent);border:1px solid color-mix(in srgb,var(--watch-accent) 25%,transparent);border-radius:15px;padding:16px 14px;box-shadow:0 8px 25px #0003}.watch-episodes-toggle svg{color:var(--watch-accent)}.watch-episodes-toggle span{font-size:13px;font-weight:600}
.watch-copy{bottom:116px}.watch-seek{bottom:92px}.watch-rail{bottom:220px}.watch-progress{background:linear-gradient(to right,var(--watch-accent) var(--progress),#ffffff40 var(--progress))}
.watch-sheet,.watch-settings{background:var(--watch-panel);border:1px solid color-mix(in srgb,var(--watch-accent) 25%,transparent);border-bottom:0}.watch-shell #episodes button.active{background:var(--watch-accent);border-color:var(--watch-accent)}

#drama-player-dialog{background:radial-gradient(ellipse at 50% 50%,#26181f 0,#08090d 65%)}
.watch-sheet,.watch-settings{padding:24px 22px calc(24px + env(safe-area-inset-bottom,0px));border-radius:22px 22px 0 0;box-shadow:0 -16px 70px #0008}
.watch-sheet-head{margin-bottom:16px}.watch-panel-heading{display:grid;gap:8px}.watch-panel-heading small{font-size:9px;letter-spacing:2px;color:var(--watch-accent);font-weight:800}.watch-panel-heading strong{font-size:22px;letter-spacing:-.5px}
.watch-shell .watch-panel-close{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;padding:8px;background:#ffffff0b;border:1px solid #ffffff12;color:#ddd}.watch-panel-close svg{width:18px;height:18px}
.watch-setting{font-size:14px;line-height:1.5;padding:18px 0;border-color:#ffffff0c}.watch-setting input[type=checkbox]{appearance:none;-webkit-appearance:none;width:42px;height:24px;min-width:42px;border-radius:20px;border:1px solid #ffffff20;background:#ffffff16;position:relative;cursor:pointer;transition:background .18s}
.watch-setting input[type=checkbox]:before{content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .18s}.watch-setting input[type=checkbox]:checked{background:var(--watch-accent);border-color:transparent}.watch-setting input[type=checkbox]:checked:before{transform:translateX(18px)}
.watch-speed{display:block}.watch-speed-options{display:flex;gap:7px;margin-top:12px}.watch-shell .watch-speed-options button{flex:1;min-width:0;padding:10px 3px;font-size:13px;border:1px solid #ffffff14;border-radius:10px;background:#ffffff08;color:#c5c5ce}.watch-shell .watch-speed-options button[aria-pressed=true]{border-color:var(--watch-accent);color:var(--watch-accent);background:color-mix(in srgb,var(--watch-accent) 12%,transparent);font-weight:700}
.watch-shell .watch-setting-button{font-size:14px;padding:15px 0;gap:13px}.watch-setting-button svg{width:22px;height:22px;color:var(--watch-accent)}
.watch-shell button:focus-visible,.watch-shell input:focus-visible{outline:2px solid var(--watch-accent);outline-offset:3px}
@media(min-width:1050px){.watch-settings,.watch-sheet{position:fixed;left:auto;right:max(24px,calc((100vw - 100dvh * .5625)/2 - 380px));bottom:auto;top:50%;transform:translateY(-50%);width:330px;max-height:calc(100dvh - 70px);border-radius:22px;border:1px solid #ffffff14;background:var(--watch-panel);box-shadow:0 25px 100px #0009}.watch-settings .watch-sheet-head{margin-bottom:10px}}

.watch-shell #episodes button.is-completed {
  background:#224136;
  color:#a2e6bd;
  box-shadow:inset 0 -2px #61bb8b;
}
.watch-shell #episodes button.is-completed.active { border-color:#f47d86; }
