/* LumaTube PHP — original editorial interface. One stylesheet, one spacing scale. */
:root{color-scheme:light;--paper:#f8f9fa;--surface:#fff;--surface-alt:#f0f2f4;--text:#202529;--muted:#7b838b;--line:#e7e9ec;--accent:#f26748;--accent-dark:#d95033;--side:#1c2023;--side-text:#939ba2;--shadow:0 12px 40px #1e28330d;--radius:16px;--sidebar:232px}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--text);font:14px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased}body.dark{color-scheme:dark;--paper:#15191c;--surface:#1c2226;--surface-alt:#252d33;--text:#eef1f3;--muted:#9ba5ad;--line:#303a41;--side:#101416;--shadow:0 12px 40px #0002}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button,a,input,select,textarea,summary{transition:background-color .18s,color .18s,border-color .18s,box-shadow .18s}svg{width:20px;height:20px;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.2;letter-spacing:-1.15px;font-weight:650;margin-bottom:10px}h2{font-size:20px;letter-spacing:-.45px;line-height:1.3;font-weight:650}h3{font-size:14px;letter-spacing:-.15px;font-weight:600}p{line-height:1.65}small,.muted{color:var(--muted)}small{font-size:11px}hr{border:0;border-top:1px solid var(--line);margin:28px 0}:focus-visible{outline:2px solid var(--accent);outline-offset:4px}::selection{background:#ff67472a}.skip{position:fixed;left:15px;top:-60px;padding:12px;background:var(--surface);z-index:100}.skip:focus{top:15px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
/* Navigation stays quiet; content gets the colour. */
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:var(--side);padding:32px 18px 22px;display:flex;flex-direction:column;color:var(--side-text);z-index:40;overflow:auto;scrollbar-width:thin}.brand{display:flex;align-items:center;font-size:34px;font-weight:750;letter-spacing:-1.8px;color:#fff;margin:0 15px 45px}.brand-mark{width:33px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--accent);font-size:29px;margin-right:10px;font-family:Georgia,serif}.brand-point{color:var(--accent)}.nav-label{font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:1.8px;margin:0 16px 15px;color:#6f7a83}.nav-item{display:flex;align-items:center;gap:13px;padding:12px 16px;min-height:44px;margin:3px 0;border-radius:10px;font-size:12px;font-weight:500}.nav-item svg{width:19px;height:19px}.nav-item:hover{background:#ffffff08;color:#fff}.nav-item.active{background:#ffffff0c;color:#fff}.nav-item.active svg{color:var(--accent)}.nav-pill{margin-left:auto;font-size:8px;letter-spacing:.8px;color:#a4abae;padding:3px 5px;background:#ffffff09;border-radius:4px}.nav-rule{height:1px;background:#ffffff0b;margin:23px 15px}.sidebar-bottom{margin-top:auto;padding-top:34px}.creator-note{padding:19px 16px 21px;border:1px solid #ffffff0d;border-radius:12px;margin:0 5px 18px;background:linear-gradient(135deg,#ffffff04,transparent)}.small-emblem{font-size:26px;color:var(--accent);display:block;margin-bottom:15px}.creator-note strong{font-size:12px;color:#e5e7e9;display:block;margin-bottom:7px}.creator-note p{font-size:11px;line-height:1.75;margin-bottom:14px}.creator-note a{font-size:10px;color:#eab19f;display:flex;align-items:center;justify-content:space-between}.creator-note a svg{width:14px}.sidebar-foot{display:block;font-size:9px;color:#68727b;margin:20px 16px 0}.workspace{margin-left:var(--sidebar);min-width:0}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:0 38px;background:var(--surface)}.search{display:flex;align-items:center;gap:12px;width:430px;max-width:50vw;color:#919aa2}.search input{width:100%;background:transparent;border:0;padding:8px 0;outline:none;font-size:12px;color:var(--text)}.search input::placeholder{color:#9aa1a8}.search:focus-within{color:var(--accent)}kbd{font:10px/1.4 inherit;border:1px solid var(--line);padding:2px 6px;border-radius:4px;color:#a0a7ae}.top-actions{margin-left:auto;display:flex;align-items:center;gap:18px}.icon-button{border:0;background:none;color:var(--muted);width:34px;height:34px;padding:7px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;font-size:23px}.icon-button:hover{color:var(--text);background:var(--surface-alt)}.top-separator{height:24px;width:1px;background:var(--line)}.user-avatar{background:#e8e2d8;color:#645a4d;width:35px;height:35px;display:grid;place-items:center;border-radius:50%;font-size:13px;font-weight:700}.mobile-menu{display:none}
/* 8px spacing rhythm; the desktop canvas stops growing at 1560px. */
main{max-width:1560px;margin:0 auto;padding:36px 38px 70px;min-height:calc(100vh - 164px)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px}.eyebrow{display:block;font-size:9px;line-height:1.5;font-weight:700;letter-spacing:1.7px;color:var(--accent);margin-bottom:11px}.page-heading p{font-size:12px;color:var(--muted);margin:0}.date-label{font-size:10px;color:#949ca4;white-space:nowrap;align-self:flex-end;margin-bottom:3px}.feed-controls{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 28px}.topics{display:flex;gap:7px;overflow:auto;scrollbar-width:none}.topic{padding:8px 15px;border:1px solid var(--line);background:var(--surface);border-radius:8px;white-space:nowrap;color:#78818a;font-size:11px;font-weight:500}.topic:hover{border-color:#c4cbd0;color:var(--text)}.topic.selected{background:var(--text);border-color:var(--text);color:var(--surface)}.filters{position:relative;flex-shrink:0}.filters summary{list-style:none;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:11px;color:var(--muted);padding:8px 0 8px 10px}.filters summary svg{width:15px;height:15px}.filters summary::-webkit-details-marker{display:none}.filters form{position:absolute;right:0;top:40px;z-index:10;background:var(--surface);border:1px solid var(--line);padding:22px;width:250px;box-shadow:var(--shadow);border-radius:12px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 22px}.section-heading h2{margin:0}.section-heading p{font-size:11px;color:var(--muted);margin:7px 0 0}.subtle-link{display:inline-flex;align-items:center;gap:8px;font-size:10px;font-weight:550;color:var(--muted)}.subtle-link svg{width:14px}.subtle-link:hover{color:var(--accent)}
/* Feature composition and original demo artwork. */
.demo-art{background-image:url('/assets/editorial-grid.png');background-size:300% auto;background-repeat:no-repeat;background-color:#56696d}.art-0{background-position:0 12.5%}.art-1{background-position:50% 12.5%}.art-2{background-position:100% 12.5%}.art-3{background-position:0 87.5%}.art-4{background-position:50% 87.5%}.art-5{background-position:100% 87.5%}.featured-layout{display:grid;grid-template-columns:1.45fr 1fr;gap:24px;margin-bottom:38px}.featured-film{position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;border-radius:var(--radius);min-height:324px;padding:24px 28px;color:#fff}.featured-gradient{position:absolute;inset:0;background:linear-gradient(0deg,#102529ed, #10252915 85%);pointer-events:none}.feature-top,.feature-copy{position:relative}.feature-top{display:flex;justify-content:space-between;align-items:center}.feature-label{display:flex;align-items:center;gap:7px;font-size:8px;letter-spacing:1.5px;font-weight:650;background:#ffffff20;backdrop-filter:blur(8px);border:1px solid #ffffff30;padding:6px 9px;border-radius:5px}.feature-label i{width:4px;height:4px;background:#fff;border-radius:50%}.feature-duration{font-size:10px;color:#ffffffe0}.feature-category{font-size:9px;letter-spacing:1px;color:#ffffffe0}.feature-copy h2{font-size:27px;line-height:1.18;letter-spacing:-.8px;max-width:440px;margin:8px 0}.feature-copy p{font-size:10px;color:#ffffffb5;max-width:360px;line-height:1.6;margin:0 0 16px}.feature-watch{display:flex;gap:9px;align-items:center;font-size:10px;font-weight:550}.feature-watch>svg{margin-left:auto;width:17px}.round-play{height:30px;width:30px;background:#fff;color:#273338;display:grid;place-items:center;border-radius:50%;font-size:10px}.shortlist{border:1px solid var(--line);border-radius:var(--radius);padding:23px 22px 10px;background:var(--surface)}.shortlist .section-heading{margin-bottom:10px}.shortlist .eyebrow{font-size:8px;letter-spacing:1.5px;color:#9aa0a5;margin-bottom:6px}.shortlist h2{font-size:20px}.shortlist .small-emblem{font-size:23px;margin:0}.shortlist-item{display:grid;grid-template-columns:20px 76px 1fr;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid var(--line)}.shortlist-item:last-child{border-bottom:0}.rank{color:#a6aeb5;font-size:11px;font-weight:500}.shortlist-image{width:76px;height:57px;border-radius:8px}.list-category{display:block;font-size:8px;font-weight:600;color:var(--accent);margin-bottom:3px;text-transform:uppercase;letter-spacing:.8px}.shortlist-item h3{font-size:11px;line-height:1.4;margin:0 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shortlist-item p{font-size:9px;color:var(--muted);margin:0}
/* Cards share the same image ratio and text rhythm on every feed. */
.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 22px}.video-card{min-width:0}.thumbnail{display:block;aspect-ratio:16/9;position:relative;overflow:hidden;border-radius:12px;background-color:var(--surface-alt);isolation:isolate}.thumbnail img{width:100%;height:100%;object-fit:cover;transition:transform .28s ease}.thumbnail:hover img{transform:scale(1.025)}.thumb-shade{position:absolute;inset:0;background:linear-gradient(0deg,#0003,transparent 45%);pointer-events:none}.duration{position:absolute;bottom:9px;right:9px;background:#111b23cf;color:#fff;font-size:9px;font-weight:550;padding:2px 5px;border-radius:4px;letter-spacing:.3px}.quality-label{position:absolute;top:10px;left:10px;background:#101820c9;color:#fff;border-radius:4px;padding:3px 6px;font-size:9px}.hover-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:38px;height:38px;display:grid;place-items:center;background:#fffffff0;color:#262f35;border-radius:50%;font-size:12px;opacity:0;transition:opacity .18s}.thumbnail:hover .hover-play{opacity:1}.card-details{display:flex;align-items:flex-start;gap:10px;padding:13px 0 0}.creator-avatar{width:30px;height:30px;flex-shrink:0;background:#e5eae9;color:#596b64;border-radius:50%;display:inline-grid;place-items:center;font-size:11px;font-weight:650}.tone-1{background:#e9e2d7;color:#7a6b4c}.tone-2{background:#dde4ec;color:#506987}.tone-3{background:#f1e0d9;color:#a97662}.tone-4{background:#e1e9dc;color:#758369}.tone-5{background:#e8e0ef;color:#8b769d}.card-copy{min-width:0;flex:1}.card-copy h3{font-size:12px;line-height:1.5;font-weight:600;letter-spacing:-.1px;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.creator{display:block;font-size:10px;color:var(--muted);margin-bottom:2px}.creator:hover{color:var(--accent)}.card-copy p{font-size:9px;color:#9ba2a9;margin:0;line-height:1.6}.card-copy p>span{padding:0 3px}.verified{font-size:8px;color:#a5acb0}.card-menu{position:relative}.card-menu summary{list-style:none;width:20px;cursor:pointer;font-size:20px;line-height:1;color:#9aa1a7;border-radius:5px;padding:2px}.card-menu summary::-webkit-details-marker{display:none}.card-menu summary:hover{background:var(--surface-alt)}.card-menu[open]{z-index:20}.menu-panel{position:absolute;right:0;top:28px;width:190px;background:var(--surface);border:1px solid var(--line);padding:5px;border-radius:10px;box-shadow:var(--shadow)}.menu-panel button{display:block;width:100%;border:0;background:none;text-align:left;padding:10px;color:var(--text);font-size:11px;border-radius:6px}.menu-panel button:hover{background:var(--surface-alt)}
/* Controls and reusable surfaces. */
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:37px;padding:9px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font-size:11px;font-weight:550;white-space:nowrap}.button svg{width:15px;height:15px}.button:hover{background:var(--surface-alt);border-color:#cbd0d5}.button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.button.primary:hover{background:var(--accent-dark);border-color:var(--accent-dark)}.button.small{min-height:31px;font-size:10px;padding:6px 10px}.full{width:100%}.panel{border:1px solid var(--line);border-radius:var(--radius);padding:28px;background:var(--surface)}label{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:550;color:var(--muted);margin-bottom:18px}input,textarea,select{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:11px 12px;font-size:12px;color:var(--text);width:100%;min-width:0}input:focus,textarea:focus,select:focus{border-color:var(--accent)}textarea{min-height:100px;resize:vertical;line-height:1.6}.check{flex-direction:row;align-items:center;gap:8px}.check input{width:auto;accent-color:var(--accent)}.notice{border:1px solid #9dbda0;background:#eaf4ec;color:#386341;padding:12px 14px;border-radius:8px;font-size:12px}.notice.error{background:#fff0eb;border-color:#eec1b3;color:#9c4d35}.tag{display:inline-block;padding:3px 6px;background:var(--surface-alt);font-size:9px;color:var(--muted);border-radius:5px}.pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin:40px 0 0;color:var(--muted);font-size:11px}.empty{grid-column:1/-1;text-align:center;padding:64px 24px}.empty p{font-size:13px;color:var(--muted);max-width:430px;margin:0 auto 24px}.empty-symbol{display:inline-grid;place-items:center;width:54px;height:54px;border:1px solid var(--line);border-radius:16px;color:var(--accent);margin-bottom:20px}.empty-symbol svg{height:27px;width:27px}.page-footer{border-top:1px solid var(--line);padding:24px 38px;display:flex;justify-content:space-between;color:#a2a9af;font-size:10px}.page-footer>span{color:var(--text);font-weight:600}.page-footer>span>span{color:var(--muted);font-weight:400;margin-left:15px}
/* Watch page: player first, metadata below, recommendations alongside. */
.watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:28px}.player-shell{background:#090c0f;border-radius:14px;overflow:hidden;aspect-ratio:16/9}.player-shell video{width:100%;height:100%;display:block}.playback-controls{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:14px 0;border-bottom:1px solid var(--line)}.playback-controls label{flex-direction:row;align-items:center;gap:6px;font-size:10px;margin:0}.playback-controls select{font-size:10px;width:auto;padding:5px;background:var(--surface);min-height:30px}.playback-controls .check{margin-left:auto}.watch-title{margin:22px 0 18px}.watch-title h1{font-size:24px;letter-spacing:-.6px;line-height:1.3}.watch-title .eyebrow{font-size:9px;margin-bottom:7px}.watch-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.channel-chip{display:flex;align-items:center;gap:10px;margin-right:3px}.channel-chip .creator-avatar{width:36px;height:36px}.channel-chip strong{display:block;font-size:11px}.channel-chip small{display:block;font-size:9px;margin-top:1px}.action-spacer{flex:1}.description{padding:20px;background:var(--surface-alt);border-radius:12px;margin:22px 0 30px;font-size:12px}.description>strong{font-size:11px}.description>strong span{margin:0 6px}.description p{margin:12px 0 0;color:var(--muted);line-height:1.75}.chapter{border:0;background:none;color:var(--accent);font-size:11px;margin:10px 10px 0 0;padding:0}.comments .section-heading{margin-bottom:20px}.comments .section-heading h2{font-size:17px}.comments .section-heading>span{font-size:10px}.comment-form{display:flex;align-items:flex-end;gap:12px;margin-bottom:18px}.comment-form textarea{min-height:66px;background:var(--surface)}.comment{display:flex;gap:12px;padding:20px 0;border-bottom:1px solid var(--line)}.comment>div{flex:1}.comment strong{font-size:11px}.comment small{font-size:9px;margin-left:7px}.comment p{font-size:12px;margin:6px 0 10px}.comment summary{font-size:10px;color:var(--muted);cursor:pointer}.comment details form{margin-top:15px}.comment.reply{margin-left:36px}.related .section-heading{margin-bottom:18px}.related h2{font-size:15px}.related .video-card{display:grid;grid-template-columns:120px 1fr;gap:10px;margin-bottom:18px}.related .card-details{padding:0;gap:0}.related .creator-avatar{display:none}.related .card-menu{display:none}.related .card-copy h3{font-size:10px;line-height:1.45;margin:0 0 4px}.related .creator,.related .card-copy p{font-size:9px}.related .thumbnail{border-radius:8px}.related .duration{font-size:8px;bottom:5px;right:5px}.theater .watch-layout{display:block}.theater .player-shell{max-height:75vh;aspect-ratio:auto;height:65vh}.theater .related{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:35px}.theater .related .section-heading{grid-column:1/-1}
/* Collections, channels, and account screens. */
.channel-cover{height:210px;border-radius:16px;display:flex;align-items:flex-end;padding:25px;position:relative}.channel-cover:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#143429a0,transparent);border-radius:inherit}.channel-cover span{color:#fff;font-size:9px;letter-spacing:2px;position:relative}.channel-profile{display:flex;gap:20px;align-items:center;margin:28px 0 40px}.creator-avatar.large{width:75px;height:75px;font-size:26px}.channel-profile>div{flex:1}.channel-profile h1{font-size:28px;margin-bottom:6px}.channel-profile p{font-size:11px;color:var(--muted);margin:3px 0}.channel-profile p span{margin:0 6px}.playlist-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.playlist-tile{border-radius:14px;border:1px solid var(--line);background:var(--surface);overflow:hidden;padding-bottom:24px}.playlist-art{height:140px;background:linear-gradient(135deg,#eee4dd,#e0e9e5);display:grid;place-items:center;margin-bottom:20px;color:#7c8c84}.playlist-art svg{width:45px;height:45px}.playlist-tile h2,.playlist-tile p,.playlist-tile>span:last-child{margin:0 22px 8px}.playlist-tile h2{font-size:18px}.playlist-tile p{font-size:11px;color:var(--muted)}.playlist-tile>span:last-child{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--accent);margin-top:18px}.inline-form{display:flex;gap:20px;align-items:flex-end;margin-bottom:28px}.inline-form label:first-of-type{flex:1}.inline-form label{margin-bottom:0}.collection-row{display:flex;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.collection-row .video-card{display:grid;grid-template-columns:220px 1fr;gap:20px;flex:1}.collection-row .card-details{padding-top:10px}.collection-row .card-copy h3{font-size:15px}.row-actions{display:flex;gap:8px}.settings-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:28px;max-width:980px}.settings-grid .panel h2{font-size:21px}.settings-grid .panel>p{font-size:12px}.settings-grid h3{font-size:14px}.auth-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:70px;max-width:1030px;margin:35px auto}.auth-story{padding-top:30px}.auth-story h1{font-size:38px;line-height:1.16;letter-spacing:-1.4px;margin-bottom:20px}.auth-story>p{max-width:330px;font-size:13px;color:var(--muted)}.auth-image{aspect-ratio:16/10;border-radius:18px;margin-top:32px}.auth-form{padding:36px}.auth-form h2{font-size:27px;margin:10px 0}.auth-form>p{font-size:12px;color:var(--muted)}.auth-form form{margin-top:26px}.auth-switch{text-align:center;margin-top:24px}.auth-switch a{color:var(--accent);font-weight:550}.auth-form>.subtle-link{justify-content:center;width:100%}.notification{display:flex;align-items:center;gap:20px;padding:22px;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;background:var(--surface)}.notification.unread{border-left:3px solid var(--accent)}.notification>a{flex:1}.notification strong{font-size:13px}.notification small{display:block;margin-top:5px}.shorts-feed{height:calc(100dvh - 190px);overflow:auto;scroll-snap-type:y mandatory;scrollbar-width:none;max-width:620px;margin:auto}.short-slide{height:calc(100dvh - 190px);scroll-snap-align:start;position:relative;padding-bottom:16px;display:flex;justify-content:center}.short-frame{height:100%;aspect-ratio:9/16;border-radius:16px;overflow:hidden;background:#080b0e;position:relative}.short-frame video{height:100%;width:100%;object-fit:contain}.short-copy{position:absolute;bottom:48px;left:20px;right:20px;color:white;background:linear-gradient(0deg,#0008,transparent);padding:10px;border-radius:8px}.short-copy h2{font-size:18px;margin-bottom:7px}.short-copy a{font-size:11px}.short-more{display:flex;justify-content:center;margin:18px}.upload-zone{border:1px dashed #c3cbd0;padding:35px;border-radius:14px;background:var(--surface);max-width:700px}.upload-zone h2{font-size:24px}.upload-zone p{font-size:12px;color:var(--muted)}progress{width:100%;height:10px;accent-color:var(--accent)}.status-table{width:100%;border-collapse:collapse;background:var(--surface);font-size:12px}.status-table th,.status-table td{text-align:left;padding:15px;border-bottom:1px solid var(--line)}.status-table th{font-size:10px;color:var(--muted);font-weight:550}
.queue-toggle{position:fixed;right:26px;bottom:22px;background:var(--text);color:var(--surface);border:0;display:flex;align-items:center;gap:9px;border-radius:11px;padding:11px 15px;box-shadow:0 6px 22px #0002;font-size:10px;z-index:30}.queue-toggle svg{height:16px;width:16px}.queue-toggle>span:last-child{background:#ffffff18;padding:1px 5px;border-radius:4px}dialog{border:1px solid var(--line);border-radius:18px;padding:28px;background:var(--surface);color:var(--text);width:min(460px,calc(100vw - 32px));max-height:80vh;box-shadow:0 25px 90px #0003}dialog::backdrop{background:#14212a6b;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.dialog-heading h2{margin:0}.dialog-heading .eyebrow{margin-bottom:5px}.queue-row{display:flex;gap:14px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}.queue-row>a{flex:1;font-size:12px}.queue-row small{display:block}.queue-row .icon-button{flex-shrink:0}#toast{position:fixed;left:calc(var(--sidebar) + 30px);bottom:22px;max-width:calc(100vw - var(--sidebar) - 60px);z-index:100;background:var(--text);color:var(--surface);padding:14px 20px;border-radius:10px;font-size:12px;box-shadow:0 5px 30px #0002}
@media(min-width:1700px){.video-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.featured-film{min-height:370px}.featured-layout{grid-template-columns:1.65fr 1fr}.shortlist-item{padding:21px 0}.card-copy h3{font-size:14px}.creator{font-size:11px}.card-copy p{font-size:10px}}
@media(max-width:1200px){:root{--sidebar:205px}.sidebar{padding-left:13px;padding-right:13px}.topbar{padding:0 28px}.top-actions{gap:12px}main{padding:30px 28px 60px}.featured-layout{grid-template-columns:1.25fr 1fr;gap:18px}.featured-film{padding:22px;min-height:305px}.feature-copy h2{font-size:24px}.shortlist{padding:21px 16px 8px}.shortlist-item{grid-template-columns:15px 60px 1fr;gap:10px;padding:15px 0}.shortlist-image{width:60px;height:52px}.video-grid{gap:26px 18px}.watch-layout{grid-template-columns:minmax(0,1fr) 255px;gap:20px}.related .video-card{grid-template-columns:100px 1fr}.auth-layout{gap:35px}.auth-form{padding:26px}.date-label{display:none}.topbar .create-button{display:none}}
@media(max-width:980px){:root{--sidebar:76px}.sidebar{padding:28px 10px 20px}.brand{margin:0 auto 35px;font-size:0}.brand-mark{font-size:28px;margin:0}.brand-point,.sidebar .nav-label,.sidebar .nav-item>span,.creator-note,.sidebar-foot{display:none}.sidebar .nav-item{font-size:0;justify-content:center;padding:13px 5px}.nav-rule{margin:20px 5px}.sidebar-bottom{padding-top:20px}.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-layout{grid-template-columns:1.3fr 1fr}.page-heading h1{font-size:30px}.featured-film{min-height:305px}.watch-layout{grid-template-columns:1fr}.related{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.related .section-heading{grid-column:1/-1}.related .video-card{grid-template-columns:140px 1fr}.related .card-copy h3{font-size:12px}.settings-grid{gap:20px}.playlist-grid{grid-template-columns:repeat(2,1fr)}.topbar{height:76px}.auth-layout{margin:10px auto}.auth-story h1{font-size:30px}}
@media(max-width:720px){.featured-layout{grid-template-columns:1fr}.shortlist{display:none}.featured-film{min-height:310px}.auth-layout{grid-template-columns:1fr;max-width:470px;gap:20px}.auth-story{display:none}.settings-grid{grid-template-columns:1fr}.channel-profile{flex-wrap:wrap}.collection-row .video-card{grid-template-columns:150px 1fr;gap:12px}.collection-row{gap:10px}.collection-row .creator-avatar{display:none}}
@media(max-width:540px){:root{--sidebar:0px}.sidebar{transform:translateX(-100%);width:232px;transition:transform .22s ease}.sidebar.open{transform:translateX(0);box-shadow:20px 0 80px #0005}.sidebar.open .brand{font-size:34px;margin:0 14px 35px}.sidebar.open .brand-mark{margin-right:10px}.sidebar.open .brand-point,.sidebar.open .nav-label,.sidebar.open .nav-item>span,.sidebar.open .creator-note,.sidebar.open .sidebar-foot{display:block}.sidebar.open .nav-item{font-size:12px;justify-content:flex-start;padding:12px 16px}.workspace{margin-left:0}.topbar{height:68px;padding:0 18px;gap:14px;position:sticky;top:0;z-index:35}.mobile-menu{display:inline-flex}.search{max-width:none;flex:1;width:auto;gap:8px}.search svg{width:17px}.search input{font-size:11px}.search kbd,.top-separator,.top-actions>.icon-button:first-child{display:none}.top-actions{gap:7px}.top-actions .button{padding:8px 10px;font-size:10px;min-height:33px}.top-actions .button svg{display:none}.user-avatar{height:31px;width:31px}.top-actions .icon-button{width:28px;padding:5px}.topbar .search input::placeholder{color:transparent}.topbar .search:focus-within input::placeholder{color:var(--muted)}main{padding:26px 18px 70px}.page-heading{margin-bottom:21px;gap:12px}.page-heading h1{font-size:27px;letter-spacing:-.8px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.3px}.page-heading p{font-size:11px;max-width:300px}.feed-controls{gap:10px;margin-bottom:22px}.topics{gap:6px}.topic{font-size:10px;padding:7px 11px}.filters summary{font-size:10px;gap:5px}.filters summary svg{width:13px}.featured-film{min-height:280px;border-radius:13px;padding:20px}.featured-layout{margin-bottom:28px}.feature-copy h2{font-size:25px}.feature-copy p{font-size:10px}.feature-copy .feature-category{font-size:8px}.feature-watch{font-size:10px}.video-grid{grid-template-columns:1fr;gap:26px}.section-heading{margin-bottom:18px}.section-heading h2{font-size:18px}.section-heading p{font-size:10px}.section-heading>.subtle-link{font-size:9px;gap:3px}.card-copy h3{font-size:14px}.creator{font-size:11px}.card-copy p{font-size:10px}.creator-avatar{height:33px;width:33px}.thumbnail{border-radius:11px}.card-details{padding-top:12px}.duration{font-size:10px}.watch-title h1{font-size:22px}.player-shell{border-radius:11px}.playback-controls{gap:8px}.playback-controls .check{margin-left:0}.watch-actions{gap:8px}.watch-actions .button{font-size:10px;padding:8px 10px}.action-spacer{display:none}.watch-actions .channel-chip{flex:1}.description{padding:17px;font-size:11px}.related{display:block}.related .video-card{grid-template-columns:145px 1fr;gap:12px}.related .card-copy h3{font-size:12px}.related .creator,.related .card-copy p{font-size:10px}.comment-form{display:block}.comment-form .button{margin-top:8px}.panel{padding:22px}.auth-form h2{font-size:25px}.auth-form{padding:26px}.channel-cover{height:150px}.channel-profile{gap:13px}.channel-profile .large{height:55px;width:55px;font-size:20px}.channel-profile h1{font-size:23px}.channel-profile p{font-size:10px}.channel-profile>div{min-width:180px}.playlist-grid{grid-template-columns:1fr}.inline-form{display:block}.inline-form label{margin-bottom:14px}.collection-row>.rank{display:none}.collection-row .video-card{grid-template-columns:120px 1fr}.collection-row .card-copy h3{font-size:12px}.collection-row .card-copy p{display:none}.collection-row .card-menu{display:none}.row-actions{gap:0;flex-direction:column}.page-footer{padding:22px 18px 80px;font-size:9px}.page-footer>span>span{margin-left:6px}.queue-toggle{right:16px;bottom:17px;font-size:10px}#toast{left:16px;bottom:70px;max-width:calc(100vw - 32px)}.shorts-feed,.short-slide{height:calc(100dvh - 145px)}.short-frame{max-width:100%}.theater .player-shell{height:40vh}.theater .related{display:block}.notification{padding:17px;gap:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}.thumbnail:hover img{transform:none}}
/* Shared readable sizing and consistent rhythm across viewer pages. */
.card-copy h3{font-size:15px;line-height:1.45}.creator,.card-copy p{font-size:12px;line-height:1.6}.page-heading p,.section-heading p{font-size:14px}.topic{font-size:13px}.eyebrow{font-size:10px}.panel+.panel{margin-top:24px}.panel form{display:grid;gap:18px}.panel form label{display:grid;gap:8px}.panel form .check{display:flex}.panel code{display:block;overflow-wrap:anywhere;margin:18px 0}.shorts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1100px}.short-card{min-width:0}.short-player{width:100%;aspect-ratio:9/16;object-fit:contain;background:#111;border-radius:16px}.short-card h2{font-size:17px;margin:14px 0 6px}.short-card p{font-size:13px;color:var(--muted)}progress{width:100%;height:12px;accent-color:var(--accent)}.notification{flex-wrap:wrap}.notification small{overflow-wrap:anywhere}.description p{font-size:14px;line-height:1.75}.comment p{font-size:14px;line-height:1.7}.shortlist-image{flex-shrink:0}.filters form{z-index:10}.settings-grid{align-items:start}
@media(max-width:760px){.shorts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topic{font-size:12px}.page-heading p,.section-heading p{font-size:13px}.creator,.card-copy p{font-size:12px}.playback-controls select{min-height:38px}.button{min-height:40px}.topbar .icon-button{min-height:40px}.top-actions{gap:8px}}
@media(max-width:540px){.shorts-grid{grid-template-columns:1fr;max-width:400px;margin:auto}.feature-copy p{font-size:12px}.feature-watch{font-size:12px}.card-copy h3{font-size:15px}.related .creator,.related .card-copy p{font-size:12px}.watch-actions .button{font-size:12px}.description{font-size:13px}.collection-row .video-card{grid-template-columns:100px 1fr}.collection-row .card-copy h3{font-size:13px}}
.setup-page{background:radial-gradient(ellipse at top right,#fff1e8,transparent 55%),#f6f7f8}.setup-shell{max-width:1180px;margin:auto;padding:48px 28px}.setup-brand{display:inline-block;font-size:38px;font-weight:850;letter-spacing:-2px;margin-bottom:38px}.setup-brand span{color:var(--accent)}.setup-grid{display:grid;grid-template-columns:320px 1fr;gap:28px;align-items:start}.setup-grid .panel{margin:0}.setup-grid form,.settings-grid>form{display:grid;gap:20px}.setup-grid label,.settings-grid>form label{display:grid;gap:7px}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.requirement{display:flex;align-items:center;gap:12px}.requirement span{display:grid;place-items:center;background:#e5f4ec;color:#246b4a;border-radius:50%;width:24px;height:24px;flex-shrink:0}.setup-grid aside p{font-size:13px}.setup-grid fieldset{border:1px solid var(--line);border-radius:12px;padding:20px}.setup-grid fieldset label+label{margin-top:14px}.announcement{border:1px solid #f1d6c8;background:#fff1e9;color:#85422b;padding:14px 20px;border-radius:12px;margin-bottom:24px;font-size:14px}.continue-shelf{margin-top:36px;border-top:1px solid var(--line);padding-top:32px}.report-panel{margin-top:28px;max-width:720px;color:var(--muted)}.report-panel summary{cursor:pointer;font-size:13px}.report-panel .panel{margin-top:12px}.moderation-row{padding:22px 0;border-top:1px solid var(--line)}.moderation-row p{max-width:900px;overflow-wrap:anywhere}.settings-grid{margin-top:24px;margin-bottom:24px}.setup-shell .panel .button{margin-top:10px}body.dark .announcement{background:#382b24;color:#f3c7af;border-color:#6a4d3d}
@media(max-width:800px){.setup-grid{grid-template-columns:1fr}.setup-grid aside{order:0}.setup-shell{padding:28px 18px}.form-columns{grid-template-columns:1fr}.setup-brand{margin-bottom:24px}}
/* Layered depth: quiet surfaces, clear separation and a gentle hover lift. */
:root{--shadow-soft:0 2px 5px rgb(24 35 44 / 3%),0 12px 30px rgb(24 35 44 / 6%);--shadow-raised:0 4px 12px rgb(24 35 44 / 5%),0 22px 48px rgb(24 35 44 / 11%);--shadow-float:0 8px 24px rgb(24 35 44 / 10%),0 30px 70px rgb(24 35 44 / 15%)}
body{background:radial-gradient(ellipse at 90% 0%,rgb(242 103 72 / 4%),transparent 42%),var(--paper)}
body.dark{--shadow-soft:0 2px 8px rgb(0 0 0 / 14%),0 14px 32px rgb(0 0 0 / 18%);--shadow-raised:0 4px 14px rgb(0 0 0 / 22%),0 24px 50px rgb(0 0 0 / 28%);--shadow-float:0 10px 30px rgb(0 0 0 / 28%),0 30px 70px rgb(0 0 0 / 36%)}
.topbar{box-shadow:0 3px 18px rgb(24 35 44 / 4%)}.sidebar{box-shadow:7px 0 30px rgb(13 20 25 / 7%)}
.panel,.playlist-tile,.shortlist,.description,.auth-form{box-shadow:var(--shadow-soft)}
.video-grid>.video-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:visible;box-shadow:var(--shadow-soft);transition:box-shadow .22s ease,transform .22s ease}
.video-grid>.video-card>.thumbnail{border-radius:15px 15px 0 0;overflow:hidden}.video-grid>.video-card>.card-details{padding:15px 14px 17px}
.featured-film,.player-shell,.channel-cover,.short-player{box-shadow:var(--shadow-raised)}
.menu-panel,.filters form,dialog,.queue-toggle{box-shadow:var(--shadow-float)}
.search{box-shadow:inset 0 1px 3px rgb(24 35 44 / 3%)}.search:focus-within{box-shadow:0 0 0 3px rgb(242 103 72 / 10%),var(--shadow-soft)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.video-grid>.video-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-raised)}.playlist-tile:hover{box-shadow:var(--shadow-raised)}}
@media(max-width:540px){.video-grid>.video-card>.card-details{padding:13px 12px 15px}.video-grid>.video-card{border-radius:13px}.video-grid>.video-card>.thumbnail{border-radius:12px 12px 0 0}}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.metric-grid .panel{margin:0}.metric-grid h2{font-size:32px;margin:12px 0 0}.content-table{width:100%;border-collapse:collapse;text-align:left}.content-table td,.content-table th{padding:16px 12px;border-bottom:1px solid var(--line)}.content-table td small{display:block;color:var(--muted);margin-top:5px}.table-scroll{overflow:auto}.community-layout{display:grid;grid-template-columns:minmax(260px,350px) minmax(0,1fr);gap:28px;align-items:start}.community-compose{position:sticky;top:105px}.community-compose,.community-compose label{display:grid;gap:15px}.community-body{font-size:16px;white-space:normal;overflow-wrap:anywhere}.poll-option{display:flex;justify-content:space-between;gap:12px;text-align:left;width:100%;border:1px solid var(--line);background:var(--surface-alt);color:var(--text);border-radius:10px;padding:14px 16px;margin:10px 0;cursor:pointer}.poll-option:hover{border-color:var(--accent)}.upload-actions{display:flex;gap:12px}.community-feed .panel:first-child{margin-top:0}.sidebar{overflow-y:auto}.sidebar-bottom{margin-top:24px}
@media(max-width:900px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.community-layout{grid-template-columns:1fr}.community-compose{position:static}}@media(max-width:540px){.metric-grid{gap:12px}.metric-grid .panel{padding:18px}.metric-grid h2{font-size:25px}.content-table td,.content-table th{padding:12px 8px}}
.playlist-settings,.playlist-playback{margin-top:28px;max-width:900px}.playlist-settings>button{margin-top:22px}.playlist-playback ol{padding-left:24px}.playlist-playback li{padding:10px 4px}.playlist-playback [aria-current]{font-weight:700;color:var(--accent)}

.transcript{margin-top:24px}.transcript-cues{max-height:380px;overflow:auto;display:grid;gap:4px}.transcript-cue{display:grid;grid-template-columns:64px 1fr;gap:12px;text-align:left;padding:12px;background:transparent;color:inherit;border:1px solid transparent;border-radius:10px;cursor:pointer;font:inherit}.transcript-cue:hover,.transcript-cue:focus-visible{background:var(--surface);border-color:currentColor}.transcript-cue span:first-child{font-variant-numeric:tabular-nums;opacity:.65}
.live-video{display:block;width:100%;aspect-ratio:16/9;background:#111;border-radius:14px}.live-chat{height:360px;overflow:auto;overscroll-behavior:contain}.live-message{padding:12px 0;border-bottom:1px solid var(--line)}.live-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.live-message .button{margin-right:6px}.live-video:focus-visible{outline:3px solid currentColor}

/* Creator artwork */
.channel-cover{position:relative;overflow:hidden}.channel-banner-image{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.creator-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.artwork-preview{display:block;width:min(100%,480px);max-height:270px;object-fit:contain;border-radius:12px;margin:16px 0}.artwork-panel form+form{margin-top:12px}

.timed-video-links{display:flex;flex-wrap:wrap;gap:8px;margin-block:12px}.timed-video-links [hidden]{display:none}.analytics-chart progress{width:100%}

/* Controls travel with the video into container fullscreen. */
.custom-player{position:relative;isolation:isolate;color:#fff}
.custom-player video{object-fit:contain;background:#090c0f}
.video-toolbar{position:absolute;inset:auto 0 0;padding:32px 14px 12px;background:linear-gradient(transparent,rgba(0,0,0,.88));opacity:0;pointer-events:none;transition:opacity .18s;z-index:3}
.controls-visible .video-toolbar,.custom-player:has(:focus-visible) .video-toolbar{opacity:1;pointer-events:auto}
.video-buttons{display:flex;align-items:center;gap:10px}
.video-toolbar button{background:transparent;color:white;border:0;border-radius:6px;min-width:40px;min-height:40px;padding:6px;font-size:14px}
.video-toolbar button:hover{background:#ffffff26}
.video-control-space{flex:1}.video-time{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.video-toolbar .video-seek{display:block;width:100%;height:16px;margin:0 0 4px;padding:0;accent-color:#f18465;cursor:pointer}
.video-toolbar .video-volume{width:70px;min-width:0;padding:0;height:20px;accent-color:#f18465}
.custom-player .video-settings{position:absolute;right:12px;bottom:88px;width:min(310px,calc(100% - 24px));max-height:calc(100% - 104px);overflow:auto;margin:0;padding:16px;display:grid;gap:12px;background:#171d24f5;color:white;border:1px solid #ffffff30;border-radius:12px;box-shadow:0 8px 28px #0008;z-index:4}
.custom-player .video-settings[hidden]{display:none}
.custom-player .video-settings label{display:flex;justify-content:space-between;gap:12px;color:white;font-size:13px;margin:0}
.custom-player .video-settings select{background:#29313d;color:white;border-color:#ffffff40;font-size:12px;max-width:190px}
.custom-player .video-settings .button{background:#29313d;color:white;border-color:#ffffff40}
.custom-player .video-settings .check{margin:0}
.custom-player :focus-visible{outline:2px solid #ffc39e;outline-offset:2px}
.custom-player:fullscreen{width:100vw;height:100vh;aspect-ratio:auto;border-radius:0}
.custom-player:-webkit-full-screen{width:100vw;height:100vh;aspect-ratio:auto;border-radius:0}
@media(max-width:600px){.video-toolbar{padding:24px 8px 6px}.video-buttons{gap:3px}.video-toolbar .video-volume{display:none}.video-toolbar button{font-size:12px}.video-time{font-size:10px}.custom-player .video-settings{bottom:70px;max-height:calc(100% - 78px);padding:10px;gap:8px}}
@media(prefers-reduced-motion:reduce){.video-toolbar{transition:none}}

/* Compact playback popover with a single focused options view. */
.custom-player .video-settings{width:min(320px,calc(100% - 24px));padding:6px;gap:0;border-radius:16px;background:rgba(23,27,32,.96);border:1px solid #ffffff18;box-shadow:0 16px 48px #0007,0 2px 6px #0003;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);scrollbar-width:thin;scrollbar-color:#ffffff35 transparent;animation:settings-reveal .18s ease-out;transform-origin:bottom right}
.settings-page{min-width:0}.settings-heading{display:flex;align-items:center;gap:8px;padding:4px 8px 8px;border-bottom:1px solid #ffffff12;margin-bottom:4px}
.settings-heading strong{font-size:12px;font-weight:600;letter-spacing:.2px;flex:1;color:#cdd1d7}
.custom-player .settings-dismiss,.custom-player .settings-back{border:0;background:none;color:#cdd1d7;font-size:22px;width:30px;height:30px;border-radius:8px;padding:0;line-height:1}
.custom-player .settings-dismiss:hover,.custom-player .settings-back:hover{background:#ffffff12;color:#fff}
.custom-player .settings-row{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;border:0;border-radius:9px;padding:8px 10px;background:none;color:#f4f5f7;text-align:left;font-size:12px;font-weight:500;transition:background .15s}
.custom-player .settings-row:hover,.custom-player .settings-option:hover{background:#ffffff0f}
.settings-symbol{width:20px;flex-shrink:0;text-align:center;color:#bec5ce;font-size:16px}.settings-value{margin-left:auto;color:#aab3c0;font-size:11px;max-width:125px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-chevron{color:#858e9d;font-size:18px}
.custom-player .settings-autoplay{border-top:1px solid #ffffff12;border-radius:0;margin-top:4px;padding-left:12px}
.settings-switch{margin-left:auto;width:28px;height:16px;background:#535b68;border-radius:20px;position:relative;transition:background .18s}.settings-switch:after{content:'';position:absolute;top:3px;left:3px;width:10px;height:10px;border-radius:50%;background:#fff;transition:transform .18s}.settings-autoplay[aria-checked=true] .settings-switch{background:#e77859}.settings-autoplay[aria-checked=true] .settings-switch:after{transform:translateX(12px)}
.settings-footer{display:flex;gap:6px;padding:7px 6px 4px;border-top:1px solid #ffffff12}
.custom-player .settings-action{flex:1;background:#ffffff08;border:0;border-radius:8px;color:#bdc6d1;padding:8px;font-size:11px}.custom-player .settings-action:hover{background:#ffffff14;color:white}
.settings-options{padding:2px}.custom-player .settings-option{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:38px;padding:8px 12px;background:none;border:0;color:#dce0e7;border-radius:8px;font-size:12px;text-align:left}.custom-player .settings-option[aria-checked=true]{background:#e7785918;color:#ffb198}.settings-option span{color:#ffb198}.custom-player .video-settings button:disabled{opacity:.4;cursor:not-allowed}
@keyframes settings-reveal{from{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.custom-player .video-settings{animation:none}.settings-switch,.settings-switch:after,.custom-player .settings-row{transition:none}}
.custom-player{container-type:inline-size}
@container (max-width:600px){.custom-player .video-settings{bottom:8px;right:8px;max-height:calc(100% - 16px);width:min(286px,calc(100% - 16px))}.custom-player .settings-row{min-height:34px;padding:6px 8px}.settings-heading{padding-bottom:4px}.settings-footer{padding-top:4px}.custom-player .settings-action{padding:6px}}

/* Watch experience: generous picture, quiet surfaces and legible recommendations. */
.watch-page{max-width:1680px;margin:0 auto}
.watch-breadcrumb{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin:0 0 20px}
.watch-breadcrumb>a:first-child{color:var(--text)}.watch-explore{margin-left:auto;font-size:11px}
.watch-page .watch-layout{grid-template-columns:minmax(0,1fr) 310px;gap:32px;align-items:start}
.watch-main{min-width:0}.watch-page .player-shell{border-radius:20px;box-shadow:0 16px 48px #10172020,0 0 0 1px #ffffff14}
.watch-page #player-status:empty,.watch-page .timed-video-links:not(:has(a:not([hidden]))){display:none}
.watch-page .watch-title{margin:24px 0 18px}.watch-page .watch-title h1{font-size:clamp(22px,2.2vw,32px);font-weight:650;line-height:1.25;letter-spacing:-.8px;margin:12px 0 0;text-wrap:balance}
.watch-category{display:inline-flex;padding:5px 9px;border:1px solid var(--line);border-radius:6px;font-size:9px!important;letter-spacing:1.1px;background:var(--surface)}
.watch-page .watch-actions{padding:0 0 22px;gap:10px;border-bottom:1px solid var(--line)}
.watch-page .channel-chip{gap:10px;margin-right:6px}.watch-page .channel-chip .creator-avatar{height:42px;width:42px;background:linear-gradient(145deg,#f7d8cb,#cddbd5);color:#4c5b56;font-size:17px}
.watch-page .channel-chip strong{font-size:14px}.watch-page .channel-chip small{font-size:11px;margin-top:4px}
.watch-page .watch-actions>.button{border-radius:22px;min-height:38px;padding:9px 15px;font-size:12px;box-shadow:none}.watch-page .watch-actions>.primary{background:var(--text);color:var(--surface);border-color:var(--text)}
.watch-page .watch-actions>.button:not(.primary){background:var(--surface);border-color:var(--line)}
.watch-page .description{background:var(--surface);border:1px solid var(--line);padding:22px 24px;border-radius:16px;margin:22px 0 30px;box-shadow:0 4px 18px #00000003}
.watch-kicker{display:block;font-size:9px;font-weight:650;letter-spacing:1.5px;color:var(--muted);margin-bottom:10px}
.watch-page .description>strong{font-size:12px;display:block}.watch-page .description p{font-size:14px;line-height:1.85;overflow-wrap:anywhere}.watch-page .chapter{padding:7px 10px;background:var(--surface-alt);border-radius:7px;font-size:12px}
.watch-page .comments{padding:0 0 24px}.watch-page .comments .section-heading{padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:18px}.watch-page .comments .section-heading h2{font-size:19px;letter-spacing:-.3px}.watch-page .comments .section-heading>span{font-size:11px}
.watch-page .comment-form{align-items:flex-end;flex-wrap:wrap;border:1px solid var(--line);border-radius:16px;padding:14px;background:var(--surface)}
.watch-page .comment-form textarea{flex:1 1 240px;background:transparent;border:0;resize:vertical;min-height:70px;font-size:14px;padding:8px;box-shadow:none}.watch-page .comment-form>.button{border-radius:20px;min-height:36px;padding:9px 18px;font-size:12px}
.watch-page .comment strong{font-size:13px}.watch-page .comment small{font-size:11px}.watch-page .comment p{font-size:14px}
.watch-page .related{display:block;padding:18px 0 0;border-top:2px solid var(--line)}.watch-page .related .section-heading{align-items:center;margin-bottom:20px}.watch-page .related h2{font-size:19px;letter-spacing:-.4px}.watch-page .related .watch-kicker{font-size:8px;margin-bottom:6px}.watch-page .related .section-heading>a{font-size:20px;color:var(--muted)}
.watch-page .related .video-card{display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;padding:0 0 15px;margin:0 0 15px;border-bottom:1px solid var(--line);align-items:start}
.watch-page .related .thumbnail{border-radius:10px}.watch-page .related .card-copy h3{font-size:12px;line-height:1.5;-webkit-line-clamp:2;margin-bottom:6px}.watch-page .related .creator,.watch-page .related .card-copy p{font-size:10px;line-height:1.6}.watch-page .related .card-copy{min-width:0}.watch-page .related .duration{font-size:9px}
.watch-extras{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:20px}.watch-extras .report-panel{margin:0;border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:12px 16px;font-size:12px}.watch-extras .report-panel>summary{cursor:pointer;color:var(--muted);font-weight:550}.watch-extras .panel{margin:14px 0 0;box-shadow:none}.watch-extras .transcript,.watch-extras .playlist-playback{margin-top:10px}
.watch-layout.theater{grid-template-columns:1fr}.watch-layout.theater .player-shell{max-height:80vh;aspect-ratio:16/9}.watch-layout.theater .related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.watch-layout.theater .related .section-heading{grid-column:1/-1}
@media(max-width:1199px){.watch-page .watch-layout{grid-template-columns:1fr}.watch-page .related{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}.watch-page .related .section-heading{grid-column:1/-1;margin-bottom:4px}.watch-page .related .video-card{margin:0}}
@media(max-width:600px){.watch-breadcrumb{font-size:11px;margin-bottom:14px}.watch-explore{display:none}.watch-page .player-shell{border-radius:14px}.watch-page .watch-title{margin-top:18px}.watch-page .watch-title h1{font-size:22px}.watch-page .watch-actions{gap:8px}.watch-page .watch-actions .channel-chip{flex:1 1 55%}.watch-page .watch-actions>.button{font-size:12px;padding:8px 13px}.watch-page .description{padding:18px}.watch-page .related,.watch-layout.theater .related{display:block}.watch-page .related .video-card{grid-template-columns:140px minmax(0,1fr);margin-bottom:15px}.watch-page .related .section-heading{margin-bottom:20px}.watch-page .comment-form{display:flex}.watch-page .comments .section-heading>span{font-size:10px}.watch-page .comment-form textarea{flex-basis:100%}}
.watch-page .player-shell:fullscreen,.watch-page .player-shell:-webkit-full-screen{border-radius:0;box-shadow:none}
/* Discovery, creators and operational feedback share the watch-page rhythm. */
.discovery-page{max-width:1560px;margin:auto}.discovery-tabs,.channel-tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:28px;overflow:auto;white-space:nowrap}.discovery-tabs a,.channel-tabs a{padding:0 0 14px;color:var(--muted);font-size:14px}.discovery-tabs [aria-current],.channel-tabs [aria-current]{color:var(--text);border-bottom:2px solid var(--accent);font-weight:650}.discovery-tabs .discovery-personalize{margin-left:auto;font-size:11px}
.discovery-page .page-heading h1{font-size:clamp(28px,3vw,42px);letter-spacing:-1.2px}.discovery-page .date-label{display:none}.discovery-page .featured-layout{gap:24px;margin:26px 0 36px}.discovery-page .featured-film{border-radius:20px;min-height:330px}.discovery-page .shortlist{border-radius:20px;box-shadow:none;background:var(--surface);border:1px solid var(--line)}.discovery-page .video-grid{gap:28px 22px}.discovery-page .video-card{box-shadow:0 5px 18px #00000005;border-radius:16px}.discovery-page .topics{padding-bottom:4px}.discovery-page .topic{border-radius:20px}.discovery-page .continue-shelf{padding:22px;background:var(--surface-alt);border:1px solid var(--line);border-radius:18px;margin:28px 0}.discovery-page .continue-shelf .video-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.discovery-page .filters form{max-height:70vh;overflow:auto}
.creator-page{max-width:1480px;margin:auto}.creator-page .channel-cover{border-radius:20px}.creator-page .channel-profile{padding:26px 0}.creator-page .channel-profile h1{letter-spacing:-.8px}.creator-page .channel-profile .primary{border-radius:24px}.channel-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:20px;margin-bottom:30px;align-items:center}.channel-feature img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px}.channel-feature h2{font-size:24px;line-height:1.25}.channel-feature p{font-size:13px;color:var(--muted);line-height:1.7}.channel-sort{display:flex;gap:8px}.channel-sort a{padding:7px 12px;border-radius:18px;background:var(--surface);font-size:12px}.channel-sort [aria-current]{background:var(--text);color:var(--surface)}.channel-about{line-height:1.8;overflow-wrap:anywhere}.channel-playlist{padding-top:25px}.channel-playlist>svg{width:36px;margin:0 22px 20px}
.processing-progress{display:grid;gap:8px;width:100%;padding:12px;background:var(--surface-alt);border-radius:10px;font-size:12px}.processing-progress[hidden]{display:none}.processing-progress small{color:var(--muted)}.upload-transfer{font-variant-numeric:tabular-nums;font-size:12px;color:var(--muted)}
.custom-player .video-status{position:absolute;top:12px;left:12px;right:12px;margin:0;padding:9px 12px;background:#151b24df;color:white;border-radius:8px;z-index:5;font-size:12px;pointer-events:none}.custom-player .video-status:empty{display:none}.decoded-quality{font-size:10px;color:#ddd;white-space:nowrap}.seek-preview{position:absolute;bottom:88px;transform:translateX(-50%);background:#14191ff2;border:1px solid #ffffff26;border-radius:9px;padding:4px;z-index:5;pointer-events:none;text-align:center;color:white;font-size:12px}.seek-preview[hidden]{display:none}.seek-preview-image{width:160px;height:90px;border-radius:5px}.seek-preview>span{display:block;padding:3px}.player-shortcuts{font-size:11px;color:var(--muted);line-height:1.7}
.ops-health{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.ops-health .panel{margin:0}.ops-health strong{font-size:22px;display:block}.storage-meter{width:100%;accent-color:var(--accent)}
@media(max-width:720px){.discovery-tabs{gap:18px}.discovery-tabs .discovery-personalize{display:none}.discovery-page .continue-shelf .video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.channel-feature{grid-template-columns:1fr;gap:16px}.channel-tabs{gap:20px}.creator-page .channel-cover{border-radius:14px}.ops-health{grid-template-columns:1fr}.decoded-quality{display:none}.custom-player .video-settings button{min-height:40px}.watch-page .watch-actions .button,.channel-sort a{min-height:40px}.discovery-page .filters form{width:min(310px,calc(100vw - 40px));right:0}.discovery-page .continue-shelf{padding:14px}.channel-feature h2{font-size:21px}}
