/* v1.3.14 Studio-only dashboard; existing Studio/player styles untouched. */
.gtvo-ultimate{grid-column:1/-1;margin:24px 0 40px;padding:20px;background:#0c1423;border:1px solid #344963;border-radius:14px;color:#e8f2ff;min-width:0}
.gtvo-ultimate header{border-bottom:1px solid #344963;padding-bottom:12px;margin-bottom:18px}.gtvo-ultimate header small{color:#80b7ec;letter-spacing:.14em}.gtvo-ultimate h1{font-size:24px;margin:5px 0 10px}.gtvo-ultimate h1 span{font-size:13px;color:#8bd5ff}.gtvo-ultimate p{color:#b1c2d8;font-size:13px;line-height:1.55}.gtvo-ultimate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.gtvo-ultimate article,.gtvo-ultimate .uoptions{min-width:0;border:1px solid #344963;border-radius:11px;background:#14253b;padding:16px;display:flex;flex-direction:column;gap:9px}.gtvo-ultimate h2{font-size:16px;margin:0 0 4px;color:#f5faff}.gtvo-ultimate label{display:grid;gap:5px;font-size:12px}.gtvo-ultimate select,.gtvo-ultimate input:not([type="checkbox"]){width:100%;min-width:0;max-width:100%;padding:9px;border:1px solid #4d6884;border-radius:7px;background:#0d1a2b;color:#fff}.gtvo-ultimate button{border-radius:7px;cursor:pointer;padding:10px 13px;background:#16665a;color:#fff;border:1px solid #328b7f;font-weight:700}.gtvo-ultimate button:disabled{opacity:.5}.gtvo-ultimate button.udanger{background:#9e273b;border-color:#c54b5e}.gtvo-ultimate a{color:#81ceff;text-decoration:underline}.gtvo-ultimate .uout{padding:10px;background:#0d1c2f;border:1px solid #304966;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;font-size:12px;min-height:35px}.gtvo-ultimate .u-error{color:#ffb5bb}.gtvo-ultimate .uoptions{margin-top:16px}.gtvo-ultimate .uoptions label:has(input[type=checkbox]){display:flex;gap:10px;align-items:center}
.gtvo-ultimate-epg{position:absolute;z-index:19;bottom:12%;left:2%;max-width:85%;display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;background:rgba(8,17,29,.88);color:white;border-left:3px solid #df2644;border-radius:5px;padding:7px 10px;font:600 12px/1.35 sans-serif;pointer-events:none;text-shadow:0 1px 2px #000}.gtvo-ultimate-epg b{color:#ff536a}.gtvo-ultimate-epg span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gtvo-ultimate-epg[hidden]{display:none!important}
@media(max-width:840px){.gtvo-ultimate-grid{grid-template-columns:1fr}.gtvo-ultimate{padding:12px}.gtvo-ultimate-epg{font-size:10px;max-width:90%}}

/* v1.3.15: all sections align inside the second column of .studio-shell.
   Main grid has 210px nav in column 1, content in column 2. */
body.tv-studio .studio-shell{grid-template-columns:210px minmax(0,1fr);}
body.tv-studio .studio-shell > .layout.studio{grid-column:2;grid-row:1;min-width:0;}
body.tv-studio .studio-shell > .gtvo-ultimate,
body.tv-studio .studio-shell > .gtvo-premium,
body.tv-studio .studio-shell > .gtvo-cc{
 grid-column:2 !important;grid-row:auto !important;position:relative;left:auto;right:auto;
 width:calc(100% - 36px) !important;max-width:none !important;min-width:0;
 box-sizing:border-box;margin:0 18px 18px !important;
 padding:20px 22px !important;overflow-x:hidden;scroll-margin-top:16px;
}
body.tv-studio .studio-shell > .gtvo-ultimate{background:#101b2b;border-color:#314962;}
body.tv-studio .studio-shell > .gtvo-ultimate .gtvo-ultimate-grid,
body.tv-studio .studio-shell > .gtvo-premium .gtvo-premium-cards,
body.tv-studio .studio-shell > .gtvo-cc .gtvo-cc-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
body.tv-studio .studio-shell > .gtvo-ultimate *,
body.tv-studio .studio-shell > .gtvo-premium *,
body.tv-studio .studio-shell > .gtvo-cc *{box-sizing:border-box;}
body.tv-studio .studio-shell .gtvo-ultimate article,
body.tv-studio .studio-shell .gtvo-premium-card,
body.tv-studio .studio-shell .gtvo-cc-card{min-width:0;max-width:100%;overflow-wrap:anywhere;}
body.tv-studio .studio-shell .gtvo-ultimate header{display:block;}
@media (max-width:1100px){
 body.tv-studio .studio-shell > .gtvo-ultimate .gtvo-ultimate-grid,
 body.tv-studio .studio-shell > .gtvo-premium .gtvo-premium-cards,
 body.tv-studio .studio-shell > .gtvo-cc .gtvo-cc-grid{grid-template-columns:minmax(0,1fr);}
}
@media(max-width:750px){
 body.tv-studio .studio-shell{display:block;}
 body.tv-studio .studio-shell > .gtvo-ultimate,
 body.tv-studio .studio-shell > .gtvo-premium,
 body.tv-studio .studio-shell > .gtvo-cc{width:calc(100% - 20px) !important;margin:10px !important;padding:13px !important;}
}
