.hub-menu-toggle {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 1200;
  width: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(213, 181, 107, .45);
  border-radius: 7px;
  background: rgba(13, 16, 22, .86);
  color: #f5f7fb;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .34);
  backdrop-filter: blur(18px) saturate(1.2);
  cursor: pointer;
}

.hub-my-link {
  position: fixed;
  top: 12px;
  right: 66px;
  z-index: 1200;
  min-width: 50px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(213, 181, 107, .45);
  border-radius: 7px;
  background: rgba(13, 16, 22, .86);
  color: #f5f7fb;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .34);
  backdrop-filter: blur(18px) saturate(1.2);
  font: 800 12px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Pretendard", sans-serif;
  letter-spacing: .08em;
  text-decoration: none;
}

.hub-my-link:hover,
.hub-my-link:focus-visible,
.hub-my-link[aria-current="page"] {
  border-color: rgba(213, 181, 107, .85);
  background: rgba(213, 181, 107, .16);
  outline: none;
}

.hub-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hub-menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 1190;
  display: none;
  background: rgba(4, 6, 10, .48);
}

.hub-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1210;
  width: min(360px, calc(100vw - 34px));
  height: 100vh;
  padding: 22px;
  border-left: 1px solid rgba(255, 255, 255, .13);
  background: rgba(12, 15, 21, .96);
  box-shadow: -24px 0 70px rgba(0, 0, 0, .38);
  transform: translateX(104%);
  transition: transform .24s ease;
  color: #f5f7fb;
}

.hub-menu-panel h2 {
  margin: 0 52px 16px 0;
  font-size: 18px;
  letter-spacing: 0;
}

.hub-menu-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  background: rgba(255, 255, 255, .055);
  color: #f5f7fb;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.hub-menu-list {
  display: grid;
  gap: 8px;
}

.hub-menu-link {
  display: block;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  color: inherit;
  text-decoration: none;
}

.hub-menu-link strong {
  display: block;
  font-size: 14px;
}

.hub-menu-link span {
  display: block;
  margin-top: 5px;
  color: #aeb7c4;
  font-size: 12px;
  line-height: 1.45;
}

.hub-menu-link[aria-current="page"] {
  border-color: rgba(213, 181, 107, .58);
  background: rgba(213, 181, 107, .10);
}

body.has-hub-menu .topbar {
  padding-right: 124px;
}

body.hub-menu-open {
  overflow: hidden;
}

body.hub-menu-open .hub-menu-scrim {
  display: block;
}

body.hub-menu-open .hub-menu-panel {
  transform: translateX(0);
}

@media (max-width: 640px) {
  .hub-menu-toggle {
    top: 8px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .hub-my-link {
    top: 8px;
    right: 58px;
    min-width: 46px;
    height: 40px;
    padding: 0 10px;
  }

  body.has-hub-menu .topbar {
    padding-right: 110px;
  }
}
