@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--bg:#0b0913;--panel:#171225;--panel2:#201832;--purple:#8238ed;--blue:#168cff;--text:#f7f5fb;--muted:#aaa3b9;--line:#302542}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 70% 0%,#251442 0%,var(--bg) 48%);color:var(--text);font-family:Inter,Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer;border:0;color:inherit}.hidden{display:none!important}.muted{color:var(--muted);line-height:1.6}.eyebrow{font-size:10px;letter-spacing:2px;color:#a68ad5;font-weight:800;margin:0 0 8px}.login-screen{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{width:min(430px,100%);padding:38px;background:#171225;border:1px solid #3b2858;border-radius:24px;box-shadow:0 20px 90px #0008}.brand-mark{width:54px;height:54px;display:grid;place-items:center;background:linear-gradient(135deg,#8c42ff,#285cff);border-radius:16px;font-size:25px;margin-bottom:22px}.login-card h1{font-size:30px;margin:0}.login-card h1 span,.hero h1 span,.brand em{color:#a66bff;font-style:normal}.login-card>p{margin:10px 0 25px}.login-card label,form label{display:block;font-size:12px;color:#c8bfd8;margin:14px 0}.login-card input,form input,form select{display:block;width:100%;padding:13px;margin-top:7px;background:#0d0a16;color:white;border:1px solid #3a2b50;border-radius:10px;outline:none}.login-card small{display:block;color:#817991;text-align:center;margin-top:16px;font-size:10px}.primary{padding:13px 19px;border-radius:10px;background:linear-gradient(100deg,#8138ed,#246df2);font-weight:700;box-shadow:0 7px 24px #6528c944}.primary:hover{filter:brightness(1.12)}.full{width:100%;margin-top:12px}.app{min-height:100vh}.sidebar{width:230px;position:fixed;inset:0 auto 0 0;background:#100c1b;border-right:1px solid #281d39;padding:24px 16px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:10px;padding:4px 8px 35px}.brand-mark.small{width:36px;height:36px;margin:0;border-radius:11px;font-size:17px}.brand em{font-style:normal}.sidebar nav{display:grid;gap:8px}.nav{background:transparent;color:#a9a1b8;text-align:left;padding:13px 14px;border-radius:10px;font-weight:600;display:flex;align-items:center;gap:15px}.nav:first-letter{font-size:20px}.nav.active,.nav:hover{background:#2a1b43;color:white}.side-bottom{margin-top:auto;color:#948ba4;font-size:11px;padding:12px}.online-dot{display:inline-block;width:7px;height:7px;background:#36d69b;border-radius:50%;margin-right:7px}.main{margin-left:230px;padding:30px clamp(18px,4vw,55px);max-width:1600px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:20px}.topbar h2{margin:0;font-size:25px}.top-actions{display:flex;align-items:center;gap:12px}.search{width:min(320px,35vw);background:#171225;border:1px solid #34264a;color:white;padding:12px 15px;border-radius:10px}.avatar{width:39px;height:39px;border-radius:50%;background:#38235a;font-weight:800}.outline{background:transparent;border:1px solid #7650a7;border-radius:9px;padding:10px}.hero{min-height:270px;padding:34px;border:1px solid #53317c;border-radius:20px;background:linear-gradient(105deg,#25143e 0%,#17172f 58%,#102b50 100%);display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative}.hero h1{font-size:clamp(28px,4vw,44px);line-height:1.12;margin:15px 0}.hero p{color:#c1b8d0;max-width:440px;margin-bottom:22px}.pill{font-size:10px;letter-spacing:1.5px;padding:7px 10px;border-radius:20px;background:#ffffff16;color:#d9c4ff}.hero-art{width:35%;min-width:180px;height:190px;display:grid;place-items:center;position:relative;color:#c7b3e7;font-size:10px;letter-spacing:2px}.screen-glow{width:150px;height:100px;border:2px solid #9864ff;border-radius:18px;display:grid;place-items:center;font-size:38px;box-shadow:0 0 55px #8d43ff77,inset 0 0 30px #8d43ff33;transform:perspective(400px) rotateY(-12deg)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:32px 0 16px}.section-head h3{margin:0;font-size:21px}.platform-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}.platform{min-height:110px;background:#171225;border:1px solid #302442;border-radius:14px;display:grid;place-items:center;align-content:center;gap:10px;text-align:center;padding:12px}.platform .symbol{font-size:26px}.platform b{font-size:12px}.platform:hover,.channel:hover{border-color:#8a4de5;transform:translateY(-2px)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.stat{background:#171225;border:1px solid #302442;border-radius:14px;padding:18px;display:grid;gap:6px}.stat span{color:#a66bff;font-size:20px}.stat b{font-size:26px}.stat small{color:var(--muted)}.page{animation:fade .2s ease}@keyframes fade{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}.content-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:14px}.channel{background:#171225;border:1px solid #302442;border-radius:14px;padding:15px;transition:.15s;min-width:0}.channel-logo{height:90px;border-radius:10px;background:linear-gradient(135deg,#30204a,#142a4a);display:grid;place-items:center;font-size:30px;margin-bottom:12px}.channel h4{margin:0 0 6px;overflow-wrap:anywhere}.channel p{color:var(--muted);font-size:11px;margin:4px 0}.channel-actions{display:flex;gap:7px;margin-top:12px}.channel-actions button{flex:1;padding:9px;border-radius:8px;background:#2b2040;font-size:12px}.channel-actions .watch{background:#6f37d1}.empty{text-align:center;padding:60px 20px;color:var(--muted)}.empty>div{font-size:40px;color:#9b69ed}.empty h3{color:white}.empty p{max-width:430px;margin:0 auto 20px}.manage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.panel{background:#171225;border:1px solid #302442;border-radius:16px;padding:22px}.panel-icon{width:40px;height:40px;border-radius:12px;background:#34204e;color:#c7a6ff;display:grid;place-items:center;font-size:22px;margin-bottom:14px}.panel h3{margin:0 0 8px}.file-drop{margin-top:20px;border:1px dashed #7651a6;border-radius:13px;padding:25px;display:grid;place-items:center;gap:7px;color:#d9c9f4;cursor:pointer}.file-drop input{display:none}.file-drop span{font-size:26px}.file-drop small{color:var(--muted)}.status{font-size:12px;color:#64dfb2}.list-panel{margin-top:16px}.list-panel .section-head{margin:0 0 12px}.danger{background:#4a2336;color:#ffb9ce;padding:10px 13px;border-radius:9px;font-size:12px}#categoryFilter{background:#171225;color:white;border:1px solid #3b2c50;border-radius:9px;padding:10px}.player-dialog{width:min(850px,94vw);background:#151020;color:white;border:1px solid #503474;border-radius:17px;padding:20px}.player-dialog::backdrop{background:#000c;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.dialog-head h3{margin:0}.close{background:#332541;border-radius:8px;padding:9px 12px}video{width:100%;max-height:65vh;background:black;border-radius:10px}.player-note{font-size:12px}
@media(max-width:900px){.sidebar{width:72px;padding:18px 9px}.brand{padding:0 8px 30px}.brand b,.nav span,.side-bottom{display:none}.nav{justify-content:center;font-size:21px;padding:13px 5px}.main{margin-left:72px;padding:22px 18px}.platform-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.main{padding:18px 13px 90px}.topbar{align-items:flex-start;flex-direction:column}.top-actions{width:100%}.search{width:100%;flex:1}.hero{padding:24px;min-height:240px}.hero-art{display:none}.platform-grid{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:1fr}.manage-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.channel{padding:10px}.channel-logo{height:75px}.list-panel .section-head{flex-direction:column}.list-panel .danger{width:100%}}


