[hidden]{display:none!important}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;background:#0f0f0f;color:#f1f1f1;font-family:Roboto,-apple-system,system-ui,sans-serif}
body{padding-bottom:calc(56px + env(safe-area-inset-bottom))}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}
header{position:sticky;top:0;z-index:20;background:#0f0f0f;display:flex;align-items:center;height:calc(48px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 6px 0 12px}
.logo{display:flex;align-items:center;gap:4px;font-size:19px;letter-spacing:-.6px}.logo sup{font-size:9px;color:#aaa;margin-left:1px}.sp{flex:1}
.ib{background:none;border:0;color:#fff;width:40px;height:40px;border-radius:50%;font-size:20px;display:grid;place-items:center}.ib:active{background:#272727}
#sf{position:sticky;top:0;z-index:21;background:#0f0f0f;display:flex;gap:6px;align-items:center;padding:calc(6px + env(safe-area-inset-top)) 8px 6px}
#q{flex:1;min-width:0;background:#272727;border:0;color:#fff;padding:9px 14px;border-radius:20px;font-size:16px;outline:none}
.chips{display:flex;gap:8px;overflow-x:auto;padding:4px 12px 10px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}
.chip{flex:none;background:#272727;border:0;color:#fff;border-radius:8px;padding:6px 12px;font-size:14px}.chip.on{background:#f1f1f1;color:#0f0f0f}
.feed{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:0 16px}
.card{display:block;margin-bottom:18px}.th{position:relative}.th img{width:100%;aspect-ratio:16/9;object-fit:cover;background:#272727;display:block}
@media(min-width:700px){.feed{padding:0 16px}.th img{border-radius:12px}}
.dur{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.8);font-size:12px;font-weight:500;padding:1px 4px;border-radius:4px}
.row{display:flex;gap:12px;padding:12px 12px 0}.av{width:36px;height:36px;border-radius:50%;background:#3a3a3a;flex:none;object-fit:cover;display:grid;place-items:center;font-weight:600;font-size:15px}
.t{font-size:15px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.meta{color:#aaa;font-size:12.5px;margin-top:3px}
.sec{font-size:18px;font-weight:700;padding:6px 12px 10px;display:flex;align-items:center;gap:8px}
.shelf{display:flex;gap:8px;overflow-x:auto;padding:0 12px 18px;scrollbar-width:none}.shelf::-webkit-scrollbar{display:none}
.sc{flex:none;width:42vw;max-width:180px}.sc img{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:10px;background:#272727}.sc .t{font-size:13px;margin-top:4px}
nav{position:fixed;left:0;right:0;bottom:0;z-index:30;background:#0f0f0f;border-top:1px solid #222;display:flex;padding-bottom:env(safe-area-inset-bottom)}
nav a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:10px;padding:6px 0 5px;color:#f1f1f1}nav svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:1.6}nav a.on svg{fill:#fff}
.msg{padding:40px 20px;text-align:center;color:#aaa}
.vp{max-width:1000px;margin:auto}.pw{position:sticky;top:0;z-index:15;background:#000}video,.pw img.art{width:100%;aspect-ratio:16/9;max-height:56vh;background:#000;display:block;object-fit:contain}
.pw audio{width:100%;display:block;background:#000}
.info{padding:12px}.info h1{font-size:18px;margin:0 0 6px;line-height:1.3}
.acts{display:flex;gap:8px;overflow-x:auto;padding:10px 0;scrollbar-width:none}.acts::-webkit-scrollbar{display:none}
.acts button,.acts select{flex:none;background:#272727;color:#fff;border:0;border-radius:18px;padding:8px 14px;font-size:14px;display:flex;align-items:center;gap:6px}.acts .on{background:#f1f1f1;color:#0f0f0f}
.chrow{display:flex;align-items:center;gap:10px;padding:6px 0}.desc{white-space:pre-wrap;color:#ddd;font-size:13.5px;background:#272727;padding:10px 12px;border-radius:12px;max-height:84px;overflow:hidden}.desc.open{max-height:none}
#mini{position:fixed;left:0;right:0;bottom:calc(56px + env(safe-area-inset-bottom));z-index:25;background:#212121;display:flex;align-items:center;gap:10px;padding:0 6px 0 0;height:54px;border-top:1px solid #333}
#mini img{height:54px;aspect-ratio:16/9;object-fit:cover}#mTitle{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px}#mini button{background:none;border:0;color:#fff;font-size:22px;width:40px}
body.shorts header,body.shorts #mini{display:none}body.shorts{overflow:hidden;padding:0}
.sfeed{height:calc(100dvh - 56px - env(safe-area-inset-bottom));overflow-y:scroll;scroll-snap-type:y mandatory;scrollbar-width:none}.sfeed::-webkit-scrollbar{display:none}
.slide{height:100%;scroll-snap-align:start;scroll-snap-stop:always;position:relative;background:#000;display:grid;place-items:center;overflow:hidden}
.slide video,.slide img.poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-height:none;aspect-ratio:auto}
.slide .ov{position:absolute;left:12px;right:76px;bottom:16px;text-shadow:0 1px 3px #000;font-size:14px}.slide .ov b{display:block;margin-bottom:6px}
.side{position:absolute;right:8px;bottom:24px;display:flex;flex-direction:column;gap:18px;align-items:center}
.side button{background:rgba(255,255,255,.12);border:0;color:#fff;width:48px;height:48px;border-radius:50%;font-size:22px;display:grid;place-items:center}.side small{display:block;text-align:center;font-size:12px;margin-top:-12px}
.side button.liked{background:#fff;color:#000}.tap{position:absolute;top:calc(14px + env(safe-area-inset-top));left:12px;background:rgba(0,0,0,.6);border-radius:16px;padding:6px 12px;font-size:13px}
.stop{position:absolute;top:calc(8px + env(safe-area-inset-top));right:8px;z-index:2}
#iosbar{position:sticky;top:calc(48px + env(safe-area-inset-top));z-index:19;background:#1e2a38;color:#fff;font-size:13.5px;display:flex;align-items:center;gap:8px;padding:9px 10px 9px 14px}
#iosbar span{flex:1}#iosbar button{background:none;border:0;color:#fff;font-size:16px}.shr{width:18px;height:18px;vertical-align:-4px;background:#fff1;border-radius:4px}
#modal{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.65);display:flex;align-items:flex-end;justify-content:center}
.mbox{background:#212121;width:100%;max-width:440px;border-radius:18px 18px 0 0;padding:20px 20px calc(20px + env(safe-area-inset-bottom));animation:up .25s}
@keyframes up{from{transform:translateY(100%)}}.mbox h2{margin:0 0 6px;font-size:20px;display:flex;gap:10px;align-items:center}.mbox h2 img{width:40px;height:40px;border-radius:10px}
.mbox p{color:#bbb;font-size:14px;margin:4px 0 14px}.step{display:flex;gap:12px;align-items:center;background:#2c2c2c;border-radius:12px;padding:10px 12px;margin:8px 0;font-size:15px}
.step i{font-style:normal;background:#3ea6ff;color:#000;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:13px;flex:none}
.step .ico{margin-left:auto;width:36px;height:36px;border-radius:8px;background:#3a3a3a;display:grid;place-items:center}
.mb{width:100%;border:0;border-radius:22px;padding:12px;font-size:15px;font-weight:600;margin-top:8px}.mb.p{background:#3ea6ff;color:#000}.mb.s{background:#333;color:#fff}
.arrow{text-align:center;font-size:26px;color:#3ea6ff;animation:bob 1s infinite alternate}@keyframes bob{to{transform:translateY(6px)}}
#apkbtn{background:#3ea6ff;color:#000;font-weight:600;font-size:12.5px;border-radius:16px;padding:6px 10px;margin-right:4px;white-space:nowrap}

.pw{position:sticky}#qbtn{position:absolute;top:8px;right:8px;z-index:5;background:rgba(0,0,0,.72);color:#fff;border:1px solid rgba(255,255,255,.5);border-radius:16px;padding:5px 12px;font:600 14px system-ui}#qmenu{position:absolute;top:44px;right:8px;z-index:6;background:#212121;border-radius:10px;padding:6px;display:flex;flex-direction:column;min-width:150px;box-shadow:0 4px 16px #000a}#qmenu button{background:none;border:0;color:#fff;text-align:left;padding:10px 12px;font:15px system-ui;border-radius:6px}#qmenu button.on{background:#3ea6ff33;color:#3ea6ff}#qmenu small{color:#aaa;padding:6px 10px;max-width:200px}

#fsbtn{position:absolute;bottom:52px;right:8px;z-index:5;background:rgba(0,0,0,.72);color:#fff;border:1px solid rgba(255,255,255,.5);border-radius:16px;padding:4px 12px;font:600 18px system-ui}
body.fs{padding:0!important;overflow:hidden;background:#000}body.fs header,body.fs nav,body.fs #mini,body.fs #iosbar,body.fs .info,body.fs .sec,body.fs #upnext{display:none!important}
body.fs #main,body.fs .vp{margin:0;padding:0;max-width:none}
body.fs #pv,#pv:fullscreen{position:fixed!important;inset:0;width:100vw;height:100vh;height:100dvh;z-index:1000;background:#000;margin:0}
body.fs #pv video,#pv:fullscreen video{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain}

#updbar{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(64px + env(safe-area-inset-bottom));z-index:40;background:#3ea6ff;color:#000;border:0;border-radius:18px;padding:7px 16px;font:600 14px system-ui;box-shadow:0 2px 10px #0008}body.fs #updbar{display:none}
