/* OndaVeo: marco persistente y composición TV adaptable al viewport real. */
html,body{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important;background:#061020!important}
#app{position:relative!important;inset:0!important;width:100vw!important;height:100vh!important;min-width:0!important;min-height:0!important;overflow:hidden!important;padding:0!important}
.ov-content{position:fixed!important;inset:0!important;z-index:50!important;display:flex!important;width:100vw!important;height:100vh!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important;background:radial-gradient(ellipse at 3% 100%,#073d4b 0,transparent 44%),radial-gradient(ellipse at 100% 75%,#261838 0,transparent 44%),#061020!important}
.ov-content[style*="display: none"]{display:none!important}
.ov-rail{width:clamp(180px,19.7vw,302px)!important;height:100%!important;flex:0 0 clamp(180px,19.7vw,302px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:clamp(12px,2.2vw,34px) clamp(10px,1.6vw,24px)!important;background:linear-gradient(160deg,#10182c,#07101f 78%)!important;border-right:1px solid #243d55!important}
.ov-brand{display:flex!important;align-items:center!important;margin:0 8px clamp(10px,2vw,32px)!important;font-size:clamp(17px,2.1vw,31px)!important;white-space:nowrap}
.ov-brand img{width:clamp(34px,4vw,62px)!important;height:clamp(34px,4vw,62px)!important;margin-right:10px!important;object-fit:contain}
.ov-nav-item{display:flex!important;align-items:center!important;width:100%!important;min-height:clamp(34px,5.5vh,76px)!important;height:auto!important;margin:clamp(2px,.65vh,8px) 0!important;padding:7px 10px!important;border:2px solid transparent!important;border-radius:16px!important;background:transparent!important;color:#e8edf9!important;font-size:clamp(14px,1.85vw,27px)!important;text-align:left!important;white-space:nowrap}
.ov-nav-item img{width:clamp(23px,2.8vw,42px)!important;height:clamp(23px,2.8vw,42px)!important;flex:none;margin:0 clamp(8px,1.2vw,18px) 0 0!important;object-fit:contain}
.ov-nav-item.ov-current{background:#103239!important;color:#63ffe4!important;box-shadow:inset 3px 0 #48efdf,0 8px 22px #0003!important}
.ov-nav-item:focus{background:#154251!important;border-color:#60ffe6!important;box-shadow:0 0 22px #31e6d44d!important;outline:2px solid #60ffe6!important}
.ov-main{display:flex!important;flex:1!important;flex-direction:column!important;width:auto!important;height:100%!important;min-width:0!important;min-height:0!important;padding:clamp(8px,2vw,30px) clamp(10px,2.5vw,38px)!important;overflow:hidden!important}
.ov-top{height:clamp(32px,7vh,70px)!important;min-height:32px!important;flex:none!important;margin:0 0 clamp(6px,1.7vh,20px)!important}
.ov-top h1{max-width:72vw!important;font-size:clamp(17px,2.65vw,40px)!important;white-space:nowrap!important}
.ov-top-meta{font-size:clamp(12px,1.5vw,22px)!important}.otv-active{max-width:24vw!important;padding:6px 12px!important;font-size:inherit!important}.ov-clock{font-size:clamp(15px,2vw,30px)!important;margin-left:12px!important}
.ov-home-view{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden}
.ov-hero{flex:none!important;height:clamp(118px,42vh,440px)!important;min-height:0!important;padding:clamp(10px,3.4vh,42px) clamp(14px,3vw,44px)!important;border-radius:24px!important;background:linear-gradient(90deg,#061321ef,#09152ecf 48%,#081a3260),url('../assets/ondaveo-aurora.png') center 47%/cover no-repeat!important}
.ov-hero .otv-eyebrow{font-size:clamp(9px,1.2vw,18px)!important;letter-spacing:3px!important;margin-bottom:clamp(2px,1.2vh,12px)!important}
.ov-hero h2{font-size:clamp(21px,4.1vw,62px)!important;line-height:1.05!important;margin:clamp(4px,1.3vh,15px) 0!important;letter-spacing:-1px!important}
.ov-hero .otv-subtitle{font-size:clamp(12px,1.7vw,26px)!important;line-height:1.25!important}
.ov-hero-actions{display:flex!important;gap:clamp(5px,1.5vw,22px)!important;margin-top:clamp(5px,1.7vh,22px)!important}
.ov-hero-actions button{min-height:clamp(32px,7vh,70px)!important;margin:0!important;padding:clamp(5px,1.4vw,18px) clamp(9px,2vw,28px)!important;border:2px solid #596f91!important;border-radius:16px!important;background:#0d1932!important;color:#fff!important;font-size:clamp(12px,1.8vw,27px)!important}
.ov-hero-actions button:first-child{background:#113c47!important;border-color:#35d8ca!important}
.ov-section-title{flex:none!important;font-size:clamp(15px,2.2vw,32px)!important;margin:clamp(5px,1.7vh,22px) 0 clamp(4px,1vh,14px)!important}
.ov-content .otv-grid{display:flex!important;flex:1!important;min-height:0!important;max-height:30vh!important;flex-wrap:nowrap!important;gap:clamp(5px,1vw,14px)!important;margin:0!important}
.ov-content .otv-tile{display:flex!important;flex:1 1 0!important;width:25%!important;height:auto!important;min-width:0!important;min-height:0!important;margin:0!important;padding:clamp(5px,1.4vw,20px)!important;align-items:center!important;justify-content:center!important;text-align:center!important;border:1px solid #315d75!important;border-radius:22px!important;background:linear-gradient(145deg,#0b4551,#0d1b30 72%,#211638)!important}
.ov-content .otv-tile:nth-child(2){background-image:linear-gradient(145deg,#391d4d,#0d1b30 72%)!important}
.ov-content .otv-tile:nth-child(3){background-image:linear-gradient(145deg,#123b57,#0d1b30 72%)!important}
.ov-content .otv-tile:nth-child(4){background-image:linear-gradient(145deg,#15463d,#0d1b30 72%)!important}
.ov-content .otv-tile img{width:clamp(28px,8vh,112px)!important;height:clamp(28px,8vh,112px)!important;margin:0 0 clamp(3px,1.1vh,12px)!important;object-fit:contain!important}
.ov-content .otv-tile strong{font-size:clamp(10px,1.85vw,28px)!important;line-height:1.15!important}.ov-content .otv-tile small{font-size:clamp(8px,1.35vw,20px)!important;margin-top:4px!important}
.ov-content .otv-home-footer{flex:none!important;justify-content:center!important;font-size:clamp(9px,1.5vw,22px)!important;margin:clamp(4px,1vh,12px) 0 0!important}
.ov-view{display:none;flex:1;min-width:0;min-height:0;overflow:auto;position:relative}
.ov-view>.screen{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;min-width:0!important;min-height:100%!important;padding:0!important;overflow:auto!important;background:transparent!important;border:0!important;border-radius:0!important}
.ov-view>.screen>.brand,.ov-view>.screen>.browser-head{display:none!important}
.ov-view>.screen>.settings,.ov-view>.screen>.browser{height:auto!important;max-height:none!important;margin:0!important}
.ov-view>.screen>.settings{display:flex!important;gap:clamp(8px,1.5vw,20px)!important;overflow:auto!important}
.ov-view .settings-col{flex:1 1 0!important;width:50%!important;min-width:0!important;margin:0!important;padding:clamp(10px,2vw,30px)!important}
.ov-view .settings-col button{display:block!important;width:100%!important;max-width:100%!important;min-height:clamp(54px,8vh,86px)!important;margin:clamp(6px,1vh,12px) 0!important;padding:clamp(8px,1.6vw,20px)!important;white-space:normal!important;line-height:1.2!important;text-align:center!important}
.ov-view #screen-browser{display:flex!important;flex-direction:column!important}
.ov-view #screen-browser .browser-head{display:flex!important;flex:none!important;min-height:clamp(35px,7vh,74px)!important;height:auto!important;flex-wrap:wrap!important}
.ov-view #screen-browser .browser-head h1{font-size:clamp(16px,2.2vw,32px)!important;max-width:26vw!important}
.ov-view #screen-browser .browser-head input{width:min(30vw,360px)!important;font-size:clamp(12px,1.5vw,22px)!important}
.ov-view #screen-browser .browser-head button{min-height:34px!important;padding:6px 12px!important;font-size:clamp(10px,1.35vw,20px)!important}
.ov-view #screen-browser .browser{display:flex!important;flex:1!important;min-height:0!important;overflow:hidden!important}
.ov-view #screen-browser .col-categories{width:25%!important;min-width:180px!important;margin-right:12px!important}
.ov-view #screen-browser .col-channels{flex:1!important;min-width:0!important}
.ov-view #screen-browser #categoryList,.ov-view #screen-browser #channelList{height:calc(100% - 34px)!important;overflow:auto!important}
.ov-view #screen-browser .legend{display:flex!important;flex:none!important;position:static!important}
.ov-view #screen-home .dashboard{height:auto!important;max-height:100%!important;overflow:auto!important;gap:12px!important}
.ov-view #screen-home .side-panel{width:34%!important;min-width:0!important;padding:16px!important}
.ov-view #screen-home .lists-panel{min-width:0!important;padding:16px!important}
.ov-view #screen-home .card-grid{height:auto!important;max-height:60vh!important;overflow:auto!important}
.ov-view #screen-home #otvHomeBack{position:static!important}
@media(max-height:420px){.ov-rail{padding:7px 9px!important}.ov-brand{font-size:15px!important;margin:0 4px 4px!important}.ov-brand img{width:30px!important;height:30px!important}.ov-nav-item{min-height:30px!important;height:30px!important;margin:1px 0!important;padding:3px 6px!important;font-size:13px!important;border-radius:10px!important}.ov-nav-item img{width:21px!important;height:21px!important}.ov-main{padding:6px 9px!important}.ov-top{height:26px!important;min-height:26px!important;margin-bottom:4px!important}.ov-hero{height:38vh!important;min-height:105px!important;padding:7px 12px!important}.ov-hero .otv-eyebrow{font-size:8px!important;margin:0 0 2px!important}.ov-hero h2{font-size:19px!important;margin:2px 0!important}.ov-hero .otv-subtitle{font-size:10px!important}.ov-hero-actions{margin-top:3px!important}.ov-hero-actions button{min-height:25px!important;padding:3px 7px!important;font-size:10px!important}.ov-section-title{font-size:13px!important;margin:4px 0!important}.ov-content .otv-grid{max-height:28vh!important;gap:4px!important}.ov-content .otv-tile img{width:24px!important;height:24px!important;margin-bottom:1px!important}.ov-content .otv-tile strong{font-size:9px!important}.ov-content .otv-tile small{display:none!important}.ov-content .otv-home-footer{font-size:8px!important;margin-top:3px!important}.ov-view .settings-col{padding:6px!important}.ov-view .settings-col button{min-height:28px!important;font-size:10px!important}}
/* Compatibilidad con las páginas legacy de Tizen/webOS/Titan OS. */
.ov-view>.page{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;min-width:0!important;min-height:100%!important;padding:0!important;overflow:auto!important;background:transparent!important;border:0!important}
.ov-view>.page>.brand,.ov-view>.page>.browser-head{display:none!important}
.ov-view #home .dashboard{height:auto!important;max-height:100%!important;overflow:auto!important;gap:12px!important}
.ov-view #home .side-panel{width:34%!important;min-width:0!important;padding:16px!important}
.ov-view #home .lists-panel{min-width:0!important;padding:16px!important}
.ov-view #home .card-grid{height:auto!important;max-height:60vh!important;overflow:auto!important}
.screen.player:not(.hidden),.page.player-page:not(.hidden){position:absolute!important;inset:0!important;width:100vw!important;height:100vh!important;min-width:0!important;min-height:0!important;padding:0!important;overflow:hidden!important;background:#000!important;z-index:100!important}
.screen.player #video,.page.player-page #video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;background:#000!important}
