/* One centered Discord badge for sign-in, your profile and member profiles. */
#profile-auth > .coming-soon-icon {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border: 2px solid #747fff;
  border-radius: 50% !important;
  background: color-mix(in srgb, var(--interactive) 18%, var(--surface)) !important;
  color: #a9b0ff;
  font-size: 1.8rem;
  line-height: 1;
}

/* Remove the icon font's inline baseline offset before centering its glyph. */
#profile-auth > .coming-soon-icon > .bi {
  display: grid;
  place-items: center;
  width: 1em;
  height: 1em;
  line-height: 1;
}
#profile-auth > .coming-soon-icon > .bi::before {
  display: block;
  position: relative;
  top: 0;
  line-height: 1;
  vertical-align: 0;
}

#profile-auth:has(#discord-login) > .eyebrow { margin-bottom: 12px; }
#profile-auth:has(#discord-login) > h1 { margin-top: 0; }

@media (max-width: 760px) {
  #profile-auth > .coming-soon-icon {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }
}

.profile-booster-icon { width: 20px; height: 20px; object-fit: contain; flex: 0 0 20px; }

/* Account actions retain their meaning on hover and keyboard focus. */
#profile-actions > a.studio-button[href='/staff/'] {
  background: #f38f23 !important;
  border-color: #ffb94f !important;
  color: #241b06 !important;
  --profile-action-bg: #da7514;
  --profile-action-border: #ffc875;
  --profile-action-focus: #ffd081;
}
#profile-actions > a[href='/booster-role/'] {
  --profile-action-bg: #9e3976;
  --profile-action-border: #ed8bcd;
  --profile-action-focus: #ffb5eb;
}
#profile-actions > button {
  --profile-action-bg: #b83742;
  --profile-action-border: #ff858b;
  --profile-action-focus: #ff9699;
}
#profile-actions > :is(a[href='/staff/'], a[href='/booster-role/'], button) {
  transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out !important;
}
#profile-actions > :is(a[href='/staff/'], a[href='/booster-role/'], button):is(:hover, :focus-visible) {
  background: var(--profile-action-bg) !important;
  border-color: var(--profile-action-border) !important;
  color: #fff;
}
#profile-actions > :is(a[href='/staff/'], a[href='/booster-role/'], button):focus-visible {
  outline-color: var(--profile-action-focus) !important;
}
@media (prefers-reduced-motion: reduce) {
  #profile-actions > :is(a[href='/staff/'], a[href='/booster-role/'], button) { transition: none !important; }
}

#profile-actions > a.studio-button[href='/staff/']:is(:hover, :focus-visible) {
  background: var(--profile-action-bg) !important;
  border-color: var(--profile-action-border) !important;
}
#profile-actions > a.studio-button[href='/staff/']:active { background: #c96710 !important; }
