/* v1.7.0 — proportions measured from the supplied 1920 × 1040 recording. */
:root{--header-height:56px;--bg:#090d14;--panel:#11141f;--muted:#8991a5;--text:#edf0f8;--border:#252938;--accent:#3980fa}
body{font-size:13px;background:#090d14}
/* Login: 1180 px total, 360 + 394 px form, 26 px gap, 400 px profiles. */
.auth-screen{padding:50px 24px 18px;min-height:100dvh;background:radial-gradient(ellipse at 35% 55%,#14244455,transparent 55%),#090d14}
.auth-nav,.auth-footer{display:none}.provider-notice{width:100%;max-width:1180px;min-height:180px;margin:0 auto 28px;padding:16px 32px 18px;border-radius:12px;border-color:#652539;border-left:4px solid #e22c4a;background:linear-gradient(120deg,#291925,#160f17);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.notice-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#56202d66;color:#ef3554;font-size:21px}.provider-notice strong{font-size:14px;letter-spacing:0;color:#ef3554}.provider-notice p{max-width:850px;margin:0;font-size:13px;line-height:1.6;color:#9c96a6}
.auth-layout{width:100%;max-width:1180px;margin:0 auto;padding:0;display:grid;grid-template-columns:360px 394px 426px;gap:0;align-items:stretch;min-height:644px;flex:0 0 auto}
.welcome.reference-welcome{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:40px 32px 38px;background:radial-gradient(ellipse at 50% 65%,#192e5d77,transparent 65%),linear-gradient(135deg,#0e1730,#0c1227);border:1px solid #262b3c;border-right:0;border-radius:20px 0 0 20px;min-width:0}
.auth-globe{width:88px;height:88px;display:grid;place-items:center;flex-shrink:0;background:#1c243a;border:1px solid #353b50;border-radius:22px;color:#fff}.auth-globe svg{width:53px;height:53px}.reference-welcome h1{font-family:'Outfit',Arial,sans-serif;font-size:32px;line-height:1.2;letter-spacing:-.6px;margin:17px 0 14px;font-weight:800;white-space:nowrap}.reference-welcome h1 span{display:inline;background:none;color:#4588fb}.auth-product-label{font-size:12px;letter-spacing:2px;font-weight:800;color:#9199b0}.reference-welcome>p{font-size:13px;line-height:1.6;max-width:285px;margin:14px 0 0;color:#9199af}.reference-welcome .features{display:flex;flex-direction:column;gap:12px;margin-top:auto;padding-top:45px;width:100%;text-align:left;color:#99a4bc;font-weight:400}.reference-welcome .features>div{font-size:12px;gap:10px}.reference-welcome .features span{height:20px;width:20px;flex-shrink:0;font-size:13px;border:0;border-radius:50%;background:#12352c;color:#29db91}.reference-welcome .legal{font-size:10px;color:#58647e;margin-top:auto;padding-top:50px;line-height:1.5;white-space:nowrap;align-self:flex-start}
.auth-card{max-width:none;padding:38px 36px 36px;border:1px solid #2a2e3d;border-left:0;border-radius:0 20px 20px 0;background:#151925;box-shadow:none;min-width:0}.auth-head{margin-bottom:22px;gap:0}.auth-head .mini-symbol{display:none}.auth-head h2{font-family:'Outfit',Arial,sans-serif;font-size:26px;letter-spacing:-.3px;margin:0 0 4px}.auth-head p{font-size:13px;color:#969aab;line-height:1.45}.auth-card .tabs{height:47px;margin:0 0 22px;padding:4px;background:#1e2335;border:1px solid #2b3043;border-radius:12px}.auth-card .tab{font-size:12px;padding:8px 6px;color:#969cad}.auth-card .tab.active{background:#3d82f4;color:white;border-radius:9px;box-shadow:0 3px 16px #377af433}
.auth-card label{font-size:11px;text-transform:uppercase;color:#9399ab;margin:0 0 26px;line-height:1.2;font-weight:700}.auth-card label>input,.auth-card label>textarea,.auth-card .password-wrap{margin-top:7px}.auth-card label input,.auth-card label textarea{background:#1e2335;border:1px solid #2d3246;border-radius:10px;color:#eaf0fc;padding:12px;font-size:13px;font-weight:400;text-transform:none;height:42px;box-shadow:none}.auth-card .password-wrap input{margin:0;height:42px;padding-right:42px}.auth-card label textarea{height:110px}.auth-card .primary.full{height:45px;margin-top:8px;font-size:13px;border-radius:10px;background:linear-gradient(110deg,#3984f5,#2c65e8);box-shadow:none;padding:12px 16px}.form-foot{display:none}.auth-card .password-wrap{display:block}
.saved-profiles{margin:0 0 0 26px;border:1px solid #272c3d;border-radius:16px;background:#151925;display:flex;flex-direction:column;min-width:0}.profile-totals{padding:0;height:70px;flex-shrink:0;border-bottom:1px solid #272c3d}.profile-totals>div{padding:11px 5px 9px;border-right:1px solid #272c3d}.profile-totals>div:last-child{border:0}.profile-totals strong{font-size:24px;font-family:'Outfit',Arial,sans-serif;line-height:1.2}.profile-totals small{font-size:10px;margin-top:3px;letter-spacing:1px;color:#69728e}.saved-heading{padding:14px 16px;font-size:12px;flex-shrink:0;border-bottom:1px solid #272c3d}.saved-profile-v2{margin:6px 10px}.saved-profile-v2>button:first-child{padding:10px 6px;gap:12px}.saved-profile-v2 .saved-avatar{width:40px;height:40px;font-size:15px}.saved-profile-v2 .saved-profile-copy strong{font-size:12px}.saved-profile-v2 .saved-profile-copy small{font-size:10px}.saved-profile-v2 .saved-status{font-size:10px}.saved-profile-note{margin:auto 0 0;border-top:1px solid #272c3d;padding:10px 16px;text-align:left;font-size:10px;color:#626d88}.saved-empty{font-size:12px}.saved-connect{font-weight:400}
/* App frame and navigation. */
.master-app{height:100dvh;min-height:0;overflow:hidden;background:#090d14}.master-header{height:var(--header-height);min-height:var(--header-height);padding:8px 20px;gap:16px;flex-shrink:0;position:relative;border-bottom:1px solid #242837;background:#10131d;box-shadow:none}.master-brand{font-size:19px;gap:10px}.master-brand .brand-symbol{width:32px;height:32px;border-radius:8px}.master-nav{gap:3px;scrollbar-width:none}.master-nav::-webkit-scrollbar{display:none}.master-nav .nav-item{padding:9px 14px;font-size:13px;font-weight:600;line-height:18px;color:#969fb6}.master-nav .nav-item span{font-size:16px}.master-nav .nav-item.active{background:#1b2944;color:#438aff}.master-tools{gap:8px}.master-tools>.icon-button{width:36px;height:36px;border:1px solid #252b3a;border-radius:9px;background:#171c28;color:#919aae;font-size:19px;padding:0}.master-tools #refresh{display:none}.header-account{padding:4px 8px 4px 4px;border-radius:25px;background:#171c28;border:1px solid #2a3041;gap:8px}.master-profile{font-size:12px;max-width:150px}.master-tools .profile-icon{width:28px;height:28px}.master-tools .searchbox{display:none;position:absolute;right:20px;top:calc(var(--header-height) + 8px);z-index:50;width:300px;padding:0 10px;background:#1d2435;box-shadow:0 10px 30px #0007}.master-tools .searchbox.search-open{display:flex}.master-tools .searchbox input{padding:12px 0;font-size:13px}.master-app .app-content{flex:1;min-height:0;overflow:hidden}.master-main{height:100%;overflow:hidden}
/* Equal independent category and channel columns. */
.live-workspace{grid-template-columns:280px 280px minmax(0,1fr);height:100%;min-height:0;background:#090d14}.live-column{background:#11141f;border-right:1px solid #252938;min-height:0}.live-column-head{padding:18px 16px 12px;height:49px;min-height:49px}.live-column-head strong{font-size:15px;color:#edf0f8}.live-count{background:#1b2130;color:#8596b4;padding:2px 6px;font-size:10px;border-radius:12px}.live-channels #live-channel-total{display:none}.live-filter{margin:0 16px 16px;padding:0 10px;height:37px;border-radius:8px;background:#1e2233;border-color:#2b3044;flex-shrink:0}.live-filter input{padding:9px 0;font-size:12px}.live-filter span{font-size:17px}.live-scroll{padding:6px 8px 20px;border-top:1px solid #252938;scrollbar-color:#343a4b transparent}.live-category-item{min-height:37px;padding:8px 10px;font-size:13px;border-radius:7px;margin:0}.live-category-item strong{font-weight:400}.live-category-item small{font-size:10px;padding:1px 6px;border-radius:12px;background:#1b2130;color:#8496b8}.live-category-item.active,.live-channel-item.active{background:#1b2945;border-color:#2b4975;color:#3f89ff}.live-category-item:hover,.live-channel-item:hover{background:#202536}.live-channel-item{min-height:46px;padding:9px 10px;font-size:13px;gap:10px;margin:0}.live-channel-item .live-logo{width:26px;height:26px;border-radius:5px}.live-channel-item .live-channel-fav{opacity:0;font-size:20px;padding:0;line-height:24px}.live-channel-item:hover .live-channel-fav,.live-channel-item:focus-within .live-channel-fav,.live-channel-item .live-channel-fav.is-fav{opacity:1}.live-empty,.live-loading{padding:42px 12px;font-size:13px;font-weight:600;color:#8b95af}
/* The channel heading stays in place while video/EPG content scrolls. */
.live-stage{padding:0;overflow:hidden;display:flex;flex-direction:column;background:#090d14;min-height:0}.live-stage-head{height:76px;min-height:76px;flex-shrink:0;margin:0;padding:16px 22px;border-bottom:1px solid #202532}.live-stage-head h1{font-size:20px;line-height:24px;margin:0 0 3px;font-family:'Outfit',Arial,sans-serif}.live-stage-head p{font-size:13px;color:#8894ae}.live-fav{padding:9px 13px;border-color:#2b3040;background:#171c28;border-radius:8px;font-size:12px;color:#a4afc4}.live-stage-content{flex:1;min-height:0;overflow-y:auto;padding:18px 22px 40px;scrollbar-width:thin;scrollbar-color:#343a4b transparent}.live-screen{width:100%;aspect-ratio:16/9;max-height:72dvh;min-height:0;border:0;border-radius:10px;position:relative;background:#000}.live-screen video{width:100%;height:100%;object-fit:contain;background:#000}.live-placeholder{background:radial-gradient(ellipse,#04080f,#000 65%);color:#8390a9}.live-placeholder span{font-size:40px;line-height:1;opacity:.4}.live-placeholder p{font-size:14px;font-weight:600;margin-top:16px}.live-loading-overlay{background:#000c;color:#8d9ab0}.live-screen .live-tools{position:absolute;right:12px;bottom:50px;min-height:0;margin:0;opacity:0;pointer-events:none;transition:opacity .15s;z-index:3}.live-screen:hover .live-tools,.live-screen:focus-within .live-tools,.live-screen:has(.live-error:not(.hidden)) .live-tools{opacity:1;pointer-events:auto}.live-tools #live-stream-format{display:none}.live-tools button{font-size:11px;padding:7px 10px;background:#171e2cdd}.live-epg-title{margin:16px 0 10px}.live-epg h2{font-size:14px}.live-epg-title small{display:none}.live-epg-card{padding:12px 14px;gap:12px;background:#171c28;border-color:#282d3c;line-height:1.5}.live-epg-card.is-now{border-color:#282d3c}.epg-label{font-size:10px;line-height:20px}.epg-copy strong{font-size:13px;line-height:18px}.epg-copy .epg-time{font-size:11px;color:#67758f;margin:3px 0 7px}.epg-copy p{font-size:12px;line-height:1.4;color:#8d9bb3}.epg-progress-info{font-size:10px}.live-epg-items{gap:8px}
/* The remaining modules share the same fixed header height and spacing. */
.master-main>.movies-catalog{min-height:0;height:100%;grid-template-columns:280px minmax(0,1fr)}.movies-catalog .catalog-content{height:calc(100dvh - var(--header-height));padding-left:20px;padding-right:20px}.catalog-sidebar{height:calc(100dvh - var(--header-height));top:0;background:#11141f}.catalog-sidebar-head{height:49px;font-size:14px}.catalog-category-list .category-button{font-size:13px;font-weight:400}.catalog-category-list .category-button small{font-size:10px}.movies-catalog .catalog-heading{min-height:76px}.settings-workspace{min-height:0;height:100%;grid-template-columns:280px minmax(0,1fr);overflow:auto}.account-workspace{height:100%;overflow:auto}.settings-nav{background:#11141f}.settings-heading{min-height:76px}.master-main>.dashboard{height:100%;overflow:auto}.movie-mode .player-header,.episode-mode .player-header{height:50px;min-height:50px;padding:10px 20px}.movie-mode .player-header strong,.episode-mode .player-header strong{font-size:15px}.movie-mode .player-header small,.episode-mode .player-header small{font-size:12px}
@media(max-width:1230px) and (min-width:901px){.auth-layout{grid-template-columns:minmax(250px,.9fr) minmax(330px,1fr) minmax(290px,1fr)}.auth-card{padding-left:26px;padding-right:26px}.welcome.reference-welcome{padding-left:24px;padding-right:24px}.reference-welcome h1{font-size:29px}.saved-profiles{margin-left:22px}}
@media(max-width:1150px){.live-workspace{grid-template-columns:220px 220px minmax(0,1fr)}.live-column-head{padding-left:12px;padding-right:12px}.live-filter{margin-left:12px;margin-right:12px}.live-category-item,.live-channel-item{font-size:12px}.master-nav .nav-item{padding-left:9px;padding-right:9px}.master-brand{font-size:17px}}
@media(max-width:1000px){:root{--header-height:104px}.master-header{flex-wrap:wrap;padding:7px 12px;gap:6px 12px;align-content:center}.master-nav{order:3;flex:1 0 100%;height:38px}.master-tools{margin-left:auto}.live-screen{max-height:65dvh}.master-main>.movies-catalog{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:900px){.auth-screen{padding:24px 18px}.provider-notice{min-height:0;padding:18px;margin-bottom:20px}.provider-notice p{font-size:12px}.auth-layout{grid-template-columns:minmax(240px,1fr) minmax(300px,1.1fr);min-height:0}.welcome.reference-welcome{min-height:610px}.auth-card{min-height:610px;padding:30px 25px}.saved-profiles{grid-column:1/-1;margin:20px 0 0;min-height:170px}.reference-welcome h1{font-size:28px}.reference-welcome .legal{white-space:normal}}
@media(max-width:760px){.master-brand{font-size:16px}.master-tools .master-profile{display:block;max-width:95px}.master-header #mobile-nav{display:none}.live-workspace{grid-template-columns:42% 58%;grid-template-rows:320px auto;overflow-y:auto;align-content:start}.live-column{height:320px}.live-column-head{height:45px;min-height:45px;padding:12px 10px}.live-column-head strong{font-size:12px}.live-filter{margin:0 8px 10px;height:34px}.live-filter input{font-size:11px}.live-scroll{padding-left:5px;padding-right:5px}.live-category-item{font-size:11px;padding:7px;min-height:34px}.live-channel-item{font-size:11px;padding:8px 6px;gap:6px;min-height:43px}.live-stage{grid-column:1/-1;overflow:visible;border-top:1px solid #252938}.live-stage-head{height:66px;min-height:66px;padding:13px 12px}.live-stage-head h1{font-size:17px;line-height:21px}.live-stage-head p{font-size:11px}.live-stage-content{overflow:visible;padding:12px}.live-screen{aspect-ratio:16/9;max-height:none;min-height:0}.live-placeholder p{font-size:12px}.live-epg-card{padding:11px 10px;gap:8px}.epg-copy strong{font-size:12px}.epg-copy .epg-time{font-size:10px}.live-fav{font-size:10px;padding:7px}.master-main>.movies-catalog{grid-template-columns:1fr;height:100%;overflow:auto;display:block}.movies-catalog .catalog-content{height:65dvh}.catalog-sidebar{height:auto;max-height:210px;position:static}.settings-workspace{display:block}.settings-nav{display:flex;flex-wrap:wrap;gap:5px;padding:12px}.settings-nav h2{width:100%}.settings-nav>button{width:auto}.master-tools .searchbox{right:12px;width:min(320px,calc(100vw - 24px))}.live-channel-item .live-channel-fav{opacity:1}}
@media(max-width:580px){.auth-screen{padding:18px 12px}.provider-notice{padding:16px 12px}.provider-notice strong{font-size:12px}.provider-notice p{font-size:11px;line-height:1.6}.auth-layout{display:flex;flex-direction:column}.welcome.reference-welcome{min-height:0;padding:22px 20px;border:1px solid #262b3c;border-radius:16px 16px 0 0}.auth-globe{width:52px;height:52px;border-radius:13px}.auth-globe svg{width:35px;height:35px}.reference-welcome h1{font-size:27px;margin:12px 0 8px}.reference-welcome>p{font-size:12px;margin-top:10px}.reference-welcome .features,.reference-welcome .legal{display:none}.auth-card{min-height:0;border-left:1px solid #2a2e3d;border-top:0;border-radius:0 0 16px 16px;padding:26px 22px}.auth-head h2{font-size:24px}.auth-card label{margin-bottom:20px}.auth-card .primary.full{margin-top:5px}.saved-profiles{margin:18px 0 0;min-height:230px}.master-tools .master-profile{max-width:70px}.master-tools{gap:5px}.master-header{padding-left:10px;padding-right:10px}.master-brand{font-size:14px}.master-brand .brand-symbol{width:28px;height:28px}.header-account{gap:5px}.master-nav .nav-item{font-size:12px;padding:8px 10px}}
@media(hover:none){.live-channel-item .live-channel-fav{opacity:1}}

/* Final alignment against the recording. */
.provider-notice{margin-bottom:30px;justify-content:flex-start}.notice-icon svg{width:21px;height:21px}.auth-card{padding-top:40px}.auth-card label{margin-bottom:30px}.auth-card .primary.full{margin-top:12px}.master-nav svg{width:16px;height:16px;display:block}.button-icon{width:14px;height:14px;vertical-align:-2px}.live-placeholder>span{width:44px;height:44px}.live-placeholder svg{width:44px;height:44px}.live-screen{max-height:calc(72dvh - 2px)}.saved-profile-v2 .saved-expiry{display:block;flex-shrink:0;width:80px;text-align:right;color:#8b92a5}.saved-profile-v2 .saved-expiry small{font-size:8px;margin:0 0 3px;color:#626d86}.saved-profile-v2 .saved-expiry strong{font-size:10px;font-weight:600;white-space:normal}.saved-profile-v2 .remove-profile{opacity:0}.saved-profile-v2:hover .remove-profile,.saved-profile-v2:focus-within .remove-profile{opacity:1}
@media(max-width:900px){.provider-notice{margin-bottom:20px}.auth-card{padding-top:30px}.auth-card label{margin-bottom:26px}.saved-profile-v2 .remove-profile{opacity:1}}
@media(max-width:580px){.auth-layout>.reference-welcome{width:100%;align-self:stretch;margin:0}.auth-card{width:100%;padding-top:26px}.auth-card label{margin-bottom:20px}.auth-card .primary.full{margin-top:5px}}
@media(max-width:760px){.live-screen{max-height:none}}

/* Controles de TV: usar la barra integrada del reproductor. */
.live-screen .live-tools{display:none!important}
.live-channel-item,.live-channel-item *{cursor:pointer}

/* Favoritos de TV: estado guardado visible en lista y cabecera. */
.live-channel-item .live-channel-fav.is-fav{color:#f0444d;opacity:1}.live-fav.is-fav{color:#f0444d;background:#301a21;border-color:#713039}.live-fav.is-fav:hover{background:#422029;border-color:#98404b}
