/* Approved Model C: TV strip, centered navigation, compact account actions. */
#khl-site-header .khl-actions{width:max-content!important;min-width:0!important;flex:0 0 auto!important}
dialog#ksr-menu.khl-menu .ksr-tv-live:before{display:none!important}
#khl-site-header{display:flex!important;flex-direction:column!important;position:relative!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important;gap:0!important;border:0!important;border-bottom:1px solid #35412a!important;background:#10150f!important;direction:ltr!important;color:#e9ecd8!important;box-sizing:border-box!important}
#khl-site-header *{box-sizing:border-box}
#khl-site-header .khl-top{display:block!important;order:0!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:var(--ksr-utility-bg,#182016)!important;direction:ltr!important}
#khl-site-header .khl-top-inner{height:32px;max-width:1320px;padding:0 30px;margin:auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px}
#khl-site-header .khl-tv{justify-self:start}
#khl-site-header .khl-collab{justify-self:center}
#khl-site-header .khl-counts{justify-self:end;display:flex!important;align-items:center;gap:18px!important;direction:ltr!important;font-family:"Chakra Petch",Arial,sans-serif!important}
#khl-site-header .khl-counts a{display:inline-flex;align-items:center;font:600 11px/1.3 "Chakra Petch",Arial,sans-serif!important;color:#c3ceb2!important;white-space:nowrap;text-decoration:none}
#khl-site-header .khl-counts .ksr-live:before{width:5px;height:5px;margin-inline-end:6px;box-shadow:none;animation:none}
#khl-site-header .khl-top .watch{display:inline-flex!important;align-items:center;justify-content:center;height:auto!important;min-height:0!important;gap:8px!important;margin:0!important;padding:5px 0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;font:700 11px/1.5 KFSBody,Vazir,Tahoma,sans-serif!important;color:#e9ecd8!important;text-decoration:none!important;white-space:nowrap}
#khl-site-header .khl-collab .watch{font-weight:400!important;color:#bcc6a6!important}
#khl-site-header .ksr-tv-live{display:inline-flex!important;align-items:center;gap:5px;font:600 10px/1 "Chakra Petch",Arial,sans-serif!important;color:#ddedbe!important;direction:ltr!important;letter-spacing:.5px}
#khl-site-header .ksr-tv-live:after{content:'';display:block;width:5px;height:5px;border-radius:50%;background:#ef5652}
#khl-site-header .ksr-tv-live:before{display:none!important}
#khl-site-header .khl-main{display:grid!important;grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr);align-items:center;gap:20px;width:100%;max-width:1320px;height:68px;padding:0 30px;margin:auto;direction:ltr}
#khl-site-header .brand{justify-self:start!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;margin:0!important;padding:0!important;width:max-content!important;min-width:0!important;direction:ltr!important;flex:none!important}
#khl-site-header .brand>img{width:38px!important;height:38px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;margin:0!important}
#khl-site-header .brand .ksr-wordmark-wrap{width:142px!important;height:43px!important;display:flex!important;align-items:center!important;overflow:hidden!important}
#khl-site-header .brand img.ksr-wordmark{width:100%!important;height:auto!important;object-fit:contain!important}
#khl-site-header .khl-main>nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:22px!important;margin:0!important;padding:0!important;order:0!important;flex:none!important;direction:rtl!important;white-space:nowrap}
#khl-site-header .khl-main>nav a,#khl-site-header .khl-overlay-reserved{display:inline-flex!important;align-items:center;min-height:40px!important;margin:0!important;padding:10px 0!important;border:0!important;background:none!important;font:700 13px/1.5 KFSBody,Vazir,Tahoma,sans-serif!important;color:#e9ecd8!important;text-decoration:none!important;white-space:nowrap}
#khl-site-header .khl-main>nav a:hover{color:#d3ff3d!important}
#khl-site-header .khl-overlay-reserved{color:#b3bda7!important;cursor:default}
#khl-site-header .khl-actions{display:flex!important;justify-self:end!important;align-items:center!important;gap:8px!important;margin:0!important;padding:0!important;direction:rtl!important}
#khl-site-header .khl-actions>.watch{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:0!important;height:36px!important;padding:0 12px!important;margin:0!important;border:1px solid #465235!important;border-radius:6px!important;background:transparent!important;color:#f2edda!important;font:700 12px/1.5 KFSBody,Vazir,Tahoma,sans-serif!important;white-space:nowrap!important;box-shadow:none!important}
#khl-site-header .khl-actions>.kfs-header-register{background:#d1ff38!important;color:#111a0c!important;border-color:#d1ff38!important}
#khl-site-header .khl-actions>.kfs-header-register .lux-icon{display:none!important}
#khl-site-header .khl-native-collab{display:none!important}
#khl-site-header>.ksr-toggle{display:none!important}
#khl-site-header a:focus-visible,#khl-site-header button:focus-visible{outline:2px solid #cfff36!important;outline-offset:3px}
dialog#ksr-menu.khl-menu{position:fixed!important;inset:0!important;margin:auto!important;height:fit-content!important;width:min(400px,calc(100vw - 28px))!important;max-height:calc(100dvh - 24px)!important;padding:16px 22px!important;overflow:hidden!important;scrollbar-width:none!important;--gh-edge-width:12px}
dialog#ksr-menu.khl-menu::-webkit-scrollbar{display:none!important}
dialog#ksr-menu.khl-menu::backdrop{background:#10150f88;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
dialog#ksr-menu.khl-menu>nav{display:grid!important;gap:0!important;margin:8px 0!important}
dialog#ksr-menu.khl-menu>nav a,dialog#ksr-menu.khl-menu>nav .khl-overlay-reserved{display:block;text-align:center;padding:8px!important;font:400 20px/1.3 var(--gh-press-font,GHPress),KFSHeading,Ario,sans-serif!important;color:var(--gh-ink,#20251d)!important;border:0!important}
dialog#ksr-menu.khl-menu .ksr-close{height:34px!important;min-height:0!important;padding:4px 10px!important;font:700 13px KFSBody,Vazir,sans-serif!important}
dialog#ksr-menu.khl-menu .kfs-header-actions{display:grid!important;gap:8px!important;margin-top:10px!important}
dialog#ksr-menu.khl-menu .watch{height:40px!important;min-height:0!important;padding:7px 12px!important;font:700 13px/1.4 KFSBody,Vazir,sans-serif!important;color:#20251d!important;background:none!important;border:1px solid #20251d55!important;border-radius:6px!important;justify-content:center!important}
dialog#ksr-menu.khl-menu .kfs-header-register{background:#dce4b6!important}
dialog#ksr-menu.khl-menu .lux-icon{display:none!important}
dialog#ksr-menu.khl-menu .ksr-tv-live{font:600 10px "Chakra Petch",Arial,sans-serif!important;color:#20251d!important;direction:ltr;display:inline-flex;align-items:center;gap:5px}
dialog#ksr-menu.khl-menu .ksr-tv-live:after{content:'';width:5px;height:5px;border-radius:50%;background:#ef5652}
@media(min-width:901px) and (max-width:1190px){#khl-site-header .khl-main{padding-inline:22px;gap:12px}#khl-site-header .brand>img{width:34px!important;height:34px!important}#khl-site-header .brand .ksr-wordmark-wrap{width:117px!important}#khl-site-header .khl-main>nav{gap:14px!important}#khl-site-header .khl-main>nav a,#khl-site-header .khl-overlay-reserved{font-size:12px!important}#khl-site-header .khl-actions>.watch{font-size:11px!important;padding-inline:9px!important}#khl-site-header .khl-top-inner{padding-inline:22px}}
@media(max-width:900px){#khl-site-header .khl-main{order:0!important;height:60px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 18px!important;gap:10px!important}#khl-site-header .khl-top{order:1!important}#khl-site-header .khl-top-inner{height:30px!important;padding:0 18px!important;display:flex!important;justify-content:space-between!important;gap:12px!important}#khl-site-header .khl-tv{display:none!important}#khl-site-header .khl-collab{order:0}#khl-site-header .khl-counts{order:1;gap:12px!important}#khl-site-header .khl-counts a{font-size:10px!important}#khl-site-header .khl-collab .watch{font-size:10px!important}#khl-site-header .brand>img{width:34px!important;height:34px!important}#khl-site-header .brand .ksr-wordmark-wrap{width:125px!important;height:38px!important}#khl-site-header .khl-main>nav{display:none!important}#khl-site-header .khl-actions>.kfs-header-register{display:none!important}#khl-site-header .khl-actions>.kfs-account-button{width:88px!important;height:34px!important;font-size:11px!important;padding:0 7px!important}#khl-site-header>.ksr-toggle{position:absolute!important;display:block!important;right:113px!important;left:auto!important;top:13px!important;width:44px!important;height:34px!important;min-height:0!important;padding:0!important;border:1px solid #465235!important;border-radius:6px!important;background:none!important;color:#f2edda!important;font:700 11px KFSBody,Vazir,sans-serif!important}}
@media(max-width:380px){#khl-site-header .khl-main,#khl-site-header .khl-top-inner{padding-inline:14px!important}#khl-site-header .brand>img{width:30px!important;height:30px!important}#khl-site-header .brand .ksr-wordmark-wrap{width:108px!important}#khl-site-header .khl-counts{gap:9px!important}#khl-site-header .khl-counts a,#khl-site-header .khl-collab .watch{font-size:9px!important}#khl-site-header>.ksr-toggle{right:109px!important}}
@media(max-height:680px){dialog#ksr-menu.khl-menu{padding:10px 16px!important}dialog#ksr-menu.khl-menu>nav a,dialog#ksr-menu.khl-menu>nav .khl-overlay-reserved{padding:5px!important;font-size:18px!important}dialog#ksr-menu.khl-menu .watch{height:35px!important}dialog#ksr-menu.khl-menu .kfs-header-actions{gap:6px!important;margin-top:6px!important}}

/* Anchor login independently of legacy flex sizing on narrow screens. */
@media(max-width:900px){#khl-site-header .khl-main>.khl-actions{position:absolute!important;top:13px!important;right:18px!important;left:auto!important;width:88px!important;min-width:88px!important;max-width:88px!important;flex:0 0 88px!important}#khl-site-header .khl-main>.khl-actions>.kfs-account-button{display:inline-flex!important;visibility:visible!important;opacity:1!important;transform:none!important;margin:0!important;position:static!important}}
@media(max-width:380px){#khl-site-header .khl-main>.khl-actions{right:14px!important}}

@media(max-width:340px){#khl-site-header .brand .ksr-wordmark-wrap{width:92px!important}#khl-site-header .brand>img{width:28px!important;height:28px!important}}
