.enclave-home-button {
  min-width: 92px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(247, 241, 232, 0.2);
  border-radius: 999px;
  background: rgba(247, 241, 232, 0.045);
  text-decoration: none !important;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.enclave-home-button:hover,
.enclave-home-button:focus-visible {
  opacity: 1 !important;
  border-color: rgba(247, 241, 232, 0.42);
  background: rgba(247, 241, 232, 0.1);
  box-shadow: 0 8px 20px rgba(2, 8, 32, 0.16);
  transform: translateY(-1px);
}

.enclave-home-button:active {
  transform: translateY(0);
}

.enclave-home-button:focus-visible,
.market-switcher-trigger:focus-visible,
.market-switcher-menu a:focus-visible {
  outline: 3px solid rgba(247, 241, 232, 0.62);
  outline-offset: 3px;
}

.market-switcher {
  position: relative;
  z-index: 20;
  justify-self: end;
}

.market-switcher-trigger {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(247, 241, 232, 0.25);
  border-radius: 999px;
  color: #f7f1e8;
  background: rgba(247, 241, 232, 0.07);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  isolation: isolate;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.market-switcher-trigger:hover,
.market-switcher-trigger:focus-visible,
.market-switcher-trigger[aria-expanded="true"] {
  border-color: rgba(247, 241, 232, 0.48);
  background: rgba(247, 241, 232, 0.14);
  box-shadow: 0 9px 22px rgba(2, 8, 32, 0.18);
  transform: translateY(-1px);
}

.market-switcher-trigger:active {
  transform: translateY(0);
}

.market-switcher-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.market-switcher-trigger[aria-expanded="true"] .market-switcher-chevron {
  transform: translateY(2px) rotate(225deg);
}

.market-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(220px, calc(100vw - 28px));
  padding: 7px;
  border: 1px solid rgba(17, 24, 61, 0.12);
  border-radius: 10px;
  background: #fffaf2;
  box-shadow: 0 20px 48px rgba(2, 8, 32, 0.25);
}

.market-switcher-menu[hidden] {
  display: none;
}

.market-switcher-menu a {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 11px;
  border-radius: 7px;
  color: #11183d;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.market-switcher-menu a:hover,
.market-switcher-menu a:focus-visible,
.market-switcher-menu a[aria-current="page"] {
  background: rgba(17, 24, 61, 0.09);
}

.market-switcher-menu a[aria-current="page"]::after {
  content: "Current";
  margin-left: auto;
  color: rgba(17, 24, 61, 0.58);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.primary-sheen,
.button-sheen {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.primary-sheen::after,
.button-sheen::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -46%;
  z-index: 0;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0;
  transform: translateX(0) skewX(-18deg);
  transition: opacity 160ms ease, transform 560ms ease;
}

.primary-sheen:hover::after,
.primary-sheen:focus-visible::after,
.button-sheen:hover::after,
.button-sheen:focus-visible::after {
  opacity: 1;
  transform: translateX(440%) skewX(-18deg);
}

@media (max-width: 520px) {
  .enclave-home-button {
    min-width: 78px;
    min-height: 38px;
    padding: 7px 10px;
  }

  .market-switcher-trigger {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .enclave-home-button,
  .market-switcher-trigger,
  .primary-sheen::after,
  .button-sheen::after {
    transition: none !important;
  }

  .enclave-home-button:hover,
  .enclave-home-button:focus-visible,
  .market-switcher-trigger:hover,
  .market-switcher-trigger:focus-visible {
    transform: none;
  }

  .primary-sheen::after,
  .button-sheen::after {
    display: none;
  }
}
