/* TV composition, 1920x1080. Native viewport scaling remains in charge. */
.otv-content{padding:8px 30px 20px}.otv-hero{padding:10px 0 22px}.otv-eyebrow{font-size:18px;letter-spacing:5px;color:#4de4d4;margin:0 0 12px}.otv-hero h1{white-space:pre-line;font-size:60px;line-height:1.07;margin:0 0 18px;color:#fff;letter-spacing:-2px}.otv-subtitle{font-size:23px;color:#b9cbdf;margin:0}.otv-grid{display:flex;flex-wrap:wrap;gap:20px}.otv-tile{width:calc(33.333% - 14px);height:210px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:22px 30px!important;border-radius:26px!important;text-align:left!important;position:relative;background:linear-gradient(125deg,rgba(15,64,80,.9),rgba(7,17,35,.96))!important;border:2px solid #34586d!important;color:#f7fbff!important;box-shadow:0 12px 32px #0004}.otv-tile:nth-child(2),.otv-tile:nth-child(3){background:linear-gradient(125deg,rgba(72,29,77,.85),rgba(7,17,35,.96))!important}.otv-tile img{height:76px;width:76px;object-fit:contain;margin-bottom:10px}.otv-tile strong{font-size:29px}.otv-tile small{font-size:18px;color:#adc2d5;margin-top:7px}.otv-tile:focus,.otv-modal button:focus{outline:4px solid #56ffe8!important;outline-offset:4px;box-shadow:0 0 35px #2fffd044}.otv-home-footer{display:flex;justify-content:space-between;margin-top:24px;color:#a8bdd1;font-size:19px}.otv-active{color:#4de4d4}.otv-modal{position:fixed;inset:0;z-index:9999;background:rgba(2,7,18,.94);display:flex;align-items:center;justify-content:center;color:#edf6ff}.otv-sheet{width:1550px;max-height:950px;overflow:auto;border:2px solid #32566e;border-radius:30px;padding:46px;background:linear-gradient(120deg,#102d40,#101325);box-shadow:0 30px 100px #000}.otv-sheet h1{font-size:46px;margin:10px 0 28px}.otv-detail-layout{display:flex;gap:40px}.otv-poster{width:265px;max-height:390px;object-fit:contain;border-radius:16px}.otv-detail-copy{flex:1}.otv-description{font-size:28px;line-height:1.5;max-height:335px;overflow:auto;white-space:pre-line}.otv-meta{font-size:24px;color:#58e4d8}.otv-credits{font-size:21px;color:#abbdd3}.otv-actions{display:flex;gap:20px;margin-top:32px}.otv-modal button{padding:18px 32px;background:#15384b;border:2px solid #4d7087;border-radius:15px;font-size:25px;color:#fff}.otv-actions button:first-child{background:#3ce4d1;color:#062631}.otv-manage .dashboard{display:flex}.dialog-backdrop .dialog{background:linear-gradient(125deg,#123447,#14152b);border:2px solid #3c657a;border-radius:25px}.dialog-backdrop input{background:#071b2b;color:#fff;border-radius:12px}

.otv-category-grid{display:flex;flex-wrap:wrap;gap:18px;margin:25px 0;max-height:580px;overflow:auto;padding:8px}.otv-category-grid button{width:calc(33.333% - 14px);min-height:85px;text-align:left;white-space:normal}.otv-category-grid button:focus{background:#206778}

.otv-now-next{font-size:23px;color:#e3f8ff;padding:10px 0}.otv-now-next p{margin:5px 0}.otv-now-next p:first-child{color:#4de4d4}.otv-diagnostics{font-size:28px;line-height:1.7;margin:35px 0}.otv-pass{color:#51e5ba}.otv-fail{color:#ffb38d}.otv-form{display:flex;flex-wrap:wrap;gap:20px}.otv-form label{display:block;width:calc(50% - 14px);font-size:22px;color:#c8dcea}.otv-form input{display:block;box-sizing:border-box;width:100%;margin-top:8px;padding:18px;background:#061b2b;border:2px solid #45677c;border-radius:12px;color:#fff;font-size:25px}.otv-list-manager{max-height:520px;overflow:auto;margin-top:24px}.otv-list-row{display:flex;align-items:center;gap:20px;border-top:1px solid #34566d;padding:18px 0;font-size:25px}.otv-list-row strong{flex:1}.otv-form-status{font-size:23px;color:#ffca97}

.otv-modal{top:0;right:0;bottom:0;left:0}.otv-tile:focus small{color:#b8e8e4!important}.otv-grid{gap:0;margin:-10px}.otv-tile{margin:10px;width:calc(33.333% - 20px)}.otv-category-grid{gap:0}.otv-category-grid button{margin:9px;width:calc(33.333% - 20px)}.otv-actions{gap:0}.otv-actions button{margin:0 20px 12px 0}.otv-detail-layout{gap:0}.otv-poster{margin-right:40px}

.otv-sheet>button{margin:10px}.otv-form input:focus{outline:3px solid #65ffdf;outline-offset:3px}

.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}.brand-mark{background:transparent!important;box-shadow:none}#otvHomeBack{position:absolute;right:100px;top:50px;height:auto;min-height:64px}

.otv-multiview{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10010;background:#071322;color:#f1f8ff;padding:38px 72px;font-size:23px}.mv-header h1{font-size:42px;margin:0 0 6px;color:#48e5d6}.mv-header p{margin:0 0 14px;color:#aec3d8;font-size:21px}.otv-multiview button{margin:6px 14px 6px 0;background:#17374c;border:2px solid #416680;border-radius:14px;padding:14px 24px;color:#fff;font-size:23px;min-height:60px}.otv-multiview button:focus,.mv-search:focus{outline:4px solid #67ffe8;outline-offset:3px;background:#19566a!important;color:#fff!important}.mv-toolbar{margin:14px 0 8px}.mv-count{color:#5be6d5;margin-left:20px}.mv-slots{display:flex;margin-bottom:10px}.mv-slots button{width:24%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mv-slots .mv-selected{border-color:#5affdf;background:#1e5865}.mv-search{max-width:1150px;background:#0c2438;color:#fff;padding:16px;border:2px solid #486c84;border-radius:12px;font-size:25px;margin:8px 0 16px}.mv-channels{display:flex;flex-wrap:wrap;max-height:310px;overflow:auto;padding:5px}.mv-channels button{width:calc(33.333% - 20px);text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mv-start{background:#31d7c3!important;color:#052b35!important;min-width:420px;margin-top:16px!important}.mv-footer{margin-top:14px}.mv-status{min-height:28px;margin:8px 0;color:#7cf6e8}.mv-audio{display:flex;flex-wrap:wrap}.mv-playing{background:transparent;padding:0}.mv-playing .mv-header{position:absolute;top:0;left:0;right:0;padding:20px 55px;background:linear-gradient(#04101ff2,#04101f77,transparent)}.mv-playing .mv-header h1{font-size:29px}.mv-playing .mv-header p{display:none}.mv-playing .mv-footer{position:absolute;bottom:0;left:0;right:0;padding:16px 55px;background:linear-gradient(transparent,#04101fee)}.otv-multi-active #playerOsd{display:none!important}.otv-tile{width:calc(25% - 20px);height:205px}.otv-tile strong{font-size:26px}.otv-tile small{font-size:17px}

.mv-sources{white-space:nowrap;overflow-x:auto;max-width:100%;margin:5px 0}.mv-sources button{font-size:20px;min-height:48px;padding:9px 18px}.mv-channels{max-height:240px}

/* Unified channel tiles across all three TV clients. */
#channels{display:flex;flex-wrap:wrap;align-content:flex-start;padding:6px;overflow-y:auto}#channels .channel-item{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;flex:none;width:calc(25% - 16px);height:208px;min-height:208px;margin:8px;padding:18px 12px;background:linear-gradient(140deg,#123c50,#0b182b);border:2px solid #31566d;border-radius:20px;text-align:center}
#channels .channel-name{font-size:23px;white-space:normal;line-height:1.2;max-height:58px;overflow:hidden}#channels .channel-number{position:absolute;left:12px;top:10px;font-size:16px;color:#7ea7bb}.channel-logo{display:flex;justify-content:center;align-items:center;width:150px;height:105px;margin-bottom:10px}.channel-logo img{max-width:100%;max-height:100%;object-fit:contain}#channels .group{font-size:16px;color:#a8bccd;margin-top:7px}.more-item{width:calc(100% - 16px)!important;height:70px!important;min-height:70px!important}
#channelList .vlist-inner{display:flex;flex-wrap:wrap;align-content:flex-start;padding:0 7px}#channelList .vrow{flex:none;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:calc(25% - 16px);height:208px!important;margin:8px;padding:14px 10px;border:2px solid #31566d;border-radius:20px;background:linear-gradient(140deg,#123c50,#0b182b);text-align:center}#channelList .row-badge{width:150px;height:105px;border-radius:10px;margin:0 0 10px;background:transparent;flex:none}#channelList .row-badge img{width:100%;height:100%;object-fit:contain}#channelList .row-name{font-size:23px;white-space:normal;line-height:1.2;max-height:58px;overflow:hidden}#channelList .row-text{width:100%;flex:none}#channelList .row-num{position:absolute;left:10px;top:8px;font-size:16px;width:auto}#channelList .row-group{font-size:16px;margin-top:6px;color:#a8bccd}#channelList .row-fav{position:absolute;right:12px;top:7px}#channelList .row-more,#channelList .row-warn{display:none}#channelList .vrow:focus,#channels .channel-item:focus{border-color:#76ffe5;outline:3px solid #76ffe5;outline-offset:1px;background:linear-gradient(140deg,#19566a,#102b40);color:#fff}#channelList .vrow:focus .row-name{color:#fff}
.otv-language{position:relative;margin-left:auto;display:inline-block}.otv-language>button{display:flex;align-items:center;padding:12px 18px;min-width:140px;background:#102c42;border:2px solid #34586d;border-radius:14px;color:#fff;font-size:22px}.otv-language img{width:40px;height:28px;object-fit:cover;margin-right:12px;border-radius:4px}.otv-language-menu{position:absolute;right:0;top:100%;z-index:12000;width:250px;background:#0b2338;border:2px solid #4c788e;border-radius:16px;padding:10px;box-shadow:0 20px 50px #0008}.otv-language-menu button{display:flex;align-items:center;width:100%;margin:4px 0;padding:14px 16px;background:#14374b;color:#fff;border-radius:10px;font-size:22px}.otv-language button:focus{outline:3px solid #6fffe6;outline-offset:2px}.otv-language-menu[hidden]{display:none!important}.otv-home-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.otv-home-header>.spacer{display:none}.otv-home-header #btnRefresh,.otv-home-header #btnSettings,.otv-home-header #licenseChip{display:none}.otv-content{padding:8px 24px}.otv-source-panel{background:linear-gradient(135deg,#103345,#111c32);border:2px solid #31566d;border-radius:24px}.otv-manage .account-panel,.otv-manage .side-panel{display:none}.otv-manage .lists-panel,.otv-manage .playlist-panel{width:100%;padding:32px;border-radius:24px;background:linear-gradient(135deg,#103345,#111c32)}.otv-manage .playlist-card,.otv-manage #playlistGrid .card{border:2px solid #3b637b;border-radius:18px;background:#102a40;padding:25px;min-height:130px}.otv-manage #otvHomeBack{z-index:10}.otv-manage .dashboard{height:calc(100% - 135px)}

.otv-home-header .brand-mark{width:72px;height:72px;margin-right:20px}.otv-home-header h1{font-size:42px;letter-spacing:3px;color:#43e9d9;font-weight:800;margin:0}.otv-home-header h1 span{color:#43e9d9}.otv-home-header p{font-size:23px;color:#a5b1c4;margin:8px 0 0}
