:root{--bg:#07111f;--panel:#0d1b2f;--panel2:#12243d;--blue:#2f80ff;--text:#f4f7fb;--muted:#9fb0c8;--danger:#ff4d6d;--ok:#38d39f}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top,#173a6b 0,#07111f 42%,#03070d 100%);color:var(--text);font-family:Inter,Arial,sans-serif;min-height:100vh}a{color:inherit}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(440px,100%);background:rgba(13,27,47,.92);border:1px solid rgba(255,255,255,.09);border-radius:28px;padding:34px;box-shadow:0 28px 70px rgba(0,0,0,.45)}.logo{display:block;margin:0 auto 22px;max-width:190px}.auth-card h1{font-size:30px;text-align:center;margin:0 0 24px}.auth-card label{display:block;margin:16px 0 8px;color:var(--muted);font-size:17px}.auth-card input,.input,select{width:100%;border:2px solid transparent;background:#091628;color:var(--text);border-radius:16px;padding:16px 18px;font-size:20px;outline:none}.auth-card input:focus,.input:focus,select:focus,.focusable:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(47,128,255,.22)}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:16px;padding:15px 22px;font-size:18px;font-weight:700;cursor:pointer;text-decoration:none}.btn.primary{width:100%;margin-top:22px;background:linear-gradient(135deg,#2f80ff,#00c2ff);color:white}.btn.dark{background:#132846;color:#fff}.btn.danger{background:var(--danger);color:#fff}.muted{display:block;text-align:center;color:var(--muted);margin-top:18px;text-decoration:none}.alert{background:rgba(255,77,109,.14);border:1px solid rgba(255,77,109,.35);color:#ffd8df;padding:14px 16px;border-radius:14px;margin-bottom:18px}.layout{display:flex;min-height:100vh}.sidebar{width:280px;background:rgba(4,11,22,.9);border-right:1px solid rgba(255,255,255,.08);padding:24px;position:sticky;top:0;height:100vh}.sidebar .logo{margin:0 0 26px}.nav a{display:flex;gap:12px;align-items:center;padding:15px 16px;margin:7px 0;border-radius:16px;text-decoration:none;color:#d9e5f6;font-size:18px}.nav a.active,.nav a:hover,.nav a:focus{background:linear-gradient(135deg,rgba(47,128,255,.35),rgba(0,194,255,.12));outline:none}.main{flex:1;padding:32px}.topbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.card{background:rgba(18,36,61,.88);border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:24px;box-shadow:0 18px 40px rgba(0,0,0,.22)}.card h3{margin:0 0 10px;font-size:20px}.metric{font-size:38px;font-weight:800}.table{width:100%;border-collapse:collapse;background:rgba(18,36,61,.7);border-radius:18px;overflow:hidden}.table th,.table td{text-align:left;padding:15px;border-bottom:1px solid rgba(255,255,255,.07)}.table th{color:var(--muted);font-size:14px;text-transform:uppercase}.actions{display:flex;gap:10px;flex-wrap:wrap}.form{max-width:760px}.form .row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.badge{display:inline-block;border-radius:999px;padding:6px 10px;font-size:13px;background:#173a6b}.badge.ok{background:rgba(56,211,159,.2);color:#aaf4dd}.badge.off{background:rgba(255,77,109,.2);color:#ffc5cf}.hero{min-height:280px;border-radius:30px;padding:34px;background:linear-gradient(135deg,rgba(47,128,255,.35),rgba(0,0,0,.35)),url('/public/assets/img/logo.svg') center/360px no-repeat,rgba(18,36,61,.75);display:flex;flex-direction:column;justify-content:flex-end}.hero h1{font-size:44px;margin:0}.rail{margin:32px 0}.rail h2{font-size:26px}.tiles{display:flex;gap:18px;overflow:auto;padding-bottom:10px}.tile{min-width:220px;height:130px;border-radius:22px;background:linear-gradient(135deg,#142d50,#0d1b2f);display:flex;align-items:end;padding:18px;font-weight:800;text-decoration:none;border:1px solid rgba(255,255,255,.09)}@media(max-width:800px){.layout{display:block}.sidebar{width:auto;height:auto;position:static}.main{padding:20px}.form .row{grid-template-columns:1fr}.hero h1{font-size:32px}}
/* MAXXTV V2 Sprint 1.3 */
.btn[disabled]{opacity:.45;cursor:not-allowed}.table form{margin:0}.card small.muted{font-size:12px;color:var(--muted)}
/* MAXXTV V2 Sprint 1.4 - Conteúdo Xtream/M3U */
.page-head{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:24px;flex-wrap:wrap}.page-head h1{font-size:42px;margin:0}.page-head p{color:var(--muted);font-size:18px;margin:8px 0 0}.search-input{max-width:460px}.content-layout{display:grid;grid-template-columns:270px 1fr;gap:22px}.category-panel{background:rgba(4,11,22,.5);border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:14px;max-height:calc(100vh - 170px);overflow:auto;position:sticky;top:20px}.category-link{display:block;padding:14px 16px;border-radius:15px;text-decoration:none;color:#d9e5f6;margin-bottom:6px}.category-link:hover,.category-link:focus,.category-link.active{background:linear-gradient(135deg,rgba(47,128,255,.38),rgba(0,194,255,.12));outline:none}.poster-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:18px}.poster-grid-small{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.poster-card,.channel-card,.episode-card{display:block;text-decoration:none;background:rgba(18,36,61,.78);border:1px solid rgba(255,255,255,.09);border-radius:22px;padding:12px;transition:.16s transform,.16s border,.16s box-shadow;overflow:hidden}.poster-card:hover,.poster-card:focus,.channel-card:hover,.channel-card:focus,.episode-card:hover,.episode-card:focus{transform:translateY(-3px);border-color:rgba(47,128,255,.85);box-shadow:0 0 0 4px rgba(47,128,255,.18);outline:none}.poster-img{height:245px;border-radius:17px;background:linear-gradient(135deg,#132846,#07111f);display:grid;place-items:center;overflow:hidden;margin-bottom:12px;font-size:46px}.poster-img img{width:100%;height:100%;object-fit:cover}.poster-card strong,.channel-card strong{display:block;font-size:16px;line-height:1.25}.poster-card small,.channel-card small{display:block;color:var(--muted);margin-top:6px}.channel-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.channel-grid-small{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.channel-logo{height:94px;border-radius:18px;background:linear-gradient(135deg,#132846,#07111f);display:grid;place-items:center;margin-bottom:12px;font-size:38px;overflow:hidden}.channel-logo img{max-width:88%;max-height:78%;object-fit:contain}.empty-card{background:rgba(18,36,61,.78);border:1px solid rgba(255,255,255,.08);border-radius:22px;padding:24px;color:var(--muted)}.progress{height:6px;border-radius:999px;background:rgba(255,255,255,.16);overflow:hidden;margin-top:10px}.progress span{display:block;height:100%;background:linear-gradient(135deg,#2f80ff,#00c2ff)}.detail-hero{display:grid;grid-template-columns:210px 1fr;gap:28px;background:rgba(18,36,61,.72);border:1px solid rgba(255,255,255,.08);border-radius:28px;padding:24px;margin-bottom:26px}.detail-poster{height:300px;border-radius:22px;background:#091628;display:grid;place-items:center;overflow:hidden;font-size:58px}.detail-poster img{width:100%;height:100%;object-fit:cover}.detail-hero h1{font-size:40px;margin:18px 0 12px}.detail-hero p{font-size:18px;color:#d9e5f6;line-height:1.55}.season-title{margin:30px 0 14px}.episode-list{display:grid;gap:12px}.episode-card{padding:18px}.episode-card small{display:block;color:var(--muted);margin-top:7px}.player-top{display:flex;align-items:center;gap:18px;margin-bottom:20px}.player-top h1{margin:0;font-size:30px}.video-shell{background:#000;border-radius:28px;overflow:hidden;border:1px solid rgba(255,255,255,.1);box-shadow:0 22px 60px rgba(0,0,0,.35)}.video-shell video{display:block;width:100%;height:min(70vh,720px);background:#000}.player-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.list-tile span{color:var(--muted)}@media(max-width:900px){.content-layout{grid-template-columns:1fr}.category-panel{position:static;max-height:240px}.poster-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.poster-img{height:205px}.detail-hero{grid-template-columns:1fr}.detail-poster{width:210px}.page-head{align-items:stretch}.search-input{max-width:none}.video-shell video{height:58vh}}

/* MAXXTV V2 Sprint 1.5 - visual TV e diagnóstico de player */
body{background:linear-gradient(180deg,#06101e 0,#08182d 46%,#03070d 100%);}
.sidebar{width:255px;background:linear-gradient(180deg,rgba(3,8,17,.98),rgba(7,18,34,.95));box-shadow:16px 0 40px rgba(0,0,0,.22)}
.sidebar .logo{max-width:168px;filter:drop-shadow(0 8px 18px rgba(47,128,255,.18))}.main{padding:26px 30px 40px}.nav a{font-size:17px;padding:16px 15px;border:1px solid transparent}.nav a.active,.nav a:hover,.nav a:focus{border-color:rgba(73,154,255,.35);background:linear-gradient(135deg,rgba(35,112,255,.45),rgba(0,195,255,.12));box-shadow:0 10px 28px rgba(0,0,0,.18)}
.page-head{background:linear-gradient(135deg,rgba(18,39,70,.72),rgba(7,17,31,.55));border:1px solid rgba(255,255,255,.08);border-radius:26px;padding:22px 24px;box-shadow:0 20px 48px rgba(0,0,0,.18)}.page-head h1{font-size:38px;letter-spacing:-.02em}.page-head p{font-size:16px}.input.search-input{background:rgba(2,8,18,.8);border-color:rgba(255,255,255,.08);font-size:18px;min-height:58px}.content-layout{grid-template-columns:300px 1fr}.category-panel{background:rgba(2,8,18,.62);border-color:rgba(255,255,255,.1);box-shadow:0 16px 40px rgba(0,0,0,.22)}.category-link{font-size:16px;padding:15px 16px}.poster-grid{grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:20px}.poster-card,.channel-card,.episode-card{background:linear-gradient(180deg,rgba(21,43,73,.82),rgba(8,19,35,.92));border-color:rgba(255,255,255,.1);box-shadow:0 14px 34px rgba(0,0,0,.18)}.poster-card:hover,.poster-card:focus,.channel-card:hover,.channel-card:focus,.episode-card:hover,.episode-card:focus{transform:scale(1.035);box-shadow:0 0 0 4px rgba(47,128,255,.22),0 24px 52px rgba(0,0,0,.35)}.poster-img{height:260px;background:radial-gradient(circle at top,#1a4070,#07111f)}.channel-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}.channel-logo{height:112px;background:radial-gradient(circle at top,#1d467a,#07111f)}.empty-card,.card{background:linear-gradient(180deg,rgba(21,43,73,.82),rgba(8,19,35,.92))}.player-v2{max-width:1280px;margin:0 auto}.player-top{background:linear-gradient(135deg,rgba(18,39,70,.72),rgba(7,17,31,.55));border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:16px 18px}.player-titlebox h1{font-size:28px;line-height:1.15}.player-titlebox small{color:var(--muted)}.video-shell{position:relative;border-radius:30px;border:1px solid rgba(255,255,255,.12);background:#000;min-height:420px;display:grid;place-items:center}.video-shell video{height:min(72vh,720px);min-height:420px}.player-error{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.72),rgba(2,8,18,.92));place-items:center;text-align:center;padding:28px;z-index:3}.player-error h2{font-size:34px;margin:0 0 12px}.player-error p{max-width:680px;color:#d9e5f6;font-size:18px;line-height:1.55}.notice{background:rgba(255,193,7,.12);border:1px solid rgba(255,193,7,.42);color:#fff4cf;border-radius:22px;padding:20px;margin-bottom:18px}.notice h2{margin:0 0 8px}.notice p{line-height:1.5}.center-actions{justify-content:center}.btn.primary{background:linear-gradient(135deg,#257cff,#00b7ff);box-shadow:0 12px 26px rgba(37,124,255,.24)}.btn.dark{background:rgba(19,40,70,.95);border:1px solid rgba(255,255,255,.08)}
@media(max-width:900px){.sidebar{width:auto}.main{padding:18px}.content-layout{grid-template-columns:1fr}.page-head h1{font-size:32px}.video-shell,.video-shell video{min-height:300px;height:55vh}.poster-grid{grid-template-columns:repeat(auto-fill,minmax(142px,1fr))}.poster-img{height:215px}.channel-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}}

/* MAXXTV V2 Sprint 1.14 - Favoritos */
.media-card-wrap{position:relative;min-width:0}.media-card-wrap .poster-card,.media-card-wrap .channel-card{height:100%}.fav-form{position:absolute;top:10px;right:10px;z-index:6;margin:0}.fav-btn{width:44px;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(2,8,18,.78);color:#fff;font-size:28px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 24px rgba(0,0,0,.32);backdrop-filter:blur(10px);transition:.15s transform,.15s background,.15s color}.fav-btn:hover,.fav-btn:focus{transform:scale(1.08);background:rgba(47,128,255,.92);outline:none}.fav-btn.active{color:#ffd86b;background:rgba(17,28,48,.88);border-color:rgba(255,216,107,.58)}.detail-actions{margin-top:18px}.detail-actions .fav-form{position:static;display:inline-block}.detail-actions .fav-btn{width:auto;min-width:190px;height:52px;border-radius:16px;font-size:20px;padding:0 18px}.detail-actions .fav-btn::after{content:' Favorito';font-size:17px;font-weight:800;margin-left:8px}.filter-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}.filter-tabs .category-link{display:inline-flex;margin:0;background:rgba(2,8,18,.48);border:1px solid rgba(255,255,255,.08)}.favorites-grid{grid-template-columns:repeat(auto-fill,minmax(178px,1fr))}@media(max-width:900px){.fav-btn{width:40px;height:40px;font-size:24px}.detail-actions .fav-btn{min-width:160px}}
.player-fav-inline{position:relative}.player-fav-inline .fav-form{position:static}.player-fav-inline .fav-btn{width:auto;min-width:150px;height:52px;border-radius:16px;font-size:20px;padding:0 16px}.player-fav-inline .fav-btn::after{content:' Favorito';font-size:16px;font-weight:800;margin-left:8px}
.rail-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.muted-link{color:var(--muted);text-decoration:none;font-weight:700}.muted-link:hover,.muted-link:focus{color:#fff;outline:none}

/* MAXXTV V2 Sprint 1.15 - remover itens do Continuar Assistindo */
.continue-card-wrap{position:relative}.continue-card-wrap .poster-card{height:100%}.progress-remove-form{position:absolute;top:10px;left:10px;z-index:8;margin:0}.progress-remove-btn{width:40px;height:40px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(180,35,35,.88);color:#fff;font-size:30px;font-weight:900;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 24px rgba(0,0,0,.32);backdrop-filter:blur(10px);transition:.15s transform,.15s background}.progress-remove-btn:hover,.progress-remove-btn:focus{transform:scale(1.08);background:rgba(240,65,65,.96);outline:none}.btn.danger{background:rgba(180,35,35,.92);border:1px solid rgba(255,255,255,.12);color:#fff}.btn.danger:hover,.btn.danger:focus{background:rgba(235,65,65,.98);outline:none}.player-history-remove form{margin:0}

/* MAXXTV V2 Sprint 1.16 - remover últimos canais */
.channel-history-card-wrap{position:relative}.channel-history-card-wrap .channel-card{height:100%}.channel-remove-form{position:absolute;top:10px;left:10px;z-index:8;margin:0}.channel-remove-btn{background:rgba(180,35,35,.88)}.player-channel-history-remove form{margin:0}

/* MAXXTV V2 Sprint 1.17 - Busca avançada */
.search-tools{display:flex;flex-direction:column;gap:8px;min-width:min(520px,100%)}
.search-tools-row{display:flex;gap:10px;align-items:center;width:100%}
.search-tools-row .search-input{flex:1;max-width:none}
.search-status{min-height:20px;color:var(--muted);font-size:14px;font-weight:700;padding-left:4px}
.search-status strong{color:#fff}
.search-clear{min-height:58px;border-radius:18px;padding:0 16px;white-space:nowrap}
.search-hint{color:var(--muted);font-size:13px;line-height:1.35;padding-left:4px}
.searchable-item[style*="display: none"]{display:none!important}
@media(max-width:900px){.search-tools{min-width:0;width:100%}.search-tools-row{flex-direction:column;align-items:stretch}.search-clear{width:100%}}

/* MAXXTV V2 Sprint 1.18 - busca robusta */
.search-hidden{display:none!important}.search-tools{min-width:min(520px,100%)}.search-tools-row{display:flex;gap:10px;align-items:center}.search-tools-row .input{flex:1}.search-clear{white-space:nowrap}.search-hint{font-size:13px;color:var(--muted);margin-top:8px}.search-status{font-size:14px;color:#bcd0ea;margin-top:8px;min-height:20px}.search-status strong{color:#fff}
@media(max-width:700px){.search-tools-row{display:block}.search-clear{margin-top:10px;width:100%}}
/* MAXXTV Sprint 1.19 - busca mais leve */
.search-hidden{display:none!important}.search-tools .search-status{transition:opacity .12s ease}.search-tools .search-status:empty{display:none}.search-tools-row input[type="search"],.search-tools-row .search-input{will-change:contents}

/* MAXXTV V2 Sprint 1.20 - desempenho: busca por servidor e paginação */
.server-search .search-status{font-size:14px;color:#bcd0ea;line-height:1.35}.server-search .search-status strong{color:#fff}.server-search-input{max-width:none!important}.search-submit{width:auto;min-width:112px;margin:0!important}.pager{display:flex;align-items:center;justify-content:center;gap:14px;margin:0 0 22px;padding:10px}.poster-grid + .pager{margin:22px 0 0}.pager-info{color:#c9d7ea;font-weight:800;background:rgba(2,8,18,.44);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:13px 16px}.light-grid .media-card-wrap{content-visibility:auto;contain-intrinsic-size:310px 190px}.light-grid img{background:#07111f}.content-panel{min-width:0}.poster-card,.channel-card{contain:layout paint style}.poster-img img,.channel-logo img{image-rendering:auto}@media(max-width:700px){.search-submit{width:100%;margin-top:10px!important}.pager{flex-direction:column}.pager .btn{width:100%}}


/* MAXXTV V2 Sprint 1.22 - Catálogo local no dispositivo */
.catalog-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
.catalog-toolbar .input{min-width:min(520px,100%);flex:1}
.catalog-notice{background:rgba(59,130,246,.12);border:1px solid rgba(96,165,250,.25);padding:16px;border-radius:16px;margin-bottom:16px;color:#dbeafe}
.catalog-sync-card{max-width:980px}
.catalog-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.catalog-status-grid>div{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:8px}
.catalog-status-grid span{color:#b7c6e8;font-size:14px}
.catalog-progress-wrap{margin:18px 0}
.catalog-progress{height:12px;background:rgba(255,255,255,.08);border-radius:99px;overflow:hidden;border:1px solid rgba(255,255,255,.08)}
.catalog-progress span{display:block;height:100%;background:linear-gradient(90deg,#3b82f6,#22c55e);transition:width .25s ease}
.catalog-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.small{font-size:13px}.muted{color:#9fb0d0}.center-actions{display:flex;justify-content:center;margin:18px 0}.catalog-local-shell .content-layout{align-items:flex-start}
.catalog-local-shell .category-panel{max-height:calc(100vh - 190px);overflow:auto;position:sticky;top:16px}
.catalog-local-shell .poster-grid{min-height:260px}
@media (max-width:900px){.catalog-status-grid{grid-template-columns:1fr}.catalog-local-shell .content-layout{display:block}.catalog-local-shell .category-panel{position:relative;top:auto;max-height:220px;margin-bottom:14px}.catalog-toolbar{align-items:stretch}.catalog-toolbar .btn{justify-content:center}}
/* MAXXTV V2 Sprint 1.23 - Gerenciamento do catálogo local */
.catalog-sync-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap}
.muted.left{text-align:left;margin-top:8px;max-width:760px;line-height:1.45}.catalog-device-pill{background:rgba(56,211,159,.14);border:1px solid rgba(56,211,159,.28);color:#b8ffe7;border-radius:999px;padding:10px 14px;font-weight:900;white-space:nowrap}.catalog-status-grid-v2>div{min-height:104px}.catalog-status-grid-v2 small{color:#8fa6c8;font-size:13px;line-height:1.35}.catalog-summary-box{background:rgba(47,128,255,.11);border:1px solid rgba(47,128,255,.24);border-radius:18px;padding:16px;color:#dceaff;line-height:1.45;margin:14px 0}.catalog-actions-v2 .btn.primary{width:auto;margin-top:0}.catalog-danger-zone{margin-top:22px;background:rgba(255,77,109,.08);border:1px solid rgba(255,77,109,.18);border-radius:20px;padding:18px;display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap}.catalog-danger-zone p{margin:6px 0 0;color:#c6d3e8;max-width:620px}.catalog-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.catalog-help-grid>div{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:14px}.catalog-help-grid strong{display:block;margin-bottom:6px}.catalog-help-grid p{color:#aebfda;margin:0;line-height:1.42;font-size:14px}.catalog-progress-wrap #mxCatalogProgressText{color:#c7d5ec;font-weight:800}.catalog-local-shell .catalog-notice .muted-link{margin-left:10px;color:#fff;text-decoration:underline}.btn:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.35)}
@media(max-width:900px){.catalog-actions-v2 .btn,.catalog-danger-zone .btn{width:100%}.catalog-danger-zone{align-items:stretch}.catalog-help-grid{grid-template-columns:1fr}.catalog-device-pill{width:100%;text-align:center}.catalog-sync-head{display:block}}

/* MAXXTV V2 Sprint 1.24 - Visual moderno e base TV First */
:root{
  --mx-bg:#050b14;--mx-bg2:#081527;--mx-card:rgba(13,27,47,.76);--mx-card2:rgba(17,35,62,.82);
  --mx-line:rgba(255,255,255,.10);--mx-line2:rgba(110,167,255,.28);--mx-blue:#3b82ff;--mx-cyan:#00c2ff;
  --mx-text:#f8fbff;--mx-soft:#b8c8df;--mx-soft2:#7f95b2;--mx-green:#38d39f;--mx-shadow:0 22px 70px rgba(0,0,0,.36);
}
html{scroll-behavior:smooth}body{background:radial-gradient(circle at 12% 0%,rgba(59,130,255,.28) 0,rgba(59,130,255,0) 30%),radial-gradient(circle at 90% 10%,rgba(0,194,255,.12) 0,rgba(0,194,255,0) 30%),linear-gradient(180deg,#06101e 0,#071427 44%,#03070d 100%);color:var(--mx-text);overflow-x:hidden}.mobile-appbar{display:none}.client-layout{background:linear-gradient(90deg,rgba(0,0,0,.26),rgba(0,0,0,0))}.sidebar{width:278px;padding:22px 18px;background:linear-gradient(180deg,rgba(3,8,17,.96),rgba(6,16,31,.92));border-right:1px solid rgba(126,170,255,.12);backdrop-filter:blur(18px)}.sidebar-brand{display:block;text-decoration:none;margin-bottom:16px}.sidebar .logo{margin:0 auto 8px;max-width:172px}.sidebar-brand-text{display:block;text-align:center;color:#7fa7e8;font-size:12px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.active-list-chip{margin:0 6px 16px;padding:12px 14px;border-radius:16px;background:rgba(59,130,255,.10);border:1px solid rgba(59,130,255,.20);color:#dceaff;font-weight:800;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav a{gap:13px;padding:15px 16px;margin:6px 0;border-radius:18px;color:#dce7f8;font-size:17px;border:1px solid transparent;position:relative;overflow:hidden}.nav a span{font-size:21px;width:26px;text-align:center}.nav a strong{font-weight:850}.nav a.active{background:linear-gradient(135deg,rgba(59,130,255,.48),rgba(0,194,255,.14));border-color:rgba(111,177,255,.32);box-shadow:0 14px 34px rgba(24,95,255,.14)}.nav a.active:before{content:'';position:absolute;left:0;top:12px;bottom:12px;width:4px;border-radius:99px;background:linear-gradient(#72d6ff,#3b82ff)}.nav a:hover,.nav a:focus{transform:translateX(3px);border-color:rgba(111,177,255,.28);background:linear-gradient(135deg,rgba(59,130,255,.32),rgba(255,255,255,.04))}.main{padding:30px 34px 52px;max-width:calc(100vw - 278px)}.kicker{display:inline-flex;align-items:center;gap:8px;color:#8bb8ff;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.18em;margin-bottom:8px}.page-head,.media-page-head{background:linear-gradient(135deg,rgba(22,50,91,.78),rgba(7,16,31,.62));border:1px solid rgba(139,184,255,.16);box-shadow:var(--mx-shadow);border-radius:30px;padding:24px 26px;position:relative;overflow:hidden}.page-head:after,.media-page-head:after{content:'';position:absolute;right:-90px;top:-120px;width:310px;height:310px;background:radial-gradient(circle,rgba(59,130,255,.24),rgba(59,130,255,0) 66%);pointer-events:none}.page-head h1{font-size:clamp(32px,4vw,48px);letter-spacing:-.04em;line-height:1;margin:0}.page-head p{color:var(--mx-soft);max-width:720px}.home-hero-v2{min-height:360px;border-radius:34px;padding:36px;background:linear-gradient(135deg,rgba(7,17,31,.78),rgba(11,31,58,.82)),radial-gradient(circle at 84% 20%,rgba(0,194,255,.22),rgba(0,194,255,0) 34%),linear-gradient(135deg,rgba(59,130,255,.28),rgba(0,0,0,.22));border:1px solid rgba(139,184,255,.18);box-shadow:0 26px 90px rgba(0,0,0,.42);position:relative;overflow:hidden;justify-content:center}.home-hero-v2:before{content:'';position:absolute;inset:0;background:url('/public/assets/img/logo.svg') right 7% center/380px no-repeat;opacity:.08;filter:drop-shadow(0 30px 50px rgba(59,130,255,.25))}.hero-glow{position:absolute;right:-180px;bottom:-220px;width:520px;height:520px;background:radial-gradient(circle,rgba(0,194,255,.25),rgba(0,194,255,0) 66%)}.home-hero-content{position:relative;max-width:860px}.home-hero-v2 h1{font-size:clamp(38px,6vw,70px);line-height:.98;letter-spacing:-.055em;margin:0 0 14px}.home-hero-v2 p{font-size:20px;line-height:1.45;color:#dbe8fb;margin:0 0 18px;max-width:780px}.home-pills{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 22px}.home-pills span{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10);border-radius:999px;padding:10px 13px;color:#dceaff;font-size:14px;font-weight:800}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.main .btn.primary{width:auto;margin-top:0}.btn{transition:transform .15s ease,box-shadow .15s ease,background .15s ease;border:1px solid rgba(255,255,255,.10)}.btn:hover,.btn:focus{transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.28);outline:none}.quick-rail{margin-top:28px}.rail{margin:34px 0}.rail h2{font-size:clamp(24px,2.4vw,32px);letter-spacing:-.035em;margin:0 0 16px}.rail-title-row{margin-bottom:16px}.quick-menu-v2{display:grid;grid-template-columns:repeat(5,minmax(160px,1fr));gap:16px;overflow:visible}.quick-tile{height:156px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;border-radius:26px;padding:18px;background:linear-gradient(135deg,rgba(19,48,88,.92),rgba(9,21,40,.92));border:1px solid rgba(139,184,255,.14);box-shadow:0 18px 42px rgba(0,0,0,.24);position:relative;overflow:hidden;transition:.17s transform,.17s box-shadow,.17s border}.quick-tile span{font-size:34px;margin-bottom:auto}.quick-tile strong{font-size:20px;letter-spacing:-.02em}.quick-tile small{color:#b7c8df;margin-top:6px;line-height:1.25}.quick-tile:after{content:'';position:absolute;right:-44px;top:-42px;width:132px;height:132px;border-radius:50%;background:rgba(255,255,255,.07)}.quick-tile:hover,.quick-tile:focus{transform:translateY(-5px) scale(1.015);border-color:rgba(111,177,255,.42);box-shadow:0 28px 64px rgba(0,0,0,.36)}.quick-tile.movies{background:linear-gradient(135deg,rgba(126,54,255,.34),rgba(11,24,48,.94))}.quick-tile.series{background:linear-gradient(135deg,rgba(0,194,255,.27),rgba(11,24,48,.94))}.quick-tile.tv{background:linear-gradient(135deg,rgba(56,211,159,.22),rgba(11,24,48,.94))}.quick-tile.fav{background:linear-gradient(135deg,rgba(255,195,73,.20),rgba(11,24,48,.94))}.quick-tile.sync{background:linear-gradient(135deg,rgba(59,130,255,.28),rgba(11,24,48,.94))}.home-row-grid{grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:18px}.poster-card,.channel-card,.episode-card{border-radius:24px;background:linear-gradient(180deg,rgba(18,39,70,.84),rgba(7,17,31,.94));border:1px solid rgba(139,184,255,.13);box-shadow:0 16px 38px rgba(0,0,0,.25)}.poster-card strong,.channel-card strong{font-size:15px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}.poster-card small,.channel-card small{font-size:13px;color:#9fb5d1}.poster-img{border-radius:19px;background:linear-gradient(135deg,#10233f,#06101e);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}.poster-img img{transition:transform .22s ease}.poster-card:hover img,.poster-card:focus img{transform:scale(1.035)}.channel-logo{border-radius:20px;background:linear-gradient(135deg,#10233f,#06101e);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}.empty-card.home-empty{grid-column:1/-1;min-height:120px;display:grid;place-items:center;text-align:center;border-style:dashed;background:rgba(255,255,255,.045)}.catalog-toolbar{background:rgba(2,8,18,.36);border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:12px;box-shadow:0 16px 40px rgba(0,0,0,.18)}.catalog-toolbar .input,.server-search-input,.auth-card input,.input{background:rgba(2,8,18,.72);border-color:rgba(255,255,255,.10);box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}.content-layout{gap:24px}.category-panel{border-radius:26px;background:rgba(2,8,18,.52);border-color:rgba(139,184,255,.12);box-shadow:0 18px 44px rgba(0,0,0,.24)}.category-link{font-weight:800}.category-link.active,.category-link:hover,.category-link:focus{background:linear-gradient(135deg,rgba(59,130,255,.42),rgba(0,194,255,.11));box-shadow:0 12px 28px rgba(0,0,0,.16)}.catalog-notice{border-radius:22px;background:rgba(59,130,255,.11);border-color:rgba(139,184,255,.22)}.search-status{font-weight:850;color:#b9cae5}.progress{height:7px}.progress span{background:linear-gradient(90deg,#3b82ff,#00c2ff,#38d39f)}.fav-btn,.progress-remove-btn,.channel-remove-btn{backdrop-filter:blur(12px)}.auth-card{background:linear-gradient(180deg,rgba(14,29,52,.94),rgba(6,15,28,.96));border-color:rgba(139,184,255,.16)}
@media(max-width:1180px){.quick-menu-v2{grid-template-columns:repeat(3,minmax(160px,1fr))}.main{padding:24px;max-width:calc(100vw - 278px)}}
@media(max-width:900px){body{padding-top:70px}.mobile-appbar{display:flex;position:fixed;z-index:50;top:0;left:0;right:0;height:70px;align-items:center;justify-content:space-between;padding:10px 14px;background:rgba(3,8,17,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(139,184,255,.14)}.mobile-brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:950}.mobile-brand img{height:36px;max-width:120px}.mobile-pill{text-decoration:none;background:rgba(59,130,255,.18);border:1px solid rgba(59,130,255,.28);border-radius:999px;padding:10px 12px;font-size:13px;font-weight:900}.layout{display:block}.sidebar{position:fixed;left:0;right:0;bottom:0;top:auto;width:auto;height:76px;z-index:60;padding:8px 8px;background:rgba(3,8,17,.94);border-right:0;border-top:1px solid rgba(139,184,255,.15);overflow-x:auto}.sidebar-brand,.active-list-chip{display:none}.nav{display:flex;gap:6px;min-width:max-content}.nav a{min-width:76px;height:58px;margin:0;padding:8px 10px;border-radius:16px;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:11px;text-align:center}.nav a span{font-size:20px;width:auto}.nav a strong{font-size:11px}.nav a.active:before{left:12px;right:12px;top:auto;bottom:2px;width:auto;height:3px}.main{max-width:none;padding:18px 14px 94px}.home-hero-v2{min-height:310px;padding:26px 22px;border-radius:28px}.home-hero-v2:before{background-size:250px;background-position:right -30px center}.home-hero-v2 p{font-size:16px}.hero-actions .btn{width:100%;justify-content:center}.quick-menu-v2{grid-template-columns:1fr 1fr;gap:12px}.quick-tile{height:138px;border-radius:22px}.quick-tile strong{font-size:17px}.quick-tile small{font-size:12px}.page-head,.media-page-head{border-radius:24px;padding:20px}.catalog-toolbar{display:grid;grid-template-columns:1fr;gap:10px}.catalog-toolbar .btn{width:100%}.home-row-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.poster-img{height:220px}.channel-grid-small,.channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.channel-logo{height:92px}.rail-title-row{align-items:flex-end}.rail-title-row .muted-link{font-size:13px}} 
@media(max-width:420px){.quick-menu-v2{grid-template-columns:1fr}.home-row-grid,.poster-grid,.channel-grid-small,.channel-grid{grid-template-columns:1fr 1fr}.poster-img{height:185px}.poster-card,.channel-card{padding:10px}.poster-card strong,.channel-card strong{font-size:14px}.home-pills span{font-size:12px}.mobile-brand span{display:none}}

/* MAXXTV V2 Sprint 1.27 - estabilidade do catálogo local */
.catalog-status-ok{color:#61e6b2!important;font-weight:900}.catalog-status-warn{color:#ffd166!important;font-weight:900}.catalog-status-empty{color:#a9b9ce!important;font-weight:900}.catalog-device-pill.ok{background:rgba(56,211,159,.16);border-color:rgba(56,211,159,.26);color:#c8ffec}.catalog-device-pill.warn{background:rgba(255,209,102,.14);border-color:rgba(255,209,102,.26);color:#ffe7a6}.catalog-device-pill.empty{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12);color:#d5e2f5}.catalog-empty-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border-radius:22px;background:linear-gradient(135deg,rgba(59,130,255,.12),rgba(0,194,255,.06));border:1px solid rgba(139,184,255,.16)}.catalog-empty-panel strong{font-size:20px}.catalog-empty-panel p{margin:8px 0 0;color:#b9cae5;line-height:1.45}.catalog-empty-panel .actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;min-width:280px}.home-catalog-widget{background:linear-gradient(135deg,rgba(17,39,70,.74),rgba(5,13,25,.66));border:1px solid rgba(139,184,255,.14);border-radius:28px;padding:22px;box-shadow:0 18px 46px rgba(0,0,0,.24)}.home-catalog-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}.home-catalog-stat{border-radius:20px;padding:16px;background:rgba(2,8,18,.46);border:1px solid rgba(255,255,255,.08)}.home-catalog-stat strong{display:block;font-size:18px;margin-bottom:7px}.home-catalog-stat span{display:block;color:#b9cae5;font-size:14px}.home-catalog-stat.ok{border-color:rgba(56,211,159,.22);background:linear-gradient(135deg,rgba(56,211,159,.10),rgba(2,8,18,.46))}.home-catalog-stat.warn{border-color:rgba(255,209,102,.24);background:linear-gradient(135deg,rgba(255,209,102,.10),rgba(2,8,18,.46))}.home-catalog-stat.empty{border-color:rgba(139,184,255,.14);background:linear-gradient(135deg,rgba(59,130,255,.10),rgba(2,8,18,.46))}.home-catalog-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.home-catalog-actions .btn.primary{width:auto;margin-top:0}
@media(max-width:900px){.catalog-empty-panel{display:block}.catalog-empty-panel .actions{min-width:0;margin-top:14px}.catalog-empty-panel .btn{width:100%}.home-catalog-status-grid{grid-template-columns:1fr}.home-catalog-actions .btn{width:100%}}


/* MAXXTV V2 Sprint 1.28 - refinamento visual gradual Home/Filmes/Séries */
:root{--mx-card:#0b1a2e;--mx-card2:#10294b;--mx-line:rgba(142,188,255,.16);--mx-blue:#2c8dff;--mx-cyan:#00c2ff;--mx-soft:#b7c8df}
.main{background:radial-gradient(circle at 75% 0%,rgba(44,141,255,.10),transparent 34%),radial-gradient(circle at 0% 45%,rgba(0,194,255,.06),transparent 34%)}
.home-hero-v2{border-radius:34px;border-color:rgba(142,188,255,.20);background:linear-gradient(135deg,rgba(15,47,88,.94),rgba(8,18,34,.96));box-shadow:0 26px 70px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.08)}
.home-hero-v2 .kicker,.media-page-head .kicker{letter-spacing:.22em;color:#8fc8ff;font-weight:950;text-transform:uppercase;font-size:12px}.home-hero-v2 h1,.media-page-head h1{font-weight:950;text-shadow:0 10px 32px rgba(0,0,0,.25)}
.rail-title-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.rail-title-row h2{margin:0}.muted-link{color:#9fb6d3;text-decoration:none;font-weight:850}.muted-link:hover{color:#dcecff}
.quick-menu-v2{grid-template-columns:repeat(auto-fit,minmax(205px,1fr))}.quick-tile{isolation:isolate}.quick-tile:before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.08),transparent 48%);opacity:.75;z-index:-1}.quick-tile strong{font-size:21px}.quick-tile small{font-weight:700}
.media-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;min-height:170px;border-radius:32px;padding:28px;background:linear-gradient(135deg,rgba(15,47,88,.92),rgba(7,17,31,.96));border:1px solid rgba(142,188,255,.18);box-shadow:0 22px 58px rgba(0,0,0,.28);position:relative;overflow:hidden}.media-page-head:after{content:'';position:absolute;right:-110px;top:-120px;width:360px;height:360px;border-radius:999px;background:radial-gradient(circle,rgba(44,141,255,.28),transparent 68%);pointer-events:none}.media-page-head h1{font-size:clamp(42px,5vw,68px);letter-spacing:-.06em;margin:6px 0 8px}.media-page-head p{font-size:17px;color:#c6d8ef;max-width:720px;margin:0}.page-head-actions{position:relative;z-index:1;display:flex;gap:10px;flex-wrap:wrap}.movie-page-head{background:linear-gradient(135deg,rgba(62,35,112,.92),rgba(7,17,31,.96))}.series-page-head{background:linear-gradient(135deg,rgba(10,74,94,.88),rgba(7,17,31,.96))}
.catalog-local-shell{margin-top:22px}.catalog-toolbar{position:sticky;top:14px;z-index:5;display:grid;grid-template-columns:minmax(240px,1fr) auto auto auto;gap:10px;align-items:center;background:rgba(4,12,24,.74);backdrop-filter:blur(18px);border-color:rgba(142,188,255,.16)}.catalog-toolbar .input{height:54px;border-radius:18px;font-size:16px}.catalog-toolbar .btn{height:54px;border-radius:18px;padding-inline:18px;font-weight:950}.catalog-notice{margin:14px 0 18px;line-height:1.45}.content-layout{align-items:flex-start}.category-panel{position:sticky;top:92px;max-height:calc(100vh - 124px);overflow:auto;padding:12px}.category-link{border-radius:16px;padding:13px 14px;margin-bottom:7px;color:#dbe9fb}.category-link.active{background:linear-gradient(135deg,rgba(44,141,255,.52),rgba(0,194,255,.16));color:white}.content-panel{min-width:0}.search-status{margin:0 0 14px;padding:0 2px;color:#b9cbe5}.poster-grid.light-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:20px}.poster-grid.light-grid .poster-card{padding:12px;border-radius:24px;min-height:0;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.poster-grid.light-grid .poster-card:hover,.poster-grid.light-grid .poster-card:focus{transform:translateY(-5px);border-color:rgba(99,181,255,.48);box-shadow:0 24px 56px rgba(0,0,0,.36)}.poster-grid.light-grid .poster-img{height:262px;border-radius:18px;overflow:hidden;background:#07111f}.poster-grid.light-grid .poster-img img{width:100%;height:100%;object-fit:cover}.poster-grid.light-grid .poster-card strong{font-size:15.5px;margin-top:11px;min-height:40px}.poster-grid.light-grid .poster-card small{min-height:18px;color:#a9bdd8}.center-actions{padding:24px 0 40px}.center-actions .btn{min-width:210px;justify-content:center}.fav-btn{width:42px;height:42px;border-radius:999px;background:rgba(3,9,18,.72);border:1px solid rgba(255,255,255,.16);color:#fff;font-size:22px}.fav-btn:hover{background:rgba(44,141,255,.85);transform:scale(1.06)}
.home-row-grid .poster-card,.home-row-grid .channel-card{transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.home-row-grid .poster-card:hover,.home-row-grid .channel-card:hover,.home-row-grid .poster-card:focus,.home-row-grid .channel-card:focus{transform:translateY(-5px);border-color:rgba(99,181,255,.44);box-shadow:0 22px 52px rgba(0,0,0,.32)}
@media(max-width:1100px){.media-page-head{display:block}.page-head-actions{margin-top:18px}.catalog-toolbar{grid-template-columns:1fr 1fr}.catalog-toolbar .input{grid-column:1/-1}.content-layout{display:block}.category-panel{position:relative;top:auto;max-height:190px;margin-bottom:18px}.poster-grid.light-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.poster-grid.light-grid .poster-img{height:238px}}
@media(max-width:900px){.media-page-head{min-height:0;padding:22px;border-radius:26px}.media-page-head h1{font-size:42px}.catalog-toolbar{position:relative;top:auto;grid-template-columns:1fr}.catalog-toolbar .btn{width:100%;justify-content:center}.poster-grid.light-grid{gap:14px}.poster-grid.light-grid .poster-img{height:218px}}
@media(max-width:460px){.poster-grid.light-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.poster-grid.light-grid .poster-img{height:190px}.poster-grid.light-grid .poster-card{padding:9px;border-radius:18px}.poster-grid.light-grid .poster-card strong{font-size:13.5px}.media-page-head h1{font-size:36px}.media-page-head p{font-size:14px}}

/* MAXXTV V2 Sprint 1.30 - ações sem recarregar */
.mx-ajax-toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(20px);z-index:99999;min-width:220px;max-width:90vw;background:rgba(13,18,32,.96);color:#fff;border:1px solid rgba(255,255,255,.14);box-shadow:0 18px 50px rgba(0,0,0,.35);border-radius:16px;padding:12px 16px;text-align:center;font-weight:700;opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease}.mx-ajax-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.mx-ajax-toast.error{background:rgba(120,20,30,.96)}.mx-removing{opacity:.35;transform:scale(.98);transition:opacity .08s ease,transform .08s ease}

/* MAXXTV V2 Sprint 1.31 - mini player lateral e ações sem recarregar */
.mini-player-panel{position:fixed;right:18px;top:18px;bottom:18px;width:min(520px,38vw);z-index:9997;background:linear-gradient(180deg,rgba(6,14,27,.98),rgba(3,8,17,.98));border:1px solid rgba(139,184,255,.24);border-radius:28px;box-shadow:0 26px 90px rgba(0,0,0,.58);overflow:hidden;display:none;flex-direction:column;backdrop-filter:blur(18px)}
.mini-player-panel.show{display:flex}.mini-player-head{height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px 0 18px;border-bottom:1px solid rgba(255,255,255,.08);color:#eaf3ff}.mini-player-head strong{font-size:16px}.mini-player-head div{display:flex;gap:8px;align-items:center}.mini-player-close,.mini-player-full{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.08);color:#fff;border-radius:12px;height:38px;padding:0 12px;font-weight:900;cursor:pointer}.mini-player-close{width:40px;font-size:24px;line-height:1}.mini-player-close:hover,.mini-player-close:focus,.mini-player-full:hover,.mini-player-full:focus{background:rgba(59,130,255,.35);outline:2px solid rgba(139,184,255,.35)}#mxMiniPlayerFrame{border:0;width:100%;height:100%;background:#000;flex:1}.mini-player-hint{font-size:12px;color:#9fb5d1;padding:10px 14px;border-top:1px solid rgba(255,255,255,.07);background:rgba(0,0,0,.22)}body.mini-player-open .main{padding-right:min(560px,40vw)}
.mini-player-body{margin:0;background:#02050a;color:#fff;overflow:hidden}.mini-player-body .player-embed{padding:0;margin:0;min-height:100vh;background:#000}.player-embed .mini-player-title{position:absolute;left:10px;right:10px;top:10px;z-index:2;display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px 10px;border-radius:14px;background:linear-gradient(180deg,rgba(0,0,0,.72),rgba(0,0,0,.12));pointer-events:none}.player-embed .mini-player-title strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-embed .mini-player-title small{font-size:11px;color:#b7c8df;white-space:nowrap}.player-embed .video-shell{border-radius:0;min-height:calc(100vh - 62px);height:calc(100vh - 62px);box-shadow:none;border:0}.player-embed #maxxVideo{width:100%;height:100%;object-fit:contain;background:#000}.player-embed .player-actions{border-radius:0;margin:0;padding:10px;background:rgba(3,8,17,.98);display:flex;gap:8px;overflow-x:auto}.player-embed .player-actions .btn{white-space:nowrap}.player-embed .mixed-notice{margin:0;border-radius:0}.player-embed .player-error{border-radius:0}
.mx-removing{opacity:.45;transform:scale(.98);transition:.12s ease}.mx-ajax-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(20px);background:rgba(7,17,31,.96);border:1px solid rgba(139,184,255,.22);color:#fff;border-radius:999px;padding:12px 18px;z-index:10000;box-shadow:0 18px 44px rgba(0,0,0,.35);opacity:0;pointer-events:none;transition:.18s ease;font-weight:850}.mx-ajax-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.mx-ajax-toast.error{border-color:rgba(255,90,90,.35);background:rgba(96,16,22,.96)}
@media(max-width:980px){.mini-player-panel{left:10px;right:10px;top:auto;bottom:10px;width:auto;height:42vh;border-radius:22px}body.mini-player-open .main{padding-right:18px;padding-bottom:44vh}.mini-player-head{height:50px}.mini-player-hint{display:none}.player-embed .video-shell{height:calc(100vh - 54px);min-height:calc(100vh - 54px)}}

/* MAXXTV V2 Sprint 1.34 - melhorias do player e mini player */
.player-loading{position:absolute;inset:0;z-index:4;display:grid;place-content:center;justify-items:center;gap:10px;background:radial-gradient(circle at center,rgba(18,39,72,.58),rgba(0,0,0,.76));text-align:center;color:#fff;pointer-events:none}.player-loading strong{font-size:20px}.player-loading small{color:#b9cbe5}.mx-spinner{width:42px;height:42px;border-radius:50%;border:4px solid rgba(255,255,255,.20);border-top-color:#59a7ff;animation:mxspin .85s linear infinite}@keyframes mxspin{to{transform:rotate(360deg)}}.video-shell{position:relative}.player-error{z-index:5}.player-actions{align-items:center}.player-actions .player-fav-inline,.player-actions .player-history-remove,.player-actions .player-channel-history-remove{display:inline-flex}.player-actions form{margin:0}.player-actions .fav-btn{position:relative;inset:auto}
.mini-player-panel.is-loading .mini-player-loader{opacity:1;pointer-events:auto}.mini-player-loader{position:absolute;left:0;right:0;top:58px;bottom:44px;z-index:2;display:grid;place-content:center;justify-items:center;gap:10px;background:rgba(0,0,0,.42);opacity:0;pointer-events:none;transition:opacity .16s ease}.mini-player-status{position:absolute;left:18px;top:38px;color:#9fb5d1;font-size:11px;font-weight:800;max-width:56%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-player-status.error{color:#ff93a5}.mini-player-head{position:relative}.mini-player-head strong{max-width:52%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-player-full{background:linear-gradient(135deg,rgba(44,141,255,.48),rgba(0,194,255,.16))}.player-embed .player-actions{min-height:62px}.player-embed .player-actions .btn,.player-embed .player-actions button{height:40px;border-radius:14px}.player-embed .fav-btn{width:40px;height:40px}
@media(max-width:980px){.mini-player-status{display:none}.mini-player-loader{top:50px;bottom:0}.mini-player-head strong{max-width:48%}}

/* MAXXTV V2 Sprint 1.41 - EPG inicial */
.player-epg-card{margin-top:14px;background:linear-gradient(135deg,rgba(18,36,61,.82),rgba(7,17,31,.92));border:1px solid rgba(139,184,255,.18);border-radius:22px;padding:16px;box-shadow:0 14px 34px rgba(0,0,0,.18)}
.player-epg-card.compact{margin:0;border-radius:0;border-left:0;border-right:0;padding:10px 12px;box-shadow:none;background:rgba(5,12,23,.98)}
.player-epg-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.player-epg-head small{color:#9fb5d1}.player-epg-now-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:12px}.player-epg-now,.player-epg-next{background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:12px}.player-epg-now span,.player-epg-next span,.epg-row span{display:inline-block;color:#8bb8ff;font-size:12px;text-transform:uppercase;font-weight:900;letter-spacing:.08em;margin-bottom:5px}.player-epg-now strong,.player-epg-next strong{display:block;font-size:16px}.player-epg-now small,.player-epg-next small{display:block;color:#b6c7df;margin-top:5px}.player-epg-now p{color:#c8d8ed;line-height:1.4;margin:9px 0 0}.player-embed .player-epg-card{max-height:115px;overflow:auto}.player-embed .player-epg-now-grid{grid-template-columns:1fr 1fr}.player-embed .player-epg-now p{display:none}.player-embed .player-epg-now strong,.player-embed .player-epg-next strong{font-size:13px}.epg-page-head{background:linear-gradient(135deg,rgba(33,88,130,.88),rgba(7,17,31,.96))}.epg-info-card{margin-bottom:18px}.epg-channel-list{display:grid;gap:14px}.epg-channel-card{display:grid;grid-template-columns:96px 1fr;gap:16px;background:linear-gradient(180deg,rgba(21,43,73,.78),rgba(8,19,35,.92));border:1px solid rgba(255,255,255,.1);border-radius:22px;padding:14px;text-decoration:none}.epg-channel-card:focus-within,.epg-channel-card:hover{border-color:rgba(99,181,255,.48);box-shadow:0 0 0 4px rgba(47,128,255,.16)}.epg-channel-logo{width:96px;height:96px;display:grid;place-items:center;border-radius:18px;background:#07111f;text-decoration:none;font-size:34px;overflow:hidden}.epg-channel-logo img{max-width:86%;max-height:78%;object-fit:contain}.epg-channel-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.epg-channel-title-row h2{font-size:21px;margin:0}.epg-row{display:grid;grid-template-columns:78px 1fr auto;gap:10px;align-items:center;border-top:1px solid rgba(255,255,255,.08);padding:10px 0}.epg-row:first-of-type{border-top:0}.epg-row strong{font-size:15px}.epg-row small{color:#b6c7df}.left{text-align:left!important}
@media(max-width:760px){.player-epg-now-grid{grid-template-columns:1fr}.epg-channel-card{grid-template-columns:64px 1fr}.epg-channel-logo{width:64px;height:64px;border-radius:14px}.epg-channel-title-row{display:block}.epg-channel-title-row .btn{margin-top:8px}.epg-row{grid-template-columns:1fr}.player-embed .player-epg-card{display:none}}

/* MAXXTV V2 Sprint 1.44 - EPG visível no mini player */
.mini-player-head{min-height:58px;height:auto;padding-top:8px;padding-bottom:8px}
.mini-player-head-text{min-width:0;display:flex;flex-direction:column;gap:2px;line-height:1.15;flex:1}
.mini-player-head-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}
.mini-player-status-line{font-size:11px;color:#9fb5d1;font-weight:800;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mini-player-status-line.error{color:#ff93a5}
.mini-player-epg-line{font-size:11px;color:#eaf3ff;font-weight:800;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.95}
.mini-player-epg-line.muted{color:#9fb5d1;font-weight:700;opacity:.75}
.player-embed .mini-player-title{align-items:flex-start;gap:10px}
.player-embed .mini-player-title-main{min-width:0;display:flex;flex-direction:column;gap:2px;max-width:62%}
.player-embed .mini-player-title-main strong{max-width:100%}
.player-embed .mini-player-epg-inline{font-size:11px;color:#eaf3ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.player-embed .mini-player-epg-inline.muted{color:#9fb5d1;opacity:.75}
@media(max-width:980px){.mini-player-epg-line{display:none}.player-embed .mini-player-title-main{max-width:56%}}

/* MAXXTV V2 Sprint 1.45 - Guia EPG visual estilo TV */
.epg-tv-head{margin-bottom:18px}.epg-tv-shell{display:grid;grid-template-columns:360px 1fr;gap:18px;min-height:calc(100vh - 180px)}.epg-tv-left{background:rgba(2,9,18,.72);border:1px solid rgba(139,184,255,.16);border-radius:26px;overflow:hidden;display:flex;flex-direction:column;min-height:640px}.epg-tv-left-head{height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;background:linear-gradient(135deg,rgba(18,54,93,.92),rgba(6,17,31,.94));border-bottom:1px solid rgba(255,255,255,.08)}.epg-tv-left-head strong{font-size:20px}.epg-tv-left-head small{color:#9fb5d1;font-weight:800}.epg-tv-search-row{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;border-bottom:1px solid rgba(255,255,255,.08)}.epg-tv-search-row .input{font-size:15px;min-height:46px;padding:12px 14px}.epg-tv-search-row .btn{padding:11px 14px;font-size:14px;border-radius:14px}.epg-tv-categories{display:flex;gap:8px;overflow-x:auto;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.08)}.epg-cat-btn{white-space:nowrap;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.06);color:#dfeaff;border-radius:999px;padding:9px 13px;font-weight:900;cursor:pointer}.epg-cat-btn.active,.epg-cat-btn:focus,.epg-cat-btn:hover{background:linear-gradient(135deg,#f8d512,#ff9f1a);color:#06101e;outline:none}.epg-tv-channel-list{overflow:auto;min-height:0;flex:1;padding:8px}.epg-tv-channel{display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:center;text-decoration:none;border:1px solid transparent;border-bottom-color:rgba(255,255,255,.08);border-radius:16px;padding:10px;color:#edf5ff}.epg-tv-channel:hover,.epg-tv-channel:focus,.epg-tv-channel.active{background:linear-gradient(135deg,rgba(250,210,20,.96),rgba(255,170,35,.92));color:#06101e;outline:none}.epg-tv-channel-logo{height:54px;border-radius:14px;background:#06101e;display:grid;place-items:center;overflow:hidden;font-size:26px}.epg-tv-channel-logo img{max-width:90%;max-height:82%;object-fit:contain}.epg-tv-channel-text{min-width:0}.epg-tv-channel-text strong{display:block;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.epg-tv-channel-text small{display:block;color:inherit;opacity:.72;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.epg-empty-list{padding:18px;color:#9fb5d1}.epg-tv-main{min-width:0}.epg-tv-hero{display:grid;grid-template-columns:minmax(320px,1.55fr) minmax(270px,.9fr);min-height:340px;background:rgba(2,8,17,.88);border:1px solid rgba(139,184,255,.18);border-radius:28px;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.28)}.epg-tv-preview{position:relative;display:grid;place-items:center;min-height:340px;background:radial-gradient(circle at center,rgba(23,58,107,.9),rgba(0,0,0,.92));overflow:hidden}.epg-tv-logo-preview{width:100%;height:100%;display:grid;place-items:center;font-size:90px;color:#dbeaff}.epg-tv-logo-preview img{max-width:62%;max-height:62%;object-fit:contain;filter:drop-shadow(0 12px 34px rgba(0,0,0,.48))}.epg-tv-live-pill{position:absolute;left:18px;top:18px;background:#0ea5e9;color:#fff;font-weight:950;letter-spacing:.06em;border-radius:4px;padding:8px 12px}.epg-tv-nowbox{position:relative;padding:42px 32px 28px;background:linear-gradient(180deg,rgba(5,14,27,.98),rgba(2,7,14,.98));border-left:1px solid rgba(255,255,255,.08)}.epg-green-dot{position:absolute;right:24px;top:24px;width:12px;height:12px;border-radius:50%;background:#00d26a;box-shadow:0 0 22px rgba(0,210,106,.6)}.epg-tv-nowbox small{display:inline-block;background:#119de0;color:#fff;font-weight:950;padding:7px 10px;border-radius:4px;letter-spacing:.06em}.epg-tv-nowbox h2{font-size:30px;margin:16px 0 14px;color:#5ee7ff;text-transform:uppercase;letter-spacing:.04em}.epg-current-title{font-size:24px;line-height:1.18;font-weight:950;margin-bottom:8px}.epg-current-time{font-size:20px;color:#f8d512;margin-bottom:14px}.epg-tv-nowbox p{font-size:16px;line-height:1.45;color:#c5d5ed}.epg-tv-nowbox .actions{margin-top:18px}.epg-tv-schedule{margin-top:0;background:rgba(2,8,17,.62);border:1px solid rgba(139,184,255,.16);border-top:0;border-radius:0 0 28px 28px;overflow:hidden}.epg-program-row{display:grid;grid-template-columns:190px 1fr;gap:18px;padding:15px 20px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(4,13,25,.75)}.epg-program-row.now{background:linear-gradient(90deg,rgba(47,128,255,.22),rgba(4,13,25,.78))}.epg-program-time{font-size:18px;color:#f8d512;font-weight:950;white-space:nowrap}.epg-program-main strong{font-size:20px}.epg-program-main p{margin:6px 0 0;color:#b8c8df;line-height:1.35}.epg-next-note{padding:14px 20px;color:#dce9fb;background:rgba(18,36,61,.44)}.epg-skeleton{padding:24px;color:#9fb5d1}
@media(max-width:1100px){.epg-tv-shell{grid-template-columns:1fr}.epg-tv-left{min-height:420px}.epg-tv-hero{grid-template-columns:1fr}.epg-tv-nowbox{border-left:0;border-top:1px solid rgba(255,255,255,.08)}.epg-tv-preview{min-height:240px}.epg-program-row{grid-template-columns:1fr}.epg-program-time{font-size:16px}}
@media(max-width:700px){.epg-tv-left{min-height:360px}.epg-tv-search-row{grid-template-columns:1fr}.epg-tv-nowbox{padding:32px 20px}.epg-tv-nowbox h2{font-size:24px}.epg-current-title{font-size:20px}.epg-tv-shell{gap:12px}.epg-tv-hero{border-radius:22px}.epg-tv-schedule{border-radius:0 0 22px 22px}}

/* MAXXTV V2 Sprint 1.46 - Mini player inline na TV Ao Vivo com EPG abaixo */
.inline-mini-host{display:none;margin:0 0 18px 0}.inline-mini-host.has-player{display:block}.inline-mini-host .mini-player-panel{position:relative;left:auto;right:auto;top:auto;bottom:auto;width:100%;max-width:none;height:auto;min-height:0;z-index:20;display:none;flex-direction:column;border-radius:26px;background:linear-gradient(180deg,rgba(6,14,27,.98),rgba(3,8,17,.98));box-shadow:0 20px 60px rgba(0,0,0,.34);overflow:hidden}.inline-mini-host .mini-player-panel.show{display:flex}.inline-mini-host #mxMiniPlayerFrame{height:clamp(300px,42vw,560px);min-height:300px;max-height:560px;flex:0 0 auto;background:#000}.inline-mini-host .mini-player-head{height:auto;min-height:64px;align-items:flex-start;padding:14px 16px}.inline-mini-host .mini-player-head-text{min-width:0;display:flex;flex-direction:column;gap:4px}.inline-mini-host .mini-player-head strong{font-size:20px;line-height:1.15}.inline-mini-host .mini-player-epg-line{white-space:normal;max-width:100%;line-height:1.35}.mini-player-epg-box{border-top:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(8,22,40,.96),rgba(3,9,18,.96));padding:10px 14px;display:grid;gap:8px}.mini-player-epg-box[hidden]{display:none}.mini-epg-row{display:grid;grid-template-columns:86px 1fr auto;gap:12px;align-items:center;color:#dce9fb}.mini-epg-row span{color:#79dfff;font-weight:950;text-transform:uppercase;font-size:12px;letter-spacing:.08em}.mini-epg-row strong{font-size:15px;line-height:1.25}.mini-epg-row small{color:#f8d512;font-weight:900;white-space:nowrap}.mini-epg-row.now{background:rgba(47,128,255,.11);border:1px solid rgba(47,128,255,.18);border-radius:14px;padding:9px 10px}.mini-player-inline .mini-player-hint{display:block;background:rgba(0,0,0,.18)}body.mini-player-inline-open .main{padding-right:28px}
@media(max-width:980px){.inline-mini-host #mxMiniPlayerFrame{height:clamp(220px,58vw,420px);min-height:220px}.mini-epg-row{grid-template-columns:1fr}.mini-epg-row small{white-space:normal}body.mini-player-inline-open .main{padding-right:18px}}


/* MAXXTV V2 Sprint 1.47 - TV Ao Vivo em 3 colunas: categorias | canais | player + EPG */
.live-tv-layout{
  display:grid;
  grid-template-columns:minmax(220px,280px) minmax(280px,380px) minmax(520px,1fr);
  gap:18px;
  align-items:start;
}
.live-tv-layout .category-panel,
.live-channel-column,
.live-watch-column{
  min-width:0;
}
.live-category-column{
  max-height:calc(100vh - 190px)!important;
  position:sticky!important;
  top:92px!important;
}
.live-channel-column{
  background:rgba(2,8,18,.38);
  border:1px solid rgba(139,184,255,.12);
  border-radius:24px;
  padding:12px;
  max-height:calc(100vh - 190px);
  overflow:auto;
  position:sticky;
  top:92px;
  box-shadow:0 18px 44px rgba(0,0,0,.20);
}
.live-channel-list{
  display:grid;
  grid-template-columns:1fr;
  gap:9px;
  min-height:140px;
}
.live-channel-wrap{
  position:relative;
  min-width:0;
}
.live-channel-list .live-channel-row,
.live-channel-list .channel-card{
  display:grid;
  grid-template-columns:62px 1fr;
  gap:12px;
  align-items:center;
  padding:9px 54px 9px 9px;
  min-height:78px;
  border-radius:18px;
  transform:none!important;
}
.live-channel-list .channel-card:hover,
.live-channel-list .channel-card:focus{
  transform:none!important;
  box-shadow:0 0 0 3px rgba(47,128,255,.24),0 14px 32px rgba(0,0,0,.28);
}
.live-channel-list .channel-logo{
  width:62px;
  height:56px;
  border-radius:14px;
  margin:0;
  font-size:26px;
}
.live-channel-list .channel-logo img{
  max-width:86%;
  max-height:76%;
}
.live-channel-meta,
.live-channel-list .channel-card > span{
  min-width:0;
  display:block;
}
.live-channel-list .channel-card strong{
  display:block;
  font-size:15px;
  line-height:1.22;
  min-height:0;
  -webkit-line-clamp:2;
}
.live-channel-list .channel-card small{
  display:block;
  margin-top:4px;
  color:#9fb5d1;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.live-channel-list .fav-form{
  right:8px;
  top:50%;
  transform:translateY(-50%);
}
.live-channel-list .fav-btn{
  width:38px;
  height:38px;
  font-size:20px;
}
.live-watch-column{
  position:sticky;
  top:92px;
  align-self:start;
  max-height:calc(100vh - 190px);
  overflow:auto;
}
.live-watch-column .inline-mini-host{
  margin:0;
}
.live-watch-column .inline-mini-host.has-player{
  display:block;
}
.live-watch-column .inline-mini-host.has-player + .live-player-placeholder{
  display:none;
}
.live-watch-column .mini-player-panel{
  border-radius:24px!important;
  overflow:hidden;
  border:1px solid rgba(139,184,255,.15);
}
.live-watch-column .mini-player-head{
  min-height:58px!important;
  padding:11px 14px!important;
}
.live-watch-column .mini-player-head strong{
  font-size:18px!important;
}
.live-watch-column #mxMiniPlayerFrame{
  height:clamp(300px,34vw,560px)!important;
  min-height:300px!important;
  max-height:560px!important;
  aspect-ratio:16/9;
}
.live-watch-column .mini-player-epg-box{
  max-height:220px;
  overflow:auto;
}
.live-player-placeholder{
  min-height:360px;
  border:1px dashed rgba(139,184,255,.22);
  background:linear-gradient(180deg,rgba(18,39,70,.52),rgba(5,12,23,.72));
  border-radius:24px;
  display:grid;
  place-items:center;
  text-align:center;
  padding:28px;
  color:#bcd0ea;
  box-shadow:0 18px 44px rgba(0,0,0,.18);
}
.live-player-placeholder .placeholder-icon{
  width:82px;
  height:82px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#2f80ff,#00c2ff);
  color:#fff;
  font-size:34px;
  margin-bottom:14px;
  box-shadow:0 18px 42px rgba(47,128,255,.24);
}
.live-player-placeholder strong{
  display:block;
  color:white;
  font-size:22px;
  margin-bottom:8px;
}
.live-player-placeholder span{
  max-width:360px;
  line-height:1.45;
}
@media(max-width:1280px){
  .live-tv-layout{grid-template-columns:240px 320px minmax(420px,1fr);gap:14px}
  .live-channel-column,.live-category-column,.live-watch-column{top:84px}
}
@media(max-width:980px){
  .live-tv-layout{display:block}
  .live-category-column,.live-channel-column,.live-watch-column{position:relative!important;top:auto!important;max-height:none!important;overflow:visible;margin-bottom:16px}
  .live-watch-column #mxMiniPlayerFrame{height:clamp(220px,56vw,420px)!important;min-height:220px!important}
}

/* MAXXTV V2 Sprint 1.48 - ultimo canal automatico */
.page-head-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.last-live-hint{margin-top:8px;color:var(--muted)}.last-live-active{border-color:rgba(56,211,159,.95)!important;box-shadow:0 0 0 3px rgba(56,211,159,.22),0 16px 34px rgba(0,0,0,.22)!important}.last-live-wrap::before{content:'Último';position:absolute;top:8px;left:8px;z-index:8;background:rgba(56,211,159,.95);color:#03101b;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900;letter-spacing:.03em}.live-channel-wrap{position:relative}@media(max-width:900px){.page-head-actions{width:100%}.page-head-actions .btn{flex:1;min-width:160px}}


/* MAXXTV V2 Sprint 1.49 - preferencias de abertura */
.startup-card{background:linear-gradient(135deg,rgba(17,30,58,.96),rgba(8,13,28,.96));border:1px solid rgba(255,255,255,.08)}
.startup-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-top:12px}
.startup-controls .form-label{display:flex;flex-direction:column;gap:8px;min-width:240px;font-weight:800;color:#d9e7ff}
.startup-controls .input{min-width:260px}
.small-note{font-size:13px;color:rgba(226,235,255,.68);margin:12px 0 0}


/* MAXXTV V2 Sprint 1.50 - Configurações centralizadas */
.settings-head{margin-bottom:18px}
.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px}
.settings-card{background:linear-gradient(180deg,rgba(19,33,59,.96),rgba(9,16,31,.96));border:1px solid rgba(255,255,255,.08);box-shadow:0 18px 50px rgba(0,0,0,.22)}
.settings-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.settings-card-head h2{margin:0 0 4px;font-size:20px}.settings-card-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.settings-chip{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);border-radius:999px;padding:6px 10px;font-size:12px;color:var(--muted);white-space:nowrap}
.settings-control-row{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-top:10px}.settings-control-row .input{min-width:230px;flex:1}
.settings-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0 16px}.settings-toggle-row strong{display:block;margin-bottom:5px}.settings-toggle-row small{display:block;color:var(--muted);line-height:1.35}
.settings-info-list{display:grid;gap:10px}.settings-info-list div{padding:12px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07)}.settings-info-list strong{display:block;margin-bottom:4px}.settings-info-list span{display:block;color:var(--muted);font-size:13px;line-height:1.35}
.settings-catalog-card{scroll-margin-top:22px;margin-top:8px}.compact-settings-card{padding:16px}.compact-settings-card .rail-title-row{align-items:center}
@media(max-width:1100px){.settings-grid{grid-template-columns:1fr}.settings-toggle-row{align-items:flex-start;flex-direction:column}.settings-control-row .input{min-width:100%}}

/* MAXXTV V2 Sprint 1.54 - ordem de categorias e séries por temporada */
.season-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 16px}.season-tab{border:1px solid rgba(148,197,255,.25);background:rgba(9,28,52,.88);color:#dfeeff;border-radius:14px;padding:12px 16px;font-weight:800;cursor:pointer;box-shadow:0 12px 28px rgba(0,0,0,.16)}.season-tab:hover,.season-tab:focus{outline:none;border-color:#33a7ff;background:rgba(28,84,145,.9)}.season-tab.active{background:linear-gradient(135deg,#1d8cff,#184e95);color:#fff;border-color:#5dbbff;box-shadow:0 0 0 2px rgba(72,173,255,.18),0 15px 35px rgba(0,0,0,.28)}.episode-season-panel{display:none}.episode-season-panel.active{display:block}.season-episode-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:14px}.episode-progress-card{position:relative;overflow:hidden;min-height:112px;border:1px solid rgba(148,197,255,.18);background:linear-gradient(145deg,rgba(12,31,55,.92),rgba(5,15,28,.94));border-radius:18px;padding:16px 16px 22px;text-decoration:none;color:#fff;box-shadow:0 14px 36px rgba(0,0,0,.18)}.episode-progress-card:hover,.episode-progress-card:focus{outline:none;border-color:#36aaff;box-shadow:0 0 0 2px rgba(54,170,255,.22),0 14px 36px rgba(0,0,0,.28);transform:translateY(-1px)}.episode-mainline{display:flex;gap:10px;align-items:flex-start;justify-content:space-between}.episode-mainline strong{font-size:16px;line-height:1.25}.episode-state{flex:0 0 auto;border-radius:999px;padding:5px 8px;font-size:12px;font-weight:900;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#d9ecff}.episode-state.state-watched{background:rgba(44,210,129,.16);border-color:rgba(44,210,129,.38);color:#8ff5bd}.episode-state.state-continue{background:rgba(54,170,255,.18);border-color:rgba(54,170,255,.44);color:#9ed7ff}.episode-progress-card small{display:block;margin-top:8px;color:#b7c7da;line-height:1.35}.episode-progress-track{position:absolute;left:14px;right:14px;bottom:10px;height:5px;background:rgba(255,255,255,.12);border-radius:999px;overflow:hidden}.episode-progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#26a7ff,#44e0ff);border-radius:999px}.episode-progress-card.is-watched .episode-progress-track span{background:linear-gradient(90deg,#20c773,#87f6b4)}.episode-progress-card.is-watched{border-color:rgba(44,210,129,.25)}.episode-progress-card.is-continue{border-color:rgba(54,170,255,.35)}@media(max-width:760px){.season-episode-list{grid-template-columns:1fr}.season-tab{padding:11px 13px}.episode-mainline{display:block}.episode-state{display:inline-flex;margin-top:8px}}


/* MAXXTV V2 Sprint 1.55 - Controle parental */
.mx-pin-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.72);z-index:99999;padding:22px}.mx-pin-modal.show{display:flex}.mx-pin-card{width:min(440px,96vw);background:linear-gradient(180deg,#102747,#071221);border:1px solid rgba(80,160,255,.35);border-radius:24px;box-shadow:0 22px 70px rgba(0,0,0,.55);padding:28px;text-align:center}.mx-pin-icon{font-size:44px;margin-bottom:8px}.mx-pin-card h2{margin:0 0 8px}.mx-pin-card p{color:#c6d5ec;margin:0 0 18px}.mx-pin-input{text-align:center;font-size:26px;letter-spacing:8px;font-weight:900}.mx-pin-error{min-height:22px;margin:10px 0;color:#ff9fa8;font-weight:800}.adult-lock-badge{display:inline-flex;align-items:center;gap:4px;margin-left:6px;padding:2px 7px;border-radius:999px;background:rgba(255,204,0,.14);color:#ffd766;font-size:11px;font-weight:900}.category-link[data-adult="1"]::after,.poster-card[data-adult="1"]::after,.channel-card[data-adult="1"]::after,.episode-card[data-adult="1"]::after{content:'🔒';margin-left:6px;opacity:.85}.adult-locked .poster-img,.adult-locked .channel-logo{filter:saturate(.65) brightness(.82)}


/* MAXXTV V2 Sprint 1.56 - Popup de PIN mais claro */
.mx-pin-modal{backdrop-filter:blur(10px);background:rgba(1,7,18,.82)!important;z-index:100000!important}
.mx-pin-card-v2{position:relative;width:min(520px,94vw)!important;padding:34px 30px 28px!important;border-radius:28px!important;background:radial-gradient(circle at 20% 0%,rgba(30,145,255,.22),transparent 38%),linear-gradient(180deg,#112b52,#07111f)!important;border:1px solid rgba(102,180,255,.45)!important;box-shadow:0 30px 90px rgba(0,0,0,.72),0 0 0 1px rgba(255,255,255,.04) inset!important}
.mx-pin-close{position:absolute;right:16px;top:14px;width:40px;height:40px;border-radius:14px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.mx-pin-close:focus,.mx-pin-close:hover{outline:none;border-color:#4db6ff;background:rgba(45,145,255,.22)}
.mx-pin-card-v2 .mx-pin-icon{width:74px;height:74px;margin:0 auto 14px;display:grid;place-items:center;border-radius:24px;background:rgba(45,145,255,.16);font-size:36px;box-shadow:0 0 0 1px rgba(255,255,255,.07) inset}
.mx-pin-card-v2 h2{font-size:28px;margin-bottom:8px!important}.mx-pin-card-v2 p{font-size:16px;line-height:1.45;color:#d5e6ff!important;max-width:390px;margin-left:auto!important;margin-right:auto!important}.mx-pin-card-v2 small{display:block;margin-top:14px;color:#89a5c8}.mx-pin-input{height:66px!important;border-radius:20px!important;background:#020916!important;border:1px solid rgba(95,177,255,.32)!important;color:#fff!important;font-size:34px!important;letter-spacing:12px!important;max-width:260px;margin:0 auto;text-align:center!important}.mx-pin-input:focus{border-color:#42b7ff!important;box-shadow:0 0 0 4px rgba(45,145,255,.16)!important}.mx-pin-error{font-size:14px;min-height:24px!important}.mx-pin-card-v2 .actions{margin-top:4px}.mx-pin-card-v2 .btn{min-width:150px}

/* MAXXTV V2 Sprint 1.53 - cadastro publico e listas do cliente */
.alert.ok{background:rgba(56,211,159,.14);border-color:rgba(56,211,159,.35);color:#c8ffe9}.auth-muted{line-height:1.45;margin-top:-10px;margin-bottom:12px}.register-card{width:min(560px,100%)}.muted-inline{display:inline;color:var(--muted);font-weight:500}.terms-check{display:flex!important;gap:12px;align-items:flex-start;margin-top:18px!important;color:#dce8fb!important;font-size:14px!important;line-height:1.42}.terms-check input{width:auto!important;margin-top:3px;accent-color:#2f80ff}.responsibility-card{background:linear-gradient(135deg,rgba(36,91,156,.34),rgba(18,36,61,.88))}.list-form-card{max-width:940px}.mx-m3u-fields,.mx-xtream-fields{margin-top:10px}.admin-switch{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:12px 14px;font-weight:800}.admin-switch input{width:20px;height:20px;accent-color:#2f80ff}.badge.warn{background:rgba(255,204,0,.18);color:#ffe38a}@media(max-width:720px){.responsive-table{display:block;overflow:auto}.register-card{padding:24px}.terms-check{font-size:13px!important}}

/* MAXXTV V2 Sprint 1.54 - home simplificada e favorito por pressionar */
.home-hero-compact{padding-top:34px!important;padding-bottom:34px!important}
.compact-home-actions{margin-top:18px}
.home-main-menu-compact{margin-top:14px}
.compact-quick-menu .tile{min-height:118px;padding:18px}
.compact-quick-menu .tile small{display:none}
.continue-grid-compact{margin-top:10px}
.poster-card.fav-hold-pending,.channel-card.fav-hold-pending{outline:3px solid rgba(255,214,89,.55);box-shadow:0 0 0 6px rgba(255,214,89,.18),0 18px 42px rgba(0,0,0,.28)!important}
.fav-btn.active{color:#ffd75c!important;border-color:rgba(255,215,92,.55)!important;background:rgba(255,215,92,.16)!important}
@media(max-width:760px){.home-hero-compact{padding-top:24px!important;padding-bottom:24px!important}.compact-quick-menu .tile{min-height:96px}.compact-home-actions .btn{flex:1}}


/* MAXXTV V2 Sprint 1.54.1 - estrela vira indicador, favorito por segurar o card */
.media-card-wrap .fav-form{pointer-events:none}
.media-card-wrap .fav-btn{pointer-events:none;cursor:default}
.fav-btn[tabindex="-1"]{outline:none!important}
.fav-btn.is-busy{opacity:.65;transform:scale(.96)}
.poster-card.fav-hold-pending,.channel-card.fav-hold-pending,.live-channel-row.fav-hold-pending{outline:3px solid rgba(255,214,89,.62);box-shadow:0 0 0 7px rgba(255,214,89,.20),0 18px 42px rgba(0,0,0,.32)!important}
.poster-card.fav-hold-pending::after,.channel-card.fav-hold-pending::after,.live-channel-row.fav-hold-pending::after{content:'Segure 3s para favoritar/remover';position:absolute;left:12px;right:12px;bottom:12px;z-index:5;text-align:center;border-radius:999px;padding:8px 10px;background:rgba(3,9,18,.82);border:1px solid rgba(255,214,89,.42);color:#ffe392;font-size:12px;font-weight:900;letter-spacing:.01em;pointer-events:none}
.fav-btn.active{color:#ffd75c!important;border-color:rgba(255,215,92,.60)!important;background:rgba(255,215,92,.18)!important}


/* MAXXTV V2 Sprint 1.54.2 - estrela apenas indicador, nunca foco/navegação */
.media-card-wrap .fav-indicator-form,.media-card-wrap .fav-indicator-form *{pointer-events:none!important}
.media-card-wrap .fav-btn[tabindex="-1"]{outline:none!important;box-shadow:0 10px 24px rgba(0,0,0,.32)}
.media-card-wrap .fav-btn:focus{transform:none!important;background:rgba(3,9,18,.72)!important}
.media-card-wrap .fav-btn.active:focus{color:#ffd75c!important;border-color:rgba(255,215,92,.60)!important;background:rgba(255,215,92,.18)!important}


/* MAXXTV V2 Sprint 1.54.4 - preparação bloqueante da lista */
body.mx-prepare-active{overflow:hidden!important}
.mx-prepare-overlay{position:fixed;inset:0;z-index:250000;display:none;align-items:center;justify-content:center;padding:28px;background:radial-gradient(circle at 50% 0%,rgba(47,128,255,.26),transparent 34%),linear-gradient(180deg,rgba(2,7,15,.94),rgba(1,4,10,.98));backdrop-filter:blur(12px)}
.mx-prepare-overlay.show{display:flex}
.mx-prepare-card{width:min(980px,96vw);border-radius:30px;padding:34px;background:linear-gradient(180deg,rgba(13,31,56,.98),rgba(4,12,25,.98));border:1px solid rgba(100,180,255,.28);box-shadow:0 30px 100px rgba(0,0,0,.72),0 0 0 1px rgba(255,255,255,.04) inset;text-align:center;color:#fff}
.mx-prepare-topline{display:inline-flex;align-items:center;justify-content:center;margin-bottom:12px;border:1px solid rgba(82,180,255,.28);background:rgba(17,105,190,.22);border-radius:999px;padding:7px 13px;color:#bde7ff;font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.mx-prepare-card h2{margin:0 0 10px;font-size:clamp(28px,4vw,42px);letter-spacing:-.03em}
.mx-prepare-card p{margin:0 auto 22px;max-width:680px;color:#c4d7ee;font-size:16px;line-height:1.45}
.mx-prepare-overall{height:12px;background:rgba(255,255,255,.08);border-radius:999px;overflow:hidden;margin:0 auto 20px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.mx-prepare-overall span{display:block;height:100%;width:0;background:linear-gradient(90deg,#18a7ff,#4ee6ff);border-radius:999px;transition:width .25s ease}
.mx-prepare-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 22px}
.mx-prepare-step{min-height:138px;border-radius:22px;padding:22px 18px;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.08);box-shadow:0 16px 42px rgba(0,0,0,.24);display:flex;flex-direction:column;justify-content:center;gap:8px}
.mx-prepare-step strong{font-size:24px;letter-spacing:-.02em}.mx-prepare-step span{color:#d9e8fa;font-weight:800}.mx-prepare-step.waiting{opacity:.76}.mx-prepare-step.running{border-color:rgba(46,190,255,.65);box-shadow:0 0 0 3px rgba(46,190,255,.16),0 18px 48px rgba(0,0,0,.32)}.mx-prepare-step.done{border-color:rgba(80,235,164,.52);background:linear-gradient(180deg,rgba(60,210,145,.16),rgba(255,255,255,.035))}.mx-prepare-step.error{border-color:rgba(255,92,112,.65);background:linear-gradient(180deg,rgba(255,92,112,.16),rgba(255,255,255,.035))}
.mx-prepare-step-bar{height:7px;background:rgba(255,255,255,.09);border-radius:999px;overflow:hidden;margin-top:6px}.mx-prepare-step-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#21a8ff,#55e5ff);border-radius:999px;transition:width .2s ease}.mx-prepare-step.done .mx-prepare-step-bar i{background:linear-gradient(90deg,#35d58f,#94ffd0)}
.mx-prepare-message{font-size:20px;font-weight:950;margin:4px 0 14px;color:#f4f9ff}.mx-prepare-card small{display:block;color:#91abc9;line-height:1.35}.mx-prepare-dots{display:flex;justify-content:center;gap:10px;margin:0 0 14px}.mx-prepare-dots i{width:15px;height:15px;border-radius:50%;background:#20baff;animation:mxPrepareDot 1s infinite ease-in-out}.mx-prepare-dots i:nth-child(2){animation-delay:.08s}.mx-prepare-dots i:nth-child(3){animation-delay:.16s}.mx-prepare-dots i:nth-child(4){animation-delay:.24s}.mx-prepare-dots i:nth-child(5){animation-delay:.32s}@keyframes mxPrepareDot{0%,100%{transform:translateY(0);opacity:.55}50%{transform:translateY(-7px);opacity:1}}
.mx-prepare-error-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:18px}
@media(max-width:760px){.mx-prepare-card{padding:24px 18px;border-radius:24px}.mx-prepare-grid{grid-template-columns:1fr;gap:12px}.mx-prepare-step{min-height:105px}.mx-prepare-step strong{font-size:21px}}

/* MAXXTV V2 Sprint 1.55 - Home limpa e Continuar Assistindo por série */
.home-clean-shell{display:grid;gap:20px;margin-bottom:26px}.home-clean-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:28px 30px;border-radius:30px;background:radial-gradient(circle at top left,rgba(42,139,255,.24),transparent 38%),linear-gradient(135deg,rgba(18,39,70,.84),rgba(6,16,31,.86));border:1px solid rgba(255,255,255,.1);box-shadow:0 22px 62px rgba(0,0,0,.22)}.home-clean-hero h1{margin:6px 0 8px;font-size:clamp(30px,4vw,46px);letter-spacing:-.04em}.home-clean-hero p{margin:0;color:#c4d7ef;font-size:17px}.home-list-pill{min-width:220px;border-radius:22px;padding:14px 16px;background:rgba(2,8,18,.46);border:1px solid rgba(255,255,255,.1);text-align:right}.home-list-pill span{display:block;color:#8ea9ca;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.home-list-pill strong{display:block;margin-top:4px;line-height:1.2}.home-primary-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.home-action-card{position:relative;display:block;min-height:142px;padding:22px;border-radius:26px;text-decoration:none;color:#fff;background:linear-gradient(180deg,rgba(20,44,78,.88),rgba(7,18,34,.94));border:1px solid rgba(255,255,255,.09);box-shadow:0 16px 42px rgba(0,0,0,.2);overflow:hidden}.home-action-card:before{content:'';position:absolute;inset:auto -20px -35px auto;width:130px;height:130px;border-radius:50%;background:rgba(70,170,255,.14)}.home-action-card:hover,.home-action-card:focus{outline:none;transform:translateY(-3px) scale(1.015);border-color:rgba(72,174,255,.74);box-shadow:0 0 0 4px rgba(47,128,255,.18),0 26px 62px rgba(0,0,0,.36)}.home-action-card span{display:block;font-size:36px;margin-bottom:14px}.home-action-card strong{display:block;font-size:22px;letter-spacing:-.02em}.home-action-card small{display:block;margin-top:6px;color:#a9bfdc;font-weight:700}.simple-title-row{align-items:flex-end;margin-bottom:14px}.simple-title-row h2{margin-bottom:2px}.simple-title-row p{margin:0;color:#8ea9ca}.continue-rail-v2{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.continue-card-v2{position:relative;border-radius:24px;background:linear-gradient(180deg,rgba(20,44,78,.84),rgba(7,18,34,.95));border:1px solid rgba(255,255,255,.09);box-shadow:0 16px 42px rgba(0,0,0,.2);overflow:hidden}.continue-card-v2:hover,.continue-card-v2:focus-within{border-color:rgba(72,174,255,.72);box-shadow:0 0 0 4px rgba(47,128,255,.16),0 26px 62px rgba(0,0,0,.34)}.continue-card-link{display:grid;grid-template-columns:96px 1fr;gap:14px;min-height:142px;padding:14px;text-decoration:none;color:#fff}.continue-card-link:focus{outline:none}.continue-thumb{position:relative;border-radius:18px;background:linear-gradient(135deg,#132846,#07111f);display:grid;place-items:center;overflow:hidden;min-height:114px}.continue-thumb img{width:100%;height:100%;object-fit:cover}.continue-thumb span{font-size:32px}.continue-thumb em{position:absolute;left:7px;bottom:7px;border-radius:999px;padding:5px 8px;background:rgba(2,8,18,.78);border:1px solid rgba(255,255,255,.15);font-style:normal;font-size:11px;font-weight:950;color:#fff}.continue-info{min-width:0;display:flex;flex-direction:column;justify-content:center}.continue-info small{color:#60c8ff;font-weight:950;text-transform:uppercase;letter-spacing:.06em;font-size:11px}.continue-info strong{display:block;margin-top:5px;font-size:18px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.continue-info span{display:block;margin-top:9px;color:#b4c7df;font-size:13px;font-weight:800}.continue-info .progress{margin-top:12px}.continue-card-v2 .progress-remove-form{top:9px;right:9px;left:auto}.continue-card-v2 .progress-remove-btn{width:34px;height:34px;font-size:24px;background:rgba(2,8,18,.72)}.continue-card-v2 .progress-remove-btn:hover,.continue-card-v2 .progress-remove-btn:focus{background:rgba(210,45,55,.95)}.home-empty-state{display:flex;align-items:center;justify-content:space-between;gap:14px;border-radius:24px;padding:22px;background:rgba(18,36,61,.66);border:1px solid rgba(255,255,255,.08);color:#c3d4ec}.home-empty-state strong{font-size:18px}.home-empty-state span{color:#8ea9ca}.home-secondary-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}.home-secondary-link{display:flex;align-items:center;gap:14px;padding:18px;border-radius:22px;text-decoration:none;color:#fff;background:rgba(10,25,46,.68);border:1px solid rgba(255,255,255,.08)}.home-secondary-link:hover,.home-secondary-link:focus{outline:none;border-color:rgba(72,174,255,.7);background:rgba(20,55,96,.76)}.home-secondary-link>span{font-size:28px}.home-secondary-link strong{display:block}.home-secondary-link small{display:block;margin-top:3px;color:#8ea9ca}.no-list-home .home-clean-hero{display:block;max-width:880px}.no-list-home .hero-actions{margin-top:20px}@media(max-width:1100px){.home-primary-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.home-secondary-row{grid-template-columns:1fr}.continue-rail-v2{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}}@media(max-width:760px){.home-clean-hero{display:block;padding:24px}.home-list-pill{text-align:left;margin-top:18px;min-width:0}.home-primary-actions{grid-template-columns:1fr}.home-action-card{min-height:112px}.continue-card-link{grid-template-columns:82px 1fr}.continue-thumb{min-height:100px}.simple-title-row{display:block}.simple-title-row .muted-link{display:inline-flex;margin-top:10px}.home-empty-state{display:block}.home-empty-state span{display:block;margin-top:6px}}


/* MAXXTV V2 Sprint 1.55.2 - fullscreen real do embed e player pop-up */
.mini-player-body .player-embed,.player-embed.player-v2{max-width:none!important;width:100vw!important;height:100vh!important;min-height:100vh!important;margin:0!important;padding:0!important;background:#000!important;overflow:hidden!important}
.player-embed .video-shell{width:100vw!important;max-width:none!important;height:calc(100vh - 62px)!important;min-height:calc(100vh - 62px)!important;border-radius:0!important;border:0!important;box-shadow:none!important;background:#000!important}
.player-embed #maxxVideo{width:100vw!important;max-width:none!important;height:100%!important;min-height:0!important;object-fit:contain!important;background:#000!important}
.player-embed .player-actions{width:100vw!important;max-width:none!important;min-height:62px!important;box-sizing:border-box!important}
.player-page.player-theater-full{position:fixed!important;inset:0!important;z-index:99999!important;max-width:none!important;width:100vw!important;height:100vh!important;margin:0!important;padding:0!important;background:#000!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.player-page.player-theater-full .player-top,.player-page.player-theater-full .player-epg-card{display:none!important}
.player-page.player-theater-full .video-shell{flex:1 1 auto!important;width:100vw!important;height:calc(100vh - 64px)!important;min-height:0!important;border-radius:0!important;border:0!important;box-shadow:none!important;background:#000!important}
.player-page.player-theater-full .video-shell video{width:100%!important;height:100%!important;min-height:0!important;object-fit:contain!important;background:#000!important}
.player-page.player-theater-full .player-actions{flex:0 0 auto!important;margin:0!important;padding:10px!important;background:rgba(3,8,17,.98)!important;border-top:1px solid rgba(255,255,255,.08)!important}
.mini-player-popup{border:1px solid rgba(255,255,255,.12);background:linear-gradient(135deg,rgba(56,211,159,.24),rgba(0,194,255,.12));color:#fff;border-radius:12px;height:38px;padding:0 12px;font-weight:900;cursor:pointer}
.mini-player-popup:hover,.mini-player-popup:focus{background:rgba(56,211,159,.35);outline:2px solid rgba(139,184,255,.35)}
@media(max-width:980px){.player-embed .video-shell{height:calc(100vh - 54px)!important;min-height:calc(100vh - 54px)!important}}

/* Sprint 1.56 - Próximo episódio automático */
.video-shell:fullscreen,
.video-shell:-webkit-full-screen{
  width:100vw!important;
  height:100vh!important;
  min-height:100vh!important;
  max-width:none!important;
  border-radius:0!important;
  border:0!important;
  background:#000!important;
  display:grid!important;
  place-items:center!important;
}
.video-shell:fullscreen video,
.video-shell:-webkit-full-screen video{
  width:100vw!important;
  height:100vh!important;
  min-height:0!important;
  object-fit:contain!important;
  background:#000!important;
}
.next-episode-overlay[hidden]{display:none!important}
.next-episode-overlay{
  position:absolute;
  inset:0;
  z-index:8;
  display:grid;
  place-items:center;
  padding:28px;
  background:radial-gradient(circle at center,rgba(11,28,52,.58),rgba(0,0,0,.84));
  color:#fff;
  text-align:center;
}
.next-episode-card{
  width:min(560px,92vw);
  border:1px solid rgba(255,255,255,.14);
  border-radius:30px;
  padding:28px;
  background:linear-gradient(180deg,rgba(18,39,70,.92),rgba(4,11,22,.94));
  box-shadow:0 28px 90px rgba(0,0,0,.56);
}
.next-episode-kicker{
  display:inline-block;
  margin-bottom:10px;
  color:#8fc7ff;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
}
.next-episode-card h2{
  margin:0 0 10px;
  font-size:32px;
  line-height:1.15;
}
.next-episode-card p{
  margin:0 auto 20px;
  max-width:440px;
  color:#d9e5f6;
  font-size:17px;
  line-height:1.45;
}
.next-episode-count{
  width:74px;
  height:74px;
  margin:0 auto 22px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-size:34px;
  font-weight:900;
  background:linear-gradient(135deg,#257cff,#00b7ff);
  box-shadow:0 0 0 8px rgba(37,124,255,.16),0 16px 38px rgba(0,0,0,.38);
}
.next-episode-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
}
.next-episode-actions .btn{
  min-width:150px;
}
@media(max-width:700px){
  .next-episode-card{padding:22px;border-radius:24px}
  .next-episode-card h2{font-size:26px}
  .next-episode-actions .btn{min-width:120px;flex:1 1 auto}
}


/* MAXXTV V2 Sprint 1.57 - Player Custom V1 */
.video-shell{overflow:hidden!important}
.video-shell #maxxVideo{cursor:pointer}
.mx-player-ui{position:absolute;inset:0;z-index:7;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none;color:#fff;background:linear-gradient(180deg,rgba(0,0,0,.74),rgba(0,0,0,0) 28%,rgba(0,0,0,0) 52%,rgba(0,0,0,.82));opacity:1;transition:opacity .22s ease}
.video-shell.mx-controls-idle .mx-player-ui{opacity:0}
.video-shell.mx-controls-idle .mx-player-ui:focus-within{opacity:1}
.mx-player-ui button,.mx-player-ui input{pointer-events:auto}
.mx-player-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 60px;background:linear-gradient(180deg,rgba(0,0,0,.68),rgba(0,0,0,0))}
.mx-player-titleline{min-width:0;display:flex;flex-direction:column;gap:4px}.mx-player-titleline strong{font-size:clamp(18px,2.4vw,28px);line-height:1.12;text-shadow:0 2px 8px rgba(0,0,0,.65);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mx-player-kicker{display:inline-flex;width:max-content;border-radius:999px;padding:5px 9px;background:rgba(47,128,255,.34);border:1px solid rgba(111,190,255,.28);font-size:11px;font-weight:950;letter-spacing:.12em;text-transform:uppercase;color:#c7ecff}.mx-player-top-actions{display:flex;gap:10px;flex-shrink:0}.mx-player-icon-btn,.mx-player-control-btn{border:1px solid rgba(255,255,255,.16);background:rgba(7,16,30,.72);color:#fff;border-radius:14px;min-height:42px;padding:0 13px;font-weight:950;cursor:pointer;box-shadow:0 10px 24px rgba(0,0,0,.22);backdrop-filter:blur(10px)}.mx-player-icon-btn:hover,.mx-player-icon-btn:focus,.mx-player-control-btn:hover,.mx-player-control-btn:focus{outline:none;border-color:rgba(67,178,255,.82);background:rgba(35,92,155,.72);box-shadow:0 0 0 4px rgba(47,128,255,.18),0 14px 32px rgba(0,0,0,.32)}.mx-player-icon-btn.disabled{opacity:.58}.mx-player-center-play{pointer-events:auto;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:92px;height:92px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(5,12,23,.62);color:#fff;font-size:36px;font-weight:950;display:grid;place-items:center;cursor:pointer;box-shadow:0 18px 60px rgba(0,0,0,.42);backdrop-filter:blur(12px)}.mx-player-center-play:not(.is-paused){opacity:0;transform:translate(-50%,-50%) scale(.92);pointer-events:none}.video-shell:hover .mx-player-center-play:not(.is-paused),.video-shell:focus-within .mx-player-center-play:not(.is-paused){opacity:.9;pointer-events:auto}.mx-player-center-play:hover,.mx-player-center-play:focus{outline:none;border-color:rgba(67,178,255,.9);background:rgba(37,124,255,.74)}.mx-player-bottom{padding:74px 22px 18px;background:linear-gradient(0deg,rgba(0,0,0,.86),rgba(0,0,0,0));display:grid;gap:12px}.mx-player-progress-line{display:flex;align-items:center;gap:12px}.mx-live-pill{flex:0 0 auto;border-radius:999px;padding:6px 10px;background:#e51d3d;color:#fff;font-size:12px;font-weight:1000;letter-spacing:.08em;box-shadow:0 0 0 5px rgba(229,29,61,.16)}.mx-player-progress-line input[type=range]{width:100%;accent-color:#35a7ff;cursor:pointer}.mx-player-ui.is-live .mx-player-progress-line input[type=range]{display:none}.mx-player-controls-row{display:flex;align-items:center;gap:10px;min-width:0}.mx-player-control-btn.primary{background:linear-gradient(135deg,#257cff,#00b7ff);border-color:rgba(146,220,255,.36)}.mx-player-ui.is-live .vod-only{display:none}.mx-player-time{font-weight:950;color:#eaf4ff;min-width:126px;font-variant-numeric:tabular-nums;text-shadow:0 2px 8px rgba(0,0,0,.55)}.mx-player-spacer{flex:1 1 auto;min-width:10px}.mx-player-volume{width:105px;accent-color:#35a7ff}.mx-player-help{font-size:12px;font-weight:800;color:#b6c9e2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 2px 8px rgba(0,0,0,.72)}.video-shell:fullscreen .mx-player-ui,.video-shell:-webkit-full-screen .mx-player-ui{position:absolute!important;inset:0!important}.video-shell:fullscreen .mx-player-bottom,.video-shell:-webkit-full-screen .mx-player-bottom{padding-bottom:24px}.player-embed .mx-player-topbar{padding:12px 14px 44px}.player-embed .mx-player-titleline strong{font-size:16px}.player-embed .mx-player-kicker,.player-embed .mx-player-help,.player-embed .mx-player-top-actions{display:none}.player-embed .mx-player-bottom{padding:52px 12px 12px}.player-embed .mx-player-control-btn{min-height:38px;padding:0 10px}.player-embed .mx-player-time{min-width:86px;font-size:12px}.player-embed .mx-player-volume{display:none}.player-embed .mx-player-center-play{width:74px;height:74px;font-size:30px}@media(max-width:760px){.mx-player-topbar{padding:14px 14px 46px}.mx-player-bottom{padding:58px 14px 14px}.mx-player-titleline strong{font-size:18px}.mx-player-top-actions{display:none}.mx-player-controls-row{gap:7px;flex-wrap:wrap}.mx-player-control-btn{min-height:40px;padding:0 10px}.mx-player-volume{display:none}.mx-player-time{min-width:auto;font-size:13px}.mx-player-help{display:none}.mx-player-center-play{width:78px;height:78px;font-size:30px}.mx-player-spacer{display:none}}

/* MAXXTV V2 Sprint 1.57.1 - Player Custom refinado */
.player-top-compact{align-items:center;margin-bottom:12px}
.player-titlebox-compact h1{font-size:20px;margin:0;color:#dcecff;letter-spacing:.02em}
.player-titlebox-compact small{color:#8ea8c7}
#mxPlayerFullscreenBtn,#mxPlayerPopupBtn,#mxPlayerOpenFullBtn{display:none!important}
.player-embed .mini-player-title{display:none!important}
.player-embed .video-shell{height:100vh!important;min-height:100vh!important;width:100vw!important;max-width:none!important;border-radius:0!important;border:0!important;box-shadow:none!important;background:#000!important}
.player-embed #maxxVideo{width:100vw!important;height:100vh!important;object-fit:contain!important;background:#000!important}
.player-embed .player-actions{display:none!important}
.player-page.player-theater-full .video-shell{height:100vh!important;min-height:100vh!important;flex:1 1 100%!important}
.player-page.player-theater-full .player-actions{display:none!important}
.player-page.player-theater-full .video-shell video{height:100vh!important}
.mx-player-top-actions:empty{display:none!important}
.mx-player-ui{background:linear-gradient(180deg,rgba(0,0,0,.70),rgba(0,0,0,0) 30%,rgba(0,0,0,0) 56%,rgba(0,0,0,.88));}
.mx-player-topbar{padding:24px 26px 70px;background:linear-gradient(180deg,rgba(0,0,0,.72),rgba(0,0,0,0));}
.mx-player-titleline strong{font-size:clamp(17px,2.1vw,25px);font-weight:950;max-width:min(900px,82vw)}
.mx-player-kicker{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.16);color:#d8ebff;padding:4px 8px;font-size:10px;opacity:.85}
.mx-player-bottom{padding:82px 26px 24px;background:linear-gradient(0deg,rgba(0,0,0,.92),rgba(0,0,0,.58) 44%,rgba(0,0,0,0));gap:10px}
.mx-player-progress-line{gap:10px}
.mx-player-progress-line input[type=range]{height:18px;accent-color:#18a7ff}
.mx-player-controls-row{gap:9px}
.mx-player-control-btn{min-height:40px;border-radius:999px;padding:0 13px;background:rgba(11,23,40,.76);border-color:rgba(255,255,255,.14);box-shadow:0 10px 26px rgba(0,0,0,.24);font-size:13px;line-height:1;white-space:nowrap}
.mx-player-control-btn.primary{background:rgba(24,138,255,.88);border-color:rgba(140,217,255,.34)}
.mx-player-control-btn[hidden],.mx-track-btn[hidden]{display:none!important}
.mx-track-btn{background:rgba(27,56,91,.78)}
.mx-player-time{min-width:122px;font-size:13px;color:#f0f7ff}
.mx-player-volume{width:90px;height:18px}
.mx-player-help{display:none!important}
.mx-player-center-play{width:82px;height:82px;font-size:32px;background:rgba(0,0,0,.56);border-color:rgba(255,255,255,.18)}
.video-shell.mx-controls-idle .mx-player-center-play:not(.is-paused){opacity:0!important;pointer-events:none!important}
.video-shell:fullscreen,.video-shell:-webkit-full-screen{display:block!important}
.video-shell:fullscreen .mx-player-topbar,.video-shell:-webkit-full-screen .mx-player-topbar{padding-top:30px}
.video-shell:fullscreen .mx-player-bottom,.video-shell:-webkit-full-screen .mx-player-bottom{padding-bottom:30px}
.video-shell:fullscreen .mx-player-kicker,.video-shell:-webkit-full-screen .mx-player-kicker{display:none}
.mini-player-panel .mini-player-hint{display:none!important}
.mini-player-epg-line:empty{display:none!important}
@media(max-width:760px){
  .player-top-compact{margin-bottom:10px}
  .player-titlebox-compact h1{font-size:17px}
  .mx-player-topbar{padding:16px 14px 54px}
  .mx-player-bottom{padding:64px 12px 14px}
  .mx-player-controls-row{gap:7px;flex-wrap:wrap}
  .mx-player-control-btn{min-height:38px;padding:0 10px;font-size:12px}
  .mx-player-time{font-size:12px;min-width:auto}
  .mx-player-center-play{width:70px;height:70px;font-size:28px}
}

/* MAXXTV V2 Sprint 1.58 - menus de qualidade, áudio e legenda */
.mx-player-menu{
  position:absolute;
  right:26px;
  bottom:88px;
  z-index:20;
  width:min(310px,calc(100vw - 42px));
  max-height:min(55vh,420px);
  overflow:auto;
  padding:12px;
  border-radius:20px;
  background:linear-gradient(180deg,rgba(9,22,39,.98),rgba(2,8,18,.98));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 28px 90px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.035) inset;
  backdrop-filter:blur(18px);
  pointer-events:auto;
}
.mx-player-menu[hidden]{display:none!important}
.mx-player-menu-title{
  padding:6px 9px 10px;
  color:#8fc7ff;
  font-size:12px;
  font-weight:1000;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.mx-player-menu-option{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:42px;
  margin:4px 0;
  padding:0 13px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.045);
  color:#fff;
  font-weight:900;
  text-align:left;
  cursor:pointer;
}
.mx-player-menu-option:after{content:'';width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.18);flex:0 0 auto}
.mx-player-menu-option.active{background:rgba(37,124,255,.26);border-color:rgba(80,180,255,.62);box-shadow:0 0 0 3px rgba(37,124,255,.12)}
.mx-player-menu-option.active:after{background:#38d6ff;box-shadow:0 0 0 5px rgba(56,214,255,.16)}
.mx-player-menu-option:hover,.mx-player-menu-option:focus{outline:none;background:rgba(37,124,255,.32);border-color:rgba(80,180,255,.72)}
.mx-player-menu-empty{padding:12px 10px 10px;color:#a9bfdc;font-size:13px;font-weight:800;line-height:1.35}
.mx-player-control-btn.disabled{opacity:.58;cursor:not-allowed}
.video-shell:fullscreen .mx-player-menu,.video-shell:-webkit-full-screen .mx-player-menu{right:30px;bottom:96px}
.player-embed .mx-player-menu{right:12px;bottom:76px;width:min(280px,calc(100vw - 24px));max-height:52vh}
@media(max-width:760px){
  .mx-player-menu{right:12px;left:12px;bottom:76px;width:auto;max-height:48vh;border-radius:18px}
  .mx-player-menu-option{min-height:40px;font-size:13px}
}

/* Sprint 1.58.1 beta - agrupamento visual de versões duplicadas */
.catalog-beta-note{display:inline-flex;margin-left:8px;padding:4px 8px;border-radius:999px;background:rgba(255,193,7,.12);border:1px solid rgba(255,193,7,.28);color:#ffe39a;font-size:12px;font-weight:900;vertical-align:middle}.mx-version-group-wrap .poster-card{position:relative}.mx-version-badge{position:absolute;left:10px;bottom:10px;z-index:3;font-style:normal;border-radius:999px;padding:7px 10px;background:rgba(3,9,18,.84);border:1px solid rgba(59,130,255,.45);color:#dff0ff;font-size:12px;font-weight:950;box-shadow:0 10px 25px rgba(0,0,0,.34);backdrop-filter:blur(12px)}.mx-version-modal{position:fixed;inset:0;z-index:99998;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.74);padding:24px}.mx-version-modal.show{display:flex}.mx-version-card{width:min(680px,96vw);max-height:88vh;overflow:auto;border-radius:28px;background:linear-gradient(180deg,rgba(14,31,56,.98),rgba(5,13,26,.98));border:1px solid rgba(139,184,255,.22);box-shadow:0 26px 90px rgba(0,0,0,.62);padding:26px;position:relative}.mx-version-card h2{margin:4px 46px 8px 0;font-size:clamp(26px,4vw,38px);letter-spacing:-.04em}.mx-version-card p{margin:0 0 14px;color:#c9d8ed}.mx-version-close{position:absolute;right:18px;top:18px;width:44px;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#fff;font-size:28px;font-weight:900;cursor:pointer}.mx-version-close:hover,.mx-version-close:focus{background:rgba(59,130,255,.32);outline:none}.mx-version-tags{display:inline-flex;border-radius:999px;padding:8px 11px;background:rgba(59,130,255,.14);border:1px solid rgba(59,130,255,.26);font-weight:900;color:#dcecff}.mx-version-options{display:grid;gap:10px;margin-top:16px}.mx-version-option{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:13px;padding:11px;border-radius:18px;text-decoration:none;color:#fff;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.10);transition:.15s transform,.15s border,.15s background}.mx-version-option:hover,.mx-version-option:focus{transform:translateY(-2px);border-color:rgba(59,130,255,.58);background:rgba(59,130,255,.13);outline:none}.mx-version-option-poster{width:58px;height:72px;border-radius:12px;display:grid;place-items:center;background:#07111f;overflow:hidden;font-size:28px}.mx-version-option-poster img{width:100%;height:100%;object-fit:cover}.mx-version-option-text strong{display:block;font-size:17px}.mx-version-option-text small{display:block;margin-top:4px;color:#aebfd8}.mx-version-option b{border-radius:999px;padding:9px 12px;background:rgba(59,130,255,.22);border:1px solid rgba(59,130,255,.35);font-size:13px}.mx-version-note{display:block;margin-top:14px;color:#91a6c3}@media(max-width:520px){.mx-version-option{grid-template-columns:48px 1fr}.mx-version-option b{grid-column:2}.mx-version-option-poster{width:48px;height:62px}.mx-version-card{padding:22px 16px}}

/* MAXXTV V2 Sprint 1.58.4 - ferramentas do player: proporção, recarregar e info */
.video-shell.mx-aspect-contain #maxxVideo{object-fit:contain!important;transform:none!important}
.video-shell.mx-aspect-cover #maxxVideo{object-fit:cover!important;transform:none!important}
.video-shell.mx-aspect-fill #maxxVideo{object-fit:fill!important;transform:none!important}
.video-shell.mx-aspect-zoom #maxxVideo{object-fit:cover!important;transform:scale(1.14)!important;transform-origin:center center!important}
.mx-player-info-panel{position:absolute;inset:0;z-index:9;display:grid;place-items:center;padding:24px;background:rgba(0,0,0,.54);backdrop-filter:blur(8px)}
.mx-player-info-panel[hidden]{display:none!important}
.mx-player-info-card{position:relative;width:min(520px,calc(100vw - 40px));max-height:min(74vh,620px);overflow:auto;border:1px solid rgba(255,255,255,.15);border-radius:26px;background:linear-gradient(180deg,rgba(9,22,40,.96),rgba(3,9,18,.98));box-shadow:0 28px 90px rgba(0,0,0,.48);padding:24px;color:#fff}
.mx-player-info-card h2{font-size:clamp(22px,3vw,32px);line-height:1.1;margin:10px 44px 18px 0}
.mx-player-info-close{position:absolute;right:16px;top:14px;width:42px;height:42px;border-radius:999px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.08);color:#fff;font-size:28px;line-height:1;cursor:pointer}
.mx-player-info-close:hover,.mx-player-info-close:focus{outline:none;border-color:rgba(80,180,255,.72);background:rgba(37,124,255,.28)}
.mx-player-info-grid{display:grid;gap:10px}
.mx-player-info-row{display:grid;grid-template-columns:128px 1fr;gap:14px;align-items:start;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.045);padding:12px 14px}
.mx-player-info-row span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#94b5db;font-weight:950}
.mx-player-info-row strong{font-size:15px;line-height:1.35;color:#f4f9ff;word-break:break-word}
.mx-player-info-empty{color:#b7c8df;font-weight:850;padding:12px 4px}
.player-embed .mx-player-info-card{width:min(440px,calc(100vw - 24px));padding:18px;border-radius:22px}.player-embed .mx-player-info-row{grid-template-columns:104px 1fr;padding:10px 12px}.player-embed .mx-player-info-card h2{font-size:20px}
@media(max-width:760px){.mx-player-info-panel{padding:14px}.mx-player-info-card{width:calc(100vw - 24px);padding:18px;border-radius:22px}.mx-player-info-row{grid-template-columns:1fr;gap:5px}.mx-player-info-row strong{font-size:14px}}

/* MAXXTV V2 Sprint 1.58.7 */
.mx-shortcut-debug{margin-top:8px;padding:8px 10px;border-radius:10px;background:rgba(255,193,7,.16);border:1px solid rgba(255,193,7,.35);font-size:12px;color:#ffe7a3;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}


/* Sprint 1.58.24 - próximo episódio visível em fullscreen */
.video-shell.mx-next-overlay-active{
  position:relative!important;
  overflow:hidden!important;
}
.video-shell.mx-next-overlay-active #maxxVideo{
  position:relative!important;
  z-index:0!important;
}
.video-shell.mx-next-overlay-active .mx-player-ui{
  opacity:0!important;
  pointer-events:none!important;
}
.video-shell.mx-next-overlay-active .player-loading,
.video-shell.mx-next-overlay-active .player-error{
  display:none!important;
}
.video-shell.mx-next-overlay-active .next-episode-overlay,
.video-shell:fullscreen .next-episode-overlay,
.video-shell:-webkit-full-screen .next-episode-overlay,
.player-page.player-theater-full .next-episode-overlay,
.player-embed .video-shell.mx-next-overlay-active .next-episode-overlay{
  position:absolute!important;
  inset:0!important;
  z-index:2147483000!important;
  display:grid!important;
  place-items:center!important;
  pointer-events:auto!important;
  visibility:visible!important;
  opacity:1!important;
}
.video-shell.mx-next-overlay-active .next-episode-overlay[hidden],
.video-shell:fullscreen .next-episode-overlay[hidden],
.video-shell:-webkit-full-screen .next-episode-overlay[hidden]{
  display:none!important;
}
.video-shell:fullscreen .next-episode-card,
.video-shell:-webkit-full-screen .next-episode-card{
  transform:translateZ(0);
}

/* MAXXTV V2 Sprint 1.58.26 - Séries: temporadas agrupadas */
.season-select-row{display:flex;align-items:center;gap:14px;margin:0 0 20px;flex-wrap:wrap}.season-picker{position:relative;width:230px;max-width:100%;margin:0}.season-current-btn{width:100%;min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;border:2px solid rgba(255,255,255,.72);background:#2f2f2f;color:#f2f2f2;border-radius:0;padding:0 18px;cursor:pointer;box-shadow:0 14px 32px rgba(0,0,0,.24)}.season-current-btn:focus,.season-current-btn:hover{outline:none;border-color:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.16),0 16px 40px rgba(0,0,0,.34)}.season-current-label{font-weight:950;font-size:17px;letter-spacing:.1px}.season-current-btn:after{content:'⌄';font-size:20px;line-height:1;color:#fff;opacity:.95}.season-current-btn[aria-expanded="true"]:after{content:'⌃'}.season-episode-count{color:#d8d8d8;font-size:14px;font-weight:700;white-space:nowrap}.season-menu{position:absolute;z-index:80;left:0;right:0;top:calc(100% + 6px);display:grid;gap:0;max-height:360px;overflow:auto;padding:7px;background:#333;border:1px solid rgba(255,255,255,.08);border-radius:7px;box-shadow:0 24px 70px rgba(0,0,0,.58)}.season-menu[hidden]{display:none}.season-menu .season-tab{display:block;width:100%;text-align:left;border:0;background:transparent;color:#b8b8b8;border-radius:7px;padding:13px 24px;font-weight:900;cursor:pointer}.season-menu .season-tab:hover,.season-menu .season-tab:focus{outline:none;background:#444;color:#fff}.season-menu .season-tab.active{background:#4a4a4a;color:#fff}.season-menu .season-tab.active:hover,.season-menu .season-tab.active:focus{background:#525252;color:#fff}@media(max-width:700px){.season-select-row{align-items:stretch;gap:10px}.season-picker{width:100%}.season-episode-count{padding-left:2px}.season-menu{position:relative;top:auto;margin-top:8px}}

/* Sprint 1.58.28 - Player: controle de volume real */
.mx-player-volume-cluster{display:flex;align-items:center;gap:8px;flex:0 0 auto;min-width:0}
.mx-player-volume-step{min-width:42px;padding:0 12px;font-size:18px;line-height:1}
.mx-player-volume-label{min-width:42px;text-align:center;font-size:12px;font-weight:1000;color:#dcecff;font-variant-numeric:tabular-nums;text-shadow:0 2px 8px rgba(0,0,0,.65)}
.mx-player-volume-cluster .mx-player-volume{width:112px;display:block!important;accent-color:#35a7ff;cursor:pointer}
.video-shell:fullscreen .mx-player-volume-cluster,.video-shell:-webkit-full-screen .mx-player-volume-cluster{display:flex!important}
@media(max-width:760px){
  .mx-player-volume-cluster{gap:6px;width:100%;order:7;justify-content:flex-start}
  .mx-player-volume-step{min-width:38px;padding:0 10px;font-size:17px}
  .mx-player-volume-cluster .mx-player-volume{display:block!important;flex:1 1 auto;min-width:120px;max-width:260px;width:auto;height:22px}
  .mx-player-volume-label{min-width:38px;font-size:11px}
}

/* MAXXTV V2 Sprint 1.58.39.4 - Mini player canônico
   Regra profissional:
   - sem remendo acumulado;
   - sem regra sobre regra para o mesmo problema;
   - painel externo controla posição/tamanho;
   - iframe ocupa somente a área do player;
   - player.php?embed=1 controla vídeo e controles internos.
*/

/* Painel lateral usado por Filmes/Séries e demais listas fora da TV ao vivo */
body.mini-player-open .main{
  padding-right:clamp(420px,36vw,600px)!important;
}

.mini-player-panel:not(.mini-player-inline){
  position:fixed!important;
  top:116px!important;
  right:18px!important;
  bottom:auto!important;
  width:clamp(390px,34vw,560px)!important;
  max-height:calc(100vh - 136px)!important;
  height:auto!important;
  z-index:9997!important;
  display:none;
  flex-direction:column!important;
  overflow:hidden auto!important;
  border-radius:26px!important;
  border:1px solid rgba(139,184,255,.22)!important;
  background:linear-gradient(180deg,rgba(6,14,27,.98),rgba(3,8,17,.98))!important;
  box-shadow:0 26px 90px rgba(0,0,0,.58)!important;
}

.mini-player-panel:not(.mini-player-inline).show{
  display:flex!important;
}

.mini-player-panel:not(.mini-player-inline) #mxMiniPlayerFrame{
  flex:0 0 auto!important;
  display:block!important;
  width:100%!important;
  aspect-ratio:16 / 9!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  border:0!important;
  background:#000!important;
}

/* Cabeçalho externo do mini player */
.mini-player-panel .mini-player-head{
  min-height:58px!important;
  height:auto!important;
  padding:10px 14px!important;
  align-items:center!important;
}

.mini-player-panel .mini-player-head-text{
  min-width:0!important;
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  line-height:1.15!important;
}

.mini-player-panel .mini-player-head strong{
  max-width:100%!important;
  font-size:16px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

.mini-player-panel .mini-player-head-actions{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}

.mini-player-status-line,
.mini-player-epg-line{
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

.mini-player-status-line{
  font-size:11px!important;
  color:#9fb5d1!important;
  font-weight:800!important;
}

.mini-player-status-line.error{
  color:#ff93a5!important;
}

.mini-player-epg-line{
  font-size:11px!important;
  color:#eaf3ff!important;
  font-weight:800!important;
  opacity:.95!important;
}

.mini-player-epg-line:empty{
  display:none!important;
}

/* Bloco de detalhes externo para Filmes/Séries */
.mini-player-details-box{
  display:block;
  border-top:1px solid rgba(255,255,255,.08)!important;
  background:linear-gradient(180deg,rgba(13,35,62,.98),rgba(7,18,34,.98))!important;
  padding:16px 18px 18px!important;
  color:#f4f8ff!important;
}

.mini-player-details-box[hidden]{
  display:none!important;
}

.mini-player-details-box strong{
  display:block!important;
  font-size:22px!important;
  line-height:1.15!important;
  margin:0 0 9px!important;
  letter-spacing:-.02em!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  max-width:none!important;
}

.mini-player-details-box p{
  margin:0!important;
  color:#c5d5ea!important;
  font-size:14px!important;
  line-height:1.45!important;
  display:-webkit-box!important;
  -webkit-line-clamp:7!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}

.mini-player-panel.is-live-mini .mini-player-details-box{
  display:none!important;
}

/* TV ao vivo: player inline dentro da terceira coluna */
.live-tv-layout{
  grid-template-columns:minmax(230px,280px) minmax(300px,380px) minmax(520px,1fr)!important;
  gap:18px!important;
  align-items:start!important;
}

.live-watch-column{
  position:sticky!important;
  top:18px!important;
  align-self:start!important;
  max-height:calc(100vh - 36px)!important;
  overflow:auto!important;
  padding-right:4px!important;
}

.live-watch-column .inline-mini-host{
  margin:0!important;
}

.live-watch-column .inline-mini-host.has-player{
  display:block!important;
}

.live-watch-column .inline-mini-host.has-player + .live-player-placeholder{
  display:none!important;
}

.live-watch-column .mini-player-panel{
  border-radius:26px!important;
  overflow:hidden!important;
  max-height:none!important;
}

.live-watch-column #mxMiniPlayerFrame{
  flex:0 0 auto!important;
  display:block!important;
  width:100%!important;
  aspect-ratio:16 / 9!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}

.live-watch-column .mini-player-head{
  min-height:58px!important;
  padding:10px 14px!important;
  align-items:center!important;
}

.live-watch-column .mini-player-head-text{
  text-align:center!important;
}

.live-watch-column .mini-player-epg-box{
  display:grid;
  gap:9px;
  padding:14px!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  background:linear-gradient(180deg,rgba(9,24,44,.98),rgba(5,14,27,.98))!important;
  max-height:320px;
  overflow:auto;
}

.live-watch-column .mini-player-epg-box[hidden]{
  display:none!important;
}

.live-watch-column .mini-epg-row{
  display:grid;
  grid-template-columns:86px 1fr!important;
  gap:4px 12px!important;
  border:1px solid rgba(255,255,255,.08);
  border-radius:15px;
  padding:10px 12px;
  background:rgba(255,255,255,.045);
}

.live-watch-column .mini-epg-row span{
  color:#8bb8ff;
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.live-watch-column .mini-epg-row strong{
  color:#f5f9ff;
  line-height:1.25;
}

.live-watch-column .mini-epg-row small{
  grid-column:2;
  color:#aebfd7;
  font-weight:800;
  white-space:normal!important;
}

.live-watch-column .mini-epg-row p{
  grid-column:1 / -1;
  margin:4px 0 0;
  color:#c8d7ea;
  font-size:13px;
  line-height:1.35;
}

/* Player interno do iframe: estado embed=1 */
body.mini-player-body{
  width:100%;
  height:100%;
  min-height:100%;
  margin:0;
  overflow:hidden!important;
  background:#000!important;
}

body.mini-player-body .player-embed{
  width:100vw!important;
  height:100vh!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  display:block!important;
  background:#000!important;
}

body.mini-player-body .player-embed .mini-player-title,
body.mini-player-body .player-embed .player-actions,
body.mini-player-body .player-embed .player-epg-card,
body.mini-player-body .player-embed .mixed-notice,
body.mini-player-body .player-embed .codec-notice{
  display:none!important;
}

body.mini-player-body .player-embed .video-shell{
  position:relative!important;
  display:block!important;
  width:100vw!important;
  height:100vh!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  box-shadow:none!important;
  background:#000!important;
}

body.mini-player-body .player-embed #maxxVideo{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  transform-origin:center center!important;
  background:#000!important;
  cursor:pointer!important;
}

body.mini-player-body .player-embed .mx-player-ui{
  position:absolute!important;
  inset:0!important;
  z-index:12!important;
  display:block!important;
  opacity:1!important;
  pointer-events:none!important;
  transition:opacity .18s ease, background .18s ease!important;
  background:linear-gradient(180deg,rgba(0,0,0,.22),rgba(0,0,0,0) 30%,rgba(0,0,0,0) 62%,rgba(0,0,0,.78))!important;
}

body.mini-player-body .player-embed .video-shell.mx-controls-idle:not(:hover) .mx-player-ui{
  opacity:0!important;
  pointer-events:none!important;
  background:transparent!important;
}

body.mini-player-body .player-embed .video-shell.mx-controls-idle:hover .mx-player-ui,
body.mini-player-body .player-embed .video-shell.mx-controls-idle:focus-within .mx-player-ui,
body.mini-player-body .player-embed .video-shell:not(.mx-controls-idle) .mx-player-ui{
  opacity:1!important;
}

body.mini-player-body .player-embed .mx-player-ui button,
body.mini-player-body .player-embed .mx-player-ui input{
  pointer-events:auto!important;
}

/* O título já existe no cabeçalho externo do mini player */
body.mini-player-body .player-embed .mx-player-topbar{
  display:none!important;
}

/* Controles internos: expandem para cima, nunca para baixo/cortado */
body.mini-player-body .player-embed .mx-player-bottom{
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  width:100%!important;
  z-index:16!important;
  box-sizing:border-box!important;
  display:grid!important;
  gap:6px!important;
  padding:24px 9px 8px!important;
  max-height:none!important;
  overflow:visible!important;
  background:linear-gradient(0deg,rgba(0,0,0,.88),rgba(0,0,0,.62) 44%,rgba(0,0,0,0))!important;
  transform:none!important;
}

body.mini-player-body .player-embed .mx-player-progress-line{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  margin:0!important;
  min-width:0!important;
  height:18px!important;
}

body.mini-player-body .player-embed .mx-player-progress-line input[type=range]{
  flex:1 1 auto!important;
  min-width:0!important;
  height:16px!important;
}

body.mini-player-body .player-embed .mx-player-ui.is-live .mx-player-progress-line{
  display:flex!important;
}

body.mini-player-body .player-embed .mx-player-ui.is-live .mx-live-pill{
  display:inline-flex!important;
  align-items:center!important;
  height:24px!important;
  padding:4px 8px!important;
  font-size:10px!important;
}

body.mini-player-body .player-embed .mx-player-ui.is-live .mx-player-progress-line input[type=range]{
  display:none!important;
}

body.mini-player-body .player-embed .mx-player-controls-row{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  align-content:flex-start!important;
  justify-content:flex-start!important;
  column-gap:5px!important;
  row-gap:5px!important;
  width:100%!important;
  min-width:0!important;
  overflow:visible!important;
}

body.mini-player-body .player-embed .mx-player-control-btn{
  flex:0 0 auto!important;
  height:28px!important;
  min-height:28px!important;
  padding:0 7px!important;
  font-size:11px!important;
  line-height:1!important;
  border-radius:999px!important;
  white-space:nowrap!important;
}

body.mini-player-body .player-embed .mx-player-time{
  flex:0 1 auto!important;
  min-width:auto!important;
  max-width:94px!important;
  font-size:10.5px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

body.mini-player-body .player-embed .mx-player-spacer{
  display:none!important;
}

body.mini-player-body .player-embed .mx-player-volume-cluster{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  flex:1 1 150px!important;
  min-width:120px!important;
  max-width:190px!important;
  width:auto!important;
  order:0!important;
  gap:4px!important;
  align-items:center!important;
  padding:0!important;
  margin:0!important;
}

body.mini-player-body .player-embed .mx-player-volume-cluster .mx-player-volume{
  display:block!important;
  flex:1 1 auto!important;
  width:64px!important;
  min-width:48px!important;
  max-width:90px!important;
  height:18px!important;
}

body.mini-player-body .player-embed #mxPlayerMuteBtn,
body.mini-player-body .player-embed .mx-player-control-btn.mx-player-volume-step{
  width:27px!important;
  min-width:27px!important;
  height:28px!important;
  min-height:28px!important;
  padding:0!important;
  font-size:13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

body.mini-player-body .player-embed .mx-player-volume-label{
  display:none!important;
}

/* Popup/tela cheia são controlados pelo painel externo do mini player */
body.mini-player-body .player-embed #mxPlayerPopupUiBtn,
body.mini-player-body .player-embed #mxPlayerFullscreenUiBtn{
  display:none!important;
}

body.mini-player-body .player-embed .mx-player-help{
  display:none!important;
}

body.mini-player-body .player-embed .mx-player-center-play{
  width:58px!important;
  height:58px!important;
  font-size:24px!important;
  z-index:14!important;
}

body.mini-player-body .player-embed .player-loading,
body.mini-player-body .player-embed .player-error{
  z-index:18!important;
}

/* Menus dentro do mini player */
body.mini-player-body .player-embed .mx-player-menu{
  right:9px!important;
  left:9px!important;
  bottom:58px!important;
  width:auto!important;
  max-height:48vh!important;
}

/* Responsivo */
@media(max-width:1180px){
  body.mini-player-open .main{
    padding-right:20px!important;
  }

  .mini-player-panel:not(.mini-player-inline){
    left:18px!important;
    right:18px!important;
    top:auto!important;
    bottom:18px!important;
    width:auto!important;
    max-height:72vh!important;
  }

  .mini-player-panel:not(.mini-player-inline) #mxMiniPlayerFrame{
    aspect-ratio:16 / 9!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }

  .live-tv-layout{
    grid-template-columns:1fr!important;
  }

  .live-watch-column{
    position:static!important;
    max-height:none!important;
    overflow:visible!important;
    padding-right:0!important;
  }
}

@media(max-width:620px){
  .mini-player-panel:not(.mini-player-inline) #mxMiniPlayerFrame,
  .live-watch-column #mxMiniPlayerFrame{
    aspect-ratio:16 / 9!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }

  body.mini-player-body .player-embed .mx-player-bottom{
    padding:30px 8px 8px!important;
  }

  body.mini-player-body .player-embed .mx-player-controls-row{
    column-gap:4px!important;
    row-gap:5px!important;
  }

  body.mini-player-body .player-embed .mx-player-control-btn{
    height:27px!important;
    min-height:27px!important;
    padding:0 6px!important;
    font-size:10.5px!important;
  }

  body.mini-player-body .player-embed .mx-player-volume-cluster{
    flex:1 1 100%!important;
    max-width:none!important;
    width:100%!important;
  }

  body.mini-player-body .player-embed .mx-player-volume-cluster .mx-player-volume{
    max-width:none!important;
    width:auto!important;
  }
}

/* MAXXTV_PATCH_15839_6_START */
/*
  Sprint 1.58.39.6 — Mini player embed sem cabecalho interno no fluxo.

  Diagnostico confirmado:
  - iframe externo tinha cerca de 283px de altura;
  - cabecalho interno consumia cerca de 70px;
  - video-shell comecava em y=70;
  - o video precisava de 283px, totalizando cerca de 353px;
  - resultado: os ultimos 70px do video eram cortados.

  Correcao:
  - no body.mini-player-body, o iframe passa a conter o video-shell desde y=0;
  - cabecalho interno deixa de consumir altura no embed;
  - video-shell ocupa 100% do iframe 16/9;
  - video continua com object-fit: contain;
  - tarjas pretas continuam aceitas quando necessarias.
*/

body.mini-player-body,
body.mini-player-body .player-embed{
  width:100vw!important;
  height:100vh!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}

body.mini-player-body .player-embed{
  position:relative!important;
  display:block!important;
  background:#000!important;
}

/* No embed, titulo/botoes/EPG internos nao podem consumir altura dentro do iframe. */
body.mini-player-body .player-embed > :not(.video-shell){
  display:none!important;
}

body.mini-player-body .player-embed .video-shell{
  position:absolute!important;
  inset:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  transform:none!important;
  overflow:hidden!important;
  background:#000!important;
}

body.mini-player-body .player-embed video,
body.mini-player-body .player-embed #maxxVideo{
  position:absolute!important;
  inset:0!important;
  top:0!important;
  left:0!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  background:#000!important;
}
/* MAXXTV_PATCH_15839_6_END */


/* MAXXTV 1.58.42.1 - destaque amarelo categorias catalogo */
.catalog-local-shell .category-link.active,
.catalog-local-shell .category-link:hover,
.catalog-local-shell .category-link:focus{
  background:linear-gradient(135deg,#f8d512,#ff9f1a)!important;
  color:#06101e!important;
  border-color:rgba(255,210,20,.72)!important;
  box-shadow:0 12px 28px rgba(250,210,20,.18)!important;
  outline:none!important;
}
.catalog-local-shell .category-link.active .adult-lock-badge,
.catalog-local-shell .category-link:hover .adult-lock-badge,
.catalog-local-shell .category-link:focus .adult-lock-badge{
  background:rgba(6,16,30,.16)!important;
  color:#06101e!important;
}
.catalog-local-shell .category-link.active::after,
.catalog-local-shell .category-link:hover::after,
.catalog-local-shell .category-link:focus::after{
  color:#06101e!important;
}
/* MAXXTV 1.58.44.1 — ajuste visual do grupo live */
.mx-live-group-wrap .channel-card{
  position:relative;
}
.mx-live-group-wrap .channel-logo .mx-version-badge{
  display:none;
}
.mx-live-version-badge{
  display:inline-flex;
  width:max-content;
  margin-top:8px;
  border-radius:999px;
  padding:6px 9px;
  background:rgba(3,9,18,.84);
  border:1px solid rgba(59,130,255,.45);
  color:#dff0ff;
  font-size:12px;
  font-weight:950;
  font-style:normal;
  box-shadow:0 10px 25px rgba(0,0,0,.24);
}

/* MAXXTV 1.58.44.2 — favorito por versão no modal live */
.mx-version-option-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  align-items:center;
}
.mx-version-option-row .mx-version-option{
  min-width:0;
}
.mx-version-option-row .fav-indicator-form{
  position:static;
  margin:0;
}
.mx-version-option-row .fav-btn{
  width:46px;
  height:46px;
  border-radius:999px;
}
@media(max-width:520px){
  .mx-version-option-row{
    grid-template-columns:1fr;
  }
  .mx-version-option-row .fav-btn{
    width:100%;
  }
}

/* MAXXTV 1.58.44.3 — botão favorito direto no modal */
.mx-version-fav-btn{
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:24px;
  font-weight:950;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}
.mx-version-fav-btn.active{
  background:rgba(255,204,0,.22);
  border-color:rgba(255,204,0,.55);
  color:#ffd866;
}
.mx-version-fav-btn:focus,
.mx-version-fav-btn:hover{
  outline:none;
  transform:translateY(-2px);
  border-color:rgba(59,130,255,.72);
}
.mx-version-fav-btn:disabled{
  opacity:.6;
  cursor:wait;
}
@media(max-width:520px){
  .mx-version-fav-btn{
    width:100%;
  }
}

/* MAXXTV 1.58.44.4 — legenda e seleção amarela */
.mx-version-help{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:12px 0 14px;
  padding:12px;
  border-radius:18px;
  background:rgba(255,193,7,.10);
  border:1px solid rgba(255,193,7,.30);
  color:#fff4cf;
  font-size:13px;
  font-weight:850;
}
.mx-version-help span{
  display:inline-flex;
  gap:6px;
  align-items:center;
  border-radius:999px;
  padding:7px 10px;
  background:rgba(3,9,18,.38);
}
.mx-version-help b{
  color:#ffd866;
}
.mx-version-fav-indicator{
  pointer-events:none;
  user-select:none;
  display:grid;
  place-items:center;
}
.mx-version-option-row:focus-within .mx-version-fav-indicator{
  transform:scale(1.06);
}
.mx-version-option:hover,
.mx-version-option:focus,
.mx-version-option:focus-visible,
.catalog-local-shell .poster-card:hover,
.catalog-local-shell .poster-card:focus,
.catalog-local-shell .channel-card:hover,
.catalog-local-shell .channel-card:focus,
.catalog-local-shell .episode-card:hover,
.catalog-local-shell .episode-card:focus{
  background:linear-gradient(135deg,rgba(248,213,18,.96),rgba(255,159,26,.92))!important;
  color:#06101e!important;
  border-color:rgba(255,220,70,.95)!important;
  box-shadow:0 0 0 4px rgba(255,210,30,.20),0 24px 52px rgba(0,0,0,.36)!important;
  outline:none!important;
}
.mx-version-option:hover small,
.mx-version-option:focus small,
.catalog-local-shell .poster-card:hover small,
.catalog-local-shell .poster-card:focus small,
.catalog-local-shell .channel-card:hover small,
.catalog-local-shell .channel-card:focus small,
.catalog-local-shell .episode-card:hover small,
.catalog-local-shell .episode-card:focus small{
  color:#3a2a00!important;
}
.mx-version-option:hover b,
.mx-version-option:focus b{
  background:rgba(6,16,30,.88)!important;
  border-color:rgba(6,16,30,.25)!important;
  color:#fff!important;
}
.mx-version-option-row:focus-within{
  border-radius:20px;
}

/* MAXXTV V2 15849.6D - gerenciamento de perfis do cliente */
.profile-settings-shell{margin-bottom:22px;scroll-margin-top:20px;background:linear-gradient(145deg,rgba(20,45,80,.94),rgba(7,16,31,.96));border-color:rgba(111,177,255,.22)}
.profile-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:20px}
.profile-settings-head h2{font-size:28px;margin:0 0 7px;letter-spacing:-.03em}
.profile-settings-head p{margin:0;color:#b7c9e2;line-height:1.5;max-width:720px}
.profile-current-summary{min-width:210px;padding:15px 17px;border-radius:20px;background:linear-gradient(135deg,rgba(56,211,159,.14),rgba(47,128,255,.13));border:1px solid rgba(95,220,179,.24);text-align:right}
.profile-current-summary span,.profile-current-summary small{display:block;color:#a9bdd8;font-size:12px;font-weight:850}
.profile-current-summary strong{display:block;margin:5px 0;font-size:20px}
.profile-create-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end;padding:18px;border-radius:22px;background:rgba(2,8,18,.42);border:1px solid rgba(255,255,255,.08);margin-bottom:16px}
.profile-create-form label,.profile-rename-form label{display:block;margin-bottom:8px;color:#c7d8ee;font-weight:850}
.profile-inline-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.profile-inline-form .input{min-width:0;font-size:16px;min-height:52px;padding:12px 15px}
.profile-inline-form .btn{min-height:52px;white-space:nowrap}
.profile-limit-note{min-width:105px;text-align:center;padding:10px 12px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}
.profile-limit-note strong{display:block;font-size:20px}
.profile-limit-note span{display:block;color:#9fb5d1;font-size:12px;margin-top:3px}
.profile-limit-warning{margin:0 0 16px;padding:13px 15px;border-radius:16px;background:rgba(255,193,7,.11);border:1px solid rgba(255,193,7,.28);color:#ffe8aa}
.profile-management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.profile-management-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;padding:18px;border-radius:24px;background:rgba(3,10,20,.55);border:1px solid rgba(255,255,255,.09)}
.profile-management-card.is-current{border-color:rgba(56,211,159,.48);box-shadow:0 0 0 3px rgba(56,211,159,.08)}
.profile-management-card.is-default{background:linear-gradient(145deg,rgba(28,58,102,.72),rgba(3,10,20,.62))}
.profile-avatar{width:64px;height:64px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,#3b82ff,#00b7ff);color:#fff;font-size:28px;font-weight:950;box-shadow:0 12px 28px rgba(37,124,255,.24)}
.profile-card-main{min-width:0}
.profile-name-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.profile-name-row>strong{font-size:20px;line-height:1.2;overflow-wrap:anywhere}
.profile-badges{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.profile-rename-form{margin-bottom:13px}
.profile-card-actions{display:flex;gap:9px;flex-wrap:wrap}
.profile-card-actions form{margin:0}
.profile-card-actions .btn{font-size:14px;padding:11px 14px;border-radius:14px;min-height:42px}
.profile-card-note{margin:12px 0 0;color:#9fb5d1;font-size:12px;line-height:1.45}
@media(max-width:1100px){.profile-management-grid{grid-template-columns:1fr}}
@media(max-width:760px){.profile-settings-head{display:block}.profile-current-summary{margin-top:16px;text-align:left;min-width:0}.profile-create-row{grid-template-columns:1fr}.profile-limit-note{text-align:left}.profile-inline-form{grid-template-columns:1fr}.profile-inline-form .btn{width:100%}.profile-management-card{grid-template-columns:1fr}.profile-avatar{width:56px;height:56px;border-radius:18px}.profile-name-row{display:block}.profile-badges{justify-content:flex-start;margin-top:8px}.profile-card-actions,.profile-card-actions form,.profile-card-actions .btn{width:100%}}
