@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

body.theme-home,
body.theme-blog,
body.theme-docs,
body.theme-legal,
body.theme-store,
body.theme-dashboard,
body.theme-admin,
body.theme-server-settings,
body.theme-server-staff,
body.theme-auth {
  --aegis-bg: #07090d;
  --aegis-surface: rgba(16, 21, 28, 0.9);
  --aegis-surface-strong: rgba(22, 28, 36, 0.96);
  --aegis-surface-soft: rgba(255, 255, 255, 0.035);
  --aegis-line: rgba(246, 241, 232, 0.1);
  --aegis-line-strong: rgba(246, 241, 232, 0.16);
  --aegis-text: #f6f1e8;
  --aegis-sub: #d9d1c4;
  --aegis-muted: #9d978f;
  --aegis-amber: #f3a524;
  --aegis-gold: #ffd07a;
  --aegis-blue: #63b8ff;
  --aegis-green: #49d39a;
  --aegis-red: #ff6f6f;
  --aegis-scroll-track: rgba(255, 255, 255, 0.03);
  --aegis-scroll-thumb: rgba(243, 165, 36, 0.6);
  --aegis-scroll-thumb-hover: rgba(255, 194, 91, 0.76);
  --aegis-scroll-thumb-active: rgba(255, 214, 128, 0.9);
  --aegis-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  color: var(--aegis-text);
  position: relative;
  color-scheme: dark;
}

body.theme-home,
body.theme-blog,
body.theme-docs,
body.theme-legal,
body.theme-store,
body.theme-auth {
  background:
    radial-gradient(circle at 14% 0, rgba(99, 184, 255, 0.08), transparent 28%),
    radial-gradient(circle at 86% 0, rgba(243, 165, 36, 0.14), transparent 26%),
    linear-gradient(180deg, #05070a 0%, #090d13 38%, #0b0f15 100%);
}

body.theme-dashboard,
body.theme-admin,
body.theme-server-settings,
body.theme-server-staff {
  background:
    radial-gradient(circle at top left, rgba(99, 184, 255, 0.06), transparent 24%),
    radial-gradient(circle at top right, rgba(243, 165, 36, 0.1), transparent 24%),
    linear-gradient(180deg, #06080c 0%, #0b1016 100%);
}

body.theme-home::before,
body.theme-blog::before,
body.theme-docs::before,
body.theme-legal::before,
body.theme-store::before,
body.theme-dashboard::before,
body.theme-admin::before,
body.theme-server-settings::before,
body.theme-server-staff::before,
body.theme-auth::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(246, 241, 232, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 232, 0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.72) 65%, transparent 100%);
  opacity: 0.2;
}

body.theme-home .wrap,
body.theme-blog .wrap,
body.theme-docs .wrap,
body.theme-legal .wrap,
body.theme-store .wrap,
body.theme-dashboard .wrap,
body.theme-server-settings .wrap,
body.theme-server-staff .wrap {
  position: relative;
  z-index: 1;
}

body.theme-home,
body.theme-blog,
body.theme-docs,
body.theme-legal,
body.theme-store,
body.theme-dashboard,
body.theme-admin,
body.theme-server-settings,
body.theme-server-staff,
body.theme-auth,
body.theme-home *,
body.theme-blog *,
body.theme-docs *,
body.theme-legal *,
body.theme-store *,
body.theme-dashboard *,
body.theme-admin *,
body.theme-server-settings *,
body.theme-server-staff *,
body.theme-auth * {
  scrollbar-width: thin;
  scrollbar-color: var(--aegis-scroll-thumb) var(--aegis-scroll-track);
}

body.theme-home *::-webkit-scrollbar,
body.theme-blog *::-webkit-scrollbar,
body.theme-docs *::-webkit-scrollbar,
body.theme-legal *::-webkit-scrollbar,
body.theme-store *::-webkit-scrollbar,
body.theme-dashboard *::-webkit-scrollbar,
body.theme-admin *::-webkit-scrollbar,
body.theme-server-settings *::-webkit-scrollbar,
body.theme-server-staff *::-webkit-scrollbar,
body.theme-auth *::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

body.theme-home *::-webkit-scrollbar-track,
body.theme-blog *::-webkit-scrollbar-track,
body.theme-docs *::-webkit-scrollbar-track,
body.theme-legal *::-webkit-scrollbar-track,
body.theme-store *::-webkit-scrollbar-track,
body.theme-dashboard *::-webkit-scrollbar-track,
body.theme-admin *::-webkit-scrollbar-track,
body.theme-server-settings *::-webkit-scrollbar-track,
body.theme-server-staff *::-webkit-scrollbar-track,
body.theme-auth *::-webkit-scrollbar-track {
  background: var(--aegis-scroll-track);
  border-radius: 999px;
}