/* Smart TV / controle remoto */
:focus-visible{outline:3px solid #65b7ff!important;outline-offset:4px;box-shadow:0 0 0 5px #168cff33}
.tv-hint{position:fixed;right:22px;bottom:18px;z-index:10;background:#171225ee;border:1px solid #7250a2;color:#ddd2f3;padding:10px 15px;border-radius:10px;font-size:12px}
body.tv-mode{font-size:19px}
body.tv-mode .sidebar{width:260px;padding:30px 18px}
body.tv-mode .main{margin-left:260px;padding:38px 48px}
body.tv-mode .nav{font-size:25px;padding:18px 16px;gap:18px}
body.tv-mode .nav span{display:inline}
body.tv-mode .brand b{display:block}
body.tv-mode .topbar h2{font-size:32px}
body.tv-mode .search{font-size:18px;padding:16px 18px;width:390px}
body.tv-mode .platform-grid{grid-template-columns:repeat(4,minmax(150px,1fr));gap:18px}
body.tv-mode .platform{min-height:145px}
body.tv-mode .platform b{font-size:16px}
body.tv-mode .content-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}
body.tv-mode .channel{padding:19px}
body.tv-mode .channel-logo{height:120px;font-size:38px}
body.tv-mode button,body.tv-mode input,body.tv-mode select{min-height:48px}
body.tv-mode .hero{min-height:330px;padding:45px}
body.tv-mode .hero h1{font-size:52px}
body.tv-mode .hero p{font-size:18px}
body.tv-mode .stats{gap:20px}
body.tv-mode .stat{padding:24px}
body.tv-mode .tv-hint{display:block!important}
@media(max-width:900px){body.tv-mode .sidebar{width:260px}body.tv-mode .main{margin-left:260px}}
