/* == guide-phone3722.css == */
/* Keep the first phone screen for channels; secondary tools stay one tap away. */
.guide-tools-toggle{display:none}
.guide-tools-sheet{color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:16px;width:min(560px,100%);max-height:85dvh;overflow:auto}
.guide-tools-sheet::backdrop{background:rgba(0,0,0,.7)}
.guide-tools-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.guide-tools-sheet h2{font-size:20px;margin:0}
.guide-tools-sheet>header button{min-width:44px;min-height:44px}
@media(max-width:680px){
 .guide-toolbar371 .guide-tools-toggle{display:block;flex:0 0 auto;width:auto!important;min-width:0;max-width:112px;min-height:44px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface-3);color:var(--text);font:inherit;font-size:12px;text-align:center}
 .guide-shell .guide-inline-hint{height:26px;margin-bottom:0}
 .guide-shell #mobile-now-list .mobile-now-card{height:80px!important;min-height:80px!important;min-width:0;grid-template-columns:86px minmax(0,1fr) 32px!important;gap:4px}
 .guide-shell #mobile-now-list .guide-mini-ruler{min-width:0;grid-template-columns:86px minmax(0,1fr) 32px;gap:4px}
 .guide-shell #mobile-now-list .guide-mini-shows{grid-template-rows:50px 16px;min-width:0}
 .guide-shell #mobile-now-list .guide-add-pill{height:44px!important;min-height:44px!important}
 .guide-shell #mobile-now-list .guide-row-menu{height:28px!important;min-height:28px!important}
 .guide-shell #mobile-now-list .mobile-now-actions{gap:0}
 .guide-tools-sheet .member-nav{margin:12px 0;display:grid;grid-template-columns:1fr;gap:8px}
 .guide-tools-sheet .future-guide{min-height:0;padding:12px 0}
 .guide-tools-sheet .guide-days{min-height:44px;display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;padding-bottom:8px}
 .guide-tools-sheet .guide-days button{flex:0 0 auto;white-space:nowrap}
 .guide-tools-sheet .member-controls{min-width:0}
 .guide-tools-sheet input{max-width:100%;min-width:0}
}
/* 3.9.10: scope against the old !important guide layers, not the global mini-guide. */
.guide-shell #guide-keyboard-help,.guide-shell .guide-browse3910 .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0}
.guide-shell #guide-sponsor-slot3910{min-height:100px;contain:layout}
.guide-shell .guide-browse3910{display:grid;grid-template-columns:40px minmax(100px,160px) 40px 52px 98px minmax(0,1fr);align-items:center;gap:6px;margin:8px 0;height:44px;min-width:0}
.guide-shell .guide-browse3910 button,.guide-shell .guide-browse3910 select{box-sizing:border-box;width:100%;min-width:0;min-height:40px;border:1px solid var(--line);border-radius:9px;background:var(--surface-3);color:var(--text);padding:6px;font:inherit;font-size:12px}
.guide-shell .guide-browse3910 button{cursor:pointer}
.guide-shell .guide-browse3910 button:disabled{opacity:.35;cursor:default}
.guide-shell #guide-window-label{font-size:12px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.guide-shell .guide-language3910{display:block;font-style:normal;font-size:10px;line-height:1.25;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.guide-shell .guide-language3910:empty{display:none}
.guide-shell .guide-placeholder3910{position:absolute;inset:4px;display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;border:1px dashed #465347;border-radius:6px;padding:6px 9px;background:var(--surface);color:var(--muted);overflow:hidden}
.guide-shell .guide-placeholder3910 b,.guide-shell .guide-placeholder3910 small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500}
.guide-shell .guide-placeholder3910 small{font-size:10px}
.guide-shell .timeline-programme{box-sizing:border-box;min-width:0;margin:0!important}
.guide-shell .timeline-programme.is-tiny,.guide-shell #mobile-now-list .guide-peek-show.is-tiny{padding:0!important;min-width:0!important;border:0!important}
.guide-shell .timeline-programme.is-tiny>b,.guide-shell .timeline-programme.is-tiny>small,.guide-shell .timeline-programme.is-tiny>em{display:none!important}
.guide-shell .timeline-programme.is-tiny::after{content:"•";position:absolute;inset:0;display:grid;place-items:center;color:var(--text)}
.guide-shell .timeline-now-line{background:#ff9d4d;box-shadow:none}
.guide-shell .timeline-now-line::before{background:#ff9d4d;color:#19120a}
.guide-shell .timeline-now-line[hidden],.guide-shell .guide-peek-now[hidden]{display:none!important}
.guide-shell :is(.timeline-programme,.guide-placeholder3910):focus-visible{outline:3px solid #d8ffb1;outline-offset:-3px;box-shadow:inset 0 0 14px #d8ffb155;z-index:3}
.guide-shell #mobile-now-list .guide-peek-show{box-sizing:border-box;min-width:0}
.guide-shell #mobile-now-list .guide-peek-show.is-tiny>em{display:none!important}
.guide-shell[data-mode3910=now] #timeline-viewport{display:none!important}
.guide-shell[data-mode3910=now] #mobile-now-list:not([hidden]){display:block!important;min-height:460px}
.guide-shell[data-mode3910=now] #mobile-now-list .guide-peek-lane{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;height:100%;overflow:hidden}
.guide-shell[data-mode3910=now] #mobile-now-list .guide-peek-show{position:relative!important;inset:auto!important;left:auto!important;width:auto!important;min-width:0!important;height:100%;padding:4px 7px!important}
.guide-shell[data-mode3910=now] #mobile-now-list .guide-peek-now,.guide-shell[data-mode3910=now] #mobile-now-list .guide-peek-ruler,.guide-shell[data-mode3910=now] #mobile-now-list .guide-mini-next{display:none!important}
.guide-shell[data-mode3910=now] #mobile-now-list .guide-mini-shows{grid-template-rows:1fr!important}
.guide-shell[data-mode3910=now] #mobile-now-list .guide-peek-show>b,.guide-shell[data-mode3910=now] #mobile-now-list .guide-peek-show>small{display:block!important}
@media(min-width:681px){
 .guide-shell[data-mode3910=timeline] #timeline-viewport:not([hidden]){display:block!important}
 .guide-shell #timeline-grid .timeline-channel{padding:4px 8px!important;grid-template-rows:minmax(0,1fr) 44px!important}
 .guide-shell #timeline-viewport[data-density=compact] .timeline-channel .guide-health-badge{display:none}
 .guide-shell #timeline-viewport[data-density=compact] .timeline-channel-main img{height:28px}
 .guide-shell[data-mode3910=timeline] #mobile-now-list{display:none!important}
 .guide-shell[data-mode3910=now] #mobile-now-list .mobile-now-card{height:96px;min-height:96px;grid-template-columns:210px minmax(0,1fr) 110px;gap:12px;padding:8px;border-bottom:1px solid var(--line);align-items:stretch}
 .guide-shell[data-mode3910=now] #mobile-now-list .guide-mini-ruler{height:24px}
 .guide-shell[data-mode3910=now] #mobile-now-list .mobile-now-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .guide-shell[data-mode3910=now] #mobile-now-list .guide-mini-shows{display:grid;min-width:0}
 .guide-shell[data-mode3910=now] #mobile-now-list .guide-peek-show{display:flex;flex-direction:column;justify-content:center}
 .guide-shell[data-mode3910=now] #mobile-now-list .mobile-now-copy>a{display:flex;gap:8px;min-width:0;align-items:center}
 .guide-shell[data-mode3910=now] #mobile-now-list .channel-initials{flex:0 0 32px}
}
@media(max-width:680px){
 .guide-shell .guide-browse3910{grid-template-columns:32px minmax(0,1fr) 32px 44px 84px;gap:4px;height:66px;grid-template-rows:40px 18px;margin:6px 0}
 .guide-shell #guide-window-label{grid-column:1/-1;font-size:11px}
 .guide-shell[data-mode3910] #mobile-now-list:not([hidden]){display:block!important;height:460px;min-height:460px!important;overflow:auto!important;max-width:100%}
 .guide-shell[data-mode3910] #timeline-viewport{display:none!important}
 .guide-shell #mobile-now-list .mobile-now-card{height:88px!important;min-height:88px!important}
 .guide-shell #mobile-now-list .guide-mini-shows{grid-template-rows:58px 16px}
 .guide-shell #mobile-now-list .guide-language3910{font-size:9px}
 .guide-shell #mobile-now-list .guide-peek-show>em{font-size:0;line-height:10px}
 .guide-shell #mobile-now-list .guide-peek-show>em::before{content:attr(data-code);font-size:9px;line-height:10px}
 .guide-shell #mobile-now-list .guide-peek-show:not(.is-tiny)>b{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;font-size:11px;line-height:12px;max-height:24px}
 .guide-shell #mobile-now-list .guide-peek-show:not(.is-tiny)>small{font-size:8px!important;line-height:10px}
 .guide-shell #mobile-now-list .guide-peek-show:not(.is-tiny),.guide-shell #mobile-now-list .guide-peek-show.clears-now:not(.is-tiny){padding:0 4px!important}
 .guide-shell #mobile-now-list .guide-peek-show>b{z-index:3}
 .guide-shell #mobile-now-list .guide-peek-now{opacity:.7}
 .guide-shell #mobile-now-list .mobile-now-copy{overflow:hidden}
 .guide-shell #mobile-now-list .guide-placeholder3910{inset:2px;padding:4px}
 .guide-shell #mobile-now-list .guide-placeholder3910 b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;line-height:1.2}
 .guide-shell #mobile-now-list .guide-placeholder3910 small{display:none}
 .guide-shell #mobile-now-list .guide-mini-ruler .guide-peek-ruler span{font-size:9px}
}
/* == navigation3913.css == */
.nav-more{position:relative;white-space:nowrap}.nav-more summary{cursor:pointer;padding:10px;color:var(--muted,#a8aebc)}.nav-more>nav{position:absolute;right:0;top:100%;min-width:210px;display:grid;padding:12px;background:#11151e;border:1px solid #343b49;border-radius:16px;z-index:100}.nav-more>nav>a{padding:12px}.site-header .nav-tv-phone{display:none}.site-header .nav-add-outline{background:transparent!important;color:#dbe5ca!important;border:1px solid #62734a!important;box-shadow:none!important}.more-group{padding:24px 0;border-bottom:1px solid #262d38}.more-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.more-links>a{display:flex;flex-direction:column;padding:16px;border-radius:14px;background:#121720;border:1px solid #28303c;color:#f5f6fa;text-decoration:none}.more-links small{color:#a4adbb;margin-top:5px}.add-channels-sheet{color:#f4f6fa;background:#10151f;border:1px solid #425039;border-radius:24px;padding:24px;width:min(520px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 24px 100px #000b;box-sizing:border-box}.add-channels-sheet::backdrop{background:#02040bba;backdrop-filter:blur(8px)}.add-channels-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.add-channels-sheet h2{margin:4px 0;font-size:28px}.add-channels-sheet [data-add-close]{width:44px;height:44px;border-radius:50%;background:#242c38;border:1px solid #45515d;color:#fff;font-size:24px;flex-shrink:0}.add-sheet-rows{display:grid;gap:10px;margin:20px 0}.add-sheet-rows>a{display:flex;gap:14px;align-items:center;padding:16px 12px;border:1px solid #384432;background:#19221a;border-radius:16px;text-decoration:none;color:#f4f6fa;min-height:82px;box-sizing:border-box}.add-sheet-rows>a:hover,.add-sheet-rows>a:focus-visible{border-color:#b6ff3b;outline:2px solid #b6ff3b}.add-sheet-rows svg{width:30px;height:30px;flex-shrink:0;color:#b6ff3b}.add-sheet-rows>a>span:nth-child(2){flex:1;min-width:0}.add-sheet-rows b,.add-sheet-rows small{display:block}.add-sheet-rows small,.add-sheet-note{color:#aeb9c5;font-size:13px;line-height:1.5}.add-sheet-rows small{margin-top:5px}.add-sheet-note{margin-bottom:0}.sources-shell .source-record-actions .primary-action,.sources-shell .combined-tv-card .primary-action{background:transparent!important;color:#e4e9df!important;border:1px solid #505f43!important;box-shadow:none!important}.sources-shell .byo380-card .primary-action{background:transparent!important;color:#e4e9df!important;box-shadow:none!important}.sources-shell .sources-private-first{margin-top:24px}.my-tv-shell .lineup-empty a{display:inline-block;margin-top:8px}.mobile-tabbar{grid-template-columns:repeat(5,minmax(0,1fr))}
#main-content .sources-private-first a.primary-action,#main-content .my-tv-shell .product-hero .primary-action{background:#b6ff3b!important;color:#080a0f!important;background-image:none!important;border:1px solid #b6ff3b!important;box-shadow:none!important}
#main-content .sources-shell .byo380-card .button-link{background:transparent!important;color:#dce5d4!important;border:1px solid #586848!important;box-shadow:none!important}
body:has(.more-shell) main,body:has(.my-tv-shell) main,body:has(.sources-shell) main{padding-bottom:100px}
@media(max-width:1100px){.site-header .nav-tv-phone{display:inline-flex}.site-header .nav-tv-desktop{display:none}}
@media(max-width:680px){.more-links{grid-template-columns:minmax(0,1fr)}.add-channels-sheet{margin:auto auto 10px;padding:20px 16px;border-radius:24px 24px 18px 18px}.more-shell h1{font-size:36px}.nav-more>nav{position:static}.add-sheet-rows>a{padding:14px 10px}.add-sheet-rows b{font-size:15px}}
/* == onboarding3914.css == */
/* 3.9.14: starter sheet, welcome next steps, On-your-TV hub, home TV row, TV overlay menu helpers. No inline styles anywhere. */
.starter-sheet{color:#f4f6fa;background:#10151f;border:1px solid #425039;border-radius:24px;padding:24px;width:min(520px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 24px 100px #000b;box-sizing:border-box}
.starter-sheet::backdrop{background:#02040bba;backdrop-filter:blur(8px)}
.starter-sheet [hidden]{display:none!important}
.starter-sheet>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.starter-sheet h2{margin:4px 0 8px;font-size:28px;line-height:1.1}
.starter-sheet p{color:#c3cbd6;line-height:1.5;margin:0 0 14px}
.starter-sheet [data-starter-close]{width:44px;height:44px;border-radius:50%;background:#242c38;border:1px solid #45515d;color:#fff;font-size:24px;flex-shrink:0;cursor:pointer}
.starter-chips{display:flex;flex-wrap:wrap;gap:8px;border:0;padding:0;margin:0 0 14px}
.starter-chips label{position:relative;display:inline-flex}
.starter-chips input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.starter-chips span{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid #3a4658;border-radius:999px;background:#19212c;color:#e7ecf2;font-weight:700}
.starter-chips input:checked+span{border-color:#b6ff3b;background:#222d1b;color:#fff;box-shadow:inset 0 0 0 1px #b6ff3b}
.starter-chips input:focus-visible+span{outline:3px solid #fff;outline-offset:2px}
.starter-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.starter-search{display:grid;gap:6px;font-weight:700;font-size:14px;color:#e7ecf2}
.starter-search input{min-height:48px;border-radius:12px;border:1px solid #3a4658;background:#0c1118;color:#f4f6fa;padding:0 14px;font-size:16px;box-sizing:border-box;width:100%}
.starter-hint,.starter-status{min-height:1.5em;font-size:14px}
.starter-status[data-state=error]{color:#ffb4a8}
.starter-status[data-state=ready]{color:#d6f5a3}
.starter-actions{display:flex;gap:10px;margin-top:6px}
.starter-actions button,.starter-retry{min-height:48px;border-radius:14px;padding:0 20px;font-weight:800;font-size:16px;cursor:pointer;border:1px solid #4a5666;background:transparent;color:#f4f6fa}
.starter-actions .starter-lime{flex:1;background:#b6ff3b;border-color:#b6ff3b;color:#080a0f}
.starter-actions button:focus-visible,.starter-retry:focus-visible,.starter-skip a:focus-visible,.starter-search input:focus-visible{outline:3px solid #fff;outline-offset:2px}
.starter-actions button:disabled{opacity:.6;cursor:progress}
.starter-skip{margin:14px 0 0;text-align:center}
.starter-skip a{color:#c3cbd6;text-decoration:underline;text-underline-offset:3px}
@media(max-width:680px){.starter-sheet{margin:auto auto 10px;padding:20px 16px;border-radius:24px 24px 18px 18px}.starter-sheet h2{font-size:24px}}

.guide-welcome{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 18px;margin:12px 0;padding:14px 18px;border:1px solid #394a2c;border-radius:16px;background:#141b14}
.guide-welcome p{margin:0;font-weight:700}
.guide-welcome nav{display:flex;flex-wrap:wrap;gap:8px 18px}
.guide-welcome a{color:#e4ecd9;text-decoration:underline;text-underline-offset:3px;min-height:44px;display:inline-flex;align-items:center}
.guide-search-next{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 0}
.guide-search-next button{min-height:44px;padding:0 16px;border-radius:12px;border:1px solid #4a5666;background:transparent;color:#f4f6fa;font-weight:700;cursor:pointer}

.home-tv-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:18px;align-items:center;margin:28px auto;padding:22px;border:1px solid #28303c;border-radius:20px;background:#0f141c}
.home-tv-row h2{margin:4px 0 0;font-size:24px}
.home-tv-row ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.home-tv-row a{display:flex;flex-direction:column;gap:4px;min-height:72px;padding:14px;border-radius:14px;border:1px solid #28303c;background:#121720;color:#f5f6fa;text-decoration:none;box-sizing:border-box}
.home-tv-row small{color:#a4adbb}
.home-tv-row a:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media(max-width:820px){.home-tv-row{grid-template-columns:minmax(0,1fr)}.home-tv-row ul{grid-template-columns:minmax(0,1fr)}}

/* /app hub */
.app397-hub{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin:22px 0}
.app397-hub>section{background:var(--panel,#121821);border:1px solid var(--line,#253041);border-radius:16px;padding:6px 20px 20px;min-width:0}
.app397-hub h2{margin:16px 0 8px;font-size:19px}
.app397-hub p{color:var(--muted,#9aa6b7);line-height:1.55;margin:0 0 12px}
.app397-action{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:12px;border:1px solid #586848;background:transparent;color:#e4e9df;font-weight:800;font-size:16px;text-decoration:none;cursor:pointer;box-sizing:border-box}
.app397 .app397-hub a.app397-action{color:#e4e9df;text-decoration:none}
.app397-action:focus-visible{outline:3px solid #fff;outline-offset:3px}
.app397-action:disabled{opacity:.6;cursor:progress}
.app397-pair-form{display:grid;gap:10px}
.app397-pair-form label{font-weight:700}
.app397-pair-form input{min-height:52px;border-radius:12px;border:1px solid #3a4658;background:#0c1118;color:#f4f6fa;font-size:24px;letter-spacing:.3em;text-align:center;padding:0 12px;box-sizing:border-box;width:100%}
.app397-pair-form input:focus-visible{outline:3px solid #fff;outline-offset:2px}
.app397-pair-status{min-height:1.5em;margin:0}
.app397-pair-status[data-state=error]{color:#ffb4a8}
.app397-pair-status[data-state=ready]{color:#d6f5a3}
.app397-pair-approve{display:grid;gap:10px;margin-top:12px;padding:14px;border:1px solid #394a2c;border-radius:14px;background:#141b14}
.app397-pair-approve[hidden],.app397-pair-form [hidden]{display:none}
.app397-faq{margin:30px 0 0}
.app397-faq details{border-top:1px solid #253041;padding:4px 0}
.app397-faq summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700}
.app397-faq summary:focus-visible{outline:3px solid #fff;outline-offset:2px}
.app397-faq p{margin:0 0 12px;line-height:1.6}
@media(max-width:680px){.app397-hub{grid-template-columns:minmax(0,1fr)}}

/* TV overlay: Settings group (Pair this TV, phone remote, sign in) */
.ptv-tv-mode .tv-settings-menu{display:flex;flex-wrap:wrap;gap:8px;width:100%}
.ptv-tv-mode .tv-settings-menu[hidden]{display:none}
.app397-dlbody{background:transparent;border:0;padding:0;display:grid;gap:12px}
.app397-dlbody p{margin:0}
/* Supporting actions never compete with the page's primary lime action. */
.newsletter [data-newsletter="footer"] button,#my-tv-backup{background:transparent;color:#e4e9df;border:1px solid #586848;box-shadow:none}
/* == unlock3922.css == */
/* 3.9.22 (T713) account unlock: approve-from-another-device, passkey, sign-out guard, save-recovery sheet.
   Surface: Configure / Operate. One lime primary per view; everything else is a measured secondary.
   No inline style attributes (CSP). Colours follow account3915.css: lime #c4ff4d on ink #0a1400,
   secondary #eef3fb on #202733, danger #ffd9d4 on #4a1a1d, muted #a0abbd. */
.ul-root [hidden],.ul-dialog [hidden],.ul-nudge[hidden],.ul-locked [hidden]{display:none!important}

/* ---- shared buttons --------------------------------------------------------------------------------------- */
.ul-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 18px;
  border-radius:12px;border:1px solid #303a4b;background:#202733;color:#eef3fb;font:inherit;font-size:15px;
  font-weight:750;line-height:1.25;text-decoration:none;cursor:pointer;text-align:center}
.ul-btn:hover:not(:disabled){background:#2a3342}
.ul-btn:disabled{opacity:.5;cursor:not-allowed}
.ul-btn:focus-visible,.ul-choice:focus-visible,.ul-link:focus-visible,.ul-dialog input:focus-visible{outline:3px solid #fff;outline-offset:3px}
.ul-btn-primary{background:var(--lime,#c4ff4d);border-color:var(--lime,#c4ff4d);color:#0a1400;font-weight:850}
.ul-btn-primary:hover:not(:disabled){background:#d2ff73}
.ul-btn-danger{background:#4a1a1d;border-color:#8a3a40;color:#ffd9d4}
.ul-btn-danger:hover:not(:disabled){background:#5a2125}
.ul-link{background:none;border:0;padding:10px 2px;min-height:44px;color:#a0abbd;font:inherit;font-size:14px;font-weight:600;
  text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ul-link:hover{color:#eef3fb}
.ul-link-danger{color:#ffb5aa}
.ul-link-danger:hover{color:#ffd9d4}
.ul-eyebrow{margin:0 0 8px;color:var(--lime,#c4ff4d);font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.ul-status,.ul-dialog .ul-status,.ul-wait .ul-status{min-height:1.5em;margin:14px 0 0;font-weight:700;color:#a0abbd;font-size:14px;line-height:1.5}
.ul-status[data-state=error],.ul-dialog .ul-status[data-state=error]{color:#ffb5aa}
.ul-status[data-state=ready],.ul-dialog .ul-status[data-state=ready]{color:var(--lime,#c4ff4d)}

/* ---- locked device: ways back in ---------------------------------------------------------------------------- */
.ul-locked{display:grid;gap:0;margin:12px 0;padding:0;border:1px solid #2b3545;border-radius:16px;background:#0e131b;overflow:hidden}
.ul-locked-head{padding:20px 20px 16px}
.ul-locked-head h2{text-wrap:balance;margin:0 0 8px;font-size:22px;line-height:1.2;letter-spacing:-.01em;color:#f5f7fb}
.ul-locked-head p{margin:0;color:#a0abbd;line-height:1.55}
.ul-methods{list-style:none;margin:0;padding:0}
.ul-method{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;align-items:center;padding:16px 20px;border-top:1px solid #222b38}
.ul-method h3{margin:0;font-size:16px;line-height:1.3;color:#f5f7fb}
.ul-method p{margin:2px 0 0;color:#a0abbd;font-size:14px;line-height:1.5}
.ul-method .ul-btn{min-width:148px}
.ul-method-wide{grid-template-columns:1fr}
.ul-method form{display:grid;gap:8px;margin-top:8px}
.ul-method label{font-size:13px;font-weight:700;color:#c9d2e0}
.ul-method input[type=password],.ul-method input[type=email],.ul-method input[type=text]{width:100%;box-sizing:border-box;min-height:48px;
  border:1px solid #3c4658;border-radius:10px;background:#080b11;color:#eef3fb;padding:12px;font:14px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace}
.ul-method-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ul-foot{padding:14px 20px 18px;border-top:1px solid #222b38;color:#8f9aac;font-size:13px;line-height:1.5}
.ul-foot p{margin:0}

/* Waiting for approval: the number the other device must match. */
.ul-wait{padding:20px;border-top:1px solid #222b38;background:#0a0f16}
.ul-wait h3{margin:0 0 6px;font-size:17px;color:#f5f7fb}
.ul-wait p{margin:0;color:#a0abbd;line-height:1.55;font-size:14px}
.ul-code{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 12px repeat(3,minmax(0,1fr));gap:8px;max-width:520px;margin:16px 0 12px;font:800 clamp(32px,9vw,52px)/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.04em;color:#f5f7fb;font-variant-numeric:tabular-nums}
.ul-code span{display:grid;place-items:center;padding:.28em 0;border:1px solid #303a4b;border-radius:10px;background:#141a24}
.ul-code span:nth-child(4){grid-column:5}
.ul-wait .ul-note{margin-top:10px;color:#ffe9a8}
.ul-timer{display:block;height:4px;margin:14px 0 10px;border-radius:99px;background:#222b38;overflow:hidden}
.ul-timer i{display:block;height:100%;width:100%;background:var(--lime,#c4ff4d);transform-origin:left center}

/* ---- dialogs (approval prompt, sign-out guard, save recovery) --------------------------------------------- */
.ul-dialog{width:min(560px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;padding:0;border:1px solid #344054;
  border-radius:20px;color:#f5f7fb;background:#10151e;box-shadow:0 24px 80px rgba(0,0,0,.65)}
.ul-dialog::backdrop{background:rgba(3,5,9,.78)}
.ul-dialog-body{padding:24px}
.ul-dialog h2{text-wrap:balance;margin:0 0 10px;font-size:24px;line-height:1.2;letter-spacing:-.015em}
.ul-dialog p{margin:0 0 12px;color:#a8b3c4;line-height:1.55;text-wrap:pretty}
.ul-dialog p strong{color:#f5f7fb}
.ul-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.ul-actions .ul-btn{flex:1 1 180px}
.ul-actions-end{justify-content:flex-end}
.ul-actions-end .ul-btn{flex:0 1 auto}

/* Who is asking: the facts PatchTV measured, biggest first. */
.ul-who{margin:14px 0 18px;padding:0;border:1px solid #2b3545;border-radius:14px;background:#0a0f16;overflow:hidden}
.ul-who div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;padding:12px 16px;border-top:1px solid #1d2531}
.ul-who div:first-child{border-top:0}
.ul-who dt{color:#8f9aac;font-size:13px;font-weight:700}
.ul-who dd{margin:0;color:#f5f7fb;font-weight:700;overflow-wrap:anywhere}
.ul-who dd small{text-wrap:pretty;display:block;color:#8f9aac;font-weight:500;font-size:13px}
.ul-dialog .ul-ask{margin:0 0 10px;font-weight:750;color:#f5f7fb}
.ul-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ul-choice{min-height:64px;padding:10px 6px;border:1px solid #3a4558;border-radius:12px;background:#1a212d;color:#f5f7fb;
  font:800 clamp(18px,5.2vw,24px)/1 ui-monospace,SFMono-Regular,Menlo,monospace;font-variant-numeric:tabular-nums;letter-spacing:.03em;white-space:nowrap;cursor:pointer}
.ul-choice:hover:not(:disabled){background:#243044;border-color:#5a6a85}
.ul-choice:disabled{opacity:.45;cursor:not-allowed}
.ul-warn,.ul-dialog .ul-warn{margin:16px 0 0;padding:12px 14px;border:1px solid #6b5a1e;border-radius:12px;background:#201a08;color:#ffe9a8;text-wrap:pretty;font-size:14px;line-height:1.5}
.ul-deny-row{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between;margin-top:16px}

/* Save-recovery options (sheet + sign-out guard share the list). */
.ul-options{list-style:none;margin:14px 0 0;padding:0;border:1px solid #2b3545;border-radius:14px;overflow:hidden}
.ul-option{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 14px;align-items:center;padding:14px 16px;border-top:1px solid #222b38;background:#0c1119}
.ul-option:first-child{border-top:0}
.ul-option h3{margin:0;font-size:16px;color:#f5f7fb}
.ul-dialog .ul-option p,.ul-option p{margin:2px 0 0;font-size:14px;color:#a0abbd}
.ul-option .ul-btn{min-width:140px;min-height:44px;padding:10px 14px;font-size:14px}
.ul-option[data-done=true] h3::after{content:"Saved";margin-left:10px;padding:2px 8px;border-radius:99px;background:#1d3110;color:var(--lime,#c4ff4d);
  font-size:12px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;vertical-align:1px}
.ul-option[data-unavailable=true] h3,.ul-option[data-unavailable=true] p{color:#6f7a8c}
.ul-confirm{display:flex;gap:10px;align-items:flex-start;margin:16px 0 0;color:#c9d2e0;font-size:14px;line-height:1.5}
.ul-confirm input{width:22px;height:22px;margin:0;flex:0 0 auto;accent-color:var(--lime,#c4ff4d)}
.ul-manager{display:grid;gap:8px;margin:14px 0 0;padding:14px;border:1px solid #2b3545;border-radius:14px;background:#0a0f16}
.ul-manager label{font-size:13px;font-weight:700;color:#c9d2e0}
.ul-manager input{width:100%;box-sizing:border-box;min-height:46px;border:1px solid #3c4658;border-radius:10px;background:#080b11;color:#eef3fb;padding:10px 12px;
  font:13px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace}

/* ---- nudge for people who never saved a way back in -------------------------------------------------------- */
.ul-nudge{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px;align-items:center;margin:0 0 18px;padding:16px 20px;
  border:1px solid #6b5a1e;border-radius:16px;background:#1a1608}
.ul-nudge h2{margin:0 0 4px;font-size:18px;line-height:1.3;color:#fff3c9}
.ul-nudge p{text-wrap:pretty;margin:0;color:#d9cfa6;font-size:14px;line-height:1.5}
.ul-nudge-actions{display:flex;gap:10px;align-items:center}
.ul-nudge .ul-link{color:#d9cfa6}
.ul-toast{position:fixed;left:50%;bottom:24px;z-index:60;transform:translateX(-50%);width:min(520px,calc(100vw - 24px));display:grid;
  grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 16px;border:1px solid #6b5a1e;border-radius:14px;
  background:#1a1608;color:#fff3c9;box-shadow:0 16px 48px rgba(0,0,0,.55);font-size:14px;line-height:1.45}
.ul-toast b{display:block;color:#fff3c9}
.ul-toast span{color:#d9cfa6}

/* ---- printable recovery sheet ------------------------------------------------------------------------------ */
.ul-print{display:none}
.ul-qr{display:block;width:232px;height:232px;margin:14px auto 6px;padding:10px;border-radius:12px;background:#fff;box-sizing:border-box}
.ul-qr svg{display:block;width:100%;height:100%}
@media print{
  body.ul-printing>*:not(.ul-print){display:none!important}
  body.ul-printing{background:#fff!important;color:#000!important}
  body.ul-printing .ul-print{display:block;padding:18mm;color:#000;font:12pt/1.5 Georgia,"Times New Roman",serif}
  .ul-print h1{font:700 22pt/1.2 Arial,Helvetica,sans-serif;margin:0 0 4mm}
  .ul-print p{margin:0 0 4mm;font-size:12pt}
  .ul-print .ul-print-qr{width:70mm;height:70mm;margin:8mm 0}
  .ul-print .ul-print-qr svg{width:100%;height:100%}
  .ul-print code{display:block;padding:4mm;border:.4mm solid #000;font:11pt/1.5 "Courier New",monospace;overflow-wrap:anywhere;word-break:break-all}
}

/* ---- television (10-foot) approval prompt: 1920x1080, D-pad ------------------------------------------------ */
.ul-tv{position:fixed;inset:0;z-index:2147483000;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:0;
  background:#06080c;color:#f5f7fb;font-size:28px;line-height:1.4}
.ul-tv-who{display:flex;flex-direction:column;justify-content:flex-start;padding:7vh 4.5vw 4vh 6vw;border-right:1px solid #1d2531;background:#0a0e15}
.ul-tv-who .ul-eyebrow{font-size:24px;letter-spacing:.18em;margin-bottom:22px}
.ul-tv-who h2{text-wrap:balance;margin:0 0 40px;font-size:72px;line-height:1.04;letter-spacing:-.03em}
.ul-tv-facts{margin:0;padding:0}
.ul-tv-facts div{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;padding:26px 0;border-top:1px solid #222b38}
.ul-tv-facts dt{color:#b6c0d0;font-size:30px;font-weight:700}
.ul-tv-facts dd{margin:0;font-size:42px;font-weight:800;line-height:1.2}
.ul-tv-facts dd small{display:block;margin-top:6px;color:#b6c0d0;font-size:30px;font-weight:500}
.ul-tv-act{display:flex;flex-direction:column;justify-content:flex-start;padding:7vh 6vw 4vh 4.5vw}
.ul-tv-act p{margin:0 0 24px;color:#dbe2ee;font-size:36px;line-height:1.35}
.ul-tv-act p strong{color:#fff}
.ul-tv-choices{display:grid;gap:16px;margin:0 0 24px}
.ul-tv .ul-choice{min-height:100px;border-width:3px;border-radius:18px;font-size:60px;letter-spacing:.08em;background:#141b26}
.ul-tv .ul-choice:focus,.ul-tv .ul-btn:focus{outline:0;border-color:var(--lime,#c4ff4d);background:#1e2a12;box-shadow:0 0 0 6px rgba(196,255,77,.28);transform:scale(1.02)}
.ul-tv .ul-btn{min-height:92px;border-width:3px;border-radius:18px;font-size:34px;padding:18px 28px}
.ul-tv .ul-btn-danger:focus{border-color:#ffb5aa;background:#5a2125;box-shadow:0 0 0 6px rgba(255,181,170,.28)}
.ul-tv .ul-timer{height:8px;margin:28px 0 12px}
.ul-tv-hint{display:block;color:#c9d2e0;font-size:30px;line-height:1.45}
.ul-tv-hint b{display:block;color:#fff;font-weight:800}
.ul-tv .ul-status{font-size:30px}
.ul-tv .ul-status:empty{display:none}
html.ul-tv-open{overflow:hidden;scrollbar-gutter:auto}

@media(max-width:620px){
  .ul-method{grid-template-columns:1fr}
  .ul-method .ul-btn{width:100%}
  .ul-dialog-body{padding:20px 18px}
  .ul-dialog h2{font-size:22px}
  .ul-option{padding:12px 14px}
  .ul-option .ul-btn{min-width:104px;padding:10px 12px}
  .ul-choices{grid-template-columns:1fr}
  .ul-choice{min-height:56px;font-size:24px}
  .ul-nudge{grid-template-columns:1fr;padding:16px}
  .ul-nudge-actions{flex-wrap:wrap}
  .ul-nudge-actions .ul-btn{flex:1 1 auto}
  .ul-who div{grid-template-columns:78px minmax(0,1fr)}
  .ul-toast{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:no-preference){
  .ul-tv .ul-choice,.ul-tv .ul-btn{transition:transform .12s ease,box-shadow .12s ease,background .12s ease}
}
/* == imported-smart.css == */
.imported-smart-tools{padding:16px;margin:12px 0;border:1px solid var(--line,#343b49);border-radius:16px;background:var(--panel,#141923)}.imported-smart-actions{display:flex;flex-wrap:wrap;gap:8px}.imported-smart-tools p{font-size:13px;line-height:1.5;color:var(--muted,#aab3c4);margin:10px 0}.imported-smart-tools progress{width:100%;height:12px;accent-color:#2dd4bf}.imported-broken-filter{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:14px}.imported-broken-filter input{width:auto}.imported-guide-channel em[data-state=live]{color:#5ee4b4}.imported-guide-channel em[data-state=dead],.imported-guide-channel em[data-state=blocked]{color:#fca5a5}
/* == ai3926.css == */
/* 3.9.26 (T743) "Control PatchTV with AI": header entry, sheet, guides. No inline style attributes anywhere. */
.site-header a.header-ai{display:inline-flex;align-items:center;justify-content:center;width:auto;gap:4px;padding:0 11px 0 9px;font-size:13px;font-weight:800;letter-spacing:.03em;line-height:1;text-decoration:none;color:var(--text);white-space:nowrap}
.site-header a.header-ai svg{width:15px;height:15px;color:var(--lime);flex:none}
.site-header a.header-ai:focus-visible{outline:2px solid var(--lime);outline-offset:2px}
.ai-sheet [data-ai-close]{width:44px;height:44px;border-radius:50%;background:#242c38;border:1px solid #45515d;color:#fff;font-size:24px;flex-shrink:0;cursor:pointer}
.ai-sheet>p{color:#c3ccd8;margin:8px 0 0}
.ai-sheet h2{line-height:1.15;letter-spacing:-.01em;text-wrap:balance}
@media(max-width:480px){.ai-sheet h2{font-size:24px}}
.ai-rows{margin-bottom:10px}
.ai-quiet-row{display:flex;gap:12px;align-items:center;padding:12px;border-radius:14px;color:#d5dde8;text-decoration:none;border:1px solid #262f3c}
.ai-quiet-row:hover,.ai-quiet-row:focus-visible{border-color:#45515d;background:#161c27;outline:none}
.ai-quiet-row svg{width:22px;height:22px;flex-shrink:0;color:#8fa0b5;margin:0 4px}
.ai-quiet-row>span:nth-child(2){flex:1;min-width:0}
.ai-quiet-row b{display:block;font-weight:650;font-size:14.5px}
.ai-quiet-row small{display:block;color:#a9b5c5;font-size:13px}
.ai-sheet .add-sheet-note,.ai-shell .add-sheet-note{margin-top:14px;padding-top:14px;border-top:1px solid #262f3c}

.ai-shell{width:min(760px,calc(100vw - 36px));margin-inline:auto;padding:28px 0 56px}
.ai-shell-narrow{width:min(560px,calc(100vw - 36px))}
.ai-hero{margin:0 0 26px}
.ai-hero .eyebrow{margin:0 0 8px}
.ai-hero .eyebrow a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.ai-hero h1{font-size:clamp(30px,5vw,44px);line-height:1.08;letter-spacing:-.025em;margin:0 0 12px;text-wrap:balance}
.ai-hero>p:not(.eyebrow){color:#b9c3d0;font-size:17px;line-height:1.55;margin:0;max-width:60ch;text-wrap:pretty}
.ai-steps{list-style:none;margin:0;padding:0;counter-reset:ai;display:grid;gap:14px}
.ai-step{counter-increment:ai;position:relative;padding:20px 20px 20px 68px;border:1px solid #262f3c;border-radius:18px;background:#10151f;min-width:0}
.ai-step::before{content:counter(ai);position:absolute;left:20px;top:18px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(182,255,59,.13);color:var(--lime);font-weight:800;font-size:15px}
.ai-step h2{font-size:19px;line-height:1.3;margin:3px 0 8px}
.ai-step p{color:#b9c3d0;line-height:1.6;margin:0 0 12px}
.ai-step p:last-child{margin-bottom:0}
.ai-step a:not(.ai-secondary){color:#e8f6c9;text-decoration:underline;text-underline-offset:3px}
.ai-step q{color:#f4f6fa;quotes:"“" "”"}
.ai-step code,.ai-foot code{font:13.5px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#1b2330;border:1px solid #2c3645;border-radius:6px;padding:1px 6px;color:#e6ecf5;overflow-wrap:anywhere}
.ai-can{padding:12px 14px;border-radius:12px;background:#151c28;font-size:14.5px}
.ai-can b,.ai-step p b{color:#f4f6fa;font-weight:650}
.ai-fine{font-size:14px;color:#a3afbf!important}
.ai-pick{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 2px}
.ai-pick label{position:relative;cursor:pointer}
.ai-pick input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.ai-pick span{display:block;padding:10px 16px;border-radius:999px;border:1px solid #384354;background:#161c27;color:#d5dde8;font-weight:650;font-size:14.5px;min-height:44px;line-height:22px}
.ai-pick input:checked+span{background:var(--lime);border-color:var(--lime);color:#101800}
.ai-pick input:focus-visible+span{outline:2px solid #fff;outline-offset:2px}
.ai-pick+.ai-code{margin-top:14px}
.ai-primary,.ai-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:13px;font:inherit;font-weight:750;font-size:15.5px;cursor:pointer;text-decoration:none}
.ai-primary{border:0;background:var(--lime);color:#101800}
.ai-primary:disabled{opacity:.55;cursor:default}
.ai-secondary{border:1px solid #4a5668;background:#1c2431;color:#f4f6fa}
.ai-primary:focus-visible,.ai-secondary:focus-visible{outline:2px solid #fff;outline-offset:3px}
.ai-status{min-height:0;margin:12px 0 0!important;color:#dfe7f1!important;font-size:14.5px}
.ai-status:empty{display:none}
.ai-token{margin-top:16px;padding:14px;border:1px solid #47592d;border-radius:14px;background:#141c12}
.ai-token p{margin:0 0 10px!important;font-size:14.5px}
.ai-code{position:relative;display:flex;align-items:flex-start;gap:8px;border:1px solid #2c3645;border-radius:13px;background:#0a0e15;padding:6px 6px 6px 14px;min-width:0}
.ai-code pre{flex:1;min-width:0;margin:0;padding:9px 0;font:13.5px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#dfe8f3;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.ai-code button{flex:none;min-height:38px;padding:0 14px;border-radius:9px;border:1px solid #445064;background:#1e2633;color:#f4f6fa;font:inherit;font-size:13.5px;font-weight:650;cursor:pointer}
.ai-code button:hover{background:#273142}
.ai-code+.ai-fine{margin-top:10px}
.ai-next{display:flex;gap:14px;align-items:center;margin:18px 0 0;padding:16px;border:1px solid #2b3a4d;border-radius:18px;background:#101823;color:#f4f6fa;text-decoration:none}
.ai-next:hover,.ai-next:focus-visible{border-color:#5cc8ff;outline:none}
.ai-next svg{width:30px;height:30px;flex-shrink:0;color:#5cc8ff}
.ai-next>span:nth-child(2){flex:1;min-width:0}
.ai-next b,.ai-next small{display:block}
.ai-next small{color:#a3afbf;font-size:13.5px;margin-top:3px}
.ai-warn{display:flex;gap:14px;align-items:flex-start;margin:18px 0 0;padding:16px 18px;border:1px solid #6b5320;border-radius:18px;background:#1c170b}
.ai-warn svg{width:26px;height:26px;flex-shrink:0;color:#ffc857;margin-top:1px}
.ai-warn p{margin:0;color:#e9dfc8;line-height:1.55}
.ai-warn b{color:#fff}
.ai-foot{margin:22px 4px 0;color:#93a0b1;font-size:13.5px;line-height:1.6}
.ai-foot a{color:#d5dde8;text-decoration:underline;text-underline-offset:3px}
@media(max-width:680px){
  .ai-shell{padding-top:18px}
  .ai-step{padding:16px 16px 18px}
  .ai-step::before{position:static;margin-bottom:10px}
  .ai-hero>p:not(.eyebrow){font-size:16px}
  .ai-code{flex-direction:column;padding:6px 12px 10px}
  .ai-code button{align-self:flex-start}
}
/* == ux-foundation.css == */
/* 3.9.43 (T860, Fable plan T861 §1): one shared UX kit. Adds tokens and a few components; it does not restyle
   existing screens. Loaded last in base.html. Nothing here is position:fixed. */
:root{
  --ux-bg:#080a0f;--ux-panel:#11151d;--ux-line:#242b38;
  --ux-text:#f5f7fb;--ux-muted:#c9d1de;--ux-dim:#8f9aac;
  --ux-info:#9fd0ff;--ux-ok:#57d977;--ux-warn:#ffc24d;--ux-danger:#ff4967;
  --ux-r-s:10px;--ux-r-m:12px;--ux-r-l:16px;
  --ux-s1:4px;--ux-s2:8px;--ux-s3:12px;--ux-s4:16px;--ux-s5:24px;--ux-s6:32px;
  --ux-tap:44px;--ux-tap-min:24px
}
.ux-vh{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}

/* Section label and step counter ("Step 1 of 2 · Sign the TV in") */
.ux-sec{margin:0 0 var(--ux-s2);color:var(--ux-dim);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.ux-steps{display:block;margin:0 0 var(--ux-s2);color:var(--lime,#b6ff3b);font-size:14px;font-weight:800;letter-spacing:.02em;text-transform:none}
.ux-steps.is-step-2{color:var(--ux-info)}

/* 44 px icon button */
.ux-ib{display:inline-grid;place-items:center;flex:none;width:var(--ux-tap);height:var(--ux-tap);min-width:var(--ux-tap);padding:0;border:0;border-radius:var(--ux-r-s);background:transparent;color:var(--ux-muted);font:inherit;font-size:22px;line-height:1;cursor:pointer}
.ux-ib:hover{background:#ffffff12;color:var(--ux-text)}

/* List row (status / menu rows) */
.ux-row{display:flex;align-items:center;gap:var(--ux-s3);min-height:var(--ux-tap);padding:var(--ux-s2) 0}

/* The notice slot (§1.5): one inline notice under the page title. Scrolls with the page. */
.ux-notice-slot{display:block;margin:var(--ux-s3) 0 var(--ux-s4);position:static}
.ux-notice-slot:empty{display:none;margin:0}
.ux-notice{display:flex;align-items:center;gap:var(--ux-s3);padding:var(--ux-s3) var(--ux-s4);border:1px solid #2c3850;border-radius:14px;background:#111827;color:var(--ux-muted);font-size:15px;line-height:1.4;text-align:left;max-width:720px}
.ux-notice .ux-notice-text{flex:1 1 auto;min-width:0}
.ux-notice .ux-notice-text b{display:block;color:var(--ux-text);font-size:16px;font-weight:800;margin:0 0 2px}
.ux-notice .ux-notice-text span{display:block;font-size:14px;color:var(--ux-muted)}
.ux-notice .ux-notice-action{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:var(--ux-tap);padding:0 16px;border:1px solid var(--lime,#b6ff3b);border-radius:var(--ux-r-m);background:var(--lime,#b6ff3b);color:#071000;font:inherit;font-size:16px;font-weight:800;text-decoration:none;cursor:pointer;white-space:nowrap}
.ux-notice .ux-notice-action.is-quiet{background:#1a2333;border-color:#2c3850;color:var(--ux-text)}
.ux-notice .ux-ib{margin:-6px -8px -6px 0}
.ux-notice.is-warn{border-color:#6b5a1e;background:#201a08}
.ux-notice.is-info{border-color:#2d4b6b;background:#0d1826}
.ux-notice.is-tv{font-size:20px;padding:20px 24px}
@media (max-width:420px){.ux-notice{padding:10px 12px;gap:10px}.ux-notice .ux-notice-action{padding:0 14px}}

/* Focus (§1.4): keep the 3 px lime ring with a 3 px offset; white on lime-filled buttons. Never remove it. */
.ux-notice a:focus-visible,.ux-notice button:focus-visible,.ux-ib:focus-visible{outline:3px solid var(--lime,#b6ff3b);outline-offset:3px}
.ux-notice .ux-notice-action:focus-visible{outline-color:#fff}

/* Second approval of a two-step job is visibly different (Step 2 of 2 · Unlock channels). */
.ul-eyebrow.ux-step-2,.ux-step-2{color:var(--ux-info)!important}

/* A4: the watch page LIVE label was 2.97:1 at 10 px. White on #c41e3a is above 5:1, and 12 px. */
.watch-poster>.live-dot{background:#c41e3a;color:#fff;font-size:12px}

/* Item 3: /setup puts the playlist box first. */
.guided-setup-page .guided-first{margin-top:var(--ux-s3)}
.guided-setup-page .guided-first .guided-paste{font-size:16px}
.guided-setup-page .guided-first textarea{font-size:16px}
.guided-setup-page .guided-first #guided-start{width:100%;min-height:48px;justify-content:center}
.guided-setup-page .guided-how{margin:var(--ux-s4) 0;border:1px solid var(--ux-line);border-radius:var(--ux-r-m);padding:var(--ux-s3) var(--ux-s4);background:var(--ux-panel)}
.guided-setup-page .guided-how summary{min-height:var(--ux-tap);display:flex;align-items:center;font-weight:800;cursor:pointer;color:var(--ux-text)}
.guided-setup-page .guided-how p{color:var(--ux-muted)}
.guided-setup-page .guided-more-ways{margin-top:var(--ux-s5)}

/* Item 7a: Account status rows + menu first; sections below are closed <details>. */
.ux-acct-top{display:grid;gap:var(--ux-s4);margin:0 0 var(--ux-s4)}
@media (min-width:1024px){.ux-acct-top{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start}}
.ux-acct-rows{list-style:none;margin:0;padding:0}
.ux-acct-rows .ux-row{border-top:1px solid var(--ux-line);padding:10px 0}
.ux-acct-rows .ux-row:first-child{border-top:0}
.ux-acct-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.ux-acct-text b{color:var(--ux-text);font-size:16px}
.ux-acct-text span{color:var(--ux-muted);font-size:14px;overflow-wrap:anywhere}
.ux-acct-dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--ux-dim)}
.ux-acct-dot[data-state="ok"]{background:var(--ux-ok)}
.ux-acct-dot[data-state="warn"]{background:var(--ux-warn)}
.ux-acct-fix{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:var(--ux-tap);min-width:var(--ux-tap);padding:0 14px;border:1px solid #2c3850;border-radius:var(--ux-r-m);background:#1a2333;color:var(--ux-text);font:inherit;font-size:15px;font-weight:800;text-decoration:none;cursor:pointer}
.ux-acct-fix.is-primary{background:var(--lime,#b6ff3b);border-color:var(--lime,#b6ff3b);color:#071000}
.ux-acct-fix[hidden]{display:none}
.ux-acct-menu{display:flex;flex-direction:column;padding-top:6px;padding-bottom:6px}
.ux-acct-menu .ux-row{justify-content:space-between;min-height:48px;padding:0 4px;border:0;border-top:1px solid var(--ux-line);background:none;color:var(--ux-text);font:inherit;font-size:16px;font-weight:700;text-decoration:none;text-align:left;cursor:pointer;border-radius:0}
.ux-acct-menu .ux-row:first-child{border-top:0}
.ux-acct-menu .ux-row span{color:var(--ux-dim);font-size:22px}
.ux-acct-menu #account-logout{color:var(--ux-muted)}
.ux-acct-sec{margin:0 0 var(--ux-s3);border:1px solid var(--ux-line);border-radius:var(--ux-r-l);background:var(--ux-panel)}
.ux-acct-sec>summary{display:flex;align-items:center;min-height:52px;padding:0 var(--ux-s4);cursor:pointer;list-style:none}
.ux-acct-sec>summary::-webkit-details-marker{display:none}
.ux-acct-sec>summary::after{content:"›";margin-left:auto;color:var(--ux-dim);font-size:22px;transition:transform .15s}
.ux-acct-sec[open]>summary::after{transform:rotate(90deg)}
.ux-acct-sec-title{margin:0;font-size:18px}
.ux-acct-sec-body{display:grid;gap:var(--ux-s4);padding:0 var(--ux-s3) var(--ux-s4)}
.ux-acct-sec-body>.account-card{margin:0}
.ux-acct-danger{margin-top:var(--ux-s5);padding:var(--ux-s4);border:1px solid #5a2030;border-radius:var(--ux-r-m)}
.ux-acct-danger #account-delete-open{color:var(--ux-danger);min-height:var(--ux-tap)}
/* Item 3: the playlist box is the first block on /setup; the stage's old two-column grid had a copy column. */
.guided-stage.guided-first{grid-template-columns:minmax(0,1fr)}
.guided-stage.guided-first .guided-form{width:100%;max-width:760px;margin-inline:auto}
/* consent sits right under the paste box now: checkbox and its words on one line (the form's labels are one-column grids) */
.guided-stage.guided-first .guided-form>label:has(>input[type=checkbox]){display:flex;gap:10px;align-items:flex-start}
.guided-stage.guided-first .guided-form>label>input[type=checkbox]{flex:none;width:20px;height:20px;margin:2px 0 0}
/* Item 7a: Sign out is a quiet menu row, not a filled account button. */
.account-shell .ux-acct-menu #account-logout{background:none!important;border:0;border-top:1px solid var(--ux-line);border-radius:0;justify-content:flex-start}
.account-shell .ux-acct-menu #account-logout:hover{background:#1a2333!important}
/* Item 7a: the Account dashboard is a 2-column card grid; the status block, the notice slot and each section span it. */
.account-dashboard>.ux-acct-top,.account-dashboard>.ux-notice-slot,.account-dashboard>.ux-acct-sec{grid-column:1/-1}
.account-shell .ux-acct-menu #account-logout{box-shadow:none!important;outline-offset:-2px;min-height:48px;width:100%}
/* the old .account-footer quiet styles, carried to the buttons' new homes (menu row, Privacy and data) */
.account-shell .ux-acct-menu button#account-logout{border:0!important;border-top:1px solid var(--ux-line)!important;border-radius:0!important;padding:0 4px;font-size:16px;font-weight:700;color:#a0abbd!important}
.account-shell .ux-acct-menu button#account-logout:hover{color:#eef3fb!important}
.account-shell .ux-acct-danger button.account-quiet-danger{border:1px solid #5a2030!important;background:none!important;color:#ffb5aa!important}
.account-shell .ux-acct-menu{gap:0;align-self:start}
.account-shell #account-result:empty{display:none}
