/* Restored compact navigation: brand left, primary links centered, language right. */
:root{--restored-nav-height:62px;--restored-nav-pad:clamp(28px,3.3vw,52px)}
body{padding-top:var(--restored-nav-height)!important}
.topbar,.topbar *{
  font-family:var(--font-sans)!important;
}
.topbar{
  position:fixed!important;
  inset:0 0 auto 0!important;
  z-index:1600!important;
  height:var(--restored-nav-height)!important;
  color:#eef1f5!important;
  background:linear-gradient(180deg,#15181d 0%,#101217 100%)!important;
  border:0!important;
  border-bottom:1px solid rgba(255,255,255,.055)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.topbar::before{display:none!important}
.topbar .wrap{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(190px,1fr) auto minmax(190px,1fr)!important;
  align-items:center!important;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  margin:0!important;
  padding:0 var(--restored-nav-pad)!important;
  gap:24px!important;
}
.topbar .brand,.topbar .brand:hover{
  justify-self:start!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  margin:0!important;
  color:#f1f3f6!important;
  font-size:16px!important;
  font-weight:720!important;
  line-height:1!important;
  letter-spacing:-.02em!important;
  text-transform:none!important;
  white-space:nowrap!important;
}
.topbar .brand .logo{
  display:grid!important;
  place-items:center!important;
  width:26px!important;
  height:26px!important;
  margin:0!important;
  border-radius:7px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.topbar .brand .logo img{display:block!important;width:26px!important;height:26px!important}
.topbar .menu{
  position:static!important;
  justify-self:center!important;
  align-self:stretch!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:16px!important;
  margin:0!important;
  transform:none!important;
}
.topbar .mli{height:100%!important}
.topbar .mtop,.topbar .mli:hover .mtop,.topbar .mtop.on,.topbar .mtop:focus-visible{
  display:flex!important;
  align-items:center!important;
  min-height:100%!important;
  padding:0 12px!important;
  color:#d9dde4!important;
  background:transparent!important;
  border:0!important;
  font-size:15px!important;
  font-weight:650!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-shadow:none!important;
  text-transform:none!important;
  white-space:nowrap!important;
}
.topbar .mtop:hover,.topbar .mtop:focus-visible{color:#f5f7fa!important}
.topbar .mtop::after{display:none!important}
.topbar .right{
  justify-self:end!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:0!important;
}
.topbar .right>.btn:not(.nav-download),.topbar .tb-search,.topbar .burger{display:none!important}
.topbar .right>.nav-download,.topbar .right>.nav-download:hover,.topbar .right>.nav-download:focus-visible{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:98px!important;
  min-height:38px!important;
  padding:0 15px!important;
  color:#fff7f2!important;
  background:#f26532!important;
  border:1px solid #f47a45!important;
  border-radius:7px!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-decoration:none!important;
  text-transform:none!important;
  white-space:nowrap!important;
}
.topbar .right>.nav-download:hover,.topbar .right>.nav-download:focus-visible{background:#ff7847!important;border-color:#ff8b61!important;transform:translateY(-1px)!important}
.topbar .lang{display:block!important;min-width:max-content!important}
.topbar .lang summary{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:88px!important;
  min-height:38px!important;
  padding:0 13px!important;
  color:#e5e8ed!important;
  background:#22252b!important;
  border:1px solid rgba(255,255,255,.19)!important;
  border-radius:6px!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1!important;
  letter-spacing:0!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}
.topbar .lang summary:hover,.topbar .lang[open] summary{color:#fff!important;background:#292d34!important;border-color:rgba(255,255,255,.3)!important}
.topbar .lmenu{top:calc(100% + 9px)!important;right:0!important;left:auto!important;min-width:154px!important;background:#171a20!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:10px!important;box-shadow:0 18px 42px rgba(0,0,0,.35)!important}
.topbar .lmenu a{color:#d9dde4!important;background:transparent!important}
.topbar .lmenu a:hover,.topbar .lmenu a.cur{color:#fff!important;background:rgba(255,255,255,.07)!important}
.subnav{display:none!important}
@media(max-width:700px){
  :root{--restored-nav-height:58px}
  .topbar .wrap{grid-template-columns:32px auto minmax(154px,1fr)!important;padding:0 10px!important;gap:5px!important}
  .topbar .brand{font-size:0!important;gap:0!important}
  .topbar .menu{gap:0!important}
  .topbar .mtop,.topbar .mli:hover .mtop,.topbar .mtop.on{padding:0 9px!important;font-size:13px!important}
  .topbar .right{gap:6px!important}.topbar .right>.nav-download,.topbar .right>.nav-download:hover,.topbar .right>.nav-download:focus-visible{display:inline-flex!important;min-width:74px!important;min-height:34px!important;padding:0 9px!important;font-size:11px!important}.topbar .lang summary{min-width:74px!important;min-height:34px!important;padding:0 8px!important;font-size:11px!important}
}

/* Raycast-inspired floating glass navigation for the minimal edition. */
:root{--restored-nav-height:72px;--restored-nav-pad:22px}
body{padding-top:0!important}
.topbar{
  position:fixed!important;
  top:18px!important;
  right:0!important;
  left:0!important;
  width:min(1200px,calc(100% - 48px))!important;
  height:var(--restored-nav-height)!important;
  margin:0 auto!important;
  overflow:visible!important;
  background:linear-gradient(110deg,rgba(22,23,27,.78),rgba(9,10,13,.7))!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:18px!important;
  box-shadow:0 22px 60px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.035)!important;
  backdrop-filter:blur(24px) saturate(135%)!important;
  -webkit-backdrop-filter:blur(24px) saturate(135%)!important;
}
[hidden]{display:none!important}
.topbar .wrap{padding:0 var(--restored-nav-pad)!important}
.topbar .menu{gap:24px!important}
.topbar .mtop,.topbar .mli:hover .mtop,.topbar .mtop.on,.topbar .mtop:focus-visible{position:relative!important;padding:0 6px!important;color:#aeb3bd!important;font-size:14px!important;font-weight:620!important}
.topbar .mtop:hover,.topbar .mtop.on,.topbar .mtop:focus-visible{color:#f5f6f8!important}
.topbar .mtop.on::after{content:""!important;display:block!important;position:absolute!important;right:8px!important;bottom:15px!important;left:8px!important;height:2px!important;background:#f47a45!important;border-radius:99px!important;box-shadow:0 0 12px rgba(244,122,69,.48)!important}
.topbar .right>.nav-download,.topbar .right>.nav-download:hover,.topbar .right>.nav-download:focus-visible{min-height:40px!important;border-color:rgba(255,255,255,.72)!important;border-radius:10px!important;color:#191b1f!important;background:#f2f3f4!important;box-shadow:0 8px 24px rgba(0,0,0,.3)!important}
.topbar .right>.nav-download:hover,.topbar .right>.nav-download:focus-visible{color:#111317!important;background:#fff!important;border-color:#fff!important}
.topbar .right>.nav-download::after{display:none!important;content:none!important}
.topbar .right>.nav-download .download-icon{display:block!important;flex:0 0 auto!important;margin-right:0!important;color:currentColor!important}
.topbar .right>.nav-download{gap:0!important}
.topbar .right>.nav-download span{display:block!important;line-height:1!important}
.topbar .lang summary{min-height:40px!important;border-radius:10px!important;background:rgba(255,255,255,.055)!important}
@media(max-width:700px){
  :root{--restored-nav-height:60px}
  .topbar{top:10px!important;width:calc(100% - 20px)!important;border-radius:15px!important}
  .topbar .wrap{padding:0 10px!important}
  .topbar .right>.nav-download,.topbar .right>.nav-download:hover,.topbar .right>.nav-download:focus-visible{display:none!important}
}

/* Two-line hero title: neutral lead line, gold product phrase + neutral descriptor. */
.hero h1.hero-title-two{gap:.12em!important;max-width:min(100%,1180px)!important;font-size:clamp(44px,6.1vw,84px)!important;line-height:1.04!important}
.hero h1.hero-title-two>.hero-title-line{display:flex!important;align-items:baseline!important;justify-content:center!important;gap:.16em!important;width:auto!important;max-width:100%!important;white-space:nowrap!important}
.hero h1.hero-title-two>.hero-title-line em,.hero h1.hero-title-two>.hero-title-line b{margin:0!important;font:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;white-space:nowrap!important}
.hero h1.hero-title-two>.hero-title-line em{color:#f2bd45!important}
.hero h1.hero-title-two>.hero-title-line b{color:#f3f0f7!important}
@media(max-width:760px){.hero h1.hero-title-two{font-size:clamp(34px,9vw,62px)!important}.hero h1.hero-title-two>.hero-title-line{gap:.12em!important}}
@media(max-width:480px){.hero h1.hero-title-two{font-size:clamp(29px,9.1vw,44px)!important}.hero h1.hero-title-two>.hero-title-line{gap:.08em!important}}

/* ms（马来语）行2 文案 "Set Alat Dagangan Forex" 较长：≤860px 单列布局下列宽不足会裁掉末尾字母，
   允许 em/b 之间换行（em 单独一行在各宽度均放得下），不改字号、不影响其他语言。 */
@media(max-width:860px){html[lang="ms"] .hero h1.hero-title-two>.hero-title-line{flex-wrap:wrap!important}}

/* Global footer refinement: quieter text and tighter vertical rhythm. */
body > footer{
  --footer-gray:#8f98a5!important;
  color:var(--footer-gray)!important;
}
body > footer :where(p,small,span,h4,strong){color:var(--footer-gray)!important}
body > footer .brand,
body > footer .footer-brand .brand,
body > footer .f-grid .brand,
body > footer .f-grid h4,
body > footer .f-grid a,
body > footer .footer-links a{color:var(--footer-gray)!important}
body > footer .footer-brand{padding-bottom:18px!important}
body > footer .footer-brand p{line-height:1.48!important}
body > footer .footer-nav-row{gap:20px!important;padding:16px 0 2px!important}
body > footer .footer-group{gap:10px!important}
body > footer .footer-links{gap:4px 14px!important}
body > footer .footer-links a{min-height:26px!important;padding:3px 7px!important}
body > footer .risk{margin-top:14px!important;padding-top:12px!important;line-height:1.48!important}
body > footer .srcs{margin-top:12px!important;line-height:1.48!important}
body > footer .f-grid{gap:22px!important}
body > footer .f-grid > div{gap:6px!important}
body > footer .f-grid p{line-height:1.48!important}
body > footer .f-grid a{margin-top:5px!important}
body > footer .footer-links a:hover,
body > footer .footer-links a:focus-visible,
body > footer .footer-links a.cur,
body > footer .f-grid a:hover,
body > footer .f-grid a:focus-visible,
body > footer .f-grid a.cur{color:#c4cbd4!important}

/* Homepage header control order: language first, download action second. */
.home-page .topbar .right > .lang{order:1!important}
.home-page .topbar .right > .nav-download{order:2!important}
