/* Mobile adaptation of the MIT-licensed Saimo TV client. */
html{zoom:1!important;-webkit-text-size-adjust:100%}
html,body{width:100%!important;height:100%!important;overflow:hidden!important;font-size:16px!important;background:#09090b!important}
#app,#tv-screens-container,.tv-screen{width:100%!important;height:100dvh!important;max-width:100vw!important}
.tv-screen{overflow:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.tv-menu-global{position:fixed!important;width:100%!important;height:108px!important;padding:12px 16px 8px!important;padding-top:max(12px,env(safe-area-inset-top))!important;display:block!important;background:#09090bf5!important;border-bottom:1px solid #ffffff18!important}
.tv-menu-logo{height:30px;margin:0 0 8px!important;gap:8px}.tv-menu-logo::after{content:'ZECATV';font-size:19px;font-weight:900;letter-spacing:2px;color:#f22439}
.tv-menu-logo img{width:28px!important;height:28px!important;border-radius:6px!important}.tv-menu-clock{display:none!important}
.tv-menu-tabs{display:flex!important;width:100%;overflow-x:auto!important;gap:5px!important;scrollbar-width:none}
.tv-menu-tab{height:44px!important;min-height:44px;flex:0 0 auto;padding:0 12px!important;font-size:14px!important;gap:6px!important;border-radius:12px!important}
.tv-menu-tab .tv-icone{width:19px!important;height:19px!important}.tv-menu-tab.active{background:#e5091426!important;color:#ff5663!important}.tv-menu-perfil .tv-perfil-avatar{width:26px!important;height:26px!important}
.tv-screen-scroll{padding-top:124px!important;height:100%!important;overflow-y:auto!important;padding-bottom:max(24px,env(safe-area-inset-bottom))!important}
.nav-focusable{touch-action:manipulation;cursor:pointer}.nav-focused{transform:none!important}
.tv-hero-banner{height:auto!important;min-height:145px;padding:12px 20px 24px!important}
.tv-hero-title{font-size:27px!important;line-height:1.15!important;white-space:normal!important;max-width:100%!important}
.tv-hero-meta{font-size:13px!important;line-height:1.6!important;gap:8px!important;flex-wrap:wrap}
.tv-hero-synopsis{font-size:14px!important;line-height:1.5!important;max-height:64px!important;max-width:100%!important}
#screen-home,#screen-ondemand,#screen-favorites,#screen-radios{padding-top:124px!important}
.tv-screen>.tv-hero-banner{position:relative!important;top:auto!important;left:auto!important;min-height:120px!important;height:auto!important;padding-top:0!important}
.tv-screen-scroll.com-hero{position:relative!important;top:auto!important;height:auto!important;padding-top:0!important;overflow:visible!important;clip-path:none!important;-webkit-clip-path:none!important}
.tv-screen{scroll-padding-top:120px}.nav-focusable{scroll-margin-top:120px}
.tv-category-chips{padding:0 16px 14px!important;gap:8px!important;overflow-x:auto!important}.tv-category-chips>.tv-btn{flex-shrink:0;white-space:nowrap!important}
.tv-filtros{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;padding:0 16px 20px!important;overflow-x:auto!important;margin:0!important}
.tv-filtro{flex-shrink:0;font-size:13px!important;min-height:44px!important;height:auto!important;padding:10px 12px!important;border-radius:12px!important}
.tv-filtro .tv-icone{width:18px!important;height:18px!important}
.tv-escolha-titulo{font-size:22px!important;line-height:1.3!important}.tv-escolha-lista{max-height:65dvh!important;overflow-y:auto!important}
.tv-escolha-item{font-size:16px!important;line-height:1.4!important;padding:12px!important;min-height:44px!important}
.tv-rail{padding:0 0 0 16px!important;margin:0 0 22px!important}.tv-rail-header{padding:0 0 9px!important}.tv-rail-title{font-size:19px!important;line-height:1.3!important}
.tv-rail-items{overflow-x:auto!important;overflow-y:hidden!important;gap:9px!important;padding:0 16px 8px 0!important;scroll-snap-type:x proximity}
.tv-card{flex:0 0 138px!important;width:138px!important;padding:3px!important;border-width:2px!important;border-radius:13px!important;scroll-snap-align:start}
.tv-card-poster-wrap{width:128px!important;height:192px!important;border-radius:10px!important}
.tv-card-title,.tv-card>.tv-card-title{position:static!important;padding:0!important;margin:6px 2px 0!important;background:none!important;font-size:13px!important;line-height:18px!important;max-height:36px!important}
.tv-card-subtitle{margin:3px 2px!important;font-size:11px!important}.tv-card.wide{width:240px!important;flex-basis:240px!important}
.tv-card-wide-inner{height:90px!important;padding:12px!important;gap:10px!important}.tv-card-wide-inner .tv-card-img{width:48px!important;height:48px!important}
.tv-card-badge{font-size:10px!important;padding:3px 5px!important;right:5px!important;top:5px!important}.tv-card-remove{width:28px!important;height:28px!important;line-height:24px!important}
.tv-icone{width:22px;height:22px;flex-shrink:0}.tv-btn{font-size:15px!important;min-height:44px!important;height:auto!important;padding:10px 14px!important;border-radius:10px!important;line-height:1.3!important;white-space:normal!important}
input,textarea,select,.tv-campo{font-size:16px!important;min-height:44px!important;max-width:100%!important;padding:12px!important;user-select:text!important;-webkit-user-select:text!important}
.tv-ficha-screen{width:100%!important;height:100dvh!important;overflow-y:auto!important;z-index:160!important}
.tv-ficha-content{padding:70px 18px 30px!important;height:auto!important;min-height:100%;gap:18px!important}.tv-ficha-top{gap:16px!important;flex-direction:column!important}
.tv-ficha-poster{width:120px!important;height:180px!important;align-self:center}.tv-ficha-title{font-size:28px!important}.tv-ficha-main{min-width:0;gap:10px!important}
.tv-ficha-synopsis{font-size:14px!important;line-height:1.6!important;max-width:100%!important}.tv-ficha-badges,.tv-ficha-actions{flex-wrap:wrap;gap:8px!important}
.tv-ficha-badge{font-size:12px!important;padding:4px 8px!important}.tv-ficha-bottom{overflow:visible!important}
.tv-settings-list{margin:124px 0 0!important;height:calc(100dvh - 124px)!important;overflow-y:auto!important;padding:0 16px 30px!important;gap:10px!important}
.tv-settings-item{padding:14px 12px!important;gap:12px;min-height:60px}.tv-settings-item-title{font-size:15px!important}.tv-settings-item-value{font-size:12px!important;max-width:42%;overflow-wrap:anywhere;text-align:right}
.tv-settings-section-title{font-size:18px!important;margin-top:14px!important}
.tv-modal-overlay{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;padding:16px!important;overflow:auto!important}
.tv-modal-content{width:100%!important;max-width:560px!important;padding:22px 18px!important;max-height:90dvh;overflow:auto}.tv-modal-title{font-size:22px!important;margin-bottom:16px!important}
.tv-perfis{padding:126px 20px 30px!important}.tv-perfis-titulo{font-size:28px!important}.tv-perfis-sub{font-size:15px!important;line-height:1.5!important}
.tv-perfis-grade{margin-top:24px!important;gap:12px}.tv-perfis-acoes{margin-top:18px!important}.tv-perfil-avatar{max-width:90px!important;max-height:90px!important}.tv-perfil-cartao{max-width:140px!important;padding:10px!important}
.tv-perfis-nota,.tv-perfis-aviso{font-size:14px!important}
.tv-canal{height:88px!important;border-width:2px!important;border-radius:12px!important}.tv-canal .n{width:26px!important;font-size:12px!important}.tv-canal .l{width:48px!important;height:48px!important;margin:0 10px!important;border-radius:8px!important}
.tv-canal .l img{max-width:42px!important;max-height:42px!important}.tv-canal .t{padding-right:6px!important}.tv-canal i{font-size:10px!important}.tv-canal b{font-size:16px!important}.tv-canal em{font-size:12px!important}.tv-canal u,.tv-canal u s{height:3px!important}
.tv-chip{font-size:13px!important;padding:9px 12px!important;min-height:40px!important;height:auto!important;flex-shrink:0}.tv-scroll-v{overflow-y:auto!important;-webkit-overflow-scrolling:touch}.tv-scroll-h{overflow-x:auto!important}
.tv-search-layout{margin-top:124px!important;height:calc(100dvh - 124px)!important;padding:0 16px 24px!important;gap:18px!important;flex-direction:column!important;overflow:auto!important}
.tv-search-left{width:100%!important;gap:12px!important}.tv-search-right{overflow:visible!important}.tv-search-input-box{font-size:18px!important;padding:12px!important}
.tv-search-input-box,.tv-virtual-keyboard{display:none!important}.zeca-search{width:100%;border:1px solid #ffffff25;border-radius:12px;background:#19191d;color:white}
.tv-search-right .tv-rail{padding-left:0!important}.tv-search-left{flex-shrink:0}.tv-search-right{flex:none!important}
.tv-video-container{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;background:#000!important}
#screen-player{background:transparent!important;pointer-events:none}#screen-player>*{pointer-events:auto}.tv-player-osd,.tv-zap-hud{display:none!important}
.zeca-mobile-back,.zeca-mobile-play{display:none;position:fixed;z-index:1000;border:1px solid #ffffff40;background:#17171def;color:white;border-radius:14px;font:600 15px -apple-system,sans-serif;min-height:44px;padding:10px 16px}
.zeca-mobile-back{top:max(12px,env(safe-area-inset-top));left:12px}.zeca-mobile-play{left:50%;top:50%;transform:translate(-50%,-50%);background:#dc1025;min-width:160px}
body.zeca-playing .zeca-mobile-back,body.zeca-detail .zeca-mobile-back{display:block}body.zeca-playing.zeca-paused .zeca-mobile-play{display:block}
body.zeca-playing #tv-menu-global,body.zeca-detail #tv-menu-global{display:none!important}body.zeca-playing .tv-video-container{z-index:180!important;pointer-events:auto!important}
.zeca-test-link{position:fixed;right:16px;top:max(12px,env(safe-area-inset-top));z-index:120;color:#ddd;font:500 12px -apple-system,sans-serif;border:1px solid #ffffff35;padding:6px 10px;border-radius:8px;background:#19191d;text-decoration:none}
body.zeca-playing .zeca-test-link,body.zeca-detail .zeca-test-link{display:none}
.tv-painel-canais{display:none!important}
.zeca-channels{position:relative;background:#09090b;min-height:100%;padding:128px 16px 30px;z-index:20}
.zeca-channels[hidden]{display:none}.zeca-channels h1{font-size:28px;margin:0 0 6px}.zeca-channel-count{font-size:13px;color:#999;margin-bottom:18px}
.zeca-channels input{width:100%;border:1px solid #ffffff25;border-radius:12px;background:#19191d;color:white;margin-bottom:12px}
.zeca-categories{display:flex;gap:8px;overflow-x:auto;padding-bottom:18px}.zeca-categories button{flex-shrink:0;border:1px solid #ffffff20;border-radius:24px;background:#17171b;color:#ddd;padding:10px 14px;min-height:44px;font-size:13px}.zeca-categories button.active{background:#e5091428;border-color:#e50914;color:#ff6672}
.zeca-channel-list{display:grid;gap:9px}.zeca-channel{width:100%;border:1px solid #ffffff10;background:#151518;color:#fff;border-radius:14px;display:flex;align-items:center;padding:13px;gap:14px;text-align:left;min-height:76px;cursor:pointer}
.zeca-channel img{width:46px;height:46px;object-fit:contain}.zeca-channel span{min-width:0;display:grid;gap:5px}.zeca-channel strong{font-size:16px}.zeca-channel small{font-size:12px;color:#96969f}
.zeca-sources{display:none;position:fixed;right:12px;top:max(12px,env(safe-area-inset-top));z-index:1001;background:#17171d;color:white;border:1px solid #ffffff35;border-radius:12px;width:150px}
body.zeca-live-playing .zeca-sources{display:block}
.zeca-video-status{display:none;position:fixed;left:16px;right:16px;top:80px;z-index:900;color:#ddd;background:#17171de8;border-radius:12px;padding:14px;font-size:14px;text-align:center}
body.zeca-playing .zeca-video-status:not(:empty){display:block}
@media(min-width:600px){.zeca-channel-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:768px){.tv-card{flex-basis:172px!important;width:172px!important}.tv-card-poster-wrap{width:162px!important;height:243px!important}.tv-ficha-top{flex-direction:row!important}.tv-ficha-poster{width:170px!important;height:255px!important}.tv-hero-title{font-size:36px!important}}

/* Phone layout v2: contain card artwork and keep every main tab on screen. */
:root{--zeca-header:calc(60px + env(safe-area-inset-top,0px));--zeca-nav:calc(66px + env(safe-area-inset-bottom,0px))}
.tv-card{min-width:0!important;overflow:hidden;gap:4px!important}
.tv-card.wide{width:min(240px,calc((100vw - 41px)/2))!important;flex:0 0 min(240px,calc((100vw - 41px)/2))!important}
.tv-card-wide-inner{width:100%!important;max-width:100%!important;min-width:0!important;height:112px!important;overflow:hidden!important;border-radius:12px!important;box-sizing:border-box!important}
.tv-card-wide-inner .tv-card-img{width:76px!important;height:76px!important;max-width:100%!important;object-fit:contain!important}
.tv-card-wide-inner .tv-card-placeholder{inset:0!important;width:100%!important;height:100%!important;font-size:32px!important;border-radius:12px!important}
.tv-card-poster-wrap{width:100%!important;max-width:100%!important}
.tv-card>.tv-card-title,.tv-card>.tv-card-subtitle{width:auto!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tv-card.wide>.tv-card-title{white-space:nowrap!important;line-height:20px!important}
.tv-card-progress{position:relative!important;width:100%!important;height:4px!important;margin-top:5px;border-radius:4px;overflow:hidden}
.tv-rail-items{align-items:flex-start!important;scroll-padding-inline:16px;overscroll-behavior-x:contain}
.tv-menu-global{height:var(--zeca-header)!important;padding:12px 16px!important;padding-top:calc(12px + env(safe-area-inset-top,0px))!important}
.tv-menu-logo{margin:0!important}.tv-menu-tabs{display:none!important}
.zeca-test-link{top:calc(12px + env(safe-area-inset-top,0px))}
.tv-screen{scroll-padding-top:calc(var(--zeca-header) + 12px);padding-bottom:calc(var(--zeca-nav) + 20px)!important;overflow-x:hidden!important}
.nav-focusable{scroll-margin-top:calc(var(--zeca-header) + 12px)}
#screen-home,#screen-ondemand,#screen-favorites,#screen-radios{padding-top:calc(var(--zeca-header) + 18px)!important}
.tv-screen-scroll{padding-top:calc(var(--zeca-header) + 18px)!important;padding-bottom:calc(var(--zeca-nav) + 20px)!important}
.tv-screen-scroll.com-hero{padding-top:0!important;padding-bottom:0!important}
.tv-settings-list{margin-top:calc(var(--zeca-header) + 16px)!important;height:calc(100dvh - var(--zeca-header) - var(--zeca-nav) - 16px)!important}
.tv-search-layout{margin-top:calc(var(--zeca-header) + 16px)!important;height:calc(100dvh - var(--zeca-header) - var(--zeca-nav) - 16px)!important}
.tv-perfis{padding-top:calc(var(--zeca-header) + 18px)!important}
.zeca-channels{min-height:0;padding-top:calc(var(--zeca-header) + 18px);padding-bottom:20px}
.tv-hero-banner{min-height:0!important}.tv-screen>.tv-hero-banner{min-height:0!important}
.tv-hero-synopsis{max-height:none!important;-webkit-line-clamp:3}
.zeca-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:150;height:var(--zeca-nav);padding:5px max(5px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#101013;border-top:1px solid #ffffff1c}
.zeca-bottom-nav button{min-width:0;min-height:48px;border:0;border-radius:12px;background:transparent;color:#a6a6b0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font:600 11px -apple-system,BlinkMacSystemFont,sans-serif;cursor:pointer;touch-action:manipulation}
.zeca-bottom-nav button.active{background:#e5091420;color:#ff4055}.zeca-bottom-nav svg{width:21px!important;height:21px!important}.zeca-more-icon{font-size:18px;line-height:21px;letter-spacing:2px}
body.zeca-playing .zeca-bottom-nav,body.zeca-detail .zeca-bottom-nav{display:none}
.zeca-more{position:fixed;inset:auto 12px calc(var(--zeca-nav) + 10px);width:calc(100% - 24px);max-width:440px;max-height:70dvh;margin-inline:auto;padding:16px;background:#19191f;color:white;border:1px solid #ffffff28;border-radius:20px;overflow:auto}
.zeca-more::backdrop{background:#0009}.zeca-more-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.zeca-more-header strong{font-size:18px}
.zeca-more button{display:block;width:100%;min-height:46px;padding:12px;text-align:left;font:500 16px -apple-system,sans-serif;border:0;border-radius:10px;color:white;background:#ffffff08;margin-top:6px;cursor:pointer}
.zeca-more-header button{width:auto;margin:0;background:#ffffff15;font-size:13px}
@media(orientation:landscape) and (max-height:500px){:root{--zeca-header:48px;--zeca-nav:56px}.tv-menu-global{padding-block:8px!important}.zeca-test-link{top:8px}.tv-screen>.tv-hero-banner{padding-bottom:16px!important}.tv-card-wide-inner{height:90px!important}.tv-card-wide-inner .tv-card-img{width:60px!important;height:60px!important}}