body.theme-home *::-webkit-scrollbar-thumb,
body.theme-blog *::-webkit-scrollbar-thumb,
body.theme-docs *::-webkit-scrollbar-thumb,
body.theme-legal *::-webkit-scrollbar-thumb,
body.theme-store *::-webkit-scrollbar-thumb,
body.theme-dashboard *::-webkit-scrollbar-thumb,
body.theme-admin *::-webkit-scrollbar-thumb,
body.theme-server-settings *::-webkit-scrollbar-thumb,
body.theme-server-staff *::-webkit-scrollbar-thumb,
body.theme-auth *::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--aegis-scroll-thumb), rgba(183, 121, 22, 0.78));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(255, 216, 141, 0.14);
}

body.theme-home *::-webkit-scrollbar-thumb:hover,
body.theme-blog *::-webkit-scrollbar-thumb:hover,
body.theme-docs *::-webkit-scrollbar-thumb:hover,
body.theme-legal *::-webkit-scrollbar-thumb:hover,
body.theme-store *::-webkit-scrollbar-thumb:hover,
body.theme-dashboard *::-webkit-scrollbar-thumb:hover,
body.theme-admin *::-webkit-scrollbar-thumb:hover,
body.theme-server-settings *::-webkit-scrollbar-thumb:hover,
body.theme-server-staff *::-webkit-scrollbar-thumb:hover,
body.theme-auth *::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--aegis-scroll-thumb-hover), rgba(205, 136, 23, 0.86));
  border: 2px solid transparent;
  background-clip: padding-box;
}

body.theme-home *::-webkit-scrollbar-thumb:active,
body.theme-blog *::-webkit-scrollbar-thumb:active,
body.theme-docs *::-webkit-scrollbar-thumb:active,
body.theme-legal *::-webkit-scrollbar-thumb:active,
body.theme-store *::-webkit-scrollbar-thumb:active,
body.theme-dashboard *::-webkit-scrollbar-thumb:active,
body.theme-admin *::-webkit-scrollbar-thumb:active,
body.theme-server-settings *::-webkit-scrollbar-thumb:active,
body.theme-server-staff *::-webkit-scrollbar-thumb:active,
body.theme-auth *::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, var(--aegis-scroll-thumb-active), rgba(222, 151, 27, 0.94));
  border: 2px solid transparent;
  background-clip: padding-box;
}

