:root{--bg:#090f18;--panel:#121c2a;--line:#283447;--text:#f2f5fa;--muted:#9ba9bb;--accent:#b7cee6}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer;color:inherit;background:none;border:1px solid transparent;border-radius:6px;outline:none}button:focus-visible,button.focused,input:focus-visible,select:focus-visible{outline:3px solid #e3edf9;outline-offset:5px}button:focus{outline:3px solid #e3edf9;outline-offset:5px}button:hover{background-color:#ffffff0d}button:disabled{opacity:.35;cursor:default}[hidden]{display:none!important}.splash{position:fixed;inset:0;z-index:100;background:#090f18;display:flex;align-items:center;justify-content:center;flex-direction:column;transition:opacity .45s}.splash img{width:470px;height:auto}.splash p{font-size:17px;letter-spacing:3px;color:#92a3b7;margin-top:30px}.splash-line{height:2px;width:100px;background:#728ca9;margin-top:48px;animation:pulse 1.4s infinite}.splash.leaving{opacity:0;pointer-events:none}@keyframes pulse{50%{opacity:.2;width:170px}}#app{height:100%;display:flex;flex-direction:column}header{height:116px;flex:0 0 116px;display:flex;align-items:center;gap:76px;padding:28px 72px;position:relative;z-index:10;background:linear-gradient(#090f18,#090f18e8)}.brand{width:205px;height:62px;object-fit:contain}nav{display:flex;gap:18px;align-items:center}.nav{font-size:23px;padding:13px 19px;color:#b7c2d2;position:relative}.nav.active{color:white}.nav.active:after{content:"";height:2px;background:#acc7e1;position:absolute;bottom:0;left:19px;right:19px}.search-nav{display:flex;gap:12px;align-items:center}.search-nav svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.6;fill:none}.header-end{margin-left:auto;display:flex;align-items:center;gap:12px;color:#a6b5c8;font-size:20px}.status-dot{width:6px;height:6px;background:#8ebdaa;border-radius:50%}main{flex:1;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;position:relative;padding-bottom:55px}main::-webkit-scrollbar{display:none}.hero{height:515px;position:relative;margin-top:-1px;display:flex;align-items:center;padding:40px 76px 52px}.hero-bg{position:absolute;right:0;top:0;width:75%;height:100%;object-fit:cover;object-position:50% 30%;opacity:.65}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#090f18 8%,#090f18de 35%,#090f1850 70%),linear-gradient(0deg,#090f18,transparent 55%);pointer-events:none}.hero-copy{position:relative;z-index:1;max-width:930px}.eyebrow{font-size:13px;letter-spacing:3px;text-transform:uppercase;color:#a6b8ce;margin-bottom:19px}.hero h1{font-size:65px;line-height:1.06;font-weight:600;letter-spacing:-1.8px;margin:0 0 20px;max-width:900px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.meta{display:flex;align-items:center;gap:17px;font-size:18px;color:#c2ccda;margin-bottom:19px}.meta .tag{font-size:13px;letter-spacing:.05em;border:1px solid #526176;border-radius:3px;padding:4px 7px}.summary{color:#a9b6c8;font-size:20px;line-height:1.6;max-width:740px;margin:0 0 26px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.actions{display:flex;gap:15px;align-items:center}.primary,.secondary{padding:16px 26px;font-size:19px;min-height:58px;font-weight:600}.primary{background:#e7edf5;color:#152236;border-color:#e7edf5}.primary:hover{background:white}.secondary{background:#1c2939d9;border-color:#42516a;color:#dce6f3}.row{padding:14px 72px 22px}.row-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.row h2{font-size:23px;font-weight:500;letter-spacing:.1px;margin:0}.row-count{font-size:16px;color:#7f91a8}.rail{display:flex;gap:23px;overflow-x:auto;padding:8px 8px 18px;margin:0 -8px;scrollbar-width:none;scroll-behavior:smooth}.rail::-webkit-scrollbar{display:none}.poster{width:198px;flex:0 0 198px;padding:0;text-align:left;border:0;border-radius:7px;transition:transform .12s;position:relative;background:none!important}.poster .cover{aspect-ratio:2/3;width:100%;position:relative;background:linear-gradient(140deg,#26354b,#131e2e);border-radius:6px;overflow:hidden}.poster img{width:100%;height:100%;object-fit:cover}.poster:focus{outline:none;transform:translateY(-3px)}.poster:focus .cover{box-shadow:0 0 0 4px #dceafb}.poster-title{font-size:17px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:13px;color:#d7e0ed}.poster-sub{font-size:14px;margin-top:6px;color:#8294ac;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.progress{position:absolute;left:0;bottom:0;height:4px;background:#c4d7ec}.watched{position:absolute;right:9px;top:9px;border-radius:50%;background:#132438d9;width:22px;height:22px;display:grid;place-items:center;font-size:14px}.page{padding:30px 76px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:35px}.page h1{font-size:42px;font-weight:500;margin:0;letter-spacing:-.8px}.page p{color:#8ea1b9;font-size:18px}.grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:36px 25px}.grid .poster{width:100%;min-width:0}.pager{display:flex;gap:20px;justify-content:center;padding:34px 0;align-items:center;color:#94a6bc;font-size:19px}.pager button,.quiet{padding:13px 19px;background:#152133;border-color:#31425a;font-size:18px}.back{padding:10px 15px;font-size:18px;color:#b3c2d5;margin-bottom:12px}.detail-hero{height:520px}.detail-hero .summary{-webkit-line-clamp:3;max-width:830px}.detail-hero h1{font-size:56px}.detail-copy{padding:0 76px 35px;display:flex;gap:28px;align-items:flex-start}.detail-copy label{display:flex;flex-direction:column;gap:10px;color:#a6b7cd;font-size:15px}.detail-copy select{font-size:18px;max-width:560px;padding:12px 40px 12px 15px;background:#162234;color:#e8eff8;border:1px solid #3b4b61;border-radius:5px;min-height:48px}.cast{color:#8396ad;font-size:17px;padding:0 76px 30px}.search-box{display:flex;gap:20px;align-items:center;margin-bottom:30px}.search-box input{width:700px;font-size:27px;background:#131f30;border:1px solid #485a73;color:white;padding:20px;border-radius:6px}.empty,.error{padding:75px;text-align:center;color:#9baec4;font-size:24px}.error button{margin-top:28px}.loading{padding:90px;color:#8b9fb9;font-size:23px;text-align:center}#notice{position:fixed;bottom:45px;left:50%;transform:translateX(-50%);padding:18px 28px;background:#24344b;border:1px solid #53677f;border-radius:6px;font-size:20px;z-index:99;max-width:1000px;text-align:center}#player{position:fixed;inset:0;background:black;z-index:60}video{width:100%;height:100%;object-fit:contain;background:black}#playerHud{position:absolute;inset:0;transition:opacity .2s;background:linear-gradient(#000b,transparent 23%,transparent 55%,#000d)}#playerHud.dim{opacity:0;pointer-events:none}.player-top{display:flex;align-items:center;gap:40px;padding:35px 55px}.player-top img{width:180px;height:54px;object-fit:contain}.player-top span{margin-left:auto;color:#b4c4d9;font-size:17px}.player-bottom{position:absolute;bottom:0;left:0;right:0;padding:45px 75px}#playerTitle{font-size:29px;font-weight:500;margin-bottom:28px}.timeline{display:flex;align-items:center;gap:22px;color:#b8c7da;font-size:19px;font-variant-numeric:tabular-nums}.timeline input{flex:1;accent-color:#e1eaf6}.player-actions{display:flex;justify-content:center;align-items:center;gap:30px;margin-top:26px}.player-actions button{font-size:19px;padding:13px 24px;background:#16253b;border-color:#40536e}.player-actions .primary{background:#e5edf7;color:#142135}.player-hint{font-size:15px;color:#8fa2bb;text-align:center;margin-top:22px;letter-spacing:.3px}#playerLoading{position:absolute;left:0;right:0;top:48%;text-align:center;font-size:23px;color:#d1deef;pointer-events:none}@media(max-width:1400px){header{height:85px;flex-basis:85px;padding:18px 42px;gap:45px}.brand{width:154px;height:46px}.nav{font-size:18px;padding:10px 14px}.header-end{font-size:16px}.hero{height:370px;padding:24px 48px}.hero h1{font-size:46px;max-width:700px}.eyebrow{font-size:11px;margin-bottom:12px}.meta{font-size:14px;margin-bottom:12px}.summary{font-size:16px;max-width:590px;margin-bottom:20px}.primary,.secondary{padding:12px 20px;min-height:44px;font-size:15px}.row{padding:12px 44px 18px}.row h2{font-size:19px}.poster{width:153px;flex-basis:153px}.rail{gap:20px}.poster-title{font-size:14px}.poster-sub{font-size:12px}.page{padding:22px 46px}.grid{grid-template-columns:repeat(6,minmax(0,1fr))}.detail-copy{padding:0 48px 25px}.cast{padding:0 48px 25px}.detail-hero h1{font-size:42px}.splash img{width:350px}}

#subtitlePanel{position:fixed;inset:0;z-index:80;background:#02060dc9;display:flex;align-items:center;justify-content:flex-end;padding:50px 75px}.subtitle-sheet{width:620px;max-height:85vh;overflow-y:auto;background:#111d2d;border:1px solid #3b4e68;border-radius:10px;padding:28px}.subtitle-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.subtitle-heading h2{font-size:28px;font-weight:500;margin:0}.subtitle-heading button{font-size:18px;padding:12px 18px;background:#263851}.subtitle-sheet p{color:#9bafc8;font-size:17px;line-height:1.5}.subtitle-option{display:flex;align-items:center;justify-content:space-between;width:100%;padding:18px 16px;font-size:21px;text-align:left;border-bottom:1px solid #2a3d56;border-radius:3px}.subtitle-option.selected{color:#e9f2ff;background:#20334a}.subtitle-option span{color:#b2cbe6}

.stream-select{font-size:18px;max-width:560px;padding:12px 22px;background:#162234;color:#e8eff8;border:1px solid #3b4b61;border-radius:5px;min-height:48px;text-align:left}.detail-copy input[type=hidden]{display:none}#playbackError{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);background:#132033;border:1px solid #3c526e;padding:35px;width:750px;border-radius:9px;text-align:center}#playbackError h2{font-size:28px;font-weight:500;margin:0 0 18px}#playbackError p{color:#aabdd4;font-size:20px;line-height:1.5}#playbackError button{margin:15px 8px 0}

/* Position against the physical screen, including letterboxed films. */
#captions{position:absolute;left:8%;right:8%;bottom:4.5%;z-index:2;text-align:center;white-space:pre-line;font-size:42px;line-height:1.25;font-weight:600;color:#fff;text-shadow:0 2px 3px #000,2px 0 3px #000,-2px 0 3px #000,0 -2px 3px #000;pointer-events:none}

#playerHud{z-index:3}

/* Quiet, remote-friendly player controls. */
.player-actions{gap:28px;margin-top:28px}
.player-actions .player-icon,.player-top .player-icon{display:flex;align-items:center;justify-content:center;padding:0;width:64px;height:64px;min-height:64px;border-radius:50%;background:#122033c9;border:1px solid #ffffff30;box-shadow:0 6px 22px #0003;transition:background .18s,transform .18s}
.player-icon svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.player-icon svg text{fill:currentColor;stroke:none;font:bold 12px Arial,sans-serif}
.player-actions #pausePlay{width:82px;height:82px;background:#e7eef6;color:#101b2b;border-color:#e7eef6}
#pausePlay svg{width:38px;height:38px}
#pausePlay .play-glyph{fill:currentColor;stroke:none}
#pausePlay .pause-glyph{stroke-width:4}
.player-icon:hover{background:#30445b}
.player-icon:focus{outline:3px solid #e3edf9;outline-offset:6px;transform:scale(1.06)}
.player-top .subtitle-control{border-radius:16px;margin-left:8px}
.player-top .subtitle-control svg{width:34px;height:34px}
#playerLoading{top:50%;left:50%;right:auto;transform:translate(-50%,-50%);width:104px;height:104px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:transparent;z-index:4}
.buffer-orbit{display:block;width:82px;height:82px;border:2px solid #b7cee62b;border-top-color:#e7eef6;border-right-color:#b7cee6;border-radius:50%;animation:buffer-spin .85s linear infinite}
@keyframes buffer-spin{to{transform:rotate(360deg)}}
#notice{pointer-events:none}

#notice.player-notice{top:130px;bottom:auto;font-size:18px;background:#102034e8;border-color:#ffffff25}

nav{gap:8px}.nav{padding-left:14px;padding-right:14px}header{gap:50px}
.request-status{font-size:13px;color:#b7cee6;margin-top:8px;min-height:18px;text-align:left;white-space:normal;line-height:1.4}
.season-picker{padding:0 76px 35px}.season-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.season-heading h2{font-size:24px;font-weight:500}.season-options{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.season-options button{display:flex;align-items:center;gap:15px;text-align:left;background:#142033;border:1px solid #33465f;padding:20px;font-size:20px}.season-options button[aria-checked=true]{background:#253e57;border-color:#a3bfda}.season-options small{margin-left:auto;font-size:14px;color:#a4b7cc}.season-check{width:24px;height:24px;border:1px solid #8298b0;border-radius:4px;text-align:center;flex-shrink:0}.season-options button:disabled{opacity:.65}
#requestConfirm{position:fixed;inset:0;z-index:90;background:#02060ddd;display:flex;align-items:center;justify-content:center}.request-confirm-sheet{background:#111d2d;border:1px solid #3b4e68;border-radius:12px;padding:40px;max-width:900px}.request-confirm-sheet h2{font-size:30px;font-weight:500}.request-confirm-sheet p{font-size:20px;color:#a4b7cc;margin-bottom:30px}

#qualityOffer{position:fixed;inset:0;z-index:85;background:#02060dbd;display:flex;align-items:center;justify-content:center}.quality-sheet{max-width:850px;background:#111d2df5;border:1px solid #49617d;border-radius:16px;padding:42px;box-shadow:0 20px 80px #0008}.quality-sheet h2{font-size:34px;font-weight:500;margin:0 0 22px}.quality-sheet p{font-size:21px;line-height:1.6;color:#afc0d5;margin-bottom:32px}

.library-loader{display:flex;align-items:center;justify-content:center;min-height:calc(100vh - 180px);padding:85px}
.p-loader-mark{width:112px;height:112px;position:relative;display:flex;align-items:center;justify-content:center}
.p-loader-mark:before{content:"";position:absolute;inset:0;border:2px solid #b7cee61c;border-top-color:#c8dcef;border-radius:50%;animation:buffer-spin 2s linear infinite}
.p-loader-mark img{width:128px;height:128px;max-width:none;animation:pegasus-breathe 1.7s ease-in-out infinite}
@keyframes pegasus-breathe{0%,100%{opacity:.4;transform:scale(.9)}50%{opacity:1;transform:scale(1)}}
.download-meter{height:4px;margin-top:9px;background:#b7cee61f;border-radius:4px;overflow:hidden}.download-meter i{display:block;height:100%;background:#b7cee6;border-radius:4px;transition:width .6s ease}
#catalogDownloadInfo{max-width:520px;margin:-10px 0 20px;color:#d4e3f3;font-size:18px}#catalogDownloadInfo small{display:block;color:#8fa5bd;font-size:13px;margin-top:8px}
@media(prefers-reduced-motion:reduce){.p-loader-mark:before,.p-loader-mark img{animation:none}.download-meter i{transition:none}}

#searchResults .library-loader{min-height:360px}

.player-top .home-control{border-radius:16px}

.buffer-p{position:absolute;width:112px;height:112px;animation:pegasus-breathe 1.7s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.buffer-p,.buffer-orbit{animation:none}}

.source-button svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}.source-button{padding:12px}.source-button+ .header-end{margin-left:auto}#backendBadge{font-size:12px;color:#bed2e6;border:1px solid #49617d;padding:6px 10px;border-radius:5px;white-space:nowrap}#backendPanel{position:fixed;inset:0;z-index:90;background:#02060ddd;display:flex;align-items:center;justify-content:center}

#bitmapCaption{position:absolute;left:50%;transform:translateX(-50%);bottom:4.5%;height:auto;max-width:90%;z-index:2;pointer-events:none}

#signInPanel{position:fixed;inset:0;background:radial-gradient(ellipse at 75% 35%,#24392e 0,transparent 60%),#0b1110;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:60;text-align:center;padding:60px}#signInPanel>img{width:240px;margin-bottom:55px}#signInPanel h1{font-size:58px;letter-spacing:-2px;font-weight:500;margin:18px}#signInStatus{font-size:23px;color:#afb9b1;max-width:1000px;min-height:32px}#signInCode{font-size:80px;letter-spacing:12px;color:#d0dfbc;margin:32px 0;font-variant-numeric:tabular-nums}#signInAddress{font-size:24px;color:#c8cec8;margin-bottom:32px}#signInPanel button{font-size:22px}#accountButton{font-size:17px;padding:12px;max-width:270px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

#accountButton.account-avatar{height:46px;min-width:46px;padding:0 10px;border-radius:50%;border:1px solid #40516a;background:#182432;color:#e5edf5;font:inherit;font-size:18px;font-weight:600;letter-spacing:1px;cursor:pointer}.account-avatar:focus{outline:3px solid #d6e4f4;outline-offset:5px}#accountMenu{position:fixed;right:72px;top:98px;width:320px;background:#111c29;border:1px solid #35465b;border-radius:14px;padding:14px;z-index:75;box-shadow:0 24px 64px #0009}#accountMenuName{padding:15px 16px;color:#9aafc6;font-size:17px;border-bottom:1px solid #304155;margin-bottom:10px}#accountMenu button{display:block;width:100%;text-align:left;padding:16px;border:0;border-radius:7px;background:none;color:#e3ebf4;font:inherit;font-size:22px;cursor:pointer}#accountMenu button:focus,#accountMenu button:hover{background:#2a3b50;outline:2px solid #adc5e2}#accountDialog{position:fixed;inset:0;background:#02070dc9;display:flex;align-items:center;justify-content:center;padding:50px;z-index:76}.account-sheet{width:min(850px,90vw);max-height:88vh;overflow:auto;background:#101b28;border:1px solid #35465b;border-radius:16px;padding:36px;color:#e4ecf5;font-size:22px;box-shadow:0 30px 90px #000b}.account-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.account-dialog-heading h2{font-size:32px;margin:0;font-weight:500}.account-sheet p{line-height:1.6}.account-muted,.account-loading{color:#9bafc6;font-size:18px}.connection-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.connection-grid>div{display:flex;flex-direction:column;gap:10px}.connection-grid span{color:#9bafc6;font-size:18px}.connection-grid strong{font-size:25px;font-weight:500;overflow-wrap:anywhere}.connection-grid .wide{grid-column:1/-1}.account-sheet .good{color:#93d2b3}.account-sheet .fair{color:#e7c98c}.account-sheet .poor,.account-error{color:#f0a5a5}.account-actions{display:flex;gap:16px;align-items:center;justify-content:flex-end;margin-top:35px}.account-actions>.account-muted{margin-right:auto}.account-devices{max-height:48vh;overflow:auto}.account-device{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:24px 0;border-top:1px solid #2c3d50}.account-device>div{display:flex;flex-direction:column;gap:10px}.account-device strong{font-weight:500;overflow-wrap:anywhere}.account-device span{font-size:17px;color:#9bafc6}.device-current{border:1px solid #41624e;color:#a4d1b8!important;padding:6px 12px;border-radius:20px;white-space:nowrap}#accountDialog button{font-size:20px}#accountDialog button:focus{outline:3px solid #d6e4f4;outline-offset:4px}@media(max-width:700px){#accountMenu{right:18px;top:85px;width:280px}.account-sheet{padding:24px;font-size:18px}.account-dialog-heading h2{font-size:25px}.connection-grid strong{font-size:19px}.connection-grid{gap:24px}.account-actions{flex-wrap:wrap}.account-device{gap:12px}}
