/* r41: floating glass header, identical on eightforex.com and app public pages */
.gh{position:fixed;top:0;left:0;right:0;z-index:200;height:72px;background:rgba(13,17,23,.72);-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;box-sizing:border-box}
.gh:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(28,166,56,.55) 30%,rgba(48,54,61,.9) 60%,transparent)}
.gh *,.ghx *{box-sizing:border-box}
.ghs{height:72px}
.ghw{height:100%;max-width:1384px;margin:0 auto;padding:0 16px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px}
@media(min-width:768px){.ghw{padding:0 24px}}@media(min-width:1024px){.ghw{padding:0 32px}}
.ghl{display:flex;align-items:center;line-height:0}.ghl img{width:auto;height:40px;transition:height .25s}
.ghn{display:none;justify-self:center;gap:4px}
.ghn a{position:relative;padding:8px 14px;color:#C9D1D9;font-size:14px;font-weight:500;text-decoration:none;border-radius:8px;transition:color .2s}
.ghn a:after{content:"";position:absolute;left:14px;right:14px;bottom:2px;height:2px;border-radius:2px;background:#1CA638;box-shadow:0 0 8px rgba(28,166,56,.8);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.ghn a:hover,.ghn a[aria-current]{color:#fff}.ghn a:hover:after,.ghn a[aria-current]:after{transform:scaleX(1)}
.gha{display:flex;gap:10px;align-items:center;justify-self:end}
.ghb{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 18px;border-radius:10px;font:600 14px/1 Inter,system-ui,sans-serif;text-decoration:none;white-space:nowrap;transition:background .2s,box-shadow .2s,border-color .2s,color .2s}
.ghg{color:#E6EDF3;border:1px solid #30363D;background:rgba(22,27,34,.4)}.ghg:hover{border-color:#8B949E;background:rgba(48,54,61,.5);color:#fff}
.ghp{color:#fff;background:#1CA638;border:1px solid #1CA638;box-shadow:0 0 0 0 rgba(28,166,56,0),0 4px 18px rgba(28,166,56,.35)}.ghp:hover{background:#20B640;box-shadow:0 0 24px rgba(28,166,56,.6)}
.ghm{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;border:1px solid #30363D;background:rgba(22,27,34,.5);color:#E6EDF3;cursor:pointer;padding:0}
.ghm .i-x{display:none}.ghm[aria-expanded=true] .i-x{display:block}.ghm[aria-expanded=true] .i-menu{display:none}
.gha .ghg{display:none}
@media(min-width:1024px){.ghn{display:flex}.ghm{display:none}.gha .ghg{display:inline-flex}}
@media(max-width:1023px){.gha .ghp{height:36px;padding:0 14px}}
@supports (animation-timeline:scroll()){
 .gh{animation:ghk linear both;animation-timeline:scroll(root);animation-range:0 120px}
 .ghl img{animation:ghi linear both;animation-timeline:scroll(root);animation-range:0 120px}
 @keyframes ghk{to{height:60px;background:rgba(13,17,23,.88);box-shadow:0 10px 30px rgba(0,0,0,.45)}}
 @keyframes ghi{to{height:34px}}
}
.ghx{position:fixed;inset:0;z-index:190;padding:88px 20px 32px;display:flex;flex-direction:column;gap:20px;background:rgba(13,17,23,.82);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s;overflow:auto;font-family:Inter,system-ui,sans-serif}
.ghx.open{opacity:1;visibility:visible}
.ghx nav{display:flex;flex-direction:column}
.ghx nav a{display:flex;justify-content:space-between;align-items:center;padding:16px 4px;border-bottom:1px solid rgba(48,54,61,.8);color:#E6EDF3;font-size:22px;font-weight:600;text-decoration:none;letter-spacing:-.01em}
.ghx nav a:hover{color:#1CA638}.ghx nav a svg{color:#6E7681}
.ghx .ghxa{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ghx .ghb{height:48px;font-size:15px}
.ghx .ghxc{margin:0;color:#8B949E;font-size:13px;text-align:center}
.ghx .ghxm{margin-top:auto;align-self:center;opacity:.5;line-height:0}
body.menu-open{overflow:hidden}
@media(min-width:1024px){.ghx{display:none}}
@media(prefers-reduced-motion:reduce){.gh,.ghl img{animation:none!important}.ghn a:after,.ghx{transition:none}}
.gh a.ghb,.ghx a.ghb{font:600 14px/1 Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;height:40px!important;padding:0 18px!important;border-radius:10px!important;box-sizing:border-box!important}.ghx a.ghb{height:48px!important;font-size:15px!important}.gh a.ghg{border:1px solid #30363D!important;color:#E6EDF3!important}.gh a.ghp,.ghx a.ghp{color:#fff!important;background:#1CA638!important;border:1px solid #1CA638!important}.gh .ghn a{font:500 14px/20px Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;letter-spacing:0!important}.gh button.ghm{width:40px!important;height:40px!important;border:1px solid #30363D!important;border-radius:10px!important;background:rgba(22,27,34,.5)!important;color:#E6EDF3!important;padding:0!important;margin:0!important;box-shadow:none!important}@media(min-width:1024px){.gh button.ghm{display:none!important}}@media(max-width:1023px){.gh a.ghp{height:36px!important;padding:0 14px!important}}

/* r43: static header (no shrink), previous logo size */
.gh,.ghl img{animation:none!important}.gh{height:72px!important}.ghs{height:72px!important}.ghl img{height:48px!important;width:auto!important}
@media(min-width:640px){.gh,.ghs{height:96px!important}.ghl img{height:64px!important}.ghx{padding-top:112px}}

/* r46b: mobile header CTA = Login only */
@media(max-width:1023px){.gh .gha .ghp{display:none!important}.gh .gha .ghg{display:inline-flex!important;height:36px!important;padding:0 14px!important}}

/* r47: mobile Login = solid green, 40px to match menu button */
@media(max-width:1023px){.gh .gha a.ghg{height:40px!important;padding:0 16px!important;color:#fff!important;background:#1CA638!important;border:1px solid #1CA638!important;box-shadow:0 4px 18px rgba(28,166,56,.35)}.gh .gha a.ghg:hover{background:#20B640!important}}
