/* Rancang adapter for the homepage's shared floating capsule. */
@import url('/glass-nav.css?v=20261015');

#nav { z-index: 50; border-bottom: 1px solid rgba(255,255,255,.65); }
#nav .nav-inner { width: 100%; margin: 0; min-height: 62px; box-sizing: border-box; flex-wrap: nowrap; }
#nav .wrapper .brand { display: inline-flex; gap: 10px; padding: 8px 12px; font-size: 20px; }
#nav .brand-mark { width: 30px; height: 30px; }
#nav .nav-links { gap: 0; margin-left: auto; }
#nav .wrapper .nav-download { color: white !important; padding: 8px 16px; font-size: 14px; }
#nav .wrapper .nav-download:hover { background: #333; }
#nav .mobile-nav-menu { display: none; }
#nav .menu { flex-direction: column; }
#top { padding-top: 104px; }
html { scroll-padding-top: 112px; }

@media(max-width:860px) {
  #nav .nav-links { display: none; }
  #nav .mobile-nav-menu { display: block; position: static; margin: 0 0 0 auto; order: 0; width: auto; }
  #nav .mobile-nav-menu summary { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border: 0; background: transparent; cursor: pointer; font-size: 13px; }
  #nav .mobile-nav-menu summary::after { content: '+'; font-size: 22px; margin-left: 8px; }
  #nav .wrapper a.nav-download { display: inline-flex; width: 38px; min-width: 38px; height: 38px; padding: 0; flex-shrink: 0; }
  #nav .mobile-nav-menu { height: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; box-sizing: border-box; }
  #nav .mobile-nav-menu summary { height: 44px; box-sizing: border-box; }
  #nav .nav-download-label { display: none; }
  #nav .menu { position: absolute; top: 76px; left: 0; right: 0; display: flex; max-height: calc(100svh - 110px); overflow-y: auto; padding: 16px 12px; border-radius: 26px; background: rgba(255,255,255,.96); box-shadow: 0 12px 32px rgba(15,23,42,.16); backdrop-filter: blur(22px); transform-origin: top right; visibility: hidden; opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0 round 26px); transform: translateY(-8px) scale(.98); transition: clip-path .3s cubic-bezier(.22,1,.36,1),transform .3s cubic-bezier(.22,1,.36,1),opacity .2s,visibility 0s linear .3s; }
  #nav.active .menu { top: 76px; visibility: visible; opacity: 1; pointer-events: auto; clip-path: inset(0 round 26px); transform: none; transition-duration: .42s,.42s,.22s,0s; transition-delay: 0s; }
  #nav .menu a { font-size: 20px; padding: 14px 20px; }
}
@media(max-width:649px) {
  #nav .nav-inner { min-height: 56px; gap: 4px; }
  #nav .wrapper .brand { display: inline-flex; padding: 8px; font-size: 18px; }
  #nav .brand { gap: 6px; }
  #nav .brand-mark { width: 24px; height: 24px; }
  #nav .mobile-nav-menu summary { padding: 0 8px; font-size: 12px; }
  #nav .wrapper .nav-download { display: inline-flex; }
  #nav .menu, #nav.active .menu { top: 70px; }
  #top { padding-top: 88px; }
}
@media(prefers-reduced-motion:reduce) { #nav .menu,#nav.active .menu { transition: none; transform: none; } }
