:root{--bg:#0f0f0f;--surface:#272727;--surface-hover:#3f3f3f;--text:#f1f1f1;--muted:#aaa;--red:red;--blue:#3ea6ff;--top:56px}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--text);font-family:Roboto,Arial,system-ui,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0}[hidden]{display:none!important}.topbar{z-index:10;height:var(--top);background:var(--bg);justify-content:space-between;align-items:center;gap:16px;padding:0 16px;display:flex;position:sticky;top:0}.logo{letter-spacing:-1px;align-items:center;gap:4px;min-width:120px;font-size:20px;font-weight:700;display:flex}.logo-mark{background:var(--red);border-radius:6px;place-items:center;width:30px;height:21px;display:grid}.logo-mark svg{fill:#fff;width:10px;height:10px}.search{flex:0 640px;min-width:0;display:flex}.search input{min-width:0;height:40px;font:inherit;color:var(--text);background:#121212;border:1px solid #303030;border-right:0;border-radius:40px 0 0 40px;outline:none;flex:1;padding:0 16px;font-size:16px}.search input:focus{border-color:#1c62b9}.search button{background:var(--surface);border:1px solid #303030;border-radius:0 40px 40px 0;place-items:center;width:64px;height:40px;display:grid}.search button:hover{background:var(--surface-hover)}.icon-btn{border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.icon-btn:hover{background:var(--surface)}.icon-btn.spin svg{animation:.8s linear infinite spin}svg.i{fill:currentColor;width:24px;height:24px}@keyframes spin{to{transform:rotate(360deg)}}.right{justify-content:flex-end;min-width:120px;display:flex}#home{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:40px 16px;padding:24px 24px 48px;display:grid}.card{min-width:0;display:block}.thumb{aspect-ratio:16/9;background:var(--surface);border-radius:12px;position:relative;overflow:hidden}.thumb img{object-fit:cover;width:100%;height:100%;transition:border-radius .2s;display:block}.card:hover .thumb{border-radius:0}.dur{background:#000c;border-radius:4px;padding:1px 4px;font-size:12px;font-weight:500;line-height:18px;position:absolute;bottom:4px;right:4px}.info{gap:12px;margin-top:12px;display:flex}.avatar{background:#c4302b;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;font-weight:700;display:grid}.title{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;margin:0 0 4px;font-size:16px;font-weight:500;line-height:22px;display:-webkit-box;overflow:hidden}.sub{color:var(--muted);margin:0;font-size:14px;line-height:20px}.empty,.status{text-align:center;color:var(--muted);grid-column:1/-1;padding:80px 0}.sk .thumb,.sk .l{background:linear-gradient(90deg,#202020 25%,#2c2c2c 37%,#202020 63%) 0 0/400% 100%;animation:1.4s infinite shimmer}.sk .l{border-radius:4px;height:14px;margin-bottom:8px}@keyframes shimmer{0%{background-position:100%}to{background-position:0}}#resultsHead{margin:0;padding:20px 24px 0;font-size:20px;font-weight:500}#resultsHead small{color:var(--muted);margin-left:8px;font-size:14px;font-weight:400}@media (width<=600px){#resultsHead{padding:16px 12px 12px}}#pager{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:0 16px 56px;display:flex}#pager a,#pager span.pg{background:var(--surface);border-radius:20px;justify-content:center;align-items:center;gap:6px;min-width:40px;height:40px;padding:0 14px;font-size:14px;font-weight:500;display:inline-flex}#pager a:hover{background:var(--surface-hover)}#pager a.cur{background:var(--text);color:#0f0f0f}#pager span.dots{min-width:0;color:var(--muted);background:0 0;padding:0 2px}#pager span.off{opacity:.4}@media (width<=600px){#pager{padding-bottom:40px}#pager .num-far{display:none}}#watch{grid-template-columns:minmax(0,1fr) 402px;gap:24px;max-width:1754px;margin:0 auto;padding:24px;display:grid}.player{aspect-ratio:16/9;background:#000;border-radius:12px;position:relative;overflow:hidden}.player video{background:#000;width:100%;height:100%;display:block}.overlay{pointer-events:none;background:#00000059;place-items:center;display:grid;position:absolute;inset:0}.ring{border:4px solid #ffffff40;border-top-color:#fff;border-radius:50%;width:48px;height:48px;animation:.9s linear infinite spin}#now{margin:12px 0 8px;font-size:20px;font-weight:600;line-height:28px}.channel{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.channel .avatar{width:40px;height:40px}.channel b{font-size:16px;font-weight:500;display:block}.channel small{color:var(--muted);font-size:12px}.spacer{flex:1}.pill{background:var(--surface);border-radius:18px;align-items:center;gap:6px;height:36px;padding:0 16px;font-size:14px;font-weight:500;display:inline-flex}.pill:hover{background:var(--surface-hover)}.descr{background:var(--surface);border-radius:12px;margin-top:12px;padding:12px;font-size:14px;line-height:20px}.descr b{font-weight:500}#error{color:#ff8a80;margin-top:12px;font-size:14px}.upnext-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.upnext-head h2{margin:0;font-size:16px;font-weight:500}.switch{color:var(--muted);align-items:center;gap:8px;font-size:14px;display:flex}.switch i{background:#717171;border-radius:7px;width:36px;height:14px;transition:background .15s;position:relative}.switch i:after{content:"";background:#aaa;border-radius:50%;width:20px;height:20px;transition:transform .15s,background .15s;position:absolute;top:-3px;left:0}.switch.on i{background:#8ab4f8}.switch.on i:after{background:#fff;transform:translate(16px)}.mini{border-radius:8px;gap:8px;margin-bottom:8px;display:flex}.mini .thumb{border-radius:8px;flex:none;width:168px}.mini .title{margin-bottom:2px;font-size:14px;line-height:20px}.mini .sub{font-size:12px;line-height:18px}.mini.current .thumb{outline:2px solid var(--red)}@media (width<=1000px){#watch{grid-template-columns:minmax(0,1fr);gap:16px;padding:0 0 24px}#watch .player{border-radius:0}#watch .primary>:not(.player),#watch .secondary{margin-left:16px;margin-right:16px}.logo,.right{min-width:0}}@media (width<=600px){#home{grid-template-columns:1fr;gap:24px;padding:0 0 32px}#home .thumb{border-radius:0}#home .info{padding:0 12px}.logo span.word{display:none}}