body.theme-home,
body.theme-blog,
body.theme-docs,
body.theme-legal,
body.theme-store,
body.theme-dashboard,
body.theme-admin,
body.theme-server-settings,
body.theme-server-staff,
body.theme-auth,
body.theme-home .btn,
body.theme-blog .btn,
body.theme-docs .btn,
body.theme-legal .btn,
body.theme-store .btn,
body.theme-dashboard .btn,
body.theme-admin .btn,
body.theme-server-settings .btn,
body.theme-server-staff .btn,
body.theme-auth .btn,
body.theme-dashboard input,
body.theme-dashboard select,
body.theme-dashboard textarea,
body.theme-admin input,
body.theme-admin select,
body.theme-admin textarea,
body.theme-server-settings input,
body.theme-server-settings select,
body.theme-server-settings textarea,
body.theme-server-staff input,
body.theme-server-staff select,
body.theme-server-staff textarea {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

body.theme-home select option,
body.theme-blog select option,
body.theme-docs select option,
body.theme-legal select option,
body.theme-store select option,
body.theme-dashboard select option,
body.theme-admin select option,
body.theme-server-settings select option,
body.theme-server-staff select option,
body.theme-auth select option {
  color: #101418;
  background: #ffffff;
}

body.theme-home select option:disabled,
body.theme-blog select option:disabled,
body.theme-docs select option:disabled,
body.theme-legal select option:disabled,
body.theme-store select option:disabled,
body.theme-dashboard select option:disabled,
body.theme-admin select option:disabled,
body.theme-server-settings select option:disabled,
body.theme-server-staff select option:disabled,
body.theme-auth select option:disabled {
  color: #70757d;
  background: #f3f4f6;
}

body.theme-home .brand,
body.theme-blog .brand,
body.theme-docs .brand,
body.theme-legal .brand,
body.theme-store .brand,
body.theme-dashboard .sbBrand a,
body.theme-server-settings .brand,
body.theme-server-staff .brand,
body.theme-auth .auth-brand a,
body.theme-admin .sidebar-brand a {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

body.theme-home .brand span,
body.theme-blog .brand span,
body.theme-docs .brand span,
body.theme-legal .brand span,
body.theme-store .brand span,
body.theme-dashboard .sbBrandName span,
body.theme-server-settings .brand span,
body.theme-server-staff .brand span,
body.theme-auth .auth-brand a span,
body.theme-admin .sidebar-brand a span {
  color: var(--aegis-amber);
}

body.theme-home .brand-note,
body.theme-home .eyebrow,
body.theme-home .kicker,
body.theme-blog .kicker,
body.theme-docs .kicker,
body.theme-store .tier,
body.theme-store .featurePill,
body.theme-dashboard .sbBrandNote,
body.theme-dashboard .sec,
body.theme-dashboard .plan,
body.theme-dashboard .stat small,
body.theme-dashboard .subBadge,
body.theme-server-settings .eyebrow,
body.theme-server-staff .eyebrow,
body.theme-admin .stat-label,
body.theme-admin thead th {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

body.theme-home .nav,
body.theme-blog .nav,
body.theme-docs .nav,
body.theme-store .nav,
body.theme-dashboard .header,
body.theme-server-settings .topbar,
body.theme-server-staff .topbar {
  background: rgba(10, 14, 19, 0.76);
  backdrop-filter: blur(20px);
  border-color: rgba(246, 241, 232, 0.06);
}

body.theme-home .btn-main,
body.theme-store .mainbtn,
body.theme-dashboard .mainbtn,
body.theme-server-settings .btn-main,
body.theme-server-staff .btn-main,
body.theme-auth .btn-steam,
body.theme-home .btn.btn-main {
  background: linear-gradient(135deg, var(--aegis-amber), var(--aegis-gold));
  color: #1a1308;
  border-color: rgba(255, 208, 122, 0.35);
  box-shadow: 0 18px 40px rgba(243, 165, 36, 0.22);
}

body.theme-home .btn-ghost,
body.theme-store .ghost,
body.theme-dashboard .ghost,
body.theme-server-settings .btn-ghost,
body.theme-server-staff .btn-ghost,
body.theme-auth .auth-card,
body.theme-auth .btn-steam,
body.theme-admin .btn-toggle,
body.theme-admin .table-wrap,
body.theme-admin .stat-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border-color: var(--aegis-line);
  color: var(--aegis-text);
}

body.theme-home .btn:hover,
body.theme-blog .links a:hover,
body.theme-docs .links a:hover,
body.theme-store .btn:hover,
body.theme-dashboard .btn:hover,
body.theme-server-settings .btn:hover,
body.theme-server-staff .btn:hover,
body.theme-auth .btn-steam:hover,
body.theme-admin .btn-sm:hover {
  transform: translateY(-1px);
}

body.theme-home h1,
body.theme-blog h1,
body.theme-docs h1,
body.theme-legal h1,
body.theme-store h1,
body.theme-auth .auth-card h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--aegis-text);
}

body.theme-blog .article h2,
body.theme-docs .article h2,
body.theme-legal h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--aegis-text);
}

body.theme-home .lead,
body.theme-blog .lead,
body.theme-docs .lead,
body.theme-store .hero p,
body.theme-legal p,
body.theme-blog .article p,
body.theme-docs .article p,
body.theme-auth .subtitle,
body.theme-auth .steam-note,
body.theme-dashboard .header p,
body.theme-dashboard .hero p,
body.theme-server-settings .hero p,
body.theme-server-staff .hero p {
  color: var(--aegis-sub);
}

