:root{--ui-bg:var(--app-bg);--ui-surface:var(--app-surface);--ui-surface-hover:var(--app-surface-hover);--ui-surface-active:var(--app-surface-active);--ui-outline:var(--app-outline);--ui-outline-hover:var(--app-outline-hover);--ui-muted:var(--app-muted);--ui-accent:var(--app-accent);--ui-accent-fill:var(--app-accent-fill);--ui-danger:var(--app-danger);--ui-ease:var(--app-ease)}.ui-screen{box-sizing:border-box;width:100%;width:-moz-available;width:stretch;min-height:100dvh;padding:2rem 1.25rem 2rem calc(1.25rem + var(--nav-room));color:oklch(100% 0 0);place-items:center;display:grid}.ui-screen button,.ui-screen input{font:inherit;color:inherit}.ui-screen svg{fill:currentColor;flex-shrink:0}.ui-card{box-sizing:border-box;background:oklch(calc(.249 * (var(--shade) - var(--shade-k) * .249)) calc(.0077 * var(--tint-c)) var(--tint-h));outline:.1rem solid var(--ui-outline);width:min(26rem,100%);animation:ui-rise var(--app-t-slow) var(--app-ease);border-radius:.75rem;flex-direction:column;gap:1rem;padding:1.5rem;display:flex;box-shadow:0 1.5rem 3rem oklch(0% 0 0/.35)}.ui-card h1,.ui-card h2{margin:0;font-size:1.5rem;font-weight:500}.ui-card p{color:var(--ui-muted);margin:0;line-height:1.5}@keyframes ui-rise{0%{opacity:0;transform:translateY(.5rem)scale(.98)}}@keyframes ui-fade-in{0%{opacity:0}}.ui-btn{background:var(--ui-surface);outline:.1rem solid var(--ui-outline);color:oklch(100% 0 0);height:2.6rem;font:inherit;white-space:nowrap;cursor:pointer;transition:background-color var(--app-t-fast) var(--app-ease), outline-color var(--app-t-fast) var(--app-ease), transform var(--app-t) var(--app-ease), opacity var(--app-t) var(--app-ease);border:none;border-radius:.5rem;justify-content:center;align-items:center;gap:.45rem;padding:0 1rem;font-weight:500;text-decoration:none;display:inline-flex}.ui-btn svg{fill:currentColor;width:1.3rem;height:1.3rem;margin-left:-.2rem}.ui-btn:hover:not(:disabled){background:var(--ui-surface-hover);outline-color:var(--ui-outline-hover)}.ui-btn:active:not(:disabled){background:var(--ui-surface-active);transition-duration:.1s;transform:scale(.95)}.ui-btn:focus-visible{outline-color:var(--ui-accent)}.ui-btn:disabled{cursor:default;opacity:.6}.ui-btn.accent{background:var(--ui-accent-fill);color:var(--app-on-accent);outline-offset:-.15rem;outline:.15rem solid oklch(100% 0 0/.2)}.ui-btn.accent:hover:not(:disabled){background:var(--ui-accent)}.ui-btn.accent:active:not(:disabled){background:oklch(var(--accent-60))}.ui-btn.accent:focus-visible{outline-color:oklch(100% 0 0)}.ui-btn.wide{width:100%}body.key-nav .ui-btn.accent:focus-visible{outline-offset:.12rem!important;outline:.18rem solid oklch(100% 0 0)!important}.ui-text-btn{color:var(--ui-muted);font:inherit;cursor:pointer;background:0 0;border:none;padding:.3rem .2rem}.ui-text-btn:hover{color:oklch(100% 0 0)}.ui-text-btn.danger{color:var(--ui-danger)}.ui-text-btn.danger:hover{color:oklch(80.5% .101 25)}.ui-text-btn:focus-visible{outline:.1rem solid var(--ui-accent);border-radius:.3rem}.ui-field{flex-direction:column;gap:.4rem;min-width:0;display:flex}.ui-field label,.ui-field .ui-label{color:oklch(80.5% 0 0);font-size:.9rem;font-weight:500}.ui-field input{box-sizing:border-box;background:var(--ui-bg);outline:.1rem solid var(--ui-outline);color:oklch(100% 0 0);width:100%;height:2.6rem;font:inherit;-webkit-user-select:text;user-select:text;transition:outline-color var(--app-t-fast) var(--app-ease);border:none;border-radius:.5rem;padding:0 .8rem}.ui-field input::placeholder{color:oklch(49.2% 0 0)}.ui-field input:hover{outline-color:var(--ui-outline-hover)}.ui-field input:focus{outline-color:var(--ui-accent)}.ui-field.invalid input{outline-color:var(--ui-danger)}.ui-error{animation:ui-fade-in var(--app-t) var(--app-ease);background:oklch(65.1% .197 29/.12);border-radius:.5rem;margin:0;padding:.6rem .8rem;font-size:.9rem;line-height:1.4;color:var(--ui-danger)!important}.ui-note{background:var(--ui-surface);border-radius:.5rem;margin:0;padding:.6rem .8rem;font-size:.9rem;line-height:1.4;color:oklch(84.5% 0 0)!important}.ui-segment{--seg-r:var(--app-r);--seg-pad:.25rem;box-sizing:border-box;grid-template-columns:repeat(var(--n), 1fr);padding:var(--seg-pad);border-radius:var(--seg-r);background:var(--ui-bg);outline:.1rem solid var(--ui-outline);display:grid;position:relative}.ui-segment button{z-index:1;border-radius:calc((var(--seg-r) - var(--seg-pad)) * var(--sq,1));corner-shape:squircle;min-height:2.1rem;color:var(--ui-muted);line-height:1.2;font:inherit;cursor:pointer;transition:color var(--app-t) var(--app-ease);background:0 0;border:none;padding:.3rem .75rem;font-weight:500;position:relative}.ui-segment button[aria-checked=true]{color:oklch(100% 0 0)}.ui-segment button:focus-visible{outline:.1rem solid var(--ui-accent)}.ui-segment-thumb{top:var(--seg-pad);bottom:var(--seg-pad);left:calc(var(--seg-pad) + var(--i) * (100% - 2 * var(--seg-pad)) / var(--n));right:calc(var(--seg-pad) + (var(--n) - 1 - var(--i)) * (100% - 2 * var(--seg-pad)) / var(--n));border-radius:calc((var(--seg-r) - var(--seg-pad)) * var(--sq,1));corner-shape:squircle;background:var(--ui-surface-hover);outline:.1rem solid var(--ui-outline-hover);transition:left var(--app-t) var(--app-ease), right var(--app-t) var(--app-ease), top var(--app-t) var(--app-ease), bottom var(--app-t) var(--app-ease);position:absolute}.to-right .ui-segment-thumb{transition:right var(--app-lead) var(--ui-ease), left var(--app-trail) var(--ui-ease) var(--app-lag), top .35s var(--ui-ease), bottom .35s var(--ui-ease)}.to-left .ui-segment-thumb{transition:left var(--app-lead) var(--ui-ease), right var(--app-trail) var(--ui-ease) var(--app-lag), top .35s var(--ui-ease), bottom .35s var(--ui-ease)}.ui-spinner{animation:ui-fade-in var(--app-t) var(--app-ease) .3s both;place-items:center;display:grid}.ui-spinner svg{width:3.5rem;height:3.5rem;animation:1.4s linear infinite ui-rotate}.ui-spinner .track{fill:none;stroke:oklch(calc(.302 * (var(--shade) - var(--shade-k) * .302)) calc(.0102 * var(--tint-c)) var(--tint-h));stroke-width:4px}.ui-spinner .arc{fill:none;stroke:var(--ui-accent);stroke-width:4px;stroke-linecap:round;stroke-dasharray:1 140;animation:1.4s ease-in-out infinite ui-dash}.ui-spinner.sm{vertical-align:-.15em;flex-shrink:0;animation:none;display:inline-grid}.ui-spinner.sm svg{width:1.1em;height:1.1em}.ui-spinner.sm .track,.ui-spinner.sm .arc{stroke-width:6px}.ui-spinner.block{padding:4rem 0}.ui-skel{--sk-base:oklch(100% 0 0/.07);--sk-shine:oklch(100% 0 0/.06);--sk-card:oklch(100% 0 0/.025);animation:ui-fade-in var(--app-t) var(--app-ease) .2s both}.ui-skel.at-once{animation:none}:where(.sk){border-radius:var(--app-r);background:var(--sk-base);flex-shrink:0;display:block;position:relative;overflow:hidden}:where(.sk):after{content:"";top:0;bottom:0;left:calc(var(--sk-x,0px) * -1);width:var(--sk-w,100%);background:linear-gradient(90deg, transparent 32%, var(--sk-shine) 50%, transparent 68%);animation:ui-skel-sweep var(--sk-t,2.2s) cubic-bezier(.45, 0, .4, 1) var(--sk-delay,0s) infinite;position:absolute;translate:-70%}@keyframes ui-skel-sweep{70%,to{translate:70%}}:where(.sk-line){border-radius:.375em;height:.75em}:where(.sk-line.small){height:.6em}:where(.sk-lines){flex-direction:column;gap:.8em;padding:.4em 0;display:flex}:where(.sk-rows){flex-direction:column;gap:.5rem;display:flex}:where(.sk-row){border-radius:var(--app-r-card);background:var(--sk-card);align-items:center;gap:.85rem;padding:.55rem .6rem;display:flex}:where(.sk-row-pic){border-radius:var(--app-r);width:2.5rem;height:2.5rem}:where(.sk-row-text){flex-direction:column;flex:1;gap:.6rem;min-width:0;display:flex}:where(.ui-skel-note){width:100%;max-width:36rem}.ui-skel-caption{z-index:2;bottom:1.5rem;left:calc(50% + var(--nav-room,0px) / 2);width:max-content;max-width:calc(100vw - var(--nav-room,0px) - 2rem);border:1px solid var(--ui-outline);background:var(--ui-surface);text-align:center;text-wrap:balance;pointer-events:none;border-radius:1.2rem;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.15rem .6rem;margin:0;padding:.55rem 1rem;font-size:.85rem;display:flex;position:fixed;translate:-50%}.ui-skel-caption .ui-skel-caption-what{color:oklch(93% 0 0);font-weight:500}.ui-skel-caption .ui-skel-caption-detail{color:oklch(72% 0 0);font-variant-numeric:tabular-nums}@media (prefers-reduced-motion:reduce){.sk:after{display:none}html .ui-skel:not(.at-once){animation:1ms linear .2s both ui-fade-in!important}}html.reduce-motion .sk:after{display:none}html.reduce-motion .ui-skel:not(.at-once){animation:1ms linear .2s both ui-fade-in!important}@keyframes ui-rotate{to{rotate:360deg}}@keyframes ui-dash{0%{stroke-dasharray:1 140;stroke-dashoffset:0}50%{stroke-dasharray:90 140;stroke-dashoffset:-30px}to{stroke-dasharray:90 140;stroke-dashoffset:-138px}}.ui-status{text-align:center;max-width:30rem;animation:ui-fade-in var(--app-t) var(--app-ease);flex-direction:column;align-items:center;gap:.75rem;display:flex}.ui-status h1{margin:.5rem 0 0;font-size:1.35rem;font-weight:500}.ui-status p{color:var(--ui-muted);margin:0;line-height:1.5}.ui-status .ui-status-detail{min-height:1.5em;font-size:.95rem}.ui-status .ui-actions{margin-top:.5rem}.ui-actions{flex-wrap:wrap;justify-content:center;gap:.6rem;display:flex}.ui-dialog-backdrop{z-index:100;background:oklch(calc(.133 * (var(--shade) - var(--shade-k) * .133)) calc(.0049 * var(--tint-c)) var(--tint-h) / .6);animation:ui-fade-in var(--app-t) var(--app-ease);transition:opacity var(--app-t-fast) var(--app-ease);color:oklch(100% 0 0);place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.ui-dialog-backdrop.closing{opacity:0}.ui-dialog-backdrop.closing .ui-card{transform:scale(.96)}.ui-dialog-backdrop .ui-card{transition:transform var(--app-t-fast) var(--app-ease)}.ui-dialog-foot{border-top:.1rem solid var(--ui-outline);align-items:center;gap:1rem;margin-top:.25rem;padding-top:1rem;display:flex}.ui-dialog-foot .ui-actions{margin-left:auto}.ui-toast-region{z-index:300;pointer-events:none;flex-direction:column;align-items:center;gap:.5rem;width:max-content;max-width:calc(100vw - 2rem);display:flex;position:fixed;bottom:1.25rem;left:50%;transform:translate(-50%)}.ui-toast-said{display:contents}:is(body.player-covers,.video-player) .ui-toast-region{bottom:calc(var(--vp-bar-room,.65rem) + .6rem)}.ui-toast{background:oklch(calc(.271 * (var(--shade) - var(--shade-k) * .271)) calc(.0087 * var(--tint-c)) var(--tint-h));outline:.1rem solid oklch(calc(.343 * (var(--shade) - var(--shade-k) * .343)) calc(.012 * var(--tint-c)) var(--tint-h));color:oklch(100% 0 0);pointer-events:auto;max-width:min(34rem,100vw - 2rem);animation:ui-rise var(--app-t-slow) var(--app-ease);border-radius:.85rem;align-items:center;gap:.6rem;padding:.45rem .45rem .45rem 1rem;font-size:.95rem;line-height:1.4;display:flex;box-shadow:0 .75rem 2rem oklch(0% 0 0/.45)}.ui-toast.error{outline-color:oklch(63% .178 24/.55)}.ui-toast-text{flex-direction:column;flex:1;align-items:flex-start;gap:.15rem;min-width:0;padding:.25rem 0;display:flex}.ui-toast-words{-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.ui-toast.cut .ui-toast-words{cursor:pointer}.ui-toast.cut:has(.ui-toast-words:hover,.ui-toast-more:hover){outline-color:oklch(calc(.5 * (var(--shade) - var(--shade-k) * .5)) calc(.017 * var(--tint-c)) var(--tint-h))}.ui-toast-more{color:oklch(var(--accent-72));font:inherit;cursor:pointer;background:0 0;border:none;border-radius:.25rem;padding:0;font-size:.85rem;font-weight:500}.ui-toast-more:hover{text-underline-offset:.15em;text-decoration:underline}.ui-toast-more:focus-visible{outline:.1rem solid oklch(var(--accent-70));outline-offset:.15rem}.ui-dialog-backdrop.ui-toast-full{z-index:310}.ui-dialog-backdrop.ui-toast-full .ui-card{width:min(32rem,100%);max-height:calc(100dvh - 2rem);overflow-y:auto}.ui-toast-full .ui-toast-full-text{color:inherit;white-space:pre-line;overflow-wrap:anywhere;margin:0;font-size:1rem;line-height:1.5}html.light-page .ui-toast-full .ui-card{color:oklch(21.2% .008 248)}.ui-toast-dot{background:oklch(62.6% .218 26.2);border-radius:50%;flex-shrink:0;width:.65rem;height:.65rem}.ui-toast-action{background:oklch(calc(.333 * (var(--shade) - var(--shade-k) * .333)) calc(.0116 * var(--tint-c)) var(--tint-h));height:2rem;color:oklch(var(--accent-72));font:inherit;cursor:pointer;transition:background-color var(--app-t-fast) var(--app-ease), transform var(--app-t) var(--app-ease);border:none;border-radius:.4rem;flex-shrink:0;padding:0 .75rem;font-size:.9rem;font-weight:500}.ui-toast-action:hover{background:oklch(calc(.372 * (var(--shade) - var(--shade-k) * .372)) calc(.0134 * var(--tint-c)) var(--tint-h))}.ui-toast-action:active{transition-duration:.1s;transform:scale(.94)}.ui-toast-close{color:oklch(76.5% 0 0);cursor:pointer;width:2rem;height:2rem;transition:background-color var(--app-t-fast) var(--app-ease), color var(--app-t-fast) var(--app-ease), transform var(--app-t) var(--app-ease);background:0 0;border:none;border-radius:.4rem;flex-shrink:0;place-items:center;padding:0;display:grid}.ui-toast-close svg{fill:currentColor;width:1.15rem;height:1.15rem}.ui-toast-close:hover{background:oklch(calc(.333 * (var(--shade) - var(--shade-k) * .333)) calc(.0116 * var(--tint-c)) var(--tint-h));color:oklch(100% 0 0)}.ui-toast-close:active{transition-duration:.1s;transform:scale(.92)}.ui-toast-close:focus-visible{outline:.1rem solid oklch(var(--accent-70))}@media (prefers-reduced-motion:reduce){.ui-screen *,.ui-dialog-backdrop,.ui-dialog-backdrop *,.ui-toast{transition-duration:.01ms!important;animation-duration:.01ms!important}.ui-spinner svg,.ui-spinner .arc{animation-duration:1.4s!important}}.ui-sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.ui-card code,.ui-status code{background:var(--ui-bg);color:oklch(88.5% 0 0);border-radius:.3rem;padding:.05rem .3rem;font-size:.9em}.dv-on{align-items:center;gap:.4rem;display:inline-flex}.dv-dot{opacity:.55;background:currentColor;border-radius:50%;flex:none;width:.5rem;height:.5rem}.dv-on.here .dv-dot{opacity:1;background:oklch(71.3% .143 158.4);box-shadow:0 0 0 .18rem oklch(71.3% .143 158.4/.2)}.dv-count{padding:0 0 .35rem;list-style:none}.ui-floating-error{z-index:110;max-width:min(32rem,100vw - 2rem);position:fixed;top:1rem;left:50%;transform:translate(-50%)}.booting .ui-spinner{animation:none}.ui-card.sx{flex-direction:column;gap:.9rem;width:min(36rem,100vw - 2rem);max-height:min(42rem,100dvh - 2rem);display:flex;overflow-y:auto}.ui-card.sx h2{margin:0}.sx-addon{flex-direction:column;gap:.4rem;display:flex}.sx-addon h3{color:oklch(76.5% 0 0);text-transform:uppercase;letter-spacing:.04em;margin:0;font-size:.85rem;font-weight:600}.sx-addon p{margin:0}.sx-list{flex-direction:column;gap:.3rem;margin:0;padding:0;list-style:none;display:flex}.sx-stream{border-radius:calc(.6rem * var(--sq,1));corner-shape:squircle;background:oklch(calc(.323 * (var(--shade) - var(--shade-k) * .323)) calc(.0111 * var(--tint-c)) var(--tint-h) / .7);outline:.1rem solid oklch(calc(.402 * (var(--shade) - var(--shade-k) * .402)) calc(.0147 * var(--tint-c)) var(--tint-h) / .6);color:oklch(96.2% 0 0);width:100%;font:inherit;text-align:left;cursor:pointer;transition:background-color var(--app-t-fast) var(--app-ease), outline-color var(--app-t-fast) var(--app-ease), transform var(--app-t) var(--app-ease);border:none;flex-direction:column;gap:.15rem;padding:.55rem .75rem;display:flex}.sx-stream:hover,.sx-stream:focus-visible{background:oklch(calc(.382 * (var(--shade) - var(--shade-k) * .382)) calc(.0138 * var(--tint-c)) var(--tint-h) / .85);outline-color:oklch(var(--accent-65))}.sx-stream:active{transform:scale(.98)}.sx-name{font-weight:600}.sx-title{color:oklch(74.9% 0 0);white-space:pre-line;overflow-wrap:anywhere;font-size:.82rem}.dv-list{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.dv-row{background:oklch(calc(.249 * (var(--shade) - var(--shade-k) * .249)) calc(.0077 * var(--tint-c)) var(--tint-h));outline:.1rem solid oklch(calc(.323 * (var(--shade) - var(--shade-k) * .323)) calc(.0111 * var(--tint-c)) var(--tint-h));border-radius:.85rem;align-items:center;gap:.85rem;padding:.7rem .8rem;display:flex}.dv-row.me{outline-color:oklch(var(--accent-65) / .45)}.dv-icon{background:oklch(calc(.372 * (var(--shade) - var(--shade-k) * .372)) calc(.0134 * var(--tint-c)) var(--tint-h) / .6);border-radius:.65rem;flex-shrink:0;place-items:center;width:2.6rem;height:2.6rem;display:grid}.dv-icon svg{width:1.45rem;height:1.45rem;fill:oklch(var(--accent-70))}.dv-text{flex-direction:column;flex:1;gap:.15rem;min-width:0;display:flex}.dv-name{overflow-wrap:anywhere;align-items:center;gap:.5rem;min-width:0;font-weight:600;display:inline-flex}.dv-badge{background:oklch(var(--accent-65) / .16);color:oklch(var(--accent-72));border-radius:.35rem;flex-shrink:0;padding:.1rem .45rem;font-size:.75rem}.dv-rename{gap:.5rem;display:flex}.dv-rename .st-input{flex:1;min-width:0}.dv-actions{flex-shrink:0;gap:.4rem;display:flex}.dv-actions .ui-btn.danger{color:oklch(76.1% .129 26);outline-color:oklch(65.1% .197 29/.6)}.dv-limit{box-sizing:border-box;place-items:center;min-height:100dvh;padding:1.5rem;display:grid}.dv-limit-card{flex-direction:column;gap:1rem;width:min(40rem,100%);display:flex}.dv-limit-card h1{margin:0;font-size:1.4rem}.dv-limit-card p{margin:0}.dv-limit-foot{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}@media (width<=640px){.dv-row{flex-wrap:wrap}.dv-actions{justify-content:flex-end;width:100%}}.ui-terms{color:var(--ui-muted);text-align:center;margin:0;font-size:.8rem;line-height:1.5}.ui-terms a{color:var(--ui-accent)}
