:root{color-scheme:dark;--bg:#141815;--surface:#1d231e;--surface2:#272a30;--text:#dbeaff;--muted:#8d97ae;--amber:#b0bcd9;--line:#ffffff12;--green:#acb7d3;--serif:Georgia,'Times New Roman',serif;font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;border:0;background:none;touch-action:manipulation}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--amber);outline-offset:5px}button:disabled{opacity:.45;cursor:wait}[hidden]{display:none!important}.icon{height:24px;width:24px;display:inline-block;vertical-align:middle;flex-shrink:0}button{transition:background .2s,transform .15s,border-color .2s}button:active{transform:scale(.97)}.brand{display:flex;align-items:center;font-size:29px;font-weight:650;letter-spacing:-1.4px;gap:11px}.brand-mark{color:var(--amber);display:grid;place-items:center}.brand-mark .icon{width:33px;height:33px}.brand-tv{font-size:10px;color:#949eb6;letter-spacing:2px;align-self:flex-end;margin:0 0 5px 0}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2.4px;color:var(--amber);display:flex;align-items:center;gap:12px}.tiny-line{height:1px;width:26px;background:var(--amber)}.muted{color:var(--muted)}.icon-button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:#aeb9d6}.icon-button:hover{background:#ffffff09}.icon-button .icon{width:19px;height:19px}.toast{position:fixed;bottom:max(26px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%,15px);background:#afbad7;color:#191d17;box-shadow:0 12px 48px #0007;padding:15px 21px;font-size:13px;line-height:1.5;border-radius:14px;z-index:999;max-width:min(90vw,500px);opacity:0;pointer-events:none;transition:.2s;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}
/* Phone remote */
.remote-body{min-height:100dvh;background:radial-gradient(ellipse at 0 0,#373a4328,transparent 55%),#141815;overscroll-behavior-y:none}.remote-shell{max-width:460px;margin:auto;padding:calc(19px + env(safe-area-inset-top)) 23px calc(12px + env(safe-area-inset-bottom))}.remote-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:22px}.remote-header .brand{font-size:25px;gap:8px}.remote-header .brand-mark .icon{height:27px;width:27px}.remote-label{font-size:8px;font-weight:500;letter-spacing:1.8px;color:#939cb4;margin:7px 0 0 4px}.connection-row{display:flex;align-items:center;gap:12px;justify-content:space-between;border-top:1px solid var(--line);padding-top:16px;font-size:9px;letter-spacing:.6px}.connection-status{display:flex;align-items:center;gap:7px;color:#b7c3e1}.connection-status.offline{color:var(--amber)}.connection-status.offline i{background:var(--amber)}.room-label{font-size:8px;letter-spacing:1.6px;color:#868fa5;margin-left:auto}#sleep-indicator{font-size:9px;color:var(--amber)}.now-playing{display:flex;align-items:center;gap:13px;padding:23px 0 21px}.now-art{width:50px;height:56px;border-radius:12px;background:linear-gradient(135deg,#3f434d,#2a2d34);display:grid;place-items:center;color:var(--amber);flex-shrink:0;border:1px solid #bdc9e814}.now-art .icon{width:25px;height:25px}.now-copy{min-width:0;flex:1}.now-copy>span{color:#939db5;font-size:8px;letter-spacing:1.25px;font-weight:500}.now-copy h1{font-size:17px;line-height:1.45;font-weight:500;letter-spacing:-.45px;margin:6px 0 4px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.now-subtitle{font-size:10px;color:#8891a7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.playing-bars{display:flex;align-items:center;gap:3px;height:25px;color:var(--amber)}.playing-bars i{background:currentColor;width:2px;height:14px;animation:pulse .8s ease-in-out infinite alternate}.playing-bars i:nth-child(2){animation-delay:-.5s;height:22px}.playing-bars i:nth-child(3){animation-delay:-.2s}@keyframes pulse{to{transform:scaleY(.4)}}.remote-apps{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px}.remote-apps button{height:50px;background:#272930;border:1px solid #ffffff0c;border-radius:11px;display:flex;align-items:center;gap:10px;padding:0 13px;font-size:12px;font-weight:500}.remote-apps button.active{border-color:#aab5d165;background:#30333b}.remote-apps button>.icon:last-child,.remote-apps button>span:last-child .icon{width:14px;height:14px;color:#858ea4;margin-left:auto}.remote-apps button>span:last-child{margin-left:auto}.remote-apps button .icon{width:21px;height:21px}.yt-red{color:#adb8d5}.amber{color:var(--amber)}.control-mode{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.segmented{background:#1c221c;border-radius:9px;padding:4px;display:flex;gap:3px}.segmented button{display:flex;align-items:center;gap:7px;padding:9px 12px;font-size:10px;color:#8992a8;border-radius:6px}.segmented .active{background:#363942;color:#d1dfff;box-shadow:0 2px 6px #0001}.segmented .icon{width:14px;height:14px}.control-mode>.icon-button{width:36px;height:36px;border-radius:9px}.touchpad{height:207px;border:1px solid #ffffff12;border-radius:18px;background:radial-gradient(ellipse at 50% 0,#ffffff03,transparent 75%),#1c231d;position:relative;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair}.touchpad.dragging{border-color:#b0bcd960;background-color:#23252b}.touchpad-center{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none;color:#9fa9c3;gap:10px}.touchpad-center>span:not(.touch-cross){font-family:var(--serif);font-size:21px;letter-spacing:-.3px;color:#b1bdda}.touch-cross{font-size:27px;color:#7f879c77;font-weight:200;line-height:1;margin-bottom:6px}.touchpad-center small{font-size:9px;color:#7f879c}.pad-corner{position:absolute;width:12px;height:12px;border-color:#adb8d450;border-style:solid}.tl{top:17px;left:17px;border-width:1px 0 0 1px;border-top-left-radius:3px}.tr{top:17px;right:17px;border-width:1px 1px 0 0;border-top-right-radius:3px}.bl{bottom:17px;left:17px;border-width:0 0 1px 1px;border-bottom-left-radius:3px}.br{bottom:17px;right:17px;border-width:0 1px 1px 0;border-bottom-right-radius:3px}.pad-hint{display:flex;justify-content:space-between;margin-top:10px;font-size:8px;color:#7f879c;letter-spacing:.2px}.pad-hint>span:last-child{font-size:7px;letter-spacing:1px;opacity:.65}.touch-ripple{position:absolute;width:45px;height:45px;background:#b0bcd922;border:1px solid #b0bcd955;border-radius:50%;transform:translate(-50%,-50%) scale(.1);opacity:0;pointer-events:none}.touch-ripple.pop{animation:ripple .4s ease-out}@keyframes ripple{0%{opacity:1;transform:translate(-50%,-50%) scale(.2)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.8)}}.navigation-row{display:flex;justify-content:space-around;gap:14px;padding:21px 0 22px}.navigation-row button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:8px;color:#a2acc7;min-width:72px}.navigation-row .icon{width:21px;height:21px}.navigation-row .home-button{color:var(--amber)}.playback-panel{background:linear-gradient(135deg,#272930,#222429);border:1px solid #ffffff0c;border-radius:16px;padding:16px 20px 13px}.timeline{display:flex;align-items:center;gap:9px;color:#8992a9;font-size:8px;font-variant-numeric:tabular-nums}.progress-track{height:2px;flex:1;background:#c8d5f61c;border-radius:3px;overflow:hidden}.progress-track>div{height:100%;width:0;background:var(--amber);border-radius:inherit}.transport{display:flex;align-items:center;justify-content:center;gap:36px;margin:16px 0}.transport>button:not(.play-button){display:flex;align-items:center;flex-direction:column;gap:3px;color:#b5c1df;min-width:35px}.transport .icon{width:20px;height:20px}.transport small{font-size:8px;color:#8e97ae}.play-button{width:57px;height:57px;display:grid;place-items:center;border-radius:50%;color:#23262b;background:var(--amber);box-shadow:0 3px 20px #a1abc610}.play-button .icon{width:24px;height:24px}.volume-row{display:flex;gap:10px;align-items:center;border-top:1px solid #ffffff09;padding-top:12px}.volume-row button{display:grid;place-items:center;width:28px;height:28px;color:#a3aec9}.volume-row .icon{width:17px;height:17px}.volume-meter{height:3px;background:#b7c4e21f;flex:1;border-radius:2px}.volume-meter>div{height:100%;background:#98a3bc;width:0;transition:width .15s}#volume-value{font-size:9px;color:#8992a9;min-width:28px;text-align:right;font-variant-numeric:tabular-nums}.remote-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.remote-shortcuts button{display:flex;align-items:center;justify-content:center;gap:7px;padding:15px 5px;font-size:10px;color:#aeb9d6;border:1px solid #ffffff0d;border-radius:10px}.remote-shortcuts .icon{height:15px;width:15px}.remote-footer{display:flex;align-items:center;justify-content:center;gap:6px;color:#697082;font-family:var(--serif);font-style:italic;font-size:11px;padding:26px 0 9px}.footer-moon .icon{height:12px;width:12px}.dpad-section{min-height:233px;display:flex;flex-direction:column;align-items:center;justify-content:center}.dpad{display:grid;grid-template-columns:65px 65px 65px;grid-template-rows:58px 58px 58px;gap:3px}.dpad button{background:#272a30;border-radius:12px;color:#b9c5e4;display:grid;place-items:center}.dpad .dpad-up{grid-area:1/2}.dpad .dpad-left{grid-area:2/1}.dpad .dpad-ok{grid-area:2/2;background:var(--amber);color:#1f2126;font-size:13px;font-weight:600;border-radius:50%}.dpad .dpad-right{grid-area:2/3}.dpad .dpad-down{grid-area:3/2}.tab-buttons{display:flex;gap:30px;margin-top:17px}.tab-buttons button{font-size:10px;color:#969fb8}.tab-buttons .icon{height:13px;width:13px}
/* Pairing and bottom sheets */
.pair-screen{text-align:center;padding:25px 0 15px}.pair-illustration{width:110px;height:110px;border-radius:50%;position:relative;background:radial-gradient(ellipse,#aeb9d612,transparent 70%);display:grid;place-items:center;margin:0 auto 39px}.pair-illustration>.icon{width:48px;height:48px;color:var(--amber);transform:rotate(-10deg);stroke-width:1}.connection-orbit{position:absolute;inset:-5px;border:1px solid #b4c0de25;border-radius:50%;transform:rotate(-30deg) scaleX(1.25)}.connection-dot{position:absolute;width:7px;height:7px;right:0;top:18px;background:var(--amber);border-radius:50%;box-shadow:0 0 17px #b0bcd944}.pair-screen>.eyebrow{justify-content:center;font-size:8px;letter-spacing:2px}.pair-screen h1{font-family:var(--serif);font-size:35px;font-weight:400;line-height:1.2;letter-spacing:-1px;margin:18px 0}.pair-screen h1 em{color:var(--amber);font-weight:400}.pair-screen>p{font-size:12px;color:#a0abc5;line-height:1.8;margin-bottom:32px}#pair-form>label{font-size:8px;letter-spacing:1.7px;color:#9fa9c3;display:block;text-align:left;margin-bottom:10px}input,textarea,select{background:#23252b;border:1px solid #ffffff18;border-radius:10px;padding:15px;color:var(--text);width:100%;outline-offset:2px}input::placeholder,textarea::placeholder{color:#6b7283}#pin{text-align:center;letter-spacing:17px;font-size:29px;font-weight:400;padding-left:30px;height:70px;font-variant-numeric:tabular-nums}#pair-form .primary-button{width:100%}.primary-button{background:var(--amber);color:#202227;border-radius:10px;padding:17px 20px;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:13px}.primary-button .icon{width:17px;height:17px}.form-error{font-size:11px!important;color:#a5b0cb!important;line-height:1.5;min-height:19px;margin:10px 0 14px}.pair-wifi{display:flex;align-items:center;justify-content:center;gap:7px;color:#818a9f;font-size:9px;margin-top:28px}.pair-wifi .icon{width:14px;height:14px}.sheet{position:fixed;inset:auto 0 0;border:1px solid #ffffff17;border-bottom:0;background:#1f2126;border-radius:25px 25px 0 0;width:min(100%,460px);max-height:90dvh;overflow:auto;color:var(--text);padding:26px 25px calc(25px + env(safe-area-inset-bottom));margin:0 auto;box-shadow:0 -20px 80px #0005}.sheet::backdrop{background:#060a07b8;backdrop-filter:blur(5px)}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:17px}.sheet-heading h2{font-family:var(--serif);font-size:30px;line-height:1.2;font-weight:400;letter-spacing:-.7px;margin:9px 0 0}.sheet-heading>.icon-button{width:33px;height:33px;flex-shrink:0}.sheet .eyebrow{font-size:7px;letter-spacing:1.4px}.sheet p{font-size:11px;line-height:1.85;color:#9ea8c2;margin:12px 0 21px}.sheet input,.sheet textarea{font-size:14px;margin:0 0 18px;resize:vertical}.sheet .primary-button{width:100%}.sheet .small-note{font-size:10px;color:#81899f;margin:16px 0 0}.sheet .checkbox-row{display:flex;align-items:center;gap:8px;font-size:11px;color:#adb8d5;margin:0 0 23px}.checkbox-row input{width:16px;height:16px;margin:0;accent-color:var(--amber)}.sheet-actions{display:flex;gap:10px}.sheet-actions .primary-button{width:auto;flex:1}.secondary-button{background:#33373f;border-radius:10px;padding:15px 20px;font-size:12px;color:#b8c5e3}.keyboard-extras{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.keyboard-extras button{font-size:10px;color:#a1acc7;padding:8px}.settings-group{border-bottom:1px solid var(--line);padding:16px 0}.settings-group>label{display:flex;align-items:center;gap:10px;font-size:12px;margin-bottom:16px;color:#c5d2f3}.settings-group label .icon{width:18px;height:18px;color:var(--amber)}.settings-group select{font-size:13px}.settings-group h3{font-family:var(--serif);font-size:25px;font-weight:400;margin:0 0 5px}.settings-group p{margin:14px 0 4px}.settings-action{padding:18px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:11px;width:100%;font-size:12px;text-align:left;color:#b7c3e1}.settings-action .icon{width:18px;height:18px;color:#a4aec9}.sheet .version{text-align:center;font-size:7px;color:#828aa0;letter-spacing:1.3px;margin:23px 0 0}

/* Nightjar TV: focus-driven home screen with original aerial artwork. */
:root{--bg:#090b10;--surface:#1d2029;--surface2:#292d39;--text:#f7f8fc;--muted:#a0a7ba;--amber:#fff;--line:#ffffff15;--green:#86e8b0;--serif:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
.tv-body{min-height:100vh;overflow:hidden;background:#101b2a}
.aerial,.aerial-image,.aerial-shade,.aerial-vignette{position:fixed;inset:0;pointer-events:none}
.aerial{background:radial-gradient(ellipse at 80% 10%,#ab7d8f,transparent 50%),linear-gradient(155deg,#162c44,#546f87 50%,#0c303c);overflow:hidden}
.aerial-image{background:url('/aerial-fjords.png') center 48% / cover no-repeat;transform:scale(1.035);animation:aerial-arrive 1.8s cubic-bezier(.2,.7,.3,1) both}
@keyframes aerial-arrive{from{opacity:0;transform:scale(1.09)}to{opacity:1;transform:scale(1.035)}}
.aerial-shade{background:linear-gradient(90deg,#030a1780,transparent 80%),linear-gradient(0deg,#030711f5 0%,#040a14c9 17%,#050b1759 44%,#050b1711 75%,#050b1755 100%)}
.aerial-vignette{box-shadow:inset 0 0 160px #02071055}
.tv-shell{position:relative;min-height:100dvh;padding:34px 5.2vw 24px;display:flex;flex-direction:column}
.tv-header{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2;min-height:52px}
.tv-header .brand{font-size:25px;font-weight:650;letter-spacing:-1.3px;gap:9px}
.tv-header .brand-mark{color:#fff}.tv-header .brand-mark .icon{width:28px;height:28px;stroke-width:1.8}
.tv-header .brand-tv{letter-spacing:-1px;font-weight:350;font-size:24px;margin-left:-3px;color:#fff;opacity:.65;align-self:auto;margin-bottom:0}
.glass-nav{display:flex;align-items:center;gap:4px;padding:6px;border:1px solid #ffffff2d;border-top-color:#ffffff60;border-radius:40px;background:linear-gradient(130deg,#ffffff26,#ffffff0a);box-shadow:0 8px 32px #0002,inset 0 1px 0 #ffffff17;backdrop-filter:blur(30px) saturate(1.5);position:absolute;left:50%;transform:translateX(-50%)}
.glass-nav button{font-size:13px;font-weight:600;letter-spacing:-.15px;padding:12px 23px;border-radius:30px;display:flex;align-items:center;gap:6px;color:#e9ecf2}
.glass-nav button:hover{background:#ffffff16}.glass-nav button.selected{background:#f6f7fb;color:#13171e;box-shadow:0 2px 10px #0001}.glass-nav .icon{width:15px;height:15px}
.tv-top-right{display:flex;align-items:center;gap:19px}.status-pill{display:flex;align-items:center;gap:7px;font-size:10px;color:#e1e6ef}.status-pill i,.connection-status i{width:5px;height:5px;background:#8ee3b0;border-radius:50%;display:inline-block;box-shadow:0 0 10px #8ee3b055}
.tv-top-right time{font-size:18px;font-weight:500;letter-spacing:-.4px;font-variant-numeric:tabular-nums}.profile-button{width:38px;height:38px;border:1px solid #ffffff3b;border-top-color:#ffffff70;border-radius:50%;display:grid;place-items:center;background:#ffffff18;backdrop-filter:blur(20px)}.profile-button .icon{width:18px;height:18px}
.tv-main{flex:1;display:flex;flex-direction:column;justify-content:flex-end;padding:30px 0 14px}
.hero-copy{padding:0 0 33px;max-width:680px;text-shadow:0 2px 30px #0002}.hero-kicker{font-size:10px;font-weight:700;letter-spacing:2px;color:#dde4ee;display:block;margin-bottom:16px}
.hero-copy h1{font-size:clamp(54px,5.4vw,90px);font-weight:720;line-height:1.01;letter-spacing:-3.9px;margin:0 0 19px}.hero-copy p{font-size:15px;line-height:1.5;color:#e2e5edce;font-weight:450;margin:0 0 24px;letter-spacing:-.1px}
.hero-action{display:inline-flex;align-items:center;gap:10px;border-radius:30px;background:#f7f8fa;color:#171a21;padding:14px 25px;font-size:13px;font-weight:650;box-shadow:0 5px 24px #0002}.hero-action:hover{background:#fff;transform:scale(1.045)}.hero-action .icon{width:17px;height:17px}
.hero-meta{display:flex;align-items:center;gap:9px;margin-top:21px;font-size:10px;color:#c4ccdcaa}.hero-meta-line{width:20px;height:1px;background:#ced5e780}
.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-heading h2{font-size:18px;letter-spacing:-.4px;font-weight:650;margin:0}.section-heading>span{font-size:8px;letter-spacing:1.5px;color:#a9b5c7;font-weight:500}
.shelf-content{display:flex;align-items:flex-start;justify-content:space-between;gap:30px}.app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,242px));gap:27px}.app-card{text-align:center;padding:0;min-width:0;border-radius:20px;outline:none}
.tile-art{display:flex;align-items:center;justify-content:center;position:relative;aspect-ratio:1.65;width:242px;overflow:hidden;border-radius:23px;box-shadow:0 8px 25px #0004,inset 0 1px 0 #fff5;transition:transform .3s cubic-bezier(.2,.75,.25,1),box-shadow .3s;will-change:transform}
.youtube-tile{background:linear-gradient(145deg,#fff,#e9eaf0);color:#171717}.youtube-wordmark{display:flex;align-items:center;justify-content:center;gap:7px;position:relative;z-index:1}.youtube-wordmark>span:last-child{font-size:29px;font-weight:750;letter-spacing:-1.7px}.yt-logo .icon{width:49px;height:49px;color:#f90023}
.tile-shine{position:absolute;inset:0;border-radius:inherit;background:linear-gradient(145deg,#ffffff2b,transparent 50%);pointer-events:none;box-shadow:inset 0 1px 2px #ffffff60}
.cinejoy-tile{background:radial-gradient(ellipse at 85% 5%,#8556ff77,transparent 65%),radial-gradient(ellipse at 10% 100%,#146bfa65,transparent 60%),linear-gradient(135deg,#14172e,#111125)}.cinema-glow{position:absolute;width:200px;height:200px;background:#8f5fff33;border-radius:50%;right:-80px;top:-130px;filter:blur(20px)}.cinejoy-wordmark{display:flex;align-items:center;gap:10px;position:relative}.cinejoy-wordmark>span:last-child{font-size:31px;font-weight:650;letter-spacing:-1.8px}.cinejoy-wordmark .icon{width:29px;height:29px;stroke-width:1.4}.logo-dot{color:#ab9bff}
.app-name{font-size:13px;font-weight:600;display:block;margin:15px 0 4px;color:#e5e8f0;transition:color .2s}.app-description{display:block;font-size:10px;color:#929daf}.app-card:hover .tile-art,.app-card:focus .tile-art{transform:translateY(-5px) scale(1.055);box-shadow:0 0 0 3px #fff,0 0 0 6px #ffffff18,0 20px 45px #0006}.app-card:hover .app-name,.app-card:focus .app-name{color:#fff}.app-card:focus-visible{outline:none}.app-card:active .tile-art{transform:scale(1.015)}
.connection-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;width:290px;min-height:147px;text-align:left;border-radius:22px;border:1px solid #ffffff20;border-top-color:#ffffff3b;background:linear-gradient(130deg,#ffffff13,#ffffff07);backdrop-filter:blur(25px);box-shadow:0 8px 32px #0001,inset 0 1px 0 #ffffff09}.connection-card:hover{background:#ffffff19}.connection-card-copy{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.connection-card-icon .icon{height:20px;width:20px;color:#b2bfd6;margin-bottom:1px}.connection-card-copy strong{font-size:16px;font-weight:600;line-height:1.2;letter-spacing:-.4px}.connection-card-copy>span:not(.connection-card-icon){font-size:8px;color:#a5afc3;line-height:1.5}.connection-card-copy .compact-code{font-size:15px!important;font-weight:550;letter-spacing:3px;color:#fff!important;font-variant-numeric:tabular-nums}
.compact-qr{padding:7px;background:#fff;border-radius:12px;flex-shrink:0;display:block;width:100px;height:100px}.compact-qr img{width:100%;height:100%;display:block}
.tv-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:9px;color:#99a6ba;padding-top:13px}.tv-footer>span{display:flex;align-items:center;gap:8px}.footer-focus-dot{width:12px;height:12px;border:1px solid #b1bbcd80;border-radius:4px}.footer-separator{opacity:.5}.aerial-caption{font-size:9px;color:#d1d8e4a6}.caption-dot{height:4px;width:4px;border-radius:50%;background:#b9c7dc}
.pair-panel{position:fixed;z-index:20;right:3.5vw;top:50%;transform:translateY(-50%);width:340px;border:1px solid #ffffff30;border-top-color:#ffffff60;border-radius:32px;background:linear-gradient(135deg,#33425bba,#111925d9);backdrop-filter:blur(45px) saturate(1.6);box-shadow:0 30px 100px #0006,inset 0 1px 0 #ffffff15;padding:27px;transition:opacity .3s,transform .3s}.pair-panel.closed{opacity:0;pointer-events:none;transform:translate(30px,-50%)}.pair-panel-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.pair-panel-top .eyebrow{font-size:9px;letter-spacing:1.5px}.pair-panel .icon-button{width:30px;height:30px}.pair-panel .icon-button .icon{width:15px;height:15px}.pair-device{display:block;margin-bottom:16px;color:#e2e8f6}.pair-device .icon{height:37px;width:37px;stroke-width:1.4}.pair-panel h2{font-size:30px;font-weight:650;line-height:1.07;letter-spacing:-1px;margin:0 0 17px}.pair-panel p{font-size:11px;line-height:1.8;color:#b8c4d8;margin:0 0 22px}.qr-wrap{width:165px;height:165px;padding:9px;border-radius:16px;background:#fff;margin:auto auto 18px}.qr-wrap img{width:100%;height:100%;display:block}.pair-code{display:block;font-size:29px;letter-spacing:8px;font-weight:550;text-align:center;padding-left:8px;margin:15px 0;font-variant-numeric:tabular-nums}.remote-url{display:block;text-align:center;font-size:11px;color:#bfcae0;overflow-wrap:anywhere}.pair-bottom{font-size:10px;color:#b5c1d5;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:25px;border-top:1px solid #ffffff13;padding-top:20px}.pair-bottom .icon{width:15px;height:15px}.pair-backdrop{position:fixed;inset:0;background:#0207114d;backdrop-filter:blur(7px);z-index:10}.tv-body.dimmed:after{content:'';position:fixed;inset:0;background:#000d;pointer-events:none;z-index:500}
/* Remote visual refinements; its controls and layout keep the existing interaction contract. */
.remote-body{background:radial-gradient(ellipse at 20% 0,#34446b22,transparent 40%),#090a0e}.remote-header .brand-mark{color:#fff}.remote-header .brand{font-size:24px;letter-spacing:-1px}.remote-label{padding:5px 7px;border-radius:5px;background:#ffffff08;font-size:8px;letter-spacing:1px;color:#9da4b6}.connection-row{border-top:0;padding-top:4px}.now-art{width:52px;height:52px;border-radius:15px;background:linear-gradient(140deg,#414c68,#232b3e);border:1px solid #ffffff20;box-shadow:inset 0 1px 0 #ffffff12,0 5px 15px #0003;color:#e5ecff}.now-copy h1{font-size:18px;font-weight:600}.now-copy>span{color:#8f9bb3}.remote-apps button{height:55px;border-radius:15px;background:linear-gradient(130deg,#ffffff10,#ffffff06);border-color:#ffffff15;border-top-color:#ffffff24}.remote-apps button.active{background:#ffffff1d;border-color:#ffffff55}.yt-red{color:#ff455e}.amber{color:#c5baff}.segmented{border-radius:30px;background:#181a21;border:1px solid #ffffff09}.segmented button{border-radius:24px}.segmented .active{background:#393d49;color:#fff;box-shadow:0 2px 5px #0003,inset 0 1px 0 #ffffff10}.control-mode>.icon-button{width:38px;height:38px;border-radius:12px}.touchpad{height:211px;border-radius:28px;background:radial-gradient(ellipse at 40% 0,#ffffff05,transparent 65%),linear-gradient(140deg,#20232c,#16191f);border-color:#ffffff18;border-top-color:#ffffff2b;box-shadow:inset 0 1px 0 #ffffff09,0 10px 25px #0002}.touchpad-center>span:not(.touch-cross){font-size:16px;font-weight:500;color:#b3bacb}.touchpad-center small{color:#6b768d}.touchpad.dragging{border-color:#b2c4ff90}.playback-panel{border-radius:25px;background:linear-gradient(140deg,#21252f,#171a23);border-top-color:#ffffff24}.play-button{background:#f1f3fa;color:#1a1c25;box-shadow:0 5px 20px #0003,inset 0 1px 0 #fff}.transport>button:not(.play-button){min-width:44px;min-height:44px;justify-content:center}.volume-row button{width:36px;height:39px}.remote-shortcuts button{border-radius:15px;background:#ffffff03}.navigation-row .home-button{color:#fff}.remote-footer{font-style:normal}.pair-screen h1{font-size:34px;font-weight:650;line-height:1.12;letter-spacing:-1.3px}.pair-screen h1 em{font-style:normal;font-weight:650;color:#9eafd7}.primary-button{background:#f0f3fc;color:#121722;border-radius:30px;font-weight:650}.sheet{border-radius:30px 30px 0 0;background:linear-gradient(145deg,#2b3347ed,#181e2aed);backdrop-filter:blur(40px) saturate(1.4);border-top-color:#ffffff45}.sheet-heading h2{font-size:27px;font-weight:650;letter-spacing:-.9px}.sheet .settings-group h3{font-weight:600}.secondary-button{border-radius:30px;background:#ffffff13}.dpad button{border-radius:16px;background:linear-gradient(145deg,#2f3542,#242935)}.dpad .dpad-ok{background:#f1f3fa;color:#161a24}.toast{background:#eceef3ef;color:#13151c;border-radius:20px;backdrop-filter:blur(25px)}
@media(min-width:1700px){.tv-shell{padding-top:45px;padding-bottom:30px}.tv-main{padding-bottom:28px}.hero-copy{padding-bottom:65px}.hero-copy h1{font-size:100px;letter-spacing:-4.5px}.hero-copy p{font-size:19px}.hero-action{font-size:16px;padding:17px 30px}.hero-kicker{font-size:12px}.tile-art{width:290px;border-radius:28px}.app-grid{grid-template-columns:repeat(2,290px);gap:34px}.app-name{font-size:16px;margin-top:20px}.app-description{font-size:12px}.section-heading h2{font-size:23px}.connection-card{width:350px;min-height:176px;padding:23px}.connection-card-copy strong{font-size:20px}.compact-qr{width:118px;height:118px}}
@media(max-width:1190px){.tv-shell{padding-left:4.5vw;padding-right:4.5vw}.status-pill{display:none}.glass-nav button{padding-left:19px;padding-right:19px}.tile-art{width:215px}.app-grid{grid-template-columns:repeat(2,215px);gap:24px}.connection-card{width:265px;padding:15px;gap:10px;min-height:130px}.compact-qr{height:88px;width:88px}.connection-card-copy strong{font-size:15px}}
@media(max-height:760px) and (min-width:851px){.tv-shell{padding-top:23px;padding-bottom:20px}.tv-main{padding-top:30px}.hero-copy{padding-bottom:30px}.hero-copy h1{font-size:59px;margin-bottom:14px}.hero-copy p{font-size:13px;margin-bottom:19px}.hero-meta{margin-top:16px}.tile-art{width:215px}.app-grid{grid-template-columns:repeat(2,215px)}.hero-kicker{margin-bottom:13px}.connection-card{min-height:130px}}
@media(max-width:850px){.tv-body{overflow:auto}.tv-shell{padding:25px 6vw;min-height:100dvh}.tv-header{flex-wrap:wrap}.glass-nav{position:static;transform:none;order:3;margin:25px auto 0}.tv-top-right{gap:10px}.tv-top-right time{font-size:15px}.profile-button{width:32px;height:32px}.tv-main{padding-top:70px}.hero-copy{padding-bottom:40px}.hero-copy h1{font-size:62px;letter-spacing:-3px}.hero-copy p{font-size:14px}.shelf-content{flex-direction:column;gap:28px}.app-grid{width:100%;grid-template-columns:1fr 1fr;gap:20px}.tile-art{width:100%;border-radius:18px}.youtube-wordmark{gap:4px}.youtube-wordmark>span:last-child{font-size:clamp(19px,4vw,28px);letter-spacing:-1.2px}.yt-logo .icon{width:34px;height:34px}.cinejoy-wordmark{gap:6px}.cinejoy-wordmark>span:last-child{font-size:clamp(22px,4vw,30px)}.cinejoy-wordmark .icon{width:23px;height:23px}.connection-card{width:100%;min-height:135px;padding:20px}.connection-card-copy strong{font-size:19px}.connection-card-icon{display:none}.section-heading>span{font-size:6px;letter-spacing:.7px}.tv-footer{margin-top:18px;font-size:8px}.aerial-caption{font-size:7px}.pair-panel{right:5%;width:min(90%,360px);max-height:90dvh;overflow:auto}}
@media(max-width:360px){.remote-shell{padding-left:16px;padding-right:16px}.remote-label{display:none}.remote-apps button{padding:0 10px;gap:7px}.touchpad{height:195px}.remote-shortcuts button{font-size:9px}.pair-screen h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.pairing-help{position:fixed;right:5.2vw;bottom:80px;z-index:25;width:min(350px,89vw);padding:23px;border:1px solid #ffffff30;border-radius:24px;background:#192337ed;backdrop-filter:blur(28px);box-shadow:0 20px 60px #0006}.pairing-help strong{font-size:17px;letter-spacing:-.3px}.pairing-help p{font-size:12px;line-height:1.6;color:#b5c3de}.pairing-help a{display:block;margin-top:10px;font-size:12px;text-decoration:underline;text-underline-offset:3px}

/* Across-the-room legibility, quiet glass, and a clear focus hierarchy. */
.tv-shell{padding:38px 5.5vw 28px}
.glass-nav{padding:6px;gap:3px;background:linear-gradient(140deg,#ffffff2e,#ffffff10);border-color:#ffffff30;border-top-color:#ffffff70;box-shadow:inset 0 1px 1px #fff3,0 12px 32px #0002}
.glass-nav button{font-size:16px;padding:12px 24px}
.tv-top-right time{font-size:21px}.profile-button{width:44px;height:44px}
.status-pill{font-size:12px}.status-pill.offline i,.connection-status.offline i{background:#ffc780;box-shadow:none}
.hero-kicker{font-size:12px;letter-spacing:2px}.hero-copy p{font-size:18px;color:#edf0f5dd;line-height:1.5}
.hero-action{font-size:17px;padding:15px 25px}.hero-meta{display:none}
.hero-copy{padding-bottom:35px}.section-heading h2{font-size:22px}.section-heading>span{display:none}
.app-grid{gap:30px;padding:17px 19px 13px;border:1px solid #ffffff24;border-top-color:#ffffff42;border-radius:32px;background:linear-gradient(135deg,#ffffff18,#ffffff08);backdrop-filter:blur(32px) saturate(1.35);box-shadow:inset 0 1px 1px #fff1,0 16px 50px #0002;grid-template-columns:repeat(2,minmax(0,242px))}
.tile-art{border-radius:22px;transition:transform .28s cubic-bezier(.2,.75,.25,1),box-shadow .28s}
.app-card:hover .tile-art,.app-card:focus .tile-art{transform:translateY(-5px) scale(1.065);box-shadow:0 0 0 2px #ffffffe0,0 0 28px #ffffff20,0 22px 40px #0007}
.app-card:active .tile-art{transform:scale(1.015)}
.app-name{font-size:18px;margin:16px 0 3px;font-weight:600}.app-description{font-size:12px;color:#bdc8da}
.connection-card{margin-top:17px;min-height:155px;width:306px;padding:19px;background:linear-gradient(135deg,#ffffff20,#ffffff0c)}
.connection-card-copy strong{font-size:20px}.connection-card-copy>span:not(.connection-card-icon){font-size:11px;color:#ccd4e2}
.connection-card-copy .compact-code{font-size:20px!important;letter-spacing:3px}.connection-card-icon{display:none}
.compact-qr{width:107px;height:107px}.tv-footer{font-size:12px;padding-top:18px}.aerial-caption{font-size:12px}
.pair-panel{width:380px;padding:29px}.pair-panel h2{font-size:34px}.pair-panel p{font-size:15px;line-height:1.6}.pair-panel .eyebrow{font-size:12px}.pair-bottom,.remote-url{font-size:13px}.pair-panel .icon-button{width:44px;height:44px}.qr-wrap{width:180px;height:180px}.pair-code{font-size:34px}
.display-notice{position:fixed;z-index:30;left:50%;bottom:24px;transform:translateX(-50%);display:flex;align-items:center;gap:24px;width:min(760px,90vw);padding:19px 23px;border:1px solid #ffffff48;border-radius:25px;background:linear-gradient(145deg,#344052f2,#111927f2);backdrop-filter:blur(32px);box-shadow:0 16px 60px #0008}
.display-notice strong{font-size:17px}.display-notice p{font-size:13px;line-height:1.5;margin:5px 0 0;color:#d1d9e8}.display-notice button{flex-shrink:0;background:#f4f6fa;color:#141b27;border-radius:24px;padding:13px 19px;font-weight:600}
.remote-header{padding-bottom:18px}.connection-row{font-size:11px;letter-spacing:0}.now-copy>span{font-size:10px}.now-copy h1{font-size:20px;line-height:1.3}.now-subtitle{font-size:12px;line-height:1.5;color:#acb7ca}
.now-subtitle.has-error{white-space:normal;overflow:visible;color:#ffd59f}.remote-apps button{font-size:15px;height:56px}
.segmented button{font-size:12px;min-height:42px}.control-mode>.icon-button{width:44px;height:44px}
.touchpad{height:clamp(200px,28dvh,285px);border-radius:30px;background:radial-gradient(ellipse at 45% 0,#ffffff08,transparent 80%),#1c1e25}.touchpad-center>span:not(.touch-cross){font-size:17px;color:#cbd1df}.touchpad-center small,.pad-hint{font-size:11px;color:#a5aec0}.pad-hint>span:last-child{display:none}
.navigation-row button{font-size:11px;min-height:54px}.navigation-row .icon{width:25px;height:25px}
.remote-shortcuts button{font-size:12px;min-height:48px}.volume-row button{width:44px;height:44px}.transport small{font-size:11px}.timeline{font-size:11px}#volume-value{font-size:11px;min-width:34px}
.sheet p{font-size:14px;line-height:1.65}.sheet .small-note{font-size:12px}.sheet input,.sheet textarea,.sheet select{font-size:16px}.sheet .eyebrow{font-size:10px}.sheet .checkbox-row,.settings-group>label{font-size:14px}.sheet .icon-button{width:44px;height:44px}.sheet .primary-button,.sheet .secondary-button{font-size:14px;min-height:48px}.keyboard-extras button{font-size:13px;min-height:44px;padding:10px}.settings-action{font-size:14px;min-height:54px}
.pair-screen>p{font-size:15px;line-height:1.6}.pair-screen>.eyebrow,#pair-form>label{font-size:11px}.pair-wifi{font-size:12px}.form-error{font-size:13px!important;color:#ffd59f!important}.pair-screen .primary-button{font-size:15px;min-height:52px}
@media(min-width:851px) and (max-width:1190px){.status-pill{display:none}.tile-art{width:215px}.app-grid{grid-template-columns:repeat(2,215px);gap:24px;padding:15px}.connection-card{width:265px;padding:14px;gap:12px;min-height:142px}.connection-card-copy strong{font-size:18px}.compact-qr{width:90px;height:90px}.glass-nav button{padding-left:18px;padding-right:18px}}
@media(max-height:850px) and (min-width:851px){.tv-main{padding-top:20px}.hero-copy{padding-bottom:25px}.hero-copy h1{font-size:62px;letter-spacing:-3px;margin-bottom:16px}.hero-copy p{font-size:17px;margin-bottom:20px}.hero-kicker{margin-bottom:12px}.hero-action{font-size:16px;padding:13px 24px}}
@media(max-height:760px) and (min-width:851px){.tv-shell{padding-top:24px;padding-bottom:20px}.tv-main{padding-top:20px}.hero-copy{padding-bottom:22px}.hero-copy h1{font-size:54px}.hero-copy p{font-size:16px;margin-bottom:18px}.hero-kicker{margin-bottom:12px}.section-heading{margin-bottom:14px}.tile-art{width:215px}.app-grid{grid-template-columns:repeat(2,215px);padding:14px 17px 11px}.app-name{font-size:16px;margin-top:12px}.app-description{font-size:11px}.tv-footer{font-size:10px;padding-top:10px}.connection-card{margin-top:14px}.pair-panel{max-height:92dvh;overflow:auto;padding:22px}.pair-device{display:none}.pair-panel-top{margin-bottom:12px}.pair-panel h2{font-size:28px}.pair-panel p{font-size:13px;margin-bottom:15px}.qr-wrap{width:150px;height:150px;margin-bottom:10px}.pair-code{font-size:28px;margin:10px 0}.pair-bottom{margin-top:16px;padding-top:13px}}
@media(min-width:1700px){.tile-art{width:290px}.app-grid{grid-template-columns:repeat(2,290px);padding:23px;gap:38px}.app-name{font-size:24px}.app-description{font-size:16px}.glass-nav button{font-size:20px;padding:14px 30px}.connection-card{width:370px;min-height:185px}.connection-card-copy strong{font-size:25px}.connection-card-copy>span:not(.connection-card-icon){font-size:14px}.compact-qr{width:125px;height:125px}.hero-copy p{font-size:23px}.hero-action{font-size:21px}.tv-footer,.aerial-caption{font-size:16px}.status-pill{font-size:15px}}
@media(max-width:850px){.tv-shell{padding:25px 6vw}.app-grid{grid-template-columns:1fr 1fr;gap:22px;padding:15px;width:100%}.tile-art{width:100%}.app-name{font-size:16px}.app-description{font-size:11px}.connection-card{width:100%;margin-top:0}.pair-panel{width:min(90%,380px);max-height:90dvh;overflow:auto}.glass-nav button{font-size:14px;padding:12px 19px}.hero-copy h1{font-size:54px}.hero-copy p{font-size:16px}.tv-footer,.aerial-caption{font-size:9px}.display-notice{bottom:15px;gap:15px;padding:16px}.display-notice strong{font-size:14px}.display-notice p{font-size:12px}.display-notice button{font-size:12px;padding:12px}.pair-panel p{font-size:14px}}
@media(min-width:851px) and (max-width:1190px) and (max-height:850px){.tv-shell{padding-top:28px;padding-bottom:20px}.hero-copy h1{font-size:56px}.hero-copy p{font-size:16px}.section-heading{margin-bottom:14px}.tv-footer{padding-top:12px}}
@media(max-height:900px){.remote-shell{padding-top:calc(12px + env(safe-area-inset-top))}.remote-header{padding-bottom:8px}.now-playing{padding:13px 0}.now-art{width:44px;height:44px;border-radius:13px}.now-copy h1{font-size:19px;margin:4px 0}.remote-apps{margin-bottom:16px}.remote-apps button{height:52px}.control-mode{margin-bottom:8px}.touchpad{height:190px}.navigation-row{padding:12px 0}.navigation-row button{min-height:44px;gap:5px}.playback-panel{padding:12px 16px 10px}.transport{margin:10px 0}.volume-row{padding-top:8px}.dpad-section{min-height:210px}.remote-footer{padding-top:18px}}
.tab-buttons{gap:10px;justify-content:space-between;width:100%;margin-top:10px}.tab-buttons button{min-height:44px;font-size:12px;padding:5px 10px}.tab-buttons .icon{width:14px;height:14px}.dpad button{touch-action:none}.field-label{display:block;font-size:13px;color:#c2ccdf;margin-bottom:8px}#search-app{margin-bottom:18px}
@media(prefers-reduced-motion:reduce){.app-card:hover .tile-art,.app-card:focus .tile-art{transform:none}.aerial-image{transform:none}.app-card:active .tile-art{transform:none}}
/* Rain scene copied from the user-provided Project; the launcher keeps its glass shelf. */
.rain-still,.rain-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:0;pointer-events:none}
.rain-still{filter:grayscale(1)}.rain-scene{opacity:0;transition:opacity 1s}.aerial[data-rain-ready="true"] .rain-scene{opacity:1}
.tv-body .aerial{background:#151515}.aerial-shade{background:linear-gradient(180deg,#0005,transparent 38%,#0002 58%,#000b)}
.cinejoy-logo{position:relative;width:76px;height:82px;object-fit:contain;filter:drop-shadow(0 3px 14px #0004)}
.remote-cinejoy-logo{width:24px;height:26px;object-fit:contain;flex-shrink:0}.now-art .remote-cinejoy-logo{width:29px;height:31px}
@media(min-width:1700px){.cinejoy-logo{width:95px;height:102px}}

.tv-main{justify-content:center;padding:30px 0 14px}