body.theme-home .heroCard,
body.theme-home .heroSide,
body.theme-home .metric,
body.theme-home .card,
body.theme-home .price,
body.theme-home .cta,
body.theme-home .articleCard,
body.theme-home .footerCard,
body.theme-home .featureDeck,
body.theme-home .featureVisual,
body.theme-blog .toc a,
body.theme-blog .article,
body.theme-blog .footCard,
body.theme-docs .toc,
body.theme-docs .article,
body.theme-docs .footCard,
body.theme-legal .card,
body.theme-store .stat,
body.theme-store .card,
body.theme-store .footCard,
body.theme-dashboard .hero,
body.theme-dashboard .panel,
body.theme-dashboard .serverRail,
body.theme-dashboard .workspacePanel,
body.theme-dashboard .subCard,
body.theme-dashboard .setCard,
body.theme-dashboard .modal,
body.theme-server-settings .hero,
body.theme-server-settings .rail,
body.theme-server-settings .sectionCard,
body.theme-server-settings .modalCard,
body.theme-server-staff .hero,
body.theme-server-staff .sectionCard,
body.theme-server-staff .sideCard,
body.theme-admin .sidebar,
body.theme-admin .table-wrap,
body.theme-admin .stat-card,
body.theme-admin .modalCard,
body.theme-auth .auth-card,
body.theme-auth .spinner {
  border: 1px solid var(--aegis-line-strong);
  box-shadow: var(--aegis-shadow);
}

body.theme-home .heroCard,
body.theme-home .heroSide,
body.theme-home .metric,
body.theme-home .card,
body.theme-home .price,
body.theme-home .cta,
body.theme-home .articleCard,
body.theme-home .footerCard,
body.theme-home .featureDeck,
body.theme-home .featureVisual,
body.theme-blog .toc a,
body.theme-blog .article,
body.theme-blog .footCard,
body.theme-docs .toc,
body.theme-docs .article,
body.theme-docs .footCard,
body.theme-legal .card,
body.theme-store .stat,
body.theme-store .card,
body.theme-store .footCard,
body.theme-dashboard .hero,
body.theme-dashboard .panel,
body.theme-dashboard .serverRail,
body.theme-dashboard .workspacePanel,
body.theme-dashboard .subCard,
body.theme-dashboard .setCard,
body.theme-dashboard .modal,
body.theme-server-settings .hero,
body.theme-server-settings .rail,
body.theme-server-settings .sectionCard,
body.theme-server-settings .modalCard,
body.theme-server-staff .hero,
body.theme-server-staff .sectionCard,
body.theme-server-staff .sideCard,
body.theme-admin .sidebar,
body.theme-admin .table-wrap,
body.theme-admin .stat-card,
body.theme-admin .modalCard,
body.theme-auth .auth-card {
  background:
    radial-gradient(circle at top right, rgba(243, 165, 36, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(22, 28, 36, 0.96), rgba(13, 17, 24, 0.96));
}

body.theme-home .navlinks a,
body.theme-blog .links a,
body.theme-docs .links a,
body.theme-store .footLinks a,
body.theme-blog .footLinks a,
body.theme-docs .footLinks a,
body.theme-home .footerLinks a,
body.theme-legal .back,
body.theme-dashboard .navItem,
body.theme-server-settings .railNav a,
body.theme-server-staff .staffNote,
body.theme-admin .nav-item {
  color: var(--aegis-sub);
}

body.theme-home .navlinks a:hover,
body.theme-store .footLinks a:hover,
body.theme-blog .footLinks a:hover,
body.theme-docs .footLinks a:hover,
body.theme-home .footerLinks a:hover,
body.theme-legal .back:hover,
body.theme-dashboard .navItem:hover,
body.theme-server-settings .railNav a:hover,
body.theme-admin .nav-item:hover {
  color: var(--aegis-text);
}

body.theme-home .brand-mark,
body.theme-dashboard .sbBrandMark,
body.theme-auth .auth-brand a img,
body.theme-server-settings .brand img,
body.theme-server-staff .brand img {
  filter: drop-shadow(0 0 10px rgba(243, 165, 36, 0.1));
}

body.theme-home .hero {
  padding-top: 104px;
}

body.theme-home h1 {
  max-width: 11ch;
  font-size: clamp(50px, 6vw, 76px);
  line-height: 0.95;
}

body.theme-home .lead {
  max-width: 38rem;
  font-size: 18px;
  line-height: 1.82;
}

body.theme-home .heroCard {
  border-radius: 38px;
  padding: 52px;
}

body.theme-home .heroSide,
body.theme-home .featureDeck,
body.theme-home .price,
body.theme-home .card,
body.theme-home .metric,
body.theme-home .articleCard,
body.theme-home .footerCard,
body.theme-home .cta {
  border-radius: 30px;
}

body.theme-home .eyebrow,
body.theme-home .kicker,
body.theme-blog .kicker,
body.theme-docs .kicker,
body.theme-server-settings .eyebrow,
body.theme-server-staff .eyebrow {
  color: var(--aegis-amber);
  letter-spacing: 0.16em;
}

body.theme-home .tag,
body.theme-home .lcBadge.chat,
body.theme-docs .kicker::before,
body.theme-home .eyebrow::before {
  color: var(--aegis-blue);
}

body.theme-home .pill,
body.theme-home .label,
body.theme-home .featureChip,
body.theme-home .shotTags span,
body.theme-home .triggerMeta span,
body.theme-home .planPills span,
body.theme-home .priceCapsules span,
body.theme-home .priceVisual span,
body.theme-home .chip,
body.theme-store .billingToggle,
body.theme-store .featurePill,
body.theme-dashboard .chip,
body.theme-dashboard .game,
body.theme-dashboard .badge,
body.theme-server-settings .chip,
body.theme-server-staff .chip {
  border-color: var(--aegis-line);
  background: rgba(255, 255, 255, 0.035);
}

body.theme-home .featureChip.active,
body.theme-dashboard .navItem.active,
body.theme-admin .nav-item.active {
  background: linear-gradient(90deg, rgba(243, 165, 36, 0.16), rgba(243, 165, 36, 0.06));
  border-color: rgba(243, 165, 36, 0.24);
  color: var(--aegis-amber);
}

body.theme-blog .hero,
body.theme-docs .hero,
body.theme-store .hero {
  padding: 74px 0 28px;
}

body.theme-blog h1,
body.theme-docs h1,
body.theme-store h1,
body.theme-legal h1 {
  max-width: 11.5ch;
  line-height: 0.98;
}

body.theme-blog .lead,
body.theme-docs .lead,
body.theme-store .hero p {
  max-width: 42rem;
}

body.theme-blog .toc a,
body.theme-docs .toc a,
body.theme-blog .miniCard,
body.theme-docs .miniCard,
body.theme-docs .step,
body.theme-docs .note,
body.theme-server-settings .checkRow,
body.theme-server-staff .checkRow,
body.theme-server-settings .mutedBox,
body.theme-server-staff .hintRow,
body.theme-server-staff .staffCard,
body.theme-admin tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--aegis-line);
}

