html{--mat-sys-background: #faf9fd;--mat-sys-error: #ba1a1a;--mat-sys-error-container: #ffdad6;--mat-sys-inverse-on-surface: #f2f0f4;--mat-sys-inverse-primary: #abc7ff;--mat-sys-inverse-surface: #2f3033;--mat-sys-on-background: #1a1b1f;--mat-sys-on-error: #ffffff;--mat-sys-on-error-container: #93000a;--mat-sys-on-primary: #ffffff;--mat-sys-on-primary-container: #00458f;--mat-sys-on-primary-fixed: #001b3f;--mat-sys-on-primary-fixed-variant: #00458f;--mat-sys-on-secondary: #ffffff;--mat-sys-on-secondary-container: #3e4759;--mat-sys-on-secondary-fixed: #131c2b;--mat-sys-on-secondary-fixed-variant: #3e4759;--mat-sys-on-surface: #1a1b1f;--mat-sys-on-surface-variant: #44474e;--mat-sys-on-tertiary: #ffffff;--mat-sys-on-tertiary-container: #0000ef;--mat-sys-on-tertiary-fixed: #00006e;--mat-sys-on-tertiary-fixed-variant: #0000ef;--mat-sys-outline: #74777f;--mat-sys-outline-variant: #c4c6d0;--mat-sys-primary: #005cbb;--mat-sys-primary-container: #d7e3ff;--mat-sys-primary-fixed: #d7e3ff;--mat-sys-primary-fixed-dim: #abc7ff;--mat-sys-scrim: #000000;--mat-sys-secondary: #565e71;--mat-sys-secondary-container: #dae2f9;--mat-sys-secondary-fixed: #dae2f9;--mat-sys-secondary-fixed-dim: #bec6dc;--mat-sys-shadow: #000000;--mat-sys-surface: #faf9fd;--mat-sys-surface-bright: #faf9fd;--mat-sys-surface-container: #efedf0;--mat-sys-surface-container-high: #e9e7eb;--mat-sys-surface-container-highest: #e3e2e6;--mat-sys-surface-container-low: #f4f3f6;--mat-sys-surface-container-lowest: #ffffff;--mat-sys-surface-dim: #dbd9dd;--mat-sys-surface-tint: #005cbb;--mat-sys-surface-variant: #e0e2ec;--mat-sys-tertiary: #343dff;--mat-sys-tertiary-container: #e0e0ff;--mat-sys-tertiary-fixed: #e0e0ff;--mat-sys-tertiary-fixed-dim: #bec2ff;--mat-sys-neutral-variant20: #2d3038;--mat-sys-neutral10: #1a1b1f;--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-sys-body-large: 400 1rem / 1.5rem Roboto;--mat-sys-body-large-font: Roboto;--mat-sys-body-large-line-height: 1.5rem;--mat-sys-body-large-size: 1rem;--mat-sys-body-large-tracking: .031rem;--mat-sys-body-large-weight: 400;--mat-sys-body-medium: 400 .875rem / 1.25rem Roboto;--mat-sys-body-medium-font: Roboto;--mat-sys-body-medium-line-height: 1.25rem;--mat-sys-body-medium-size: .875rem;--mat-sys-body-medium-tracking: .016rem;--mat-sys-body-medium-weight: 400;--mat-sys-body-small: 400 .75rem / 1rem Roboto;--mat-sys-body-small-font: Roboto;--mat-sys-body-small-line-height: 1rem;--mat-sys-body-small-size: .75rem;--mat-sys-body-small-tracking: .025rem;--mat-sys-body-small-weight: 400;--mat-sys-display-large: 400 3.562rem / 4rem Roboto;--mat-sys-display-large-font: Roboto;--mat-sys-display-large-line-height: 4rem;--mat-sys-display-large-size: 3.562rem;--mat-sys-display-large-tracking: -.016rem;--mat-sys-display-large-weight: 400;--mat-sys-display-medium: 400 2.812rem / 3.25rem Roboto;--mat-sys-display-medium-font: Roboto;--mat-sys-display-medium-line-height: 3.25rem;--mat-sys-display-medium-size: 2.812rem;--mat-sys-display-medium-tracking: 0;--mat-sys-display-medium-weight: 400;--mat-sys-display-small: 400 2.25rem / 2.75rem Roboto;--mat-sys-display-small-font: Roboto;--mat-sys-display-small-line-height: 2.75rem;--mat-sys-display-small-size: 2.25rem;--mat-sys-display-small-tracking: 0;--mat-sys-display-small-weight: 400;--mat-sys-headline-large: 400 2rem / 2.5rem Roboto;--mat-sys-headline-large-font: Roboto;--mat-sys-headline-large-line-height: 2.5rem;--mat-sys-headline-large-size: 2rem;--mat-sys-headline-large-tracking: 0;--mat-sys-headline-large-weight: 400;--mat-sys-headline-medium: 400 1.75rem / 2.25rem Roboto;--mat-sys-headline-medium-font: Roboto;--mat-sys-headline-medium-line-height: 2.25rem;--mat-sys-headline-medium-size: 1.75rem;--mat-sys-headline-medium-tracking: 0;--mat-sys-headline-medium-weight: 400;--mat-sys-headline-small: 400 1.5rem / 2rem Roboto;--mat-sys-headline-small-font: Roboto;--mat-sys-headline-small-line-height: 2rem;--mat-sys-headline-small-size: 1.5rem;--mat-sys-headline-small-tracking: 0;--mat-sys-headline-small-weight: 400;--mat-sys-label-large: 500 .875rem / 1.25rem Roboto;--mat-sys-label-large-font: Roboto;--mat-sys-label-large-line-height: 1.25rem;--mat-sys-label-large-size: .875rem;--mat-sys-label-large-tracking: .006rem;--mat-sys-label-large-weight: 500;--mat-sys-label-large-weight-prominent: 700;--mat-sys-label-medium: 500 .75rem / 1rem Roboto;--mat-sys-label-medium-font: Roboto;--mat-sys-label-medium-line-height: 1rem;--mat-sys-label-medium-size: .75rem;--mat-sys-label-medium-tracking: .031rem;--mat-sys-label-medium-weight: 500;--mat-sys-label-medium-weight-prominent: 700;--mat-sys-label-small: 500 .688rem / 1rem Roboto;--mat-sys-label-small-font: Roboto;--mat-sys-label-small-line-height: 1rem;--mat-sys-label-small-size: .688rem;--mat-sys-label-small-tracking: .031rem;--mat-sys-label-small-weight: 500;--mat-sys-title-large: 400 1.375rem / 1.75rem Roboto;--mat-sys-title-large-font: Roboto;--mat-sys-title-large-line-height: 1.75rem;--mat-sys-title-large-size: 1.375rem;--mat-sys-title-large-tracking: 0;--mat-sys-title-large-weight: 400;--mat-sys-title-medium: 500 1rem / 1.5rem Roboto;--mat-sys-title-medium-font: Roboto;--mat-sys-title-medium-line-height: 1.5rem;--mat-sys-title-medium-size: 1rem;--mat-sys-title-medium-tracking: .009rem;--mat-sys-title-medium-weight: 500;--mat-sys-title-small: 500 .875rem / 1.25rem Roboto;--mat-sys-title-small-font: Roboto;--mat-sys-title-small-line-height: 1.25rem;--mat-sys-title-small-size: .875rem;--mat-sys-title-small-tracking: .006rem;--mat-sys-title-small-weight: 500;--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px;--mat-sys-dragged-state-layer-opacity: .16;--mat-sys-focus-state-layer-opacity: .12;--mat-sys-hover-state-layer-opacity: .08;--mat-sys-pressed-state-layer-opacity: .12}:root{color-scheme:dark;--background: #10232c;--sidebar: #0c202a;--surface: #172f39;--raised: #1d3842;--border: #2b4751;--text: #eff8f6;--muted: #aac3c7;--accent: #61edc6;--accent-ink: #082921;--danger: #ffc1bb;--control-size: max(44px, 2.75rem);font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--background);color:var(--text);font-synthesis:none;line-height:1.5}*{box-sizing:border-box}body{margin:0;min-width:280px;min-height:100dvh}button,input,select{font:inherit}button,input,select,a{-webkit-tap-highlight-color:transparent}button,select,.button,.check,summary{touch-action:manipulation}button{color:inherit;cursor:pointer}button:disabled,input:disabled{opacity:.52;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:inherit}h1,h2,p{margin:0}h1{font-size:clamp(2.1rem,3.7vw,3.15rem);letter-spacing:-.055em;font-weight:720;line-height:1.05}h2{font-size:1.13rem;line-height:1.3}p{color:var(--muted)}img{max-width:100%}.visually-hidden,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip:focus{position:fixed;z-index:20;left:1rem;top:1rem;padding:.75rem;background:var(--accent);color:var(--accent-ink)}.welcome{display:grid;min-height:100dvh;place-items:center;padding:2rem 1rem;background:radial-gradient(ellipse at 50% 20%,#194653 0,var(--background) 59%)}.welcome.loading{display:flex;flex-direction:column;justify-content:center;gap:.75rem}.welcome-mark{width:5.25rem;height:5.25rem;object-fit:contain;margin:-.65rem 0 0 -1rem}.signin-panel{background:var(--sidebar);padding:clamp(1.45rem,5vw,2.45rem);border:1px solid var(--border);border-radius:1.6rem;width:min(100%,27rem);box-shadow:0 22px 70px #080f1555}.signin-panel .welcome-mark{display:block;width:6rem;height:6rem;margin:-.6rem auto 0}.stack{display:grid;gap:1rem;margin:.45rem 0 .6rem}.signin-recovery{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;margin:.75rem 0}.button{display:inline-flex;min-height:var(--control-size);align-items:center;justify-content:center;padding:.55rem 1rem;text-decoration:none;border:1px solid transparent;border-radius:.82rem;font-weight:650;font-size:.91rem;line-height:1.35;background:transparent}.button.primary{background:var(--accent);color:var(--accent-ink)}.button.secondary{border-color:var(--border);background:var(--raised)}.button.subtle{color:var(--muted)}.button.danger{color:var(--danger);border-color:#704b50}.button.wide{width:100%}label{display:grid;gap:.4rem;color:var(--muted);font-size:.87rem;font-weight:600}input:not([type=checkbox]),select{border:1px solid var(--border);border-radius:.79rem;padding:.64rem .8rem;min-height:var(--control-size);background:var(--sidebar);color:var(--text);width:100%}input::placeholder{color:#93afb4}.check{display:flex;align-items:center;flex-direction:row;gap:.5rem;min-height:var(--control-size);cursor:pointer}.check input{accent-color:var(--accent);width:1.12rem;height:1.12rem;margin:0}.shell{min-height:100dvh;display:grid;grid-template-columns:14rem minmax(0,1fr)}.navigation{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;gap:1.8rem;padding:max(1.4rem,env(safe-area-inset-top)) 1rem max(1.4rem,env(safe-area-inset-bottom));overflow-y:auto;background:var(--sidebar);border-right:1px solid var(--border)}.brand,.brand-mobile{color:var(--text);font-weight:720;display:flex;align-items:center;letter-spacing:-.025em;gap:.2rem}.brand{min-height:3.3rem;padding:0 .35rem;border:0;background:transparent;font-size:1.05rem;text-align:left}.brand img,.brand-mobile img{width:2.65rem;height:2.65rem}.brand-mobile{visibility:hidden}.tabs{display:grid;gap:.4rem}.tabs button{position:relative;display:flex;align-items:center;gap:.8rem;min-height:max(2.9rem,var(--control-size));border:0;border-radius:.85rem;padding:.65rem .82rem;background:transparent;color:var(--muted);font-size:.91rem;font-weight:630;text-align:left}.tabs button.active{color:var(--accent);background:#18453f}.tab-icon,.empty-mark{position:relative;flex:none;width:1.2rem;height:1.2rem;display:inline-block;color:currentColor}.tab-icon:before,.tab-icon:after,.empty-mark:before,.empty-mark:after{content:"";position:absolute}.library:before{inset:12% 1%;border:1.6px solid currentColor;border-radius:20%}.library:after{left:43%;top:32%;border-left:.39rem solid currentColor;border-top:.24rem solid transparent;border-bottom:.24rem solid transparent}.channels:before{inset:13% 10% 27%;border:1.6px solid currentColor;border-radius:17%}.channels:after{left:20%;right:20%;bottom:10%;border-bottom:1.6px solid currentColor}.offline:before{left:47%;width:1.6px;top:8%;height:51%;background:currentColor}.offline:after{left:29%;top:33%;width:38%;height:38%;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg)}.queue:before{inset:5%;border:1.6px solid currentColor;border-radius:50%}.queue:after{left:48%;top:22%;width:23%;height:32%;border-left:1.6px solid currentColor;border-bottom:1.6px solid currentColor}.queue-count{margin-left:auto;font-size:.78rem;min-width:1.25rem;text-align:center}.nav-footer{margin-top:auto;padding:.5rem;font-size:.78rem}meter{display:block;width:100%;height:.75rem;margin-bottom:.4rem;appearance:none}meter::-webkit-meter-bar{background:var(--raised);border:0}meter::-webkit-meter-optimum-value{background:var(--accent)}.content{width:100%;max-width:105rem;margin-inline:auto;outline:none;padding:max(.9rem,env(safe-area-inset-top)) max(clamp(1.15rem,4vw,4.1rem),env(safe-area-inset-right)) 4rem clamp(1.15rem,4vw,4.1rem)}.topbar{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:3.45rem;margin-bottom:.8rem}.account{display:flex;align-items:center;gap:.5rem}.account-menu{z-index:5;position:absolute;right:0;top:100%;background:var(--sidebar);border-radius:.9rem;box-shadow:0 12px 30px #07121888;border:1px solid var(--border);padding:1rem;width:max-content;max-width:100%}.account-menu p{font-size:.86rem;padding:0 .4rem .8rem;overflow-wrap:anywhere}.connection{font-size:.82rem;color:var(--muted);display:inline-flex;align-items:center;gap:.4rem}.connection i{background:#edc678;height:.45rem;width:.45rem;border-radius:50%}.view-tools{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.85rem}.add-form{max-width:49rem;display:grid;gap:.52rem;margin-bottom:1.65rem}.input-group{display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:.6rem}.library-view{container-type:inline-size}.library-tools{display:grid;gap:.65rem;margin-bottom:1.25rem}.search-field{position:relative;min-width:0}.search-field:before,.search-field:after{content:"";position:absolute;pointer-events:none;color:var(--muted)}.search-field:before{inset-inline-start:.9rem;top:calc(50% - .5rem);width:.66rem;height:.66rem;border:1.5px solid currentColor;border-radius:50%}.search-field:after{inset-inline-start:1.47rem;top:calc(50% + .26rem);width:.36rem;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}.search-field input{padding-inline-start:2.45rem}.search-field:has(.search-clear) input{padding-inline-end:var(--control-size)}.search-field input::-webkit-search-cancel-button{appearance:none}.search-clear{position:absolute;inset:0 0 0 auto;display:grid;place-items:center;width:var(--control-size);border:0;border-radius:.79rem;padding:0;color:var(--muted);background:transparent;font-size:1.3rem}.search-clear:active{color:var(--accent)}.filters{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:.6rem}.filters label{position:relative;min-width:0}.filters label:after{content:"";position:absolute;inset-inline-end:1rem;top:50%;width:.44rem;height:.44rem;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-70%) rotate(45deg);pointer-events:none}.filters select{appearance:none;padding-inline-end:2rem;text-overflow:ellipsis}.filters select.filter-active{border-color:#537f79;background:#144039;color:var(--accent)}@container (min-width: 42rem){.library-tools{grid-template-columns:minmax(0,1fr) minmax(16rem,20rem);align-items:end}}.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,13.5rem),1fr));gap:1.45rem 1.2rem}.video-card{position:relative;min-width:0}.video-link{display:flex;flex-direction:column;align-items:stretch;text-align:start;width:100%;height:100%;padding:0;border:0;border-radius:1rem;background:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.more-button{flex:none;display:grid;place-items:center;width:var(--control-size);height:var(--control-size);padding:0;border:0;border-radius:50%;background:transparent}.card-menu-button{position:absolute;inset:.15rem .15rem auto auto}.more-button span{display:grid;place-items:center;width:1.7rem;height:1.7rem;border-radius:50%;background:var(--raised);color:var(--text);font-size:1.25rem;line-height:1}.card-menu-button span{background:#10191be6}.more-button:active span{background:#26574d}.thumbnail{position:relative;flex:none;width:100%;border-radius:.95rem;aspect-ratio:16 / 9;overflow:hidden;background:var(--surface)}.thumbnail img{width:100%;height:100%;object-fit:cover;display:block}.thumbnail.placeholder{background:#17323c url(/icons/logo.png) center / 38% auto no-repeat}.duration{position:absolute;bottom:.45rem;right:.45rem;border-radius:.34rem;background:#10191be6;padding:.12rem .35rem;font:600 .78rem/1.35 system-ui,sans-serif}.watch-progress{position:absolute;left:0;bottom:0;height:3px;background:var(--accent)}.card-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin:.55rem 0 .16rem;overflow:hidden;overflow-wrap:anywhere;font-weight:680;line-height:1.3}.metadata{display:block;color:var(--muted);font-size:.88rem}.video-card .metadata{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(hover:hover)and (pointer:fine){.button.primary:not(:disabled):hover{background:#94f5da}.button.secondary:not(:disabled):hover,.button.subtle:not(:disabled):hover{color:var(--text);background:#294853}.button.danger:not(:disabled):hover{background:#553b44}.tabs button:not(.active):hover{color:var(--text);background:var(--surface)}.more-button:not(:disabled):hover span{background:#26574d}.video-link:hover:not(:disabled) .card-title{color:var(--accent)}.offline-video:hover:not(:disabled) .offline-title{color:var(--accent)}}@media(any-pointer:coarse){:root{--control-size: max(48px, 3rem)}input:not([type=checkbox]),select{font-size:1rem}.button:not(:disabled):active,.video-link:not(:disabled):active .thumbnail{filter:brightness(.84)}.tabs button:active{background:#26574d;color:var(--accent)}}.empty{grid-column:1 / -1;display:grid;min-height:12.5rem;align-content:center;justify-items:center;gap:.55rem;place-self:stretch;padding:1.5rem;border:1px dashed var(--border);border-radius:1.25rem;text-align:center}.empty-mark{width:2rem;height:2rem;margin-bottom:.4rem;color:var(--accent)}.empty-mark.library:after{left:43%;top:34%;border-left-width:.54rem;border-top-width:.31rem;border-bottom-width:.31rem}.empty p{max-width:27rem}.empty .button{margin-top:.3rem}.records{display:grid;gap:.7rem}.record{display:flex;align-items:center;gap:.75rem;border:1px solid var(--border);background:var(--surface);border-radius:1rem;padding:.95rem 1rem}.record-copy{flex:1;min-width:0;overflow-wrap:anywhere}.record h2{font-size:1.02rem}.record p{margin-top:.2rem;font-size:.84rem}.record-meta{display:flex;flex-wrap:wrap;align-items:center;column-gap:.55rem}.offline-record{padding:.5rem .65rem;gap:.4rem}.offline-video{display:flex;flex:1;align-items:center;gap:.75rem;min-width:0;min-height:var(--control-size);border:0;padding:0;background:transparent;text-align:start;border-radius:.7rem;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.offline-video .thumbnail{width:clamp(4.5rem,21vw,8rem);border-radius:.7rem}.offline-title{display:block;font-size:1.02rem;font-weight:680}.job-status,.storage-label,.saved-label{display:inline-flex;align-items:center;color:var(--accent);white-space:nowrap;font-size:.85rem}.queue-add{margin-inline-start:auto}library-error-badge{display:inline-flex;flex:none}.error-badge{display:inline-flex;align-items:center;min-height:var(--control-size);border:0;border-radius:.75rem;padding:0;background:transparent}.error-badge span{display:inline-flex;align-items:center;gap:.5rem;padding:.22rem .58rem;border:1px solid #795055;border-radius:999px;background:#38252d;color:var(--danger);font-size:.8rem;font-weight:650;white-space:nowrap}.error-badge i{width:.32rem;height:.32rem;transform:rotate(-45deg);border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor}.error-badge:is(:active,:focus-visible) span{background:#553b44}@media(hover:hover)and (pointer:fine){.error-badge:hover span{background:#553b44}}.error-feedback{margin-bottom:.4rem}.watch{max-width:65rem;margin-inline:auto}.watch .back{margin:0 0 .65rem;padding-inline:.55rem}.watch h1{font-size:clamp(1.5rem,4vw,2.7rem);margin:.95rem 0 .45rem;overflow-wrap:anywhere}library-player{display:block}library-player video{display:block;width:100%;max-height:64dvh;min-height:9rem;aspect-ratio:16/9;border-radius:1.15rem;background:#08161c}.audio-surface,.player-loading{display:grid;min-height:14rem;justify-items:center;align-content:center;border-radius:1.2rem;background:var(--sidebar)}.audio-surface img{width:7rem;height:7rem}.audio-surface audio{width:min(90%,28rem)}.player-tools,.actions{display:flex;flex-wrap:wrap;gap:.5rem}.player-tools{justify-content:start;padding-top:.4rem}.watch .actions{margin:1rem 0}.confirm{position:fixed;width:min(92vw,25rem);color:var(--text);background:var(--sidebar);border:1px solid var(--border);border-radius:1.15rem;padding:1.4rem;margin:auto;inset:0;overflow:auto;overscroll-behavior:contain}.confirm::backdrop{background:#031014aa}.confirm p{margin:.65rem 0 1rem}.confirm .actions{justify-content:end}.error-dialog{max-height:80dvh}.error-dialog .error-message{white-space:pre-wrap;overflow-wrap:anywhere}.error-dialog-actions{display:flex;justify-content:end}.add-video-dialog form{display:grid;gap:.9rem;margin-top:1rem}.context-menu h2{overflow-wrap:anywhere}.context-menu .menu-actions{display:grid;gap:.5rem;margin-top:1rem}.context-menu .menu-actions>.button:not(.subtle){justify-content:start}.channel-filter-form{margin-top:1rem}.filter-duration{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.channel-lookup-error{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.video-actions{align-items:center}@media(max-width:990px)and (min-width:701px){.shell{grid-template-columns:calc(5.7rem + env(safe-area-inset-left)) minmax(0,1fr)}.navigation{padding-inline:calc(.55rem + env(safe-area-inset-left)) .55rem}.brand{justify-content:center}.brand span,.nav-footer{display:none}.tabs button{flex-direction:column;gap:.25rem;padding-inline:.25rem;font-size:.77rem;text-align:center}.queue-count{position:absolute;top:.22rem;right:.45rem}}@media(max-width:700px){:root{--nav-clearance: calc(4.5rem + env(safe-area-inset-bottom)) ;scroll-padding-bottom:var(--nav-clearance)}.shell{display:block;padding-bottom:var(--nav-clearance)}.navigation{position:fixed;z-index:7;inset:auto 0 0;height:auto;display:block;overflow:visible;padding:.37rem max(.7rem,env(safe-area-inset-right)) calc(.43rem + env(safe-area-inset-bottom)) max(.7rem,env(safe-area-inset-left));background:var(--sidebar);border-right:0;border-top:1px solid var(--border)}.brand,.nav-footer{display:none}.brand-mobile{visibility:visible}.tabs{grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:.3rem}.tabs button{flex-direction:column;gap:.2rem;place-content:center;padding:.42rem .22rem;min-height:max(52px,3.25rem);font-size:clamp(.67rem,2.95vw,.81rem)}.queue-count{position:absolute;top:.18rem;right:max(.08rem,12%)}.content{padding:max(.5rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) 1.5rem max(1rem,env(safe-area-inset-left))}.topbar{margin-bottom:.65rem}.record{flex-wrap:wrap}.record-copy{flex-basis:100%}.channel-record,.offline-record{flex-wrap:nowrap}.channel-record .record-copy{flex-basis:0}.offline-record:has(.offline-video:disabled){flex-wrap:wrap}.offline-record:has(.offline-video:disabled) .offline-video{flex-basis:calc(100% - var(--control-size) - .4rem)}.offline-record>.button{order:1}.video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem .75rem}.card-title{font-size:.94rem}.metadata{font-size:.8rem}.video-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:.45rem}.video-actions .button{padding-inline:.5rem;text-align:center}.video-actions .saved-label{white-space:normal}.video-actions>.saved-label:only-child{grid-column:1 / -1}.confirm{inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:calc(100dvh - env(safe-area-inset-top) - 1rem);border-radius:1.2rem 1.2rem 0 0;padding:1.25rem max(1.25rem,env(safe-area-inset-right)) calc(1.25rem + env(safe-area-inset-bottom)) max(1.25rem,env(safe-area-inset-left))}.confirm .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}}@media(max-width:368px){.input-group{grid-template-columns:minmax(0,1fr)}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.filters label:after{inset-inline-end:.7rem}.filters select{padding-inline:.65rem 1.65rem}}@media(max-width:319px){.video-grid{grid-template-columns:minmax(0,1fr)}}
