.app-shell {
  position: relative;
}

.top-bar-compact {
  position: absolute;
  top: 28px;
  right: 28px;
  justify-content: flex-end;
  margin: 0;
  min-height: 0;
  z-index: 3;
}

.top-bar-compact .theme-toggle {
  height: 42px;
  max-height: 42px;
  padding-top: 0;
  padding-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-main {
  align-self: start;
  padding-right: 150px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.support-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.support-note strong {
  display: block;
  color: var(--strong);
  margin-bottom: 4px;
}

.support-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.support-actions .profile-link {
  margin-left: auto;
}

.support-actions .support-link {
  margin-top: 0;
}

.notes a.inline-link {
  color: var(--strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.thanks-card {
  display: none !important;
}

@media (max-width: 1100px) {
  .top-bar-compact {
    top: 18px;
    right: 18px;
  }

  .hero-main {
    padding-right: 145px;
  }
}

@media (max-width: 700px) {
  .top-bar-compact {
    position: static;
    margin-bottom: 12px;
  }

  .top-bar-compact .theme-toggle {
    height: 40px;
    max-height: 40px;
  }

  .hero-main {
    padding-right: 0;
  }

  .brand-row {
    gap: 10px;
  }

  .support-actions {
    align-items: stretch;
  }

  .support-actions .profile-link {
    margin-left: 0;
  }
}
