*{box-sizing:border-box}body{margin:0;background:#0c0d12;color:#f5f5f7;font:14px system-ui,-apple-system,Segoe UI,sans-serif}button,input{font:inherit}button{cursor:pointer}.app{min-height:100vh;display:grid;grid-template-columns:235px 1fr}.sidebar{background:#101117;border-right:1px solid #292a34;padding:26px 16px;display:flex;flex-direction:column;gap:10px}.brand{font-weight:900;letter-spacing:.08em;padding:0 7px 38px}.brand b{display:inline-grid;place-items:center;background:linear-gradient(135deg,#a75cff,#5836d9);border-radius:9px;width:32px;height:32px;margin-right:8px}.brand span,small{color:#9293a1}.sidebar small,main header small,.connect small{font-size:10px;letter-spacing:.15em;font-weight:800}.nav{border:0;text-align:left;padding:13px;border-radius:9px;background:none;color:#b9bac5}.nav.active,.nav:hover{background:#2a203b;color:#fff}footer{margin-top:auto;color:#b9bac5;font-size:12px}footer i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#777;margin-right:9px}footer i.on{background:#3dd598}footer i.off{background:#e66c76}footer button{display:block;margin-top:12px;background:none;border:0;color:#bbb}footer p{font-size:9px;color:#686a77;margin-top:22px}main{padding:32px clamp(18px,4vw,56px);max-width:1500px;width:100%;margin:auto}header,.playerhead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}h1{font-size:30px;margin:6px 0;letter-spacing:-.04em}h2{margin:10px 0;font-size:22px}.outline,#closePlayer{border:1px solid #3a3b47;background:#171820;color:white;border-radius:9px;padding:11px 14px}.connect{display:grid;grid-template-columns:.8fr 1fr;gap:30px;background:linear-gradient(120deg,#191621,#151720);border:1px solid #302b3a;border-radius:17px;padding:28px;margin-bottom:25px}.connect p{color:#a5a6b2;line-height:1.7;font-size:13px}form{display:flex;flex-direction:column;gap:13px}label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#c7c7d1}input{min-width:0;width:100%;border:1px solid #383945;border-radius:8px;background:#0f1016;color:white;padding:12px;outline:none}input:focus{border-color:#9b62f5}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.primary{border:0;border-radius:9px;padding:12px;background:linear-gradient(110deg,#9855f6,#6b48e9);color:white;font-weight:750}.primary:disabled{opacity:.5}.empty{text-align:center;padding:45px 10px;color:#a4a5b2}.empty b{display:grid;place-items:center;margin:auto auto 18px;width:56px;height:56px;border-radius:17px;background:#241b33;color:#c19aff;font-size:22px}.empty h2{color:#fff;font-size:20px}.empty p{font-size:13px}.toolbar{display:flex;gap:14px;justify-content:space-between;flex-wrap:wrap;margin:20px 0}.toolbar input{max-width:250px}#categoryBar{display:flex;gap:7px;flex-wrap:wrap}.chip{border:1px solid #353641;border-radius:30px;background:#191a22;color:#ccc;padding:8px 12px;font-size:11px}.chip.selected{background:#392554;border-color:#8051c5;color:white}#notice{font-size:12px;color:#a5a6b2}.items{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}.item{background:#161720;border:1px solid #2b2c37;border-radius:11px;overflow:hidden;text-align:left;color:white;padding:0;min-width:0}.item:hover{border-color:#8858c9;transform:translateY(-2px)}.item span{display:block;padding:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.poster{aspect-ratio:16/10;background:linear-gradient(135deg,#302241,#171922);display:grid;place-items:center;color:#a887da;font-size:25px;overflow:hidden}.poster img{width:100%;height:100%;object-fit:cover}.player{margin-top:25px;border:1px solid #30313c;background:#15161e;border-radius:14px;padding:18px}.playerhead h2{font-size:18px}.player video{width:100%;max-height:70vh;background:#000;border-radius:9px}#toast{font-size:12px;padding:10px;border-radius:8px}.error{color:#ffb7c0;background:#3b2028}.success{color:#8af0c6;background:#17382e}#busy{position:fixed;inset:0;background:#090a0edb;display:grid;place-items:center;font-weight:700} [hidden]{display:none!important}@media(max-width:800px){.app{grid-template-columns:1fr}.sidebar{padding:12px;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}.brand{padding:0;font-size:12px;margin-right:auto}.sidebar small,footer{display:none}.nav{font-size:11px;padding:10px}.connect{grid-template-columns:1fr;gap:10px}main{padding:22px 16px}h1{font-size:25px}}@media(max-width:500px){.two{grid-template-columns:1fr}.items{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar input{max-width:none}}
