:root{color-scheme:light;--bg:#fff;--fg:#111318;--muted:#676b73;--soft:#f2f3f5;--line:#e9eaed;--accent:#1567ed;--accent-dark:#0c48b2;--card:#fff;--shadow:0 18px 50px #192c5924;--radius:13px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--fg);font-family:Arial,Helvetica,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}svg use{pointer-events:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #70a6ff;outline-offset:3px}
.topbar{height:70px;background:var(--bg);position:sticky;top:0;z-index:25;display:flex;align-items:center;gap:20px;padding:0 30px 0 22px;border-bottom:1px solid var(--line)}.brand-group{width:229px;flex:0 0 229px;display:flex;align-items:center;gap:20px}.icon-button{width:40px;height:40px;border:0;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;background:transparent;color:var(--fg)}.icon-button:hover{background:var(--soft)}.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:800;letter-spacing:-1.25px;white-space:nowrap}.brand-photo{height:38px;width:38px;border-radius:50%;object-fit:cover;object-position:center 37%;border:2px solid white;box-shadow:0 0 0 2px #1675ff}.blue-word{color:var(--accent)}.global-search{height:43px;display:flex;max-width:675px;width:min(100%,675px);margin:auto;border:1px solid #d4d7dc;border-radius:25px;overflow:hidden;background:var(--bg)}.global-search:focus-within{outline:1px solid var(--accent)}.global-search input{flex:1;border:0;padding:0 22px;min-width:0;background:transparent;color:var(--fg);outline:0;font-size:15px}.global-search input:focus-visible{outline:0}.global-search button{width:64px;display:flex;align-items:center;justify-content:center;background:var(--soft);border:0;border-left:1px solid var(--line)}.header-actions{flex:0 0 230px;display:flex;justify-content:flex-end;gap:14px;align-items:center}.upload-button{border:0;background:var(--soft);border-radius:26px;padding:10px 15px;font-weight:700;display:flex;gap:8px;align-items:center;color:var(--fg)}.upload-button:hover{background:var(--line)}.upload-button svg{width:18px;height:18px}.account-photo{width:36px;height:36px;object-fit:cover;object-position:center 40%;border-radius:50%}
.shell{display:flex;min-height:calc(100vh - 70px)}.sidebar{position:sticky;top:70px;height:calc(100vh - 70px);width:239px;flex:0 0 239px;display:flex;flex-direction:column;overflow:auto;padding:24px 12px 20px 16px;background:var(--bg);transition:width .2s,flex-basis .2s;z-index:18}.sidebar-nav{display:grid;gap:3px}.nav-item{height:45px;border:0;width:100%;padding:0 14px;display:flex;align-items:center;gap:24px;border-radius:11px;background:transparent;color:var(--fg);font-weight:500;text-align:left;font-size:14px}.nav-item:hover{background:var(--soft)}.nav-item.active{background:#e9f1ff;color:#125ad2;font-weight:700}.nav-item.active svg{stroke-width:2.3}.nav-item svg{width:21px;height:21px}.nav-divider{height:1px;background:var(--line);margin:13px 6px}.sidebar-bottom{margin-top:auto;padding:25px 15px 0;color:var(--muted);font-size:11px;line-height:1.6}.sidebar-bottom strong{color:var(--accent);font-size:11px;letter-spacing:1.5px}.sidebar-bottom p{margin:6px 0 15px}.sidebar-bottom button{color:var(--muted);background:transparent;border:0;padding:0;font-size:11px}.sidebar-bottom button:hover{text-decoration:underline}.sidebar-overlay{display:none}.main-area{padding:20px clamp(24px,3vw,52px) 70px;flex:1;min-width:0;max-width:calc(100% - 239px)}
.welcome-area{min-height:239px;background:linear-gradient(115deg,#edf5ff 0%,#e4f0ff 57%,#dbecff 100%);border:1px solid #dbe9ff;border-radius:17px;position:relative;overflow:hidden;padding:31px 45px;display:flex;align-items:center;justify-content:space-between}.welcome-copy{position:relative;z-index:2}.mini-kicker{display:flex;align-items:center;gap:7px;color:#1258c6;font-size:10px;font-weight:800;letter-spacing:2px}.live-dot{width:7px;height:7px;border-radius:50%;background:#1486f0}.welcome-area h1{font-size:clamp(26px,3.4vw,45px);line-height:1.06;letter-spacing:-1.9px;margin:16px 0 11px;font-weight:800}.welcome-area h1 span{color:#145fcb}.welcome-area p{color:#52657c;font-size:13px;margin:0 0 21px}.primary-cta{background:#155dec;color:#fff;border:0;border-radius:22px;font-weight:700;padding:10px 17px;display:flex;gap:9px;align-items:center;box-shadow:0 8px 16px #1459e92e}.primary-cta svg{width:18px;height:18px}.primary-cta:hover{background:#0c4cc6}.welcome-art{height:220px;width:340px;position:relative;flex:0 1 330px;display:flex;align-items:center;justify-content:center}.welcome-art::before{content:"";position:absolute;inset:21px 8px 0 18px;background:#88b9fc70;transform:rotate(-13deg);border-radius:50px}.welcome-art-card{width:240px;height:178px;background:#fff;border:7px solid #fff;box-shadow:0 18px 35px #1354b346;border-radius:21px;transform:rotate(8deg);position:relative;overflow:hidden}.welcome-art-card img{width:100%;height:100%;object-fit:cover;object-position:center 39%}.play-bubble{position:absolute;right:12px;bottom:11px;background:#fff;color:#1a69f4;width:47px;height:47px;border-radius:50%;display:grid;place-items:center;box-shadow:0 6px 18px #0002}.play-bubble svg{fill:currentColor;width:23px;height:23px}.spark{position:absolute;color:#1464e8;font-size:36px}.spark-one{left:8px;top:5px}.spark-two{right:9px;bottom:7px;font-size:23px}
.mode-banner strong{font-weight:800}.feed-tools{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:25px}.chips{display:flex;gap:9px;min-width:0;overflow:auto;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{background:var(--soft);border:1px solid transparent;border-radius:8px;padding:9px 16px;color:var(--fg);font-size:13px;white-space:nowrap;font-weight:600}.chip.selected{background:var(--fg);color:var(--bg)}.chip:not(.selected):hover{background:var(--line)}.sort-actions{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;white-space:nowrap}.sort-actions select{border:0;background:var(--soft);border-radius:8px;padding:9px 7px;color:var(--fg);font-size:12px}.sort-actions .icon-button{width:32px;height:32px}.sort-actions .icon-button svg{width:17px;height:17px}.feed-heading{margin:32px 0 20px}.feed-heading h2{font-size:20px;letter-spacing:-.55px;margin:0 0 7px}.feed-heading p{color:var(--muted);font-size:12px;margin:0}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:29px 18px}.post-card{min-width:0;cursor:pointer}.post-card:hover .post-title{text-decoration:underline}.thumb{aspect-ratio:16/9;background:#101f3a;position:relative;border-radius:13px;overflow:hidden;display:flex;align-items:center;justify-content:center}.thumb>img,.thumb>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.thumb>video{pointer-events:none}.thumb.playable:after{content:"▶";height:49px;width:49px;border-radius:50%;background:#0c1c2d9c;color:#fff;display:grid;place-items:center;font-size:18px;position:absolute;opacity:0;transition:opacity .15s}.post-card:hover .thumb.playable:after{opacity:1}.thumb .default-thumb{height:100%;width:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1266f2,#78b4ff);color:#fff}.thumb .default-thumb.music{background:linear-gradient(135deg,#4a49c6,#9f83f9)}.thumb .default-thumb.file{background:linear-gradient(135deg,#1e456a,#3a8aa8)}.thumb .default-thumb svg{height:70px;width:70px;opacity:.85;stroke-width:1.4}.thumb .failed-thumb{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#222d42;color:#fff;font-weight:700}.duration-chip{position:absolute;bottom:9px;right:10px;background:#14161cdd;color:#fff;font-weight:700;font-size:11px;border-radius:4px;padding:4px 6px}.post-data{display:flex;gap:10px;margin-top:12px}.post-avatar{width:35px;height:35px;border-radius:50%;object-fit:cover;object-position:center 40%;flex:0 0 35px}.post-text{min-width:0}.post-title{font-size:14px;font-weight:700;line-height:1.42;margin:0 0 6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.post-subline{color:var(--muted);font-size:12px;line-height:1.5}.post-subline span{padding:0 3px}.empty-state{grid-column:1/-1;padding:35px 0 55px}.empty-state-top{display:flex;align-items:center;justify-content:space-between;gap:22px;background:var(--soft);border-radius:17px;padding:30px}.empty-icon{height:64px;width:64px;display:grid;place-items:center;border-radius:20px;background:#dceafe;color:#155fdb}.empty-icon svg{width:35px;height:35px}.empty-state h3{font-size:22px;margin:0 0 7px}.empty-state p{margin:0;max-width:470px;color:var(--muted);line-height:1.55}.empty-tiles{margin-top:18px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.empty-tile{min-height:170px;border-radius:14px;padding:20px;display:flex;flex-direction:column;justify-content:flex-end;gap:7px;position:relative;overflow:hidden;background:linear-gradient(115deg,#144fc9,#75b5fa);color:white}.empty-tile:nth-child(2){background:linear-gradient(115deg,#6379d4,#be9efb)}.empty-tile:nth-child(3){background:linear-gradient(115deg,#117a9e,#7dc0c3)}.empty-tile svg{position:absolute;top:17px;right:16px;width:55px;height:55px;opacity:.35}.empty-tile strong{font-size:16px}.empty-tile span{font-size:11px;opacity:.9}.loading-state{grid-column:1/-1;color:var(--muted);padding:60px 15px;text-align:center}
.watch-page[hidden],.feed-page[hidden]{display:none}.back-button{border:0;background:transparent;color:var(--accent);padding:8px 0 20px;font-weight:700}.watch-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(240px,.9fr);gap:30px}.player-box{aspect-ratio:16/9;background:#111827;border-radius:15px;overflow:hidden;display:flex;justify-content:center;align-items:center;position:relative}.player-box video,.player-box img{width:100%;height:100%;object-fit:contain}.player-box audio{max-width:85%;position:relative;z-index:2}.player-box .player-empty{text-align:center;color:#c7d9f9;display:grid;gap:10px;place-items:center}.player-box .player-empty svg{width:65px;height:65px}.player-box .player-failed{position:absolute;inset:0;background:#141e30;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.watch-main>h1{font-size:21px;letter-spacing:-.5px;line-height:1.35;margin:17px 0 14px}.watch-byline{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap}.byline-owner{display:flex;align-items:center;gap:11px}.byline-owner img{width:43px;height:43px;object-fit:cover;object-position:center 40%;border-radius:50%}.byline-owner div{display:grid;gap:4px}.byline-owner strong{font-size:13px}.byline-owner span{font-size:12px;color:var(--muted)}.watch-actions{display:flex;gap:7px}.watch-actions button{border:0;background:var(--soft);border-radius:20px;padding:9px 13px;display:flex;align-items:center;gap:7px;font-weight:700;color:var(--fg)}.watch-actions svg{height:17px;width:17px}.watch-description{background:var(--soft);border-radius:12px;margin-top:21px;padding:17px 19px;line-height:1.55}.watch-description strong{font-size:12px}.watch-description p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0;color:var(--fg);font-size:13px}.watch-file-heading{font-size:16px;margin:25px 0 13px}.watch-file-heading span{color:var(--muted);font-weight:400}.watch-file-list{display:grid;gap:9px}.watch-file{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:11px;padding:12px}.watch-file.active{border-color:#71a9fb;background:#eff6ff}.watch-file-title{flex:1;min-width:0}.watch-file-title strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.watch-file-title small{display:block;color:var(--muted);margin-top:4px}.watch-file button{background:transparent;border:0;color:var(--accent);font-size:12px;font-weight:700}.watch-file a{display:grid;place-items:center;background:var(--soft);width:32px;height:32px;border-radius:50%}.watch-file a svg{width:17px;height:17px}.watch-recommendations h2{font-size:16px;margin:0 0 15px}.next-item{border:0;background:transparent;display:flex;gap:11px;margin-bottom:15px;padding:0;text-align:left;color:var(--fg);width:100%}.next-thumb{width:44%;max-width:172px;aspect-ratio:16/9;background:#2056a8;border-radius:8px;overflow:hidden;display:grid;place-items:center;color:white;flex-shrink:0}.next-thumb img,.next-thumb video{height:100%;width:100%;object-fit:cover}.next-thumb svg{width:38px;height:38px}.next-info{min-width:0}.next-info strong{font-size:12px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.next-info span{display:block;color:var(--muted);font-size:11px;margin-top:5px}
.mobile-nav{display:none}dialog{border:0;color:var(--fg);background:var(--card);box-shadow:var(--shadow);border-radius:17px;max-width:calc(100vw - 24px);padding:0;max-height:min(90vh,900px);overflow:auto}dialog::backdrop{background:#050e23a3}.upload-dialog{width:650px}.legal-dialog{width:600px}.report-dialog{width:470px}.dialog-top{position:sticky;top:0;z-index:1;background:var(--card);display:flex;justify-content:space-between;align-items:flex-start;padding:24px 26px 18px;border-bottom:1px solid var(--line)}.dialog-top h2{font-size:21px;margin:0 0 6px}.dialog-top p{margin:0;color:var(--muted);font-size:13px}.upload-dialog form,.report-dialog form{padding:22px 26px 24px}.field-label{font-weight:700;display:block;margin:16px 0 7px}.field-label b{color:#ef4444}.field-label small{color:var(--muted);font-weight:400}.upload-dialog input[type=text],.upload-dialog textarea,.report-dialog textarea,.manual-entry input{display:block;border:1px solid #d7dce2;border-radius:10px;padding:12px 13px;background:var(--bg);color:var(--fg);width:100%;outline:none}.upload-dialog textarea,.report-dialog textarea{resize:vertical}.upload-dialog input[type=text]:focus,.upload-dialog textarea:focus,.report-dialog textarea:focus,.manual-entry input:focus{border-color:var(--accent)}.dropzone{border:2px dashed #bfd4f6;border-radius:13px;background:#f8fbff;text-align:center;padding:26px 18px;display:grid;justify-items:center;margin-top:20px;position:relative;transition:background .15s,border .15s}.dropzone.dragover{background:#e6f1ff;border-color:var(--accent)}.dropzone strong{font-size:15px;margin:10px 0 5px}.dropzone p{color:#728094;margin:0 0 15px;font-size:12px}.drop-circle{height:48px;width:48px;background:#e0edff;color:var(--accent);border-radius:50%;display:grid;place-items:center}.drop-circle svg{height:26px;width:26px}.choose-files{display:inline-flex;padding:10px 16px;color:#fff;background:var(--accent);border-radius:22px;font-weight:700}.dropzone input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-list{display:grid;gap:9px;margin:15px 0}.file-item{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:11px 12px;border-radius:10px;flex-wrap:wrap}.file-item-icon{font-size:20px;color:var(--accent);flex:0 0 25px}.file-item-main{display:grid;gap:3px;min-width:0;flex:1}.file-item-main strong{font-size:12px;overflow-wrap:anywhere}.file-item-main small{font-size:11px;color:var(--muted)}.file-item-status{font-size:11px;color:#657180;max-width:45%;overflow-wrap:anywhere}.file-item-status.error{color:#cf3030}.file-item-status.success{color:#098253}.remove-file{border:0;background:var(--soft);border-radius:50%;height:26px;width:26px;font-size:19px}.manual-entry{width:100%}.manual-entry label{font-size:12px;display:grid;gap:7px;color:var(--muted)}.manual-help{background:#fff6dd;border:1px solid #ffdea8;border-radius:10px;padding:13px;font-size:12px;line-height:1.5}.manual-help a{color:#0e64b8;text-decoration:underline}.agree{display:flex;align-items:flex-start;gap:10px;margin:20px 0 10px;color:var(--muted);font-size:12px;line-height:1.5}.agree input{margin:1px 0 0}.agree button{background:transparent;border:0;color:var(--accent);padding:0;font-size:12px;text-decoration:underline}.upload-notice{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;color:#205eaa;font-size:12px;min-height:15px}.upload-notice.error{color:#b53e3e}.upload-notice.ok{color:#087e52}.dialog-footer{display:flex;gap:14px;justify-content:space-between;align-items:center;margin-top:13px;border-top:1px solid var(--line);padding-top:18px}.upload-fineprint{font-size:10px;line-height:1.4;color:var(--muted);max-width:390px}.publish-button{display:flex;align-items:center;gap:7px;border:0;border-radius:24px;background:var(--accent);color:#fff;padding:11px 19px;font-size:13px;font-weight:700;white-space:nowrap}.publish-button svg{width:17px;height:17px}.publish-button:disabled{opacity:.5;cursor:wait}.legal-body{padding:14px 27px 30px}.legal-body h3{margin:20px 0 5px;font-size:14px}.legal-body p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}.report-dialog .publish-button{margin-top:16px}
body.sidebar-collapsed .sidebar{width:77px;flex-basis:77px;padding:24px 10px}body.sidebar-collapsed .sidebar .nav-item{justify-content:center;padding:0;gap:0}body.sidebar-collapsed .sidebar .nav-item span,body.sidebar-collapsed .sidebar .sidebar-bottom,body.sidebar-collapsed .sidebar .nav-divider{display:none}body.sidebar-collapsed .main-area{max-width:calc(100% - 77px)}
body.dark{color-scheme:dark;--bg:#0f1012;--fg:#f4f5f7;--muted:#a0a3aa;--soft:#242629;--line:#33363a;--card:#18191c;--shadow:0 19px 65px #0009}body.dark .welcome-area{background:linear-gradient(115deg,#14294b,#173b70);border-color:#23416d}body.dark .welcome-area h1 span{color:#65a8ff}body.dark .welcome-area p{color:#b6cae5}body.dark .mini-kicker{color:#8cbbff}body.dark .nav-item.active{background:#202f4b;color:#89b5fb}body.dark .empty-icon{background:#243c60;color:#a5c7ff}body.dark .dropzone{background:#192338;border-color:#3a629d}body.dark .dropzone.dragover{background:#253d60}body.dark .drop-circle{background:#274e83;color:#99c5fb}body.dark .upload-dialog input[type=text],body.dark .upload-dialog textarea,body.dark .report-dialog textarea,body.dark .manual-entry input{border-color:#3b4149}body.dark .manual-help{background:#332917;border-color:#654c27}body.dark .watch-file.active{background:#20375b;border-color:#568ee0}
@media(max-width:1230px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.header-actions{flex-basis:168px}.brand-group{width:230px;flex-basis:230px}.main-area{padding-left:25px;padding-right:25px}}
@media(max-width:900px){.topbar{gap:12px;padding:0 17px}.brand-group{width:auto;flex-basis:auto}.brand-group .icon-button{display:none}.brand{font-size:20px}.brand-photo{width:33px;height:33px}.header-actions{flex-basis:auto;gap:7px}.header-actions .theme-button{display:none}.global-search{flex:1;max-width:none}.sidebar{position:fixed;left:-255px;width:235px;top:70px;box-shadow:var(--shadow);height:calc(100vh - 70px);transition:left .2s}.main-area,body.sidebar-collapsed .main-area{max-width:100%;padding:20px 24px 85px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;background:var(--bg);border-top:1px solid var(--line);z-index:25;height:64px;display:flex;justify-content:space-around}.mobile-nav button{flex:1;border:0;background:transparent;color:var(--fg);display:grid;align-content:center;justify-items:center;gap:4px;font-size:10px}.mobile-nav button svg{width:22px;height:22px}.watch-layout{grid-template-columns:minmax(0,1.5fr) minmax(210px,.8fr)}.welcome-art{width:210px;flex-basis:210px}.welcome-art-card{height:140px;width:175px}.welcome-area{padding:29px}.main-area .feed-heading{margin-top:27px}}
@media(max-width:640px){.topbar{height:61px;padding:0 12px;gap:9px}.brand{font-size:18px;letter-spacing:-.7px;gap:7px}.brand-photo{width:31px;height:31px}.global-search{height:37px;min-width:75px}.global-search input{font-size:12px;padding:0 12px}.global-search button{width:40px}.header-actions .account-photo{display:none}.upload-button{padding:8px;border-radius:50%;height:36px;width:36px;justify-content:center}.upload-button span{display:none}.main-area{padding:12px 13px 80px}.welcome-area{min-height:184px;padding:22px 19px}.welcome-area h1{font-size:28px;letter-spacing:-1px;margin:12px 0 9px}.welcome-area p{font-size:11px;max-width:260px;line-height:1.4}.welcome-art{flex-basis:130px;width:130px;height:140px;margin-right:-35px;opacity:.63}.welcome-art-card{height:122px;width:133px;border-width:5px}.play-bubble{width:32px;height:32px}.mini-kicker{font-size:9px;letter-spacing:1px}.primary-cta{padding:9px 12px;font-size:11px}.primary-cta svg{width:15px;height:15px}.feed-tools{margin-top:20px;flex-wrap:wrap;gap:13px}.chips{width:100%}.chip{font-size:11px;padding:8px 12px}.sort-actions{margin-left:auto}.feed-heading h2{font-size:19px}.gallery{grid-template-columns:1fr;gap:22px}.thumb{border-radius:11px}.watch-layout{display:block}.watch-recommendations{margin-top:25px}.watch-main>h1{font-size:19px}.watch-actions button{padding:8px 11px;font-size:12px}.empty-state-top{padding:23px;justify-content:flex-start}.empty-icon{display:none}.empty-tiles{grid-template-columns:1fr}.empty-tile{min-height:130px}.dialog-top{padding:18px 18px 13px}.upload-dialog form,.report-dialog form{padding:15px 18px 20px}.dialog-footer{align-items:flex-start}.upload-fineprint{max-width:170px}.sidebar{top:61px;height:calc(100vh - 61px)}.post-data{margin-top:9px}}

/* Dark first: match a familiar video sharing feed, with legible control contrast. */
body.dark .global-search{border-color:#373a40;background:#121316}
body.dark .global-search button{background:#25272b}
body.dark .sidebar-bottom{color:#a0a3aa}
body.dark .post-card:hover .post-title{color:#80b3ff}
body.dark select,body.dark option{background:#1c1e21;color:#f4f5f7}
body.dark .file-item-status{color:#b6bbc5}
body.dark .file-item-status.error{color:#ff9595}
body.dark .file-item-status.success{color:#85e5b1}
body.dark .upload-notice{color:#bad8ff}
body.dark .upload-notice.error{color:#ff9898}
body.dark .upload-notice.ok{color:#90e5b4}
body.dark .watch-file{border-color:#353940}
body.dark .sidebar-bottom button{color:#adc9ff}
body.dark .manual-help a{color:#a6cbff}
body.dark .upload-fineprint{color:#b0b4bf}
body.dark .publish-button{background:#2576eb}
body.dark .next-item:hover{background:#24272b}

/* Release 3 interaction fixes. */
.feed-status{padding:11px 14px;margin:12px 0 0;border-radius:10px;background:#192943;color:#b9d8ff;font-size:13px;line-height:1.5;}
.feed-status.error{background:#3b2223;color:#ffd9d9;}
.feed-status[hidden]{display:none;}
.empty-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;}
.empty-actions button{color:#fff;background:var(--accent);border:0;padding:10px 16px;border-radius:22px;font-weight:700;}
.empty-actions .secondary-action{color:var(--fg);background:var(--line);}
button:disabled{cursor:not-allowed;}
.link-upload{border:1px solid var(--line);background:var(--soft);border-radius:12px;padding:13px 16px;margin:14px 0;}
.link-upload summary{cursor:pointer;font-weight:700;color:var(--fg);}
.link-upload p{color:var(--muted);font-size:12px;line-height:1.55;}
.link-upload input{width:100%;background:var(--bg);border:1px solid var(--line);border-radius:9px;padding:10px;color:var(--fg);}
.link-add-button{margin-top:11px;border:0;background:var(--accent);color:#fff;border-radius:20px;padding:10px 17px;font-weight:700;}
body.dark .nav-item.active{background:#203450;color:#a8ccff;}
body.dark .chip.selected{background:#f0f2f5;color:#111;}
body.dark .dropzone{color:var(--fg);}
@media(max-width:900px){
 .brand-group .icon-button{display:inline-flex;}
 .brand-group{gap:7px;}
 .topbar{gap:8px;}
 .sidebar{left:-255px;box-shadow:0 12px 40px #0008;}
 body.sidebar-open .sidebar{left:0;z-index:32;}
 .sidebar-overlay{display:block;position:fixed;inset:61px 0 0 0;z-index:31;border:0;padding:0;background:#000a;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility .2s;}
 body.sidebar-open .sidebar-overlay{opacity:1;visibility:visible;pointer-events:auto;}
 body.sidebar-collapsed .sidebar{width:235px;flex-basis:235px;padding:24px 12px 20px 16px;}
 body.sidebar-collapsed .sidebar .nav-item{justify-content:flex-start;padding:0 14px;gap:24px;}
 body.sidebar-collapsed .sidebar .nav-item span,body.sidebar-collapsed .sidebar .sidebar-bottom,body.sidebar-collapsed .sidebar .nav-divider{display:initial;}
 .header-actions .theme-button{display:inline-flex;width:34px;height:34px;}
}
@media(max-width:640px){.topbar{height:61px;}.brand-group .icon-button{height:34px;width:34px;}.brand{font-size:16px;gap:5px;}.brand-photo{width:29px;height:29px;}.brand-group{gap:3px}.global-search{min-width:58px}.global-search input{padding:0 8px;font-size:11px}.global-search button{width:32px}.header-actions{gap:3px}.header-actions .theme-button{width:30px;height:30px;}.upload-button{height:34px;width:34px;}.topbar{padding:0 6px;gap:4px}.sidebar-overlay{inset:61px 0 0 0}.link-upload{padding:12px;}}
