:root{font-family:Roboto,Arial,system-ui,sans-serif;color-scheme:light;--bg: #ffffff;--surface: #ffffff;--text: #0f0f0f;--muted: #606060;--fill: #f2f2f2;--hover: #e5e5e5;--line: #e5e5e5;--accent: #ff0000;--accent-text: #ffffff;--chip-active-bg: #0f0f0f;--chip-active-text: #ffffff;--selected: #e5e5e5;--focus: #065fd4;--amber: #c2410c;--header: 56px;--nav-h: 0px}:root[data-theme=dark]{color-scheme:dark;--bg: #0f0f0f;--surface: #0f0f0f;--text: #f1f1f1;--muted: #aaaaaa;--fill: #272727;--hover: #3f3f3f;--line: #303030;--accent: #ff0000;--accent-text: #ffffff;--chip-active-bg: #f1f1f1;--chip-active-text: #0f0f0f;--selected: #3f3f3f;--focus: #3ea6ff;--amber: #ffb454}*{box-sizing:border-box}body{margin:0;color:var(--text);background:var(--bg)}button,input,select{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}button svg{flex-shrink:0}h1,h2,h3,p{margin:0}.muted{color:var(--muted)}.topbar{position:sticky;top:0;z-index:10;height:var(--header);display:grid;grid-template-columns:minmax(152px,1fr) minmax(0,600px) minmax(112px,1fr);align-items:center;gap:20px;padding:0 20px;background:var(--surface)}.brand-group,.utilities,.brand,.session{display:flex;align-items:center}.brand-group{gap:11px}.utilities{justify-content:flex-end;gap:10px}.brand{gap:3px;padding:4px 0;white-space:nowrap;color:var(--text)}.logo-mark{display:block;flex-shrink:0}.wordmark{margin-left:1px;font-family:YouTube Sans,Roboto,Arial,sans-serif;font-weight:800;font-size:20px;letter-spacing:-.06em;line-height:1}.country{align-self:flex-start;margin:1px 0 0 1px;color:var(--muted);font-size:10px;font-weight:400;letter-spacing:.01em;line-height:1}.icon-button{padding:0;width:38px;height:38px;display:inline-grid;place-items:center;flex:0 0 auto;border-radius:50%}.icon-button:hover{background:var(--fill)}.session{gap:5px;color:var(--muted);padding:4px 6px;font-size:12px;opacity:.85;font-variant-numeric:tabular-nums;white-space:nowrap}.utilities .icon-button{color:var(--muted)}.utilities .icon-button svg{width:20px;height:20px;stroke-width:1.6}.session.amber{color:var(--amber);opacity:1;font-weight:500}.search{display:flex;align-items:center;min-width:0;height:38px;border:1px solid var(--line);border-radius:100px;background:var(--bg)}.search:focus-within{border-color:var(--focus)}.search input{width:100%;min-width:0;padding:0 14px;border:0;outline:none;background:none}.search input:focus-visible{outline:none}.search input::-webkit-search-cancel-button{display:none}.search input::placeholder{color:var(--muted)}.clear-search{width:28px;height:28px;margin-right:4px}.submit-search{display:grid;place-items:center;align-self:stretch;width:52px;flex-shrink:0;border-left:1px solid var(--line);border-radius:0 999px 999px 0;background:var(--fill)}.submit-search:hover{background:var(--hover)}.shell{--sidebar: 226px}.shell.mini{--sidebar: 72px}.sidebar{position:fixed;z-index:8;inset:var(--header) auto 0 0;width:var(--sidebar);padding:13px 11px;overflow:auto;background:var(--surface);scrollbar-width:thin}.nav-item{display:flex;text-align:left;align-items:center;gap:13px;width:100%;height:42px;padding:0 11px;border-radius:10px;font-size:14px}.nav-item>svg{width:21px;height:21px;stroke-width:1.7}.nav-item>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-item:hover{background:var(--fill)}.nav-item[aria-current=page]{background:var(--selected);font-weight:500}.shorts-icon{width:24px;height:24px;flex-shrink:0}.subscriptions{margin-top:14px;border-top:1px solid var(--line);padding-top:11px}.subscriptions h2{font-size:13px;padding:5px 11px 8px;color:var(--muted);font-weight:680}.mini:not(.drawer-open) .sidebar{padding:13px 4px}.mini:not(.drawer-open) .nav-item{flex-direction:column;justify-content:center;gap:5px;min-height:58px;padding:4px 0;font-size:9px}.mini:not(.drawer-open) .subscriptions{display:none}.avatar{width:36px;height:36px;flex-shrink:0;border-radius:50%;display:inline-grid;place-items:center;background:#606060;color:#fff;font-size:12px;font-weight:700}.sidebar .avatar{width:25px;height:25px;font-size:10px}.watching .sidebar{display:none}.drawer-open .sidebar{display:block;width:226px}.scrim{position:fixed;z-index:7;inset:var(--header) 0 0;background:#00000080}.browse{margin-left:var(--sidebar);padding:0 28px calc(42px + var(--nav-h))}.chips{display:flex;gap:8px;padding:13px 0;position:sticky;top:var(--header);z-index:5;background:var(--bg);overflow-x:auto;scrollbar-width:none}.chip,.pill{background:var(--fill);border-radius:8px;padding:8px 13px;white-space:nowrap;font-size:14px;font-weight:500}.pill{border-radius:999px}.chip:hover,.pill:hover{background:var(--hover)}.chip[aria-pressed=true],.pill.accent{background:var(--chip-active-bg);color:var(--chip-active-text)}.pill.accent:hover{opacity:.87}.pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px}.browse-title{padding-top:20px;font-size:24px;letter-spacing:-.025em}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 18px;padding-top:13px}.video-card{display:block;min-width:0}.thumbnail{position:relative;display:grid;place-items:center;overflow:hidden;aspect-ratio:16 / 9;border-radius:12px;background:var(--fill);color:var(--muted)}.thumbnail img{width:100%;height:100%;min-height:0;object-fit:cover;transition:filter .16s ease}.video-card:hover img{filter:brightness(.92)}.duration{position:absolute;bottom:8px;right:8px;background:#000c;color:#fff;border-radius:4px;padding:3px 4px;font-size:12px;font-weight:500}.card-details{display:flex;align-items:flex-start;gap:10px;padding-top:10px}.card-copy{min-width:0;color:var(--muted);font-size:13px;line-height:1.45}.card-copy h3,.end-options span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-copy h3{color:var(--text);font-size:16px;line-height:1.375;font-weight:500;margin-bottom:3px}.empty{grid-column:1 / -1;padding:30px 0;color:var(--muted)}.empty .pill{margin-top:12px}.watch{max-width:1720px;margin:0 auto;padding:24px 30px 42px;display:grid;grid-template-columns:minmax(0,1fr) minmax(285px,402px);gap:24px}.watch-main{min-width:0}.screen{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:#000;color:#fff}.screen:fullscreen{border-radius:0}.embed,.embed iframe,.player-overlay{position:absolute;inset:0;width:100%;height:100%;border:0}.fullscreen{position:absolute;z-index:2;top:8px;right:8px;height:32px;width:32px;background:#101016d6;opacity:.85}.fullscreen svg{width:17px;height:17px}.fullscreen:hover{opacity:1;background:#000}.player-overlay{padding:12px 34px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;text-align:center;background:#0f0f0f;container-type:inline-size}.player-overlay .pill:not(.accent){background:#272727;color:#fff}.player-overlay .pill.accent{background:#f1f1f1;color:#0f0f0f}.player-overlay p{color:#aaa;font-size:13px}.player-overlay strong{overflow:hidden;text-overflow:ellipsis;max-width:100%;white-space:nowrap}.end-options{display:flex;justify-content:center;gap:8px;width:100%}.end-options button{width:min(24%,132px);padding:0;font-size:11px}.end-options .thumbnail{border-radius:6px}.end-options span:not(.duration){margin-top:4px;-webkit-line-clamp:1}.end-options .duration{display:none}.text-button{color:#f1f1f1;padding:3px 6px;font-size:13px;text-decoration:underline}.watch h1{font-size:20px;font-weight:600;line-height:1.3;margin-top:12px;overflow-wrap:anywhere}.video-actions{display:flex;align-items:center;gap:10px;margin:11px 0 15px;flex-wrap:wrap}.channel-link{display:flex;align-items:center;gap:9px;padding:0}.subscribed{color:var(--muted)}.like{margin-left:auto}.like[aria-pressed=true]{background:var(--selected)}.description{background:var(--fill);border-radius:12px;padding:12px 14px;font-size:14px}.description p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;margin:10px 0}.description summary,.controls summary{cursor:pointer;font-weight:500}.tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.tags .pill{background:var(--surface)}.up-next h2{font-size:17px;margin:0 0 12px}.compact{display:grid;grid-template-columns:min(42%,168px) minmax(0,1fr);gap:9px;margin-bottom:9px}.compact .thumbnail{border-radius:8px}.compact .card-details{padding-top:0}.compact h3{font-size:14px}dialog{max-width:min(94vw,535px);max-height:87vh;overflow:auto;color:var(--text);border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:19px 22px 23px;box-shadow:0 20px 90px #00000040}dialog::backdrop{background:#0009}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.dialog-heading h2{font-size:21px;letter-spacing:-.025em}.controls{width:535px}.controls section{margin-top:14px;padding-top:13px;border-top:1px solid var(--line)}.controls h3{font-size:15px;margin-bottom:5px}.setting{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0;font-size:14px}.controls details{padding:8px 0}.controls input:not([type=checkbox]),select{border:1px solid var(--line);border-radius:8px;padding:6px 9px;background:var(--bg)}.controls input[type=checkbox]{width:17px;height:17px;accent-color:var(--focus);flex-shrink:0}.controls .pill{margin-top:5px}.custom-form{display:grid;gap:7px;padding-top:10px}.custom-form label{display:grid;gap:4px;font-size:14px}.custom-form .confirm-format{display:flex;align-items:center}.custom-form .pill{justify-self:start}.break-dialog p{margin:8px 0 19px;color:var(--muted);font-size:14px}.actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}@media(min-width:1520px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1190px)and (min-width:1024px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1023px){.sidebar{display:none}.browse,.shorts{margin-left:0;padding-inline:20px}.watch{grid-template-columns:minmax(0,1fr);padding-inline:20px}}@media(max-width:760px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:570px){:root{--header: 100px}.topbar{grid-template-columns:1fr auto;grid-template-rows:50px 38px;gap:4px 8px;padding:0 12px}.search{grid-row:2;grid-column:1 / -1}.brand-group{gap:6px}.browse,.watch{padding-inline:13px}.watch{padding-top:12px}.grid{grid-template-columns:minmax(0,1fr);gap:24px}.end-options .thumbnail{display:none}.end-options button{width:30%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}}.shorts-shelf{margin:26px 0 30px}.shorts-shelf+.grid,.grid+.shorts-shelf+.grid{padding-top:0}.shelf-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.shelf-header h2{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:700;letter-spacing:-.01em}.shelf-row{display:flex;gap:12px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity;scrollbar-width:thin}.short-card{flex:0 0 auto;width:clamp(150px,15vw,210px);scroll-snap-align:start;color:var(--muted);font-size:12px;line-height:1.5}.short-thumb{aspect-ratio:9 / 16;overflow:hidden;border-radius:12px;background:var(--fill)}.short-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:filter .16s ease}.short-card:hover img{filter:brightness(.92)}.short-card h3{margin:8px 0 2px;color:var(--text);font-size:14px;line-height:1.4;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.thumbnail.is-short{background:#000}.thumbnail.is-short img{object-fit:contain}.shell.in-shorts .topbar{border-bottom:0}.shorts{--shorts-h: min( calc(100dvh - 88px) , 820px);position:relative;margin-left:var(--sidebar);height:calc(100dvh - var(--header));display:flex;align-items:center;justify-content:center;overflow:hidden;overscroll-behavior:none}.shorts-empty{display:grid;place-items:center;text-align:center}.shorts-stage{position:relative;display:flex;align-items:flex-end;gap:16px}.short-frame{position:relative;height:var(--shorts-h);aspect-ratio:9 / 16;max-width:100%;border-radius:12px;background:#000;color:#fff;overflow:hidden;isolation:isolate}.short-embed,.short-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.short-gesture{position:absolute;inset:0;z-index:1;touch-action:none;cursor:pointer;-webkit-tap-highlight-color:transparent}.short-paused{position:absolute;z-index:2;top:50%;left:50%;width:64px;height:64px;margin:-32px 0 0 -32px;display:grid;place-items:center;border-radius:50%;background:#00000080;pointer-events:none}.short-paused svg{width:28px;height:28px;margin-left:3px}.short-chips{position:absolute;z-index:3;inset:0 0 auto;display:flex;gap:8px;padding:10px 12px 28px;overflow-x:auto;scrollbar-width:none;background:linear-gradient(rgb(0 0 0 / .55),transparent);pointer-events:none}.short-chip{flex:0 0 auto;pointer-events:auto;padding:6px 11px;border-radius:8px;color:#fff;font-size:13px;font-weight:500;background:#fff3;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.short-chip:hover{background:#ffffff52}.short-chip[aria-pressed=true]{background:#fff;color:#0f0f0f}.short-caption{position:absolute;z-index:2;inset:auto 0 3px;padding:40px 64px 14px 14px;pointer-events:none;background:linear-gradient(transparent,#000000b3);text-shadow:0 1px 3px rgb(0 0 0 / .6)}.short-channel{pointer-events:auto;display:flex;align-items:center;gap:8px;padding:0;color:#fff;font-size:14px}.short-channel .avatar{width:32px;height:32px}.short-caption h1{margin-top:8px;font-size:14px;font-weight:400;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.short-progress{position:absolute;z-index:3;inset:auto 0 0;height:3px;background:#ffffff4d}.short-progress i{display:block;height:100%;background:var(--accent);transform-origin:0 50%;transition:transform .25s linear}.short-failure{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;background:#0f0f0f;color:#aaa;font-size:14px}.short-failure .pill{background:#272727;color:#fff}.short-actions{display:flex;flex-direction:column;align-items:center;gap:16px;padding-bottom:4px}.action-button{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;color:var(--text)}.action-button>span:not(.avatar),.nav-circle{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:var(--fill)}.action-button:hover>span:not(.avatar),.nav-circle:hover:not(:disabled){background:var(--hover)}.action-button[aria-pressed=true]>span:not(.avatar){background:var(--chip-active-bg);color:var(--chip-active-text)}.action-button svg,.nav-circle svg{width:24px;height:24px;stroke-width:1.7}.channel-action .avatar{width:40px;height:40px}.short-nav{position:absolute;z-index:4;right:24px;top:50%;display:flex;flex-direction:column;gap:12px;transform:translateY(-50%)}.nav-circle:disabled{opacity:.35;cursor:default}.bottom-nav{display:none}@media(max-width:768px){:root{--nav-h: calc(52px + env(safe-area-inset-bottom)) }.bottom-nav{position:fixed;z-index:9;inset:auto 0 0;height:var(--nav-h);padding-bottom:env(safe-area-inset-bottom);display:flex;justify-content:space-around;background:var(--surface);border-top:1px solid var(--line)}.watching .bottom-nav{display:none}.watching{--nav-h: 0px}.bottom-nav button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;color:var(--text)}.bottom-nav button[aria-current=page]{font-weight:700}.bottom-nav svg{width:24px;height:24px;stroke-width:1.7}.shorts{height:calc(100dvh - var(--header) - var(--nav-h));--shorts-h: calc(100dvh - var(--header) - var(--nav-h) - 8px);padding:0}.short-frame{border-radius:10px}.short-nav{display:none}.short-actions{position:absolute;z-index:4;right:8px;bottom:76px;gap:14px}.action-button{color:#fff;text-shadow:0 1px 3px rgb(0 0 0 / .6)}.action-button>span:not(.avatar){background:#0006;color:#fff}.action-button[aria-pressed=true]>span:not(.avatar){background:#fff;color:#0f0f0f}}
