#hsh-global-tools{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;flex:0 0 auto;position:relative;box-sizing:border-box;line-height:1.2;z-index:30}
#hsh-global-tools.hsh-global-fallback{display:flex;padding:6px 12px;background:#0865b9;justify-content:flex-end}
#hsh-global-tools .hsh-language{display:flex;align-items:center;position:relative;flex:none;width:65px;height:36px;box-sizing:border-box;overflow:visible}
#hsh-global-tools .hsh-earn-shortcut{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:#e9ac19;color:#172b40;font:bold 23px/1 Arial,sans-serif;text-decoration:none;box-sizing:border-box}
#hsh-global-tools .hsh-earn-shortcut:focus-visible{outline:2px solid white;outline-offset:2px}
#hsh-global-tools .gt_switcher_wrapper{position:relative!important;inset:auto!important;width:65px!important;height:36px!important;z-index:31!important}
#hsh-global-tools .gt_float_switcher{position:relative!important;display:block!important;width:65px!important;height:36px!important;overflow:visible!important;border-radius:6px!important;box-shadow:none!important;font-size:12px!important;line-height:1!important}
#hsh-global-tools .gt-selected{position:relative!important;width:65px!important;height:36px!important;box-sizing:border-box!important}
#hsh-global-tools .gt-current-lang{display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:0 3px!important;height:36px!important;box-sizing:border-box!important;font-size:12px!important}
#hsh-global-tools .gt-current-lang img{width:20px!important;height:auto!important;margin:0!important}
#hsh-global-tools .gt_float_switcher .gt_options{position:absolute!important;top:calc(100% + 6px)!important;right:0!important;left:auto!important;bottom:auto!important;width:210px!important;max-width:85vw!important;max-height:55vh!important;overflow-y:auto!important;background:#fff!important;box-shadow:0 8px 24px #0003!important;border-radius:8px!important;z-index:100!important;font-size:15px!important}
#hsh-global-tools .gt_options a{padding:10px!important;white-space:normal!important}#hsh-global-tools .gt_options img{width:24px!important;height:auto!important}
.hsh-global-host{overflow:visible!important}.hsh-nav a svg{width:18px;height:18px;vertical-align:-3px;margin-right:4px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){.hsh-global-page #masthead .site-title{font-size:clamp(12px,3.2vw,17px)!important;line-height:1.15;overflow-wrap:normal}.hsh-global-page #masthead .site-branding img{max-width:42px;height:auto}.hsh-global-page #masthead .site-branding{min-width:0}.hsh-global-page #masthead .ast-builder-grid-row{column-gap:3px}.hsh-global-page #masthead .ast-builder-layout-element{padding-inline:2px}#hsh-global-tools{gap:3px}#hsh-global-tools .hsh-earn-shortcut{width:30px;height:30px;font-size:20px}}
.hsh-global-host{display:flex!important;align-items:center;gap:3px;flex-wrap:nowrap!important}.hsh-global-header-active{overflow:visible!important}.hsh-global-header-active .ast-builder-grid-row,.hsh-global-header-active .ast-builder-grid-row-container,.hsh-global-header-active .ast-builder-layout-element{overflow:visible!important}
@media(max-width:600px){#hsh-global-tools .gt_float_switcher .gt_options{position:fixed!important;top:auto!important;bottom:0!important;left:0!important;right:0!important;width:100vw!important;max-width:100vw!important;max-height:60dvh!important;border-radius:16px 16px 0 0!important;box-shadow:0 -6px 30px #0004!important;z-index:99999!important;padding-bottom:env(safe-area-inset-bottom,0px)!important}#hsh-global-tools .gt_options a{display:block;padding:12px 18px!important} .hsh-global-host #hsh-profile-launch.hsh-p-adjacent{margin-inline:2px 0!important}.hsh-nav a{white-space:nowrap}}
/* v1.3.2: one inline group, no competing absolute profile position. */
#hsh-global-tools #hsh-profile-launch{position:static!important;inset:auto!important;display:inline-flex!important;visibility:visible!important;pointer-events:auto!important;flex:0 0 36px!important;width:36px!important;height:36px!important;margin:0!important;z-index:auto!important}
#hsh-global-tools{flex-shrink:0!important;gap:4px!important} .hsh-global-host>button,.hsh-global-host>.menu-toggle{flex-shrink:0!important}
@media(max-width:600px){.hsh-global-header-active .site-title{font-size:clamp(11px,3vw,15px)!important}.hsh-global-header-active .site-branding img{max-width:44px!important;height:auto!important}#hsh-global-tools .hsh-language,#hsh-global-tools .gt_switcher_wrapper,#hsh-global-tools .gt_float_switcher,#hsh-global-tools .gt-selected{width:56px!important}#hsh-global-tools .hsh-earn-shortcut{width:30px!important;height:30px!important}}
#hsh-language-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:75dvh;padding:0;border:0;border-radius:16px 16px 0 0;background:white;color:#172b40;box-sizing:border-box;overflow:hidden}#hsh-language-dialog[open]{display:flex;flex-direction:column}#hsh-language-dialog::backdrop{background:#0006}.hsh-lang-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #dce4eb}.hsh-lang-head button{background:#edf3f8!important;color:#172b40!important;border:0!important;border-radius:50%!important;width:36px!important;height:36px!important;padding:0!important;font-size:24px!important;line-height:1!important}.hsh-lang-list{overflow:auto;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom,0px)}#hsh-language-dialog .hsh-lang-option{display:flex!important;align-items:center;gap:14px;width:100%;padding:14px 18px!important;background:white!important;color:#172b40!important;border:0!important;border-bottom:1px solid #edf1f5!important;text-align:left;border-radius:0!important;font-size:16px!important} .hsh-lang-option img{width:26px;height:auto}.hsh-lang-option span:first-of-type{flex:1}.hsh-lang-option[aria-current=true]{background:#edf5fb!important}html.hsh-lang-lock,body.hsh-lang-lock{overflow:hidden!important;overscroll-behavior:none}
/* v1.3.3: prevent language code wrapping and keep the selector compact. */
#hsh-global-tools .gt-current-lang{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;gap:2px!important}
#hsh-global-tools .gt-current-lang .gt-lang-code{display:inline-block!important;flex:0 0 auto!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;font-size:11px!important;line-height:1!important}
#hsh-global-tools .gt-current-lang img{flex:0 0 auto!important;width:18px!important}
#hsh-global-tools .gt-current-lang .gt_float_switcher-arrow{flex:0 0 auto!important;margin:0!important;width:8px!important;height:8px!important}
#hsh-global-tools .gt-selected,#hsh-global-tools .gt-current-lang{border-radius:6px!important}
@media(max-width:600px){#hsh-global-tools .hsh-language,#hsh-global-tools .gt_switcher_wrapper,#hsh-global-tools .gt_float_switcher,#hsh-global-tools .gt-selected{width:62px!important}#hsh-global-tools .gt-current-lang{padding:0 2px!important}}
@media(max-width:360px){.hsh-global-header-active .site-branding img{max-width:34px!important}#hsh-global-tools{gap:2px!important}.hsh-global-header-active .site-title{font-size:11px!important}}

/* v1.3.7: restore original inline order, without a separate tools row. */
@media(max-width:921px){
.hsh-global-header-active .hsh-native-account-replaced{display:none!important}
.hsh-restored-row{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:4px!important}
.hsh-restored-row>.site-header-section{min-width:0!important;flex:0 1 auto!important}
.hsh-restored-row>.hsh-restored-actions{order:99!important;flex:0 0 auto!important;margin-inline-start:auto!important}
.hsh-restored-row .site-branding{min-width:0!important;gap:4px!important}
.hsh-restored-row .site-title{font-size:clamp(10px,3vw,15px)!important;white-space:normal!important;line-height:1.1!important}
.hsh-restored-row .site-branding img{max-width:36px!important;height:auto!important}
.hsh-restored-row .ast-builder-layout-element{padding-inline:2px!important}
.hsh-restored-actions .hsh-global-host{gap:3px!important}
.hsh-restored-actions #hsh-global-tools{gap:3px!important}
.hsh-restored-actions #hsh-profile-launch{width:32px!important;height:32px!important;flex-basis:32px!important}
.hsh-restored-actions .hsh-earn-shortcut{width:30px!important;height:30px!important}
.hsh-global-header-active #ast-mobile-header .ast-above-header-wrap:has(a[data-hsh-dashboard]):not(:has(.hsh-global-host)){display:none!important}
}
@media(max-width:360px){.hsh-restored-row .site-branding img{max-width:28px!important}.hsh-restored-row .site-title{font-size:10px!important}.hsh-restored-row .ast-builder-layout-element{padding-inline:0!important}}

/* v1.3.8: menu and branding left, global tools right. */
@media(max-width:921px){
.hsh-restored-row>.hsh-restored-menu{order:-10!important;flex:0 0 auto!important;margin:0!important}
.hsh-restored-row>.hsh-restored-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;order:99!important;margin-left:auto!important;margin-right:0!important;flex:0 0 auto!important}
.hsh-restored-row>.site-header-section:not(.hsh-restored-menu){flex:0 1 auto!important;min-width:0!important}
.hsh-restored-row .site-title{overflow-wrap:normal!important}
}

/* v1.3.9: preserve visible guest account text at the right edge. */
@media(max-width:921px){
#hsh-global-tools .hsh-guest-login{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;font-size:clamp(10px,2.8vw,13px)!important;line-height:1.15!important;font-weight:600!important;color:#fff!important;padding:4px 2px!important;margin:0!important;text-decoration:none!important;min-height:36px;box-sizing:border-box}
.hsh-restored-row:has(.hsh-guest-login) .site-title{font-size:clamp(10px,2.7vw,13px)!important;white-space:normal!important}
.hsh-restored-row:has(.hsh-guest-login) .site-branding img{max-width:30px!important}
.hsh-restored-row:has(.hsh-guest-login) #hsh-global-tools{gap:3px!important}
}
@media(max-width:360px){.hsh-restored-row:has(.hsh-guest-login) .site-branding img{max-width:24px!important}.hsh-restored-row:has(.hsh-guest-login) #hsh-global-tools .hsh-guest-login{font-size:10px!important}.hsh-restored-row:has(.hsh-guest-login) #hsh-global-tools .hsh-earn-shortcut{width:26px!important;height:26px!important}}

/* v1.4.0: desktop only; keep every existing navigation link. */

#masthead .hsh-desktop-empty, .hsh-desktop-active .hsh-desktop-empty,.hsh-desktop-active .hsh-desktop-replaced{display:none!important}
.hsh-desktop-active .hsh-desktop-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:nowrap!important;overflow:visible!important;min-height:76px!important}
.hsh-desktop-active .hsh-desktop-row>.site-header-section{min-width:0!important;flex:0 1 auto!important}
.hsh-desktop-active .hsh-desktop-row>.site-header-section:has(.main-header-menu){flex:1 1 auto!important;justify-content:center!important}
.hsh-desktop-active .hsh-desktop-row .site-branding{display:flex!important;align-items:center!important;gap:8px!important;white-space:nowrap!important}
.hsh-desktop-active .hsh-desktop-row .site-branding img{max-width:58px!important;height:auto!important}
.hsh-desktop-active .hsh-desktop-row .site-title{font-size:clamp(14px,1.4vw,20px)!important;line-height:1.2!important}
.hsh-desktop-active .hsh-desktop-row .main-header-menu{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;row-gap:0!important}
.hsh-desktop-active .hsh-desktop-row .main-header-menu>.menu-item>.menu-link{padding:7px 8px!important;line-height:1.35!important;font-size:clamp(11px,1vw,14px)!important;white-space:nowrap!important}
.hsh-desktop-active .hsh-desktop-actions{display:flex!important;align-items:center!important;flex:0 0 auto!important;margin-inline-start:auto!important;order:99!important;overflow:visible!important}
.hsh-desktop-active #hsh-global-tools{gap:8px!important}
.hsh-desktop-active #hsh-global-tools .hsh-guest-login{color:#fff!important;font-size:13px!important;font-weight:600!important;white-space:nowrap!important;line-height:1.2!important;padding:6px 0!important;text-decoration:none!important}
.hsh-desktop-active .hsh-desktop-row .ast-builder-layout-element{padding-inline:3px!important;overflow:visible!important}

.hsh-desktop-active .hsh-desktop-row .site-branding img{max-width:46px!important}.hsh-desktop-active .hsh-desktop-row .main-header-menu>.menu-item>.menu-link{padding:5px 6px!important}.hsh-desktop-active .hsh-desktop-row .site-title{font-size:16px!important}.hsh-desktop-active .hsh-desktop-row{min-height:64px!important;gap:8px!important}
/* v1.4.2: desktop brand protection and auxiliary row cleanup. */
.hsh-desktop-active .hsh-desktop-row>.site-header-section:has(.site-branding):not(:has(.main-header-menu)){flex:0 0 auto!important;min-width:max-content!important;overflow:visible!important}
.hsh-desktop-active .hsh-desktop-row .site-branding,.hsh-desktop-active .hsh-desktop-row .ast-site-identity,.hsh-desktop-active .hsh-desktop-row .ast-site-title-wrap{flex-shrink:0!important;max-width:none!important;width:auto!important;overflow:visible!important}
.hsh-desktop-active .hsh-desktop-row .site-title,.hsh-desktop-active .hsh-desktop-row .site-title a{white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important;font-size:16px!important}
.hsh-desktop-active .hsh-desktop-row .main-header-menu>.menu-item>.menu-link{font-size:12px!important;padding:5px 6px!important}
.hsh-desktop-active .hsh-desktop-empty{display:none!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important}
/* v1.4.3: collapse empty desktop wrappers, including those outside the desktop container. */
@media(min-width:922px){
#masthead .hsh-desktop-empty{display:none!important;min-height:0!important;height:0!important;padding:0!important;margin:0!important;border:0!important}
.hsh-page .hsh-nav{margin-top:8px}
}
