:root{color-scheme:dark;--bg:#090e1c;--surface:#121b2c;--surface2:#1b2941;--text:#eff5ff;--muted:#94a5bf;--line:#263550;--blue:#4d95ff;--cyan:#38c8d2;--bottom:calc(80px + env(safe-area-inset-bottom));font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif}
*{box-sizing:border-box}html{background:var(--bg);height:100%;overscroll-behavior-y:none}body{margin:0;background:radial-gradient(circle at 100% -15%,#233b68 0,transparent 35%),var(--bg);color:var(--text);min-height:100vh;-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,.file-upload:focus-visible{outline:2px solid #7cb4ff;outline-offset:3px}.hidden{display:none!important}.topbar{height:calc(76px + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) 21px 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(165,187,231,.07)}.brand{display:flex;align-items:center;gap:11px}.brandmark{width:41px;height:41px;border-radius:13px;display:grid;place-items:center;color:white;background:linear-gradient(140deg,#3799ff,#4756cb);box-shadow:0 8px 20px #2458b14d}.brandmark svg{width:25px;height:25px}.brand strong{font-size:21px;letter-spacing:-.6px}.brand strong span{color:#73b5ff}.brand small{display:block;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:var(--muted);margin-top:3px}.demo-pill{font-size:10px;letter-spacing:1.1px;font-weight:750;color:#87bdff;background:#193659;border:1px solid #345886;border-radius:100px;padding:9px 11px}main{max-width:780px;margin:auto;padding:26px 20px 100px}.welcome-view{max-width:460px;margin:6px auto 0}.welcome-art{position:relative;height:174px;display:grid;place-items:center;overflow:hidden}.orb{position:absolute;border-radius:50%;filter:blur(5px)}.orb-one{width:155px;height:155px;background:#193c76;left:calc(50% - 100px)}.orb-two{width:80px;height:80px;background:#12728c99;left:calc(50% + 5px);top:30px}.welcome-logo{position:relative;width:105px;height:105px;border-radius:32px;background:linear-gradient(135deg,#308fff,#3850c0);box-shadow:0 25px 60px #144cbb67;display:grid;place-items:center;color:white;font-size:50px;padding-left:7px;transform:rotate(-5deg)}.eyebrow{color:#66bcff;letter-spacing:2px;font-size:10px;font-weight:800}.welcome-view>.eyebrow{text-align:center}.welcome-view h1{text-align:center;font-size:31px;letter-spacing:-1.2px;line-height:1.15;margin:12px 0}.welcome-view h1 em{font-style:normal;color:#66b3ff}.welcome-view>p{text-align:center;line-height:1.6;font-size:14px;color:var(--muted);margin:13px 0 30px}.primary-button{width:100%;border:0;color:white;font-weight:750;border-radius:14px;padding:18px 20px;text-align:left;background:linear-gradient(100deg,#266df2,#4698ff);box-shadow:0 12px 28px #144dba52;display:flex;justify-content:space-between}.primary-button span{font-size:20px}.secure-note{text-align:center;margin:15px 0 30px;color:#8fb3c2;font-size:11px}.secure-note span{color:#64d5b6;font-size:18px}.separator{display:flex;align-items:center;gap:15px;color:#68809d;font-size:11px;letter-spacing:1px;margin:18px 0}.separator:before,.separator:after{content:"";flex:1;height:1px;background:var(--line)}.file-upload{display:flex;align-items:center;gap:14px;border:1px solid #344868;background:#142038;border-radius:15px;padding:18px 15px;cursor:pointer}.upload-icon{background:#1e3e63;border-radius:10px;font-size:28px;width:42px;height:42px;display:grid;place-items:center;color:#70b3ff}.file-upload span:nth-child(2){flex:1}.file-upload b{display:block;font-size:14px}.file-upload small{display:block;color:#96a6bd;margin-top:4px}.file-upload>span:last-child{font-size:24px;color:#7ea7d9}.warning-note{margin-top:19px;border-radius:12px;padding:13px 15px;background:#2a211d;border:1px solid #5b4435;color:#e6bea4;font-size:11px;line-height:1.5}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 23px}.page-heading h1{font-size:28px;letter-spacing:-1px;margin:7px 0 0}.icon-button{background:#1d2b44;border:1px solid #334a6a;color:#d4e8ff;width:40px;height:40px;border-radius:12px;font-size:23px}.search-box{display:flex;align-items:center;background:#17243a;border:1px solid #293b59;padding:0 15px;border-radius:13px;height:48px;gap:11px}.search-box svg{stroke:#829bbd;stroke-width:2;fill:none;width:19px;height:19px}.search-box input{background:none;outline:0;border:0;color:white;font-size:14px;min-width:0;width:100%}.search-box input::placeholder{color:#8497b1}.category-tabs{display:flex;gap:10px;overflow-x:auto;margin:20px -20px 25px;padding:0 20px 5px;scrollbar-width:none}.category-tabs::-webkit-scrollbar{display:none}.category-tab{white-space:nowrap;border:1px solid #2c3b56;background:#162238;color:#aabbcf;border-radius:40px;padding:10px 15px;font-size:12px;font-weight:650}.category-tab.active{background:#377bdb;border-color:#377bdb;color:white}.section-title{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:15px}.section-title h2{font-size:18px;margin:0}.section-title span{font-size:12px;color:#91a1b9}.channel-list{display:grid;gap:11px}.channel-card{display:flex;align-items:center;background:linear-gradient(130deg,#192841,#121c2e);border:1px solid #293a54;border-radius:15px;padding:14px;gap:12px;min-height:92px}.channel-logo{flex:0 0 52px;height:52px;border-radius:13px;background:linear-gradient(135deg,#2d62ab,#3a3e82);display:grid;place-items:center;font-weight:800;font-size:16px;color:#ecf5ff}.channel-main{min-width:0;flex:1}.channel-main b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.channel-main small{display:block;color:#93a4bb;font-size:11px;margin:7px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-pill{font-size:9px;font-weight:800;letter-spacing:.3px;color:#72e3cc}.channel-actions{display:flex;align-items:center;gap:8px}.channel-actions button{border:0;border-radius:10px;width:38px;height:38px;color:white;background:#224474;display:grid;place-items:center;font-size:16px}.channel-actions button.fav{font-size:23px;background:#29354c;color:#9fb3cc}.channel-actions button.fav.is-fav{color:#ff7897}.disclaimer{font-size:11px;color:#768ba8;line-height:1.55;margin:25px 0;text-align:center}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#0d1626eb;border-top:1px solid #213049;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);display:flex;justify-content:space-around;padding:10px 14px calc(11px + env(safe-area-inset-bottom));z-index:4}.nav-item{border:0;background:transparent;color:#7b8da8;font-size:10px;font-weight:650;display:grid;place-items:center;gap:5px;width:90px}.nav-item svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.nav-item.active{color:#67aaff}.settings-card{background:#152138;border:1px solid var(--line);border-radius:15px;padding:6px 15px}.settings-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:17px 1px;border-bottom:1px solid var(--line);font-size:12px}.settings-row:last-child{border-bottom:0}.settings-row span{color:#93a5bc}.settings-row b{text-align:right;font-size:11px}.settings-text{color:#9cb0cb;font-size:13px;line-height:1.7;margin:23px 0}.secondary-button{width:100%;border:1px solid #3a5782;background:#182b48;border-radius:12px;color:white;padding:14px;font-weight:700}.player-modal{position:fixed;inset:0;z-index:10;background:#060a12;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top)}.player-top{height:61px;padding:0 19px;display:flex;align-items:center;justify-content:space-between;color:#8698ae;font-size:10px;letter-spacing:1.2px}.close-player{border:0;background:none;color:#d6e7ff;font-size:26px;display:flex;align-items:center;gap:5px;padding:10px 0}.close-player span{font-size:14px}.player-body{margin:auto 0;min-height:40vh}.player-body video{width:100%;aspect-ratio:16/9;max-height:65vh;background:black}.player-body h2{font-size:23px;margin:25px 20px 4px}.player-body p{font-size:13px;margin:0 20px;color:#91a1b9}.player-error{color:#ffc6b7;margin:24px 20px;padding:14px;border:1px solid #775145;background:#422d28;border-radius:11px;line-height:1.5;font-size:13px}.toast{position:fixed;left:20px;right:20px;bottom:calc(90px + env(safe-area-inset-bottom));margin:auto;max-width:450px;padding:12px 15px;border-radius:10px;background:#304769;color:#fff;font-size:12px;z-index:20;opacity:0;transform:translateY(10px);transition:.25s;pointer-events:none;text-align:center}.toast.show{opacity:1;transform:translateY(0)}.empty-state{color:#91a1b9;background:#16243b;border:1px dashed #334967;border-radius:15px;text-align:center;padding:28px;font-size:13px;line-height:1.6}@media(min-width:600px){main{padding-top:40px}.channel-list{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-view{margin-top:50px}.bottom-nav{max-width:520px;left:50%;transform:translateX(-50%);border:1px solid #283a58;border-radius:16px 16px 0 0}}
/* v0.2.0 – accesso IPTV */
.login-form{display:grid;gap:9px;margin:2px 0 12px;padding:17px;border:1px solid #354c6e;border-radius:17px;background:linear-gradient(130deg,#1b2a46,#101a2b)}
.login-form label{font-size:12px;font-weight:700;color:#b9ceeb;padding-top:7px}
.login-form input{width:100%;height:48px;border:1px solid #364969;border-radius:11px;background:#0e192a;color:#f3f7ff;padding:0 13px;outline:none;font-size:15px}
.login-form input:focus{border-color:#65a5ff}
.login-form .primary-button{margin-top:12px;justify-content:space-between;align-items:center;font-size:14px}
.login-form .primary-button:disabled{opacity:.65}
.remote-status{font-size:11px;color:#acc1db;text-align:center;line-height:1.5;margin-top:7px}
.login-form .warning-note{margin-top:5px}
