/* 银色幕布电影院 · YouTube 栏（2026-11-01 ytprev1）：版式仿 YouTube 网站深色模式 */
body.yt-on #app{display:none!important}
#yt-app{display:none}
body.yt-on #yt-app{display:block}
body.yt-on{background:#0f0f0f}
body[data-sec="youtube"] .site-nav,body[data-sec="youtube"] .site-nav.scrolled{background:#0f0f0f!important}
.yt-root{--yt-bg:#0f0f0f;--yt-fg:#f1f1f1;--yt-sub:#aaa;--yt-chip:#272727;--yt-line:rgba(255,255,255,.1);color:var(--yt-fg);font-family:Roboto,-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
  max-width:2200px;margin:0 auto;padding:76px 24px 60px;padding-top:calc(76px + env(safe-area-inset-top,0px));min-height:100vh}
.yt-top{display:flex;align-items:center;gap:24px;margin-bottom:14px}
.yt-logo{display:flex;align-items:center;gap:6px;white-space:nowrap}
.yt-logo i{color:#f00;font-size:30px}
.yt-logo b{font-size:20px;letter-spacing:-.5px;font-weight:700}
.yt-logo small{color:var(--yt-sub);font-size:12px;margin-left:4px;align-self:flex-start;margin-top:2px}
.yt-search{flex:1;min-width:0;max-width:640px;display:flex;margin:0 auto;height:40px}
.yt-search input{flex:1;min-width:0;background:#121212;border:1px solid #303030;border-right:0;border-radius:40px 0 0 40px;color:#fff;padding:0 16px;font-size:16px;outline:none}
.yt-search input:focus{border-color:#1c62b9}
.yt-search span{width:64px;display:flex;align-items:center;justify-content:center;background:#222;border:1px solid #303030;border-radius:0 40px 40px 0;color:#fff}
.yt-chips{display:flex;gap:12px;overflow-x:auto;padding:8px 0 18px;scrollbar-width:none;position:sticky;top:64px;background:var(--yt-bg);z-index:5}
.yt-chips::-webkit-scrollbar{display:none}
.yt-chips a{flex:none;background:var(--yt-chip);color:#f1f1f1;text-decoration:none;font-size:14px;font-weight:500;padding:7px 12px;border-radius:8px;line-height:18px}
.yt-chips a:hover{background:#3f3f3f}
.yt-chips a.on{background:#f1f1f1;color:#0f0f0f}
.yt-shelf{padding:6px 0 26px;border-bottom:4px solid rgba(255,255,255,.06);margin-bottom:22px}
.yt-shelf:last-child{border-bottom:0}
.yt-shelf-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.yt-shelf-h a{color:inherit;text-decoration:none;display:flex;align-items:baseline;gap:10px}
.yt-shelf-h h2{font-size:20px;font-weight:700;margin:0}
.yt-shelf-h span{color:var(--yt-sub);font-size:13px}
.yt-all{font-size:14px;font-weight:500;color:#3ea6ff!important;padding:8px 14px;border-radius:18px}
.yt-all:hover{background:rgba(62,166,255,.15)}
.yt-row,.yt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:40px 16px}
.yt-card{color:inherit;text-decoration:none;display:block;min-width:0}
.yt-th{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#222}
.yt-th img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.yt-card:hover .yt-th img{transform:scale(1.03)}
.yt-card:hover .yt-th{border-radius:0;transition:border-radius .2s}
.yt-th0{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#555;font-size:44px}
.yt-dur{position:absolute;right:6px;bottom:6px;background:rgba(0,0,0,.8);color:#fff;font-size:12px;font-weight:500;padding:1px 4px;border-radius:4px;line-height:18px;letter-spacing:.3px}
.yt-meta{display:flex;gap:12px;margin-top:12px}
.yt-av{width:36px;height:36px;border-radius:50%;flex:none;object-fit:cover;background:#333}
.yt-av0{display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:600;color:#fff;background:linear-gradient(135deg,#ff4e45,#a50e0e)}
.yt-txt{min-width:0}
.yt-txt h3{font-size:16px;line-height:22px;font-weight:500;margin:0 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#f1f1f1}
.yt-ch,.yt-sub{font-size:14px;line-height:20px;color:var(--yt-sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yt-msg{color:var(--yt-sub);text-align:center;padding:80px 0}
.yt-list-h{margin:6px 0 22px}
.yt-list-h h1{font-size:32px;font-weight:700;margin:0 0 6px}
.yt-list-h span{color:var(--yt-sub);font-size:14px}
/* 播放页 */
.yt-watch{display:flex;gap:24px;max-width:1760px}
.yt-wmain{flex:1;min-width:0}
.yt-stage{position:relative;aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden}
.yt-stage video{width:100%;height:100%;display:block;background:#000}
.yt-poster{position:absolute;inset:0;cursor:pointer}
.yt-poster img{width:100%;height:100%;object-fit:cover;filter:brightness(.8)}
.yt-bigplay{position:absolute;left:50%;top:50%;width:68px;height:48px;transform:translate(-50%,-50%);background:none;border:0;padding:0;cursor:pointer;opacity:.92}
.yt-bigplay svg{width:100%;height:100%}
.yt-poster:hover .yt-bigplay{opacity:1}
.yt-giveup{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#ddd;text-align:center;padding:20px}
.yt-status{font-size:13px;color:var(--yt-sub);min-height:18px;margin-top:8px}
.yt-status.err{color:#ff8a80}
.yt-title{font-size:20px;line-height:28px;font-weight:700;margin:6px 0 12px;word-break:break-word}
.yt-owner{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.yt-av-l{width:40px;height:40px}
.yt-otxt{display:flex;flex-direction:column;min-width:0;margin-right:auto}
.yt-otxt b{font-size:16px;font-weight:500}
.yt-otxt small{font-size:12px;color:var(--yt-sub)}
.yt-acts{display:flex;gap:8px;flex-wrap:wrap}
.yt-btn{background:var(--yt-chip);color:#f1f1f1;text-decoration:none;font-size:14px;font-weight:500;padding:0 16px;height:36px;line-height:36px;border-radius:18px;white-space:nowrap}
.yt-btn:hover{background:#3f3f3f;color:#fff}
.yt-btn.hot{background:#f1f1f1;color:#0f0f0f}
.yt-desc{background:rgba(255,255,255,.1);border-radius:12px;padding:12px;margin-top:14px;font-size:14px;line-height:20px}
.yt-desc b{display:block;margin-bottom:4px}
.yt-fn{color:var(--yt-sub);font-size:12px;margin-top:4px;word-break:break-all}
.yt-side{width:402px;flex:none}
.yt-side-h{font-size:16px;font-weight:700;margin-bottom:12px}
.yt-mini{display:flex;gap:8px;color:inherit;text-decoration:none;margin-bottom:10px}
.yt-mini .yt-th{width:168px;flex:none;border-radius:8px}
.yt-mtxt{min-width:0}
.yt-mtxt h4{font-size:14px;line-height:20px;font-weight:500;margin:0 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.yt-mtxt .yt-ch,.yt-mtxt .yt-sub{font-size:12px;line-height:18px}
@media (max-width:1100px){.yt-watch{flex-direction:column}.yt-wmain{flex:none}.yt-side{width:auto}}
@media (max-width:640px){
 .yt-root{padding:64px 0 40px;padding-top:calc(64px + env(safe-area-inset-top,0px))}
 .yt-top{padding:0 12px;gap:12px}.yt-logo b{font-size:18px}.yt-logo small{display:none}.yt-search{height:36px}.yt-search span{width:48px}
 .yt-chips{padding:8px 12px 14px;top:56px}
 .yt-shelf{padding:4px 0 18px;margin-bottom:16px;border-bottom-width:6px}
 .yt-shelf-h{padding:0 12px;margin-bottom:10px}.yt-shelf-h h2{font-size:18px}
 .yt-row{display:flex;overflow-x:auto;gap:12px;padding:0 12px;scroll-snap-type:x mandatory;scrollbar-width:none}
 .yt-row::-webkit-scrollbar{display:none}
 .yt-row .yt-card{flex:none;width:78%;scroll-snap-align:start}
 .yt-grid{grid-template-columns:1fr;gap:22px}
 .yt-grid .yt-th{border-radius:0}.yt-grid .yt-meta{padding:0 12px}
 .yt-list-h{padding:0 12px}.yt-list-h h1{font-size:24px}
 .yt-txt h3{font-size:15px;line-height:21px}.yt-ch,.yt-sub{font-size:12px;line-height:18px}
 .yt-watch{gap:12px}.yt-stage{border-radius:0}.yt-wmain>*:not(.yt-stage){margin-left:12px;margin-right:12px}
 .yt-title{font-size:18px;line-height:25px}.yt-side{padding:0 12px}
 .yt-mini .yt-th{width:150px}
}
/* 手机顶栏：栏目多了一个，缩一点并允许横滑 */
@media (max-width:640px){body .site-tabs{gap:12px;overflow-x:auto;scrollbar-width:none;min-width:0}body .site-tabs::-webkit-scrollbar{display:none}body .site-tabs a{font-size:13px}body .site-brand{font-size:15px}}

/* 2026-11-02 ytmusic：「收录八音盒」按钮 */
.yt-btn.yt-hb{border:0;cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;gap:6px}
.yt-btn.yt-hb.queued,.yt-btn.yt-hb.running{background:#3a3220;color:#f3d79a;cursor:default}
.yt-btn.yt-hb.running i{animation:ythb 1.2s ease-in-out infinite alternate}
.yt-btn.yt-hb.done{background:#1f3a2a;color:#9fe0b4;cursor:default}
.yt-btn.yt-hb.failed{background:#4a1f1f;color:#ffb3b3}
.yt-btn.yt-hb:disabled{opacity:1}
@keyframes ythb{from{opacity:.4}to{opacity:1}}
/* 2026-11-03 bili1：播放页来源小标签（低调，不抢标题）；B 站播放键用中性圆形 */
.yt-srcrow{margin:14px 0 -2px}
.yt-src{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:4px;font-size:11px;font-weight:600;letter-spacing:.06em;
  color:rgba(255,255,255,.62);background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);text-transform:none;user-select:none}
.yt-src.yt::before,.yt-src.bili::before{content:"";width:6px;height:6px;border-radius:50%;margin-right:6px;opacity:.75}
.yt-src.yt::before{background:#ff3b30}
.yt-src.bili::before{background:#23ade5}
.yt-bigplay.neutral{width:64px;height:64px}
