/* One navigation surface for the launcher, Settings and IPTV. Theme artwork is untouched. */html body #morph-header {--header-accent:var(--ui-focus-ring,var(--media-accent,#79bdff));box-sizing:border-box!important;height:78px!important;min-height:78px!important;max-height:78px!important;padding:0 14px!important;gap:8px!important;border-radius:40px!important;background:linear-gradient(100deg,var(--iptv-surface-900),var(--iptv-surface-880))!important;border:1px solid var(--iptv-border-200)!important;direction:ltr!important;}html body #morph-header nav {display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;margin:0!important;padding:6px!important;height:68px!important;min-width:0!important;background:transparent!important;border:0!important;overflow-x:auto!important;overflow-y:hidden!important;}html body #morph-header nav button {box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex:0 0 auto!important;height:48px!important;min-height:48px!important;line-height:26px!important;padding:10px 14px!important;margin:0!important;border:1px solid transparent!important;border-radius:28px!important;font-size:20px!important;color:var(--iptv-text-1000)!important;white-space:nowrap!important;background:transparent!important;box-shadow:none!important;outline:none!important;transition:background-color .16s,border-color .16s,box-shadow .16s;}html body #morph-header nav button.active {background:var(--iptv-surface-1000)!important;border-color:var(--header-accent)!important;box-shadow:inset 0 -2px var(--header-accent)!important;}html body #morph-header nav button:focus,html body #morph-header button:focus {background:linear-gradient(120deg,var(--iptv-surface-1000),var(--iptv-surface-1000))!important;color:var(--iptv-text-1000)!important;border-color:var(--header-accent)!important;outline:2px solid var(--header-accent)!important;outline-offset:2px!important;box-shadow:0 0 0 2px var(--iptv-glow-1000),0 0 14px var(--header-accent)!important;}html body #morph-header .brand {min-width:230px!important;max-width:230px!important;flex:0 0 230px!important;height:72px!important;margin:0!important;padding:0!important;}html body #morph-header .brand img[src*="wordmark"] {display:block!important;width:230px!important;height:72px!important;object-fit:contain!important;margin:0!important;}html[data-stream-ui] body #morph-header.has-inline-tools nav{flex:0 1 auto!important;}html[data-stream-ui] body #morph-header #stream-utility button{font-size:20px!important;line-height:26px!important;min-height:48px!important;padding:9px 14px!important;}@media(max-width:1500px){html body #morph-header nav button{font-size:17px!important;padding:10px 10px!important;}html body #morph-header .brand{min-width:210px!important;max-width:210px!important;flex-basis:210px!important;}html body #morph-header .brand img[src*="wordmark"]{width:210px!important;}}@media(max-width:900px){html body #morph-header{height:auto!important;max-height:none!important;min-height:78px!important;}html body #morph-header nav{height:52px!important;}html body #morph-header nav button{font-size:15px!important;height:40px!important;min-height:40px!important;padding:6px 9px!important;}html body #morph-header .brand{min-width:160px!important;max-width:160px!important;flex-basis:160px!important;height:48px!important;}html body #morph-header .brand img[src*="wordmark"]{width:160px!important;height:48px!important;}}body.media-effect-glow-off #morph-header nav button:focus,body.ui-effect-glow-off #morph-header nav button:focus{box-shadow:none!important;}/* One static theme-colored line focus surface for launcher and IPTV. */html body[data-ui-mode=modern][data-theme] main>#morph-header button:focus,html body[data-ui-mode=modern][data-theme] main>#morph-header nav button:focus,html body[data-ui-mode=modern][data-ui-home=true][data-theme] #view-home .home-tools>.tool:focus,html[data-stream-ui] body #morph-header nav button:focus,html[data-stream-ui] body #morph-header nav #kind-live:focus,html[data-stream-ui] body #morph-header button:focus{outline:none!important;outline-offset:0!important;background:repeating-radial-gradient(ellipse at 120% -20%,transparent 0,transparent 13px,var(--ui-focus-surface-a,rgba(255,255,255,.16)) 14px,transparent 16px),linear-gradient(135deg,var(--ui-selected-bg,var(--media-card,#182334)),var(--ui-bg-raised,var(--media-bg,#101827)))!important;border-color:var(--ui-focus-ring,var(--media-accent,#9ddfff))!important;box-shadow:inset 0 0 0 1px var(--ui-focus-ring,var(--media-accent,#9ddfff)),0 0 10px var(--ui-focus-glow,transparent)!important;animation:none!important;}/* TV navigation typography shared by Home and IPTV, independent of inherited theme rules. */html body[data-ui-mode=modern][data-theme] main>#morph-header button:focus,html body[data-ui-mode=modern][data-theme] main>#morph-header nav button:focus,html body[data-ui-mode=modern][data-ui-home=true][data-theme] #view-home .home-tools>.tool:focus,html[data-stream-ui] body #morph-header nav button:focus,html[data-stream-ui] body #morph-header nav #kind-live:focus,html[data-stream-ui] body #morph-header button:focus{background:var(--ui-focused-surface)!important;outline:none!important;border-color:var(--ui-focus-ring,var(--media-accent))!important;}/* Shared primary fill: preserve theme hue with readable, darker selected surfaces. */html body[data-ui-mode=modern][data-theme] #morph-header nav button.active:not(:focus),html[data-stream-ui] body #morph-header nav button.active:not(:focus){background:var(--ui-button-gradient)!important;color:var(--ui-button-text,#fff)!important;}html body[data-ui-mode=modern][data-theme] #view-home #home-continue,html body[data-ui-mode=modern] .ui-button-primary,html body[data-ui-mode=modern] .primary,html body[data-ui-mode=modern] .support-button,html body[data-ui-mode=modern] .fit-btn-primary,html body[data-ui-mode=modern] .fit-chip.on,html body[data-ui-mode=modern] .fit-ctl.main{background:var(--ui-button-gradient)!important;color:var(--ui-button-text,#fff)!important;}/* Launcher matches the established IPTV metrics; IPTV retains its original sizing. */@media(min-width:901px){html body[data-ui-mode=modern][data-theme] main>#morph-header nav button[id]{font-size:20px!important;line-height:26px!important;height:48px!important;min-height:48px!important;padding:10px 14px!important;}}@media(min-width:901px) and (max-width:1500px){html body[data-ui-mode=modern][data-theme] main>#morph-header nav button[id]{font-size:17px!important;padding:10px!important;}}/* Launcher-only larger labels; IPTV header metrics are untouched. */@media(min-width:901px){html body[data-ui-mode=modern][data-theme] main>#morph-header nav button[id]{font-size:26px!important;line-height:32px!important;height:54px!important;min-height:54px!important;padding:10px 16px!important;}}
