.fc-header-account {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: var(--fc-touch-target, 44px);
  min-height: var(--fc-touch-target, 44px);
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 999px;
  background: rgba(247, 245, 237, .34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .56),
    0 8px 20px rgba(64, 47, 29, .065);
  color: inherit;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .08em;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  backdrop-filter: blur(16px) saturate(1.08);
  transition:
    color var(--fc-motion-state, 180ms) var(--fc-state-ease, cubic-bezier(.2, 0, 0, 1)),
    background-color var(--fc-motion-state, 180ms) var(--fc-state-ease, cubic-bezier(.2, 0, 0, 1)),
    border-color var(--fc-motion-state, 180ms) var(--fc-state-ease, cubic-bezier(.2, 0, 0, 1)),
    box-shadow var(--fc-motion-state, 180ms) var(--fc-state-ease, cubic-bezier(.2, 0, 0, 1)),
    transform var(--fc-motion-fast, 150ms) var(--fc-state-ease, cubic-bezier(.2, 0, 0, 1));
}

.fc-header-account[data-fc-account-state="pending"] {
  visibility: hidden;
  pointer-events: none;
}

.fc-header-account:is(:hover, :focus-visible) {
  border-color: rgba(255, 255, 255, .78);
  background: rgba(247, 245, 237, .68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    0 10px 22px rgba(64, 47, 29, .085);
  color: inherit;
  outline: none;
}

.fc-header-account:focus-visible {
  outline: 2px solid rgba(36, 33, 29, .42);
  outline-offset: 2px;
}

.fc-header-account:active {
  transform: scale(var(--fc-motion-press-scale, .96));
}

.fc-header-account__icon {
  display: none;
}

@media (max-width: 900px) {
  .fc-header-account[data-fc-account-state="pending"],
  .fc-header-account[data-fc-account-state="guest"],
  .fc-header-account[data-fc-account-state="user"] {
    width: var(--fc-touch-target, 44px);
    padding: 0;
  }

  .fc-header-account[data-fc-account-state="guest"] .fc-header-account__icon,
  .fc-header-account[data-fc-account-state="user"] .fc-header-account__icon {
    display: block;
  }

  .fc-header-account[data-fc-account-state="guest"] [data-fc-header-account-label],
  .fc-header-account[data-fc-account-state="user"] [data-fc-header-account-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-header-account {
    transition-duration: var(--fc-motion-instant, .001ms) !important;
  }
}
