@font-face{font-family:Plex;src:url('/assets/fonts/IBMPlexSansArabic-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Plex;src:url('/assets/fonts/IBMPlexSansArabic-SemiBold.ttf') format('truetype');font-weight:600 800;font-display:swap}
@font-face{font-family:Oldschool;src:url('/assets/fonts/OldschoolGrotesk-NormalRegular.otf') format('opentype');unicode-range:U+0000-024F,U+1E00-1EFF,U+2000-206F,U+20A0-20CF;font-weight:400;font-display:swap}
@font-face{font-family:Oldschool;src:url('/assets/fonts/OldschoolGrotesk-NormalBold.otf') format('opentype');unicode-range:U+0000-024F,U+1E00-1EFF,U+2000-206F,U+20A0-20CF;font-weight:600 900;font-display:swap}
/* Match the visible ink of short control labels to the centre of their line box. */
@font-face{font-family:OldschoolControl;src:url('/assets/fonts/OldschoolGrotesk-NormalRegular.otf') format('opentype');unicode-range:U+0000-024F,U+1E00-1EFF,U+2000-206F,U+20A0-20CF;font-weight:400;font-display:swap;ascent-override:93%;descent-override:24%;line-gap-override:0%}
@font-face{font-family:OldschoolControl;src:url('/assets/fonts/OldschoolGrotesk-NormalBold.otf') format('opentype');unicode-range:U+0000-024F,U+1E00-1EFF,U+2000-206F,U+20A0-20CF;font-weight:600 900;font-display:swap;ascent-override:93%;descent-override:24%;line-gap-override:0%}
@font-face{font-family:PlexControl;src:url('/assets/fonts/IBMPlexSansArabic-Regular.ttf') format('truetype');font-weight:400;font-display:swap;ascent-override:106%;descent-override:44%;line-gap-override:0%}
@font-face{font-family:PlexControl;src:url('/assets/fonts/IBMPlexSansArabic-SemiBold.ttf') format('truetype');font-weight:600 800;font-display:swap;ascent-override:106%;descent-override:44%;line-gap-override:0%}
:root{color-scheme:dark;--bg:#080908;--surface:#111310;--surface2:#181b16;--line:#262a23;--fg:#f4f5f0;--muted:#999e94;--green:#cef36c;--softgreen:#a8b95d;--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--bg);color:var(--fg);font:400 16px/1.8 Plex,Arial,sans-serif;-webkit-font-smoothing:antialiased}html[lang=en] body{font-family:Oldschool,system-ui,sans-serif;font-size:17px;line-height:1.65}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input,summary{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}button,a,summary,input{outline-offset:5px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--green)}button{border:0}img{max-width:100%;display:block}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600}button{background:transparent}small{font-size:12px}section{scroll-margin-top:100px}.container{width:min(1200px,calc(100% - 80px));margin-inline:auto}.muted{color:var(--muted)}.green{color:var(--green)}.ltr{direction:ltr;unicode-bidi:isolate}.skip-link{position:fixed;top:-80px;inset-inline-start:20px;background:var(--green);color:#111;padding:10px;z-index:100}.skip-link:focus{top:10px}
:root{--nav-glass:#080908ed;--nav-blur:blur(18px)}
.header{height:82px;position:sticky;top:0;z-index:30;border-bottom:1px solid #ffffff0b;background:var(--nav-glass);-webkit-backdrop-filter:var(--nav-blur);backdrop-filter:var(--nav-blur)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:inline-flex;align-items:center;flex-shrink:0}.brand img{width:166px;height:auto}.nav{display:flex;gap:30px;align-items:center;font-size:14px;color:#b0b4aa}.nav a:hover,.footer a:hover{color:var(--fg)}.header-actions{display:flex;align-items:center;gap:20px;font-size:13px}.lang-button{display:flex;align-items:center;gap:7px;color:#bdc1b6;padding:7px 0}.lang-button .icon{width:16px}.sign-in{padding:8px 0}.mobile-toggle{display:none;padding:7px}.btn{gap:10px;padding:12px 25px;min-height:50px;border-radius:9px;font-size:15px;font-weight:600;border:1px solid transparent;transition:background .18s,border-color .18s,transform .18s}.btn:hover{transform:translateY(-2px)}.btn-primary{background:#f1f3ed;color:#151811}.btn-primary:hover{background:var(--green)}.btn-outline{border-color:#657737;color:var(--green)}.btn-outline:hover{background:#cef36c0b;border-color:var(--green)}.btn-dark{background:var(--surface2);border-color:var(--line)}.btn-green{background:var(--green);color:#1a2210}.text-link{display:inline-flex;align-items:center;gap:9px;font-size:14px;color:#d2d6cb}.text-link .icon{width:17px;transition:transform .2s}html[dir=rtl] .arrow{transform:rotate(180deg)}
.hero{text-align:center;padding-top:75px}.eyebrow{display:flex;align-items:center;justify-content:center;gap:9px;color:#a8ae9f;font-size:13px;letter-spacing:.02em;margin-bottom:21px}.dot{width:6px;height:6px;background:var(--green);border-radius:50%;box-shadow:0 0 14px #cef36c66}.hero h1{font-size:clamp(48px,5.85vw,82px);line-height:1.39;letter-spacing:-2.6px;margin:auto;text-wrap:balance}.hero-headline-primary,.hero-headline-line{display:block}.hero-headline-line{color:#959b90}.hero-description{margin:22px auto 29px;color:#a3a89d;font-size:18px;max-width:640px}.hero-actions{display:flex;justify-content:center;gap:16px}.hero-actions>div{width:235px}.hero-actions .btn{width:100%}.hero-actions small{display:block;color:#8e9587;margin-top:6px}.hero-sub{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:#7e8676;margin-top:22px}.hero-sub .icon{width:14px}.hero-media{position:relative;margin:48px 0 0;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#111;box-shadow:0 25px 80px #0009;direction:ltr}.hero-media img{width:100%;height:auto;aspect-ratio:2400/1312;object-fit:contain}.media-overlay{position:absolute;inset:0;background:linear-gradient(0deg,#08090866,transparent 35%);pointer-events:none}.preview-pill{position:absolute;bottom:22px;inset-inline-end:22px;background:#11160fe8;border:1px solid #ffffff25;color:#ecf2e5;padding:11px 17px;border-radius:9px;display:flex;gap:9px;align-items:center;font-size:13px;backdrop-filter:blur(12px)}.preview-pill:hover{border-color:var(--green)}.image-caption{text-align:center;font-size:11px;color:#707969;padding-top:11px}.image-caption a{text-decoration:underline;text-underline-offset:3px}
.section{padding-top:125px}.section-header{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:35px}.section-kicker{font-size:12px;color:var(--softgreen);margin-bottom:10px}.section h2,.closing h2{font-size:clamp(30px,3.1vw,43px);line-height:1.45;letter-spacing:-1px}.section-header p{color:var(--muted);margin-top:9px;font-size:15px}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.feature-card{background:#11130f;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;padding:26px 25px 0;min-width:0}.feature-card>.icon{color:var(--green);width:23px;height:23px;margin-bottom:17px}.feature-card h3{font-size:20px;margin-bottom:8px}.feature-card p{font-size:14px;line-height:1.9;color:var(--muted);min-height:54px}.feature-image{aspect-ratio:16/10;margin:26px -9px 0;border:1px solid #ffffff12;border-bottom:0;border-radius:10px 10px 0 0;overflow:hidden;background:#080a07}.feature-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.sync-badge{display:flex;align-items:center;gap:7px;padding:7px 15px;border:1px solid #465a29;border-radius:30px;font-size:11px;color:var(--green);background:#18200f}.sync-badge .icon{width:13px;height:13px}.sync-profile{width:42px;height:42px;border-radius:50%;background:#232d17;display:grid;place-items:center;color:var(--green)}.sync-profile .icon{color:var(--green);width:23px}
/* Feature illustrations share the same media frame and align at the card bottom. */
.feature-card{display:flex;flex-direction:column;align-items:stretch}
.feature-card h3+p{flex:1 0 auto}
.feature-image{flex-shrink:0}
.account-section{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:65px}.account-section h2{margin:8px 0 18px}.account-section p{color:var(--muted);font-size:15px}.account-art{border:1px solid var(--line);border-radius:var(--radius);padding:30px;background:#11130f;position:relative}.art-top{display:flex;align-items:center;gap:13px;margin-bottom:26px}.art-top img{width:45px}.art-top strong{font-size:17px}.art-top small{display:block;color:var(--muted)}.art-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:18px 0;gap:12px}.art-row>span{display:flex;gap:12px;align-items:center;font-size:14px}.art-row .icon{color:var(--muted)}.art-row small{color:#89947b}.art-row .badge{font-size:10px;color:var(--green);background:#222b18;border:1px solid #39482a;border-radius:20px;padding:2px 9px}.art-footer{display:flex;justify-content:space-between;align-items:center;padding-top:12px;font-size:11px;color:#808975}.art-footer span{display:flex;align-items:center;gap:6px}.art-footer .icon{width:13px}
.pro-label{display:inline-flex;align-items:center;gap:6px;color:var(--green);font-size:12px;background:#202817;border:1px solid #3a4829;border-radius:6px;padding:2px 9px}.pro-label .icon{width:14px}.pricing-header{align-items:center}.pricing-tabs{display:inline-flex;border:1px solid #ffffff08;padding:3px;border-radius:30px;gap:2px;background:#0a0d08;flex-shrink:0}.pricing-tabs button{padding:5px 16px;min-height:34px;border-radius:24px;color:var(--muted);font-size:12px;font-weight:400}.pricing-tabs button.active{background:#242c1d;color:var(--fg)}.plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.plan-card{border:1px solid var(--line);padding:35px;border-radius:18px;background:#10120e}.plan-pro{border-color:#657d36;background:#12170d}.plan-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.plan-top h3{font-size:23px}.plan-top .tag{font-size:11px;color:#a1ad93}.price{font-size:48px;line-height:1.35;letter-spacing:-1px;min-height:66px;font-weight:600}.price small{font-size:14px;font-weight:400;letter-spacing:0;color:var(--muted)}.price-soon{font-size:39px}.plan-sub{color:var(--muted);font-size:13px;margin:10px 0 24px}.plan-card .btn{width:100%}.plan-card ul{list-style:none;padding:0;margin:27px 0 0;display:flex;flex-direction:column;gap:12px}.plan-card li{display:flex;align-items:center;gap:10px;font-size:14px;color:#c5ccbc}.plan-card li .icon{color:var(--green);width:16px;height:16px}.pricing-note{color:#808a75;font-size:12px;text-align:center;margin:18px auto 24px;max-width:750px}.compare-wrap{border:1px solid var(--line);border-radius:14px;overflow:auto}.compare{border-collapse:collapse;width:100%;min-width:470px;font-size:14px}.compare th,.compare td{padding:18px 25px;text-align:center;border-bottom:1px solid var(--line)}.compare th{background:#11150e;color:#d6ddcd;font-weight:400}.compare th:first-child,.compare td:first-child{text-align:start;width:54%}.compare tr:last-child td{border-bottom:0}.compare .icon{width:17px;height:17px;display:inline-block;vertical-align:middle;color:var(--green)}.compare small{color:var(--muted)}
.devices-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.device-card{border:1px solid var(--line);border-radius:15px;padding:26px 20px;background:#10120e;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}.device-card>.icon{width:41px;height:41px;margin:10px 0 13px;color:#b2baa6}
.device-card>.device-logo{display:block;flex-shrink:0;width:41px;height:41px;margin:10px 0 13px;color:#b2baa6;stroke:none}.device-card h3{font-size:17px}.status{font-size:11px;color:#939c88;display:flex;align-items:center;gap:5px}.status .dot{width:4px;height:4px;box-shadow:none}.device-card .text-link{margin-top:12px;font-size:12px;color:var(--green)}.device-note{font-size:12px;color:#838e77;text-align:center;margin:20px auto 0;max-width:700px}.downloader-note{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.5rem}.downloader-link{display:inline-flex;align-items:center;gap:.5rem}.downloader-link img{display:block;width:34px;height:34px;border-radius:.5rem;flex-shrink:0}.downloader-pill{display:inline-flex;align-items:center;box-sizing:border-box;min-height:34px;padding:7px 15px;background:#11160fe8;border:1px solid #ffffff25;border-radius:9px;color:#ecf2e5;font-family:var(--control-font);font-size:13px;line-height:1.2;overflow-wrap:anywhere;transition:border-color .18s}.downloader-pill:hover,.downloader-pill:focus-visible{border-color:var(--green)}.downloader-or{color:#838e77}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.step{border-top:1px solid var(--line);padding-top:23px}.step-num{font:400 13px Oldschool;color:var(--softgreen);margin-bottom:18px}.step h3{font-size:20px;margin-bottom:8px}.step p{color:var(--muted);font-size:14px}.faq{max-width:850px;margin:auto}.faq .section-header{margin-bottom:30px}.faq details{border-bottom:1px solid var(--line)}.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px 0;font-size:17px}.faq summary::-webkit-details-marker{display:none}.faq summary .icon{width:18px;height:18px;color:#8d9881;transition:transform .2s}.faq details[open] summary .icon{transform:rotate(45deg)}.faq details p{padding:0 0 23px;font-size:14px;color:#9ba58f;line-height:2;max-width:730px}.closing{text-align:center;padding:120px 0 105px}.closing p{color:var(--muted);font-size:15px;margin:14px 0 25px}.closing .btn{min-width:220px}.footer{border-top:1px solid var(--line);padding-top:45px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:45px}.footer .brand img{width:155px}.footer p{color:#7e8973;font-size:12px;max-width:360px;margin-top:18px}.footer-links{display:flex;flex-direction:column;align-items:start;gap:10px;font-size:13px;color:#929d86}.footer-links strong{color:#d5ddca;font-size:13px;margin-bottom:5px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:24px 0;margin-top:40px;border-top:1px solid #ffffff0b;font-size:11px;color:#748168}.preview-note{border-top:1px solid #ffffff0b;color:#6f7c62;font-size:10px;text-align:center;padding:12px 15px}
.account-page{min-height:calc(100svh - 82px);display:grid;place-items:center;padding:60px 20px 90px}.account-card{width:100%;max-width:480px;text-align:center;border:1px solid var(--line);border-radius:22px;padding:43px;background:#10130e}.account-card>img{width:65px;margin:0 auto 25px}.account-card h1{font-size:31px;margin:15px 0}.account-card p{font-size:14px;color:var(--muted)}.account-card .notice{margin:25px 0;background:#1b2313;border:1px solid #354524;padding:17px;border-radius:12px;font-size:13px;color:#c3d0b2}.account-card .btn{width:100%;margin-bottom:12px}.account-benefits{display:flex;flex-direction:column;gap:12px;text-align:start;margin:25px 0}.account-benefits span{display:flex;align-items:center;gap:11px;font-size:13px;color:#b7c1ac}.account-benefits .icon{color:var(--green);width:18px}.back-link{font-size:13px;color:#8e9d80;display:inline-flex;gap:8px;align-items:center;margin-top:15px}
.watch-shell{min-height:calc(100svh - 82px);display:grid;grid-template-columns:215px minmax(0,1fr)}.watch-sidebar{border-inline-end:1px solid var(--line);padding:30px 18px;display:flex;flex-direction:column;gap:8px;background:#0d100b}.source-switch{display:flex;align-items:center;gap:9px;padding:12px;font-size:12px;margin-bottom:15px;background:#192010;border:1px solid #303d20;border-radius:9px;color:#bdcca7}.source-switch .icon{width:17px;color:var(--green)}.watch-tab{display:flex;gap:12px;align-items:center;padding:11px 13px;color:#89947c;font-size:14px;border-radius:8px;text-align:start}.watch-tab.active{background:#242e19;color:var(--green)}.watch-tab:hover{background:#192011}.sidebar-bottom{margin-top:auto;padding-top:40px}.watch-main{padding:32px 38px;min-width:0}.watch-top{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px}.watch-top h1{font-size:27px}.watch-top p{font-size:12px;color:var(--muted)}.search-field{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#12170e;border:1px solid var(--line);border-radius:8px;max-width:280px;min-width:0}.search-field .icon{width:16px;color:#859576}.search-field input{background:none;border:0;color:var(--fg);outline:0;min-width:0;width:100%;font-size:13px}.demo-banner{font-size:12px;color:#a0ae90;display:flex;gap:9px;align-items:center;border:1px solid #2f3d21;background:#151d0f;border-radius:9px;padding:10px 14px;margin-bottom:24px}.demo-banner .icon{width:17px;color:var(--softgreen)}.live-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}.channel-list{display:flex;flex-direction:column;gap:7px;max-height:none;overflow:visible}.channel-item{display:flex;align-items:center;gap:12px;text-align:start;padding:12px;border:1px solid transparent;border-radius:10px;background:#11160d;width:100%}.channel-item.active{background:#243218;border-color:#657d3c}.channel-logo{width:42px;height:42px;border-radius:9px;display:grid;place-items:center;background:#243319;color:var(--green);font-family:Oldschool,Plex,system-ui,sans-serif;flex-shrink:0;font-size:17px}.channel-label{flex:1;min-width:0}.channel-label strong{display:block;font-size:13px;font-weight:400}.channel-label small{font-size:10px;color:#7f8f70}.channel-item .icon{width:13px;color:#7f916d}.channel-meta{font-size:10px;color:#7f8d72}.watch-stage{background:#11170d;border:1px solid var(--line);border-radius:13px;overflow:hidden}.video-display{aspect-ratio:16/9;position:relative;background:#10160c;display:flex;align-items:center;justify-content:center}.video-display>img{width:75px;opacity:.8}.video-display .stage-label{position:absolute;inset-inline-start:18px;top:16px;font-size:11px;color:#a5b795;background:#10160bcc;border:1px solid #3a4a29;padding:3px 10px;border-radius:5px}.stage-center{text-align:center;display:flex;flex-direction:column;align-items:center;gap:13px;padding:20px}.stage-center>img{width:65px}.stage-center p{font-size:12px;color:#849875;max-width:330px}.stage-center h2{font-size:23px}.video-display video{width:100%;height:100%;max-height:550px;object-fit:contain;position:absolute;inset:0;background:#000}.stage-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:16px}.stage-footer strong{font-size:14px;font-weight:400}.stage-footer small{display:block;font-size:11px;color:#8c9c7d}.icon-btn{width:37px;height:37px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:8px;color:#9fb08d}.icon-btn.favorited{color:var(--green);border-color:#657d3c;background:#26341a}.icon-btn.favorited .icon{fill:#cef36c33}.stage-actions{display:flex;gap:8px}.local-player{margin-top:19px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.local-player p{font-size:11px;color:#7d8d6f;max-width:350px}.local-player .btn{min-height:39px;font-size:12px;padding:7px 13px}.empty-state{padding:65px 20px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:16px;border:1px dashed #324326;border-radius:14px}.empty-state>.icon{width:40px;height:40px;color:#7e9868}.empty-state h2{font-size:25px}.empty-state p{max-width:440px;color:#8d9d7e;font-size:14px}.empty-state .btn{font-size:13px;min-height:43px}.library-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.library-item{border:1px solid var(--line);border-radius:12px;background:#12180e;display:flex;align-items:center;gap:13px;padding:20px;text-align:start}.library-item .icon{color:var(--softgreen);width:28px;height:28px}.library-item strong{font-size:14px;font-weight:400;display:block}.library-item small{font-size:10px;color:#7f906f}.library-item:hover{border-color:#657d3c}.no-results{color:#99aa89;font-size:14px;padding:30px 15px;text-align:center}.settings-list{max-width:650px}.setting-row{padding:22px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px}.setting-row h3{font-size:16px}.setting-row p{color:#819372;font-size:12px}.setting-row button{font-size:12px;min-height:38px;padding:7px 13px}
dialog{background:#11170d;border:1px solid #3b4d2b;color:var(--fg);border-radius:18px;padding:0;width:min(480px,calc(100% - 32px));max-height:85svh;overflow:auto}dialog::backdrop{background:#000b;backdrop-filter:blur(7px)}.dialog-inner{padding:30px}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:20px}.dialog-head h2{font-size:23px}.dialog-inner p{font-size:14px;color:#a0ae93}.dialog-inner .notice{padding:13px;background:#222d17;border:1px solid #3d522b;border-radius:9px;margin:18px 0;font-size:12px;color:#baccaa}.dialog-inner .btn{width:100%;margin-top:20px}.form-preview{display:flex;flex-direction:column;gap:12px}.form-preview label{font-size:12px;color:#93a383}.form-preview input{display:block;width:100%;margin-top:5px;background:#0b1008;border:1px solid #2c3b21;border-radius:7px;padding:10px;color:#849874;font-size:13px}.credits{font-size:12px;line-height:2}.credits a{text-decoration:underline;color:var(--green)}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);padding:12px 22px;border:1px solid;border-radius:10px;font-size:13px;opacity:0;pointer-events:none;transition:.2s;z-index:80;max-width:calc(100% - 30px);text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){.hero{padding-top:95px}.hero h1{font-size:90px}}@media(max-width:1050px){.nav{gap:20px}.header-actions{gap:13px}.feature-card{padding:21px 19px 0}.feature-card h3{font-size:18px}.account-section{gap:35px}.live-layout{grid-template-columns:220px minmax(0,1fr)}.watch-shell{grid-template-columns:180px minmax(0,1fr)}.watch-main{padding:25px}.library-list{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.container{width:calc(100% - 40px)}.header{height:70px}.brand img{width:143px}.header-inner{gap:18px}.nav{gap:16px;font-size:12px}.header-actions{font-size:12px;gap:13px}.hero{padding-top:60px}.hero h1{font-size:57px;letter-spacing:-1.5px}.hero-description{font-size:16px;margin-top:19px}.section{padding-top:85px}.feature-grid{gap:12px}.feature-card{padding:20px 16px 0}.feature-card h3{font-size:16px}.feature-card p{font-size:12px;min-height:68px}.account-section{grid-template-columns:1fr 1fr;gap:25px}.account-art{padding:23px}.art-row>span{font-size:12px}.devices-grid{grid-template-columns:1fr 1fr}.closing{padding:85px 0}.watch-shell{grid-template-columns:160px minmax(0,1fr)}.watch-main{padding:22px}.watch-sidebar{padding:22px 10px}.live-layout{grid-template-columns:1fr}.watch-stage{grid-row:1}.channel-list{display:grid;grid-template-columns:1fr 1fr;max-height:none}.watch-top{flex-wrap:wrap}.search-field{max-width:100%;width:100%}.library-list{grid-template-columns:1fr}.footer-grid{grid-template-columns:1.5fr 1fr 1fr;gap:25px}}
@media(max-width:600px){.container{width:calc(100% - 36px)}.header{height:68px}.header-inner{gap:10px}.header-actions{gap:15px}.brand img{width:136px}.mobile-toggle{display:inline-flex}.nav{display:none;position:absolute;top:67px;inset-inline:0;background:#10150cf7;border-bottom:1px solid var(--line);padding:22px;flex-direction:column;align-items:stretch;gap:4px;font-size:15px}.nav.open{display:flex}.nav a{padding:10px}.sign-in{display:none}.hero{padding-top:49px}.eyebrow{font-size:11px;margin-bottom:20px}.hero h1{font-size:clamp(37px,9.8vw,56px);line-height:1.5;letter-spacing:-1.4px}.hero-description{font-size:14px;line-height:1.95;margin:20px auto 24px;max-width:310px}.hero-actions{gap:10px}.hero-actions>div{width:50%;max-width:210px}.hero-actions .btn{padding:11px 10px;font-size:13px;min-height:47px}.hero-actions small{font-size:10px;margin-top:8px}.hero-sub{font-size:10px;margin-top:20px}.hero-media{margin-top:32px;border-radius:11px}.hero-media img{height:auto;aspect-ratio:2400/1312;object-fit:contain}.preview-pill{bottom:10px;inset-inline-end:10px;font-size:10px;padding:7px 10px;gap:6px;border-radius:6px}.preview-pill .icon{width:13px;height:13px}.image-caption{font-size:9px;line-height:1.9;padding:9px 8px 0}.section{padding-top:76px}.section-header{align-items:start;margin-bottom:27px;gap:15px}.section h2,.closing h2{font-size:29px;line-height:1.5;letter-spacing:-.6px}.section-header p{font-size:13px}.section-header>.text-link{font-size:11px;white-space:nowrap;padding-top:11px}.section-kicker{font-size:11px}.feature-grid{grid-template-columns:1fr;gap:17px}.feature-card{padding:25px 24px 0}.feature-card h3{font-size:21px}.feature-card p{min-height:0;font-size:14px}.feature-card>.icon{margin-bottom:14px}.feature-image{margin-top:22px}.account-section{grid-template-columns:1fr;gap:30px}.account-section p{font-size:14px}.account-section .btn{margin-top:20px}.account-art{padding:24px}.art-row>span{font-size:13px}.pricing-header{flex-wrap:wrap;gap:23px}.pricing-tabs{width:auto}.pricing-tabs button{flex:initial}.plan-grid{grid-template-columns:1fr;gap:18px}.plan-card{padding:27px}.plan-pro{grid-row:1}.plan-top{margin-bottom:18px}.price{font-size:43px}.price-soon{font-size:35px}.plan-sub{margin-top:6px}.pricing-note{font-size:11px;line-height:1.95}.compare th,.compare td{padding:14px;font-size:12px}.devices-grid{gap:12px}.device-card{padding:22px 10px;gap:9px}.device-card h3{font-size:15px}.device-card>:is(.icon,.device-logo){width:35px;height:35px}.status{font-size:10px}.device-card .text-link{font-size:11px}.device-note{font-size:11px;line-height:1.9}.steps-grid{grid-template-columns:1fr;gap:25px}.step{padding-top:18px;display:grid;grid-template-columns:32px 1fr;gap:0 15px}.step-num{grid-row:span 2;padding-top:6px}.step h3{font-size:19px}.step p{font-size:13px}.faq summary{font-size:15px;padding:20px 0}.faq details p{font-size:13px}.closing{padding:85px 0 70px}.closing p{font-size:13px}.footer{padding-top:33px}.footer-grid{grid-template-columns:1fr 1fr;gap:32px 25px}.footer-intro{grid-column:1/-1}.footer p{max-width:300px;font-size:11px}.footer-bottom{margin-top:30px;padding:20px 0;font-size:10px}.preview-note{font-size:9px}.account-page{min-height:calc(100svh - 68px);padding:35px 18px}.account-card{padding:30px 25px}.account-card h1{font-size:27px}.watch-shell{display:flex;flex-direction:column;min-height:calc(100svh - 68px);padding-bottom:75px}.watch-sidebar{position:fixed;bottom:0;inset-inline:0;z-index:20;flex-direction:row;justify-content:space-around;padding:9px 4px max(9px,env(safe-area-inset-bottom));border-top:1px solid var(--line);border-inline-end:0;background:#0f150bec;backdrop-filter:blur(15px);gap:0}.watch-tab{padding:7px 8px;flex-direction:column;gap:2px;border-radius:8px;font-size:9px;min-width:46px}.watch-tab .icon{width:20px;height:20px}.source-switch,.sidebar-bottom{display:none}.watch-main{padding:25px 18px}.watch-top{gap:18px;margin-bottom:19px}.watch-top h1{font-size:26px}.watch-top p{font-size:11px}.demo-banner{font-size:10px;padding:10px;align-items:start;line-height:1.8;margin-bottom:18px}.channel-list{grid-template-columns:1fr 1fr;gap:7px}.channel-item{padding:9px;gap:8px}.channel-logo{width:32px;height:32px;font-size:14px}.channel-label strong{font-size:11px}.channel-label small{font-size:9px}.channel-meta{display:none}.stage-center h2{font-size:20px}.stage-center>img{width:48px}.stage-center p{font-size:10px}.stage-label{font-size:9px!important;top:10px!important;inset-inline-start:10px!important}.stage-center{gap:8px;padding:33px 18px 20px}.stage-footer{padding:12px}.stage-footer strong{font-size:12px}.stage-footer small{font-size:10px}.icon-btn{width:32px;height:32px}.local-player{margin-top:14px}.local-player p{font-size:10px}.library-list{grid-template-columns:1fr}.dialog-inner{padding:25px}.dialog-head h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.footer-links button{padding:0;color:inherit;font-size:inherit;text-align:start}.image-caption button{padding:0;color:inherit;font-size:inherit;text-decoration:underline;text-decoration-color:#38432e;text-underline-offset:4px}.mobile-source{display:none}.video-display:fullscreen,.watch-stage:fullscreen{background:#000;display:flex;flex-direction:column;justify-content:center}.watch-stage:fullscreen .video-display{flex:1}.watch-stage:fullscreen video{max-height:none}.watch-stage:fullscreen .stage-footer{min-height:70px}.watch-stage:fullscreen .video-display{aspect-ratio:auto}@media(max-width:600px){.mobile-source{display:inline-grid}.watch-top>div{flex:1}.search-field{order:3}.pro-label{font-size:10px;padding:3px 7px}}

@media(min-width:801px){.hero{padding-top:60px}.hero h1{line-height:1.27}.hero-description{margin-top:18px;margin-bottom:25px}.hero-sub{margin-top:15px}.hero-media{margin-top:38px}}
/* Keep Arabic diacritics and descenders inside the moving word's mask. */
.hero h1 .hero-roll-slot{position:relative;display:inline-grid;grid-template-columns:max-content;vertical-align:baseline;clip-path:inset(-.24em -.2em);white-space:nowrap}
.hero h1 .hero-roll-word{display:block;position:absolute;inset-block-start:0;inset-inline-start:0;width:max-content;visibility:hidden}
.hero h1 .hero-roll-word.is-current{position:static}
.hero h1 .hero-roll-word.is-visible{visibility:visible}
@media(max-width:800px){.live-layout>div:last-child{grid-row:1}}

/* Feature comparison and the Pro-only period selector. */
.plan-pro-tools{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}
.plan-pro-mark{color:#a8b88e;display:flex}.plan-pro-mark .icon{width:26px;height:26px}
.plan-free{padding-top:100px}
.comparison-footer{display:flex;justify-content:center;margin-top:23px}
.all-features-link{color:#dce6cf;text-decoration:underline;text-underline-offset:6px;text-decoration-color:#64764c}
.all-features-link:hover{color:var(--green);text-decoration-color:var(--green)}
.all-features-page{max-width:1050px;padding-top:44px;padding-bottom:85px}
.all-features-heading{margin:26px 0 29px}.all-features-heading h1{font-size:clamp(32px,4.1vw,53px);line-height:1.45;letter-spacing:-1px}
.all-features-heading p{color:var(--muted);margin-top:13px;font-size:16px}
.feature-status-note{display:flex;align-items:flex-start;gap:12px;padding:17px 21px;border:1px solid #334026;background:#141a0f;border-radius:12px;margin-bottom:30px}
.feature-status-note>.icon{width:18px;height:18px;color:var(--softgreen);margin-top:4px}
.feature-status-note p{color:#a5b196;font-size:13px;line-height:1.9}
.all-features-table-wrap{border:1px solid var(--line);border-radius:15px;overflow:hidden}
.all-features-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px}
.feature-name-col{width:60%}
.all-features-table th,.all-features-table td{padding:20px 24px;border-bottom:1px solid var(--line);vertical-align:middle}
.all-features-table thead th{background:#14190f;font-weight:600;text-align:center;padding-block:22px}
.all-features-table thead th:first-child{text-align:start}
.all-features-table td{text-align:center}
.all-features-table tbody th[scope=row]{font-weight:400;text-align:start}
.all-features-table th[scope=row]>span{display:block;color:#dce2d4}
.all-features-table th[scope=row] small{display:block;font-size:12px;color:#8d9b80;line-height:1.8;margin-top:5px}
.all-features-table .feature-group-heading th{font-size:14px;font-weight:600;background:#11170d;color:#c5d8b0;text-align:start;padding-block:14px}
.all-features-table tbody:last-child tr:last-child>*{border-bottom:0}
.feature-check{color:var(--green)}.feature-check .icon{width:18px;height:18px;vertical-align:middle}
.feature-unavailable{color:#77866a}.feature-planned{color:#a7b595;font-size:12px}
.all-features-actions{display:flex;justify-content:center;gap:15px;margin-top:35px}
.copyright bdi{white-space:nowrap}

@media(max-width:600px){
 .plan-free{padding-top:27px}
 .plan-pro-tools{margin-bottom:24px}
 .plan-pro-mark .icon{width:23px;height:23px}
 .pricing-tabs button{padding-inline:15px;font-size:12px}
 .comparison-footer{margin-top:22px}
 .all-features-page{padding-top:25px;padding-bottom:60px}
 .all-features-heading{margin-top:24px}.all-features-heading h1{font-size:32px}
 .all-features-heading p{font-size:14px;line-height:1.9}
 .feature-status-note{padding:14px;gap:9px;margin-bottom:22px}
 .feature-status-note p{font-size:11px}
 .all-features-table{font-size:12px}.feature-name-col{width:54%}
 .all-features-table th,.all-features-table td{padding:15px 10px}
 .all-features-table th[scope=row] small{font-size:10px;line-height:1.8}
 .all-features-table .feature-group-heading th{font-size:12px;padding-block:13px}
 .feature-planned{font-size:10px}.all-features-table thead th{padding-block:18px}
 .all-features-actions{flex-direction:column;gap:11px;margin-top:25px}
 .footer-bottom{align-items:flex-start}.copyright{max-width:calc(100% - 80px)}
}

/* Compact comparison with a pinned plan header, following the reference layout. */
:root{--header-height:82px}
.all-features-table-wrap{overflow:visible;border-radius:0;border:0}
.all-features-table{border-collapse:separate;border-spacing:0;font-size:14px}
.feature-category-col{width:20%}.feature-name-col{width:42%}
.all-features-table th,.all-features-table td{padding:12px 20px;border-bottom:1px solid #242b1e;line-height:1.65}
.all-features-table thead th{position:sticky;top:var(--header-height);z-index:15;background:#10150d;padding-block:18px;box-shadow:0 1px 0 #39442f;text-align:center}
.all-features-table thead th:nth-child(2){text-align:start}
.all-features-table thead .pro-column-heading{background:#191f12;border-top:2px solid #8da84f}
.all-features-table td:last-child{background:#11170c}
.all-features-table .feature-category-cell{font-weight:600;vertical-align:top;text-align:start;color:#dae3d0;padding-top:15px;border-bottom:1px solid #37412d}
.all-features-table .feature-label-cell{font-weight:400;text-align:start;white-space:nowrap}
.feature-label-cell strong{font-weight:600}
.feature-group-mobile{display:none}
.feature-planned{white-space:nowrap}
/* Plan name, price and availability have separate visual roles. */
.plan-card,.plan-free{padding:30px}
.plan-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;margin-bottom:12px}
.plan-heading h3{font-size:27px;line-height:1.5;display:flex;align-items:center;gap:9px}
.plan-heading h3 .icon{width:20px;height:20px;color:var(--green)}
.plan-name{display:flex;align-items:center;flex-wrap:wrap;gap:11px}
.launch-tag{font-size:10px;color:#c0d0aa;border:1px solid #43552d;background:#243219;border-radius:20px;padding:2px 9px;white-space:nowrap}
.plan-summary{font-size:14px;color:var(--muted);min-height:28px;line-height:1.9}
.plan-card .price{display:flex;align-items:baseline;gap:12px;margin-top:24px;min-height:70px;font-size:58px;line-height:1.2;letter-spacing:0}
.price-amount{font-family:Oldschool,Plex,system-ui,sans-serif;font-weight:600;line-height:1.2}
.price-unset{color:#a6b894;min-width:40px}
.plan-card .price small{font-size:14px;color:#a0ad95}
.plan-billing{font-size:12px;color:#8e9d7e;min-height:25px;margin:5px 0 22px}
.plan-card ul{border-top:1px solid var(--line);padding-top:23px;margin-top:25px}
/* The document is the vertical scroll surface for the watch pages. */
.watch-page #app{min-height:100svh;display:flex;flex-direction:column}
.watch-page .header{flex:0 0 var(--header-height)}
.watch-page .watch-shell{flex:1;min-height:0;overflow:visible}
.watch-page .watch-main{display:flex;flex-direction:column;min-height:0;padding:22px 28px}
.watch-page .watch-sidebar{min-height:0}
.watch-page .watch-top{flex-shrink:0;margin-bottom:15px}
.watch-page .demo-banner{flex-shrink:0;margin-bottom:16px;padding-block:8px}
.watch-page #watch-content{flex:1;min-height:0}
.watch-page .live-layout{min-height:0;align-items:start;gap:20px}
.channel-panel{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.channel-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:32px;flex-shrink:0;color:#a9b99a;font-size:12px;padding:0 7px 8px}
.channel-count{font-family:Oldschool,Plex,system-ui,sans-serif;font-size:13px;color:#b6c99f}
.watch-page .channel-list{display:flex;flex-direction:column;flex:1;min-height:0;max-height:none;overflow:visible;padding:3px 4px 3px 2px;gap:7px}
.watch-page .channel-item{flex-shrink:0;min-height:68px;padding:10px}
.watch-page .playback-column{display:flex;flex-direction:column;min-height:0;position:static;grid-row:auto}
.watch-page .watch-stage{flex:1;min-height:0;display:flex;flex-direction:column}
.watch-page .video-display{flex:1;min-height:0;aspect-ratio:auto}
.watch-page .watch-shell:not(.library-shell) .video-display{aspect-ratio:16/9}
.watch-page .stage-footer{flex-shrink:0;padding:13px 16px}
.watch-page .video-display video{max-height:none}
.watch-page .local-player{flex-shrink:0;margin-top:12px;gap:10px}
.watch-page .local-player .btn{font-size:11px}
.watch-page .local-player p{font-size:10px;max-width:270px}
.watch-page .library-list{padding-bottom:10px}
.watch-page .watch-stage:fullscreen{height:100%;min-height:0}
@media(max-width:1050px){
 .plan-heading{gap:10px}.plan-name{gap:7px}.plan-card .pricing-tabs button{padding-inline:12px}
}
@media(max-width:800px){
 :root{--header-height:70px}
 .watch-page .watch-shell{display:flex;flex-direction:column;padding-bottom:0}
 .watch-page .watch-main{flex:1;padding:18px 20px 88px}
 .watch-page .watch-sidebar{position:fixed;bottom:0;inset-inline:0;z-index:25;display:flex;flex-direction:row;justify-content:space-around;padding:9px 4px max(9px,env(safe-area-inset-bottom));border-top:1px solid var(--line);border-inline-end:0;background:#0f150bf5;gap:0;overflow:visible}
 .watch-page .watch-tab{padding:7px 12px;flex-direction:column;gap:2px;font-size:11px;min-width:55px}
 .watch-page .watch-tab .icon{width:20px;height:20px}
 .watch-page .source-switch,.watch-page .sidebar-bottom{display:none}
 .watch-page .mobile-source{display:inline-grid}
 .watch-page .watch-top{gap:12px;flex-wrap:wrap}
 .watch-page .watch-top>div{flex:1}
 .watch-page .search-field{width:100%;max-width:none;order:3}
 .watch-page .live-layout{grid-template-columns:minmax(190px,.8fr) minmax(0,1.5fr);gap:15px}
 .watch-page .live-layout>div:last-child{grid-row:auto}
 .watch-page .stage-center h2{font-size:20px}
}
@media(max-width:600px){
 :root{--header-height:68px}
 .plan-card,.plan-free{padding:25px}
 .plan-heading h3{font-size:24px}.plan-name{gap:7px}.launch-tag{font-size:9px;padding-inline:7px}
 .plan-card .pricing-tabs button{padding-inline:11px;min-height:30px;font-size:11px}
 .plan-summary{font-size:13px;min-height:0}.plan-card .price{font-size:52px;margin-top:19px;min-height:63px}
 .plan-billing{font-size:11px;margin-bottom:20px}
 .all-features-table .feature-category-col,.feature-category-cell,.feature-category-heading{display:none}
 .all-features-table .feature-name-col{width:60%}
 .all-features-table{font-size:12px}
 .all-features-table th,.all-features-table td{padding:11px 8px}
 .all-features-table thead th{padding-block:15px}
 .all-features-table .feature-group-mobile{display:table-row}
 .feature-group-mobile th{font-size:12px;color:#b5cba2;background:#11170c;font-weight:600;text-align:start;padding-block:12px}
 .feature-planned{font-size:10px}
 .watch-page .watch-main{padding:14px 14px 85px}
 .watch-page .watch-top{gap:9px;margin-bottom:11px}
 .watch-page .watch-top h1{font-size:23px}
 .watch-page .watch-top p{font-size:10px}
 .watch-page .demo-banner{margin-bottom:10px;padding:8px 10px;font-size:10px}
 .watch-page .live-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1.15fr) minmax(0,1fr);gap:11px}
 .watch-page .channel-panel{grid-row:2}
 .watch-page .playback-column{grid-row:1!important}
 .watch-page .stage-center{padding:12px;gap:7px}
 .watch-page .stage-center>img{width:34px;height:34px}
 .watch-page .stage-center h2{font-size:17px}
 .watch-page .stage-center p{display:none}
 .watch-page .stage-label{font-size:8px!important;top:8px!important;inset-inline-start:8px!important}
 .watch-page .stage-footer{padding:8px 10px}
 .watch-page .stage-footer strong{font-size:11px}.watch-page .stage-footer small{font-size:9px}
 .watch-page .stage-actions .icon-btn{width:29px;height:29px}
 .watch-page .local-player{margin-top:7px}
 .watch-page .local-player .btn{min-height:32px;padding:4px 10px;font-size:10px}
 .watch-page .local-player p{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .watch-page .channel-panel-heading{min-height:25px;padding-bottom:5px;font-size:11px}
 .watch-page .channel-item{min-height:56px;padding:8px}
 .watch-page .channel-list{gap:6px}
 .watch-page .channel-logo{width:34px;height:34px}
 .watch-page .watch-tab{padding:6px 8px;font-size:9px;min-width:46px}
}

.channel-scroll-controls{display:flex;align-items:center;gap:6px}.channel-scroll-controls .channel-count{margin-inline-end:5px}.channel-scroll-controls button{width:24px;height:24px;display:grid;place-items:center;border:1px solid #3a492c;border-radius:5px;color:#b5c9a1}.channel-scroll-controls button:hover{background:#26371b}.channel-scroll-controls .icon{width:14px;height:14px}

@media(max-height:620px){
 .watch-page .demo-banner{display:none}
 .watch-page .watch-main{padding-top:10px}
 .watch-page .watch-top{margin-bottom:10px;gap:10px}
 .watch-page .watch-top h1{font-size:20px}
 .watch-page .watch-top p{font-size:9px}
 .watch-page .stage-center{padding:10px;gap:7px}
 .watch-page .stage-center>img{width:30px;height:30px}
 .watch-page .stage-center h2{font-size:16px}
 .watch-page .stage-center p{display:none}
 .watch-page .stage-footer{padding:8px 12px}
 .watch-page .stage-footer strong{font-size:12px}
 .watch-page .stage-footer small{font-size:9px}
 .watch-page .local-player{margin-top:7px}
}
@media(max-height:620px) and (min-width:601px){
 .watch-page .watch-top{flex-wrap:nowrap}
 .watch-page .search-field{max-width:260px;width:42%;order:0}
}

.pricing-tabs button{gap:6px}
.billing-saving{color:var(--green);font-size:inherit;font-weight:600;white-space:nowrap}
.billing-saving::before{content:'·';color:#71835b;margin-inline-end:6px;font-weight:400}
.plan-heading{flex-wrap:wrap;row-gap:11px}
.plan-heading .pricing-tabs{margin-inline-start:auto}
@media(max-width:600px){.plan-card .plan-billing{min-height:40px}.pricing-tabs button{gap:5px}.billing-saving::before{margin-inline-end:5px}}

/* Avocado Pro emphasis: a green title and a soft green-to-charcoal surface. */
.plan-pro{
 background:linear-gradient(155deg,#12170d 0%,#0d110a 55%,#080908 100%);
 border-color:#657d36;
 box-shadow:none;
}
.plan-pro .plan-heading h3{color:var(--green)}
.plan-pro .plan-summary{color:#bdcbb1}
.plan-pro .plan-billing{color:#a8ba99}
.plan-pro ul{border-top-color:#425536}

/* Home features fit the screen; the detailed comparison has its own page. */
#features .section-header>div{min-width:0}
@media(max-width:600px){
 .feature-grid{grid-template-columns:minmax(0,1fr);width:100%}
 .feature-card{width:100%;min-width:0;max-width:100%}
}

/* Accounts share the product's dark surfaces and Avocado green. */
.auth-page{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,460px);gap:90px;align-items:center;min-height:calc(100svh - 82px);padding-block:55px 70px;max-width:1120px}
.auth-intro h1{font-size:clamp(30px,3.5vw,47px);line-height:1.5;letter-spacing:-1px;margin:24px 0 13px;max-width:510px}.auth-intro>p{color:var(--muted);max-width:430px;font-size:16px}.auth-intro ul{list-style:none;padding:0;margin:29px 0;display:grid;gap:14px}.auth-intro li{display:flex;align-items:center;gap:12px;font-size:14px}.auth-intro li .icon{width:17px;color:var(--green)}.auth-intro>small{display:block;max-width:420px;color:#8e9687;line-height:1.9}
.auth-card{padding:32px;border:1px solid #2d3726;border-radius:18px;background:linear-gradient(150deg,#12170d,#0c0f0a);min-width:0}.auth-card h2{font-size:26px;margin-bottom:18px}.auth-card>p{font-size:14px;color:var(--muted);margin-bottom:20px}.auth-tabs{display:flex;gap:5px;border-radius:9px;padding:5px;background:#080b07;margin-bottom:28px}.auth-tabs button{flex:1;font-size:13px;padding:9px 8px;border-radius:6px;color:var(--muted)}.auth-tabs .active{background:#242e1b;color:var(--fg)}
.auth-card fieldset,.source-editor fieldset{margin:0;padding:0;border:0;min-width:0}.auth-field{display:block;margin-bottom:17px;font-size:13px}.auth-field>span,.auth-field>label{display:block;margin-bottom:7px}.auth-field input{display:block;width:100%;min-width:0;background:#080c06;border:1px solid #35402c;border-radius:8px;color:var(--fg);padding:11px 13px;min-height:47px;line-height:1.5;font-size:15px}.auth-field input::placeholder{color:#727d69}.auth-field input:focus{border-color:#91ac60;outline:1px solid #91ac60;outline-offset:0}.auth-field input:disabled{opacity:.55}.auth-password{display:flex;align-items:stretch;border:1px solid #35402c;border-radius:8px;background:#080c06}.auth-password input{border:0;background:transparent;flex:1}.auth-password button{display:grid;place-items:center;padding:0;color:#b8c8a9;width:44px;min-width:44px;min-height:44px;flex-shrink:0;border-radius:7px}.auth-password button .icon{width:19px;height:19px}.auth-password button:hover{color:var(--green);background:#cef36c08}.auth-password button:focus-visible{outline:2px solid var(--green);outline-offset:-3px}.auth-submit{width:100%;margin-top:7px}.auth-hint{font-size:12px;color:#9ca991;margin:0 0 15px}.auth-text-button{color:#bacda6;font-size:13px;display:inline-block;padding:10px 0;text-align:start}.auth-text-button:hover{color:var(--green)}.auth-secondary{display:flex;justify-content:space-between;gap:15px;padding-top:20px;margin-top:17px;border-top:1px solid #2a3423;font-size:12px;color:#94a184}.auth-loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:250px;color:#afbe9f;font-size:14px}.auth-spinner{width:22px;height:22px;border:2px solid #33402a;border-top-color:var(--green);border-radius:50%;animation:auth-spin .8s linear infinite}@keyframes auth-spin{to{transform:rotate(360deg)}}.auth-symbol{width:47px;height:47px;display:grid;place-items:center;background:#25331a;border:1px solid #405330;border-radius:13px;color:var(--green);margin-bottom:20px}.auth-symbol .icon{width:24px;height:24px}
.account-dashboard{padding-block:40px 80px;max-width:1120px}.dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px}.dashboard-heading h1{font-size:36px;line-height:1.6;margin:8px 0}.dashboard-heading p{color:var(--muted);font-size:14px}.dashboard-heading>.btn{font-size:12px;min-height:40px;padding:8px 16px}.dashboard-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.account-profile{background:#11130f;border:1px solid var(--line);border-radius:15px;padding:26px;min-width:0;display:flex;align-items:flex-start;flex-direction:column}.account-profile>strong{font-size:14px;font-weight:400;max-width:100%;overflow-wrap:anywhere}.profile-verified{display:flex;align-items:center;gap:6px;color:#a1b98d;margin-top:8px}.profile-verified .icon{width:13px;height:13px}.profile-plan{display:inline-block;border:1px solid #4a5d34;color:var(--green);border-radius:6px;padding:3px 10px;font-size:11px;margin-top:20px}.account-profile>.auth-text-button{margin-top:15px}.account-source-card{border:1px solid var(--line);background:#11130f;border-radius:15px;padding:25px;min-width:0}.source-section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px}.source-section-heading h2{font-size:21px;line-height:1.6}.source-section-heading>.btn{font-size:12px;min-height:39px;padding:7px 12px}.source-empty{padding:35px 10px 24px;text-align:center}.source-empty>.icon{width:38px;height:38px;color:#9ab783}.source-empty h3{font-size:20px;margin:14px 0 7px}.source-empty p{font-size:13px;color:var(--muted);margin:0 0 20px}.source-empty .btn{font-size:13px;min-height:43px}.saved-sources{list-style:none;margin:0;padding:0}.saved-sources li{display:flex;align-items:center;gap:13px;padding:18px 0;border-bottom:1px solid #273020}.saved-sources li:last-child{border-bottom:0}.source-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:9px;background:#26341b;color:#b5d48a;flex-shrink:0}.source-meta{flex:1;min-width:0}.source-meta strong{font-size:14px;font-weight:400;overflow-wrap:anywhere}.source-meta small{display:block;color:#8e9e81;overflow-wrap:anywhere}.source-delete{color:#c9a398;font-size:12px}.auth-security{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#a8bc97;line-height:1.9;margin:0 0 18px}.auth-security .icon{width:16px;height:16px;margin-top:3px}.source-delete-confirm h3{font-size:16px}.source-delete-confirm p{margin-block:8px 0}.source-delete-confirm .btn{font-size:12px;min-height:38px;padding:8px 14px}.btn-danger{background:#663b30;color:#ffddd4;border-color:#985a49}
@media(max-width:900px){.auth-page{gap:35px;grid-template-columns:minmax(0,1fr) minmax(0,420px)}.auth-intro h1{font-size:34px}.dashboard-grid{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:650px){.auth-page{display:flex;flex-direction:column;align-items:stretch;gap:25px;padding-block:30px 50px;min-height:auto}.auth-intro>img,.auth-intro ul,.auth-intro>small{display:none}.auth-intro h1{font-size:29px;margin:0 0 9px}.auth-intro>p{font-size:13px}.auth-card{padding:23px 20px;border-radius:14px}.auth-card h2{font-size:23px}.auth-tabs{margin-bottom:23px}.auth-field{font-size:12px}.auth-field input{font-size:16px}.account-dashboard{padding-block:25px 55px}.dashboard-heading{align-items:flex-start;margin-bottom:23px;gap:12px}.dashboard-heading h1{font-size:27px}.dashboard-heading p{font-size:12px}.dashboard-heading>.btn{padding:8px 11px;font-size:11px;white-space:nowrap;margin-top:9px}.dashboard-grid{grid-template-columns:minmax(0,1fr);gap:18px}.account-profile{padding:20px}.account-profile>.auth-symbol{display:none}.account-profile>.auth-text-button{margin-top:7px}.profile-plan{margin-top:12px}.account-source-card{padding:20px 17px}.source-section-heading h2{font-size:19px}.source-section-heading .btn{font-size:11px;padding-inline:10px}.source-empty{padding-block:24px 12px}.source-meta small{font-size:11px}.source-avatar{width:34px;height:34px}.saved-sources li{gap:10px}}
@media(prefers-reduced-motion:reduce){.auth-spinner{animation:none}.auth-page *{scroll-behavior:auto}}

@media(max-width:650px){.account-dashboard.is-sources .account-profile{display:none}}

/* Authentication follows MyIPTV's focused, centered form layout. */
.auth-view #app{min-height:100svh;display:flex;flex-direction:column}.auth-view .auth-header{position:relative;flex-shrink:0;border-bottom:0;background:var(--bg);backdrop-filter:none}.auth-header .nav,.auth-header .sign-in,.auth-header .mobile-toggle{display:none}.auth-page{display:flex;flex:1;align-items:flex-start;justify-content:center;min-height:0;max-width:none;padding-block:clamp(45px,9vh,80px) 32px;gap:0}.auth-card{width:460px;max-width:100%;padding:0;border:0;border-radius:0;background:transparent}.auth-card h1{font-size:36px;line-height:1.5;letter-spacing:-1px;margin-bottom:25px}.auth-card .auth-field{margin-bottom:27px}.auth-card .auth-field input{background:#111410;border-color:#30362b;border-radius:12px;min-height:53px;padding:13px 15px}.auth-card .auth-password{background:#111410;border-color:#30362b;border-radius:12px}.auth-card .auth-password input{background:transparent;border:0}.auth-label-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.auth-label-row .auth-text-button{font-size:11px;padding:0;color:#9ea795}.auth-label-row .auth-text-button:hover{color:var(--fg)}.auth-field>span{margin-bottom:10px}.auth-card .auth-submit{min-height:49px;margin-top:0}.auth-card .auth-hint{margin-top:-12px}.auth-switch{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:5px;font-size:13px!important;color:#969e8e!important;margin-top:16px!important}.auth-switch button{padding:0;text-decoration:underline;text-underline-offset:3px;color:var(--fg);font-size:inherit}.auth-footer{display:flex;align-items:center;gap:26px;flex-shrink:0;border-top:1px solid #22271e;padding-block:19px 25px;font-size:11px;color:#959d8c}.auth-footer button{padding:0;color:inherit;font-size:inherit}.auth-footer a:hover,.auth-footer button:hover{color:var(--fg)}.auth-card>.auth-text-button{display:block;margin-top:12px}.auth-card .auth-symbol{margin-bottom:22px}
@media(max-width:650px){.auth-page{padding-block:40px 35px}.auth-card{width:100%;max-width:460px;padding:0}.auth-card h1{font-size:31px;line-height:1.65;margin-bottom:22px}.auth-card .auth-field{margin-bottom:24px}.auth-card .auth-field input{min-height:51px}.auth-footer{gap:20px;font-size:10px;padding-block:17px 22px}}

/* Account identity and directional navigation. */
.profile-email{display:flex;align-items:center;gap:7px;max-width:100%;margin-block:24px 0}.profile-email strong{font-size:14px;font-weight:400;margin:0;min-width:0;overflow-wrap:anywhere}.email-status{display:inline-flex;position:relative;flex-shrink:0}.verified-trigger{display:grid;place-items:center;width:28px;height:28px;padding:4px;color:#a8bf84;border:0;background:transparent;border-radius:50%;cursor:help}.verified-trigger .icon{width:17px;height:17px}.verified-trigger:hover{color:var(--green);background:#1a2014}.verified-trigger:focus-visible{outline:2px solid var(--green);outline-offset:2px}.back-link{display:inline-flex;align-items:center;gap:7px}.back-arrow{display:inline-flex}.back-arrow .icon{width:17px;height:17px;flex-shrink:0}html[dir=ltr] .back-arrow{transform:rotate(180deg)}

/* Saved-provider library shares the established player layout. */
.provider-watch [hidden]{display:none!important}.provider-summary{display:flex;align-items:center;gap:8px 24px;flex-wrap:wrap;color:var(--muted);font-size:11px;line-height:1.8;min-height:24px;margin-bottom:12px}.provider-summary .connection-warning,.provider-summary>strong{width:100%;color:#c6caad;font-weight:400}.provider-category{width:calc(100% - 20px);margin:0 10px 10px;background:#151a11;border:1px solid var(--line);color:var(--fg);font:inherit;font-size:12px;border-radius:7px;padding:8px;min-height:38px}.provider-category:focus-visible{outline:2px solid var(--green);outline-offset:2px}.provider-watch .channel-item{min-height:64px}.provider-watch .channel-item>.icon{width:17px;height:17px;flex-shrink:0;color:var(--muted)}.provider-watch .channel-label strong{white-space:normal;overflow-wrap:anywhere}.provider-watch .channel-logo{font-size:13px;flex-shrink:0}.provider-watch .watch-top h1{font-size:25px}.player-list-message{padding:18px 12px;font-size:13px;color:var(--muted);line-height:1.9}.player-list-message .btn{margin-top:12px}.episode-back{margin:8px 12px}.real-video-display{position:relative;background:#050605;min-height:200px;aspect-ratio:16/9;display:grid;place-items:center;overflow:hidden}.real-video-display video{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.provider-watch .stage-center{position:relative;inset:auto;transform:none;padding:24px;max-width:470px;text-align:center}.provider-watch .stage-center h2{font-size:21px;margin:14px 0 8px}.provider-watch .stage-center p{font-size:13px;color:var(--muted);line-height:1.9}.provider-watch .stage-center .btn{margin-top:14px}.player-status{position:absolute;inset-block-start:12px;inset-inline-start:14px;color:#d5ddca;font-size:11px;pointer-events:none;text-shadow:0 1px 4px #000}.player-status:empty{display:none}.provider-watch .stage-footer>strong{font-size:14px;min-width:0;overflow-wrap:anywhere}.provider-watch .stage-actions .btn{min-height:34px;padding:7px 10px;font-size:11px}.provider-watch .channel-panel{display:flex;flex-direction:column;min-height:0}.provider-watch .channel-list{flex:1;min-height:0}.provider-watch #watch-content{min-height:0;flex:1}.provider-watch .source-switch span{overflow-wrap:anywhere;min-width:0}.source-open{font-size:11px;padding:7px 11px;min-height:34px;flex-shrink:0}.player-signin{padding-block:70px}.player-signin h1{margin-bottom:24px;font-size:27px}@media(max-width:650px){.provider-watch .live-layout{display:flex;flex-direction:column-reverse;height:auto;min-height:0;gap:14px}.provider-watch .playback-column{flex:none;width:100%}.provider-watch .channel-panel{flex:1;width:100%;min-height:180px}.provider-watch .provider-summary{gap:4px 14px;font-size:10px;margin-bottom:8px}.provider-watch .watch-top{gap:8px}.provider-watch .watch-top h1{font-size:21px}.provider-watch .stage-center h2{font-size:17px}.provider-watch .stage-center p{font-size:11px}.provider-watch .real-video-display{min-height:170px}.provider-watch .stage-footer{padding:9px 12px}.saved-sources li{flex-wrap:wrap}.source-open{margin-inline-start:auto}}

.category-picker{display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:start;padding:10px 14px;cursor:pointer;appearance:none}.category-picker>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-picker>.icon{width:16px;height:16px;flex-shrink:0;color:#b3bda7;transition:transform .14s}.category-picker[aria-expanded=true]>.icon{transform:rotate(180deg)}.category-picker:disabled{opacity:.6;cursor:default}.category-popup{position:fixed;z-index:1000;display:flex;flex-direction:column;overflow:hidden;padding:6px;border:1px solid #343e2b;border-radius:10px;background:#151b10;box-shadow:0 14px 38px #0008;font-size:13px;color:var(--fg)}.category-popup[hidden]{display:none!important}.category-search{display:flex;align-items:center;gap:8px;padding:8px 9px;margin:2px 2px 5px;border:1px solid #333d2b;border-radius:7px;background:#0f140c}.category-search[hidden]{display:none}.category-search .icon{width:15px;height:15px;color:var(--muted)}.category-search input{width:100%;min-width:0;border:0;outline:0;padding:0;background:transparent;color:inherit;font:inherit;font-size:12px}.category-options{overflow-y:auto;overscroll-behavior:contain;min-height:0}.category-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:9px 11px;border-radius:6px;cursor:pointer;outline:0}.category-option>span{overflow-wrap:anywhere;min-width:0}.category-option .icon{width:15px;height:15px;flex-shrink:0;color:var(--green)}.category-option:hover,.category-option:focus-visible{background:#222c18}.category-option[aria-selected=true]{background:#29371b;color:#d8edb1}@media(prefers-reduced-motion:reduce){.category-picker>.icon{transition:none}}

.saved-sources .source-entry{display:block;padding:0;border-bottom:1px solid var(--line)}.source-row{display:flex;align-items:center;gap:12px;padding:16px 0;min-width:0}.source-menu{position:relative;flex-shrink:0}.source-menu summary{list-style:none;cursor:pointer}.source-menu summary::-webkit-details-marker{display:none}.source-menu[open] summary{background:#242d1c;color:var(--green)}.source-menu-panel{position:absolute;inset-block-start:calc(100% + 6px);inset-inline-end:0;z-index:25;width:max-content;min-width:180px;padding:6px;border:1px solid #343e2b;border-radius:9px;background:#161d11;box-shadow:0 12px 28px #0007}.source-menu-panel button{display:block;width:100%;text-align:start;font:inherit;font-size:12px;line-height:1.7;padding:9px 11px;border:0;border-radius:5px;background:transparent;color:#d6decb}.source-menu-panel button:hover,.source-menu-panel button:focus-visible{background:#27341d;outline:0}.source-menu-panel .source-delete{color:#dcaaa2}.source-subscription{margin-bottom:16px;padding:18px;background:#0d110a;border:1px solid var(--line);border-radius:9px}.source-subscription h3{font-size:15px;margin-bottom:15px}.source-subscription>.auth-text-button{display:inline-flex;align-items:center;gap:6px;margin-top:16px}.source-subscription>.auth-text-button .icon{width:14px;height:14px}.subscription-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.subscription-grid dt{font-size:11px;color:var(--muted);margin-bottom:3px}.subscription-grid dd{font-size:13px;margin:0}.source-row .source-meta{flex:1;min-width:0}.source-row .source-open{margin-inline-start:auto}.source-menu:focus-within{z-index:26}@media(max-width:420px){.source-row{gap:8px;flex-wrap:wrap}.source-row .source-meta{min-width:calc(100% - 65px)}.source-row .source-open{margin-inline-start:48px}.source-row .source-menu{margin-inline-start:auto}.source-menu-panel{min-width:170px}.subscription-grid{gap:13px}}

/* Script-aware typography: Latin text and all 0–9 digits use Oldschool. */
body,html[lang=en] body,button,input,select,textarea{font-family:Oldschool,Plex,system-ui,sans-serif}
.ltr,bdi,.price-amount{font-family:Oldschool,Plex,system-ui,sans-serif}
svg.lucide{stroke-width:1.7;fill:none}
/* Compact library workspace, mirrored automatically with the document direction. */
.watch-page .library-shell{display:grid;grid-template-columns:174px 220px minmax(0,1fr);padding:0;background:#0d100b;min-height:0}
.watch-page .library-nav{position:sticky;inset-block-start:var(--header-height);align-self:start;min-height:calc(100svh - var(--header-height));display:flex;flex-direction:column;justify-content:flex-start;gap:0;padding:0;border-inline-end:1px solid #262a23;background:#0d100b}
.library-nav .source-switch{display:flex;margin:0;padding:17px 16px 3px;min-height:42px;background:none;border:0;border-radius:0;color:var(--fg);font-size:17px}
.library-nav .source-switch .icon{display:none}
.library-nav .provider-summary{display:flex;flex-direction:column;align-items:start;gap:2px;margin:0;padding:0 16px 17px;font-size:10px;line-height:1.6;min-height:35px}
.library-nav-items{display:flex;flex-direction:column;gap:4px}
.watch-page .library-nav .watch-tab{display:flex;flex-direction:row;align-items:center;gap:11px;border-radius:0;width:100%;padding:15px 16px;font-size:14px;min-height:57px;text-align:start}
.library-nav .watch-tab .icon{width:22px;height:22px}
.library-nav .watch-tab.active{background:#242e19;color:var(--green);box-shadow:inset -2px 0 var(--green)}
html[dir=ltr] .library-nav .watch-tab.active{box-shadow:inset 2px 0 var(--green)}
.library-nav .sidebar-bottom{display:flex;flex-direction:column;margin-top:auto;padding:25px 0 12px}
.library-nav .sidebar-bottom .watch-tab{font-size:12px;min-height:42px;padding-block:10px}
.library-categories{min-width:0;min-height:0;border-inline-end:1px solid #262a23;display:flex;flex-direction:column;background:#0d100b}
.library-categories-title{min-height:66px;display:flex;align-items:center;padding:15px 18px;border-bottom:1px solid #262a23}
.library-categories-title h2{font-size:14px;color:var(--muted);font-weight:400}
.library-category-list{flex:1;min-height:0}
.library-category{display:flex;justify-content:space-between;align-items:center;width:100%;gap:12px;min-height:43px;padding:10px 16px;border-bottom:1px solid #20251c;text-align:start;font-size:12px;line-height:1.6}
.library-category>span{min-width:0;overflow-wrap:anywhere}.library-category bdi{font-size:11px;color:#a5af98;flex-shrink:0}
.library-category:hover{background:#161c12}.library-category.active{background:#242e19;color:var(--green)}
.category-divider{height:9px;border-bottom:1px solid #262a23}.local-list-note{font-size:9px;color:#78836f;padding:9px 15px;border-top:1px solid #262a23}
.library-workspace{display:flex;flex-direction:column;min-height:0;min-width:0;padding:0 22px 16px}
.library-toolbar{display:flex;align-items:center;gap:12px;flex-shrink:0;min-height:66px;padding:12px 0}
.library-toolbar h1{font-size:17px;font-weight:600;white-space:nowrap}.library-toolbar .channel-count{font-size:12px;color:var(--muted)}
.library-toolbar .search-field{margin-inline-start:auto;width:240px;max-width:35%;padding:7px 11px;border-radius:8px;background:#171c13}
.library-view-switch{display:flex;gap:3px}.library-view-switch .icon-btn,.rail-toggle{border:0;color:#8a957f;background:none;width:32px;height:32px}
.library-view-switch [aria-pressed=true]{background:#252e1e;color:var(--green)}
.library-toolbar .mobile-category{display:none}
.media-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(136px,1fr));align-content:start;gap:22px 16px;min-height:0;flex:1;padding:2px 3px 20px;scrollbar-width:thin;scrollbar-color:#3b4531 transparent}
.media-card{position:relative;min-width:0}.media-open{display:block;width:100%;text-align:start;padding:0;border-radius:10px}
.media-art{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:2/3;border:1px solid #292e24;border-radius:10px;background:linear-gradient(145deg,#1a2015,#11150e);overflow:hidden;color:#5c6b4e}
.media-art>.icon{width:40px;height:40px;stroke-width:1.2}.media-number{position:absolute;inset-block-end:10px;inset-inline-start:12px;font:400 12px Oldschool;color:#748566}
.media-name{display:block;padding:8px 2px 0;min-height:47px}.media-name strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.6;font-weight:400;overflow-wrap:anywhere}.media-name small{display:block;font-size:10px;color:var(--muted)}
.media-play{position:absolute;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#cef36c;color:#14190f;opacity:0;transform:translateY(4px);transition:opacity .15s,transform .15s}.media-play .icon{width:19px;height:19px}
.media-open:hover .media-play,.media-open:focus-visible .media-play{opacity:1;transform:none}.media-open:hover .media-art,.media-card.active .media-art{border-color:#7b9145}
.media-favorite{position:absolute;inset-block-start:7px;inset-inline-end:7px;width:29px;height:29px;display:grid;place-items:center;border:1px solid #414b34;border-radius:7px;background:#0d100bd9;color:#a2b28d;opacity:0;transition:opacity .15s}
.media-favorite .icon{width:16px;height:16px}.media-card:hover .media-favorite,.media-card:focus-within .media-favorite,.media-favorite.active{opacity:1}.media-favorite.active{color:var(--green)}
.live-library{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.live-library .media-art{aspect-ratio:16/9}
.media-library.list-view{display:flex;flex-direction:column;gap:5px}.list-view .media-card{border-bottom:1px solid #262a23;padding:5px 0}.list-view .media-open{display:flex;align-items:center;gap:13px;padding-inline-end:44px}.list-view .media-art{width:74px;flex-shrink:0;aspect-ratio:16/10}.list-view .media-art>.icon{width:24px;height:24px}.list-view .media-number{display:none}.list-view .media-name{min-height:0;padding:0}.list-view .media-favorite{inset-block-start:50%;transform:translateY(-50%);opacity:1}.list-view .media-play{width:30px;height:30px}
.media-library .player-list-message{grid-column:1/-1;align-self:start;padding:35px 12px;max-width:530px}.player-list-message>.icon{margin-bottom:9px;color:var(--muted)}.media-library .episode-back,.more-media{grid-column:1/-1;justify-self:start}
.library-playback{flex:0 0 54%;min-height:230px;max-height:65%;padding-bottom:16px}.library-playback .watch-stage{height:100%;min-height:0;display:flex;flex-direction:column}.library-playback .video-display{min-height:0;flex:1;aspect-ratio:auto}.library-playback .stage-footer{padding:8px 12px}.library-playback .stage-center h2{font-size:16px}.library-playback .stage-center p{font-size:11px}.library-playback .watch-stage:fullscreen{height:100%;max-height:none}
.watch-page .rail-collapsed{grid-template-columns:174px minmax(0,1fr)}.rail-collapsed .library-categories{display:none}
@media(min-width:1600px){.watch-page .library-shell{grid-template-columns:190px 250px minmax(0,1fr)}.media-library{grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:25px 20px}.live-library{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}.watch-page .rail-collapsed{grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:1100px){.watch-page .library-shell{grid-template-columns:145px 185px minmax(0,1fr)}.watch-page .rail-collapsed{grid-template-columns:145px minmax(0,1fr)}.watch-page .library-nav .watch-tab{font-size:12px;padding-inline:12px}.library-workspace{padding-inline:16px}.library-toolbar h1{font-size:15px}.library-toolbar{gap:7px}.media-library{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:18px 12px}.live-library{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}
@media(max-width:800px){.watch-page .library-shell,.watch-page .library-shell.rail-collapsed{display:grid;grid-template-columns:72px minmax(0,1fr)}.watch-page .library-nav{position:static;flex-direction:column;overflow:auto;padding:0;backdrop-filter:none}.library-nav .source-switch,.library-nav .provider-summary,.library-categories{display:none}.library-nav-items{padding-top:8px}.watch-page .library-nav .watch-tab{flex-direction:column;gap:5px;min-width:0;min-height:69px;padding:11px 4px;font-size:10px}.library-nav .sidebar-bottom{display:flex;padding-top:15px}.library-nav .sidebar-bottom .watch-tab{font-size:9px;min-height:58px}.library-workspace{padding:0 13px 10px}.library-toolbar{flex-wrap:wrap;min-height:95px;gap:8px;padding-block:10px}.library-toolbar h1{font-size:16px}.library-toolbar .rail-toggle{display:none}.library-toolbar .mobile-category{display:flex;order:4;width:calc(45% - 4px);margin:0;min-height:36px;padding:7px 10px;font-size:11px}.library-toolbar .search-field{order:5;width:calc(55% - 4px);max-width:none;margin:0;min-height:36px}.library-view-switch{margin-inline-start:auto}.library-toolbar .search-field input{font-size:11px}.media-library{grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:18px 11px}.live-library{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.media-favorite{opacity:1}.library-playback{flex-basis:42%;min-height:190px;max-height:52%}.library-playback .stage-center p{display:none}.library-playback .stage-center img{width:32px;height:32px}}
@media(max-width:440px){.watch-page .library-shell,.watch-page .library-shell.rail-collapsed{grid-template-columns:62px minmax(0,1fr)}.watch-page .library-nav .watch-tab{font-size:9px;min-height:66px}.library-workspace{padding-inline:10px}.media-library{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 10px}.live-library{grid-template-columns:minmax(0,1fr)}.library-toolbar h1{font-size:14px}.library-toolbar .channel-count{font-size:10px}.library-view-switch .icon-btn{width:27px;height:29px}.media-name strong{font-size:11px}.library-toolbar .mobile-category{width:100%;order:3}.library-toolbar .search-field{width:100%;order:4}.library-toolbar{min-height:133px}.library-playback .stage-footer strong{font-size:11px}.library-playback .stage-actions{gap:4px}.library-playback .stage-actions .btn{font-size:9px;padding-inline:5px}.library-playback .stage-center{padding:8px}.library-playback .stage-center h2{font-size:13px}}
@media(prefers-reduced-motion:reduce){.media-play,.media-favorite{transition:none}}
.media-name strong{font-size:14px}.library-category{font-size:13px}.category-rail-search{display:flex;align-items:center;gap:7px;padding:8px 12px;border-bottom:1px solid #262a23}.category-rail-search .icon{width:15px;height:15px;color:var(--muted)}.category-rail-search input{width:100%;min-width:0;border:0;background:none;color:var(--fg);font-size:12px;outline-offset:2px}.library-shell [hidden]{display:none!important}
@media(max-width:440px){.media-name strong{font-size:12px}}

/* Provider artwork, with an icon underneath for unavailable or broken images. */
.media-art .media-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;background:#11150e}
.media-art .media-number{z-index:2;background:#080908b8;padding:1px 5px;border-radius:4px;color:#d3dacb}.media-art .media-play{z-index:3}.media-favorite{z-index:4}
.media-poster.artwork-failed{display:none}.live-library .media-art .media-poster{object-fit:contain;padding:16px;background:#13180f}
.list-view .media-art .media-poster{object-fit:cover;padding:0}
/* Series opens as one title, with seasons and compact ordered episodes inside. */
.series-detail-dialog{width:min(900px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 64px);padding:0;border:1px solid #303729;border-radius:17px;background:#11130f;color:var(--fg);overflow:auto;box-shadow:0 25px 100px #000a}
.series-detail-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}
.series-detail-inner{padding:26px}.series-detail-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.series-detail-header small{font-size:12px;color:var(--muted)}.series-detail-header h2{font-size:27px;line-height:1.4}.series-detail-header .icon-btn{flex-shrink:0;width:36px;height:36px}
.series-detail-body{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:start;gap:26px}.series-detail-poster{position:relative;aspect-ratio:2/3;display:grid;place-items:center;background:#181e13;border:1px solid #2c3424;border-radius:11px;overflow:hidden}.series-detail-poster>.icon{width:52px;height:52px;color:#657752}.series-detail-poster .media-poster{position:absolute;inset:0;object-fit:cover;width:100%;height:100%}
.series-detail-content{min-width:0}.series-detail-content h3{font-size:17px;margin:0 0 15px;font-weight:600}.series-detail-status{color:var(--muted);font-size:14px;padding-block:15px}
.season-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}.season-tabs button{display:flex;align-items:center;gap:10px;border:1px solid transparent;border-radius:999px;background:transparent;padding:9px 18px;font-size:15px;line-height:1.5}.season-tabs button:hover{background:#171c13}.season-tabs [aria-pressed=true]{background:#26321b;color:var(--green)}.season-tabs button:focus-visible{outline:2px solid var(--green);outline-offset:1px}.season-tabs small{font-size:13px;font-weight:400;color:var(--muted);padding-inline-start:10px;border-inline-start:1px solid #3b472e;line-height:1.2}
.series-episode-list{display:flex;flex-direction:column;gap:2px;max-height:440px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#4b5b3b transparent;padding:2px}
.series-episode{width:100%;min-height:61px;display:flex;align-items:center;gap:13px;padding:10px 11px;text-align:start;border-bottom:1px solid #272e21;border-radius:5px}.series-episode:hover,.series-episode:focus-visible{background:#1b2314}.series-episode .episode-number{font-size:17px;color:#9dad86;min-width:25px;text-align:center}.series-episode>span{flex:1;min-width:0}.series-episode strong{font-size:14px;font-weight:400;display:block;overflow-wrap:anywhere}.series-episode small{font-size:11px;color:var(--muted);display:block;line-height:1.6}.series-episode>.icon{width:18px;height:18px;color:var(--green)}
@media(max-width:650px){.series-detail-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 28px);border-radius:12px}.series-detail-inner{padding:18px}.series-detail-header{margin-bottom:17px}.series-detail-header h2{font-size:23px}.series-detail-body{grid-template-columns:1fr;gap:19px}.series-detail-poster{width:90px;display:none}.series-episode-list{max-height:calc(100dvh - 255px)}.series-detail-content h3{font-size:16px}.series-episode{padding-inline:5px}.season-tabs button{padding:8px 14px}}
.library-scope{flex-shrink:0;margin:0 0 12px;font-size:12px;line-height:1.7;color:#aabb93}.account-page-tabs{display:flex;gap:7px;margin-bottom:23px;border-bottom:1px solid var(--line);padding-bottom:11px}.account-page-tabs a{display:flex;align-items:center;gap:8px;padding:9px 15px;color:var(--muted);border-radius:8px;font-size:14px}.account-page-tabs .icon{width:17px;height:17px}.account-page-tabs a[aria-current=page]{background:#232d19;color:var(--green)}.account-overview{display:flex;flex-direction:column;gap:20px;min-width:0}.account-overview .account-source-card>p{font-size:14px;line-height:1.9;color:var(--muted);margin-bottom:17px}.account-overview .source-section-heading{margin-bottom:13px}.account-overview .source-section-heading>.icon{color:var(--green)}.account-dashboard.is-sources .dashboard-grid{display:block}.account-overview .badge{white-space:nowrap;font-size:11px}.account-overview .btn{font-size:13px;min-height:42px}
@media(max-width:650px){.account-page-tabs a{font-size:12px;padding:8px 12px}.account-overview .account-source-card>p{font-size:13px}.library-scope{font-size:11px;margin-bottom:7px}}

/* Account settings share the site's existing surfaces, type and controls. */
.account-dashboard.account-settings{max-width:1120px;padding-block:30px 60px;min-height:calc(100svh - 82px)}
.account-settings .dashboard-heading{margin-bottom:24px;display:block}.account-settings .dashboard-heading .back-link{margin:0 0 12px;font-size:12px}.account-settings .dashboard-heading h1{font-size:32px;line-height:1.5;margin:0 0 4px}.account-settings .dashboard-heading p{font-size:14px;margin:0;color:var(--muted)}
.account-settings .account-page-tabs{margin-bottom:24px;padding-bottom:12px}.account-settings .account-page-tabs a{font-size:13px;padding:8px 14px}
.settings-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.settings-main,.settings-side{display:flex;flex-direction:column;gap:20px;min-width:0}.settings-card{min-width:0;background:#11130f;border:1px solid #262a23;border-radius:16px;padding:24px}.settings-card-heading{margin-bottom:20px}.settings-card-heading h2{font-size:18px;line-height:1.6;margin:0}.settings-card-heading p{font-size:12px;line-height:1.8;color:var(--muted);margin:4px 0 0}
.settings-photo-row{display:flex;align-items:center;gap:18px;padding-bottom:24px}.settings-avatar{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;overflow:hidden;flex-shrink:0;background:#232d19;border:1px solid #3d4b2c;color:var(--green)}.settings-avatar>.icon{width:30px;height:30px}.settings-avatar img{width:100%;height:100%;object-fit:cover}.settings-photo-controls{min-width:0}.settings-photo-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.settings-photo-actions+.settings-photo-actions{margin-top:10px}.settings-card .btn{min-height:38px;padding:7px 15px;font-size:12px;gap:7px}.settings-card .btn:hover{transform:none}.settings-card .btn .icon{width:15px;height:15px}.settings-card .auth-text-button{font-size:12px;margin:0;display:inline-flex;align-items:center;gap:7px}.settings-photo-help{color:var(--muted);font-size:11px;line-height:1.8;max-width:350px;margin:8px 0 0}.settings-row{border-top:1px solid #262a23;padding:19px 0}.settings-row:last-child{padding-bottom:0}.settings-row-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.settings-value{min-width:0}.settings-value h3{font-size:12px;line-height:1.8;color:var(--muted);font-weight:400;margin:0 0 5px}.settings-value>div{font-size:14px;line-height:1.8;overflow-wrap:anywhere}.settings-muted{color:#a4ab9c}.settings-change{flex-shrink:0}.settings-email{display:flex;align-items:center;gap:8px;min-width:0}.settings-email bdi{min-width:0;overflow-wrap:anywhere}.settings-email .email-status{margin:0;flex-shrink:0}.settings-email .verified-trigger{padding:0;width:21px;height:24px}.settings-email .verified-trigger .icon{width:17px;height:17px}.settings-pending{font-size:11px;line-height:1.9;color:#c8d5b4;margin:8px 0 0}
.settings-editor{margin-top:20px;max-width:460px}.settings-editor fieldset{padding:0;margin:0;border:0;min-width:0}.settings-editor .auth-field{margin:0 0 14px}.settings-editor .auth-field input{min-height:42px;padding:9px 12px;font-size:14px}.settings-editor .auth-password input{padding-inline-end:12px}.settings-editor .auth-label-row{margin-bottom:6px}.settings-editor .auth-hint{margin:0 0 14px;font-size:12px;line-height:1.9}.settings-form-actions{display:flex;align-items:center;gap:10px;margin-top:18px}.settings-feedback:empty{display:none}.settings-logout{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #262a23;margin-top:19px;padding-top:17px}.settings-logout p{font-size:11px;color:var(--muted);margin:0}.settings-logout .icon{width:15px;height:15px}.settings-remove-confirm{padding:16px;background:#191b16;border:1px solid #363a30;border-radius:10px;margin-bottom:20px;font-size:13px}.settings-remove-confirm p{color:var(--muted);font-size:12px;margin:7px 0 0}
.settings-side .settings-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.settings-side h2{font-size:15px}.settings-side .settings-card-heading>.icon{width:20px;height:20px;color:#93a17f}.settings-plan-name{font-family:Oldschool,system-ui,sans-serif;font-size:27px;font-weight:500;line-height:1.3;display:block}.settings-plan>p{font-size:12px;color:var(--muted);margin:10px 0 18px}.settings-plan>a{color:var(--green)}.settings-provider-count{font-size:14px;margin:0 0 18px;color:#ccd3c2}.settings-providers>.btn{width:100%}.settings-sync{display:flex;align-items:start;gap:9px;font-size:11px;line-height:1.9;color:#86927a;margin:0;padding:0 4px}.settings-sync>.icon{width:16px;height:16px;flex-shrink:0;margin-top:3px}
@media(max-width:850px){.settings-grid{grid-template-columns:minmax(0,1fr) 240px;gap:18px}.settings-card{padding:20px}.settings-photo-help{max-width:260px}}
@media(max-width:650px){.account-dashboard.account-settings{padding-block:24px 40px}.account-settings .dashboard-heading h1{font-size:27px}.account-settings .dashboard-heading{margin-bottom:20px}.account-settings .dashboard-heading p{font-size:12px}.settings-grid{grid-template-columns:minmax(0,1fr);gap:18px}.settings-main,.settings-side{gap:16px}.settings-card{padding:20px;border-radius:14px}.settings-row-heading{gap:12px}.settings-avatar{width:60px;height:60px}.settings-photo-row{gap:14px;align-items:start}.settings-photo-help{max-width:none;font-size:10px}.settings-card-heading h2{font-size:17px}.settings-value>div{font-size:13px}.settings-card .settings-change{padding-inline:12px;min-height:40px}.settings-logout{align-items:start}.settings-logout p{max-width:150px}.settings-photo-actions{gap:12px}.settings-side .settings-card-heading{margin-bottom:12px}.settings-sync{font-size:11px}.settings-editor{max-width:none}}

/* One persistent account entry, including narrow player layouts. */
.header-actions .account-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;white-space:nowrap}.header-account-avatar{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border-radius:50%;overflow:hidden;background:#232d19;border:1px solid #3d4b2c;color:var(--green)}.header-account-avatar img{display:block;width:100%;height:100%;object-fit:cover}.header-account-avatar>.icon{width:17px;height:17px}
@media(max-width:650px){.header-actions .account-link{display:inline-flex;font-size:11px;gap:6px}.header-actions .account-link .header-account-avatar{width:25px;height:25px}.header-inner{gap:12px}.header-actions{gap:10px}}
@media(max-width:380px){.header-actions .account-link>span:last-child{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.header-actions .account-link{min-width:36px;justify-content:center}.header .brand img{max-width:145px}}

.price-amount .price-decimal{font-size:.65em;font-weight:inherit;letter-spacing:0}

/* Shared interaction states and compact watch workspace. */
.media-favorite.active .icon{fill:currentColor}.media-card:has(.selection-check){outline-offset:3px}.selection-check{position:absolute;inset-block-start:8px;inset-inline-start:8px;z-index:6;background:#10180c;color:var(--green);border-radius:6px;padding:3px 8px}
.favorite-selection{display:flex;gap:8px;overflow-x:auto;flex-shrink:0;padding:8px 2px}.favorite-selection[hidden]{display:none}.favorite-selection .btn{white-space:nowrap}
button:active,summary:active{filter:brightness(1.25)}button:disabled{opacity:.45}
.account-menu{position:relative}.account-menu summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none}.account-menu summary::-webkit-details-marker{display:none}.account-menu nav{position:absolute;inset-inline-end:0;top:calc(100% + 12px);min-width:210px;z-index:200;background:#11130f;border:1px solid var(--line);border-radius:12px;padding:8px;box-shadow:0 12px 30px #0008}.account-menu nav a,.account-menu nav button{display:flex;width:100%;align-items:center;gap:10px;padding:12px;text-align:start;border-radius:6px;font-size:14px}.account-menu nav a:hover,.account-menu nav button:hover{background:#26341a}
.account-menu nav [data-auth-action=logout]{margin-top:4px;border-block-start:1px solid var(--line);border-start-start-radius:0;border-start-end-radius:0;color:#f3a3a3}

.watch-stage{position:relative}.library-playback .player-overlay-tools{position:absolute;bottom:0;inset-inline:0;z-index:8;background:linear-gradient(transparent,#000b);border:0;min-height:48px;padding:8px 12px 50px}.player-overlay-tools .stage-actions{margin-inline-start:auto}.watch-stage:fullscreen{width:100vw;height:100dvh;max-height:none}.watch-stage:fullscreen .video-display{width:100%;height:100%;flex:1}.watch-stage:fullscreen video{width:100%;height:100%;object-fit:contain}.watch-stage:fullscreen .stage-footer{min-height:0}
@media(max-width:760px){.header-actions .sign-in{display:flex;font-size:12px}.account-menu nav{position:fixed;inset-inline:12px;top:76px}}

/* The playback rail shares the category rail's dimensions, rows and borders. */
.library-items{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.playback-list-heading,.playback-list-search{display:none}
.library-workspace.has-item-rail{display:grid;grid-template-columns:220px minmax(0,1fr);grid-template-rows:auto auto auto minmax(0,1fr);padding:0;column-gap:0}
.has-item-rail .library-toolbar{grid-column:2;grid-row:1;padding-inline:22px}.has-item-rail .library-toolbar>.search-field{display:none}.has-item-rail .library-scope{grid-column:2;grid-row:2;padding-inline:22px}.has-item-rail .favorite-selection{grid-column:2;grid-row:3;padding-inline:22px}
.has-item-rail .library-items{grid-column:1;grid-row:1/5;border-inline-end:1px solid #262a23;background:#0d100b}.has-item-rail .library-playback{grid-column:2;grid-row:4;min-height:0;max-height:none;min-width:0;padding:16px 22px;flex:none}
.has-item-rail[data-library-kind="live"] .playback-list-heading{display:flex}.has-item-rail .playback-list-search{display:flex;min-height:43px}
.playback-list-heading{gap:8px;padding-block:8px}
.playback-list-heading h2{margin:0}
.playback-list-heading .rail-toggle{margin-inline-start:auto}
@media(min-width:900px) and (not ((pointer:coarse) and (max-height:500px))){
  .watch-page .library-workspace[data-library-kind="live"]>.library-toolbar{display:none}
}
.has-item-rail .media-library{display:flex;flex-direction:column;gap:0;padding:0;min-height:0}.playback-item-row{display:flex;align-items:center;min-height:43px;flex-shrink:0;border-bottom:1px solid #20251c}.playback-item-row:hover{background:#192011}.playback-item-row.active{background:#242e19;color:var(--green)}
.playback-item-name{display:flex;align-items:center;gap:8px;flex:1;min-width:0;min-height:43px;text-align:start;padding:10px 16px;font-size:13px;line-height:1.6}.playback-item-name>span[dir]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playback-item-favorite{display:grid;place-items:center;flex-shrink:0;width:36px;min-height:43px;color:var(--green);padding:8px}.playback-item-favorite .icon{width:18px;height:18px}.playback-item-favorite.active .icon{fill:currentColor}
.favorite-selection{gap:6px;padding-block:6px;align-items:center}.favorite-selection .btn{min-height:32px;height:32px;padding:5px 12px;font-size:12px;font-weight:500;line-height:1.4;border-radius:8px}
.selection-check{display:grid;place-items:center;width:20px;height:20px;box-sizing:border-box;inset-block-start:10px;inset-inline-start:10px;border:1.5px solid var(--green);border-radius:6px;background:#10180cd9;padding:0;color:#10180c}.selection-check.is-selected{background:var(--green)}.selection-check svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.playback-item-name .selection-check{position:static;flex-shrink:0}
@media(min-width:1600px){.library-workspace.has-item-rail{grid-template-columns:250px minmax(0,1fr)}}
@media(min-width:801px) and (max-width:1100px){.library-workspace.has-item-rail{grid-template-columns:185px minmax(0,1fr)}.has-item-rail .library-playback{padding:12px 16px}.has-item-rail .library-toolbar{padding-inline:16px}}
@media(max-width:800px){.library-workspace.has-item-rail{display:flex;flex-direction:column;padding:0 10px 10px}.has-item-rail .library-toolbar{padding-inline:0}.has-item-rail .library-toolbar>.search-field{display:flex}.has-item-rail .library-playback{flex:0 0 auto;height:clamp(190px,32dvh,340px);max-height:none;padding:0 0 10px;order:2}.has-item-rail .library-items{flex:1;min-height:100px;border:1px solid #262a23;order:4}.has-item-rail .playback-list-heading,.has-item-rail .playback-list-search{display:none}.has-item-rail .favorite-selection{padding-inline:0;order:1}.has-item-rail .library-toolbar{order:0}.has-item-rail .library-scope{order:1}.playback-item-name{font-size:12px}}
.media-card:has(.selection-check) .media-play{display:none}

.current-media-title{min-width:0;max-width:45%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:400;color:var(--muted);padding-inline-start:12px;border-inline-start:1px solid var(--line)}
@media(max-width:800px){.current-media-title{max-width:44%;font-size:12px;padding-inline-start:8px}}

.library-shell{--rail-search-height:42px;--rail-row-height:44px}
.library-shell .category-rail-search{height:var(--rail-search-height);min-height:var(--rail-search-height);max-height:var(--rail-search-height);flex:0 0 var(--rail-search-height);box-sizing:border-box;padding:0 12px;gap:7px;align-items:center}
.library-shell .category-rail-search input{height:100%;min-height:0;padding:0;margin:0;line-height:normal;box-sizing:border-box}
.library-category,.playback-item-row{height:var(--rail-row-height);min-height:var(--rail-row-height);max-height:var(--rail-row-height);flex:0 0 var(--rail-row-height);box-sizing:border-box}
.library-category>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
.playback-item-name,.playback-item-favorite{height:100%;min-height:0;box-sizing:border-box;padding-block:0}

/* Independent section navigation and category folding share the same grid widths. */
.watch-page .library-shell{--section-rail-expanded:174px;--section-rail-width:var(--section-rail-expanded);--category-rail-width:220px;grid-template-columns:var(--section-rail-width) var(--category-rail-width) minmax(0,1fr)}
.watch-page .library-shell.rail-collapsed{grid-template-columns:var(--section-rail-width) minmax(0,1fr)}
.library-nav-heading{position:relative;display:flex;align-items:center;gap:6px;min-height:66px;padding-inline:12px;flex:none}.library-nav-heading .source-switch{flex:1;min-width:0;padding:0;min-height:0}.library-nav-heading .source-switch span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-toggle{flex-shrink:0}
@media(min-width:1600px){.watch-page .library-shell{--section-rail-expanded:190px;--category-rail-width:250px}}
@media(min-width:801px) and (max-width:1100px){.watch-page .library-shell{--section-rail-expanded:160px;--category-rail-width:185px}}
@media(min-width:900px){
  .watch-page .library-shell.nav-collapsed{--section-rail-width:64px}
  .watch-page .library-nav{inline-size:var(--section-rail-width);justify-self:start;overflow:clip;z-index:5;transition:inline-size 180ms ease}
  .watch-page .nav-peek .library-nav{inline-size:var(--section-rail-expanded);box-shadow:0 8px 32px #0008}
  .watch-page .library-nav .watch-tab{padding-inline:20px;white-space:nowrap}
  .library-nav .watch-tab .icon{flex-shrink:0}
  .nav-collapsed:not(.nav-peek) .library-nav :is(.source-switch,.provider-summary,.watch-tab>span:not(.profile-avatar)){visibility:hidden}
  .library-workspace[data-library-kind="live"] .library-playback{
    --channel-frame-width:min(100%,max(320px,calc((100dvh - var(--header-height) - 150px) * 1.7778)))
  }
  .library-workspace[data-library-kind="live"] .library-playback .watch-stage:not(:fullscreen){
    width:var(--channel-frame-width);height:auto;aspect-ratio:16/9;margin-inline:auto
  }
  .library-workspace[data-library-kind="live"] .channel-playing-info{width:var(--channel-frame-width);margin-inline:auto}
}
@media(prefers-reduced-motion:reduce){.watch-page .library-nav{transition:none}}
@media(max-width:800px){.watch-page .library-shell,.watch-page .library-shell.rail-collapsed{grid-template-columns:72px minmax(0,1fr)}.library-nav-heading{display:none}}
@media(max-width:440px){.watch-page .library-shell,.watch-page .library-shell.rail-collapsed{grid-template-columns:62px minmax(0,1fr)}}

.app-tooltip{position:fixed;z-index:10000;width:max-content;max-width:min(270px,calc(100vw - 16px));padding:7px 11px;border:1px solid #3b4531;border-radius:8px;background:#1b2417;color:#f2f5ee;box-shadow:0 5px 18px #0006;font-size:12px;font-weight:500;line-height:1.5;text-align:start;overflow-wrap:anywhere;opacity:0;transform:translateY(2px);transition:opacity 70ms ease,transform 70ms ease;pointer-events:auto}
.app-tooltip[data-open]{opacity:1;transform:translateY(0)}.app-tooltip[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.app-tooltip{transition:none;transform:none}}

/* Episode navigation belongs to the currently playing series. */
.playing-episodes{padding-block:16px;min-width:0}.playing-episodes h2{font-size:16px;margin:0 0 12px}.playing-episodes .series-episode.active{background:#242e19;color:var(--green);border-color:var(--green)}
.has-item-rail[data-playing-kind="series"] .library-playback{overflow:auto;display:flex;flex-direction:column}.has-item-rail[data-playing-kind="series"] .watch-stage{height:auto;flex:none;aspect-ratio:16/9;min-height:190px}
@media(max-width:800px){.has-item-rail[data-playing-kind="movies"] .library-items,.has-item-rail[data-playing-kind="series"] .library-items{display:none}.has-item-rail[data-playing-kind="series"] .library-playback{height:auto;flex:1;min-height:0}.has-item-rail[data-playing-kind="series"] .watch-stage{height:clamp(190px,32dvh,340px);aspect-ratio:auto;flex-shrink:0}.playing-episodes{padding-block:10px}}

.mobile-browse{display:none}@media(max-width:800px){.mobile-browse:not([hidden]){display:flex;font-size:11px;min-height:32px;padding:6px 10px}}

/* Keep primary mobile navigation compact without hiding account access. */
.mobile-menu-language{display:none}
@media(max-width:600px){
.header-actions>.lang-button{display:none}.nav .mobile-menu-language{display:flex;min-height:44px;justify-content:flex-start;border-top:1px solid var(--line);padding-top:12px}
.header-actions .account-menu summary{width:44px;height:44px;padding:0;justify-content:center}.header-actions .account-menu summary>span:not(.header-account-avatar),.header-actions .account-menu summary>.icon{display:none}.header-actions .account-menu summary .header-account-avatar{width:30px;height:30px}.header-actions{gap:6px}.mobile-toggle{width:44px;height:44px;justify-content:center;align-items:center}
}
/* Long catalogues and episode lists extend the document instead of trapping scroll. */
.watch-page .library-shell{--watch-header-offset:var(--header-height)}
.playing-episodes .series-episode-list{max-height:none;overflow:visible;overscroll-behavior:auto}
.watch-page :is(.library-playback,.title-player){scroll-margin-block-start:calc(var(--watch-header-offset) + 1rem)}
@media(min-width:900px) and (min-height:570px){
  .watch-page .has-item-rail[data-library-kind=live]>.library-playback{
    position:sticky;inset-block-start:calc(var(--watch-header-offset) + 12px);align-self:start
  }
  .watch-page .has-item-rail>.library-items .playback-list-search,
  .watch-page .library-categories .category-rail-search{
    position:sticky;inset-block-start:calc(var(--watch-header-offset) + 12px);z-index:3
  }
}
@media(max-width:800px){
.watch-page .has-item-rail[data-playing-kind="series"] .library-playback{overflow:visible;flex:none;height:auto}
.watch-page .has-item-rail:is([data-playing-kind="series"],[data-playing-kind="movies"]) .library-toolbar{min-height:66px}.watch-page .has-item-rail:is([data-playing-kind="series"],[data-playing-kind="movies"]) .library-toolbar>.search-field,.watch-page .has-item-rail:is([data-playing-kind="series"],[data-playing-kind="movies"]) .library-toolbar>.mobile-category{display:none}
}

.playback-error-code{display:block;margin-top:8px;color:var(--muted);font-size:10px;overflow-wrap:anywhere}
.channel-playing-info{display:flex;align-items:center;gap:10px;min-width:0;padding-block:0 10px;color:var(--fg);font-size:14px;line-height:1.4}
.channel-playing-info bdi{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:25px;padding:2px 8px;border-radius:5px;background:#d41c33;color:#fff;font-size:12px;font-weight:700;line-height:1.25}
/* Error explanations must remain readable on phones, unlike the idle helper. */
.library-playback .stage-center .feedback-panel p{display:block;font-size:12px;line-height:1.7}

/* Fixed-size provider logo experiment. The slot remains even when logos are disabled. */
.channel-logo-slot{position:relative;display:grid;place-items:center;width:24px;height:22px;flex:0 0 24px;overflow:hidden;color:var(--muted)}
.channel-logo-slot>.icon{width:16px;height:16px;opacity:.5}.channel-logo-slot .channel-row-logo{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:contain;background:#0d100b}
.channel-logo-slot:has(img:not(.artwork-failed))>.icon{visibility:hidden}
.auth-field select{width:100%;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:8px 12px;background:#151a11;color:var(--fg);font:inherit}

@media(hover:none),(pointer:coarse),(max-width:800px){.app-tooltip{display:none!important}}

/* Compact account pages and source forms share existing site surfaces. */
@media(max-width:600px){.header .nav{background:#11130f;backdrop-filter:none}}
.account-dashboard.account-settings{max-width:1040px;padding-block:20px 40px;min-height:0}.account-settings .account-page-tabs{margin-bottom:18px;padding-bottom:12px}.account-source-card{padding:22px;border-radius:12px}.source-section-heading{margin-bottom:14px}.source-section-heading h2{font-size:19px}.account-settings.is-sources .dashboard-grid{display:block}.account-source-card:has(.source-editor){max-width:880px;margin-inline:auto}
.saved-sources .source-entry{padding:0;display:block}.source-entry .source-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto 36px;gap:12px;align-items:center;width:100%;padding:14px 0;flex-wrap:nowrap}.source-row .source-avatar{width:36px;height:36px}.source-row .source-meta{min-width:0}.source-row .source-meta strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.source-row .source-open{margin:0;white-space:nowrap;min-height:36px;padding:7px 12px;font-size:12px}.source-row .source-menu{margin:0;align-self:center}.source-row .source-menu>summary{width:36px;height:36px}.source-row .source-meta small{font-size:11px}
.source-editor{max-width:760px;margin-inline:auto}.source-editor fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;align-items:start}.source-editor .auth-field{margin:0;min-width:0}.source-editor .auth-field:has([name="server"]),.source-editor .auth-field:has([name="playlistURL"]),.source-editor .auth-field:has([name="playlistFile"]){grid-column:1/-1}.source-editor .auth-hint,.source-editor .auth-security,.source-editor .auth-submit{grid-column:1/-1;margin:0}.source-editor .auth-submit{width:auto;justify-self:start;min-width:150px;margin-top:4px}.source-editor .auth-field input{min-height:44px;padding:10px 12px;font-size:14px}.source-editor .source-type-picker{width:100%;min-height:44px;border:1px solid #35402c;border-radius:8px;background:#080c06;padding:10px 12px;color:var(--fg);font-size:14px}.source-editor form[data-auth-form="rename"] fieldset{grid-template-columns:minmax(0,400px)}
.settings-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.settings-main{display:contents}.settings-main>.settings-card:first-child{grid-column:1;grid-row:1/span 2}.settings-main>.settings-card:nth-child(2){grid-column:2;grid-row:1}.settings-side{grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-card{padding:20px;border-radius:12px}.settings-card-heading{margin-bottom:14px}.settings-card-heading h2{font-size:17px}.settings-photo-row{padding-bottom:16px;gap:14px}.settings-avatar{width:56px;height:56px}.settings-row{padding-block:14px}.settings-editor{margin-top:14px}.settings-side .settings-card{padding:16px}.settings-side .settings-card-heading h2{font-size:14px}.settings-sync{grid-column:1/-1}.settings-plan-name{font-size:24px!important}.settings-logout{flex-wrap:wrap;gap:4px}
@media(max-width:800px){.settings-grid{grid-template-columns:minmax(0,1fr)}.settings-main>.settings-card:first-child,.settings-main>.settings-card:nth-child(2),.settings-side{grid-column:auto;grid-row:auto}.settings-main{display:contents}.account-source-card{padding:18px}.source-row .source-open{padding-inline:9px}.source-entry .source-row{grid-template-columns:30px minmax(0,1fr) auto 32px;gap:8px}.source-row .source-avatar{width:30px;height:30px}.source-row .source-menu>summary{width:32px;height:36px}.source-row .source-meta strong{font-size:13px}.source-row .source-meta small{font-size:10px}}
@media(max-width:560px){.account-dashboard.account-settings{padding-block:14px 30px}.account-settings .account-page-tabs{margin-bottom:14px}.account-settings .account-page-tabs a{font-size:12px;padding:8px 10px}.source-editor fieldset{grid-template-columns:minmax(0,1fr);gap:14px}.source-editor .auth-field input,.source-editor .source-type-picker{font-size:16px}.settings-side{grid-template-columns:minmax(0,1fr)}.settings-card{padding:18px}.source-section-heading h2{font-size:17px}.source-section-heading>.btn{font-size:11px;padding-inline:10px}.source-row .source-open{font-size:11px;padding-inline:8px}.source-entry .source-row{grid-template-columns:minmax(0,1fr) auto 32px}.source-row .source-avatar{display:none}}

/* Shared form-control geometry. Sizes include borders, never padding-dependent. */
:root{--form-control-height:44px;--form-control-radius:8px;--form-control-border:#35402c;--form-control-background:#080c06;--form-control-padding:12px;--form-control-font:14px;--form-label-gap:8px;--form-action-gap:10px}
.auth-field>span,.auth-field>.auth-label-row,.settings-editor .auth-label-row{margin-bottom:var(--form-label-gap);min-height:20px;line-height:20px}
.auth-field>span,.auth-label-row>label{font-size:13px;font-weight:400}
.auth-field input:not([type=file]),.auth-card .auth-field input:not([type=file]),.settings-editor .auth-field input:not([type=file]),.source-editor .auth-field input:not([type=file]),.source-editor .source-type-picker{box-sizing:border-box;height:var(--form-control-height);min-height:var(--form-control-height);padding:0 var(--form-control-padding);line-height:1.5;font-size:var(--form-control-font);border:1px solid var(--form-control-border);border-radius:var(--form-control-radius);background:var(--form-control-background);color:var(--fg)}
.auth-field .auth-password,.auth-card .auth-password{box-sizing:border-box;height:var(--form-control-height);min-height:var(--form-control-height);border:1px solid var(--form-control-border);border-radius:var(--form-control-radius);background:var(--form-control-background)}
.auth-field .auth-password input,.auth-card .auth-field .auth-password input,.settings-editor .auth-field .auth-password input,.source-editor .auth-field .auth-password input{height:100%;min-height:0;border:0;background:transparent;border-radius:inherit}
.auth-field .auth-password button{width:calc(var(--form-control-height) - 2px);min-width:calc(var(--form-control-height) - 2px);height:100%;min-height:0;border-radius:inherit;align-self:stretch}
.source-editor .source-type-picker{margin:0;justify-content:space-between;text-align:start}
.form-actions{display:flex;align-items:center;gap:var(--form-action-gap);flex-wrap:wrap;margin-top:16px}.source-editor .form-actions{grid-column:1/-1;margin-top:4px}.form-actions>.btn,.settings-card .form-actions>.btn{box-sizing:border-box;height:var(--form-control-height);min-height:var(--form-control-height);padding:0 18px;font-size:var(--form-control-font);line-height:1.5;border-radius:var(--form-control-radius);margin:0;min-width:80px;white-space:nowrap}
.auth-card .auth-submit{height:var(--form-control-height);min-height:var(--form-control-height);border-radius:var(--form-control-radius);font-size:var(--form-control-font)}
@media(max-width:600px){:root{--form-control-font:16px}.form-actions>.btn,.settings-card .form-actions>.btn{font-size:14px}}
:root{--form-field-gap:16px}.auth-card .auth-field,.settings-editor .auth-field{margin-bottom:var(--form-field-gap)}.source-editor fieldset{row-gap:var(--form-field-gap)}
.auth-field input[type=file]{box-sizing:border-box;height:var(--form-control-height);min-height:var(--form-control-height);padding:4px 8px;border:1px solid var(--form-control-border);border-radius:var(--form-control-radius);background:var(--form-control-background);font-size:var(--form-control-font);line-height:32px}.auth-field input[type=file]::file-selector-button{height:32px;border:0;border-radius:5px;background:var(--surface2);color:var(--fg);font:inherit;line-height:1.5;padding:0 10px;margin-inline-end:8px;cursor:pointer}

/* Private account plan-testing controls. */
.plan-test-tools{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}.plan-test-tools h3{font-size:14px;margin:0 0 6px}.plan-test-tools p{font-size:11px;line-height:1.9;color:var(--muted);margin:0 0 12px}.plan-test-options{display:flex;flex-direction:column;gap:7px}.plan-test-options .btn{width:100%;font-size:12px;min-height:38px;padding:8px 10px}.plan-test-badge{margin-top:9px}

.settings-side .settings-providers{align-self:start}

/* Account device approval */
.device-pairing{width:100%;max-width:560px;margin-inline:auto;padding:clamp(20px,4vw,36px)}
.device-pairing h1{font-size:clamp(24px,5vw,32px);margin-bottom:16px}
.device-pairing p{margin-bottom:16px;color:var(--muted);overflow-wrap:anywhere}
.device-pairing label{display:block;margin-bottom:8px}
.device-pairing input{box-sizing:border-box;width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--fg);margin-bottom:16px}
.device-pairing .form-actions{display:flex;gap:12px;flex-wrap:wrap}
[data-tv-source-form] [hidden]{display:none}
[data-tv-source-form] select{width:100%;margin-bottom:14px}
[data-tv-source-form] fieldset{min-width:0;border:0;padding:0;margin:0}
/* Household controls use progressive disclosure within the existing library. */
.household-panel{flex-shrink:0;min-width:0;border-bottom:1px solid var(--line);font-size:13px}.household-panel>summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px 0;cursor:pointer;list-style:revert}.household-panel>summary>span:last-child{color:var(--muted);font-size:12px}.household-panel>summary strong{font-weight:500}.household-panel [data-household-content]{padding:0 0 16px;max-height:65dvh;overflow:auto;scrollbar-color:var(--muted) transparent}.household-panel p{max-width:68ch;line-height:1.7;margin-block:10px}.household-status:empty{display:none}.household-status{padding-block:8px;color:var(--muted)}.household-profile-list{display:flex;flex-wrap:wrap;gap:10px;margin-block:10px}.household-profile-list>div{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.household-profile-list .btn{min-height:38px;padding:7px 12px;font-size:13px}.household-profile-list [aria-pressed=true]{background:var(--green);color:#10150c}.household-profile-list button:disabled{opacity:.65}.household-manager{margin-block-start:16px;padding-block-start:12px;border-top:1px solid var(--line)}.household-manager>summary,.household-allow-list>summary{cursor:pointer;padding-block:8px}.household-manager .settings-editor,.household-pin{max-width:620px;margin-top:12px}.household-panel fieldset,.household-guard fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:12px}.household-panel .auth-field,.household-guard .auth-field{display:flex;flex-direction:column;gap:6px}.household-panel input,.household-panel select,.household-group-target select{font:inherit;accent-color:var(--green)}.household-panel select,.household-group-target select{width:100%;min-height:40px;color:var(--fg);background:var(--form-control-background,#151a11);border:1px solid var(--form-control-border,var(--line));border-radius:8px;padding:7px 10px}.household-check{display:flex;align-items:flex-start;gap:9px;padding-block:6px;line-height:1.7}.household-check input{width:18px;height:18px;flex-shrink:0;margin-top:3px}.household-check small{display:block;color:var(--muted);overflow-wrap:anywhere}.household-allow-list{max-height:280px;overflow:auto;padding-inline:2px}.household-pin{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.household-pin .auth-field{flex-basis:100%;max-width:300px}.household-pin .text-link{flex-basis:100%;font-size:13px}.household-group-list{list-style:none;padding:0;margin:10px 0}.household-group-list li{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding-block:8px}.household-group-list li>span{margin-inline-end:auto}.household-group-list .auth-text-button{font-size:12px}.household-confirm{margin-block:14px}.household-group-pro{display:block;font-size:11px;margin:0 15px 10px}.household-group-target{display:flex;align-items:center;gap:7px;font-size:12px}.household-group-target select{min-height:32px;width:auto;max-width:180px;padding-block:4px}.favorite-selection{flex-wrap:wrap}.household-guard{max-width:640px;text-align:start;padding-block:54px}.household-guard h1{font-size:28px;margin-bottom:18px}.household-guard p{line-height:1.8;max-width:65ch;margin-block:12px}.household-guard form{max-width:400px;margin-block:24px}.household-guard .auth-text-button{font-size:14px}.household-guard-links{display:flex;align-items:center;gap:18px;margin-top:24px}.household-panel :focus-visible,.household-guard :focus-visible{outline:2px solid var(--green);outline-offset:3px}.series-resume{margin-block:12px}.has-item-rail:has(>.household-panel){grid-template-rows:auto auto auto auto minmax(0,1fr)}.has-item-rail>.household-panel{grid-column:2;grid-row:1;padding-inline:22px}.has-item-rail:has(>.household-panel)>.library-toolbar{grid-row:2}.has-item-rail:has(>.household-panel)>.library-scope{grid-row:3}.has-item-rail:has(>.household-panel)>.favorite-selection{grid-row:4}.has-item-rail:has(>.household-panel)>.library-playback{grid-row:5}.has-item-rail:has(>.household-panel)>.library-items{grid-row:1/6}
@media(max-width:800px){.household-panel,.has-item-rail>.household-panel{order:-1;padding-inline:0}.household-panel>summary{padding-block:10px}.household-panel>summary>span:last-child{font-size:11px}.household-panel [data-household-content]{max-height:60dvh}.household-profile-list{gap:8px}.household-panel .btn{font-size:12px}.household-guard{padding-block:32px}.household-guard h1{font-size:23px}}
.household-panel [data-household-action="manage"],.household-panel [data-household-action="refresh"]{display:flex;width:max-content;max-width:100%;margin-block-start:12px}

/* Account page (#/account only, scoped by .acct) and Google sign-in. */
.acct{--acct-text:#f4f5f0;--acct-label:#b9c0b0;--acct-secondary:#a9b0a0;--acct-icon:#aab49c;--acct-indent:34px}
.acct .acct-hero{display:flex;align-items:center;gap:14px;padding:2px 0;margin-bottom:18px}
.acct .acct-avatar{width:var(--avatar,52px);height:var(--avatar,52px);flex-shrink:0}.acct .acct-avatar>.icon{width:calc(var(--avatar,52px)*.45);height:calc(var(--avatar,52px)*.45)}
.acct .acct-identity{flex:1;min-width:0}.acct .acct-name{font-size:19px;font-weight:600;line-height:1.45;color:var(--acct-text);overflow-wrap:anywhere}
.acct .acct-meta{display:flex;align-items:center;gap:6px;font-size:13px;line-height:1.7;color:var(--acct-secondary)}.acct .acct-meta .icon{width:15px;height:15px;color:var(--acct-icon)}
.acct .btn{min-height:40px;padding:7px 16px;font-size:13px;gap:7px;border-radius:9px}.acct .btn:hover{transform:none}.acct .btn .icon{width:15px;height:15px}
.acct .acct-hero-action{flex-shrink:0}
.acct .acct-grid{grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start}
.acct .acct-main{display:flex;flex-direction:column;gap:16px;min-width:0}.acct .acct-main>.settings-card,.acct .acct-side{grid-column:auto;grid-row:auto}
.acct .acct-side{display:flex;flex-direction:column;gap:14px}.acct .acct-side>*{align-self:stretch}
.acct .acct-card{padding:4px 20px 6px}.acct .acct-card-title{font-size:16px;line-height:1.6;padding:14px 0 6px;margin:0;color:var(--acct-text)}
.acct .settings-row{padding:12px 0;border-top:1px solid #20241d}.acct .acct-card-title+.settings-row{border-top:0}
.acct .acct-row .settings-row-heading{justify-content:flex-start;align-items:center;gap:12px}.acct .acct-row .settings-value{flex:1;min-width:0}
.acct .acct-row .settings-value h3{margin:0;font-size:13px;line-height:1.6;color:var(--acct-label)}.acct .acct-row .settings-value>div{font-size:14px;line-height:1.7;color:var(--acct-text)}
.acct .acct-secondary,.acct .settings-muted{color:var(--acct-secondary);font-size:13px;line-height:1.7;margin:0}
.acct .acct-row-icon{width:22px;display:grid;place-items:center;color:var(--acct-icon);flex-shrink:0}.acct .acct-row-icon .icon{width:18px;height:18px}
.acct #settings-photo .acct-avatar{margin-inline:-7px}
.acct .settings-change{min-width:84px;flex-shrink:0}.acct .acct-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.acct .acct-actions .auth-text-button{margin:0;padding:0;font-size:13px}
.acct .acct-row .settings-editor,.acct .acct-row>.auth-message,.acct .acct-row>.settings-remove-confirm,.acct details.settings-row>summary~*,.acct .acct-method-list,.acct .acct-method-hint{margin-inline-start:var(--acct-indent)}
.acct .acct-row>.settings-remove-confirm{margin-top:12px;margin-bottom:0}
.acct details.settings-row>summary{list-style:none;display:flex;align-items:center;gap:12px;cursor:pointer;min-height:40px}.acct details.settings-row>summary::-webkit-details-marker{display:none}
.acct details.settings-row>summary::before{content:'';width:22px;height:18px;flex-shrink:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aab49c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='3' rx='2'/%3E%3Cline x1='8' x2='16' y1='21' y2='21'/%3E%3Cline x1='12' x2='12' y1='17' y2='21'/%3E%3C/svg%3E") center/18px no-repeat}.acct details[data-parental-management]>summary::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aab49c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3Crect x='3' y='10' width='18' height='12' rx='2'/%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3'/%3E%3C/svg%3E")}
.acct details.settings-row>summary::after{content:'';margin-inline-start:auto;margin-inline-end:6px;width:7px;height:7px;border-right:1.6px solid #9aa290;border-bottom:1.6px solid #9aa290;transform:translateY(-2px) rotate(45deg);transition:transform .2s}.acct details[open].settings-row>summary::after{transform:translateY(2px) rotate(-135deg)}
.acct details.settings-row>summary .auth-text-button{color:var(--acct-text);font-size:14px;padding:0}.acct details.settings-row>summary~.auth-hint{margin-top:4px;color:var(--acct-secondary);font-size:13px}
.acct .acct-method-list{list-style:none;padding:0;margin-top:6px;margin-bottom:0}.acct .acct-method-list li{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-height:40px;padding:4px 0}
.acct .acct-method-name{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--acct-text)}.acct .acct-method-name .icon,.acct .acct-method-name .brand-mark{width:17px;height:17px;color:var(--acct-icon)}
.acct-status{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:var(--acct-secondary,#a9b0a0);margin-inline-start:auto}.acct-status .icon{width:15px;height:15px}.acct-status.is-ok{color:var(--green)}
.acct .acct-connect{flex-basis:auto}.acct .acct-method-hint{margin-top:2px}
.acct .acct-logout{display:flex;flex-direction:column;gap:8px;padding:16px}.acct .acct-logout .btn{width:100%}.acct .acct-logout .acct-secondary{text-align:center;font-size:12px}
.acct .settings-plan>p{color:var(--acct-secondary)}
.brand-mark{flex-shrink:0}
@media(max-width:800px){.acct .acct-grid{grid-template-columns:minmax(0,1fr)}.acct .acct-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.acct{--acct-indent:0px}.acct .acct-hero{flex-wrap:wrap;gap:12px;margin-bottom:14px}.acct .acct-hero-action{width:100%}.acct .acct-card{padding:2px 14px 4px;border-radius:12px}.acct .acct-main{gap:12px}.acct .acct-side{grid-template-columns:minmax(0,1fr);gap:12px}.acct .settings-row{padding:10px 0}.acct .acct-row .settings-row-heading{gap:10px;flex-wrap:wrap}.acct .acct-row .settings-value{flex:1 1 150px}.acct .acct-method-list li .acct-connect{width:100%}.acct #settings-photo .settings-value{flex-basis:120px}.acct #settings-photo .acct-avatar{margin-inline:0}}
.auth-social{display:flex;flex-direction:column;gap:12px;margin-bottom:22px}
.auth-social-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:50px;padding:10px 16px;border:1px solid #8e918f;border-radius:12px;background:#131314;color:#e3e3e3;font-size:15px;font-weight:600;line-height:1.4;transition:background .18s}.auth-social-button:hover{background:#1e1f20}
.auth-divider{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:12px;margin:0 0 22px}.auth-divider::before,.auth-divider::after{content:'';flex:1;height:1px;background:var(--line)}
.household-guard .btn .brand-mark,.settings-card [data-parental-content] .brand-mark{width:18px;height:18px}
/* Google Identity Services button (rendered by Google in its own frame). */
.auth-gis{display:flex;justify-content:center;min-height:44px;direction:ltr;color-scheme:normal}
/* Standalone privacy page (/privacy). */
.policy-view{min-height:100svh;display:flex;flex-direction:column;background:var(--bg)}
.policy-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:22px}
.policy-logo img{display:block;height:26px;width:auto}
.policy-switch{font-size:13px;color:var(--muted)}.policy-switch:hover{color:var(--fg)}
.policy{flex:1;max-width:760px;padding-block:24px 56px;line-height:1.85;color:#d5ddca}
.policy article+article{margin-top:56px;padding-top:40px;border-top:1px solid var(--line)}
.policy h1{font-size:34px;line-height:1.4;color:var(--fg);margin:0 0 6px}
.policy h2{font-size:19px;line-height:1.5;color:var(--fg);margin:32px 0 10px}
.policy p,.policy li{font-size:15px}
.policy ul{padding-inline-start:20px;display:grid;gap:8px;margin:0}
.policy a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.policy-date{color:var(--muted);font-size:13px!important;margin-bottom:22px}
.policy-view .auth-footer a{color:inherit;text-decoration:none}
@media(max-width:650px){.policy h1{font-size:28px}.policy{padding-block:12px 40px}}
/* Account sections (#/account, #/sources): grouped section list + open section. */
.account-dashboard.acct{max-width:1080px;padding-block:28px 64px;min-height:calc(100svh - 82px)}
.acct .acct-shell{display:grid;grid-template-columns:320px minmax(0,1fr);gap:32px;align-items:start}
.acct .acct-nav{position:sticky;top:92px;display:flex;flex-direction:column;gap:18px;min-width:0}
.acct .acct-group-label{margin:0 6px 8px;font-size:12px;font-weight:600;line-height:1.5;color:var(--acct-secondary)}
.acct .acct-group-list{background:#11130f;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.acct .acct-link{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:9px 14px;border:0;background:none;color:var(--acct-text);font:inherit;font-size:15px;line-height:1.5;text-align:start;cursor:pointer;transition:background .15s}
.acct .acct-link+.acct-link{border-top:1px solid #1f231c}
.acct .acct-link:hover{background:#161a14}.acct .acct-link:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
.acct .acct-link.is-active{background:#1b2016;box-shadow:inset 3px 0 0 var(--green)}
[dir=rtl] .acct .acct-link.is-active{box-shadow:inset -3px 0 0 var(--green)}
.acct .acct-link-icon{width:32px;height:32px;display:grid;place-items:center;flex-shrink:0;border-radius:9px;background:#1b1f18;color:var(--acct-icon)}.acct .acct-link-icon .icon{width:18px;height:18px}
.acct .acct-link-label{flex:1;min-width:0}
.acct .acct-link-value{flex-shrink:0;font-size:13px;color:var(--acct-secondary)}
.acct .acct-chevron{width:16px;height:16px;flex-shrink:0;color:#6d7566}[dir=rtl] .acct .acct-chevron{transform:scaleX(-1)}
.acct .acct-id{min-height:72px;padding-block:12px}.acct .acct-id .acct-link-label{display:flex;flex-direction:column;gap:1px}
.acct .acct-id strong{font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct .acct-id small{font-size:13px;color:var(--acct-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start}[dir=rtl] .acct .acct-id small{text-align:end}
.acct .acct-logout-link{color:#f2937f}.acct .acct-logout-link .acct-link-icon{background:#241713;color:#f2937f}.acct .acct-logout-link:disabled{opacity:.5;cursor:default}
.acct .acct-detail{min-width:0}
.acct .acct-detail-head{margin-bottom:16px}
.acct .acct-back{display:none}
.acct .acct-detail-title{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.acct .acct-detail-title h2{margin:0;font-size:24px;line-height:1.4;color:var(--fg)}
.acct .settings-feedback:empty{display:none}.acct .settings-feedback{margin-bottom:12px}
.acct .acct-list{background:#11130f;border:1px solid var(--line);border-radius:14px;padding:0 18px}
.acct .acct-list>.settings-row{padding:14px 0}.acct .acct-list>.settings-row:first-child{border-top:0}
.acct .acct-row .settings-value h3{font-size:13px}.acct .acct-row .settings-value>div{font-size:15px}
.acct .btn{min-height:42px;font-size:14px}
.acct .acct-intro{margin:0 0 10px;font-size:14px;line-height:1.7;color:var(--acct-secondary)}
.acct .acct-panel [data-device-management-content],.acct .acct-panel [data-parental-content]{margin:0}
.acct .acct-detail>.settings-plan{padding:20px}.acct .acct-detail>.settings-plan>.settings-card-heading{display:none}
.acct .acct-sources{padding:18px}.acct .acct-sources>.source-empty{margin:0}
@media(max-width:820px){
.account-dashboard.acct{padding-block:16px 48px}
.acct .acct-shell{grid-template-columns:minmax(0,1fr);gap:0}
.acct .acct-nav{position:static}
.acct:not(.has-section) .acct-detail,.acct.has-section .acct-nav{display:none}
.acct .acct-link.is-active,[dir=rtl] .acct .acct-link.is-active{background:none;box-shadow:none}
.acct .acct-link{min-height:54px;font-size:16px}
.acct .acct-back{display:inline-flex;align-items:center;gap:2px;min-height:44px;margin-inline-start:-6px;padding-inline:6px;color:var(--green);font-size:15px}
.acct .acct-back-icon{width:20px;height:20px;transform:scaleX(-1)}[dir=rtl] .acct .acct-back-icon{transform:none}
.acct .acct-detail-head{margin-bottom:10px}.acct .acct-detail-title h2{font-size:26px}
.acct .acct-list{padding:0 14px;border-radius:12px}
}
@media(max-width:600px){.acct .acct-row .settings-row-heading{flex-wrap:wrap}.acct .acct-row .settings-change{min-width:0}}
/* Header actions: Start free + Sign in before sign-in; Watch + account after. */
.header .header-actions{gap:14px}
.header .header-signin{font-size:14px;font-weight:600;color:#d8ddd1;padding:8px 4px;white-space:nowrap}.header .header-signin:hover{color:var(--fg)}
.header .header-start,.header .header-watch{width:auto;min-width:0;min-height:40px;padding:8px 18px;font-size:14px;border-radius:999px;gap:8px;white-space:nowrap;margin:0}
.header .header-watch .icon{width:16px;height:16px;fill:currentColor}
@media(max-width:760px){.header .header-actions{gap:10px}.header .header-signin{font-size:13px}.header .header-start{padding:7px 14px;font-size:13px;min-height:36px}
.header .header-watch{width:40px;height:40px;min-height:40px;padding:0;border-radius:50%}.header .header-watch span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
@media(max-width:340px){.header .header-signin{display:none}}
/* Language: footer picker, auth pages, legal pages. */
.footer-lang{position:relative}.footer-lang>summary{list-style:none;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:6px 2px;color:#c9cfc2;font-size:13px;cursor:pointer}.footer-lang>summary::-webkit-details-marker{display:none}
.footer-lang>summary .icon{width:17px;height:17px}.footer-lang>summary .icon:last-child{width:14px;height:14px;opacity:.7}
.footer-lang-menu{position:absolute;bottom:calc(100% + 6px);inset-inline-end:0;min-width:170px;display:flex;flex-direction:column;padding:6px;background:#141712;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px #0008;z-index:20}
.footer-lang-menu>*{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:8px 12px;border-radius:8px;font-size:14px;color:var(--fg);text-align:start}.footer-lang-menu button:hover{background:#1c2018}
.footer-lang-menu .is-current{color:var(--green)}.footer-lang-menu .icon{width:16px;height:16px}
.lang-switch{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:4px 2px;color:inherit;font:inherit}.lang-switch .icon{width:16px;height:16px}.lang-switch:hover{color:var(--fg)}
/* Plan badges. */
.plan-badge{display:inline-flex;align-items:center;margin-inline-start:8px;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:600;line-height:1.6;vertical-align:middle;background:#22261f;color:#c6ccbe;border:1px solid #30352b}
.plan-badge.is-pro{background:var(--green);color:#151811;border-color:transparent}
.pro-tag{display:inline-flex;align-items:center;margin-inline-start:8px;padding:0 6px;border-radius:5px;font-size:10px;font-weight:700;letter-spacing:.04em;line-height:1.7;background:#26301a;color:var(--green);border:1px solid #3d4b2c;vertical-align:middle}
.btn .pro-tag{margin-inline:0 2px}
/* Provider cards. */
.acct .source-entry{padding:16px 0}.acct .source-entry+.source-entry{border-top:1px solid #20241d}
.acct .source-meta{min-width:0;flex:1}.acct .source-meta strong{font-size:16px}.acct .source-meta small{font-size:13px;color:var(--acct-secondary)}
.acct .source-summary{margin:4px 0 0;font-size:13px;line-height:1.6;color:#cfd6c6}.acct .source-summary.is-muted{color:var(--acct-secondary)}
.acct .source-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:12px;padding-inline-start:52px}
.acct .source-actions .source-open{width:auto;min-width:0;margin:0}.acct .source-actions .source-open .icon{width:15px;height:15px}
.acct .source-details-toggle{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0;font-size:14px;color:var(--green)}.acct .source-details-toggle .icon{width:16px;height:16px;transition:transform .18s}
.acct .source-details-toggle[aria-expanded=true] .icon{transform:rotate(180deg)}
.acct .source-subscription{margin:12px 0 0;margin-inline-start:52px;padding:14px 16px;border-radius:12px;background:#0d0f0c;border:1px solid #20241d}
.acct .source-subscription h3{margin:0 0 10px;font-size:13px;color:var(--acct-secondary);font-weight:600}
.acct .subscription-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px 18px;margin:0}.acct .subscription-grid dt{font-size:12px;color:var(--acct-secondary)}.acct .subscription-grid dd{margin:2px 0 0;font-size:14px;color:var(--fg)}
.acct .source-details-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px;font-size:12px;color:var(--acct-secondary)}.acct .source-details-foot .auth-text-button{margin:0;display:inline-flex;align-items:center;gap:6px;font-size:13px}.acct .source-details-foot .icon{width:14px;height:14px}
@media(max-width:600px){.acct .source-actions,.acct .source-subscription{padding-inline-start:0;margin-inline-start:0}}
/* Provider switcher in the library. */
.source-picker{position:relative;padding:0}.source-picker>summary{list-style:none;display:flex;align-items:center;gap:9px;padding:12px;cursor:pointer}.source-picker>summary::-webkit-details-marker{display:none}
.source-picker>summary [data-provider-name]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-picker>summary .icon:last-child{width:14px;height:14px;transition:transform .18s}.source-picker[open]>summary .icon:last-child{transform:rotate(180deg)}
.source-picker-menu{display:flex;flex-direction:column;padding:4px 6px 8px;border-top:1px solid #303d20}
.source-picker-menu>*{display:flex;align-items:center;gap:8px;min-height:40px;padding:6px 8px;border-radius:7px;font-size:13px;color:#dfe6d4}.source-picker-menu a:hover{background:#222b16}.source-picker-menu .is-current{color:var(--green)}.source-picker-menu .icon{width:15px;height:15px}
.source-picker-menu .source-picker-refresh{width:100%;margin-block-start:4px;border-block-start:1px solid #303d2066;text-align:start}
.source-picker-menu .source-picker-refresh:hover:not(:disabled){background:#222b16}
.source-picker-menu .source-picker-refresh:disabled{opacity:.55}
.source-picker-menu .source-picker-manage,.source-picker-menu .source-picker-refresh{color:#bdcca7}
/* Pro explanation sheet. */
.pro-dialog{max-width:440px;width:calc(100% - 32px);padding:0;border:1px solid var(--line);border-radius:22px;background:#111310;color:var(--fg);box-shadow:0 30px 80px #000c}
.pro-dialog::backdrop{background:#000b;backdrop-filter:blur(3px)}
.pro-sheet{position:relative;padding:20px 22px 22px}
.pro-sheet-close{position:absolute;top:14px;inset-inline-end:14px;width:38px;height:38px;border-radius:50%;background:#1d211a;display:grid;place-items:center;z-index:1}.pro-sheet-close .icon{width:18px;height:18px}
.pro-art{position:relative;height:130px;margin-bottom:18px;border-radius:16px;overflow:hidden;background:radial-gradient(circle at 50% 50%,#1d2614 0,#0c0e0b 70%);border:1px solid #20241d;display:grid;place-items:center}
.pro-art-ring{position:absolute;width:150px;height:150px;border-radius:50%;border:1px solid #cef36c1f}.pro-art-ring+.pro-art-ring{width:230px;height:230px;border-color:#cef36c12}
.pro-art-icon{position:relative;width:62px;height:62px;border-radius:18px;display:grid;place-items:center;background:#1b2214;border:1px solid #3d4b2c;color:var(--green)}.pro-art-icon .icon{width:28px;height:28px}
.pro-badge{display:inline-block;padding:1px 8px;border-radius:6px;font-size:11px;font-weight:700;letter-spacing:.05em;background:var(--green);color:#151811}
.pro-sheet h2{margin:10px 0 6px;font-size:22px;line-height:1.4}
.pro-sheet-body{margin:0 0 14px;color:#c9cfc2;font-size:15px;line-height:1.7}
.pro-points{list-style:none;padding:0;margin:0 0 20px;display:grid;gap:8px}.pro-points li{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.6}.pro-points .icon{flex-shrink:0;width:18px;height:18px;margin-top:3px;color:var(--green)}
.pro-sheet-action{width:100%;min-height:48px;margin:0;border-radius:999px}
.pro-sheet-note{margin:10px 0 0;text-align:center;font-size:12px;color:var(--muted)}
@media(max-width:600px){.pro-dialog{margin:auto 0 0;width:100%;max-width:none;max-height:92svh;border-radius:22px 22px 0 0;border-bottom:0}.pro-sheet{padding-bottom:calc(22px + env(safe-area-inset-bottom))}}
/* Terms and privacy pages. */
.policy-view{min-height:100svh;display:flex;flex-direction:column;background:var(--bg);color:var(--fg)}
.policy-header{position:sticky;top:0;z-index:10;background:#080908e6;backdrop-filter:blur(10px);border-bottom:1px solid #ffffff0d}
.policy-header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}
.policy-header .policy-logo img{display:block;height:26px;width:auto}
.policy-nav{display:flex;align-items:center;gap:18px;font-size:14px;color:#bfc6b6}.policy-nav a:hover{color:var(--fg)}
.policy.container{flex:1;max-width:1080px;padding-block:40px 72px}
.policy-article:focus{outline:none}
.policy-intro{max-width:760px;margin-bottom:28px}.policy-intro h1{margin:0 0 8px;font-size:38px;line-height:1.3}.policy-intro h1:focus{outline:none}
.policy-date{margin:0 0 16px;color:var(--muted);font-size:14px}.policy-lead{margin:0;font-size:17px;line-height:1.85;color:#d5ddca}.policy-lead a,.policy-body a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.policy-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px;align-items:start}
.policy-toc{position:sticky;top:92px;border:1px solid var(--line);border-radius:14px;background:#11130f;padding:6px 6px 8px}
.policy-toc>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:6px 12px;font-size:14px;font-weight:600;cursor:pointer}.policy-toc>summary::-webkit-details-marker{display:none}
.policy-toc>summary::after{content:'';width:7px;height:7px;border-right:1.6px solid #9aa290;border-bottom:1.6px solid #9aa290;transform:rotate(45deg);transition:transform .2s}.policy-toc[open]>summary::after{transform:rotate(-135deg)}
.policy-toc ol{margin:0;padding:0 6px;list-style:none;counter-reset:toc}.policy-toc li{counter-increment:toc}.policy-toc a{display:flex;gap:8px;padding:7px 8px;border-radius:8px;font-size:13px;line-height:1.5;color:#c3c9bb}.policy-toc a::before{content:counter(toc) '.';color:var(--muted)}.policy-toc a:hover{background:#1a1e17;color:var(--fg)}
.policy-body{max-width:720px;min-width:0}
.policy-body section{scroll-margin-top:90px;padding-bottom:8px}
.policy-body h2{margin:32px 0 12px;font-size:21px;line-height:1.5}.policy-body section:first-child h2{margin-top:0}
.policy-body p,.policy-body li{font-size:16px;line-height:1.9;color:#d2d9c8}.policy-body p{margin:0 0 12px}
.policy-body ul{margin:0 0 12px;padding-inline-start:22px;display:grid;gap:8px}.policy-body strong{color:var(--fg)}
.policy-related{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:36px!important;padding-top:20px;border-top:1px solid var(--line)}
.policy-footer{border-top:1px solid #ffffff0b}.policy-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;min-height:72px;font-size:13px;color:#8a9580}.policy-footer nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.policy-footer a:hover{color:var(--fg)}
@media(max-width:899px){.policy-layout{grid-template-columns:minmax(0,1fr);gap:24px}.policy-toc{position:static}}
@media(max-width:600px){.policy.container{padding-block:26px 48px}.policy-intro h1{font-size:30px}.policy-lead{font-size:16px}.policy-nav{gap:12px;font-size:13px}.policy-nav>a:first-child{display:none}.policy-body h2{font-size:19px}}
.policy-header{display:block;padding-block:0}
/* Provider switcher in the library heading: a dropdown, not an inline row. */
.library-nav-heading .source-switch.source-picker{position:static;display:block;flex:1;min-width:0}
.library-nav-heading .source-picker>summary{padding:4px 0;min-height:40px;gap:6px;color:var(--fg);font-size:17px}
.library-nav-heading .source-picker>summary .icon:first-child{display:none}
.library-nav-heading .source-picker>summary .icon:last-child{display:block;flex-shrink:0;color:#9aa290}
.library-nav-heading .source-picker-menu{position:absolute;inset-block-start:calc(100% - 8px);inset-inline:6px;z-index:30;padding:5px;background:#141712;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 30px #0009}
.library-nav-heading .source-picker-menu>*{font-size:14px;white-space:normal;gap:6px;padding-inline:5px}.library-nav-heading .source-picker-menu .icon{display:block;flex:none}
.library-nav-heading .source-picker-menu .source-picker-manage{white-space:nowrap}
.source-picker-manage>span{min-width:0;overflow:hidden;text-overflow:ellipsis}

/* ===== Design system, 2026-11-16 — one button shape, one badge shape (reference: MyIPTV, in Avocado colours). ===== */
:root{--btn-radius:10px;--icon-btn-radius:8px;--badge-radius:6px;--btn-h:44px;--btn-h-sm:36px;--btn-h-lg:48px;--form-control-radius:10px}
@media(pointer:coarse){:root{--btn-h-sm:40px}}
/* Share control font metrics across the public site, account, player and admin. */
:root{--control-font:OldschoolControl,PlexControl,system-ui,sans-serif}
button,summary,.preview-pill,.header-signin,.find-more{font-family:var(--control-font)}
:is(button,summary,.btn) bdi{font-family:inherit}
/* Center the label and icon as a group across scripts, with equal block padding. */
.btn,.pricing-tabs button,.auth-tabs button,.find-types button,.find-more{display:inline-flex;align-items:center;justify-content:center;text-align:center}
/* Buttons: moderate rounded rectangle; colour and border change on hover, never movement. */
.btn{box-sizing:border-box;border-radius:var(--btn-radius)!important;min-height:var(--btn-h)!important;height:auto!important;padding:0 18px!important;font-family:var(--control-font);font-size:14px!important;font-weight:600!important;line-height:1.25!important;gap:8px!important;transform:none!important;transition:background-color .15s,border-color .15s,color .15s}
.btn:hover,.btn:active{transform:none!important}
.btn .icon{width:16px!important;height:16px!important;flex-shrink:0}
.btn:focus-visible,.icon-btn:focus-visible,.auth-social-button:focus-visible,.footer-lang>summary:focus-visible,.header-signin:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.btn-dark:hover{background:#20251c;border-color:#3a4234}
.btn-outline:hover{background:#cef36c12}
.btn-danger:hover{background:#74443a}
/* Compact size for toolbars, lists and secondary actions. */
.btn-sm,.local-player .btn,.provider-watch .stage-actions .btn,.favorite-selection .btn,.source-section-heading .btn,.dashboard-heading>.btn,.source-delete-confirm .btn,.household-profile-list .btn,.plan-test-options .btn,.more-media,.source-actions .btn,.mobile-browse{min-height:var(--btn-h-sm)!important;padding:0 14px!important;font-size:13px!important}
.btn-sm .icon,.source-actions .btn .icon{width:15px!important;height:15px!important}
/* Large size for the opening and closing calls to action. */
.hero-actions .btn,.closing .btn{min-height:var(--btn-h-lg)!important;padding:0 24px!important;font-size:15px!important}
.form-actions>.btn,.settings-card .form-actions>.btn{height:var(--btn-h)!important}
.form-actions>.btn.btn-sm{height:var(--btn-h-sm)!important}
.auth-social-button{border-radius:var(--btn-radius)}
/* Icon-only buttons: square, one radius, two sizes. */
.icon-btn{border-radius:var(--icon-btn-radius)!important;transition:background-color .15s,border-color .15s,color .15s}
.icon-btn:hover{background:#1b2017;color:var(--fg)}
.library-view-switch .icon-btn,.rail-toggle{border-radius:var(--icon-btn-radius)!important}

/* Header: no lift; "Start free" waits while the hero's own buttons are visible (space kept, not focusable). */
.header .header-start,.header .header-watch{min-height:40px!important;padding:0 16px!important;font-size:14px!important;border-radius:var(--btn-radius)!important}
.header .header-start{transition:opacity .18s,visibility .18s,background-color .15s}
body.hero-cta-visible .header .header-start{visibility:hidden;opacity:0;pointer-events:none}
.header .header-signin{display:inline-flex;align-items:center;min-height:40px;padding:0 6px;border-radius:var(--btn-radius)}
.header .account-menu summary{border-radius:var(--btn-radius)}
@media(max-width:800px){.header .header-start{min-height:var(--btn-h-sm)!important;padding:0 12px!important;font-size:13px!important}.header .header-watch{width:40px;height:40px!important;min-height:40px!important;padding:0!important;border-radius:var(--icon-btn-radius)!important}}
@media(prefers-reduced-motion:reduce){.header .header-start{transition:none}}

/* Badges: PRO filled Avocado green; Free dark neutral with a quiet border. Same height, radius, type. */
.plan-badge,.pro-tag,.pro-badge{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:20px;min-width:0;padding:0 7px;margin:0;border:1px solid transparent;border-radius:var(--badge-radius);font-family:inherit;font-size:11px;font-weight:700;line-height:1;letter-spacing:.03em;vertical-align:middle;white-space:nowrap}
.pro-tag,.pro-badge,.plan-badge.is-pro{background:var(--green);color:#151811;border-color:var(--green)}
.plan-badge:not(.is-pro){background:#22261f;color:#eef1ea;border-color:#3a4034}
.acct-link-label .plan-badge,.acct-link-label .pro-tag{margin-inline-start:8px}
.acct-link-value .plan-badge{margin:0}
.btn .pro-tag{margin:0}

/* Plan card: crown, name, badge and status together; short benefit summary; no filler. */
.settings-plan .plan-head{display:flex;align-items:center;gap:12px}
.plan-crown{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:var(--btn-radius);background:#1c2316;border:1px solid #2e3a22;color:var(--green)}
.plan-crown .icon{width:20px;height:20px}
.plan-head-text{min-width:0}
.plan-head-label{margin:0;font-size:12px;font-weight:500;line-height:1.5;color:var(--muted)}
.plan-name-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.settings-plan .settings-plan-name{display:inline;font-size:20px!important;font-weight:700;line-height:1.3}
.settings-plan>.plan-status{margin:12px 0 0;font-size:13px;line-height:1.6;color:var(--muted)}
.plan-perks{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;line-height:1.6;color:#d3d8cc}
.plan-perks li{display:flex;align-items:center;gap:6px}
.plan-perks .icon{width:14px;height:14px;flex-shrink:0;color:var(--green)}
.settings-plan>.plan-features-link{margin-top:16px;color:var(--fg)}
.settings-plan>.auth-text-button{margin-top:10px}
.acct .acct-detail>.settings-plan{padding:18px 20px}

/* PIN card: sized to its content. */
.acct [data-parental-content]>.auth-hint:first-child,.acct [data-parental-content]>p:first-child{margin-top:0}
.pro-teaser-actions{margin-top:14px}

/* Channels: real logo only, no placeholder icon; the column title is the toolbar heading. */
.channel-logo-slot:has(img.artwork-failed){display:none}

/* Mobile navigation uses the same type, colours, buttons and radii as the site. */
.mobile-menu-actions,.mobile-menu-compare{display:none}
@media(max-width:600px){
  .header .header-inner{width:calc(100% - 48px);gap:12px}
  .header{height:76px}
  .header .brand img{width:166px}
  .header .header-actions{gap:4px}
  .header .header-actions>.header-signin,.header .header-actions>.header-start{display:none}
  .header .mobile-toggle{display:inline-flex;width:44px;height:44px;padding:10px;flex-shrink:0}
  .header .mobile-toggle .icon{width:24px;height:24px;stroke-width:2}
  .header .nav{top:76px}
  .header .nav.open{display:flex;position:fixed;inset:76px 0 0;height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain;background:var(--bg);border:0;padding:28px 32px max(36px,env(safe-area-inset-bottom));gap:10px;align-items:stretch}
  .header .nav.open>a{display:block;padding:0;min-height:48px;font-size:28px;font-weight:600;line-height:1.6;color:var(--muted)}
  .header .nav.open>a:hover{color:var(--fg)}
  .header .nav.open .mobile-menu-actions{display:flex;flex-direction:column;gap:12px;margin-top:30px;padding-bottom:12px}
  .header .mobile-menu-actions .btn{width:100%;min-height:48px!important;font-size:18px!important}
  .header .mobile-menu-actions .btn-outline{border-color:var(--line);color:var(--fg)}
  body.mobile-menu-open{overflow:hidden}
  .mobile-menu-open .header{position:fixed;inset:0 0 auto;backdrop-filter:none;background:var(--bg)}
  .mobile-menu-open .header-actions>.account-menu,.mobile-menu-open .header-actions>.header-watch{display:none}
  .mobile-menu-open main,.mobile-menu-open .footer{visibility:hidden}
}
@media(max-width:359px){.header .header-inner{width:calc(100% - 32px)}.header .brand img{width:150px}.header .header-actions .account-menu summary{width:36px}.header .header-watch{width:36px!important}}
.playback-item-name{gap:10px}

/* Footer: three balanced columns, Legal under Support, one bottom line when it fits. */
.footer{padding-top:36px}
.footer-grid{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);gap:32px}
.footer-links{gap:9px}
.policy-review-note{display:inline-block;margin:0 0 12px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;color:var(--fg);font-size:.875rem}
.footer-links .footer-subhead{margin-top:14px}
.footer-bottom{flex-wrap:wrap;align-items:center;row-gap:6px;margin-top:28px;padding:12px 0 16px;font-size:12px}
.copyright{max-width:none}
.footer-lang>summary{min-height:44px;min-width:44px;padding:0 12px;gap:8px;font-size:14px;border:1px solid var(--line);border-radius:var(--btn-radius);color:#d5dacd}
.footer-lang>summary:hover{border-color:#3a4234;color:var(--fg)}
@media(max-width:600px){.footer{padding-top:28px}.footer-grid{grid-template-columns:1fr 1fr;gap:24px 20px}.footer-bottom{margin-top:20px;font-size:12px;justify-content:space-between}}
.playback-item-name{padding-inline:12px}
@media(min-width:1101px){.library-workspace.has-item-rail{grid-template-columns:250px minmax(0,1fr)}}
@media(min-width:1600px){.library-workspace.has-item-rail{grid-template-columns:290px minmax(0,1fr)}}
/* Plan card heading: "Your plan" with the unified badge; no repeated plan name. */
.settings-plan .plan-head-title{margin:0 0 4px;font-size:16px;font-weight:600;line-height:1.4;color:var(--fg)}
.settings-plan .plan-name-row .settings-plan-name{font-size:15px!important;font-weight:500;color:var(--muted)}

/* Library app (2026-11-17): compact watch bar, bottom navigation on phones, unified
   search and the viewing-profile sheet. Phones use the existing ≤800px library rules;
   tablets in landscape and computers keep the sidebar and category rail. */
.watch-topbar,.watch-bottom-nav{display:none}
.profile-avatar{position:relative;display:inline-grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:#26301a;border:1px solid #3d4b2c;color:var(--green);font:600 14px/1 Oldschool,Plex,sans-serif}
.library-nav .sidebar-profile .profile-avatar{display:inline-grid;width:24px;height:24px;font-size:11px}
.watch-page .library-shell.is-finding{grid-template-columns:var(--section-rail-width) minmax(0,1fr)}
.watch-page .library-shell.is-finding>.library-workspace{display:flex;flex-direction:column;grid-column:2/-1;grid-row:1/-1;padding-inline:28px}
.watch-page .library-shell.is-finding>.library-categories,.is-finding .library-workspace>:not(.find-view){display:none!important}
.find-view{display:flex;flex-direction:column;flex:1;min-height:0;padding:20px 0 28px}
.watch-page .find-view>.find-field{order:0}
.find-head{margin-block-end:14px}
.find-head h1{margin:0;font-size:24px;font-weight:600;line-height:1.4}
.find-view .find-field{width:100%;max-width:none;min-height:48px;margin:0 0 12px}
.find-view .find-field input{font-size:15px}
.find-types{--spring-segment-color:#303b24;display:flex;gap:8px;flex-shrink:0;margin-bottom:18px;padding:2px;max-width:100%}
.find-types button{flex-shrink:0;min-height:40px;padding:0 18px;border:1px solid var(--line);border-radius:var(--btn-radius);background:var(--surface2);color:var(--fg);font-size:14px;font-weight:600;white-space:nowrap}
.find-types button[aria-pressed=true]{background:var(--spring-segment-color);border-color:transparent;color:var(--green)}
.find-types button:focus-visible{outline:2px solid var(--green);outline-offset:-3px}.find-more:focus-visible,.find-row:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.find-group{margin-bottom:24px}
.find-group-head{display:flex;align-items:center;gap:8px;min-height:36px;margin-bottom:8px}
.find-group-head h2{margin:0;font-size:16px;font-weight:600}
.find-count{color:var(--muted);font-size:12px}
.find-more{margin-inline-start:8px;min-height:40px;padding:0 6px;border:0;background:none;color:var(--green);font-size:13px;font-weight:600}
.find-channel-list{display:flex;flex-direction:column;gap:6px;min-width:0}
.find-row{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:6px 12px;border:1px solid var(--line);border-radius:var(--btn-radius);background:var(--surface);font-size:14px;text-align:start}
.find-row>span[dir]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.find-row>.icon{width:15px;height:15px;color:var(--muted);flex-shrink:0}
.find-row .channel-logo-slot{width:32px;height:32px}
.find-view .find-posters{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:18px 14px;flex:none;overflow:visible;padding:0}
.find-empty,.find-group-status{margin:0;color:var(--muted);font-size:14px}
.find-group-status[role=alert]{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
@media(min-width:900px){
  .find-view{width:min(100%,96rem);margin-inline:auto}
  .find-view .find-field{width:min(100%,42rem)}
  .find-results>.find-live:only-child .find-channel-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr))}
}
@media(min-width:1200px){
  .find-results:has(>.find-live):has(>.find-visual){display:grid;grid-template-columns:minmax(14rem,22%) minmax(0,1fr);align-items:start;gap:clamp(20px,3vw,42px)}
  .find-visual{min-width:0}
}
/* Viewing-profile sheet: centred on wide screens, from the bottom on phones. */
.profile-sheet{width:min(440px,calc(100% - 32px));max-height:min(86dvh,720px);margin:auto;padding:0;border:1px solid #303729;border-radius:16px;background:var(--surface);color:var(--fg);overflow:auto;overscroll-behavior:contain}
.profile-sheet::backdrop{background:#000b}
.profile-sheet-inner{padding:18px 20px 22px}
.sheet-grip{display:none}
.profile-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.profile-sheet-head h2{margin:0;font-size:18px;font-weight:600}
.profile-sheet .household-panel{border:0;font-size:14px}
.household-profile-list{display:flex;flex-wrap:wrap;gap:14px 10px;margin-bottom:14px}
.profile-chip{display:flex;flex-direction:column;align-items:center;gap:6px;width:80px;padding:4px 0;border:0;background:none;color:var(--fg);font-size:13px;line-height:1.3;text-align:center}
.profile-chip .profile-avatar{width:56px;height:56px;font-size:22px}
.profile-chip.is-current .profile-avatar{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--green)}
.profile-chip:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:10px}
.profile-current-mark{position:absolute;inset-block-end:-5px;inset-inline-end:-5px;display:grid;place-items:center;width:22px;height:22px;border:2px solid var(--surface);border-radius:50%;background:var(--green)}
.profile-current-mark svg{width:12px;height:12px;fill:none;stroke:#151811;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.profile-chip-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-chip small{color:var(--muted);font-size:11px;line-height:1}
.profile-chip .pro-tag{margin:0}
.profile-add .profile-avatar{border:1px dashed #4a5540;background:none;color:var(--muted)}
.profile-add .profile-avatar .icon{width:22px;height:22px}
.household-profile-list .profile-chip[aria-pressed]{background:none;color:var(--fg)}
.household-manage{display:flex;flex-direction:column;gap:8px}
.profile-sheet .household-manager{margin:0;padding:0;border:1px solid var(--line);border-radius:12px}
.profile-sheet .household-manager>summary{display:flex;align-items:center;gap:8px;min-height:50px;padding:0 14px;list-style:none;font-size:15px}
.profile-sheet .household-manager>summary::-webkit-details-marker{display:none}
.profile-sheet .household-manager>summary::after{content:"";width:8px;height:8px;margin-inline-start:auto;border-inline-end:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .15s}
.profile-sheet .household-manager[open]>summary::after{transform:rotate(-135deg)}
.profile-sheet .household-manager>:not(summary){margin:0 14px 14px}
.household-manage-locked{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--btn-radius);background:var(--surface2);text-align:start}
.household-manage-locked .icon{width:18px;height:18px;color:var(--muted)}
.household-manage-locked small{margin-inline-start:auto;color:var(--muted);font-size:12px}
.household-refresh{margin-top:6px;font-size:12px}
.sheet-links{display:flex;flex-direction:column;margin-top:14px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.sheet-link{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 14px;border-top:1px solid var(--line);font-size:15px}
.sheet-link:first-child{border-top:0}
.sheet-link:hover{background:var(--surface2)}
.sheet-link>.icon{width:18px;height:18px;color:var(--muted)}
.sheet-lock{display:inline-flex;margin-inline-start:auto;color:var(--muted)}
.sheet-lock .icon{width:16px;height:16px}
/* Account: viewing profiles directly under the account card. */
.acct-profile-initial{color:var(--green);font:600 15px/1 Oldschool,Plex,sans-serif}
/* Category list from the bottom on phones. */
.category-popup.is-sheet{inset:auto 0 0 0;width:auto;max-width:none;padding:12px 12px max(14px,env(safe-area-inset-bottom));border-radius:16px 16px 0 0;border-inline:0;border-bottom:0;box-shadow:0 -12px 40px #000c;font-size:15px}
.category-popup.is-sheet .category-option{min-height:46px}
.category-popup.is-sheet .category-search{min-height:44px}
/* Signed in on phones: logo and menu only; "Watch" and "My account" live in the menu. */
@media(max-width:600px){.header .header-actions>.header-watch,.header .header-actions>.account-menu{display:none}}
@media(hover:none){.media-open:hover .media-play{opacity:0}.media-open:hover .media-art{border-color:inherit}}
@media(max-width:899px),(pointer:coarse) and (max-height:500px){
  .profile-sheet{width:100%;max-width:none;max-height:88dvh;margin:auto 0 0;border-inline:0;border-bottom:0;border-radius:18px 18px 0 0}
  .profile-sheet-inner{padding:10px 18px max(22px,env(safe-area-inset-bottom))}
  .sheet-grip{display:block;width:40px;height:4px;margin:0 auto 10px;border-radius:2px;background:#3a4034}
  body.watch-app .header{display:none}
  .watch-profile-button{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;padding:0;border:0;border-radius:50%;background:none}
  .watch-profile-button .profile-avatar{width:36px;height:36px}
  .watch-profile-button:focus-visible{outline:2px solid var(--green);outline-offset:2px}
  body.watch-page .library-shell,body.watch-page .library-shell.rail-collapsed,body.watch-page .library-shell.is-finding{display:flex;flex-direction:column}
  body.watch-page .library-shell>.library-nav,body.watch-page .library-shell>.library-categories{display:none}
  body.watch-page .library-workspace{flex:1;min-height:0;padding:0 max(14px,env(safe-area-inset-right)) 0 max(14px,env(safe-area-inset-left))}
  .watch-page .library-shell{
    padding-block-end:var(--watch-nav-clearance);
    --watch-nav-bottom:max(10px,env(safe-area-inset-bottom));
    --watch-nav-clearance:calc(72px + var(--watch-nav-bottom));
  }
  .watch-page.watch-app .library-shell{--watch-header-offset:0px}
  .watch-page .watch-bottom-nav{
    position:fixed;z-index:12;inset-inline:0;inset-block-end:var(--watch-nav-bottom);
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-inline:auto;padding:5px;
    width:min(560px,calc(100% - max(14px,env(safe-area-inset-left)) - max(14px,env(safe-area-inset-right))));
    border:1px solid #ffffff26;border-radius:999px;background:#0b0e0b99;
    -webkit-backdrop-filter:var(--nav-blur);backdrop-filter:var(--nav-blur);box-shadow:0 4px 18px #0006;
    transition:transform .2s ease,opacity .2s ease,visibility .2s;
  }
  .watch-page .watch-bottom-nav[data-scroll-hidden]:not(:has(:focus-visible)){
    opacity:0;visibility:hidden;transform:translateY(calc(100% + var(--watch-nav-bottom)));pointer-events:none
  }
  body:is(.keyboard-open,.is-selecting) .library-shell{--watch-nav-clearance:max(12px,env(safe-area-inset-bottom))}
  @media(prefers-reduced-motion:reduce){.watch-page .watch-bottom-nav{transition:none}}
  .watch-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:48px;padding:4px 2px;border:0;border-radius:999px;background:none;color:var(--muted);font-size:12px;font-weight:600;line-height:1.2}
  .watch-bottom-nav button .icon{width:22px;height:22px}
  .watch-bottom-nav{--spring-segment-color:#25301e;--spring-segment-radius:999px}
  .watch-bottom-nav button.active{background:var(--spring-segment-color);color:var(--green)}
  .watch-bottom-nav button:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
  body.keyboard-open .watch-bottom-nav{display:none}
  /* Keep the floating controls clear of the last item without fixing the page height. */
  .watch-page .library-workspace>.library-items{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
  /* One compact header row for the viewing profile, section title, count and actions. */
  .watch-page .library-toolbar{position:sticky;inset-block-start:var(--watch-header-offset);z-index:13;background:#0d100b;flex-wrap:wrap;align-items:center;min-height:0!important;gap:6px 8px;padding:max(8px,env(safe-area-inset-top)) 0 8px}
  .watch-page .library-toolbar::before{content:"";order:5;flex-basis:100%;height:0}
  .watch-page .library-toolbar .rail-toggle{display:none}
  .watch-page .library-toolbar>.watch-profile-button{display:grid;order:0}
  .watch-page .library-toolbar h1{order:1;margin:0;font-size:20px;font-weight:600}
  .watch-page .library-toolbar .channel-count{order:2;font-size:12px}
  .watch-page .library-toolbar .current-media-title,.watch-page .library-toolbar .mobile-browse{order:3}
  .watch-page .library-toolbar .mobile-category,.watch-page .library-toolbar .toolbar-search-toggle{display:grid;place-items:center;order:4;width:44px;height:44px;min-height:44px;margin:0;padding:0;flex:0 0 44px}
  .watch-page .library-toolbar :is(.mobile-category,.toolbar-search-toggle,.toolbar-search-close){border:1px solid var(--line);border-radius:var(--icon-btn-radius);background:var(--surface);color:var(--fg)}
  .watch-page .library-toolbar .mobile-category{margin-inline-start:auto}
  .watch-page .library-toolbar .mobile-category .icon,.watch-page .library-toolbar .toolbar-search-toggle .icon{width:20px;height:20px}
  .watch-page .library-toolbar .mobile-category.is-filtered{border-color:var(--green);color:var(--green)}
  .watch-page .library-toolbar>.search-field,.watch-page .library-toolbar .toolbar-search-close{display:none}
  .watch-page .library-toolbar .toolbar-source{display:flex;order:6;min-width:0;max-width:100%}
  .toolbar-source-button,.toolbar-source-name{display:inline-flex;align-items:center;gap:6px;min-width:0;min-height:36px;padding:0 4px;border:0;background:none;color:var(--muted);font-size:13px;font-weight:600}
  .toolbar-source-button>span,.toolbar-source-name>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .toolbar-source-button .icon,.toolbar-source-name .icon{width:15px;height:15px;flex-shrink:0}
  .toolbar-source-button:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:6px}
  .watch-page .library-toolbar .filter-chip:not([hidden]){display:inline-flex;order:7}
  .filter-chip{align-items:center;gap:6px;min-height:32px;max-width:60%;padding:0 10px;border:1px solid #3d4b2c;border-radius:999px;background:#1c2414;color:var(--green);font-size:12px;font-weight:600}
  .filter-chip>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .filter-chip .icon{width:14px;height:14px;flex-shrink:0}
  .watch-page .library-toolbar.is-searching>:is(h1,.channel-count,.current-media-title,.mobile-browse,.mobile-category,.toolbar-search-toggle){display:none}
  .watch-page .library-toolbar.is-searching>.search-field{display:flex;order:1;flex:1 1 0;width:auto;max-width:none;min-height:44px;margin:0}
  .watch-page .library-toolbar.is-searching>.toolbar-search-close{display:grid;place-items:center;order:2;width:44px;height:44px;flex:0 0 44px}
  .watch-page .library-toolbar .search-field input{font-size:16px}
  .watch-page .has-item-rail:is([data-playing-kind="movies"],[data-playing-kind="series"]) .library-toolbar :is(.mobile-category,.toolbar-search-toggle,.toolbar-source,.filter-chip){display:none}
  .find-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .watch-page .find-head>.watch-profile-button{display:grid}
  .find-view .find-field{min-height:44px}
  .watch-page .library-items .playback-list-search{display:none}
  .watch-page .library-workspace:not(.has-selection)>.library-playback{display:none}
  /* The phone player and list rules, also for 801–899px portrait tablets. */
  .watch-page .has-item-rail .library-toolbar{order:0;padding-inline:0}
  .watch-page .has-item-rail .library-scope{order:1}
  .watch-page .has-item-rail .favorite-selection{order:1;padding-inline:0}
  .watch-page .has-item-rail .library-playback{flex:0 0 auto;height:clamp(190px,32dvh,340px);max-height:none;padding:0 0 10px;order:2}
  .watch-page .has-item-rail .library-items{order:4;border:1px solid #262a23}
  .watch-page .has-item-rail .playback-list-heading{display:none}
  .watch-page .has-item-rail:is([data-playing-kind="movies"],[data-playing-kind="series"]) .library-items{display:none}
  .watch-page .has-item-rail[data-playing-kind="series"] .library-playback{height:auto;flex:1;min-height:0}
  .watch-page .has-item-rail[data-playing-kind="series"] .watch-stage{height:clamp(190px,32dvh,340px);aspect-ratio:auto;flex-shrink:0}
  .watch-page .mobile-browse:not([hidden]){display:flex}
  .find-view{padding-top:max(8px,env(safe-area-inset-top))}
  .find-head h1{font-size:22px}
  .find-types{gap:4px;padding:2px 0}
  .find-types button{flex:1 1 auto;min-width:0;min-height:44px;padding-inline:clamp(4px,1.5vw,10px);font-size:clamp(12px,3.5vw,14px);white-space:normal}
  .find-view .find-posters{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:16px 12px}
}
@media(max-width:440px){.find-view .find-posters{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Short landscape phones: the player sits beside the channel list instead of above it. */
@media(max-width:899px) and (orientation:landscape) and (max-height:560px),(pointer:coarse) and (orientation:landscape) and (max-height:500px){
  .watch-bottom-nav button{flex-direction:row;gap:6px;min-height:42px}
  .watch-page .library-workspace.has-item-rail.has-selection{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);column-gap:14px}
  .watch-page .has-item-rail.has-selection>.library-playback{grid-column:1;grid-row:1/-1;align-self:start;height:auto;max-height:100%;padding-top:10px}
  .watch-page .has-item-rail.has-selection>.library-toolbar{grid-column:2;grid-row:1}
  .watch-page .has-item-rail.has-selection>.library-scope,.watch-page .has-item-rail.has-selection>.favorite-selection{grid-column:2;grid-row:2}
  .watch-page .has-item-rail.has-selection>.library-items{grid-column:2;grid-row:3;min-height:0}
  .watch-page .has-item-rail.has-selection .library-toolbar{padding-block:6px;gap:6px}
  .watch-page .has-item-rail.has-selection>.library-scope{display:none}
}

/* Toolbar helpers hidden where the sidebar already offers them (desktop and landscape tablets). */
.library-toolbar>.watch-profile-button,.toolbar-source,.filter-chip,.toolbar-search-toggle,.toolbar-search-close,.find-head>.watch-profile-button{display:none}
.find-head{display:flex;align-items:center;justify-content:space-between}
.sheet-mark{width:18px;height:18px}
/* One background for every sheet, popup and menu: the same as the main dropdown menu. */
:root{--sheet-bg:#11130f;--sheet-line:var(--line)}
.profile-sheet,.app-sheet,.pro-dialog,.series-detail-dialog,.category-popup,.account-menu nav,.library-nav-heading .source-picker-menu{background:var(--sheet-bg);border-color:var(--sheet-line)}
.app-sheet{width:min(440px,calc(100% - 32px));max-height:min(86dvh,720px);margin:auto;padding:0;border:1px solid var(--sheet-line);border-radius:16px;color:var(--fg);overflow:auto;overscroll-behavior:contain}
.app-sheet::backdrop,.profile-sheet::backdrop,.series-detail-dialog::backdrop{background:#000b}
.app-sheet-inner{padding:18px 20px 22px}
.sheet-link.is-current{color:var(--green)}
@media(max-width:899px),(pointer:coarse) and (max-height:500px){
  .app-sheet{width:100%;max-width:none;max-height:88dvh;margin:auto 0 0;border-inline:0;border-bottom:0;border-radius:18px 18px 0 0}
  .app-sheet-inner{padding:10px 18px max(22px,env(safe-area-inset-bottom))}
}
/* Focus: a ring only for keyboard navigation, never after a tap or click; sheet and list
   containers that receive focus programmatically show nothing. */
[data-spring-dropdown]>summary[data-pointer-focus]:focus-visible{outline:none}
:focus:not(:focus-visible){outline:none}
[tabindex="-1"]:focus,.profile-sheet-inner:focus,.app-sheet-inner:focus,.series-detail-inner:focus,.pro-sheet:focus{outline:none}
[data-player-list]:focus:not(:focus-visible),.find-view:focus:not(:focus-visible){outline:none}
@media(hover:none){[data-player-list]:focus,.find-view:focus{outline:none}}
.household-manage-locked .pro-tag{margin-inline-start:auto}
.profile-sheet .household-manage-locked{min-height:50px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:none;font-size:15px;color:var(--fg)}

/* Design system round 3 (2026-11-17): danger colour, row details, badges after text,
   sheets for account forms and profile editing, profile colours, library menu. */
:root{--danger:#ff6961;--danger-bg:#3a1916}
.acct-logout-link,.acct-danger-link,.hh-danger-text{color:var(--danger)!important}
.acct-logout-link .acct-link-icon,.acct-danger-link .acct-link-icon{background:var(--danger-bg)!important;color:var(--danger)!important}
.btn-danger{background:#d93f3a!important;border-color:#d93f3a!important;color:#fff!important}
.acct-link-label small{display:block;margin-top:2px;font-size:12px;font-weight:400;line-height:1.4;color:var(--muted)}
.acct-danger-link .acct-link-label small{color:var(--muted)}
.acct-link.is-static{cursor:default}
.acct-link-label .pro-tag,.household-manage-locked .pro-tag,.btn .pro-tag{margin-inline:8px 0!important}
/* Sheets: one layer for account forms and profile editing. */
.acct-sheet-layer,.hh-sheet-layer{position:fixed;inset:0;z-index:900;display:flex;align-items:center;justify-content:center;padding:16px}
.acct-sheet-backdrop,.hh-sheet-backdrop{position:absolute;inset:0;background:#000b}
.acct-sheet,.hh-sheet{position:relative;width:min(460px,100%);max-height:86dvh;overflow:auto;overscroll-behavior:contain;padding:18px 20px 22px;border:1px solid var(--sheet-line);border-radius:16px;background:var(--sheet-bg);color:var(--fg);box-shadow:0 24px 70px #000c}
.acct-sheet:focus,.hh-sheet:focus{outline:none}
.acct-sheet .settings-editor{margin:0;padding:0;border:0;background:none}
.profile-sheet-head small{display:block;color:var(--muted);font-size:13px}
@media(max-width:899px),(pointer:coarse) and (max-height:500px){
  .acct-sheet-layer,.hh-sheet-layer{align-items:flex-end;padding:0}
  .acct-sheet,.hh-sheet{width:100%;max-height:90dvh;border-inline:0;border-bottom:0;border-radius:18px 18px 0 0;padding:10px 18px max(22px,env(safe-area-inset-bottom))}
  .acct-sheet .sheet-grip,.hh-sheet .sheet-grip{display:block}
}
/* Profile colours (kept in this browser). */
.profile-avatar.tone-0{background:#26301a;border-color:#3d4b2c;color:var(--green)}
.profile-avatar.tone-1{background:#15313a;border-color:#245262;color:#8fd6ea}
.profile-avatar.tone-2{background:#382a12;border-color:#5c4620;color:#f2c56b}
.profile-avatar.tone-3{background:#381830;border-color:#5c2a4e;color:#f2a0d8}
.profile-avatar.tone-4{background:#1c2546;border-color:#2f3c6e;color:#a7b8ff}
.tone-swatch{width:36px;height:36px;border-radius:50%;border:2px solid transparent;padding:0}
.tone-swatch.tone-0{background:#3d4b2c}.tone-swatch.tone-1{background:#245262}.tone-swatch.tone-2{background:#5c4620}.tone-swatch.tone-3{background:#5c2a4e}.tone-swatch.tone-4{background:#2f3c6e}
.tone-swatch[aria-pressed=true]{border-color:var(--fg);box-shadow:0 0 0 2px var(--sheet-bg) inset}
.tone-swatch:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.profile-avatar-lg{width:88px!important;height:88px!important;font-size:34px!important}
.acct-profile-initial.profile-avatar{width:32px;height:32px;font-size:14px}
/* Viewing profiles page and editor. */
.hh-page{display:flex;flex-direction:column;gap:6px}
.hh-add-row{margin-bottom:10px}
.hh-add{display:inline-flex;align-items:center;gap:8px}
.hh-rows .hh-row{display:flex;align-items:center;gap:8px}
.hh-rows .hh-row+.hh-row{border-top:1px solid var(--line)}
.hh-row-main{flex:1;min-width:0;border:0!important}
.hh-row-main .profile-avatar{width:40px;height:40px;font-size:16px}
.hh-row-main strong{display:block;font-weight:600}
.hh-use{margin-inline-end:12px;flex-shrink:0}
.hh-card{border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.hh-card>.household-note,.hh-card>.household-group-list{margin:0;padding:12px 14px}
.household-group-list{list-style:none;margin:0;padding:0}
.hh-group{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:0 14px}
.hh-group+.hh-group{border-top:1px solid var(--line)}
.hh-group-actions{display:flex;gap:14px}
.hh-group-form fieldset{display:flex;gap:8px;align-items:center;margin:0;padding:12px 14px;border:0;border-top:1px solid var(--line);min-width:0}
.hh-group-form .auth-field{flex:1;margin:0}
.hh-group-form .btn{flex-shrink:0;min-height:44px}
.household-note{color:var(--muted);font-size:13px;line-height:1.6}
.hh-editor fieldset{display:flex;flex-direction:column;gap:14px;margin:0;padding:0;border:0;min-width:0}
.hh-editor-avatar{display:flex;flex-direction:column;align-items:center;gap:14px;margin:4px 0}
.hh-tones{display:flex;gap:12px;justify-content:center}
.hh-switch-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;cursor:pointer}
.hh-switch-row strong{display:block;font-weight:600}
.hh-switch-row small{display:block;color:var(--muted);font-size:12px;line-height:1.5}
.hh-switch{appearance:none;-webkit-appearance:none;position:relative;flex-shrink:0;width:50px;height:30px;margin:0;border-radius:999px;background:#3a4034;cursor:pointer;transition:background .15s}
.hh-switch::before{content:"";position:absolute;top:3px;inset-inline-start:3px;width:24px;height:24px;border-radius:50%;background:#f4f5f0;transition:transform .15s}
.hh-switch:checked{background:var(--green)}
.hh-switch:checked::before{transform:translateX(20px)}
[dir=rtl] .hh-switch:checked::before{transform:translateX(-20px)}
.hh-switch:disabled{opacity:.45}
.hh-switch:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.household-allow-list{border-top:1px solid var(--line);padding:10px 14px;max-height:260px;overflow:auto}
.hh-editor-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}
.hh-pro-row{border:1px solid var(--line);border-radius:12px}
.household-pin-actions{display:flex;gap:8px;flex-wrap:wrap}
/* Pro feature sheet: buy (to plans) and all features. */
.pro-sheet-action{width:100%}
.pro-sheet-all{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:8px;color:var(--green);font-weight:600;font-size:14px}
/* Library menu replaces the separate categories and refresh icons on phones. */
.toolbar-menu-toggle,.toolbar-menu{display:none}
.library-toolbar{position:relative}
@media(max-width:899px),(pointer:coarse) and (max-height:500px){
  .watch-page .library-toolbar .mobile-category{display:none}
  .watch-page .library-toolbar .toolbar-search-toggle{margin-inline-start:auto}
  .watch-page .library-toolbar .toolbar-menu-toggle{display:grid;place-items:center;order:4;width:44px;height:44px;flex:0 0 44px;padding:0;border:1px solid var(--line);border-radius:var(--icon-btn-radius);background:var(--surface);color:var(--fg)}
  .watch-page .library-toolbar .toolbar-menu-toggle .icon{width:20px;height:20px}
  .watch-page .library-toolbar .toolbar-menu-toggle.is-filtered{border-color:var(--green);color:var(--green)}
  .watch-page .library-toolbar.is-searching>.toolbar-menu-toggle{display:none}
  .watch-page .has-item-rail:is([data-playing-kind="movies"],[data-playing-kind="series"]) .library-toolbar .toolbar-menu-toggle{display:none}
  .toolbar-menu:not([hidden]){display:flex;flex-direction:column;position:absolute;top:calc(100% - 2px);inset-inline-end:0;z-index:60;min-width:240px;max-width:calc(100vw - 28px);padding:6px;border:1px solid var(--sheet-line);border-radius:12px;background:var(--sheet-bg);box-shadow:0 14px 34px #000a}
  .toolbar-menu-item{display:flex;align-items:center;gap:10px;width:100%;min-height:46px;padding:0 12px;border:0;border-radius:8px;background:none;color:var(--fg);font-size:14px;text-align:start}
  .toolbar-menu-item:hover{background:#1f2618}
  .toolbar-menu-item>.icon{width:18px;height:18px;flex-shrink:0;color:var(--muted)}
  .toolbar-menu-item small{margin-inline-start:auto;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12px}
  .toolbar-menu-item.is-on{color:var(--green)}
  .toolbar-menu-item.is-on>.icon{color:var(--green)}
  .toolbar-menu-check{margin-inline-start:auto;width:16px!important;height:16px!important}
  .watch-page .library-toolbar .filter-chip:not([hidden]){order:6}
}
/* Phones: inputs at 16px so the browser never zooms the page when a field is focused. */
@media(pointer:coarse){input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px!important}}
/* Provider card: status as a quiet pill, menu aligned to the top, actions under a divider. */
.source-pill{display:inline-flex;align-items:center;padding:1px 8px;border:1px solid #30352b;border-radius:999px;background:#22261f;color:#c6ccbe;font-size:11px;font-weight:600}
.source-pill.is-ok{border-color:#3d4b2c;background:#1c2a12;color:var(--green)}
.acct .source-entry .source-row{align-items:start}
.acct .source-menu>summary{width:40px;height:40px;min-height:40px}
.acct .source-actions{padding-top:12px;border-top:1px solid #20241d}
.acct .source-actions .source-open{background:var(--green);border-color:var(--green);color:#151811}
.household-page{border:0}
.acct-detail>.acct-group+.acct-list,.acct-list+.acct-group{margin-top:18px}
.acct-method-list li{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}
.acct-method-list li .acct-method-name{flex:1;min-width:0}
.acct-method-list li .btn{flex:0 0 auto;width:auto!important;min-width:0!important;min-height:36px!important;margin:0!important;padding:0 16px!important}
/* Plan cards: the price per month, with its unit and billing stacked beside it. */
.plan-card .price{display:flex!important;align-items:center;gap:12px;flex-wrap:nowrap}
.plan-card .price .price-meta{display:flex;flex-direction:column;gap:2px;line-height:1.35}
.plan-card .price .price-meta small{display:block;margin:0;font-size:13px;color:var(--muted);white-space:nowrap}
.plan-grid{grid-auto-rows:1fr}
.plan-card .plan-commitment{margin:0 0 12px;font-size:13px;line-height:1.45;color:var(--muted)}
.plan-card .plan-commitment[aria-hidden="true"]{visibility:hidden}
.plan-card .plan-includes{margin:22px 0 4px;font-size:14px;color:var(--muted)}
.pricing-tabs .save-pill{color:var(--green);font-weight:600}
.pricing-tabs button.active .save-pill{color:inherit}
.pricing-tabs{position:relative}
.pricing-tabs button{position:relative}
.pricing-highlight{position:absolute;top:0;left:0;border-radius:24px;background:#242c1d;pointer-events:none}
.pricing-tabs:has(.pricing-highlight:not([hidden])) button.active{background:transparent}
.plan-pro .price-amount{font-variant-numeric:tabular-nums}
.price-digit{display:inline-block;position:relative}
.price-digit:has(.price-drum-clip)>span:first-child{visibility:hidden}
.price-drum-clip{position:absolute;inset:0;overflow:hidden;mask-image:linear-gradient(transparent,#000 12% 88%,transparent)}
.price-drum,.price-drum>span{display:block;text-align:center}
.price-detail{position:relative;overflow:hidden}
.price-detail>span{display:block}
.price-detail-out{position:absolute;inset:0;pointer-events:none}
.spring-menu-trigger[aria-expanded=true] .spring-chevron{transform:rotate(180deg)}
.spring-menu-trigger[aria-expanded=false] .spring-chevron{transform:rotate(0)}
[data-spring-menu="up"],[data-spring-menu="sheet"]{transform-origin:center bottom}
[data-spring-menu],[data-spring-options]{isolation:isolate}
[data-spring-options]{position:relative}
:is([data-spring-menu],[data-spring-options])>.spring-menu-highlight{position:absolute;top:0;inset-inline:6px;z-index:0;display:block;border-radius:8px;background:#29351f;pointer-events:none}
:is([data-spring-menu],[data-spring-options])>.spring-menu-highlight~:is(button,a,[role=option],[aria-current]){position:relative;z-index:1}
:is([data-spring-menu],[data-spring-options])>.spring-menu-highlight~:is(button,a,[role=option]):is(:hover,:focus,[aria-selected=true],[aria-current=true]){background:transparent!important}
.spring-label-roll{position:relative;display:block;overflow:hidden}
.spring-label-roll>span{display:block}
.spring-label-roll>.spring-label-old{position:absolute;inset:0;pointer-events:none}
[data-spring-segments]{position:relative;isolation:isolate}
.spring-segment-highlight{position:absolute;top:0;left:0;border-radius:var(--spring-segment-radius,var(--btn-radius));background:var(--spring-segment-color,#26321b);pointer-events:none}
[data-spring-segments]>button{position:relative}
[data-spring-segments]:has(>.spring-segment-highlight:not([hidden]))>button{background:transparent!important}
.find-types:has(>.spring-segment-highlight:not([hidden]))>button{border-color:transparent}
.fav-chips{--spring-segment-color:#28321a;--spring-segment-radius:999px}
.season-tabs{--spring-segment-radius:999px;--spring-segment-color:#26321b}
.account-art .art-row .pro-tag{margin:0}
.plan-card .plan-includes{margin:22px 0 0;padding-top:20px;border-top:1px solid var(--line)}
.plan-card .plan-includes+ul{margin-top:10px!important;padding-top:0!important;border-top:0!important}

/* Design system round 4 (2026-11-18): button levels, section spacing, app-colour
   profiles, provider cards, film/series pages and "Add to profile". */
/* Button levels. L1 .btn: the page or sheet action (48px). L2 .btn-sm: actions
   inside a row or card (36px). Text links stay for navigation only. */
.btn-sm,.settings-change,.hh-use,.hh-group-actions .btn,.source-actions .btn,.hh-group-form .btn{width:auto!important;min-height:36px!important;height:36px!important;padding:0 12px!important;gap:6px!important;border-radius:8px!important;font-size:13px!important;font-weight:600!important;flex:none}
.btn-sm .icon,.settings-change .icon,.hh-group-actions .btn .icon,.source-actions .btn .icon{width:15px!important;height:15px!important}
.btn-danger-soft{background:transparent;border:1px solid #5a2622;color:var(--danger)}
.btn-danger-soft:hover{background:var(--danger-bg)}
.hh-add{width:auto!important;min-height:44px!important;padding:0 16px!important;gap:8px!important;font-size:14px!important}
/* Section titles: more space above than below, so a title belongs to what follows. */
.acct .acct-group-label{margin:28px 6px 10px!important}
.acct .acct-group-label:first-child,.acct .hh-add-row+.acct-group-label{margin-top:20px!important}
.household-page [data-household-content]{max-height:none!important;overflow:visible!important;padding:0!important}
.hh-group-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hh-group-actions{display:flex;align-items:center;gap:8px;flex:none}
.hh-group{min-height:56px}
.hh-sheet-text{margin:4px 0 16px;color:var(--muted);font-size:14px;line-height:1.7}
.hh-kids-note{display:flex;align-items:flex-start;gap:8px;margin:0!important;padding:12px 14px!important;border-top:1px solid var(--line);font-size:13px;line-height:1.7;color:var(--muted)}
.hh-kids-note .icon{width:16px;height:16px;flex:none;margin-top:3px;color:var(--softgreen)}
@media(max-width:350px){.hh-group-actions .btn span{display:none}.hh-group-actions .btn{width:36px!important;padding:0!important;justify-content:center}}
/* Profile colours from the app palette (kept in this browser). */
.profile-avatar.tone-0{background:#28321a;border-color:#4d5f26;color:#cef36c}
.profile-avatar.tone-1{background:#25291a;border-color:#5b6634;color:#d3df8e}
.profile-avatar.tone-2{background:#3a2410;border-color:#74461a;color:#f5a256}
.profile-avatar.tone-3{background:#2a2c25;border-color:#5a5d4e;color:#f7fde8}
.profile-avatar.tone-4{background:#cef36c;border-color:#cef36c;color:#171e19}
.hh-tones .tone-swatch.tone-0{background:#4c5e26}
.hh-tones .tone-swatch.tone-1{background:#a6b95d}
.hh-tones .tone-swatch.tone-2{background:#f58b2b}
.hh-tones .tone-swatch.tone-3{background:#ebfac6}
.hh-tones .tone-swatch.tone-4{background:#cef36c}
.tone-swatch[aria-pressed=true]{border-color:var(--fg);box-shadow:0 0 0 3px var(--sheet-bg) inset}
/* Provider cards. */
.acct .account-source-card.acct-sources:has(>.saved-sources){padding:0;border:0;background:none;box-shadow:none}
.acct .saved-sources{display:flex;flex-direction:column;gap:12px}
.acct .saved-sources .source-card{padding:16px!important;border:1px solid var(--line)!important;border-radius:14px;background:var(--surface)}
.acct .saved-sources .source-card+.source-card{border-top:1px solid var(--line)!important}
.acct .source-card .source-row{display:grid!important;grid-template-columns:40px minmax(0,1fr) 36px!important;gap:12px!important;align-items:center!important;padding:0!important;width:100%}
.acct .source-card .source-avatar{display:grid!important;place-items:center;width:40px!important;height:40px!important;border-radius:10px;background:#202a16;color:var(--green)}
.acct .source-card .source-avatar .icon{width:20px;height:20px}
.acct .source-card .source-meta strong{display:block;font-size:16px!important;font-weight:600;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acct .source-card .source-meta small{display:block;margin-top:2px;font-size:13px!important;line-height:1.5;color:var(--acct-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acct .source-card .source-menu{align-self:start}
.acct .source-card .source-menu>summary{display:grid;place-items:center;width:36px!important;height:36px!important;min-height:36px!important;padding:0;border:1px solid var(--line);border-radius:9px;background:transparent}
.acct .source-card .source-summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:12px 0 0;padding-inline-start:52px;font-size:13px;line-height:1.6;color:var(--acct-secondary)}
.acct .source-card .source-actions{display:flex!important;align-items:center;gap:8px!important;margin:14px 0 0!important;padding:14px 0 0!important;border-top:1px solid var(--line)!important}
.acct .source-card .source-actions .source-open{background:var(--green);border-color:var(--green);color:#151811}
.acct .source-card .source-details-toggle[aria-expanded=true] .icon{transform:rotate(180deg)}
@media(max-width:899px){.acct .source-card .source-actions .btn{flex:1 1 0}.acct .source-card .source-summary{padding-inline-start:0}}
.source-menu-panel{min-width:200px!important;padding:6px!important;border:1px solid var(--sheet-line)!important;border-radius:12px!important;background:var(--sheet-bg)!important;box-shadow:0 14px 34px #000a!important}
.source-menu-panel button{display:flex!important;align-items:center;gap:10px;min-height:44px;padding:0 12px!important;border-radius:8px!important;font-size:14px!important;line-height:1.4!important;color:var(--fg)!important}
.source-menu-panel button .icon{width:18px;height:18px;flex:none;color:var(--muted)}
.source-menu-panel button:hover,.source-menu-panel button:focus-visible{background:#1f2618!important}
.source-menu-panel .source-delete,.source-menu-panel .source-delete .icon{color:var(--danger)!important}
.source-menu-panel .source-delete{margin-top:4px;border-top:1px solid var(--line)!important;border-radius:0 0 8px 8px!important}
/* Film and series pages. */
.watch-page .library-shell.is-title{grid-template-columns:var(--section-rail-width) minmax(0,1fr)}
.watch-page .library-shell.is-title>.library-workspace{display:flex;flex-direction:column;grid-column:2/-1;grid-row:1/-1;padding-inline:28px}
.watch-page .library-shell.is-title>.library-categories,.is-title .library-workspace>:not(.title-view){display:none!important}
.title-view{display:flex;flex-direction:column;flex:1;min-height:0;padding:12px 0 32px}
.title-view[hidden]{display:none!important}
.title-bar{display:flex;align-items:center;gap:10px;min-height:48px;margin-bottom:8px}
.title-back{width:40px;height:40px}
.title-back-icon{transform:scaleX(-1)}
[dir=rtl] .title-back-icon{transform:none}
.title-bar-label{font-size:14px;color:var(--muted)}
.title-player[hidden]{display:none!important}
.title-player{margin-bottom:16px}
.title-player .watch-stage{width:100%;height:auto!important;flex:none!important;aspect-ratio:16/9;max-height:62dvh;min-height:0!important}
.title-player .video-display{flex:1;min-height:0!important;aspect-ratio:auto!important;height:100%}
.title-player .watch-stage.manual-rotation{position:fixed;inset:0;z-index:120;width:100vw;height:100dvh!important;max-height:none;aspect-ratio:auto;background:#000;display:flex;flex-direction:column}
.title-hero{display:grid;grid-template-columns:220px minmax(0,1fr);grid-template-areas:"poster name" "poster meta" "poster watched" "poster actions" "poster tools" "poster .";grid-template-rows:auto auto auto auto auto 1fr;column-gap:28px;align-items:start}
.title-info,.title-controls{display:contents}
.title-poster{grid-area:poster;position:relative;display:grid;place-items:center;aspect-ratio:2/3;border:1px solid var(--line);border-radius:14px;background:var(--surface2);overflow:hidden;color:var(--muted)}
.title-poster>.icon{width:40px;height:40px}
.title-poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.title-poster img.artwork-failed{display:none}
.title-hero h1{grid-area:name;margin:0;font-size:28px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.title-meta{grid-area:meta;display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0;font-size:13px;color:var(--muted)}
.title-meta span+span::before{content:"·";margin-inline-end:6px}
.title-watched{grid-area:watched;max-width:420px;margin-top:14px}
.title-watched small{display:block;margin-top:6px;font-size:13px;color:var(--muted)}
.title-progress{display:block;height:4px;border-radius:2px;background:#2a2f25;overflow:hidden}
.title-progress>span{display:block;height:100%;border-radius:inherit;background:var(--green)}
.title-progress.is-episode{margin-top:6px;max-width:220px}
.title-actions{grid-area:actions;display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.title-actions .btn{width:auto;min-width:180px;min-height:48px}
.title-actions .btn .icon{width:18px;height:18px}
.title-tools{grid-area:tools;display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.title-tool{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--fg);font:inherit;font-size:14px;cursor:pointer}
.title-tool .icon{width:17px;height:17px}
.title-tool.is-on{border-color:#4d5f26;color:var(--green)}
.title-tool.is-on .icon{fill:currentColor}
.title-tool:hover{background:#1a2014}
.title-episodes{margin-top:28px}
.title-episodes>h2{margin:0 0 12px;font-size:18px;font-weight:600}
.title-episodes .season-tabs{margin-bottom:12px}
.title-episodes .series-episode-list{max-height:none;overflow:visible}
.title-status{color:var(--muted)}
.title-hero.is-playing{grid-template-columns:minmax(0,1fr);grid-template-areas:"name" "meta" "watched" "actions" "tools";grid-template-rows:none}
.title-hero.is-playing .title-poster{display:none}
@media(max-width:899px),(pointer:coarse) and (max-height:500px){
  .watch-page .library-shell.is-title>.library-workspace{padding-inline:16px}
  .title-view{padding-top:max(4px,env(safe-area-inset-top))}
  .title-player{margin-inline:-16px;margin-bottom:14px}
  .title-player .watch-stage{border-radius:0;border-inline:0}
  .title-hero{grid-template-columns:108px minmax(0,1fr);grid-template-areas:"poster name" "poster meta" "poster watched" "actions actions" "tools tools";grid-template-rows:auto auto 1fr auto auto;column-gap:14px}
  .title-poster{border-radius:10px}
  .title-hero h1{font-size:21px}
  .title-actions{flex-direction:column;margin-top:16px}
  .title-actions .btn{width:100%;min-width:0}
  .title-tools{margin-top:12px}
  .title-tool{flex:1 1 0;justify-content:center}
  .title-episodes{margin-top:24px}
}
/* "Add to profile" sheet. */
.target-hint{margin:2px 0 14px;font-size:13px;line-height:1.7;color:var(--muted)}
.target-list{display:flex;flex-direction:column;gap:8px}
.target-row{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--fg);font:inherit;text-align:start;cursor:pointer}
.target-row:disabled{opacity:.6;cursor:default}
.target-row .profile-avatar{width:40px;height:40px;flex:none}
.target-label{flex:1;min-width:0;display:flex;flex-direction:column}
.target-label strong{font-size:15px;font-weight:600}
.target-label small{font-size:12px;color:var(--muted)}
.target-check{display:grid;place-items:center;width:30px;height:30px;flex:none;border:1px solid var(--line);border-radius:50%;color:var(--muted)}
.target-check .icon{width:16px;height:16px}
.target-row.is-on{border-color:#4d5f26}
.target-row.is-on .target-check{background:var(--green);border-color:var(--green);color:#151811}
.target-error{margin-block-start:var(--feedback-gap)}
.target-pin{margin-top:14px}
.playback-item-target .icon{width:18px;height:18px}

/* Design system round 5 (2026-11-18): toasts, player fit, favourites with groups,
   selection bar, sidebar toggles, search focus, features actions. */
/* Toasts: routine feedback fades out; warnings and errors stay until closed. */
.toast-host{position:fixed;inset-inline:0;top:calc(var(--header-height,70px) + 12px);z-index:300;display:flex;flex-direction:column;align-items:center;gap:8px;padding-inline:16px;pointer-events:none}
.toast{display:inline-flex;align-items:center;gap:10px;max-width:min(520px,100%);min-height:48px;padding:10px 14px;border-radius:12px;border:1px solid;font-size:14px;line-height:1.6;box-shadow:0 14px 34px #0009;pointer-events:auto;animation:toast-in .18s ease-out}

.toast-icon{width:20px;height:20px;flex:none}

.toast-close{display:grid;place-items:center;width:32px;height:32px;margin-inline-start:4px;flex:none;border:0;border-radius:8px;background:transparent;color:var(--fg);cursor:pointer}
.toast-close:hover{background:#ffffff14}
.toast-action{flex:none;margin-inline-start:6px;padding:5px 12px;border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer}
.toast-action:hover{background:#ffffff14}
.toast-action:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.toast-close .icon{width:16px;height:16px}
.toast.is-leaving{opacity:0;transform:translateY(-6px);transition:opacity .18s,transform .18s}
@keyframes toast-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.watch-page .toast-host{top:max(12px,env(safe-area-inset-top))}
.settings-feedback:empty{display:none}
/* Player: the whole video and its controls stay visible, no extra frame. */
.player-status.sr-only{position:absolute!important}
.title-player{margin-inline:0!important}
.title-player .watch-stage{border:0!important;border-radius:12px!important;background:#000;overflow:hidden}
.title-player .real-video-display{background:#000;border-radius:0}
@media(min-width:900px) and (not ((pointer:coarse) and (max-height:500px))){
  .title-view>[data-title-bar],.title-content{width:min(100%,72rem);margin-inline:auto}
  .title-hero{grid-template-areas:"poster name" "poster meta" "poster watched" "poster controls" "poster .";grid-template-rows:auto auto auto auto 1fr}
  .title-hero.is-playing{grid-template-areas:"name" "meta" "watched" "controls"}
  .title-controls{grid-area:controls;display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px}
  .title-controls :is(.title-actions,.title-tools){margin:0}
  .title-controls .title-tool{min-height:var(--btn-h)}
  .title-controls .title-actions .btn{min-width:0}
  .is-series-overview .title-controls{flex-direction:column;align-items:stretch;gap:16px}
  .is-series-overview .title-actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
  .is-series-overview .title-actions .btn{width:100%;padding-inline:10px}
  .is-series-overview .title-actions .btn>span{min-width:0}
  .title-episodes{max-inline-size:52rem}
  .title-episodes .series-episode{padding-inline:14px}
}
/* Wide series pages share one scroll with a pinned overview next to the episode list. */
@media(min-width:1120px){
  .title-view:has(.is-series-overview)>[data-title-bar],.title-content.is-series-overview{
    width:min(100%,96rem);margin-inline:0 auto
  }
  .title-content.is-series-overview{
    display:grid;grid-template-columns:clamp(23rem,28vw,28rem) minmax(0,1fr);
    gap:clamp(1.5rem,3vw,3.5rem);align-items:start
  }
  .is-series-overview .title-hero{
    display:flex;flex-direction:column;align-items:stretch;
    padding:clamp(16px,2vw,24px);border:1px solid var(--line);border-radius:14px;background:var(--surface)
  }
  .is-series-overview .title-poster{width:clamp(8rem,21svh,13.5rem);margin-block-end:18px}
  .is-series-overview .title-info{display:block}
  .is-series-overview .title-episodes{margin:0;min-width:0;max-inline-size:60rem}
}
@media(min-width:1120px) and (min-height:680px){
  .is-series-overview .title-hero{position:sticky;inset-block-start:calc(var(--watch-header-offset) + 16px)}
}
/* Group filters and selection sit directly above the results, even while the list scrolls. */
[data-favorite-tools]{flex:none;padding-block:4px 12px}
.has-item-rail [data-favorite-tools]{padding:10px 12px}
.fav-head{display:grid;gap:8px;min-width:0}
.fav-filters,.fav-chips{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.fav-exit{display:none}
.fav-filters>.fav-select{margin-inline-start:6px}
.fav-chip{display:inline-flex;align-items:center;gap:6px;min-height:36px;min-width:0;max-width:100%;padding:0 9px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--fg);font:inherit;font-size:13px;white-space:nowrap;text-decoration:none;cursor:pointer}
.fav-chip>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.fav-chip small{color:var(--muted);font-size:12px}
.fav-chip[aria-pressed=true]{background:#28321a;border-color:#4d5f26;color:var(--green)}
.fav-chip[aria-pressed=true] small{color:var(--softgreen)}
.fav-chip-add{justify-content:center;min-width:36px;color:var(--muted);border-style:dashed}
.fav-chip-add .icon{width:15px;height:15px;flex:none}
.fav-select{flex:none}
.select-bar{display:grid;gap:8px;padding-top:8px;border-top:1px solid var(--line)}
.select-bar-head{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.select-bar-head strong{font-size:14px;font-weight:600}
.select-bar-head .icon-btn{width:36px;height:36px;flex:none;border:1px solid var(--line)}
.select-bar-head [data-selection=all]{margin-inline-start:auto}
.select-bar-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,6rem),1fr));gap:6px}
.select-bar-actions .btn{min-width:0;height:auto!important;padding:6px 8px!important}
.select-bar-actions .btn>span{min-width:0;overflow-wrap:anywhere}
.select-bar-actions .btn:disabled{opacity:.45}
.favorite-selection{display:none!important}
@media(max-width:899px),(pointer:coarse) and (max-height:500px){
  body.is-selecting .watch-bottom-nav{display:none!important}
  .watch-page .is-favorites .library-toolbar .filter-chip:not([hidden]){display:none}
  .fav-filters{display:grid;grid-template-columns:auto auto minmax(0,1fr)}
  .fav-filters .fav-exit{display:inline-flex;grid-area:1/1;min-height:40px;max-width:none}
  .fav-filters>.fav-select{grid-area:1/2;margin-inline-start:2px}
  .fav-filters .fav-chips{grid-column:1/-1;gap:4px}
  .fav-filters:has(.fav-exit) .fav-chips{grid-row:2}
  .fav-chip{min-height:40px;gap:4px;padding-inline:7px}
  /* Channels: the stage is exactly 16:9, so there are no bars above or below the video. */
  body.watch-page .library-playback{height:auto!important;flex:none!important}
  body.watch-page .library-playback .watch-stage{height:auto!important;aspect-ratio:16/9;flex:none!important;min-height:0!important;border:0!important;border-radius:12px;background:#000}
  body.watch-page .library-playback .real-video-display{height:100%;min-height:0!important;aspect-ratio:auto!important}
}
/* Landscape playback expands the same video, with its native controls and fit. */
@media(orientation:landscape) and (max-height:600px) and (hover:none){
  html:has(.watch-page [data-playing-kind]:not([data-playing-kind=""])){overflow:hidden}
  .watch-page:has([data-playing-kind]:not([data-playing-kind=""])) :is(.header,.library-nav,.library-categories,.library-toolbar,.library-items,.watch-bottom-nav,.channel-playing-info,.playing-episodes,.title-bar,.title-content){visibility:hidden}
  .watch-page [data-playing-kind]:not([data-playing-kind=""]) #watch-stage{
    position:fixed;inset:0;z-index:100;width:100%;height:100dvh!important;max-height:none;
    aspect-ratio:auto!important;border:0;border-radius:0!important;background:#000;
    padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)
  }
  .watch-page #watch-stage .real-video-display{width:100%;height:100%;border-radius:0}
}
/* Category sheet: search stays on top; results scroll above the keyboard. */
.category-popup.is-sheet:not([hidden]){display:flex;flex-direction:column}
.category-popup.is-sheet .category-options{flex:1;min-height:0;overflow-y:auto}
.category-popup.is-sheet .category-search{flex:none}
/* Sidebar: both panel toggles share one look; the provider menu sits in the same box. */
.panel-toggle,.library-toolbar .rail-toggle.panel-toggle{place-items:center;width:40px!important;height:40px!important;flex:none;padding:0;border:1px solid var(--line)!important;border-radius:var(--icon-btn-radius)!important;background:var(--surface)!important;color:var(--muted)!important}
.panel-toggle .icon{width:20px;height:20px;transform:none!important}
.panel-toggle:hover{color:var(--fg)!important}
.nav-toggle.panel-toggle{display:grid}
.library-nav-heading .source-picker>summary{min-height:40px!important;padding:0 12px!important;border:1px solid var(--line);border-radius:var(--icon-btn-radius);background:var(--surface);font-size:15px!important}
.library-nav-heading .source-picker[open]>summary{border-color:#4d5f26}
/* Search fields: focus shows on the field itself, no outer ring. */
.search-field input:focus-visible,.category-rail-search input:focus-visible,.category-search input:focus-visible,.find-field input:focus-visible{outline:none}
.search-field:focus-within,.category-search:focus-within,.find-field:focus-within{border-color:#4d5f26;box-shadow:0 0 0 3px #cef36c1a}
.library-shell .category-rail-search{margin:8px 10px;height:40px;min-height:40px;max-height:40px;flex-basis:40px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.library-shell .category-rail-search:focus-within{border-color:#4d5f26;box-shadow:0 0 0 3px #cef36c1a}
/* Features page actions match the home page buttons. */
.all-features-actions .btn{width:235px;max-width:100%;min-height:var(--btn-h-lg)!important;padding:0 24px!important;font-size:15px!important}
@media(max-width:899px){.all-features-actions{flex-direction:row;gap:10px}.all-features-actions .btn{width:50%;max-width:210px;font-size:13px!important;padding:0 10px!important}}
/* Two-step verification and administration gate (account security). */
.two-step-status{display:flex;margin:0 0 10px}.two-step-status .acct-status{margin-inline-start:0}
.two-step-list .acct-method-name>span{display:flex;flex-direction:column;min-width:0}.two-step-list small{font-size:12px;color:var(--muted);line-height:1.4}
.two-step-qr{display:inline-grid;place-items:center;padding:12px;background:#fff;border-radius:12px;margin:0 0 12px}.two-step-qr img{display:block;width:184px;height:184px}
.two-step-key{margin:0 0 14px}.two-step-key code{display:block;margin-top:4px;padding:10px 12px;background:#080c06;border:1px solid #35402c;border-radius:8px;font-size:14px;letter-spacing:.06em;word-break:break-all;color:var(--fg);user-select:all}
.two-step-code{letter-spacing:.3em;font-variant-numeric:tabular-nums}
.two-step-subtitle{margin:0 0 8px;font-size:15px}
.two-step-recovery{margin-top:14px}.two-step-recovery .auth-hint{margin-top:4px}
.admin-facts{margin-inline-start:0!important;margin-bottom:14px}.admin-facts .acct-status{margin-inline-start:auto}

/* Content administration */
.cms{display:grid;gap:2px}
.cms .cms-facts,.cms .cms-releases,.cms .cms-check-images{margin-inline-start:0!important}
.cms .cms-facts .acct-status,.cms .cms-check-images .acct-status{margin-inline-start:auto}
.cms .acct-method-name>span{display:flex;flex-direction:column;gap:2px;min-width:0}
.cms .acct-method-name small{color:var(--acct-secondary,#a9b0a0);font-size:12px;line-height:1.6}
.cms .cms-env{font-weight:600}.cms .cms-env-test{color:var(--green)}.cms .cms-env-production{color:#f2b36b}
.cms .cms-actions{flex-wrap:wrap;gap:8px}
.cms .cms-row-actions{display:flex;flex-wrap:wrap;gap:8px}
.cms .cms-release{flex-wrap:wrap!important;padding:8px 0!important}
.cms .cms-problems{margin:8px 0 0;padding-inline-start:18px;font-size:13px;line-height:1.8}
.cms .cms-confirm{margin-top:12px}
.cms .cms-images{list-style:none;padding:0;margin:10px 0 0;display:grid}
.cms .cms-image{display:grid;grid-template-columns:160px minmax(0,1fr);gap:16px;align-items:start;padding:14px 0;border-top:1px solid #20241d}
.cms .cms-image:first-child{border-top:0;padding-top:4px}
.cms .cms-image-media{display:grid;justify-items:center;gap:6px}
.cms .cms-thumb{width:160px;aspect-ratio:16/10;border-radius:8px;overflow:hidden;background:#0b0e09;border:1px solid #ffffff14;display:grid;place-items:center}
.cms .cms-thumb img{width:100%;height:100%;object-fit:contain}
.cms .cms-thumb-empty .icon{width:22px;height:22px;color:#7e8676}
.cms .cms-image-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-bottom:4px}
.cms .cms-image-head .acct-status{margin-inline-start:auto}
.cms .cms-alt{margin-top:4px}
.cms .cms-file{position:relative;margin-top:12px;display:inline-flex;align-items:center;cursor:pointer;overflow:hidden}
.cms .cms-file input{position:absolute;inset:0;opacity:0;cursor:pointer}
.cms .cms-file:focus-within{outline:2px solid var(--green);outline-offset:2px}
.cms .cms-icon-file{margin-top:0;width:40px;min-height:40px;padding:0;justify-content:center}
.cms .cms-icon-file .icon{width:18px;height:18px}
.cms .cms-image-size{color:var(--muted);font-size:12px}
@media(max-width:600px){.cms .cms-image{grid-template-columns:minmax(0,1fr)}.cms .cms-thumb{width:100%;max-width:320px}}
/* Draft preview banner (administrators) and hidden prices when the current ones are unknown */
#content-banner{position:sticky;top:0;z-index:60}
#content-banner[hidden]{display:none}
.preview-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px max(16px,calc((100% - 1180px)/2));border-bottom:1px solid;font-size:13px;line-height:1.7}
.preview-banner p{display:flex;align-items:flex-start;gap:8px;margin:0}
.preview-banner .icon{width:17px;height:17px;flex-shrink:0;margin-top:3px}
.preview-banner .btn{flex-shrink:0}
@media(max-width:600px){.preview-banner{flex-wrap:wrap;font-size:12px}.preview-banner .btn{width:100%}}
.price-unavailable{display:block;font-size:14px;line-height:1.8;font-weight:500;letter-spacing:0}

/* Content administration: texts, translation files and merges */
.cms .cms-text-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:10px;margin:8px 0}
.cms .cms-texts,.cms .cms-diff-list,.cms .cms-conflicts{list-style:none;padding:0;margin:8px 0 0;display:grid}
.cms .cms-text{padding:12px 0;border-top:1px solid #20241d}
.cms .cms-text:first-child{border-top:0}
.cms .cms-text-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:12px;color:var(--acct-secondary,#a9b0a0)}
.cms .cms-text-head code{font-size:11px;opacity:.8;overflow-wrap:anywhere}
.cms .cms-text-source{margin:6px 0;font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.cms .cms-badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.cms .cms-badge{font-size:11px;padding:2px 8px;border-radius:20px;border:1px solid #ffffff1f;color:#c9cfbf}
.cms .cms-badge.cms-ok{border-color:#465a29;color:var(--green)}
.cms .cms-badge.cms-missing{border-color:#985a49;color:#ffb8a6}
.cms .cms-badge.cms-outdated{border-color:#6b5a22;color:#e8c27a}
.cms .cms-badge.cms-edited{border-color:#3d5a80;color:#a9c8f0}
.cms .cms-text-editor textarea{width:100%;resize:vertical;min-height:44px;font:inherit}
.cms .cms-plural{border:1px solid #ffffff14;border-radius:8px;padding:8px 12px;margin:8px 0}
.cms .cms-plural legend{font-size:12px;padding:0 6px}
.cms .cms-subtitle{font-size:13px;margin:14px 0 4px}
.cms .cms-diff-list li{padding:8px 0;border-top:1px solid #20241d;display:grid;gap:4px;font-size:13px}
.cms .cms-diff{display:grid;gap:2px}
.cms .cms-diff del{color:#ffb8a6;text-decoration:line-through;opacity:.85}
.cms .cms-diff ins{color:#bfe39a;text-decoration:none}
.cms .cms-choice{display:flex;align-items:flex-start;gap:8px;margin:6px 0;font-size:13px;line-height:1.7;cursor:pointer}
.cms .cms-choice input{margin-top:5px;flex-shrink:0}
.cms .cms-merge{display:block}
.cms .cms-conflict{padding:8px 0;border-top:1px solid #ffffff1a}
.cms-highlight{outline:2px solid #e8c27a;outline-offset:4px;border-radius:4px;background:#e8c27a1f}
@media(max-width:600px){.cms .cms-text-controls{grid-template-columns:minmax(0,1fr)}}

/* Content administration: languages */
.cms .cms-languages li{flex-wrap:wrap!important;padding:8px 0!important}
.cms .cms-language .cms-badges{margin:0}
.cms .cms-language-add{margin-top:12px}

/* Standalone site administration. */
.admin-dashboard-head{margin-bottom:20px}
.admin-dashboard-head .acct-back{display:inline-flex;align-items:center;gap:4px;color:var(--green);min-height:44px}
.admin-dashboard-head h1{margin:0;font-size:clamp(1.65rem,3vw,2.35rem)}
.admin-dashboard [data-admin-panel]:has(.admin-access-summary){padding-block:9px}
.admin-access-summary,.admin-access-summary .admin-facts{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px}
.admin-access-summary .admin-facts.acct-method-list{margin:0!important}
.admin-access-summary .admin-facts.acct-method-list li{min-height:0;padding:0;border:0;gap:7px}
.admin-access-summary .admin-facts .acct-method-name>.icon{width:15px;height:15px}
.admin-access-summary p{margin:0;display:flex;align-items:center;gap:7px;font-size:13px}
.admin-access-summary p .icon{width:16px;height:16px;flex:none}
.admin-dashboard-layout{display:grid;grid-template-columns:minmax(160px,206px) minmax(0,1fr);gap:24px;align-items:start;margin-top:16px}
.admin-dashboard-nav{position:sticky;top:100px;display:grid;gap:4px;padding:8px;border:1px solid var(--line);border-radius:16px;background:#11130f}
.admin-dashboard-nav button{display:flex;align-items:center;gap:10px;min-width:0;min-height:44px;padding:8px 10px;border:1px solid transparent;border-radius:9px;background:none;color:var(--acct-text);font:inherit;font-size:14px;text-align:start;cursor:pointer}
.admin-dashboard-nav button .icon{width:17px;height:17px;flex:none;color:var(--acct-secondary)}
.admin-dashboard-nav button:hover{background:#1b2017}
.admin-dashboard-nav button[aria-current]{background:#222b17;border-color:#394a26;color:var(--green)}
.admin-dashboard-nav button[aria-current] .icon{color:inherit}
.admin-dashboard-nav button:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.admin-dashboard-panels{min-width:0}
.admin-dashboard-panels>[data-cms-section]{scroll-margin-block-start:100px;outline-offset:3px}
.admin-dashboard-panels>[data-cms-section][hidden]{display:none}
.admin-dashboard-panels .cms-group>.acct-group-label{margin:0 0 12px;color:var(--acct-text);font-size:clamp(1.15rem,2vw,1.4rem)}
.cms-save-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}


.cms-save-bar .form-actions{margin:0;flex-wrap:wrap}





.cms-adjustments ul{margin:4px 0;padding-inline-start:22px}
.cms-adjustments code{unicode-bidi:isolate}
.admin-dashboard-panels>.cms-confirm,.admin-dashboard-panels>.cms-merge{margin:0 0 12px}
.cms .cms-text-controls>.auth-field{margin-block:0}
.cms-plan-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;margin-block:16px}
.cms-plan-fields .auth-field{margin:0}
.cms-plan-fields .auth-message{margin-block:6px 0}
.cms-plan-fields .cms-picker{align-self:start}
.cms .cms-plan-preview{margin-block-start:16px}
.cms-page-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-block-end:16px}
.cms-page-tabs .btn[aria-current]{border-color:var(--green);color:var(--green)}
.cms-page-picker{max-width:28rem;margin-block:14px}
/* One editing language for the administration (texts, images, pages, plans, translation files). */
.cms-language-bar{max-width:28rem;margin-block:0 16px}
.cms .cms-text-translation{margin:0 0 4px;font-size:14px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}
.cms-language-journey{display:grid;gap:8px;margin-block-end:16px;padding:14px 16px;border:1px solid var(--line);border-radius:14px}
.cms-language-journey .cms-next-step{margin:0}
.cms-page-fields,.cms-comparison-statuses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-block:14px}
.cms-page-fields .auth-field{margin:0}
.cms-page-fields .auth-message{margin-block:6px 0}
.cms-page-item{border-block-start:1px solid var(--line);padding-block:12px}
.cms .cms-texts.cms-page-item{margin:0;padding-block:8px}
.cms-field-caption{color:var(--acct-secondary);font-size:.8rem}
.cms .cms-page-preview{margin-block-start:16px}
.cms-layout-list{list-style:none;padding:0;margin:12px 0}
.cms-layout-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-block-start:1px solid var(--line);padding-block:10px}
.cms-layout-row .btn[aria-pressed=true]{color:var(--green)}
.cms-layout-row .btn[aria-pressed=false]{color:var(--acct-secondary)}
.cms-layout-row .btn .icon{width:16px;height:16px}
.cms-seo-snippet{display:grid;gap:5px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;margin-block:12px;overflow-wrap:anywhere}
.cms-seo-snippet :is(bdi,small){color:var(--acct-secondary);font-size:.8rem}
.cms-seo-snippet p{margin:0}
.comparison-prices td{overflow-wrap:anywhere}
.admin-accounts{display:grid;gap:16px;min-width:0}
.admin-account-intro h3,.admin-account-heading h3{margin:0 0 5px;font-size:clamp(1.25rem,2vw,1.65rem);letter-spacing:-.015em}
.admin-account-intro p,.admin-account-card p{margin:0}
.admin-account-card{min-width:0;padding:clamp(14px,2.3vw,22px);border:1px solid var(--line);border-radius:14px;background:#111510}
.admin-account-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}
.admin-account-search .auth-field,.admin-account-confirm .auth-field{margin:0;min-width:0}
.admin-account-search button{min-height:44px}
.admin-account-feedback:empty{display:none}
.admin-account-feedback .cms-feedback{margin:0}
.admin-account-result,.admin-account-grid{display:grid;gap:14px;min-width:0}
.admin-account-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.admin-account-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;overflow-wrap:anywhere}
.admin-account-heading bdi,.admin-account-device-list small{color:var(--acct-secondary);font-size:.85rem}
.admin-account-avatar{display:grid;place-items:center;width:42px;height:42px;flex:none;border:1px solid var(--line);border-radius:12px;color:var(--green);background:#1b2413}
.admin-account-badge{margin-inline-start:auto;font-size:.82rem;line-height:1.35}
.admin-account-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 0}
.admin-account-facts div{padding-block-start:9px;border-block-start:1px solid var(--line);min-width:0}
.admin-account-facts dt{font-size:.8rem;color:var(--acct-secondary)}
.admin-account-facts dd{margin:4px 0 0;font-weight:600;overflow-wrap:anywhere}
.admin-account-card h4{display:flex;align-items:center;gap:8px;margin:0 0 11px;font-size:1rem}
.admin-account-card h4 .icon{width:17px;height:17px;color:var(--acct-secondary)}
.admin-account-actions{margin-block-start:16px}
.admin-account-device-list{display:grid;gap:10px;max-height:18rem;overflow:auto;padding:0;margin:0;list-style:none}
.admin-account-device-list li{display:flex;align-items:start;gap:9px;padding:10px 0;border-block-start:1px solid var(--line);overflow-wrap:anywhere}
.admin-account-device-list .icon{width:16px;height:16px;flex:none;color:var(--acct-secondary)}
.admin-account-device-list small{display:block;margin-block-start:3px}
.admin-account-confirm-body,.admin-account-roles{min-inline-size:0;margin:0;padding:0;border:0}
.admin-account-confirm-body>legend{font-weight:700;font-size:1.05rem;margin-block-end:6px}
.admin-account-confirm-body>p{margin:0 0 10px}
.admin-account-confirm-body>.auth-field{margin-block:12px 5px;max-width:28rem}
.admin-account-roles{display:flex;flex-wrap:wrap;gap:8px;margin-block:12px}
.admin-account-roles .cms-choice{display:flex;gap:8px;align-items:center;padding:8px 12px;border:1px solid var(--line);border-radius:8px}
@media(max-width:600px){.admin-account-search,.admin-account-grid{grid-template-columns:minmax(0,1fr)}.admin-account-badge{margin-inline-start:0}}
@media(max-width:600px){.cms-plan-fields,.cms-page-fields{grid-template-columns:minmax(0,1fr)}}
/* Shared dropdowns in content administration. */
.cms-picker{position:relative;min-width:0;align-self:end}
.cms-picker>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:6px 12px;border:1px solid var(--line);border-radius:10px;background:#181c15;list-style:none;cursor:pointer}
.cms-picker>summary::-webkit-details-marker{display:none}
.cms-picker>summary span{display:grid;min-width:0;gap:2px}
.cms-picker>summary small{font-size:11px;color:var(--acct-secondary)}
.cms-picker>summary strong{font-size:13px;line-height:1.3;overflow-wrap:anywhere}
.cms-picker .icon{width:15px;height:15px;flex:none;color:var(--acct-secondary)}
.cms-picker[open]>summary>.icon{transform:rotate(180deg)}
.cms-picker-options{position:absolute;inset-inline:0;top:calc(100% + 6px);z-index:5;display:grid;gap:3px;max-height:270px;overflow:auto;padding:6px;border:1px solid var(--line);border-radius:12px;background:#151813;box-shadow:0 12px 30px #0007}
.cms-picker-options button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;padding:6px 8px;border:0;border-radius:7px;background:none;color:var(--acct-text);font:inherit;font-size:13px;text-align:start;cursor:pointer}
.cms-picker-options button:hover{background:#22291b}
.cms-picker-options button[aria-current]{background:#25321b;color:var(--green)}
.cms-picker-options button[aria-current] .icon{color:inherit}
.cms-picker :is(summary,button):focus-visible{outline:2px solid var(--green);outline-offset:-2px}
@media(max-width:760px){
  .admin-dashboard-layout{grid-template-columns:minmax(0,1fr);gap:16px}
  .admin-dashboard-nav{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Compact content rows and activity log. */
.cms-text-row{display:grid;align-items:center;gap:8px 14px}
.cms-text-main{min-width:0}
.cms .cms-text-source{margin:0 0 4px;font-size:15px}
.cms-text-row .cms-badges{margin:0}
.cms-text-row .cms-row-actions{align-items:center}
.cms-text-row .cms-row-actions .btn{white-space:normal;text-align:center}
.cms .cms-text.is-open .cms-text-editor{margin-top:12px}
.cms-empty{padding:22px 0;text-align:center;color:var(--acct-secondary)}
.cms-empty p{margin:0 0 10px}
.cms-translation-toolbar{display:grid;gap:10px;margin-top:14px;align-items:center}
.cms-translation-toolbar .cms-row-actions{align-items:center}
.cms .cms-translation-toolbar .cms-file{margin:0}
.cms-picker-empty{display:grid;gap:2px;padding:6px 12px;min-height:48px;border:1px solid var(--line);border-radius:10px;color:var(--acct-secondary);font-size:13px}
.cms-audit-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:start}
.cms-audit-table th,.cms-audit-table td{text-align:start;padding:12px 10px;overflow-wrap:anywhere}
.cms-audit-table th{color:var(--acct-secondary);font-size:12px;font-weight:600}
.cms-audit-table th:first-child{width:36%}
.cms-audit-table th:nth-child(2){width:36%}
.cms-audit-table td{border-top:1px solid #24291e;font-size:13px}
.cms-audit-table td strong{font-weight:600}
.cms-audit-table td time,.cms-audit-target{color:var(--acct-secondary)}
.cms-audit-target{display:block;font-size:11px;margin-top:3px}
@media(min-width:1000px){
  .cms-text-row{grid-template-columns:minmax(0,1fr) minmax(96px,.32fr) minmax(0,max-content)}
  .cms-text-row .cms-row-actions,.cms-translation-toolbar .cms-row-actions{justify-content:flex-end}
  .cms-text.is-open .cms-text-row{grid-template-columns:minmax(0,1fr) minmax(96px,.32fr)}
  .cms-translation-toolbar{grid-template-columns:minmax(0,.75fr) minmax(0,1fr) max-content}
}
@media(min-width:550px) and (max-width:999px){
  .cms-translation-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cms-translation-toolbar .cms-row-actions{grid-column:1/-1}
}
@media(max-width:600px){
  .cms-audit-table,.cms-audit-table tbody{display:block}
  .cms-audit-table thead{position:absolute;inline-size:1px;block-size:1px;overflow:hidden;clip-path:inset(50%)}
  .cms-audit-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;padding:10px 0;border-bottom:1px solid #24291e}
  .cms-audit-table tbody tr:last-child{border-bottom:0}
  .cms-audit-table td{border:0;padding:0}
  .cms-audit-table td:first-child{grid-column:1/-1}
  .cms-audit-table td:nth-child(3){text-align:end}
}

/* Feedback colors describe the event independently of the product accent. */
:root {
  --feedback-gap: 14px;
  --feedback-actions-gap: 10px;
}
:where(.auth-message, .cms-feedback, .feedback-panel, .feedback-inline, .preview-banner, .toast, #toast) {
  --feedback-ink: #c8e4ff;
  --feedback-mark: #8ac7ff;
  --feedback-surface: #132536;
  --feedback-border: #416585;
  --feedback-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E");
}
.is-success {
  --feedback-ink: #c2f3d7;
  --feedback-mark: #75dea6;
  --feedback-surface: #132b20;
  --feedback-border: #3c7457;
  --feedback-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E");
}
.is-warning {
  --feedback-ink: #ffe4aa;
  --feedback-mark: #f7c568;
  --feedback-surface: #2d2313;
  --feedback-border: #84652e;
  --feedback-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.3 4.8-7.7 13A2 2 0 0 0 4.3 21h15.4a2 2 0 0 0 1.7-3.2l-7.7-13a2 2 0 0 0-3.4 0ZM12 9v4m0 4h.01'/%3E%3C/svg%3E");
}
.is-error {
  --feedback-ink: #ffceca;
  --feedback-mark: #ff9690;
  --feedback-surface: #32191c;
  --feedback-border: #935059;
  --feedback-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m9 9 6 6m0-6-6 6'/%3E%3C/svg%3E");
}
:is(.auth-message, .cms-feedback, .feedback-panel, .preview-banner, .toast, #toast) {
  color: var(--feedback-ink);
  border-color: var(--feedback-border);
  background: var(--feedback-surface);
}
:is(.auth-message, .cms-feedback, .feedback-panel) {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 12px 14px;
  padding-inline-start: 44px;
  border: 1px solid var(--feedback-border);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
  text-align: start;
  overflow-wrap: anywhere;
}
:is(.auth-message, .cms-feedback, .feedback-panel, #toast)::before {
  content: '';
  position: absolute;
  inset-block-start: 13px;
  inset-inline-start: 14px;
  width: 19px;
  height: 19px;
  background: var(--feedback-mark);
  -webkit-mask: var(--feedback-symbol) center / contain no-repeat;
  mask: var(--feedback-symbol) center / contain no-repeat;
}
:is(.auth-message, .cms-feedback, .feedback-panel) > :is(p, h3):first-child { margin-block-start: 0; }
:is(.auth-message, .cms-feedback, .feedback-panel) > p { color: inherit; }
:is(.auth-message, .cms-feedback, .feedback-panel) > p:last-child { margin-block-end: 0; }
:is(.auth-message, .cms-feedback, .feedback-panel) + *,
:is(.form-actions, .settings-form-actions, .settings-feedback) + :is(.auth-message, .cms-feedback, .feedback-panel),
[data-form-message]:not(:empty) + :is(fieldset, .auth-submit) {
  margin-block-start: var(--feedback-gap);
}
/* The address on "check your inbox" is plain text, not a second notice. */
.auth-card > p.auth-email {
  margin-block: -8px 24px;
  color: var(--fg);
  font-weight: 600;
  overflow-wrap: anywhere;
}
:is(.auth-message, .cms-feedback, .feedback-panel) .form-actions {
  margin-block-start: var(--feedback-gap);
  gap: var(--feedback-actions-gap);
}
:is(.auth-message, .cms-feedback, .feedback-panel, .settings-card) .form-actions > .btn {
  max-width: 100%;
  white-space: normal;
}
.feedback-inline,
.settings-plan > .plan-status.feedback-inline,
.provider-summary > .feedback-inline,
.admin-access-summary p.feedback-inline { color: var(--feedback-ink); }
.feedback-inline > .icon, .preview-banner .icon { color: var(--feedback-mark); }
.toast-icon {
  background: var(--feedback-mark);
  -webkit-mask: var(--feedback-symbol) center / contain no-repeat;
  mask: var(--feedback-symbol) center / contain no-repeat;
}
.library-scope.feedback-inline:not(.is-warning) { color: var(--muted); }
#toast { padding-inline-start: 44px; text-align: start; }
.toast-text { min-width: 0; overflow-wrap: anywhere; }
.toast-close { color: var(--feedback-ink); }
.preview-banner { gap: var(--feedback-gap); }
.cms-save-bar { column-gap: var(--feedback-gap); }
.cms-save-bar + :is(.cms-confirm, .cms-merge) { margin-block-start: var(--feedback-gap); }
.cms-adjustments > summary { cursor: pointer; }
.cms .form-actions + .auth-message,
.cms .form-actions + .cms-import,
.cms .auth-message + .cms-check-images { margin-block-start: var(--feedback-gap); }
.acct .acct-row > .auth-message { margin-block-start: var(--feedback-gap); }
.device-pairing p.feedback-panel,
.hh-card > .household-note.feedback-panel { color: var(--feedback-ink); }
.device-pairing p.feedback-panel { margin-block: var(--feedback-gap) 0; }
.household-status:empty { display: none; }
.feedback-panel .playback-error-code { color: inherit; }
.media-library .player-list-message.feedback-panel { padding: 12px 14px; padding-inline-start: 44px; }
.settings-plan > .plan-status.feedback-panel { color: var(--feedback-ink); margin-block: var(--feedback-gap); }
.source-delete-confirm > .form-actions { flex-wrap: wrap; }

/* Linked TVs: one list action, with revocation scoped to its device. */
.linked-tv-toolbar{display:flex;justify-content:flex-end;padding-block-end:12px}
.linked-tv-row .settings-row-heading{gap:12px;flex-wrap:wrap}
.linked-tv-row .settings-value{flex:1 1 140px;min-width:0;overflow-wrap:anywhere}
.linked-tv-row .btn,.linked-tv-toolbar .btn{gap:6px;min-height:40px}
.linked-tv-confirm{margin-block:12px 18px;padding:14px;border:1px solid var(--line);border-radius:10px}
.linked-tv-confirm > .form-actions{margin-block-start:12px;display:flex;gap:8px}

/* Account controls and recovery. */
.acct .source-subscription,.acct .source-details-card .source-subscription{padding:clamp(14px,3vw,22px)}
.acct .source-subscription h3{margin-bottom:14px;font-size:15px}
.acct .subscription-grid{grid-template-columns:repeat(auto-fit,minmax(min(128px,100%),1fr));gap:14px}
.source-details-foot .btn{margin:0}
.linked-tv-toolbar{justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.two-step-enrollment{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:14px;counter-reset:enrollment}
.two-step-enrollment li{counter-increment:enrollment;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:18px;min-width:0}
.two-step-enrollment h4{display:flex;align-items:center;gap:8px;margin:0 0 8px}
.two-step-enrollment h4::before{content:counter(enrollment);display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:50%;background:#28321a;color:var(--green);font-size:13px}
.two-step-enrollment .two-step-qr{display:grid;width:fit-content;margin:12px auto}
.two-step-enrollment .two-step-key{margin:0;font-size:13px}
.two-step-recovery .btn{margin-top:8px}
.playback-feedback-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.hh-switch{background:#3a4034}
.hh-switch:checked{background:#cef36c}
.hh-switch::before{background:#f4f5f0}
@media(max-width:700px){.two-step-enrollment{grid-template-columns:1fr}}
.linked-tv-scanner video{display:block;width:min(100%,440px);max-height:50vh;object-fit:cover;border:1px solid var(--line);border-radius:12px;margin-block:12px}
.linked-tv-scanner video[hidden],.linked-tv-scanner button[hidden]{display:none}
.linked-tv-scanner .form-actions{flex-wrap:wrap;gap:8px}
.scan-photo{position:relative;cursor:pointer}
.scan-photo input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.scan-photo:focus-within{outline:2px solid var(--green);outline-offset:2px}
.admin-directory{display:grid;gap:12px;margin-block:12px 18px}
.admin-directory-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}
.admin-directory-totals>div,.admin-directory-list{background:#121610;border:1px solid var(--line);border-radius:12px}
.admin-directory-totals>div{padding:12px;min-width:0}
.admin-directory-totals dt{font-size:13px;color:var(--muted)}
.admin-directory-totals dd{margin:4px 0 0;font-size:24px;font-weight:650}
.admin-directory-list{list-style:none;margin:0;padding:0;overflow:hidden}
.admin-directory-list li+li{border-top:1px solid var(--line)}
.admin-directory-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 15px;background:none;border:0;color:inherit;text-align:start;cursor:pointer}
.admin-directory-row:hover,.admin-directory-row:focus-visible{background:#20281a}
.admin-directory-row strong,.admin-directory-row bdi{display:block;overflow-wrap:anywhere}
.admin-directory-row bdi{font-size:12px;color:var(--muted)}
.admin-directory-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px}
.admin-account-search:has([name=directory-query]){grid-template-columns:1fr}
/* Downloader line: same size and colour as the section description; link and code in white, spaced out. */
.device-note.downloader-note{font-size:15px;line-height:1.7;color:var(--muted);gap:.6rem}
.downloader-link img{width:40px;height:40px}
.downloader-pill{min-height:40px;padding:8px 16px;color:#fff;font-size:15px;letter-spacing:.04em}
.downloader-code{font-size:17px;font-weight:700;letter-spacing:.14em}
.downloader-code bdi{margin-right:-.14em}
@media(max-width:600px){.device-note.downloader-note{font-size:13px}.downloader-pill{font-size:14px}.downloader-code{font-size:16px}}
/* One Downloader line on wide screens; it wraps by itself on narrow ones. */
.device-note.downloader-note{max-width:none}
/* Device card actions use the Downloader pill shape; icons stay. */
.device-card .text-link{min-height:40px;margin-top:12px;padding:8px 16px;box-sizing:border-box;background:#11160fe8;border:1px solid #ffffff25;border-radius:9px;color:var(--green);font-size:13px;line-height:1.2;transition:border-color .18s}
.device-card .text-link:is(:hover,:focus-visible){border-color:var(--green)}
@media(max-width:600px){.device-card .text-link{min-height:36px;padding:7px 12px;font-size:11px}}
/* Desktop pointer only: the download arrow dips once on hover. */
@keyframes device-download-dip{0%,100%{transform:translateY(0)}45%{transform:translateY(2px)}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.device-download:hover .icon path:not(:nth-child(2)){animation:device-download-dip .32s ease-out}}
/* Tighter device cards: the status line sits close under the title. */
.device-card h3+.status{margin-top:-6px}
@media(max-width:600px){.device-card h3+.status{margin-top:-4px}}
/* Compact device cards (owner request 2026-11-27). */
.device-card{padding:20px 20px 22px;gap:10px}
.device-card>:is(.icon,.device-logo){margin:4px 0 8px}
.device-card .text-link{margin-top:6px}
@media(max-width:600px){.device-card{padding:18px 10px;gap:8px}.device-card>:is(.icon,.device-logo){margin:2px 0 6px}}
/* Code and link are text to type on the TV (no links): each stays on one line, code first. */
.downloader-pill{white-space:nowrap;overflow-wrap:normal;user-select:all;cursor:text}
.downloader-pill:hover{border-color:#ffffff25}
.downloader-link{flex-wrap:wrap;justify-content:center;row-gap:8px;max-width:100%}
@media(max-width:600px){.downloader-link{gap:.4rem}.downloader-link img{width:32px;height:32px}.downloader-pill{min-height:36px;padding:6px 10px;font-size:13px;letter-spacing:.02em}.downloader-code{font-size:15px;letter-spacing:.1em}.downloader-code bdi{margin-right:-.1em}}
