/* LUCCATV Web Play 1.0 */
:root{--bg:#070b16;--panel:#10172a;--panel2:#0c1222;--line:#27324d;--text:#f6f8ff;--muted:#9da9c3;--orange:#ff5a0a;--blue:#1687ff;--yellow:#ffbe0b;--danger:#ff4d6d;--green:#35d07f;--radius:18px;--shadow:0 22px 60px rgba(0,0,0,.38)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{min-height:100vh;overflow-x:hidden}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit}.hidden{display:none!important}.muted{color:var(--muted)}
body:before{content:"";position:fixed;inset:0;z-index:-3;background:radial-gradient(circle at 10% 10%,rgba(22,135,255,.13),transparent 30%),radial-gradient(circle at 88% 78%,rgba(255,90,10,.12),transparent 26%),#070b16}.toast-stack{position:fixed;right:18px;bottom:18px;z-index:9000;display:grid;gap:10px;max-width:min(390px,calc(100vw - 36px))}.toast{padding:13px 15px;background:#121b31;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);animation:toastin .2s ease}.toast.error{border-color:rgba(255,77,109,.55)}.toast.ok{border-color:rgba(53,208,127,.45)}@keyframes toastin{from{transform:translateY(10px);opacity:0}}
/* Login */
.login-screen{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr);background:#070b16}.login-hero{position:relative;min-height:100vh;overflow:hidden;padding:46px clamp(34px,6vw,86px);display:flex;align-items:flex-end}.login-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,11,22,.22),rgba(7,11,22,.77)),linear-gradient(0deg,rgba(7,11,22,.92),rgba(7,11,22,.06) 58%),url('../img/background.png') center/cover no-repeat;filter:saturate(1.08)}.login-copy{position:relative;z-index:1;max-width:680px}.brand-logo{display:block;width:clamp(138px,19vw,235px);height:auto;filter:drop-shadow(0 12px 24px rgba(0,0,0,.34))}.login-copy h1{font-size:clamp(34px,4.5vw,64px);line-height:1.02;margin:28px 0 15px;letter-spacing:-.04em}.login-copy p{font-size:clamp(16px,1.5vw,21px);line-height:1.55;color:#d8def0;max-width:610px}.login-side{display:flex;align-items:center;justify-content:center;padding:34px;background:linear-gradient(145deg,#0c1222,#070b16)}.login-card{width:min(460px,100%);padding:34px;border:1px solid rgba(255,255,255,.09);border-radius:26px;background:linear-gradient(155deg,rgba(16,23,42,.94),rgba(8,13,25,.98));box-shadow:0 28px 80px rgba(0,0,0,.46)}.mobile-login-logo{display:none;margin:0 auto 18px;width:145px}.eyebrow{color:var(--orange);text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:800}.login-card h2{font-size:30px;margin:9px 0 8px}.login-card>p{color:var(--muted);margin:0 0 25px;line-height:1.55}.field{display:grid;gap:8px;margin:0 0 16px}.field label{font-size:13px;font-weight:700;color:#cbd4eb}.input-wrap{position:relative}.input-wrap .input-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);opacity:.6}.input-wrap input{width:100%;height:50px;border-radius:14px;border:1px solid var(--line);background:#090f1e;color:#fff;padding:0 14px 0 42px;outline:none;transition:.2s}.input-wrap input:focus{border-color:rgba(22,135,255,.8);box-shadow:0 0 0 3px rgba(22,135,255,.12)}.remember{display:flex;gap:10px;align-items:center;margin:6px 0 20px;color:var(--muted);font-size:13px}.remember input{accent-color:var(--orange)}.premium-btn{border:0;color:#fff;font-weight:850;height:52px;width:100%;border-radius:15px;background:linear-gradient(110deg,#ffbf0b,#ff6a00 35%,#ff3b7f 68%,#1687ff);box-shadow:0 13px 33px rgba(255,90,10,.2);transition:.2s}.premium-btn:hover{transform:translateY(-1px);filter:brightness(1.06)}.premium-btn:disabled{opacity:.55;cursor:wait;transform:none}.login-foot{margin-top:18px;color:#74819e;font-size:12px;text-align:center}
/* App shell */
.app-shell{min-height:100vh}.topbar{height:76px;position:sticky;top:0;z-index:400;display:flex;align-items:center;gap:18px;padding:0 24px;border-bottom:1px solid rgba(255,255,255,.075);background:rgba(7,11,22,.88);backdrop-filter:blur(18px)}.top-logo{width:76px;height:58px;object-fit:contain;flex:0 0 auto}.nav{display:flex;align-items:center;gap:7px;min-width:0}.nav-btn{display:flex;align-items:center;gap:8px;border:1px solid transparent;color:#b7c1d8;background:transparent;padding:10px 13px;border-radius:12px;font-weight:750;white-space:nowrap}.nav-btn:hover{background:#10172a;color:#fff}.nav-btn.active{background:linear-gradient(140deg,rgba(255,90,10,.18),rgba(22,135,255,.14));border-color:rgba(255,90,10,.25);color:#fff}.top-spacer{flex:1}.account-chip{display:flex;align-items:center;gap:10px;min-width:0}.account-dot{width:9px;height:9px;background:var(--green);border-radius:99px;box-shadow:0 0 0 5px rgba(53,208,127,.1)}.account-name{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#dbe3f5;font-size:13px;font-weight:700}.icon-btn{width:42px;height:42px;border-radius:12px;border:1px solid var(--line);background:#0e1527;color:#fff;display:grid;place-items:center;transition:.2s}.icon-btn:hover{border-color:#425271;background:#151f35}.app-main{padding:22px clamp(15px,2.6vw,36px) 38px}.view-head{display:flex;align-items:flex-end;gap:16px;margin-bottom:18px}.view-head h1{margin:0;font-size:clamp(25px,3vw,38px);letter-spacing:-.035em}.view-head p{margin:5px 0 0;color:var(--muted)}.view-actions{margin-left:auto;display:flex;gap:10px;align-items:center}.search{position:relative;width:min(360px,34vw)}.search input{width:100%;height:44px;padding:0 15px 0 40px;border:1px solid var(--line);border-radius:13px;background:#0d1425;color:#fff;outline:none}.search input:focus{border-color:#475a80}.search:before{content:"⌕";position:absolute;left:14px;top:8px;font-size:22px;color:#75819c}.section-card{background:linear-gradient(150deg,rgba(16,23,42,.98),rgba(10,15,29,.98));border:1px solid rgba(255,255,255,.075);border-radius:var(--radius);box-shadow:0 15px 45px rgba(0,0,0,.16)}
/* Category pills */
.categories{display:flex;gap:9px;overflow-x:auto;padding:2px 2px 12px;scrollbar-width:thin}.cat-btn{flex:0 0 auto;border:1px solid var(--line);background:#0e1527;color:#aeb9d2;border-radius:999px;padding:9px 14px;font-size:13px;font-weight:750}.cat-btn:hover{color:#fff}.cat-btn.active{background:linear-gradient(110deg,var(--orange),#ff7838);border-color:transparent;color:#fff;box-shadow:0 8px 20px rgba(255,90,10,.18)}
/* Live */
.live-layout{display:grid;grid-template-columns:minmax(300px,36%) minmax(0,1fr);gap:18px;align-items:start}.channel-panel{height:calc(100vh - 195px);min-height:520px;display:flex;flex-direction:column;overflow:hidden}.channel-panel-head{padding:16px 17px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px}.channel-panel-head strong{font-size:15px}.channel-count{margin-left:auto;color:var(--muted);font-size:12px}.channel-list{overflow:auto;flex:1;padding:8px}.channel-row{width:100%;display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;padding:10px;border:1px solid transparent;border-radius:13px;background:transparent;color:#fff}.channel-row:hover{background:#121b31}.channel-row.active{background:linear-gradient(110deg,rgba(255,90,10,.14),rgba(22,135,255,.08));border-color:rgba(255,90,10,.25)}.channel-logo{width:48px;height:48px;object-fit:contain;border-radius:10px;background:#080d19;padding:4px}.channel-name{font-size:14px;font-weight:760;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.channel-num{display:block;font-size:11px;color:#74819c;margin-top:4px}.fav-btn{border:0;background:transparent;color:#63708b;font-size:21px;line-height:1;padding:8px}.fav-btn.on{color:var(--yellow)}.player-panel{overflow:hidden}.video-wrap{position:relative;background:#02040a;aspect-ratio:16/9;display:grid;place-items:center}.video-wrap video{width:100%;height:100%;display:block;background:#000}.player-empty{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:30px;color:#7f8da9;background:radial-gradient(circle at center,#111a30,#04070e 70%)}.player-empty img{width:120px;opacity:.5;margin-bottom:13px}.player-title{padding:15px 17px;border-top:1px solid var(--line);font-weight:800;display:flex;align-items:center;gap:12px}.player-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-tools{margin-left:auto;display:flex;gap:8px}.small-btn{border:1px solid var(--line);background:#0b1221;color:#dce4f5;border-radius:10px;padding:8px 10px}.small-btn:hover{background:#152039}.epg-box{padding:14px 17px 17px;border-top:1px solid var(--line)}.epg-label{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:var(--orange);font-weight:800}.epg-current{font-weight:800;margin:7px 0 3px}.epg-next{font-size:13px;color:var(--muted)}
/* VOD */
.content-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px}.media-card{position:relative;min-width:0;border:1px solid rgba(255,255,255,.07);background:#0d1425;border-radius:16px;overflow:hidden;transition:.2s;cursor:pointer}.media-card:hover{transform:translateY(-4px);border-color:rgba(255,90,10,.35);box-shadow:0 15px 35px rgba(0,0,0,.3)}.poster{aspect-ratio:2/3;background:#080d18;overflow:hidden;position:relative}.poster img{width:100%;height:100%;object-fit:cover;display:block}.poster:after{content:"";position:absolute;inset:auto 0 0;height:40%;background:linear-gradient(transparent,rgba(7,11,22,.82));pointer-events:none}.media-meta{padding:11px 12px 13px}.media-title{font-size:13px;font-weight:800;line-height:1.28;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-sub{font-size:11px;color:#8491ac;margin-top:5px;display:flex;justify-content:space-between;gap:6px}.grid-empty{grid-column:1/-1;padding:65px 20px;text-align:center;color:var(--muted)}.loading{padding:50px;text-align:center;color:var(--muted)}.spinner{width:32px;height:32px;border:3px solid #25304a;border-top-color:var(--orange);border-radius:99px;animation:spin .7s linear infinite;margin:0 auto 12px}@keyframes spin{to{transform:rotate(360deg)}}
/* Account */
.account-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat-card{padding:20px}.stat-label{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}.stat-value{font-weight:850;font-size:clamp(20px,2vw,28px);margin-top:8px;overflow-wrap:anywhere}.account-detail{margin-top:16px;padding:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 30px}.detail-row{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.055);font-size:13px}.detail-row span:first-child{color:var(--muted)}
/* Modal */
.modal{position:fixed;inset:0;z-index:1000;background:rgba(2,5,11,.78);backdrop-filter:blur(8px);display:grid;place-items:center;padding:22px}.modal-card{width:min(950px,100%);max-height:92vh;overflow:auto;background:linear-gradient(145deg,#111a2f,#080d18);border:1px solid #2c3956;border-radius:22px;box-shadow:0 35px 100px rgba(0,0,0,.58)}.modal-head{display:flex;align-items:center;padding:16px 18px;border-bottom:1px solid var(--line);position:sticky;top:0;background:rgba(12,18,34,.94);backdrop-filter:blur(12px);z-index:3}.modal-head h3{margin:0;font-size:17px}.modal-close{margin-left:auto}.info-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;padding:22px}.info-poster{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:15px;background:#080d18}.info-copy h2{font-size:30px;margin:0 0 8px}.info-tags{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.tag{font-size:11px;border:1px solid #33415f;color:#b9c4dc;border-radius:999px;padding:6px 9px}.plot{color:#c0cadf;line-height:1.65;font-size:14px}.modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.play-btn{border:0;background:linear-gradient(110deg,var(--orange),#ff7a36);color:#fff;font-weight:850;border-radius:12px;padding:11px 16px}.secondary-btn{border:1px solid var(--line);background:#121b30;color:#fff;font-weight:750;border-radius:12px;padding:10px 14px}.season-block{border-top:1px solid var(--line);padding-top:15px;margin-top:16px}.season-title{font-size:15px;margin-bottom:8px;color:#fff}.episode-list{display:grid;gap:8px}.episode-btn{display:flex;gap:12px;align-items:center;text-align:left;border:1px solid #293653;background:#0d1425;color:#fff;border-radius:12px;padding:11px 13px}.episode-btn:hover{border-color:#4a5f8c;background:#131e35}.episode-num{min-width:36px;color:var(--orange);font-weight:850}.episode-name{font-size:13px;line-height:1.3}.video-modal .modal-card{width:min(1180px,100%);overflow:hidden}.video-modal .video-wrap{aspect-ratio:16/9}.video-modal .modal-head{position:relative}.video-message{padding:13px 18px;color:var(--muted);font-size:13px}
/* Scrollbars */
*{scrollbar-color:#33415e #0a1020;scrollbar-width:thin}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:#0a1020}::-webkit-scrollbar-thumb{background:#33415e;border-radius:20px}
@media(max-width:1180px){.content-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.login-screen{grid-template-columns:1fr}.login-hero{display:none}.login-side{min-height:100vh;padding:24px}.mobile-login-logo{display:block}.topbar{height:68px;padding:0 12px;gap:8px}.top-logo{width:62px;height:50px}.nav{flex:1;overflow-x:auto;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}.nav-btn{padding:9px 10px}.nav-btn .nav-label{display:none}.account-name{display:none}.app-main{padding:16px 13px 28px}.view-head{align-items:stretch;flex-direction:column;gap:12px}.view-actions{margin-left:0}.search{width:100%}.live-layout{grid-template-columns:1fr}.player-panel{grid-row:1}.channel-panel{grid-row:2;height:52vh;min-height:390px}.content-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.info-layout{grid-template-columns:170px minmax(0,1fr)}.account-detail{grid-template-columns:1fr}}
@media(max-width:640px){.login-card{padding:26px 19px;border-radius:20px}.mobile-login-logo{width:128px}.login-card h2{font-size:25px}.content-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.media-meta{padding:9px 9px 11px}.media-title{font-size:12px}.view-head h1{font-size:27px}.categories{margin-right:-13px;padding-right:13px}.live-layout{gap:12px}.channel-panel{min-height:350px;height:48vh}.channel-row{grid-template-columns:48px minmax(0,1fr) auto;padding:8px}.channel-logo{width:44px;height:44px}.player-title{padding:12px;font-size:13px}.epg-box{padding:12px}.info-layout{grid-template-columns:1fr;padding:15px}.info-poster{width:140px;margin:auto}.info-copy h2{text-align:center;font-size:24px}.info-tags{justify-content:center}.modal{padding:9px}.modal-card{border-radius:17px;max-height:96vh}.account-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-card{padding:14px}.stat-value{font-size:19px}.topbar{gap:5px}.icon-btn{width:38px;height:38px}.nav-btn{padding:8px}.top-spacer{display:none}.account-chip{margin-left:auto}}
@media(max-width:380px){.content-grid{gap:8px}.account-grid{grid-template-columns:1fr}.top-logo{width:55px}.app-main{padding-left:10px;padding-right:10px}}

/* LUCCATV 1.0.6 - Filmes e séries em lista lateral, igual à TV ao vivo */
.vod-layout .channel-panel{min-height:560px}.vod-row{grid-template-columns:52px minmax(0,1fr) auto}.vod-thumb{object-fit:cover}.vod-player-panel{min-width:0}.vod-detail{border-top:1px solid var(--line);max-height:36vh;overflow:auto;padding:15px 17px 18px}.vod-detail-empty{padding:22px 6px;color:var(--muted);font-size:13px;text-align:center}.vod-info-row{display:grid;grid-template-columns:82px minmax(0,1fr);gap:14px;align-items:start}.vod-info-poster{width:82px;height:112px;object-fit:cover;border-radius:11px;background:#080d18}.vod-info-title{font-weight:850;font-size:17px;margin:1px 0 7px}.vod-plot{color:#aeb9d0;font-size:12px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.episodes-heading{margin:17px 0 9px;font-size:12px;text-transform:uppercase;letter-spacing:.11em;color:var(--orange);font-weight:850}.vod-season{border-top:1px solid rgba(255,255,255,.055);padding-top:12px;margin-top:10px}.vod-season:first-of-type{margin-top:0}.vod-episode-list{display:grid;gap:7px}.vod-episode.active{border-color:rgba(255,90,10,.55);background:linear-gradient(110deg,rgba(255,90,10,.15),rgba(22,135,255,.08))}.vod-episode .episode-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vod-player-panel .video-wrap{min-height:260px}
@media(max-width:900px){.vod-layout .player-panel{grid-row:1}.vod-layout .channel-panel{grid-row:2;height:52vh;min-height:390px}.vod-detail{max-height:none}.vod-player-panel .video-wrap{min-height:0}}
@media(max-width:640px){.vod-info-row{grid-template-columns:64px minmax(0,1fr)}.vod-info-poster{width:64px;height:88px}.vod-info-title{font-size:15px}.vod-plot{-webkit-line-clamp:3}.vod-layout .channel-panel{height:50vh}.vod-detail{padding:12px}.vod-episode{padding:10px}.vod-player-panel .video-wrap{min-height:0}}

/* 1.0.14 - separadores da ordem mestre */
.channel-section-label{padding:10px 10px 7px;margin-top:4px;color:var(--orange);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.12em;border-bottom:1px solid rgba(255,255,255,.055)}
.channel-section-label:first-child{margin-top:0}

/* LUCCATV 1.0.16 - controles proprios de TV ao vivo: sem barra de progresso/seek de VOD */
.live-controls{position:absolute;left:0;right:0;bottom:0;z-index:4;display:flex;align-items:center;gap:10px;padding:10px 12px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.82));opacity:0;transition:opacity .2s ease;pointer-events:none}.video-wrap:hover .live-controls,.video-wrap:focus-within .live-controls,.video-wrap:fullscreen .live-controls{opacity:1;pointer-events:auto}.live-control-btn{border:0;background:rgba(5,9,18,.78);color:#fff;border-radius:9px;min-width:38px;height:36px;padding:0 10px;font-weight:900}.live-control-btn:hover{background:rgba(22,135,255,.75)}.live-now{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:900;letter-spacing:.08em;background:rgba(5,9,18,.72);border:1px solid rgba(255,255,255,.15);padding:8px 10px;border-radius:999px}.live-dot{width:8px;height:8px;border-radius:50%;background:#23d18b;box-shadow:0 0 0 4px rgba(35,209,139,.12)}.live-controls-spacer{flex:1}@media(max-width:760px){.live-controls{opacity:1;pointer-events:auto;padding:7px 8px}.live-control-btn{height:32px;min-width:34px}.live-now{padding:6px 8px;font-size:10px}}


/* LUCCATV 1.0.18 - barra de controles organizada lado a lado */
.live-stage{background:#02040a;overflow:hidden}.live-stage .video-wrap{border-radius:0}.live-controls{position:relative;left:auto;right:auto;bottom:auto;z-index:4;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:12px;padding:10px 12px;background:linear-gradient(180deg,#0c1425,#080e1b);border-top:1px solid rgba(255,255,255,.08);opacity:1;pointer-events:auto;transition:none}.live-controls-left,.live-controls-right{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;min-width:0}.live-controls-right{margin-left:auto}.live-control-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;border:1px solid rgba(255,255,255,.12);background:linear-gradient(180deg,rgba(25,38,64,.96),rgba(10,18,33,.96));color:#eef4ff;border-radius:11px;min-width:42px;height:38px;padding:0 12px;font-size:12px;font-weight:850;line-height:1;white-space:nowrap;box-shadow:0 3px 10px rgba(0,0,0,.18);transition:background .16s ease,border-color .16s ease,transform .16s ease}.live-control-btn:hover{background:linear-gradient(180deg,rgba(35,81,142,.98),rgba(18,55,104,.98));border-color:rgba(85,160,255,.55);transform:translateY(-1px)}.live-control-btn:active{transform:translateY(0)}.live-btn-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center}.live-btn-icon svg{width:18px;height:18px;display:block}.live-btn-label{display:inline-block}.live-now{display:inline-flex;align-items:center;gap:8px;height:38px;font-size:11px;font-weight:900;letter-spacing:.09em;background:rgba(9,24,35,.92);border:1px solid rgba(35,209,139,.28);padding:0 12px;border-radius:11px;color:#eafff7;white-space:nowrap}.live-dot{width:8px;height:8px;border-radius:50%;background:#23d18b;box-shadow:0 0 0 4px rgba(35,209,139,.12)}.live-stage:fullscreen{display:flex;flex-direction:column;width:100vw;height:100vh;background:#000}.live-stage:fullscreen .video-wrap{flex:1;min-height:0;aspect-ratio:auto}.live-stage:fullscreen .video-wrap video{object-fit:contain}.live-stage:fullscreen .live-controls{flex:0 0 auto}.player-title{min-height:50px}.player-tools{display:none!important}
@media(max-width:760px){.live-controls{padding:8px;gap:7px}.live-controls-left,.live-controls-right{gap:6px}.live-control-btn{height:36px;min-width:36px;padding:0 9px;border-radius:9px}.live-btn-label{display:none}.live-now{height:36px;padding:0 9px;font-size:10px;border-radius:9px}.live-btn-icon,.live-btn-icon svg{width:17px;height:17px}}
@media(max-width:390px){.live-controls{gap:5px}.live-controls-left,.live-controls-right{gap:4px}.live-control-btn{min-width:34px;padding:0 8px}.live-now{padding:0 7px;letter-spacing:.06em}}


/* LUCCATV 1.0.20 - controles realmente compactos, cache-bust */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.live-stage{overflow:hidden!important;background:#02040a!important}
.live-controls.live-controls-compact{
  position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
  align-items:center!important;justify-content:flex-start!important;
  width:100%!important;min-height:40px!important;gap:6px!important;
  padding:5px 8px!important;margin:0!important;
  background:linear-gradient(180deg,#0b1323,#08101c)!important;
  border-top:1px solid rgba(255,255,255,.07)!important;
  opacity:1!important;pointer-events:auto!important;overflow:hidden!important;
}
.live-controls-compact .live-control-btn{
  appearance:none!important;-webkit-appearance:none!important;
  display:inline-flex!important;flex:0 0 30px!important;
  width:30px!important;min-width:30px!important;max-width:30px!important;
  height:30px!important;min-height:30px!important;max-height:30px!important;
  align-items:center!important;justify-content:center!important;
  padding:0!important;margin:0!important;border-radius:7px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:#121d31!important;color:#eef5ff!important;
  box-shadow:none!important;line-height:1!important;font-size:0!important;
  transform:none!important;overflow:hidden!important;
}
.live-controls-compact .live-control-btn:hover{background:#1a3152!important;border-color:rgba(80,150,255,.48)!important;transform:none!important}
.live-controls-compact .live-btn-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:15px!important;height:15px!important;min-width:15px!important;margin:0!important;padding:0!important}
.live-controls-compact .live-btn-icon svg{display:block!important;width:15px!important;height:15px!important}
.live-controls-compact .live-btn-label{display:none!important}
.live-controls-compact .live-now{
  display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;gap:6px!important;
  height:30px!important;padding:0 9px!important;margin:0!important;
  border-radius:7px!important;background:rgba(7,25,27,.72)!important;
  border:1px solid rgba(35,209,139,.24)!important;color:#eafff7!important;
  font-size:10px!important;font-weight:800!important;letter-spacing:.06em!important;white-space:nowrap!important;
}
.live-controls-compact .live-dot{width:6px!important;height:6px!important;box-shadow:0 0 0 3px rgba(35,209,139,.10)!important}
.player-tools{display:none!important}
@media(max-width:640px){
  .live-controls.live-controls-compact{min-height:38px!important;padding:4px 6px!important;gap:5px!important}
  .live-controls-compact .live-control-btn{flex-basis:28px!important;width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;max-height:28px!important}
  .live-controls-compact .live-now{height:28px!important;padding:0 7px!important;font-size:9px!important}
  .live-controls-compact .live-btn-icon,.live-controls-compact .live-btn-icon svg{width:14px!important;height:14px!important}
}


/* LUCCATV 1.2.1 — responsividade real mobile/tablet/desktop */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{width:100%;min-width:0}
.login-screen{width:100%;min-width:0}
.login-side,.login-card,.app-main,.section-card,.player-panel,.channel-panel{min-width:0}

/* Desktop grande */
@media (min-width:1200px){
  .login-screen{grid-template-columns:minmax(0,1.18fr) minmax(420px,.82fr)}
  .login-side{padding:48px}
  .login-card{width:min(480px,100%);padding:38px}
  .app-main{max-width:1680px;margin:0 auto;width:100%}
  .live-layout{grid-template-columns:minmax(330px,34%) minmax(0,1fr)}
}

/* Notebook/tablet horizontal */
@media (min-width:901px) and (max-width:1199px){
  .login-screen{grid-template-columns:minmax(0,1fr) minmax(390px,.88fr)}
  .login-side{padding:28px}
  .login-card{padding:30px}
  .app-main{padding:20px}
  .topbar{padding:0 18px}
}

/* Tablet e celular */
@media (max-width:900px){
  body{min-height:100svh}
  .login-screen{display:block;min-height:100svh}
  .login-hero{display:none!important}
  .login-side{
    min-height:100svh;
    width:100%;
    padding:max(18px,env(safe-area-inset-top)) 16px max(22px,env(safe-area-inset-bottom));
    align-items:center;
    background:
      radial-gradient(circle at 50% 0,rgba(255,90,10,.11),transparent 34%),
      linear-gradient(180deg,#080d19,#070b16);
  }
  .login-card{
    width:min(100%,520px);
    margin:0 auto;
    padding:26px 22px;
    border-radius:22px;
  }
  .mobile-login-logo{display:block;width:150px;max-width:42vw;margin:0 auto 20px}
  .login-card h2{font-size:clamp(28px,7vw,36px)}
  .login-card>p{font-size:16px}
  .input-wrap input{height:54px;font-size:16px}
  .premium-btn{height:56px;font-size:17px}
  .remember{align-items:flex-start;font-size:14px;line-height:1.3}
  .remember input{margin-top:2px;flex:0 0 auto}

  .topbar{
    height:auto;
    min-height:68px;
    padding:8px 10px;
    gap:7px;
    flex-wrap:nowrap;
  }
  .top-logo{width:70px;height:50px}
  .nav{
    flex:1 1 auto;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .nav::-webkit-scrollbar{display:none}
  .nav-btn{flex:0 0 auto;min-width:42px;min-height:42px;justify-content:center}
  .account-chip{flex:0 0 auto}
  .icon-btn{flex:0 0 auto}

  .app-main{padding:14px 10px 28px}
  .view-head{margin-bottom:12px}
  .view-head h1{font-size:26px}
  .view-head p{font-size:13px}

  .live-layout,.vod-layout{display:flex;flex-direction:column;gap:12px}
  .player-panel,.vod-player-panel{order:1;width:100%}
  .channel-panel,.vod-layout .channel-panel{
    order:2;
    width:100%;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
  }
  .channel-list{max-height:48svh}
  .video-wrap{width:100%;aspect-ratio:16/9}
  .player-title{padding:11px 12px}
  .epg-box{padding:11px 12px 13px}

  .content-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
}

/* Celular */
@media (max-width:600px){
  .login-side{padding-left:12px;padding-right:12px}
  .login-card{
    width:100%;
    padding:22px 17px 24px;
    border-radius:18px;
  }
  .mobile-login-logo{width:132px;margin-bottom:16px}
  .eyebrow{font-size:12px}
  .login-card h2{font-size:30px;margin-top:8px}
  .login-card>p{font-size:15px;margin-bottom:20px}
  .field{margin-bottom:14px}
  .field label{font-size:14px}
  .input-wrap input{height:52px;border-radius:13px}
  .premium-btn{height:54px;border-radius:14px}

  .topbar{padding-left:8px;padding-right:8px}
  .top-logo{width:62px;height:46px}
  .nav-btn{padding:8px 9px}
  .account-name{display:none}

  .app-main{padding:10px 8px 24px}
  .section-card{border-radius:14px}
  .channel-panel-head{padding:13px 12px}
  .channel-list{padding:6px;max-height:52svh}
  .channel-row{
    grid-template-columns:46px minmax(0,1fr) auto;
    gap:9px;
    padding:8px;
  }
  .channel-logo{width:44px;height:44px}
  .channel-name{font-size:14px}
  .video-wrap{aspect-ratio:16/9}
  .live-controls{overflow-x:auto;justify-content:flex-start}
  .live-controls-left,.live-controls-right{gap:5px}
  .live-controls-right{margin-left:0}
  .live-now{flex:0 0 auto}
  .content-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .toast-stack{
    left:8px;
    right:8px;
    bottom:max(8px,env(safe-area-inset-bottom));
    max-width:none;
  }
}

/* Celular muito estreito */
@media (max-width:360px){
  .login-card{padding-left:14px;padding-right:14px}
  .mobile-login-logo{width:118px}
  .top-logo{width:56px}
  .nav-btn{min-width:38px;padding:7px}
  .app-main{padding-left:6px;padding-right:6px}
  .channel-row{grid-template-columns:42px minmax(0,1fr) auto}
  .channel-logo{width:40px;height:40px}
}

/* Landscape de celular: player prioritário */
@media (max-height:520px) and (orientation:landscape){
  .login-side{min-height:100vh;padding:10px}
  .login-card{max-width:620px;padding:16px 20px}
  .mobile-login-logo{width:90px;margin-bottom:8px}
  .login-card h2{font-size:24px}
  .login-card>p{margin-bottom:12px}
  .field{margin-bottom:9px}
  .input-wrap input{height:44px}
  .premium-btn{height:46px}
  .remember{margin-bottom:12px}
  .live-layout,.vod-layout{display:grid;grid-template-columns:minmax(260px,38%) minmax(0,1fr)}
  .channel-panel,.vod-layout .channel-panel{order:1;max-height:calc(100vh - 90px)!important}
  .player-panel,.vod-player-panel{order:2}
  .channel-list{max-height:none}
}

/* 1.2.2 — player HTTP com login HTTPS */
@media (max-width:900px){
  .app-main{padding-bottom:max(28px,env(safe-area-inset-bottom))}
}

/* LUCCATV WEB PLAY 2.0.1 — AJUSTE MOBILE FILMES + MENU SUPERIOR */
@media (max-width:600px){
  /* Topo: prioriza TV / Filmes / Séries no telefone. */
  .topbar{
    min-height:60px!important;
    padding:6px 6px!important;
    gap:4px!important;
  }
  .top-logo{width:54px!important;height:44px!important}
  .nav{gap:3px!important;overflow:visible!important;min-width:0!important}
  .nav-btn{
    min-width:auto!important;
    min-height:38px!important;
    padding:6px 7px!important;
    gap:4px!important;
    border-radius:10px!important;
    font-size:12px!important;
  }
  .nav-btn .nav-label{display:inline!important;font-size:12px!important}
  .nav-btn[data-mode="live"] .nav-label{font-size:0!important}
  .nav-btn[data-mode="live"] .nav-label::after{content:"TV";font-size:12px!important}
  .nav-btn[data-mode="account"] .nav-label{display:none!important}
  .account-chip{display:none!important}
  .icon-btn{width:36px!important;height:36px!important;border-radius:10px!important}

  /* Filmes/Séries: bloco de informações mais compacto no telefone. */
  .vod-player-panel .player-title{display:none!important}
  .vod-detail{
    max-height:none!important;
    padding:8px 9px 10px!important;
    overflow:visible!important;
  }
  .vod-detail-empty{padding:12px 5px!important;font-size:12px!important}
  .vod-info-row{
    grid-template-columns:48px minmax(0,1fr)!important;
    gap:9px!important;
    align-items:start!important;
  }
  .vod-info-poster{
    width:48px!important;
    height:66px!important;
    border-radius:8px!important;
  }
  .vod-info-title{
    font-size:14px!important;
    line-height:1.18!important;
    margin:0 0 4px!important;
  }
  .vod-info-copy .info-tags{
    justify-content:flex-start!important;
    gap:4px!important;
    margin:4px 0 5px!important;
  }
  .vod-info-copy .tag{
    font-size:10px!important;
    line-height:1!important;
    padding:4px 6px!important;
  }
  .vod-plot{
    font-size:11px!important;
    line-height:1.42!important;
    -webkit-line-clamp:2!important;
  }
  .episodes-heading{margin:11px 0 7px!important;font-size:11px!important}
  .vod-season{padding-top:9px!important;margin-top:7px!important}
}

/* Em telas muito estreitas, troca os textos do topo por ícones automaticamente. */
@media (max-width:350px){
  .top-logo{width:50px!important}
  .nav-btn{min-width:34px!important;width:34px!important;padding:0!important}
  .nav-btn .nav-label{display:none!important}
  .nav-btn[data-mode="live"] .nav-label::after{content:none!important}
  .icon-btn{width:34px!important;height:34px!important}
}

/* 2.0.14 — mobile: detalhe VOD mais compacto sem cortar a descrição */
@media (max-width:640px){
  .vod-detail{padding:6px 8px 8px!important;}
  .vod-info-row{grid-template-columns:40px minmax(0,1fr)!important;gap:7px!important;}
  .vod-info-poster{width:40px!important;height:56px!important;border-radius:7px!important;}
  .vod-info-title{font-size:12px!important;line-height:1.15!important;margin:0 0 3px!important;}
  .vod-info-copy .info-tags{gap:3px!important;margin:3px 0 4px!important;}
  .vod-info-copy .tag{font-size:9px!important;padding:3px 5px!important;}
  .vod-plot{font-size:10px!important;line-height:1.32!important;-webkit-line-clamp:3!important;}
}
/* 2.0.18 — lembrar acesso como no aplicativo */
.remembered-note{margin-top:9px;text-align:center;color:var(--muted);font-size:12px;line-height:1.4}
