@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#0c0e16;--surface:#141722;--surface2:#1d2130;--border:#242838;--text:#f5f6fa;--muted:#a4adbd;--accent:#f1cb4f;--primary:#efc64b;--cyan:#4de4c7;--danger:#ff7390;--sidebar:232px;--header:76px;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px Manrope,system-ui,-apple-system,sans-serif;line-height:1.5}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0;color:inherit;background:none}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}button[hidden],[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}svg{width:22px;height:22px;flex-shrink:0;display:block}.app{min-height:100dvh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);grid-template-rows:var(--header) 1fr}.topbar{grid-column:1/-1;position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:24px;padding:0 28px 0 22px;background:#0c0e16f5;backdrop-filter:blur(16px);border-bottom:1px solid var(--border)}.topbrand{display:flex;align-items:center;gap:16px;min-width:186px}.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:29px;letter-spacing:-1.7px}.brand-accent{color:#ffe18a}.brand b{color:var(--cyan)}.brand-emblem{height:36px;width:36px;display:flex;gap:3px;justify-content:center;align-items:center;transform:rotate(-14deg);background:#f3c64d;border-radius:11px;box-shadow:0 4px 22px #efc64b3a}.brand-emblem i{display:block;width:5px;background:#141222;border-radius:5px;transform:skew(0,-13deg)}.brand-emblem i:nth-child(1){height:12px}.brand-emblem i:nth-child(2){height:22px}.brand-emblem i:nth-child(3){height:16px}.icon-button{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;color:var(--muted);padding:0;flex-shrink:0}.icon-button:hover{background:var(--surface2);color:var(--text)}.searchbar{display:flex;align-items:center;gap:12px;border:1px solid #2b3040;background:#171b26;border-radius:13px;padding:0 7px 0 14px;margin:auto;max-width:545px;width:100%;height:46px;color:var(--muted)}.searchbar:focus-within{border-color:var(--primary)}.searchbar input{min-width:0;width:100%;border:0;background:transparent;outline:0;color:var(--text);font-size:14px}.searchbar input:focus-visible{outline:0}.search-submit{background:#262b3a;border:1px solid #333949;padding:7px 13px;border-radius:8px;font-size:13px;color:#ecedf9;font-weight:700}.header-actions{display:flex;align-items:center;gap:14px}.create-btn,.primary{background:var(--primary);color:#0e0b22;font-weight:800;border-radius:11px;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;transition:background .2s,transform .2s}.create-btn:hover,.primary:hover{background:#f6d56e;transform:translateY(-1px)}.create-btn svg,.primary svg{width:19px;height:19px}.account-button{display:flex;align-items:center;gap:9px;font-weight:700;white-space:nowrap;padding:0}.avatar{display:inline-grid;place-items:center;flex-shrink:0;border-radius:50%;width:46px;height:46px;background:linear-gradient(150deg,#423a25,#a78022);color:#fff1c6;font-size:17px;font-weight:800;border:1px solid #ffffff24;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.small{width:36px;height:36px;font-size:13px}.sidebar{grid-row:2;position:sticky;top:var(--header);height:calc(100dvh - var(--header));border-right:1px solid var(--border);overflow-y:auto;scrollbar-width:thin}.sidebar-content{padding:22px 15px;display:flex;min-height:100%;flex-direction:column;gap:17px}.nav-group{display:flex;flex-direction:column;gap:4px}.nav-title{color:#8992a6;font-size:11px;letter-spacing:1.3px;font-weight:800;padding:0 13px 5px;text-transform:uppercase}.nav-item{width:100%;display:flex;align-items:center;gap:13px;text-align:left;color:#c2c9d8;font-size:14px;font-weight:650;padding:12px 13px;border-radius:10px;white-space:nowrap}.nav-item svg{color:#98a2b9}.nav-item.active{background:#40371f;color:#fae6a7;font-weight:800}.nav-item.active svg{color:#f3cf5b}.nav-item:hover{background:#202332}.nav-item.active:before{content:'';position:absolute;height:22px;width:3px;border-radius:5px;background:#e9bf43;left:0}.nav-item.live svg{color:#ff8092}.sidebar-bottom{margin-top:auto;padding:20px 12px 0;font-size:12px;color:var(--muted);line-height:1.7}.sidebar-bottom strong{color:var(--text)}.creator-card{padding:16px 13px;background:linear-gradient(135deg,#352e1c,#191b1d);border:1px solid #443c29;border-radius:13px;margin:7px 0}.creator-card strong{font-size:14px}.creator-card p{font-size:12px;color:#bcc2d2;line-height:1.6;margin:6px 0 14px}.creator-card button{width:100%;font-size:13px}.main{min-width:0;padding:28px 30px 55px;max-width:1700px;margin:0 auto;width:100%;outline:none}.greeting{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.greeting h1{font-size:clamp(25px,2.5vw,32px);letter-spacing:-1.2px;margin-bottom:4px;font-weight:800}.greeting p{margin:0;color:var(--muted);font-size:14px}.tiny-label{text-transform:uppercase;letter-spacing:1.4px;font-size:11px;color:var(--cyan);font-weight:800;display:flex;gap:8px;align-items:center}.tiny-label:before{content:'';width:8px;height:8px;background:var(--cyan);border-radius:50%;box-shadow:0 0 16px #4de4c755}.hero{min-height:300px;position:relative;display:flex;align-items:center;border-radius:22px;overflow:hidden;background:#222644;isolation:isolate;border:1px solid #3c3955;margin-bottom:25px}.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 15% 25%,#9a7418 0,transparent 80%)}.hero-media{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:65% 50%}.hero:has(.hero-media):before{background:linear-gradient(90deg,#14142a 0%,#141429ed 27%,#1116298a 55%,#1116293f 100%),linear-gradient(0deg,#141428 0%,transparent 35%);z-index:-1}.hero-content{padding:30px 34px;max-width:550px;position:relative}.feature-pill{background:#f1cb4b24;border:1px solid #f1cb4b60;color:#fff1c6;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800;letter-spacing:.3px;padding:6px 10px;border-radius:8px;margin-bottom:17px}.feature-pill svg{width:15px;height:15px}.hero h2{font-size:clamp(27px,3.3vw,44px);line-height:1.16;letter-spacing:-1.7px;font-weight:800;margin-bottom:12px;max-width:480px}.hero p{color:#d2d6e4;font-size:15px;line-height:1.7;max-width:410px;margin-bottom:24px}.hero-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border:1px solid #434958;background:#222638d9;border-radius:10px;font-weight:700;white-space:nowrap}.secondary:hover{background:#34384c}.secondary svg{width:19px;height:19px}.hero-caption{position:absolute;bottom:19px;right:19px;font-size:12px;background:#0d1021b2;border-radius:8px;padding:8px 11px;color:#dce0ee;max-width:40%}.chips{display:flex;align-items:center;gap:9px;overflow-x:auto;scrollbar-width:none;margin:0 0 28px;padding-bottom:3px}.chips::-webkit-scrollbar{display:none}.chip{background:#1b202d;border:1px solid #292e3d;padding:8px 15px;border-radius:8px;color:#c9cfdd;font-size:13px;font-weight:700;white-space:nowrap}.chip:hover{border-color:#887849}.chip.active{background:#f7e4a7;color:#1a1236;border-color:#f7e4a7}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.section-head h2{font-size:22px;font-weight:800;letter-spacing:-.5px;margin:0}.section-head .hint{font-size:13px;color:var(--muted)}.text-button{color:var(--accent);font-weight:800;font-size:13px;display:flex;gap:6px;align-items:center}.text-button:hover{text-decoration:underline}.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px;margin-bottom:32px}.video-card{min-width:0}.video-card .thumbnail{position:relative;display:block;width:100%;aspect-ratio:16/9;padding:0;overflow:hidden;border-radius:14px;background:linear-gradient(135deg,#37264b,#173548);border:1px solid #333848;text-align:left}.thumbnail img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.thumbnail:hover img{transform:scale(1.06)}.card-fallback{position:absolute;inset:0;display:grid;place-items:center;color:#f0cc5b;z-index:-1}.play-overlay{position:absolute;inset:0;display:grid;place-items:center;background:#0003;opacity:0;transition:opacity .2s}.play-overlay span{width:46px;height:46px;display:grid;place-items:center;background:#0c0e16a6;border:1px solid #ffffff65;border-radius:50%}.thumbnail:hover .play-overlay,.thumbnail:focus-visible .play-overlay{opacity:1}.duration{position:absolute;right:9px;bottom:9px;background:#060714d9;color:white;font-size:11px;line-height:1;padding:6px 7px;border-radius:6px;font-weight:700}.card-badge{position:absolute;left:10px;top:10px;background:#0c0f1cbf;border:1px solid #ffffff33;backdrop-filter:blur(9px);border-radius:7px;font-size:11px;padding:4px 8px;font-weight:700}.video-info{display:flex;gap:10px;align-items:flex-start;padding:11px 2px 0}.video-info .avatar{width:36px;height:36px;font-size:12px}.video-text{min-width:0;flex:1}.video-title{display:block;font-size:15px;font-weight:800;text-align:left;padding:0;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.video-title:hover{color:#ffebb1}.channel-name{font-size:12px;color:#c7cbd8;text-align:left;padding:0;margin-top:5px;font-weight:650}.channel-name:hover{color:white;text-decoration:underline}.video-stats{color:#929bad;font-size:12px;line-height:1.65}.video-tags{font-size:11px;font-weight:700;color:#8793a8}.shorts-strip{margin:30px 0 34px;padding-top:22px;border-top:1px solid var(--border)}.shorts-strip .section-head h2{display:flex;gap:10px;align-items:center}.shorts-strip .section-head h2 svg{color:var(--cyan)}.short-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.short-preview{aspect-ratio:9/13;position:relative;isolation:isolate;overflow:hidden;border-radius:13px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:13px;min-width:0;text-align:left;background:linear-gradient(145deg,#3c476d,#19242a)}.short-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .25s}.short-preview:hover img{transform:scale(1.05)}.short-preview:before{content:'';position:absolute;inset:0;background:linear-gradient(transparent 35%,#000c);z-index:-1}.short-preview strong{font-size:14px;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.short-preview small{color:#d0d4de;margin-top:4px;font-size:11px}.short-play{position:absolute;left:11px;top:11px;background:#0d12245c;border:1px solid #ffffff33;border-radius:50%;padding:6px}.short-play svg{width:17px;height:17px}.empty{background:#141824;border:1px dashed #343a4b;border-radius:16px;padding:54px 20px;text-align:center;color:var(--muted);margin:15px 0}.empty .empty-icon{display:grid;place-items:center;height:62px;width:62px;margin:0 auto 19px;border-radius:19px;background:#292748;color:#f2ce59}.empty .empty-icon svg{width:30px;height:30px}.empty h2{color:var(--text);font-weight:800;margin-bottom:8px}.empty p{max-width:470px;margin:0 auto 19px}.skeleton{height:200px;background:linear-gradient(100deg,#1b2030 30%,#272b3d 48%,#1b2030 65%);background-size:200% 100%;border-radius:14px;animation:loading 1.5s linear infinite}@keyframes loading{from{background-position:100% 0}to{background-position:-100% 0}}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 25px}.page-heading h1{font-size:30px;line-height:1.25;font-weight:800;letter-spacing:-1px;margin:0}.page-heading p{color:var(--muted);margin:7px 0 0;font-size:14px}.back{display:flex;align-items:center;gap:8px;color:var(--muted);padding:0 0 15px;font-weight:700}.back svg{width:18px;height:18px}.back:hover{color:white}.watch-layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(230px,1fr);gap:25px;align-items:start}.player{display:block;width:100%;max-height:65vh;aspect-ratio:16/9;object-fit:contain;background:#000;border-radius:16px}.watch-title{font-size:24px;margin:17px 0 7px;letter-spacing:-.5px;line-height:1.3}.watch-meta{color:var(--muted);font-size:13px}.watch-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px 0}.channel-mini{display:flex;align-items:center;gap:10px}.channel-mini strong{font-size:14px}.channel-mini small{display:block;font-size:12px;color:var(--muted)}.channel-mini button{padding:0;text-align:left}.action-group{display:flex;gap:7px;flex-wrap:wrap}.action{display:inline-flex;gap:6px;align-items:center;color:#d9ddea;background:#1d2231;border:1px solid #30374a;border-radius:10px;padding:9px 12px;font-size:13px;font-weight:700;white-space:nowrap}.action svg{width:18px;height:18px}.action.active{border-color:#e5bc43;background:#29244a;color:#fae6aa}.action:hover{background:#2d3345}.description{background:#171b28;border:1px solid #292f40;border-radius:13px;padding:17px;white-space:pre-wrap;font-size:14px;line-height:1.65;overflow-wrap:anywhere}.description .meta{color:#bfc9d7;font-weight:800;font-size:12px;margin-bottom:9px}.recommendations{display:flex;flex-direction:column;gap:17px}.recommendations .video-info{padding-top:8px}.recommendations .video-card{display:grid;grid-template-columns:43% 1fr;gap:9px;align-items:start}.recommendations .thumbnail{border-radius:9px}.recommendations .avatar{display:none}.recommendations .video-title{font-size:13px}.recommendations .video-info{padding:0}.comments{margin-top:27px}.comment-form{display:flex;align-items:start;gap:12px;margin:16px 0}.comment-form textarea{flex:1;min-width:0;min-height:48px;resize:vertical}.comment-delete{margin-left:auto;align-self:flex-start}.comment-item{display:flex;gap:12px;align-items:flex-start;padding:15px 0;border-bottom:1px solid #252a39}.comment-item strong{font-size:13px}.comment-item time{font-size:11px;color:#8e98ab;margin-left:9px}.comment-item p{margin:6px 0 0;overflow-wrap:anywhere}.shorts-page{display:flex;justify-content:center;align-items:flex-start;gap:20px}.shorts-slide{height:min(73dvh,750px);aspect-ratio:9/16;max-width:calc(100% - 65px);position:relative;border-radius:18px;overflow:hidden;background:#121827;border:1px solid #34384c;isolation:isolate}.shorts-slide video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.shorts-slide:before{content:'';position:absolute;inset:0;background:linear-gradient(transparent 38%,#060714d4);z-index:-1;pointer-events:none}.shorts-caption{position:absolute;bottom:36px;left:20px;right:20px;text-shadow:0 2px 10px #000;pointer-events:none}.shorts-caption button{pointer-events:auto}.shorts-caption h2{font-size:21px;line-height:1.25;margin-bottom:10px}.shorts-caption p{font-size:14px;margin-bottom:14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.shorts-caption .channel-mini{margin-bottom:14px}.shorts-controls{display:flex;flex-direction:column;gap:10px;align-self:flex-end;padding-bottom:18px}.shorts-controls .action{flex-direction:column;align-items:center;gap:5px;font-size:11px;min-width:53px;padding:10px 6px}.shorts-controls .action svg{width:24px;height:24px}.shorts-top{position:absolute;top:14px;left:14px;right:14px;display:flex;justify-content:space-between;gap:10px;align-items:center}.shorts-top button{background:#0009}.channel-banner{border:1px solid #383354;min-height:150px;padding:30px;background:radial-gradient(ellipse at 90% 30%,#625321,transparent 65%),linear-gradient(135deg,#272343,#171c30);border-radius:17px;display:flex;align-items:center;justify-content:space-between;gap:20px}.channel-banner .channel-mini{gap:18px}.channel-banner .avatar{width:84px;height:84px;font-size:30px}.channel-banner h1{margin:0;font-weight:800;font-size:29px;letter-spacing:-.7px}.channel-banner .channel-mini p{margin:7px 0 0;font-size:13px;color:#c5c8da}.channel-bio{padding:18px 2px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.studio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:25px}.metric{background:#191e2c;border:1px solid #2e3546;border-radius:14px;padding:18px}.metric small{display:block;color:var(--muted);font-weight:700;font-size:12px}.metric strong{font-size:25px;display:block;margin-top:5px}.studio-table{border:1px solid #33394b;background:#171c29;border-radius:14px;overflow:hidden}.studio-row{display:grid;grid-template-columns:minmax(180px,2fr) 1fr .6fr auto;align-items:center;gap:16px;padding:14px 16px;border-bottom:1px solid #303646;font-size:13px}.studio-row:last-child{border:0}.studio-row .studio-thumb{width:85px;aspect-ratio:16/9;object-fit:cover;border-radius:8px;background:#2c3141}.studio-title{display:flex;align-items:center;gap:12px;min-width:0;font-weight:750}.danger{color:#ff91a5;border-color:#663944;background:#382030}.danger:hover{background:#4c2939}.form-field{width:100%;background:#111624;border:1px solid #363e51;border-radius:10px;color:var(--text);padding:12px;display:block}.field-label{display:block;font-weight:750;font-size:13px;margin:13px 0 6px}.form-hint{color:var(--muted);font-size:12px;margin:6px 0 14px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.upload-area{display:grid;place-items:center;text-align:center;min-height:160px;background:#1b2031;border:2px dashed #766438;border-radius:14px;padding:18px;cursor:pointer}.upload-area svg{width:38px;height:38px;color:var(--accent);margin-bottom:12px}.upload-area strong{display:block}.upload-area input{position:absolute;opacity:0;width:1px;height:1px}.upload-area:focus-within{outline:2px solid var(--cyan)}.upload-area small{display:block;color:#a6b0c5;margin-top:6px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.error-msg{background:#40222e;border:1px solid #833a50;color:#ffadc1;border-radius:10px;padding:10px 13px;margin:10px 0;font-size:13px}.popover{position:fixed;top:66px;right:28px;background:#202534;border:1px solid #3b4153;box-shadow:0 16px 45px #000a;border-radius:14px;width:240px;z-index:25;padding:8px}.popover button,.popover a{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border-radius:9px;padding:11px;font-size:14px;font-weight:700;color:#e8ebf8}.popover button:hover,.popover a:hover{background:#30364a}.popover hr{height:1px;border:0;background:#3b4153;margin:6px 0}.popover-profile{padding:11px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:10px}.popover-profile strong{display:block;color:white;font-size:14px}dialog{border:1px solid #43475a;background:#1a1f2c;color:var(--text);padding:23px;border-radius:18px;width:min(560px,94vw);max-height:88dvh;overflow:auto;box-shadow:0 30px 80px #000a}dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.dialog-head h2{font-size:22px;letter-spacing:-.5px;margin:0}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#fff0bc;color:#160f38;border-radius:12px;font-weight:800;padding:13px 20px;box-shadow:0 10px 35px #0007;z-index:50;max-width:90vw}.mobile-nav{display:none}:root.collapsed{--sidebar:64px}.collapsed .nav-item>span,.collapsed .nav-title,.collapsed .creator-card,.collapsed .sidebar-bottom{display:none}.collapsed .sidebar-content{padding:22px 8px}.collapsed .nav-item{justify-content:center;padding:12px}.muted{color:var(--muted)}.no-margin{margin:0}.live-dot{width:8px;height:8px;border-radius:50%;background:var(--danger)}@media(max-width:1250px){.video-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 16px}.main{padding:24px 24px 50px}.topbar{gap:15px}.watch-layout{grid-template-columns:minmax(0,1fr)}.recommendations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.recommendations .video-card{display:block}.recommendations .video-info{padding-top:10px}.account-label{display:none}}@media(max-width:1000px){:root{--sidebar:220px}:root.collapsed{--sidebar:64px}.sidebar-content{padding:22px 10px}.nav-item{justify-content:flex-start;padding:12px}.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.short-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.short-grid>.short-preview:nth-child(n+5){display:none}.topbrand{min-width:0}.brand{font-size:25px}.brand-emblem{width:31px;height:31px}}@media(max-width:680px){:root{--header:64px}.app{display:block}.sidebar{display:none}.main{padding:18px 13px 92px}.topbar{padding:0 12px;gap:9px;height:64px}.brand{font-size:22px;letter-spacing:-1.3px;gap:6px}.brand-emblem{width:27px;height:27px;border-radius:8px}.brand-emblem i{width:4px}.brand-emblem i:nth-child(1){height:10px}.brand-emblem i:nth-child(2){height:18px}.brand-emblem i:nth-child(3){height:13px}.searchbar{margin:0 0 0 auto;width:auto;min-width:0;max-width:42vw;height:38px;flex:1;border-radius:9px;padding:0 7px;gap:5px}.searchbar input{font-size:12px}.searchbar svg{width:17px;height:17px}.search-submit{display:none}.create-btn{padding:9px;border-radius:9px}.create-btn span:last-child{display:none}.header-actions{gap:7px}.account-button .avatar{width:31px;height:31px}.greeting{margin-bottom:16px}.greeting p{font-size:13px}.tiny-label{display:none}.hero{min-height:255px;border-radius:15px;margin-bottom:18px}.hero-content{padding:23px 18px}.hero:has(.hero-media):before{background:linear-gradient(90deg,#101322ed,#111629a0 60%,#11162965),linear-gradient(0deg,#11132290,transparent)}.hero h2{font-size:30px;letter-spacing:-1.1px}.hero p{font-size:13px;max-width:280px;margin-bottom:19px}.hero-caption{display:none}.feature-pill{margin-bottom:12px}.chips{margin-bottom:22px}.video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 11px}.video-card .thumbnail{border-radius:10px}.video-info{gap:6px;padding-top:8px}.video-info .avatar{width:27px;height:27px;font-size:10px}.video-title{font-size:13px;line-height:1.4}.video-stats,.channel-name{font-size:11px}.card-badge{font-size:9px;padding:3px 6px;left:6px;top:6px}.duration{font-size:10px;right:6px;bottom:6px}.section-head h2{font-size:20px}.short-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.short-grid>.short-preview:nth-child(n+4){display:none}.short-preview{border-radius:10px;padding:10px}.short-preview strong{font-size:12px}.short-preview small{font-size:10px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;background:#10131df5;backdrop-filter:blur(12px);border-top:1px solid #33374a;padding:9px 8px max(9px,env(safe-area-inset-bottom));z-index:22;justify-content:space-around;align-items:center}.mobile-nav button{display:grid;justify-items:center;gap:4px;font-size:10px;color:#a9b1c1;min-width:48px}.mobile-nav button.active{color:#f7db88}.mobile-nav button.active svg{stroke:#f7db88}.mobile-nav svg{width:22px;height:22px}.popover{right:12px;top:59px}.page-heading h1{font-size:25px}.page-heading{gap:7px}.watch-title{font-size:20px}.watch-actions{align-items:flex-start}.recommendations{grid-template-columns:repeat(2,minmax(0,1fr))}.player{border-radius:10px}.channel-banner{padding:20px 15px;align-items:flex-start;flex-wrap:wrap;min-height:0}.channel-banner .avatar{width:60px;height:60px;font-size:24px}.channel-banner h1{font-size:24px}.studio-grid{gap:8px}.metric{padding:11px 8px}.metric strong{font-size:21px}.studio-row{grid-template-columns:minmax(130px,1fr) auto;gap:8px;padding:10px}.studio-row .studio-thumb{width:65px}.studio-row .studio-date,.studio-row .studio-views{display:none}.shorts-page{gap:9px}.shorts-slide{height:min(68dvh,650px);max-width:calc(100% - 55px);width:calc(100% - 55px);aspect-ratio:auto}.shorts-caption{bottom:25px;left:13px;right:13px}.shorts-caption h2{font-size:17px}.shorts-caption .avatar{width:31px;height:31px}.shorts-controls .action{min-width:45px;padding:8px 4px}.shorts-controls .action svg{width:20px;height:20px}.toast{bottom:75px}.form-row{grid-template-columns:1fr}.page-heading .primary{padding:10px 11px;font-size:13px}.account-label{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
/* Consumer platform refinement — focused content hierarchy and flexible discovery. */
:root{--bg:#101116;--surface:#181a21;--surface2:#22252e;--border:#2a2d37;--muted:#a3a9b6;--accent:#f3d783;--primary:#e1b93e;--cyan:#5be3c5;--header:72px;--sidebar:220px}
body{font-family:Manrope,Inter,system-ui,-apple-system,sans-serif;background:var(--bg);font-weight:500}
.topbar{background:#101116f7;padding-left:18px;gap:26px}.topbrand{min-width:185px;gap:12px}.brand{font-size:27px;letter-spacing:-1.8px}.brand-emblem{background:linear-gradient(135deg,#fff0bd,#d0a52a);box-shadow:0 3px 14px #efc64b24}
.searchbar{border-radius:100px;background:#1a1c24;max-width:620px;padding-left:17px;height:44px}.search-submit{border-radius:100px;background:#2a2d37;border-color:#3a3d47;padding:7px 14px}.searchbar input{font-size:14px}.header-actions{gap:11px}.create-btn{border-radius:100px;background:#23252c;color:#f2f0ff;border:1px solid #3d3d49;font-size:14px;padding:10px 16px}.create-btn:hover{color:#110e22;background:#f5d77c}.account-button.guest{background:#e8bf46;color:#171325;padding:9px 16px;border-radius:100px;display:flex;font-size:14px}.account-button.guest .account-label{display:block}.account-button.guest svg{width:19px;height:19px}
.sidebar-content{padding:21px 13px;gap:23px}.nav-title{color:#9298a5;letter-spacing:.9px}.nav-item{border-radius:8px;position:relative;padding:11px 13px;font-size:14px}.nav-item.active{background:#28253b}.nav-item.active:before{left:-13px}.creator-card{border-color:#333342;background:linear-gradient(145deg,#252334,#181a23);padding:15px 13px}.creator-card button{border-radius:8px}.sidebar-bottom a{color:#b6b8c5;display:inline-block;margin-right:10px}.sidebar-bottom a:hover{text-decoration:underline}
.main{padding-top:30px}.greeting h1{font-size:clamp(31px,3vw,40px);letter-spacing:-1.6px;line-height:1.22;margin-bottom:6px}.greeting p{color:#a4aab7}.section-overline{letter-spacing:1.35px;font-size:10px;font-weight:800;color:var(--accent);margin-bottom:6px}.tiny-label{font-size:10px;color:#9398a4;letter-spacing:1.05px}.tiny-label:before{background:var(--cyan);width:6px;height:6px;box-shadow:none}
.spotlight-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(220px,1fr);gap:15px;margin-bottom:24px}.spotlight-layout .hero{margin:0;min-height:285px;background:#242331;border-radius:15px;border:1px solid #343441}.spotlight-layout .hero:has(.hero-media):before{background:linear-gradient(90deg,#101116ee,#101116a8 42%,#10111625 100%),linear-gradient(0deg,#11131b60,transparent 55%)}.hero h2{font-size:clamp(28px,3.4vw,46px);letter-spacing:-1.65px;line-height:1.15;max-width:520px}.hero-content{padding:27px 31px;max-width:640px}.hero-eyebrow{font-size:12px;color:#e2e1e9;font-weight:700;margin-bottom:6px}.hero p{margin-bottom:20px}.hero .feature-pill{font-size:11px;background:#e4dfff22;border-color:#ffffff33;color:#f0edff;padding:6px 9px;letter-spacing:1px}.hero .primary,.hero .secondary{border-radius:100px}.hero .secondary{background:#24253090;border-color:#ffffff40}.hero-caption{background:#13141c9e;color:#d4d4e0;font-size:11px;bottom:13px;right:13px}
.spotlight-side{display:grid;grid-template-rows:repeat(3,1fr);gap:10px}.quick-discover{display:flex;align-items:center;gap:12px;border:1px solid #323540;background:linear-gradient(130deg,#1f222b,#181a21);border-radius:13px;padding:13px 12px;min-width:0}.quick-discover strong{font-size:15px;letter-spacing:-.3px;display:block}.quick-discover p{font-size:11px;line-height:1.45;color:#a5a9b6;margin:3px 0 0}.quick-discover .icon-button{margin-left:auto;width:31px;height:31px}.quick-discover .icon-button svg{width:18px;height:18px}.quick-disc-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex-shrink:0}.quick-disc-icon svg{width:21px;height:21px}.quick-disc-icon.shorts-color{background:#123b36;color:#68ead1}.quick-disc-icon.live-color{background:#412932;color:#ff96ad}.quick-disc-icon.creator-color{background:#343052;color:#f5d880}
.chips{gap:8px;margin-bottom:13px}.chip{background:#211f27;border-color:#f1e4bd22;border-radius:100px;padding:8px 15px;font-size:13px}.chip.active{background:#e3dfff;border-color:#e3dfff;color:#171525}.browse-controls{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-bottom:22px;padding:3px 0 15px;border-bottom:1px solid var(--border)}.feed-tabs{display:flex;align-items:center;background:#1a1c23;border:1px solid #30323d;padding:4px;border-radius:10px;gap:4px}.feed-tabs button{padding:7px 13px;text-align:center;white-space:nowrap;font-weight:700;color:#adb1bd;font-size:13px;border-radius:7px}.feed-tabs button.active{background:#353345;color:#e3dfff}.feed-sort{display:flex;align-items:center;gap:8px;min-width:0}.sort-label{font-size:12px;color:var(--muted);white-space:nowrap}.feed-sort select{color:var(--text);background:#1a1c23;border:1px solid #32343f;padding:9px 11px;border-radius:9px;font-weight:650;min-width:100px;font-size:13px}.seen-btn{padding:8px 12px}
.section-head{margin-bottom:14px}.section-head h2{font-size:21px;letter-spacing:-.65px}.section-head .hint{font-size:12px}.video-grid{gap:23px 19px}.video-card .thumbnail{border-radius:10px;border-color:#30323a}.video-info{padding:10px 0 0}.video-title{font-size:14px;letter-spacing:-.12px}.channel-name{color:#b3b4c0;font-size:12px}.video-stats{color:#979da9}.card-badge{border-radius:5px;font-size:10px;background:#11121bcf;letter-spacing:.2px}.duration{border-radius:4px}.shorts-strip{border-top:1px solid #2e303a}.short-preview{border-radius:10px}.full-shorts-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin-bottom:25px}.full-shorts-grid>.short-preview{display:flex!important;max-width:260px}.watch-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.watch-topbar .back{padding:0}.watch-layout.theater{grid-template-columns:minmax(0,1fr)}.watch-layout.theater .player{max-height:78vh;aspect-ratio:16/9}.watch-layout.theater .recommendations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.watch-layout.theater .recommendations .video-card{display:block}.watch-layout.theater .recommendations .video-info{padding-top:9px}.player{border-radius:12px}.watch-title{font-size:26px}.watch-meta,.description{color:#b9bdc9}.description{background:#1b1d26;border-color:#32343f}.action{border-radius:100px;background:#252731;border-color:#383b46}.action.active{background:#343047;border-color:#dfb83d}.comments .primary{border-radius:100px}
.page-heading{margin-bottom:23px}.page-heading h1{letter-spacing:-1px}.channel-banner{border-color:#3d3a51;background:radial-gradient(ellipse at 90% -50%,#826514,transparent 75%),linear-gradient(135deg,#232139,#181b26);border-radius:14px;padding:32px}.channel-banner .avatar{border:0}.channel-banner .channel-mini p{color:#cac5dc}.studio-grid .metric{border-color:#32343d;background:#1a1d25;border-radius:11px}.metric small{font-weight:700}.metric strong{font-size:29px;letter-spacing:-.6px}.studio-table{border-radius:11px;background:#1a1d25;border-color:#30323a}
.dialog-head h2{font-size:21px}.auth-links a{text-decoration:underline}
.provider-status{display:block;color:#999dad;font-size:11px;margin-top:5px}.privacy-list{display:grid;gap:11px;margin:8px 0 20px}.privacy-list>div{background:#14171f;border:1px solid #303640;padding:12px 15px;border-radius:9px}.privacy-list strong{font-size:14px}.privacy-list p{font-size:13px;line-height:1.6;color:#b7bbc9;margin:5px 0 0}
@media(max-width:1250px){.spotlight-layout{grid-template-columns:minmax(0,1fr)}.spotlight-side{grid-template-columns:repeat(3,1fr);grid-template-rows:auto}.quick-discover p{font-size:11px}.watch-layout.theater .recommendations{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.topbrand{min-width:0}.account-button.guest .account-label{display:inline}.greeting h1{font-size:34px}.quick-discover{padding:11px}.quick-disc-icon{width:34px;height:34px}.seen-btn span{display:none}.feed-sort{gap:7px}}
@media(max-width:680px){:root{--header:64px}.topbar{padding:0 11px;gap:8px}.brand{font-size:21px}.brand-emblem{width:28px;height:28px}.searchbar{padding-left:9px;max-width:none;height:37px}.searchbar input{font-size:12px}.header-actions{gap:6px}.account-button.guest{padding:8px 10px;font-size:12px}.account-button.guest .account-label{display:inline}.account-button.guest svg{display:none}.create-btn{padding:8px}.greeting h1{font-size:30px}.greeting p{font-size:13px}.main{padding-top:19px}.spotlight-layout{gap:9px;margin-bottom:18px}.spotlight-layout .hero{min-height:226px}.hero-content{padding:23px 19px}.hero h2{font-size:29px}.hero-caption{display:none}.hero-eyebrow{font-size:11px}.spotlight-side{gap:6px}.quick-discover{flex-wrap:wrap;padding:10px 8px;gap:7px;position:relative}.quick-discover .quick-disc-icon{width:28px;height:28px}.quick-disc-icon svg{width:18px;height:18px}.quick-discover strong{font-size:12px}.quick-discover p{display:none}.quick-discover .icon-button{position:absolute;inset:0;width:100%;height:100%;opacity:0}.quick-discover:hover{border-color:#8d7949}.chip{font-size:12px;padding:8px 13px}.chips{margin-bottom:10px}.browse-controls{gap:7px;padding-bottom:11px;margin-bottom:15px;flex-wrap:wrap}.feed-tabs{gap:2px;padding:3px}.feed-tabs button{padding:6px 10px;font-size:12px}.sort-label{display:none}.feed-sort select{padding:8px;font-size:12px;min-width:88px}.video-grid{gap:19px 11px}.video-title{font-size:13px}.watch-title{font-size:22px}.watch-layout.theater .recommendations{grid-template-columns:repeat(2,minmax(0,1fr))}.channel-banner{padding:20px}.theater-btn{font-size:12px;padding:7px 10px}.quick-discover .icon-button:focus-visible{opacity:1}.full-shorts-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}}
.notification-btn{position:relative;flex-shrink:0;border:1px solid transparent;color:#cbd0dc}.notification-btn:hover{border-color:#42434e}.notification-count{position:absolute;min-width:19px;height:19px;border-radius:100px;background:#ff789b;color:#1d1120;font-size:10px;font-weight:800;display:grid;place-items:center;top:0;right:-2px;padding:0 4px;border:2px solid #101116}.popover.notification-panel{width:min(360px,94vw);padding:0;right:84px;overflow:hidden}.notification-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;background:#20232d;border-bottom:1px solid #353844}.notification-head h3{font-size:16px;margin:0;letter-spacing:-.4px}.notification-head small{font-size:11px;color:#a2a8b6}.notification-head .text-button{padding:7px;white-space:nowrap;font-size:12px;width:auto;color:#f1d27c}.notification-head .text-button svg{width:17px;height:17px}.notification-list{max-height:min(460px,63vh);overflow:auto}.notification-list .notification-item{width:100%;display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border-bottom:1px solid #333742;border-radius:0;background:#1a1d27;position:relative}.notification-list .notification-item:hover{background:#282b38}.notification-list .notification-item.unread{background:#2a273d}.notification-copy{display:flex;flex-direction:column;min-width:0;flex:1;line-height:1.4}.notification-copy strong{font-size:13px;color:#eeeaf9;font-weight:750}.notification-copy>span{font-size:12px;font-weight:500;color:#bec3d0;overflow-wrap:anywhere}.notification-copy small{font-size:11px;color:#9299ab;margin-top:4px;font-weight:500}.unread-dot{width:7px;height:7px;border-radius:50%;background:#d2ae3c;position:absolute;right:10px;top:15px}.notification-empty{padding:28px 16px;text-align:center;display:grid;place-items:center;color:#b9b8c9;font-size:13px}.notification-empty svg{width:30px;height:30px;color:#f4d680;margin-bottom:12px}.notification-empty strong{color:#e5e4ed;font-size:15px}.notification-empty p{margin:7px 0 0}
@media(max-width:680px){.notification-btn{width:34px;height:34px}.notification-btn svg{width:19px;height:19px}.notification-count{height:16px;min-width:16px;font-size:9px}.header-actions:has(.notification-btn:not([hidden])) .create-btn{display:none}.popover.notification-panel{right:8px}}


.auth-dialog {
  box-sizing:border-box;
  width:min(25rem, calc(100vw - 2rem));
  padding:clamp(1.25rem, 5vw, 2rem);
  border:1px solid #393847;
  border-radius:1.5rem;
  background:linear-gradient(155deg,#272534 0%,#191a22 58%);
  text-align:center;
}
.auth-dialog .dialog-head { display:block; margin-bottom:.55rem; }
.auth-dialog .dialog-head::before {
  content:""; display:block; width:2.75rem; height:2.75rem;
  margin:0 auto 1.3rem; background:url("/favicon.svg") center/contain no-repeat;
}
.auth-dialog .dialog-head h2 { font-size:clamp(1.55rem,5vw,1.85rem); line-height:1.15; letter-spacing:-.04em; }
.auth-dialog #dialog-close { position:absolute; top:.6rem; right:.6rem; }
.auth-screen p { margin:0 auto 1.55rem; max-width:18rem; font-size:1rem; line-height:1.5; color:#bfc0cd; }
#google-signin { color-scheme:light; min-height:44px; display:grid; justify-items:center; align-content:center; gap:.5rem; }
#google-signin [role=status] { font-size:.94rem; color:#d0cfda; }
.google-provider { display:grid; place-items:center; width:100%; min-height:44px; border-radius:999px; background:#fff; color:#202124; font-weight:600; }
.auth-dismiss { background:transparent; border:0; color:#dbd9e6; min-height:44px; padding:0 1rem; font-size:.94rem; margin-top:.35rem; }
.auth-dismiss:hover,.auth-footer a:hover { color:white; text-decoration:underline; }
.auth-footer { display:flex; flex-wrap:wrap; justify-content:center; gap:.5rem 1.25rem; border-top:1px solid #363540; margin-top:1rem; padding-top:1rem; color:#b8b6c4; font-size:.875rem; }

.main:has(.short-feed){padding:0}
.shorts-page:has(.short-feed){position:relative;align-items:center;gap:12px;height:calc(100dvh - var(--header));background:#0c0d12}
.short-feed{height:100%;width:min(100%,calc((100dvh - var(--header))*0.5625));overflow-y:auto;overscroll-behavior-y:contain;scroll-snap-type:y mandatory;scrollbar-width:none}
.short-feed::-webkit-scrollbar{display:none}
.short-feed .shorts-slide{box-sizing:border-box;width:100%;max-width:none;height:100%;aspect-ratio:auto;border:0;border-radius:0;scroll-snap-align:start;scroll-snap-stop:always}
.short-feed .shorts-caption a{pointer-events:auto}
.short-feed .channel-mini a{display:flex;align-items:center;gap:.5rem}
@media(max-width:760px){
 .shorts-page:has(.short-feed){height:calc(100dvh - var(--header) - 60px - env(safe-area-inset-bottom));display:block}
 .short-feed{width:100%}
 .short-feed .shorts-caption{right:76px;bottom:20px}
 .short-feed + .shorts-controls{position:absolute;right:8px;bottom:12px;gap:4px;padding:0}
 .short-feed + .shorts-controls .action{background:#12131ab8;border:0;min-width:44px;padding:6px;color:white}
 .short-feed + .shorts-controls [data-action$="-short"]{display:none}
}

/* A consistent creator menu keeps channel owners' controls easy to locate. */
.video-card{position:relative}
.video-info{min-width:0}
.owner-menu-button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:38px;padding:0 12px;border:1px solid #383945;border-radius:8px;background:#181a21;color:#d9d8df;font-size:13px;font-weight:600;white-space:nowrap}
.owner-menu-button svg{width:17px;height:17px;color:#ee8d9b}
.owner-menu-button:hover{border-color:#bf7480;background:#272027;color:white}
.video-info .owner-menu-button{margin-left:auto;align-self:center}
.studio-row{border:1px solid #2e3038;border-radius:12px;background:#17191f;margin-bottom:9px}
.studio-table{border:0;background:transparent}
.studio-table .studio-row:last-child{border:1px solid #2e3038}
.studio-row .studio-title{font-size:14px;font-weight:650}
.page-heading h1{font-size:clamp(27px,3vw,36px);letter-spacing:-.8px}
@media(max-width:760px){.owner-menu-button{min-height:40px;padding:0 10px}.video-info .owner-menu-button{grid-column:2;justify-self:start;margin:5px 0 0}.video-info{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start}.studio-row{grid-template-columns:minmax(0,1fr) auto}}
.notification-tools{display:flex;align-items:center;gap:4px}
.notification-tools .text-button{padding:6px;font-size:12px}
.notification-row{display:flex;align-items:stretch;border-bottom:1px solid #333742;background:#1a1d27}
.notification-row .notification-item{border:0;flex:1;min-width:0}
.notification-row .notification-item:last-child{border:0}
.notification-dismiss{align-self:center;display:grid;place-items:center;width:34px;height:34px;margin-right:6px;border-radius:8px;color:#aeb4c2}
.notification-dismiss svg{width:17px;height:17px}
.notification-dismiss:hover{background:#33303a;color:#fff}
@media(max-width:760px){.popover.notification-panel{right:8px;max-width:calc(100vw - 16px)}.notification-head{padding:12px}.notification-tools{gap:0}}
.messages-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:20px;align-items:start}
.messages-inbox,.people-search,.message-thread{border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:16px;min-width:0}
.conversation-row,.people-row,.blocked-row{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid var(--border)}
.conversation-open{display:flex;align-items:center;gap:10px;text-align:left;min-width:0;flex:1;padding:4px;border-radius:8px}
.conversation-open:hover{background:var(--surface2)}
.conversation-open>span,.people-row>span{display:flex;flex-direction:column;min-width:0;flex:1}
.conversation-open small,.people-row small,.message-thread-head small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.message-unread{background:var(--primary);color:#120e24;border-radius:20px;padding:2px 8px;font-size:11px}
.conversation-delete{color:var(--muted);flex:0 0 36px}
.people-search-form{display:flex;gap:8px;margin-bottom:14px}.people-search-form input{min-width:0;flex:1}
.people-row>button{margin-left:auto;white-space:nowrap}
.blocked-accounts{margin-top:20px;border-top:1px solid var(--border);padding-top:14px;color:var(--muted)}
.blocked-accounts summary{cursor:pointer;font-weight:700;color:var(--text)}
.blocked-row span{flex:1;font-size:13px}
.message-thread{display:flex;flex-direction:column;gap:12px;min-height:460px}
.message-thread-head{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--border);padding-bottom:12px}
.message-thread-head>div{display:flex;flex-direction:column;min-width:0;flex:1}
.message-thread-head>.owner-menu-button{margin-left:auto}
.message-list{display:flex;flex:1;min-height:240px;max-height:55vh;overflow:auto;flex-direction:column;gap:8px;padding:8px 2px}
.message-bubble{max-width:min(78%,520px);align-self:flex-start;background:var(--surface2);padding:9px 12px;border-radius:14px 14px 14px 4px;overflow-wrap:anywhere}
.message-bubble.mine{align-self:flex-end;background:#35304b;border-radius:14px 14px 4px 14px}
.message-bubble p{margin:0 0 4px;white-space:pre-wrap}.message-bubble time{font-size:10px;color:var(--muted)}
.message-compose{display:flex;gap:8px;align-items:flex-end;border-top:1px solid var(--border);padding-top:12px}
.message-compose textarea{min-height:44px;max-height:130px;resize:vertical;flex:1}
.message-notice{padding:10px 12px;border-radius:9px;background:var(--surface2);color:var(--muted);margin:0}
@media(max-width:900px){.messages-layout{grid-template-columns:1fr}.message-thread{min-height:60vh}}
@media(max-width:520px){.messages-inbox,.people-search,.message-thread{padding:12px}.message-thread-head{flex-wrap:wrap}.message-thread-head>.owner-menu-button{margin-left:0}.people-search-form .primary{padding:10px}.message-compose .primary{padding:10px 13px}}
/* Keep the Shorts action rail compact while retaining comfortable touch targets. */
.shorts-controls .action{min-width:44px;padding:7px 4px;gap:4px;font-size:10px}
.shorts-controls .action svg{width:20px;height:20px}
.short-description-toggle{font-size:12px;font-weight:700;color:#fff;background:#10111699;border:1px solid #ffffff35;border-radius:999px;padding:5px 10px;margin-bottom:8px}
.short-description-toggle:hover{background:#2b2938}
.short-description[hidden]{display:none}
@media(max-width:760px){.shorts-controls .action{min-width:40px;padding:6px 3px}.shorts-controls .action svg{width:18px;height:18px}.shorts-controls{gap:6px}}
.studio-actions{display:flex;align-items:center;gap:7px}
.studio-actions .owner-menu-button{min-height:36px;padding:0 10px}
@media(max-width:760px){.studio-actions{grid-column:2;display:flex;gap:6px}.studio-actions .owner-menu-button{font-size:12px;padding:0 8px}}

/* Keep Shorts creator identity and copy compact over the video. */
.short-feed .shorts-caption{max-width:min(78%,520px);text-shadow:0 1px 8px #000c}
.short-feed .shorts-caption .channel-mini{display:flex;align-items:center;gap:9px;margin-bottom:9px}
.short-feed .shorts-caption .channel-mini>a{display:flex;align-items:center;gap:8px;min-width:0;font-size:13px;font-weight:750}
.short-feed .shorts-caption .channel-mini strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.short-feed .shorts-caption .channel-mini .avatar{width:34px;height:34px}
.short-feed .shorts-caption .channel-mini [data-action="follow"]{font-size:12px;padding:6px 11px;min-height:32px;border-radius:999px}
.short-feed .shorts-caption h2{font-size:15px;line-height:1.35;letter-spacing:-.15px;margin:0 0 4px;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.short-feed .shorts-caption .short-description{font-size:12px;line-height:1.4;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#f0eff4}
.short-feed .shorts-caption .short-description-toggle{font-size:11px;padding:3px 8px;margin:0 0 5px}
@media(max-width:760px){.short-feed .shorts-caption{max-width:none;left:12px;right:67px;bottom:16px}.short-feed .shorts-caption .channel-mini{gap:8px;margin-bottom:7px}.short-feed .shorts-caption .channel-mini .avatar{width:30px;height:30px}.short-feed .shorts-caption h2{font-size:14px}.short-feed .shorts-caption .short-description{font-size:11px;line-height:1.35}.short-feed .shorts-caption .channel-mini [data-action="follow"]{min-height:30px;padding:5px 10px}}

/* Search creator results stay attached to the search box and keyboard reachable. */
.searchbar{position:relative}
.search-suggestions{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:35;padding:6px;background:#1b1e29;border:1px solid #363b4b;border-radius:12px;box-shadow:0 16px 40px #0009;max-height:min(60vh,420px);overflow:auto}
.search-suggestion{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:8px;border-radius:8px}
.search-suggestion:hover,.search-suggestion:focus-visible{background:#2a2e3b}
.search-suggestion>span:last-child{display:grid;min-width:0}
.search-suggestion strong,.search-suggestion small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search-suggestion strong{font-size:13px}
.search-suggestion small,.search-suggestion-empty{font-size:11px;color:var(--muted)}
.search-suggestion-empty{padding:12px}
/* Shorts actions use compact, softly rounded hit targets instead of large pills. */
.short-feed + .shorts-controls .action{width:44px;height:44px;min-width:44px;padding:0;border:0;border-radius:11px;background:#11131acc;display:grid;place-items:center;gap:0;box-shadow:none}
.short-feed + .shorts-controls .action:hover,.short-feed + .shorts-controls .action:focus-visible{background:#30323bcc}
.short-feed + .shorts-controls .action span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.short-feed + .shorts-controls .action svg{width:19px;height:19px}

/* A slim native range input gives Shorts a clear, draggable playback timeline. */
.short-scrubber{position:absolute;z-index:5;left:12px;right:12px;bottom:10px;display:flex;align-items:center;gap:9px;color:#fff;text-shadow:0 1px 5px #000;font-variant-numeric:tabular-nums}
.short-seek{appearance:none;-webkit-appearance:none;flex:1;min-width:0;height:24px;margin:0;background:transparent;cursor:pointer;accent-color:#fff}
.short-seek::-webkit-slider-runnable-track{height:3px;border-radius:9px;background:linear-gradient(to right,#fff var(--progress,0%),#ffffff75 var(--progress,0%))}
.short-seek::-moz-range-track{height:3px;border-radius:9px;background:#ffffff75}
.short-seek::-moz-range-progress{height:3px;border-radius:9px;background:#fff}
.short-seek::-webkit-slider-thumb{-webkit-appearance:none;width:11px;height:11px;margin-top:-4px;border-radius:50%;background:#fff;box-shadow:0 1px 5px #0008}
.short-seek::-moz-range-thumb{width:11px;height:11px;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 5px #0008}
.short-time{font-size:10px;line-height:1;white-space:nowrap;color:#fff}
@media(max-width:760px){.short-scrubber{left:12px;right:65px;bottom:5px;gap:7px}.short-time{font-size:9px}.short-seek{height:26px}}

/* Jubadock's three calm, high-contrast appearances and reading controls. */
:root[data-theme="night"]{--bg:#101117;--surface:#171920;--surface2:#23252e;--border:#30323d;--text:#f6f4f7;--muted:#afb2bf;--accent:#f4d477;--primary:#f1ce61;--cyan:#9ce6d5;color-scheme:dark}
:root[data-theme="dusk"]{--bg:#1d1b17;--surface:#27241d;--surface2:#343027;--border:#464134;--text:#f4efe0;--muted:#c5bcaa;--accent:#f0c870;--primary:#dab456;--cyan:#bad8b6;color-scheme:dark}
:root[data-theme="daylight"]{--bg:#f4f3ef;--surface:#fffefa;--surface2:#eeede7;--border:#deddd5;--text:#24252c;--muted:#666873;--accent:#86630d;--primary:#f3e2a5;--cyan:#087663;color-scheme:light}
:root[data-theme="daylight"] body{background:var(--bg);color:var(--text)}
:root[data-theme="daylight"] .topbar{background:#f4f3eff2;border-color:var(--border)}
:root[data-theme="daylight"] .sidebar{background:#f8f7f3;border-color:var(--border)}
:root[data-theme="daylight"] .nav-item{color:#4d505a}
:root[data-theme="daylight"] .nav-item:hover{background:#e9e8e2}
:root[data-theme="daylight"] .nav-item.active{background:#f8eecb;color:#473912}
:root[data-theme="daylight"] .nav-item.active svg{color:#89660c}
:root[data-theme="daylight"] .searchbar{background:#fffefa;border-color:#d8d7d0;color:#747680}
:root[data-theme="daylight"] .searchbar input{color:#24252c}
:root[data-theme="daylight"] .search-submit{background:#f2f0e7;border-color:#ddd9c8;color:#453a1d}
:root[data-theme="daylight"] .create-btn{background:#9b7515;color:white}
:root[data-theme="daylight"] .icon-button{color:#686b75}
:root[data-theme="daylight"] .icon-button:hover{background:#e7e6e0;color:#25262e}
:root[data-theme="daylight"] .creator-card{background:linear-gradient(140deg,#faf3db,#f7f6f2);border-color:#e9d89e}
:root[data-theme="daylight"] .creator-card p{color:#5c5d68}
:root[data-theme="daylight"] .chip{background:#ebeae5;border-color:#deddd5;color:#4f515c}
:root[data-theme="daylight"] .chip.active{background:#9b7515;border-color:#9b7515;color:white}
:root[data-theme="daylight"] .secondary,:root[data-theme="daylight"] .action{background:#fffefa;border-color:#d8d7d0;color:#42434d}
:root[data-theme="daylight"] .action.active{background:#faf3df;border-color:#c5a84b;color:#57430a}
:root[data-theme="daylight"] .popover,:root[data-theme="daylight"] dialog{background:#fffefa;border-color:#deddd5;color:#24252c}
:root[data-theme="daylight"] .popover button,:root[data-theme="daylight"] .popover a{color:#30313a}
:root[data-theme="daylight"] .popover button:hover,:root[data-theme="daylight"] .popover a:hover{background:#eeede7}
:root[data-theme="daylight"] .popover hr{background:#deddd5}
:root[data-theme="daylight"] .form-field{background:#fff;border-color:#d6d5cf;color:#24252c}
:root[data-theme="daylight"] .description,:root[data-theme="daylight"] .blocked-accounts{background:#eeede7;border-color:#deddd5;color:#30313a}
:root[data-theme="daylight"] .search-suggestions{background:#fffefa;border-color:#deddd5}
:root[data-theme="daylight"] .search-suggestion:hover,:root[data-theme="daylight"] .search-suggestion:focus-visible{background:#eeede7}
:root[data-theme="daylight"] .search-suggestion strong{color:#24252c}
:root[data-theme="daylight"] .mobile-nav{background:#fffefaf2;border-color:#deddd5}
:root[data-theme="daylight"] .mobile-nav button{color:#656771}
:root[data-theme="daylight"] .mobile-nav button.active{color:#86630d}
:root[data-theme="daylight"] .video-title{color:#25262d}
:root[data-theme="daylight"] .channel-name{color:#565963}
:root[data-theme="daylight"] .video-stats{color:#70727c}
:root[data-theme="daylight"] .studio-row,:root[data-theme="daylight"] .metric,:root[data-theme="daylight"] .conversation-row,:root[data-theme="daylight"] .people-search,:root[data-theme="daylight"] .messages-inbox{background:#fffefa;border-color:#deddd5;color:#292a31}
:root[data-theme="daylight"] .owner-menu-button{background:#fff;border-color:#d6d5cf;color:#44464f}
:root[data-theme="daylight"] .feed-tabs{background:#e8e7e1}
:root[data-theme="daylight"] .feed-tabs button{color:#575963}
:root[data-theme="daylight"] .feed-tabs button.active{background:#fff;color:#473912}
:root[data-theme="daylight"] .feed-sort select{background:#fff;border-color:#d8d7d0;color:#30313a}
:root[data-theme="daylight"] .quick-discover{background:#fffefa;border-color:#deddd5;color:#30313a}
:root[data-theme="daylight"] .recently-watched{padding:17px 18px 3px;margin:0 0 22px;background:linear-gradient(115deg,#faf3db,#f4f3ef 62%);border:1px solid #e4d59e;border-radius:16px}
:root[data-theme="dusk"] .recently-watched{background:linear-gradient(115deg,#2d291f,#25231c);border-color:#443d2c}
.theme-choices{display:grid;gap:9px;margin:0 0 19px;padding:0;border:0}
.theme-choices legend{font-size:14px;font-weight:800;margin-bottom:9px}
.theme-choice{display:flex;align-items:center;gap:11px;padding:11px 12px;border:1px solid var(--border);border-radius:12px;cursor:pointer;background:var(--surface)}
.theme-choice.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.theme-choice input{accent-color:var(--accent)}
.theme-choice>span:last-child{display:grid}
.theme-choice strong{font-size:13px}
.theme-choice small{font-size:11px;color:var(--muted)}
.theme-swatch{width:37px;height:37px;border-radius:11px;border:1px solid #8885;background:linear-gradient(145deg,#101117 52%,#f1ce61 52%)}
.theme-swatch.daylight{background:linear-gradient(145deg,#f4f3ef 52%,#9b7515 52%)}
.theme-swatch.dusk{background:linear-gradient(145deg,#1d1b17 52%,#dab456 52%)}
.comfort-toggle{display:flex;align-items:center;gap:10px;padding:11px 0;font-size:13px;font-weight:700}
.comfort-toggle input{accent-color:var(--accent);width:17px;height:17px}
:root[data-text-size="small"] body{font-size:14px}
:root[data-text-size="comfortable"] body{font-size:16px}
:root[data-text-size="large"] body{font-size:18px}
:root[data-motion="reduced"] *, :root[data-motion="reduced"] *::before, :root[data-motion="reduced"] *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
@media(max-width:680px){:root[data-text-size="large"] .short-feed .shorts-caption h2{font-size:16px}:root[data-text-size="large"] .short-feed .shorts-caption .short-description{font-size:13px}.recently-watched{padding:12px 10px 2px!important}}

/* Signature Jubadock finish: a quiet aurora, warm surfaces, and crisp motion. */
body{background-image:radial-gradient(ellipse at 12% -8%,color-mix(in srgb,var(--accent) 11%,transparent),transparent 43%),radial-gradient(ellipse at 94% 23%,color-mix(in srgb,var(--cyan) 6%,transparent),transparent 32%);background-attachment:fixed}
.topbar{box-shadow:0 8px 28px #0002}
.brand-emblem{background:linear-gradient(145deg,var(--accent),var(--cyan));border:1px solid #ffffff30;border-radius:12px 12px 12px 5px;transform:rotate(-9deg);box-shadow:0 6px 22px color-mix(in srgb,var(--accent) 30%,transparent)}
.brand-emblem i{background:#14151c}
.brand-accent{color:var(--accent)}
.brand b{color:var(--cyan)}
.video-card .thumbnail{transition:border-color .2s,transform .2s,box-shadow .2s}
.video-card:hover .thumbnail{border-color:color-mix(in srgb,var(--accent) 60%,var(--border));box-shadow:0 12px 32px #0003}
.nav-item,.chip,.action,.secondary,.primary,.icon-button,.owner-menu-button{transition:color .16s ease,background .16s ease,border-color .16s ease,transform .16s ease}
.section-overline{color:var(--cyan)}
.recently-watched .video-grid{gap:14px;margin-bottom:20px}
.recently-watched .section-head{margin-bottom:12px}
:root[data-theme="daylight"] body{background-image:radial-gradient(ellipse at 12% -8%,#f3e2a545,transparent 43%),radial-gradient(ellipse at 94% 23%,#a8e8d445,transparent 32%)}
:root[data-theme="daylight"] .topbar{box-shadow:0 8px 28px #29332a10}
:root[data-theme="daylight"] .brand-emblem i{background:#282215}
:root[data-theme="daylight"] .video-card:hover .thumbnail{box-shadow:0 12px 32px #2723371a}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* On phones the action rail is pinned to the outer edge, centered beside the video. */
@media(max-width:760px){
 .short-feed + .shorts-controls{position:fixed;top:50dvh;right:max(8px,env(safe-area-inset-right));bottom:auto;transform:translateY(-50%);z-index:24;display:flex;flex-direction:column;align-items:center;gap:7px;padding:0}
 .short-feed + .shorts-controls .action{width:42px;height:42px;min-width:42px}
 .short-feed + .shorts-controls .action svg{width:18px;height:18px}
}

/* Preserve the familiar three-bar mark and switch its color to warm gold. */
.brand-emblem{background:linear-gradient(145deg,#ffe27a,#e9a92b);border:1px solid #fff1b655;box-shadow:0 6px 22px #e6b23835}
.brand-emblem i{display:block;background:#282215}
.brand-accent{color:#f0c64b}
:root[data-theme="daylight"] .brand-accent{color:#8b670d}
:root[data-theme="dusk"] .brand-accent{color:#f0c870}
/* Shorts stay visually clean: the action symbols float on the footage without black tiles. */
.short-feed + .shorts-controls .action{background:transparent;border:0;border-radius:50%;box-shadow:none;color:#fff}
.short-feed + .shorts-controls .action:hover,.short-feed + .shorts-controls .action:focus-visible{background:transparent;color:#ffe17b;box-shadow:0 0 18px #f1cb4b3d}

/* Unified Jubadock dark system: true black canvas, graphite layers, warm gold accents. */
:root{--bg:#050505;--surface:#101010;--surface2:#191919;--border:#292929;--text:#f7f6f2;--muted:#aaa9a3;--accent:#f0c64b;--primary:#f0c64b;--cyan:#e2bd58;color-scheme:dark}
:root[data-theme="night"]{--bg:#050505;--surface:#101010;--surface2:#191919;--border:#292929;--text:#f7f6f2;--muted:#aaa9a3;--accent:#f0c64b;--primary:#f0c64b;--cyan:#e2bd58;color-scheme:dark}
:root[data-theme="dusk"]{--bg:#0c0b08;--surface:#15130e;--surface2:#201d15;--border:#393325;--text:#f7f2e6;--muted:#bcb4a1;--accent:#f0c870;--primary:#e5bb57;--cyan:#dfc16f;color-scheme:dark}
body{background-color:var(--bg);background-image:radial-gradient(ellipse at 12% -8%,color-mix(in srgb,var(--accent) 7%,transparent),transparent 39%);background-attachment:fixed}
.topbar{background:#050505f5;border-color:#242424;box-shadow:0 8px 28px #0006}
.sidebar{background:#080808;border-color:#242424}
.main{padding-top:32px}
.brand-accent{color:#f0c64b}
.brand b{color:#f0c64b}
.brand-emblem{background:linear-gradient(145deg,#ffe27a,#e9a92b);border-color:#fff1b655;box-shadow:0 5px 20px #e6b23828}
.brand-emblem i{background:#211a08}
.nav-item{color:#c8c6bf}
.nav-item svg{color:#87857e}
.nav-item:hover{background:#171717}
.nav-item.active{background:#f0c64b;color:#151108}
.nav-item.active svg{color:#241c08}
.nav-item.active:before{background:#f0c64b}
.tiny-label,.section-overline{color:#f0c64b}
.tiny-label:before{background:#f0c64b;box-shadow:0 0 12px #f0c64b66}
.hero{background:#12110d;border-color:#37301e;border-radius:20px}
.hero:before{background:radial-gradient(ellipse at 18% 40%,#80621c55 0,transparent 72%)}
.hero:has(.hero-media):before{background:linear-gradient(90deg,#090909 0%,#090909ed 29%,#09090999 59%,#0909093d 100%),linear-gradient(0deg,#090909 0%,transparent 42%);z-index:-1}
.hero:has(.hero-media) .feature-pill{background:#f0c64b1c;border-color:#f0c64b55;color:#ffedb1}
.feature-pill{background:#f0c64b1c;border-color:#f0c64b55;color:#ffedb1}
.create-btn,.primary{background:#f0c64b;color:#181205}
.create-btn:hover,.primary:hover{background:#ffda70}
.chips .chip.active{background:#f0c64b;color:#171205;border-color:#f0c64b}
.section-head h2{letter-spacing:-.65px}
.video-card .thumbnail{background:#121212;border-color:#292929;border-radius:12px}
.video-card:hover .thumbnail{border-color:#5b4b20;box-shadow:0 10px 28px #0008}
.video-info{gap:11px}
.video-title:hover,.channel-name:hover{color:#f6d878}
.creator-card{background:linear-gradient(145deg,#17140d,#101010);border-color:#38301d}
.searchbar{background:#111;border-color:#292929}
.search-submit{background:#1c1c1c;border-color:#303030;color:#eee}
.icon-button:hover,.secondary:hover{background:#202020}
.secondary{background:#161616;border-color:#353535}
.mobile-nav{background:#080808f5;border-color:#292929}
.mobile-nav button.active,.mobile-nav button.active svg{color:#f0c64b;stroke:#f0c64b}
.recently-watched{background:linear-gradient(115deg,#18150d,#101010 70%);border-color:#39311f}
.recently-watched .section-head .hint{color:#aaa9a3}
.feed-tabs button.active{color:#211907}
.search-suggestions{background:#101010;border-color:#303030}
.popover,dialog{background:#101010;border-color:#303030}
.action.active{color:#f0c64b}
:root[data-theme="daylight"] body{background-image:radial-gradient(ellipse at 12% -8%,#d7b54722,transparent 43%),radial-gradient(ellipse at 94% 23%,#d7b54712,transparent 32%)}
:root[data-theme="daylight"] .brand b{color:#8b670d}
:root[data-theme="daylight"] .tiny-label,:root[data-theme="daylight"] .section-overline{color:#86630d}
:root[data-theme="daylight"] .nav-item.active{background:#f0c64b;color:#2a2109}
:root[data-theme="daylight"] .hero:has(.hero-media):before{background:linear-gradient(90deg,#10100ff2 0%,#10100fdb 29%,#10100f88 59%,#10100f25 100%),linear-gradient(0deg,#10100f 0%,transparent 42%);z-index:-1}
@media(max-width:680px){.main{padding-top:20px}.hero{border-radius:15px}.video-card .thumbnail{border-radius:10px}}

/* Emerald brand refresh: consistent green accents, white mark, simple profile fallbacks. */
:root{--accent:#36c892;--primary:#36c892;--cyan:#8de2b8}
:root[data-theme="night"]{--accent:#36c892;--primary:#36c892;--cyan:#8de2b8}
:root[data-theme="dusk"]{--accent:#65d3a2;--primary:#48c38c;--cyan:#9be3bd}
:root[data-theme="daylight"]{--accent:#287a55;--primary:#338c62;--cyan:#287a55}
.brand-accent,.brand b{color:#55d6a0}
.brand-emblem{background:linear-gradient(145deg,#45d5a0,#18845e);border-color:#a4f1ce55;box-shadow:0 5px 20px #27bc8240}
.brand-emblem i{background:#fff}
.avatar{background:#236c52;color:#fff}
.avatar.small{background:#236c52;color:#fff}
.nav-item.active{background:#36c892;color:#082117}
.nav-item.active svg{color:#082117}
.nav-item.active:before{background:#36c892}
.tiny-label,.section-overline{color:#64d5a2}
.tiny-label:before{background:#64d5a2;box-shadow:0 0 12px #64d5a244}
.create-btn,.primary{background:#36c892;color:#082117}
.create-btn:hover,.primary:hover{background:#5edca8}
.chips .chip.active{background:#36c892;color:#082117;border-color:#36c892}
.recently-watched{background:linear-gradient(115deg,#10251c,#101010 70%);border-color:#254b39}
.creator-card{background:linear-gradient(145deg,#112319,#101010);border-color:#254b39}
.video-card:hover .thumbnail{border-color:#34845f}
.mobile-nav button.active,.mobile-nav button.active svg{color:#54d49d;stroke:#54d49d}
.action.active{color:#54d49d}
.hero:before{background:radial-gradient(ellipse at 18% 40%,#22734d45 0,transparent 72%)}
.feature-pill,.hero:has(.hero-media) .feature-pill{background:#36c8921c;border-color:#36c89255;color:#d5ffea}
.short-feed + .shorts-controls .action:hover,.short-feed + .shorts-controls .action:focus-visible{color:#9af0c4;box-shadow:0 0 18px #36c8923d}
:root[data-theme="daylight"] .brand-accent,:root[data-theme="daylight"] .brand b{color:#287a55}
:root[data-theme="daylight"] .nav-item.active{background:#338c62;color:#fff}
:root[data-theme="daylight"] .nav-item.active svg{color:#fff}
:root[data-theme="daylight"] .create-btn,:root[data-theme="daylight"] .primary{background:#338c62;color:#fff}
:root[data-theme="daylight"] .chips .chip.active{background:#338c62;border-color:#338c62;color:#fff}
:root[data-theme="daylight"] .recently-watched{background:linear-gradient(115deg,#e8f5ed,#f7f8f5 70%);border-color:#cde5d6}
:root[data-theme="daylight"] .avatar,:root[data-theme="daylight"] .avatar.small{background:#236c52;color:#fff}

/* Keep video frames and preview overlays crisp: solid ink surfaces, no two-tone fade. */
.video-card .thumbnail{background:#111;border-color:#292929}
.short-preview{background:#111;border:1px solid #292929}
.short-preview:before{background:#0007}
.short-feed .shorts-slide:before{background:#0007}
.hero:has(.hero-media):before,.spotlight-layout .hero:has(.hero-media):before{background:#050505a8;z-index:-1}
/* Recently watched uses a pure black canvas behind its video cards. */
.recently-watched{background:#050505;border-color:#292929}
/* A selected reaction gets a solid white icon and a quiet emerald pressed state. */
.action[data-action="like"].active,.action[data-action="dislike"].active{background:#15523a;border-color:#267653;color:#fff}
.action[data-action="like"].active svg path,.action[data-action="dislike"].active svg path{fill:#fff;stroke:none}
.action[data-action="save"].active svg path{fill:#fff;stroke:#fff}
.action[data-action="like"].active:hover,.action[data-action="dislike"].active:hover{background:#1b6547}
.short-feed + .shorts-controls .action[data-action="like"].active,.short-feed + .shorts-controls .action[data-action="dislike"].active,.short-feed + .shorts-controls .action[data-action="like"].active:hover,.short-feed + .shorts-controls .action[data-action="dislike"].active:hover{background:transparent;border-color:transparent;box-shadow:none;color:#fff}

@media(max-width:680px){.menu-toggle{display:none}}
/* Keep the compact brand mark crisp at every display scale. */
.brand-emblem{background:#36c892;box-shadow:none;transform:none;border:1px solid #36c892;overflow:hidden}
.brand-emblem i{background:#fff;transform:none;border-radius:1px}
.upload-preview-wrap{margin:14px 0 8px;padding:12px;background:#10131b;border:1px solid #303544;border-radius:13px}
.upload-preview{display:block;width:100%;max-height:42vh;aspect-ratio:16/9;object-fit:contain;background:#000;border-radius:9px}
.upload-preview-wrap .form-hint{margin:9px 2px 0;line-height:1.55}
/* Personal libraries keep portrait Shorts distinct from landscape videos. */
.library-media-section+.library-media-section{margin-top:34px}
.library-media-section .section-head{margin-bottom:16px}
.library-media-section .full-shorts-grid{margin-bottom:0}

.action[data-action="comment"].active svg path{fill:#fff;stroke:#fff}
/* Notification text gets the flexible column; the dismiss control keeps its own width. */
.notification-row{min-width:0}
.notification-row .notification-item{width:auto;flex:1 1 0%;min-width:0}
.notification-row .notification-item>.avatar{flex:0 0 36px}
.notification-copy{width:0;flex:1 1 0%;min-width:0}
.notification-copy>strong,.notification-copy>span,.notification-copy>small{display:block;min-width:0;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:break-word}
.notification-dismiss{flex:0 0 34px}
/* Profile artwork is user-selected; empty channels use one quiet ink color. */
.channel-banner{position:relative;isolation:isolate;overflow:hidden;background:#111;border-color:#292929}
.channel-banner .channel-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}
.channel-banner>.channel-mini,.channel-banner>button{position:relative;z-index:1}
.profile-edit-grid{display:grid;grid-template-columns:1fr 1.35fr;gap:16px;margin-bottom:4px}
.profile-image-control{min-width:0;padding:13px;background:#151515;border:1px solid #303030;border-radius:12px}
.profile-image-control .field-label{margin:0 0 9px}
.profile-image-preview{display:grid;place-items:center;overflow:hidden;background:#090909;border:1px solid #333;border-radius:10px;margin-bottom:10px;color:#aaa;font-size:12px}
.profile-image-preview img{width:100%;height:100%;object-fit:cover}
.avatar-preview{width:94px;height:94px;border-radius:50%}
.banner-preview{width:100%;aspect-ratio:16/5}
.profile-image-empty{padding:8px;text-align:center}
.profile-file-button{display:inline-flex;cursor:pointer;font-size:12px;padding:8px 10px}
.profile-file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.profile-file-input:focus-visible+.profile-clear{outline:2px solid var(--cyan)}
.profile-clear{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;margin-top:9px}
.profile-clear input{accent-color:#36c892;width:16px;height:16px}
@media(max-width:560px){.profile-edit-grid{grid-template-columns:1fr}.profile-image-control{padding:11px}.banner-preview{max-height:100px}}
/* Upload review: give creators a clear, responsive check before publishing. */
.thumbnail-review{display:flex;align-items:center;gap:12px;margin-top:12px;color:#bab8b0;font-size:12px;font-weight:700}
.thumbnail-review img{width:132px;aspect-ratio:16/9;object-fit:cover;background:#000;border:1px solid #343434;border-radius:8px}
#dialog-body:has(#upload-form){padding-bottom:2px}
#upload-form .field-label{margin-top:17px}
#upload-form .dialog-actions{position:sticky;bottom:-23px;padding:13px 0 max(4px,env(safe-area-inset-bottom));margin-top:18px;background:linear-gradient(180deg,#10101000,#101010 20%);z-index:1}
#upload-form .primary{min-height:44px}
@media(max-width:680px){#dialog-body:has(#upload-form){padding-bottom:0}#upload-form .dialog-actions{bottom:-16px}.thumbnail-review img{width:112px}}

/* Upload clarity, caption options, progress and comfortable focus states. */
.upload-progress{display:flex;align-items:center;gap:12px;margin:15px 0;color:#d5d7df;font-size:14px}
.upload-progress progress{width:100%;height:10px;accent-color:#36c892}
.upload-progress span{min-width:90px;text-align:right;font-variant-numeric:tabular-nums}
#upload-form input[type=file].form-field{min-height:44px}
:focus-visible{outline:3px solid #36c892!important;outline-offset:3px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Safety labels and settings */
.sensitivity-badge{position:absolute;top:10px;left:10px;z-index:2;padding:5px 8px;border-radius:6px;background:#1b1d24e8;color:#fff;font-size:11px;font-weight:700;border:1px solid #ffffff45}
.moderation-note{display:inline-block;color:#f0d57c;font-size:12px;font-weight:650;margin-top:4px}
.moderation-banner,.sensitivity-banner{padding:11px 14px;margin:12px 0;border-radius:9px;font-size:14px;line-height:1.45}
.moderation-banner{background:#322916;border:1px solid #806a30;color:#f6df91}
.sensitivity-banner{background:#20222a;border:1px solid #414550;color:#d5d8e0}
.preference-toggle{display:flex;align-items:flex-start;gap:12px;padding:15px 4px;border-bottom:1px solid var(--border);cursor:pointer}
.preference-toggle input{width:20px;height:20px;accent-color:#36c892;margin:2px 0 0;flex:0 0 auto}
.preference-toggle span{display:grid;gap:4px}.preference-toggle strong{font-size:15px}.preference-toggle small{font-size:13px;color:var(--muted);line-height:1.4}
.moderation-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:14px 0;border-bottom:1px solid var(--border)}
.scan-status{margin:12px 0;padding:12px 14px;border:1px solid var(--border);border-radius:12px;color:var(--muted);font-size:13px}.scan-status.is-running{color:var(--text)}.scan-status.is-clear{border-color:#2da77d;color:#79ddb4}.scan-status.is-flagged,.scan-status.is-error{border-color:#d99d39;color:#f2cc75}
.scan-flags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.scan-flag{padding:4px 8px;border-radius:7px;background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--text);font-size:12px}
.moderation-item p{margin:5px 0;font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.moderation-player{width:min(100%,420px);max-height:300px;background:#000;border-radius:8px;margin-top:8px}
.moderation-actions{display:flex;align-items:center;gap:8px}.moderation-actions button{min-height:40px}
.comment-report{margin-left:auto;align-self:center}
@media(max-width:600px){.moderation-item{grid-template-columns:1fr}.moderation-actions{justify-content:flex-start}.moderation-player{max-height:220px}}

/* Keep the app canvas true black; emerald remains the single brand accent. */
body{background-color:#050505;background-image:none}

.install-button{padding:7px 12px;font-size:13px;white-space:nowrap}

/* Keep the upload footer balanced and make support easy to find on every screen. */
#upload-form .dialog-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;justify-content:center;gap:12px}
#upload-form .dialog-actions>button{width:100%;min-width:0;min-height:48px;padding:10px 8px;text-align:center;white-space:normal;line-height:1.25}
.site-footer{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 22px;padding:18px 16px max(20px,env(safe-area-inset-bottom));border-top:1px solid #202020;background:#050505;color:#a9acae;font-size:13px}
.site-footer a{color:#e6e9e8;text-decoration:none}
.site-footer a:hover{text-decoration:underline;color:#8de2b8}
.site-footer span{color:#a9acae}
@media(max-width:680px){#upload-form .dialog-actions{gap:7px}#upload-form .dialog-actions>button{font-size:13px;padding:9px 5px}.site-footer{gap:7px 15px;font-size:12px}}
