/* V93 – mobile header containment: final overrides after all legacy CSS. */
@media (max-width:1080px) {
  html .v9-header, html .v9-header.is-sticky {
    box-sizing:border-box!important;
    position:fixed!important;
    inset-inline:auto!important;
    left:50%!important; right:auto!important;
    transform:translateX(-50%)!important;
    width:calc(100% - 24px)!important;
    max-width:760px!important;
    min-width:0!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    overflow:visible!important;
  }
  html .v9-header .header-tools {
    display:flex!important; flex:0 1 auto!important;min-width:0!important;
    gap:5px!important;align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
  }
  html .v9-header .header-tools .menu-toggle {
    display:grid!important;flex:0 0 auto!important;visibility:visible!important;
    opacity:1!important;position:relative!important;z-index:102!important;
  }
  html .v9-header .nav {display:none!important}
  html .v9-header.menu-open .nav,html .v9-header .nav.is-open {
    display:flex!important;position:absolute!important;
    box-sizing:border-box!important;
    top:calc(100% + 8px)!important;left:0!important;right:0!important;
    width:100%!important;max-width:100%!important;
    transform:none!important;overflow-x:hidden!important;
    z-index:101!important;
  }
}
@media (max-width:600px) {
  html .v9-header,html .v9-header.is-sticky {
    width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;
    padding:6px 7px!important;gap:5px!important;
    min-height:58px!important;
  }
  html .v9-header a.brand,html .v9-header.is-sticky a.brand {
    box-sizing:border-box!important;flex:0 0 108px!important;
    width:108px!important;max-width:108px!important;
    min-width:0!important;margin:0!important;padding:0!important;
  }
  html .v9-header a.brand .fursan-header-logo {width:106px!important;height:36px!important}
  html .v9-header .header-tools .tool {width:33px!important;height:33px!important;min-width:0!important;flex-shrink:0!important}
  html .v9-header .header-tools .lang-toggle {
    width:48px!important;min-width:48px!important;padding:0 4px!important;gap:2px!important;
    font-size:10px!important;
  }
  html .v9-header .header-tools .lang-toggle .ic{width:14px!important;height:14px!important}
  html .v9-header .header-tools .plan-btn {
    display:flex!important;flex:0 0 auto!important;min-height:33px!important;
    padding:0 8px!important;gap:4px!important;font-size:10px!important;
    line-height:1.1!important;white-space:nowrap!important;
  }
  html .v9-header .header-tools .plan-btn .sf-v44-arrow {display:none!important}
  html .v9-header .header-tools .menu-toggle{width:33px!important;height:33px!important}
}
@media (max-width:390px) {
  html .v9-header,html .v9-header.is-sticky {padding-inline:5px!important;gap:3px!important}
  html .v9-header a.brand,html .v9-header.is-sticky a.brand {
    flex-basis:93px!important;width:93px!important;max-width:93px!important;
  }
  html .v9-header a.brand .fursan-header-logo{width:92px!important;height:33px!important}
  html .v9-header .header-tools{gap:3px!important}
  html .v9-header .header-tools .tool,html .v9-header .header-tools .menu-toggle{width:30px!important;height:30px!important}
  html .v9-header .header-tools .lang-toggle{width:40px!important;min-width:40px!important;padding-inline:2px!important}
  html .v9-header .header-tools .lang-toggle .ic{width:12px!important;height:12px!important}
  html .v9-header .header-tools .plan-btn{padding:0 6px!important;min-height:30px!important;font-size:9px!important}
}
@media (max-width:340px) {
  html .v9-header a.brand,html .v9-header.is-sticky a.brand{flex-basis:82px!important;width:82px!important;max-width:82px!important}
  html .v9-header a.brand .fursan-header-logo{width:81px!important;height:30px!important}
  html .v9-header .header-tools .theme-toggle{width:27px!important;height:27px!important}
  html .v9-header .header-tools .lang-toggle{width:36px!important;min-width:36px!important}
}
/* Preserve a visible focus target for the two critical controls. */
.v9-header .header-tools .plan-btn:focus-visible,.v9-header .header-tools .menu-toggle:focus-visible{outline:2px solid #41ad80;outline-offset:2px}
