.dashboard-header--premium {
  --header-gold: #efc26b;
  --header-gold-line: rgba(239, 194, 107, .44);
  --header-gold-soft: rgba(239, 194, 107, .09);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
}
.dashboard-header--premium.is-premium {
  border-color: var(--header-gold-line);
}
.dashboard-header--premium > .ghosty-site-switcher {
  justify-self: start;
  min-width: 0;
}
.dashboard-header--premium .ghosty-site-switcher-beta {
  color: var(--text-muted);
  background: var(--bg-modifier);
  border-color: var(--border);
  letter-spacing: .035em;
}
.dashboard-header--premium .ghosty-site-switcher-trigger {
  padding-inline: 4px;
}
.dashboard-header--premium .header-premium-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid #e3b35b;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffdf91, #efb953);
  color: #3c2809;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.dashboard-header--premium .header-premium-link:hover {
  color: #302008;
  background: #ffe4a5;
  border-color: #f8d17e;
  text-decoration: none;
}
.dashboard-header--premium .header-premium-link.is-active {
  color: var(--header-gold);
  background: var(--header-gold-soft);
  border-color: var(--header-gold-line);
}
.dashboard-header--premium .header-premium-link.is-active:hover {
  background: color-mix(in srgb, var(--header-gold) 17%, var(--bg-secondary));
  border-color: var(--header-gold);
}
.dashboard-header--premium .header-premium-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.dashboard-header--premium .header-premium-crown {
  width: 19px;
  height: 19px;
  flex: none;
}
.dashboard-header--premium .header-premium-arrow {
  width: 14px;
  height: 14px;
  flex: none;
}
.dashboard-header--premium .header-premium-status {
  padding: 2px 7px;
  border: 1px solid var(--header-gold-line);
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 600;
}
.dashboard-header--premium .header-premium-link[aria-current="page"] {
  box-shadow: inset 0 -2px 0 currentColor;
}
.dashboard-header--premium .dashboard-header-actions {
  justify-content: flex-end;
  gap: 8px;
  padding-inline-start: 12px;
  border-inline-start: 1px solid var(--border);
  min-width: 0;
}
.dashboard-header--premium .guild-selector-button,
.dashboard-header--premium .user-menu-button {
  min-height: 36px;
}
.dashboard-header--premium .user-menu-button > span {
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-theme="light"] .dashboard-header--premium {
  --header-gold: #80530e;
  --header-gold-line: rgba(146, 101, 29, .38);
  --header-gold-soft: rgba(174, 125, 51, .09);
}
#landing-premium-title {
  scroll-margin-top: 24px;
}
@media (max-width: 1020px) {
  .dashboard-header--premium {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .dashboard-header--premium .dashboard-header-actions {
    grid-column: 1 / -1;
    border-inline-start: 0;
    border-top: 1px solid var(--border);
    padding: 11px 0 0;
  }
}
@media (max-width: 600px) {
  .dashboard-header--premium {
    padding: 12px 14px;
    gap: 10px;
  }
  .dashboard-header--premium .dashboard-header-actions {
    gap: 6px;
    justify-content: flex-end;
  }
  .dashboard-header--premium .ghosty-site-switcher-menu {
    width: min(285px, calc(100vw - 56px));
  }
}
@media (max-width: 480px) {
  .dashboard-header--premium {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .dashboard-header--premium > .ghosty-site-switcher {
    grid-column: 1 / -1;
  }
  .dashboard-header--premium .header-premium-link {
    grid-column: 1;
    gap: 5px;
    padding-inline: 8px;
    font-size: .8rem;
  }
  .dashboard-header--premium .header-premium-arrow {
    display: none;
  }
  .dashboard-header--premium .dashboard-header-actions {
    grid-column: 2;
    border: 0;
    padding: 0;
  }
}
@media (max-width: 370px) {
  .dashboard-header--premium {
    grid-template-columns: minmax(0, 1fr);
  }
  .dashboard-header--premium > .ghosty-site-switcher,
  .dashboard-header--premium .header-premium-link,
  .dashboard-header--premium .dashboard-header-actions {
    grid-column: 1;
  }
  .dashboard-header--premium .dashboard-header-actions {
    border-top: 1px solid var(--border);
    padding-top: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-header--premium .header-premium-link {
    transition: none;
  }
}
@media (forced-colors: active) {
  .dashboard-header--premium .header-premium-link {
    color: LinkText;
    border-color: LinkText;
  }
}
@media (max-width: 600px) {
  .dashboard-header--premium .guild-selector,
  .dashboard-header--premium .user-menu { position: static; }
  .dashboard-header--premium .guild-selector-list,
  .dashboard-header--premium .user-menu-panel {
    top: calc(100% + 6px);
    right: 12px;
    left: auto;
    min-width: 0;
    width: min(280px, calc(100% - 24px));
  }
}