body.theme-blog .article,
body.theme-docs .article,
body.theme-legal .card {
  border-radius: 30px;
  padding: 34px;
}

body.theme-legal .wrap {
  width: min(980px, calc(100% - 32px));
}

body.theme-legal .top {
  padding: 48px 0 22px;
}

body.theme-legal .back {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--aegis-line);
}

body.theme-store .topstats,
body.theme-dashboard .stats {
  gap: 16px;
}

body.theme-store .card,
body.theme-store .stat {
  border-radius: 30px;
}

body.theme-store .card.pop,
body.theme-store .card.currentPlan {
  background:
    radial-gradient(circle at top right, rgba(243, 165, 36, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(24, 22, 19, 0.98), rgba(15, 18, 24, 0.96));
}

body.theme-store .billingToggle button.active {
  background: linear-gradient(135deg, var(--aegis-amber), var(--aegis-gold));
  color: #18120a;
}

body.theme-dashboard .sidebar {
  background:
    linear-gradient(180deg, rgba(14, 18, 25, 0.99), rgba(11, 15, 21, 0.99));
  border-right-color: rgba(246, 241, 232, 0.08);
  box-shadow: 18px 0 60px rgba(0, 0, 0, 0.26);
}

body.theme-dashboard .header {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

body.theme-dashboard .hero,
body.theme-dashboard .workspaceHero {
  background:
    radial-gradient(circle at top right, rgba(243, 165, 36, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(23, 29, 38, 0.98), rgba(16, 21, 29, 0.98));
}

body.theme-dashboard .serverItem,
body.theme-dashboard .workspaceCard,
body.theme-dashboard .signal,
body.theme-dashboard .stat,
body.theme-dashboard .detail,
body.theme-dashboard .group input,
body.theme-dashboard .group select,
body.theme-dashboard .modal {
  border-color: var(--aegis-line);
}

body.theme-dashboard .serverItem,
body.theme-dashboard .workspaceCard,
body.theme-dashboard .signal,
body.theme-dashboard .stat,
body.theme-dashboard .group input,
body.theme-dashboard .group select {
  background: rgba(255, 255, 255, 0.035);
}

body.theme-dashboard .serverItem.active {
  background: linear-gradient(180deg, rgba(243, 165, 36, 0.14), rgba(243, 165, 36, 0.06));
  border-color: rgba(243, 165, 36, 0.3);
}

body.theme-dashboard .emptyStateCard,
body.theme-dashboard .empty {
  border-color: rgba(246, 241, 232, 0.12);
}

body.theme-admin {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

body.theme-admin .sidebar {
  width: 236px;
  min-height: 100vh;
}

body.theme-admin .main {
  background: transparent;
}

body.theme-admin .sidebar-brand,
body.theme-admin .table-toolbar,
body.theme-admin thead th {
  border-color: rgba(246, 241, 232, 0.08);
}

body.theme-admin .nav-item {
  border-radius: 12px;
  margin-bottom: 4px;
}

body.theme-admin .stat-value,
body.theme-admin td.mono,
body.theme-admin .table-count,
body.theme-admin .pager-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

body.theme-admin .select-sm,
body.theme-admin .field input,
body.theme-admin .field select {
  background: rgba(255, 255, 255, 0.035);
  color: var(--aegis-text);
  border-color: var(--aegis-line);
}

body.theme-server-settings .hero,
body.theme-server-staff .hero,
body.theme-server-settings .rail,
body.theme-server-settings .sectionCard,
body.theme-server-staff .sectionCard,
body.theme-server-staff .sideCard {
  border-radius: 30px;
}

body.theme-server-settings .group input,
body.theme-server-settings .group select,
body.theme-server-settings .group textarea,
body.theme-server-staff .group input {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--aegis-line);
  color: var(--aegis-text);
}

body.theme-server-settings .optionBtn,
body.theme-server-staff .hintRow,
body.theme-server-staff .staffCard {
  border-color: var(--aegis-line);
  background: rgba(255, 255, 255, 0.03);
}

body.theme-auth {
  align-items: center;
  justify-content: center;
}

body.theme-auth .auth-container {
  position: relative;
  z-index: 1;
}

body.theme-auth .auth-card {
  border-radius: 28px;
  padding: 42px 38px;
}

body.theme-auth .auth-card h2 {
  font-size: 42px;
  line-height: 0.98;
  margin-bottom: 10px;
}

body.theme-auth .subtitle {
  font-size: 14px;
  margin-bottom: 30px;
}

body.theme-auth .btn-steam {
  width: 100%;
  min-height: 58px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 700;
}

body.theme-auth .error-msg {
  background: rgba(255, 111, 111, 0.1);
  border: 1px solid rgba(255, 111, 111, 0.18);
  color: var(--aegis-red);
}

body.theme-auth .spinner {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 3px solid rgba(246, 241, 232, 0.08);
  border-top-color: var(--aegis-amber);
  background: transparent;
}

body.theme-auth .msg,
body.theme-auth .error {
  position: relative;
  z-index: 1;
  color: var(--aegis-sub);
}

@media (max-width: 1080px) {
  body.theme-home .heroGrid,
  body.theme-home .featureMiniGrid,
  body.theme-home .prices,
  body.theme-home .compareGrid,
  body.theme-home .futureGrid,
  body.theme-home .resourceSplit,
  body.theme-store .grid,
  body.theme-dashboard .workspace,
  body.theme-dashboard .stats,
  body.theme-dashboard .split,
  body.theme-dashboard .workspaceInfo,
  body.theme-dashboard .signalGrid,
  body.theme-server-settings .layout,
  body.theme-server-settings .formGrid,
  body.theme-server-staff .layout,
  body.theme-server-staff .formGrid,
  body.theme-admin .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body.theme-home .heroCard,
  body.theme-home .heroSide,
  body.theme-home .featureDeck,
  body.theme-home .price,
  body.theme-home .card,
  body.theme-blog .article,
  body.theme-docs .article,
  body.theme-legal .card,
  body.theme-store .card,
  body.theme-dashboard .hero,
  body.theme-dashboard .panel,
  body.theme-dashboard .serverRail,
  body.theme-dashboard .workspacePanel,
  body.theme-server-settings .hero,
  body.theme-server-settings .rail,
  body.theme-server-settings .sectionCard,
  body.theme-server-staff .hero,
  body.theme-server-staff .sectionCard,
  body.theme-server-staff .sideCard,
  body.theme-admin .table-wrap,
  body.theme-auth .auth-card {
    border-radius: 24px;
  }

  body.theme-home .hero {
    padding-top: 84px;
  }

  body.theme-home h1,
  body.theme-blog h1,
  body.theme-docs h1,
  body.theme-legal h1,
  body.theme-store h1,
  body.theme-auth .auth-card h2 {
    max-width: none;
    font-size: clamp(36px, 11vw, 54px);
  }
}
