.sp-flow-panel{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 16px;margin:10px 0;border:1px solid #60478b66;border-radius:14px;background:linear-gradient(115deg,#141b30,#221837);color:#f4efff;font-size:.9rem}.sp-flow-panel label{display:flex;align-items:center;gap:6px;margin:0}.sp-flow-panel input{width:auto;accent-color:#a879ef}.sp-flow-panel button,#sp-next-prompt button,#sp-skip-credits{border:1px solid #8e64c5;border-radius:8px;background:#342355;color:white;padding:8px 12px;cursor:pointer}.sp-flow-panel button:focus-visible,#sp-next-prompt button:focus-visible{outline:2px solid #5fefff;outline-offset:3px}#flow-status{color:#9cdedc}#sp-next-prompt{gap:10px;flex-wrap:wrap}#sp-next-prompt[hidden],#sp-next-prompt [hidden],.sp-pp-actions button[hidden]{display:none!important}

/* Compact player controls, layered above the video surroundings. */
.watch-page .sp-pp-actions.sp-compact-flow{flex-wrap:wrap!important;gap:4px 8px!important;min-height:44px!important;background:#12131e!important;padding:6px 12px!important;align-items:center!important;z-index:5!important}
.watch-page .sp-compact-flow .sp-v134-track{flex:1 1 220px!important;flex-wrap:wrap!important;overflow:visible!important;gap:4px 10px!important}
.watch-page .sp-compact-flow button,.watch-page .sp-compact-flow summary{min-height:34px!important;color:#f3efff!important;cursor:pointer;font-size:13px!important}
.watch-page .sp-compact-flow button:hover,.watch-page .sp-compact-flow summary:hover{color:#d5a6ff!important;background:#ffffff12!important}
.watch-page .sp-compact-flow .sp-flow-settings{position:relative;margin-left:auto;flex:0 0 auto}
.watch-page .sp-compact-flow summary{display:flex;align-items:center;padding:4px 10px;list-style:none;border-radius:7px;white-space:nowrap}
.watch-page .sp-compact-flow summary::-webkit-details-marker{display:none}
.watch-page .sp-compact-flow summary:focus-visible{outline:2px solid #5fefff;outline-offset:2px}
.watch-page .sp-flow-settings-body{position:absolute;right:0;bottom:calc(100% + 8px);width:min(290px,calc(100vw - 48px));box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:12px;background:#191c2d;border:1px solid #51426e;border-radius:12px;box-shadow:0 12px 36px #000a;z-index:120}
.watch-page .sp-flow-settings:not([open]) .sp-flow-settings-body{display:none!important}
.watch-page .sp-flow-settings-body .sp-flow-panel{display:flex;flex-direction:column;align-items:stretch;gap:5px;background:none;border:0;border-top:1px solid #ffffff19;border-radius:0;padding:7px 0 0;margin:0}
.watch-page .sp-flow-settings-body label,.watch-page .sp-flow-settings-body button{white-space:normal!important;min-height:36px!important;justify-content:flex-start!important;text-align:left!important}
.watch-page .sp-flow-settings-body label input{flex:none;accent-color:#b58aff}
.watch-page .sp-flow-settings-body #flow-status{font-size:12px;line-height:1.4}
.watch-page #sp-advanced-controls[hidden],.watch-page #sp-advanced-controls [hidden]{display:none!important}
.watch-page .sp-v136-external-support{padding:8px 4px!important;margin:0 0 8px!important}
@media(max-width:600px){.watch-page .sp-pp-actions.sp-compact-flow{padding:5px 8px!important}.watch-page .sp-compact-flow .sp-v134-track{flex:1 1 160px!important;gap:2px!important}.watch-page .sp-compact-flow button,.watch-page .sp-compact-flow summary{font-size:12px!important;min-height:40px!important}}

/* v0.9.17.0.9: one in-video control surface, auto-hidden during playback. */
.sp-video-stage{position:relative;background:#000;isolation:isolate;line-height:normal}.sp-video-stage video{display:block;width:100%}.watch-page .sp-video-stage .sp-compact-flow{position:absolute!important;left:0;right:0;bottom:0;display:flex!important;background:linear-gradient(transparent,#05050bd9 22%,#05050bf5)!important;padding:25px 14px 8px!important;gap:2px 8px!important;transition:opacity .22s ease,transform .22s ease;z-index:8!important;border:0!important}.sp-video-stage.sp-controls-idle .sp-compact-flow{opacity:0;pointer-events:none;transform:translateY(5px)}.sp-video-stage.sp-controls-idle{cursor:none}.sp-overlay-transport{width:100%;display:flex;flex-direction:column;gap:4px}.sp-overlay-row{display:flex;align-items:center;gap:8px;min-width:0}.sp-overlay-spacer{flex:1}.sp-overlay-time{font-size:12px;color:#fff;white-space:nowrap}.watch-page .sp-overlay-transport input[type=range]{accent-color:#bf8bff;padding:0;margin:0;height:18px;cursor:pointer;background:transparent}.watch-page .sp-overlay-transport>input{width:100%}.watch-page .sp-overlay-row input{width:75px;max-width:16vw}.watch-page .sp-overlay-row button,.watch-page .sp-overlay-row summary{border:0!important;background:transparent!important;border-radius:5px!important;padding:5px 8px!important;min-width:30px;font-size:15px!important}.sp-cc-menu{position:relative}.sp-cc-menu summary{list-style:none;cursor:pointer;font-weight:700}.sp-cc-menu summary::-webkit-details-marker{display:none}.sp-cc-menu summary[data-active=true]{color:#d9a5ff!important;text-decoration:underline;text-underline-offset:4px}.sp-cc-options{position:absolute;right:0;bottom:100%;width:220px;max-width:70vw;background:#181b2b;border:1px solid #51426e;border-radius:10px;padding:8px;display:flex;flex-direction:column;gap:4px;z-index:130;color:white}.sp-cc-menu:not([open]) .sp-cc-options{display:none}.sp-cc-options span{font-size:12px;padding:8px}.sp-center-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:0;border-radius:50%;width:68px;height:68px;background:#111b;color:white;font-size:30px;cursor:pointer;z-index:6}.sp-center-play[hidden]{display:none!important}.sp-premium-player:fullscreen{display:flex;flex-direction:column;justify-content:center;background:black}.sp-premium-player:fullscreen .sp-video-stage video{max-height:100vh!important;width:100%;height:auto}.sp-video-stage video::cue{background:#000b;color:white}.sp-video-stage:focus-visible,.sp-video-stage button:focus-visible,.sp-video-stage summary:focus-visible{outline:2px solid #5fefff;outline-offset:2px}.sp-video-stage .sp-v134-track{min-width:0}.sp-video-stage .sp-flow-settings-body{max-height:min(65vh,360px);overflow:auto}@media(max-width:600px){.watch-page .sp-video-stage .sp-compact-flow{padding:12px 6px 4px!important}.sp-overlay-row{gap:3px}.sp-overlay-time{font-size:10px}.sp-center-play{width:44px;height:44px;font-size:20px}.sp-video-stage .sp-v134-track button{min-height:28px!important;font-size:10px!important}.sp-video-stage .sp-flow-settings summary{min-height:28px!important}}@media(prefers-reduced-motion:reduce){.sp-video-stage .sp-compact-flow{transition:none!important}}

/* Auto-hide overrides: stationary pointer over toolbar is not activity. */
.watch-page .sp-video-stage.sp-controls-idle .sp-compact-flow{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(5px)!important}.watch-page .sp-video-stage.sp-controls-idle,.watch-page .sp-video-stage.sp-controls-idle video{cursor:none!important}

/* Cinema Experience: seek preview, buffered ranges and chapter markers. */
.sp-seek-wrap{position:relative;width:100%;height:22px;display:flex;align-items:center}.watch-page .sp-seek-wrap input[type=range]{width:100%;appearance:none;-webkit-appearance:none;--sp-played:0%;--sp-buffer:none;height:18px!important;background:transparent!important;position:relative;z-index:2}.sp-seek-wrap input::-webkit-slider-runnable-track{height:5px;border-radius:6px;background:linear-gradient(to right,#bc83ff 0 var(--sp-played),transparent var(--sp-played)),var(--sp-buffer),#ffffff40}.sp-seek-wrap input::-moz-range-track{height:5px;border-radius:6px;background:linear-gradient(to right,#bc83ff 0 var(--sp-played),transparent var(--sp-played)),var(--sp-buffer),#ffffff40}.sp-seek-wrap input::-webkit-slider-thumb{appearance:none;width:13px;height:13px;border:0;border-radius:50%;background:#e0baff;margin-top:-4px}.sp-seek-wrap input::-moz-range-thumb{width:13px;height:13px;border:0;border-radius:50%;background:#e0baff}.sp-seek-tip{position:absolute;bottom:calc(100% + 8px);transform:translateX(-50%);background:#101321;border:1px solid #74638d;border-radius:8px;overflow:hidden;z-index:20;pointer-events:none;text-align:center;min-width:50px;max-width:160px;color:white;font-size:12px;box-shadow:0 5px 20px #0008}.sp-seek-tip span{display:block;padding:5px}.sp-seek-tip img{width:160px;max-width:100%;display:block}.sp-seek-tip[hidden],.sp-seek-tip img[hidden],.sp-chapter-menu[hidden]{display:none!important}.sp-chapter-marks{position:absolute;left:0;right:0;top:8px;height:6px;pointer-events:none;z-index:3}.sp-chapter-marks i{position:absolute;width:2px;height:6px;background:white;opacity:.85}.sp-overlay-row button svg{display:block;margin:auto}.sp-overlay-row button{display:flex;align-items:center;justify-content:center}.sp-chapter-menu summary{font-size:12px!important}.sp-chapter-menu .sp-cc-options{max-height:230px;overflow:auto}.sp-chapter-menu .sp-cc-options button{text-align:left;justify-content:flex-start;white-space:normal}.sp-video-stage{border-radius:8px}.sp-video-stage video{border-radius:8px}@media(max-width:600px){.sp-overlay-row button svg{width:18px;height:18px}.sp-seek-tip{max-width:100px}}
/* Scrubbing preview stays above the thumb, including during touch dragging. */
.sp-seek-tip{width:max-content;max-width:min(200px,45vw);border-color:#b58aff88;background:#101321;box-shadow:0 6px 24px #000b}.sp-seek-tip img{width:192px;max-width:100%;height:auto}.sp-seek-tip span{font-variant-numeric:tabular-nums}.sp-seek-wrap input[type=range]{touch-action:pan-y}

.sp-seek-sprite{width:192px;max-width:100%;aspect-ratio:16/9;background-repeat:no-repeat}.sp-seek-sprite[hidden]{display:none!important}
