﻿@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=Sora:wght@600;700&display=swap");

:root {
  --bg: #1b1b1b;
  --surface: #1b1b1b;
  --surface-soft: #1b1b1b;
  --text: #f3f3f3;
  --muted: rgba(243, 243, 243, 0.72);
  --line: rgba(243, 243, 243, 0.16);
  --primary: #e9204f;
  --primary-strong: #e9204f;
  --liked: #f3f3f3;
  --liked-bg: rgba(233, 32, 79, 0.24);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.36);
  --font-display: "Sora", "Trebuchet MS", sans-serif;
  --font-body: "Manrope", "Segoe UI", Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 7% 7%, #17233b 0, transparent 36%),
    radial-gradient(circle at 92% 5%, #17213a 0, transparent 28%),
    linear-gradient(150deg, #090c14, #0c111c 55%, #0a0f18);
  color: var(--text);
}

html {
  scrollbar-color: rgba(255, 71, 119, 0.78) rgba(21, 18, 31, 0.94);
  scrollbar-width: thin;
}

body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  background:
    linear-gradient(180deg, rgba(18, 14, 28, 0.96), rgba(29, 22, 39, 0.92));
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid rgba(14, 11, 22, 0.88);
  background:
    linear-gradient(180deg, rgba(255, 71, 119, 0.95), rgba(242, 227, 198, 0.82));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 12px rgba(255, 71, 119, 0.22);
}

body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(255, 102, 143, 0.98), rgba(255, 238, 205, 0.9));
}

body::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
  background: rgba(16, 12, 24, 0.96);
}

.page-transition-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 71, 119, 0.2), transparent 46%),
    radial-gradient(circle at 86% 8%, rgba(242, 227, 198, 0.16), transparent 42%),
    linear-gradient(150deg, rgba(14, 10, 20, 0.92), rgba(22, 16, 30, 0.9) 58%, rgba(20, 15, 28, 0.92));
  backdrop-filter: blur(8px) saturate(118%);
  -webkit-backdrop-filter: blur(8px) saturate(118%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.page-transition-loader.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-transition-loader-card {
  width: min(420px, 92vw);
  border-radius: 20px;
  border: 1px solid rgba(255, 71, 119, 0.34);
  background:
    linear-gradient(145deg, rgba(57, 47, 65, 0.9), rgba(38, 31, 48, 0.86)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(242, 227, 198, 0.12),
    0 0 36px rgba(255, 71, 119, 0.2);
  padding: 18px 18px 16px;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 12px;
}

.page-transition-loader-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 227, 198, 0.24);
  background: linear-gradient(160deg, rgba(18, 18, 28, 0.92), rgba(42, 34, 53, 0.84));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 16px rgba(255, 71, 119, 0.2);
  color: #f2e3c6;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: 0.03em;
}

.page-transition-loader-logo img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
}

.page-transition-loader-text {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.page-transition-loader-text strong {
  color: #f2e3c6;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.page-transition-loader-text span {
  color: rgba(242, 227, 198, 0.72);
  font-size: 0.86rem;
  line-height: 1.2;
}

.page-transition-loader-bar {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(242, 227, 198, 0.24);
  background:
    linear-gradient(90deg, rgba(255, 71, 119, 0.9), rgba(242, 227, 198, 0.92), rgba(57, 47, 65, 0.95));
  background-size: 180% 100%;
  box-shadow: 0 0 18px rgba(255, 71, 119, 0.26);
  animation: page-transition-loader-bar 1.06s linear infinite;
}

@keyframes page-transition-loader-bar {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -20% 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.page {
  padding: 24px 0 56px;
}

.topbar {
  background: rgba(12, 17, 28, 0.88);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.topbar-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-display);
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover {
  color: var(--text);
}

.auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.profile-link-btn {
  border: 1px solid rgba(243, 243, 243, 0.2);
  background: rgba(243, 243, 243, 0.06);
  color: #f3f3f3;
  border-radius: 10px;
  padding: 4px 8px 4px 5px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.profile-link-btn:hover,
.topbar-user-menu.is-open .profile-link-btn {
  border-color: rgba(233, 32, 79, 0.52);
  background: rgba(233, 32, 79, 0.14);
  box-shadow: 0 0 0 1px rgba(233, 32, 79, 0.18);
}

.profile-link-btn .avatar-sm,
.profile-link-btn .avatar-fallback {
  width: 30px;
  height: 30px;
}

.profile-link-name {
  max-width: 124px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 700;
  color: #f3f3f3;
}

.topbar-user-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: rgba(243, 243, 243, 0.72);
  transition: transform 0.2s ease, color 0.2s ease;
}

.topbar-user-caret svg {
  width: 16px;
  height: 16px;
}

.topbar-user-menu.is-open .topbar-user-caret {
  transform: rotate(180deg);
  color: #f3f3f3;
}

.topbar-user-menu {
  position: relative;
}

.topbar-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(280px, 86vw);
  border-radius: 14px;
  border: 1px solid rgba(243, 243, 243, 0.16);
  background: linear-gradient(180deg, rgba(27, 27, 27, 0.98), rgba(19, 19, 19, 0.98));
  box-shadow:
    0 20px 36px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(233, 32, 79, 0.14);
  padding: 8px;
  z-index: 60;
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}

.topbar-user-dropdown[hidden] {
  display: none !important;
}

.topbar-dropdown-divider {
  height: 1px;
  background: rgba(243, 243, 243, 0.12);
  margin: 8px 2px;
}

.topbar-dropdown-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(243, 243, 243, 0.86);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 10px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.topbar-dropdown-item:hover {
  background: rgba(233, 32, 79, 0.14);
  color: #f3f3f3;
}

.topbar-dropdown-item.is-static {
  cursor: default;
}

.topbar-dropdown-item.is-static:hover {
  background: transparent;
}

.topbar-dropdown-item.is-premium {
  color: #f7cf5b;
}

.topbar-dropdown-item.is-danger {
  color: #ff8fa2;
}

.topbar-dropdown-item.is-danger:hover {
  background: rgba(233, 32, 79, 0.2);
  color: #ffd7e3;
}

.topbar-dropdown-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  flex: none;
}

.topbar-dropdown-icon svg {
  width: 16px;
  height: 16px;
}

.topbar-dropdown-form {
  margin: 0;
}

.hero {
  background: linear-gradient(130deg, #162038, #2d4bbf 54%, var(--hero-accent, #4f7cff));
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero.has-image {
  background-image:
    linear-gradient(130deg, rgba(10, 16, 30, 0.6), rgba(38, 64, 145, 0.54)),
    var(--hero-banner-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-family: var(--font-display);
}

.hero p {
  margin: 0;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.stat-card h2 {
  margin: 0;
  font-size: 1.7rem;
}

.stat-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h1,
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-head a {
  color: #a9beef;
}

.section-head a:hover {
  color: #d8e3ff;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.home-server-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.home-featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-showcase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-featured-section {
  margin-top: 18px;
}

.home-server-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.home-server-main-info {
  min-width: 0;
}

.home-server-metrics {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.home-server-metrics .mini-stat {
  white-space: nowrap;
}

.home-server-grid .server-card {
  flex-wrap: wrap;
}

@media (max-width: 1180px) {
  .home-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .home-featured-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-showcase-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.server-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.server-showcase-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.server-showcase-banner {
  display: block;
  height: 84px;
  background: linear-gradient(120deg, #1e2b49, #2f4da8 58%, #4f7cff);
  position: relative;
}

.server-showcase-banner.has-image {
  background-image:
    linear-gradient(180deg, rgba(8, 12, 20, 0.16), rgba(8, 12, 20, 0.62)),
    var(--server-banner-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.server-showcase-body {
  padding: 12px;
}

.server-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.server-toolbar-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid #38518a;
  background: #162647;
  color: #cfe0ff;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.server-toolbar-chip.muted {
  border-color: var(--line);
  background: #101929;
  color: var(--muted);
}

.server-rank-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  border-radius: 999px;
  border: 1px solid #5f7bd1;
  background: rgba(12, 19, 34, 0.76);
  color: #dbe7ff;
  padding: 3px 9px;
  font-size: 0.76rem;
  font-weight: 800;
}

.server-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.server-meta-pill {
  border-radius: 999px;
  border: 1px solid #34466e;
  background: #16213a;
  color: #cadbff;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.server-meta-pill.muted {
  border-color: var(--line);
  background: #101929;
  color: var(--muted);
}

.server-sortbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.servers-vote-hero {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  margin: 2px 0 18px;
  padding: 14px 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.servers-vote-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(233, 32, 79, 0.44);
  background: rgba(233, 32, 79, 0.14);
  color: #f3f3f3;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 12px;
}

.servers-vote-hero-chip-dot {
  display: inline-block;
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e9204f;
  animation: vote-live-dot-pulse 1.2s ease-in-out infinite;
  will-change: transform, opacity;
}

.servers-vote-hero-chip-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(233, 32, 79, 0.52);
  animation: vote-live-dot-ripple 1.2s ease-out infinite;
  pointer-events: none;
}

@keyframes vote-live-dot-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.82;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes vote-live-dot-ripple {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.servers-vote-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #f3f3f3;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  text-wrap: balance;
  will-change: transform, opacity, filter, text-shadow;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .servers-vote-hero h1 {
    background-image: linear-gradient(112deg, #f3f3f3 6%, #ffd4e1 42%, #e9204f 92%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.servers-vote-hero h1.is-hero-text-changing,
.servers-vote-hero p.is-hero-text-changing {
  animation: hero-text-change-glow 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hero-text-change-glow {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.996);
    text-shadow: 0 0 0 rgba(233, 32, 79, 0);
    filter: blur(1px);
  }
  45% {
    opacity: 1;
    transform: translateY(-1px) scale(1.002);
    text-shadow:
      0 0 8px rgba(233, 32, 79, 0.28),
      0 0 14px rgba(243, 243, 243, 0.14);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
    filter: blur(0);
  }
}

.servers-vote-hero p {
  margin: 0;
  color: rgba(216, 225, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.35rem);
  will-change: transform, opacity, filter, text-shadow;
}

.servers-vote-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 198, 76, 0.44);
  background: rgba(63, 47, 14, 0.52);
  color: #ffce68;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 14px;
}

.server-sort-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0f1523, #0b111c);
  box-shadow: var(--shadow);
  grid-column: 2;
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}

.server-sort-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #aeb8ca;
  padding: 10px 16px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.server-sort-tab:hover {
  border-color: #35486f;
  color: #e8eeff;
  background: #141d2e;
}

.server-sort-tab.is-active {
  background: linear-gradient(135deg, #2a3260, #3d4fbe);
  border-color: #425fd8;
  color: #f6f9ff;
  box-shadow: 0 10px 18px rgba(43, 70, 161, 0.35);
}

.server-sort-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  line-height: 1;
}

.server-sort-tab-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.server-sort-tab-label {
  font-size: 0.98rem;
  letter-spacing: 0.1px;
}

.server-count-chip {
  display: inline-flex;
  align-items: center;
  grid-column: 3;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #111a2a;
  color: var(--muted);
  font-size: 0.82rem;
  padding: 5px 10px;
  white-space: nowrap;
}

.server-list-stack {
  display: grid;
  gap: 10px;
}

.server-list-stack.is-reordering .server-list-row {
  pointer-events: none;
}

.server-list-stack.is-reordering .server-list-row:hover {
  transform: none;
}

.server-list-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) 1.5fr auto;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #121a2a, #111827 55%, #111626);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  transform-origin: center center;
  position: relative;
}

.server-list-row:hover {
  border-color: #445a83;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

.server-list-row.is-reordering-row {
  z-index: 2;
  will-change: transform;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(233, 32, 79, 0.16),
    0 0 18px rgba(233, 32, 79, 0.16);
}

.server-list-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.server-rank {
  min-width: 40px;
  text-align: center;
  border-radius: 999px;
  border: 1px solid #4661a1;
  background: #162443;
  color: #cfe0ff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 8px;
}

.server-list-identity {
  min-width: 0;
}

.server-list-identity h2 {
  margin: 0;
  line-height: 1.16;
  font-family: var(--font-display);
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.server-name-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.server-list-identity .server-name-row {
  flex-wrap: nowrap;
}

.server-name-row-truncate {
  width: 100%;
}

.server-name-row-truncate > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-verified-tick {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #38b365;
  border: 1px solid rgba(56, 179, 101, 0.6);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  flex: none;
}

.server-verified-tick.is-emoji {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.server-verified-emoji {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.server-featured-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(233, 32, 79, 0.42);
  background: rgba(233, 32, 79, 0.18);
  color: #ffd7e3;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(233, 32, 79, 0.14),
    0 0 14px rgba(233, 32, 79, 0.2);
}

.server-showcase-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(243, 243, 243, 0.3);
  background: rgba(243, 243, 243, 0.1);
  color: #f3f3f3;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(243, 243, 243, 0.1),
    0 0 14px rgba(243, 243, 243, 0.14);
}

.profile-vertical-name-row .server-name-row {
  width: 100%;
}

.profile-vertical-name-row .server-name-row > span:first-child {
  min-width: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
  word-break: break-word;
}

.server-list-identity p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.server-list-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.mini-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0d131f;
  border: 1px solid #2b364b;
  border-radius: 10px;
  color: #d9e3f6;
  padding: 4px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.mini-stat-icon {
  width: 13px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.mini-stat-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mini-stat strong {
  font-size: 0.8rem;
  line-height: 1;
  color: #f2f6ff;
}

.mini-like {
  border-color: #6f3144;
  background: #1c1119;
  color: #ff8ca6;
}

.mini-member {
  border-color: #3e4759;
  background: #141922;
  color: #ced7ea;
}

.mini-online {
  border-color: #2a6f52;
  background: #10211a;
  color: #74e8aa;
}

.mini-voice {
  border-color: #624290;
  background: #181228;
  color: #c9a4ff;
}

.mini-boost {
  border-color: rgba(244, 114, 182, 0.55);
  background: rgba(244, 114, 182, 0.14);
  color: #f472b6;
}

.server-list-action {
  display: flex;
  justify-content: flex-end;
}

.server-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s ease,
    box-shadow 0.24s ease,
    background-color 0.22s ease;
  will-change: transform;
}

.server-card:hover,
.server-showcase-card:hover {
  border-color: #3a4b6d;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
}

.server-card-col {
  flex-direction: column;
  align-items: stretch;
}

.server-main-link {
  display: flex;
  gap: 12px;
}

.server-card h2,
.server-card h3,
.server-card p {
  margin: 0;
}

.server-card p {
  color: var(--muted);
  margin-top: 4px;
}

.server-main-link h2 {
  line-height: 1.2;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.server-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  flex: none;
}

.server-icon-lg {
  width: 94px;
  height: 94px;
  border-radius: 24px;
}

.server-icon-fallback {
  display: grid;
  place-items: center;
  background: #20345f;
  color: #dbe7ff;
  font-weight: 700;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}

.like-text {
  margin: 0;
}

.btn {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  background: var(--primary-strong);
  transform: translateY(-1px);
}

.btn-muted {
  border-color: #41506d;
  background: #121b2b;
  color: #c7d4ef;
}

.btn-muted:hover {
  background: #172238;
}

.btn-liked {
  border-color: var(--liked);
  background: var(--liked-bg);
  color: var(--liked);
}

.btn-liked:hover {
  background: #d1fadf;
}

.server-profile,
.user-profile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.server-head,
.user-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.server-head h1,
.user-head h1 {
  margin: 0 0 6px;
}

.server-head p,
.user-head p {
  margin: 4px 0;
  color: var(--muted);
}

.server-like-panel {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.server-panel-shell {
  margin-bottom: 16px;
}

.server-panel-card {
  background: #121821;
  border: 1px solid #2b3446;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.33);
  color: #edf3ff;
  position: relative;
}

.server-panel-card.has-banner-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--server-profile-banner-image);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.server-panel-card.has-banner-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.2) 0%, rgba(12, 16, 24, 0.52) 38%, rgba(12, 16, 24, 0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

.server-panel-banner {
  height: 124px;
  background: linear-gradient(120deg, #1e2b49, #2f4da8 58%, #4f7cff);
  position: relative;
  z-index: 2;
}

.server-panel-banner.has-image {
  background-image:
    linear-gradient(180deg, rgba(8, 12, 20, 0.068), rgba(8, 12, 20, 0.6)),
    var(--server-banner-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.server-panel-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px 22px 18px;
  margin-top: -24px;
  align-items: start;
  position: relative;
  z-index: 2;
  background: rgba(24, 26, 32, 0.46);
  border-top: 1px solid rgba(255, 255, 255, 0.034);
  backdrop-filter: blur(12px) saturate(110%);
  -webkit-backdrop-filter: blur(12px) saturate(110%);
}

.server-panel-icon {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  object-fit: cover;
  border: 7px solid #121821;
  margin-top: -40px;
}

.server-panel-identity {
  min-width: 0;
}

.server-panel-identity h1 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.1;
  word-break: break-word;
}

.server-panel-identity p {
  margin: 4px 0;
  color: #b7c2d6;
}

.server-panel-actions {
  justify-self: end;
  align-self: start;
}

.server-panel-actions .btn-liked {
  background: #234132;
  border-color: #3aa56a;
  color: #dcffeb;
}

.server-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 22px 18px;
  position: relative;
  z-index: 2;
  background: rgba(24, 26, 32, 0.38);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
}

.server-stat-card {
  background: #0d131d;
  border: 1px solid #2b3446;
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 3px;
}

.server-stat-card strong {
  font-size: 1.08rem;
  line-height: 1.22;
}

.server-stat-card span {
  color: #9daccc;
  font-size: 0.86rem;
}

.avatar-sm,
.avatar-lg {
  border-radius: 50%;
  object-fit: cover;
}

.avatar-sm {
  width: 34px;
  height: 34px;
}

.avatar-lg {
  width: 90px;
  height: 90px;
}

.avatar-fallback {
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #1d4ed8;
  background: #dbeafe;
}

.badge {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  background: #1a2a46;
  color: #bdd3ff;
}

.list {
  display: grid;
  gap: 8px;
}

.list-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.list-row:hover {
  background: var(--surface-soft);
  border-color: #3a4b6d;
}

.center-box {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.alert {
  background: #2b1f10;
  color: #ffd8a8;
  border: 1px solid #604321;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.empty {
  color: var(--muted);
}

code {
  font-family: Consolas, "Courier New", monospace;
  color: #c8d7f7;
  background: #0f1522;
  border: 1px solid #2b3650;
  border-radius: 8px;
  padding: 1px 6px;
}

@media (max-width: 800px) {
  .topbar-row {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .auth {
    width: 100%;
    justify-content: flex-end;
  }

  .topbar-user-dropdown {
    right: 0;
  }

  .profile-link-name {
    max-width: 96px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .server-head,
  .user-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .servers-vote-hero {
    justify-items: start;
    text-align: left;
    padding: 18px 14px 14px;
    gap: 10px;
  }

  .servers-vote-hero h1 {
    font-size: clamp(1.4rem, 8vw, 2.2rem);
    text-wrap: pretty;
  }

  .servers-vote-hero p {
    font-size: 0.98rem;
  }

  .servers-vote-hero-note {
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.35;
  }
}

.discord-profile-shell {
  margin-bottom: 16px;
}

.discord-profile-card {
  background: #181a20;
  border: 1px solid #2e3138;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.26);
  color: #f2f3f5;
  position: relative;
}

.discord-banner {
  height: 124px;
  background: var(--banner-fallback, linear-gradient(120deg, #5865f2, #3d4bd3 45%, #1e293b));
  position: relative;
  z-index: 0;
}

.discord-banner.has-image {
  background-image:
    linear-gradient(180deg, rgba(17, 24, 39, 0.16), rgba(17, 24, 39, 0.55)),
    var(--banner-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.discord-profile-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px 22px 18px;
  margin-top: -24px;
  align-items: start;
  position: relative;
  z-index: 1;
  background: rgba(24, 26, 32, 0.170);
  border-top: 1px solid rgba(255, 255, 255, 0.021);
  backdrop-filter: blur(12px) saturate(110%);
  -webkit-backdrop-filter: blur(12px) saturate(110%);
}

.discord-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 7px solid #181a20;
  margin-top: -40px;
}

.discord-identity h1 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.1;
  word-break: break-word;
}

.discord-identity {
  min-width: 0;
}

.discord-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.discord-handle {
  margin: 4px 0 6px;
  color: #b5bac1;
  font-weight: 600;
}

.discord-meta-line {
  margin: 3px 0;
  color: #b5bac1;
}

.discord-profile-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  align-self: start;
}

.discord-profile-actions .btn-liked {
  background: #284f35;
  border-color: #3ba55c;
  color: #ebfff0;
}

.discord-profile-actions .btn-liked:hover {
  background: #2f6240;
}

.discord-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 22px 18px;
  position: relative;
  z-index: 1;
  background: rgba(24, 26, 32, 0.38);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
}

.discord-stat-card {
  background: #111317;
  border: 1px solid #2e3138;
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 3px;
}

.discord-stat-card strong {
  font-size: 1.12rem;
}

.discord-stat-card span {
  color: #b5bac1;
  font-size: 0.88rem;
}

.discord-badge-list {
  padding: 0 22px 22px;
}

.discord-badge-list h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.discord-badge-list .empty {
  color: #a5adba;
}

.badge-stack {
  display: grid;
  gap: 8px;
}

.badge-row-card {
  background: #111317;
  border: 1px solid #2e3138;
  border-radius: 10px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.discord-badges-inline,
.profile-core-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.profile-discord-badges-inline {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.profile-core-badges .profile-badge,
.profile-discord-badges-inline .profile-badge {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent !important;
  border: 0 !important;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.profile-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: none;
}

.profile-badge svg {
  width: 13px;
  height: 13px;
  fill: #ffffff;
}

.profile-badge-emoji {
  font-size: 1.2rem;
  line-height: 1;
}

.profile-badge-custom-emoji {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.profile-tooltip-target {
  position: relative;
}

.profile-tooltip-target[data-tooltip]:not([data-tooltip=""])::after,
.profile-tooltip-target[data-tooltip]:not([data-tooltip=""])::before {
  position: absolute;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 42;
}

.profile-tooltip-target[data-tooltip]:not([data-tooltip=""])::after {
  content: attr(data-tooltip);
  bottom: calc(100% + 9px);
  transform: translate(-50%, 4px);
  padding: 7px 11px;
  border-radius: 10px;
  border: 1px solid rgba(233, 32, 79, 0.46);
  background: linear-gradient(180deg, rgba(27, 27, 27, 0.98), rgba(19, 19, 19, 0.98));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(233, 32, 79, 0.2);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  color: #f3f3f3;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.profile-tooltip-target[data-tooltip]:not([data-tooltip=""])::before {
  content: "";
  bottom: calc(100% + 3px);
  transform: translate(-50%, 4px);
  border: 6px solid transparent;
  border-top-color: rgba(233, 32, 79, 0.5);
}

.profile-tooltip-target[data-tooltip]:not([data-tooltip=""]):hover::after,
.profile-tooltip-target[data-tooltip]:not([data-tooltip=""]):hover::before,
.profile-tooltip-target[data-tooltip]:not([data-tooltip=""]):focus-visible::after,
.profile-tooltip-target[data-tooltip]:not([data-tooltip=""]):focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.profile-tooltip-target[data-tooltip]:not([data-tooltip=""]):focus-visible {
  outline: 2px solid rgba(233, 32, 79, 0.7);
  outline-offset: 2px;
  border-radius: 6px;
}

.profile-tooltip-target.tooltip-bottom[data-tooltip]:not([data-tooltip=""])::after {
  bottom: auto;
  top: calc(100% + 9px);
  transform: translate(-50%, -4px);
}

.profile-tooltip-target.tooltip-bottom[data-tooltip]:not([data-tooltip=""])::before {
  bottom: auto;
  top: calc(100% + 3px);
  transform: translate(-50%, -4px);
  border-top-color: transparent;
  border-bottom-color: rgba(233, 32, 79, 0.5);
}

.profile-tooltip-target.tooltip-bottom[data-tooltip]:not([data-tooltip=""]):hover::after,
.profile-tooltip-target.tooltip-bottom[data-tooltip]:not([data-tooltip=""]):hover::before,
.profile-tooltip-target.tooltip-bottom[data-tooltip]:not([data-tooltip=""]):focus-visible::after,
.profile-tooltip-target.tooltip-bottom[data-tooltip]:not([data-tooltip=""]):focus-visible::before {
  transform: translate(-50%, 0);
}

.badge-verified {
  background: #3ba55c;
}

.badge-creator {
  background: #f5b93a;
}

.badge-staff {
  background: #5865f2;
}

.badge-admin {
  background: #ef4444;
}

.badge-moderator {
  background: #14b8a6;
}

.badge-project-leader {
  background: #ff6f61;
}

.badge-premium {
  background: linear-gradient(135deg, #e9204f, #ff4f79);
}

.own-badge {
  background: #eff4ff;
  color: #1d4ed8;
}

.topbar .profile-badge {
  width: 16px;
  height: 16px;
}

.topbar .profile-badge-inline-emoji {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
}

.topbar .profile-badge-inline-emoji.badge-verified {
  background: transparent;
}

.topbar .profile-badge-inline-emoji .profile-badge-custom-emoji {
  width: 18px;
  height: 18px;
}

.topbar .profile-badge svg {
  width: 10px;
  height: 10px;
}

.profile-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.profile-side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.profile-side-card h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.server-panel-shell {
  border: 1px solid rgba(243, 243, 243, 0.16);
  border-radius: 14px;
  background: rgba(27, 27, 27, 0.92);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.server-panel-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(243, 243, 243, 0.12);
  background: rgba(27, 27, 27, 0.94);
}

.server-panel-tab {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(243, 243, 243, 0.72);
  border-radius: 10px;
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.server-panel-tab:hover {
  color: #f3f3f3;
  border-color: rgba(243, 243, 243, 0.22);
  background: rgba(243, 243, 243, 0.05);
}

.server-panel-tab.is-active {
  color: #f3f3f3;
  border-color: rgba(233, 32, 79, 0.52);
  background: rgba(233, 32, 79, 0.18);
  box-shadow: 0 0 0 1px rgba(233, 32, 79, 0.16);
}

.server-panel-tab-count {
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(233, 32, 79, 0.22);
  color: #f3f3f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  padding: 0 6px;
  line-height: 1;
}

.server-panel-content {
  padding: 12px;
}

.server-panel-content[hidden] {
  display: none;
}

.server-overview-stack {
  display: grid;
  gap: 10px;
}

.server-overview-card {
  border: 1px solid rgba(243, 243, 243, 0.16);
  border-radius: 12px;
  background: rgba(243, 243, 243, 0.03);
  padding: 12px;
}

.server-overview-card h3 {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #f3f3f3;
}

.server-overview-card p {
  margin: 0;
  color: rgba(243, 243, 243, 0.86);
  line-height: 1.55;
  white-space: pre-line;
}

.server-overview-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.server-overview-icon.is-primary {
  background: #e9204f;
  box-shadow: 0 0 10px rgba(233, 32, 79, 0.46);
}

.server-overview-icon.is-success {
  background: #f3f3f3;
  box-shadow: 0 0 10px rgba(243, 243, 243, 0.34);
}

.server-overview-icon.is-danger {
  background: #e9204f;
  box-shadow: 0 0 10px rgba(233, 32, 79, 0.42);
}

.server-mini-vote-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.server-mini-vote-card {
  border: 1px solid rgba(243, 243, 243, 0.14);
  border-radius: 12px;
  background: rgba(243, 243, 243, 0.02);
  padding: 12px 10px;
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.server-mini-vote-card strong {
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  color: #f3f3f3;
}

.server-mini-vote-card span {
  font-size: 0.73rem;
  letter-spacing: 0.36px;
  color: rgba(243, 243, 243, 0.64);
  font-weight: 800;
}

.server-mini-vote-card.is-today strong {
  color: #f3f3f3;
}

.server-mini-vote-card.is-month strong {
  color: #f3f3f3;
}

.server-mini-vote-card.is-total strong {
  color: #e9204f;
}

.server-mini-vote-card.is-last-month strong {
  color: #f3f3f3;
}

.server-comments-card {
  border: 1px solid rgba(243, 243, 243, 0.16);
  border-radius: 12px;
  background: rgba(243, 243, 243, 0.04);
  padding: 14px;
}

.server-comments-card h3 {
  margin: 0 0 8px;
}

.server-comments-card p {
  margin: 0;
  color: rgba(243, 243, 243, 0.72);
}

.server-comment-list {
  display: grid;
  gap: 8px;
}

.server-comment-item {
  border: 1px solid rgba(243, 243, 243, 0.14);
  border-radius: 10px;
  background: rgba(243, 243, 243, 0.03);
  padding: 10px;
  display: grid;
  gap: 7px;
}

.server-comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.server-comment-user {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.server-comment-user-meta {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.server-comment-user-meta strong {
  color: #f3f3f3;
  font-size: 0.9rem;
  line-height: 1.1;
}

.server-comment-user-meta span {
  color: rgba(243, 243, 243, 0.66);
  font-size: 0.78rem;
  line-height: 1.1;
}

.server-comment-rating {
  color: #e9204f;
  font-size: 0.84rem;
  letter-spacing: 0.45px;
  font-weight: 800;
  white-space: nowrap;
}

.server-comment-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.server-comment-delete-form {
  margin: 0;
}

.server-comment-delete-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(233, 32, 79, 0.38);
  background: rgba(233, 32, 79, 0.12);
  color: #ffd7e3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.server-comment-delete-btn svg {
  width: 14px;
  height: 14px;
  display: block;
}

.server-comment-delete-btn:hover {
  border-color: rgba(233, 32, 79, 0.7);
  background: rgba(233, 32, 79, 0.22);
  color: #fff2f7;
}

.server-comment-text {
  margin: 0;
  color: rgba(243, 243, 243, 0.86);
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.server-panel-shell .profile-activity-summary-card {
  background: rgba(27, 27, 27, 0.92);
  border-color: rgba(243, 243, 243, 0.16);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.server-panel-shell .profile-activity-kpi-card,
.server-panel-shell .profile-activity-detail-card,
.server-panel-shell .profile-vote-table,
.server-panel-shell .guild-activity-list-card {
  border-color: rgba(243, 243, 243, 0.16);
  background: rgba(243, 243, 243, 0.03);
}

.server-panel-shell .profile-activity-kpi-card span,
.server-panel-shell .profile-activity-detail-card h3,
.server-panel-shell .profile-activity-detail-sub,
.server-panel-shell .profile-vote-table-head span,
.server-panel-shell .guild-activity-list-head p {
  color: rgba(243, 243, 243, 0.72);
}

.server-panel-shell .profile-activity-kpi-card strong,
.server-panel-shell .profile-activity-detail-main,
.server-panel-shell .profile-vote-guild,
.server-panel-shell .guild-activity-list-head h3,
.server-panel-shell .guild-activity-list-name {
  color: #f3f3f3;
}

.server-panel-shell .profile-vote-row,
.server-panel-shell .profile-vote-table-head,
.server-panel-shell .guild-activity-list-row {
  border-color: rgba(243, 243, 243, 0.12);
}

.server-panel-shell .profile-vote-invite {
  color: rgba(243, 243, 243, 0.84);
}

.server-panel-shell .guild-event-status-dot.is-active,
.server-panel-shell .guild-event-status-dot.is-scheduled,
.server-panel-shell .guild-event-status-dot.is-canceled {
  background: #e9204f;
  box-shadow: 0 0 10px rgba(233, 32, 79, 0.44);
}

.server-panel-shell .guild-event-status-dot.is-completed {
  background: #f3f3f3;
  box-shadow: 0 0 10px rgba(243, 243, 243, 0.32);
}

.server-panel-shell .guild-event-status-chip,
.server-panel-shell .guild-event-status-chip.is-active,
.server-panel-shell .guild-event-status-chip.is-scheduled,
.server-panel-shell .guild-event-status-chip.is-canceled {
  border-color: rgba(233, 32, 79, 0.46);
  background: rgba(233, 32, 79, 0.16);
  color: #ffd7e3;
}

.server-panel-shell .guild-event-status-chip.is-completed {
  border-color: rgba(243, 243, 243, 0.34);
  background: rgba(243, 243, 243, 0.08);
  color: #f3f3f3;
}

.server-panel-shell .guild-activity-type-chip-icon {
  color: #e9204f;
}

.server-comment-time {
  color: rgba(243, 243, 243, 0.6);
  font-size: 0.75rem;
  font-weight: 700;
}

.profile-activity-summary-card {
  background: linear-gradient(160deg, #0f1728, #0b1222);
  border: 1px solid #2f4062;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

.profile-activity-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 236px));
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.profile-activity-kpi-card {
  border: 1px solid #2e3f61;
  border-radius: 12px;
  background: rgba(13, 20, 34, 0.86);
  padding: 10px 8px;
  display: grid;
  gap: 6px;
  justify-items: center;
  align-content: center;
  min-height: 72px;
}

.profile-activity-kpi-card strong {
  color: #f5f9ff;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 800;
}

.profile-activity-kpi-card span {
  color: #93a8d0;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.42px;
  text-transform: uppercase;
}

.profile-activity-kpi-presence strong {
  font-size: 1.12rem;
  line-height: 1.1;
}

.profile-activity-kpi-presence span {
  text-transform: uppercase;
}

.profile-activity-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.profile-activity-detail-card {
  border: 1px solid #2e3f61;
  border-radius: 12px;
  background: rgba(11, 17, 30, 0.88);
  padding: 11px 12px;
  display: grid;
  gap: 5px;
}

.profile-activity-detail-card h3 {
  margin: 0;
  color: #92a6ce;
  font-size: 0.85rem;
  font-weight: 700;
}

.profile-activity-detail-main {
  color: #f2f7ff;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
  word-break: break-word;
}

.profile-activity-detail-sub {
  margin: 0;
  color: #b3c0da;
  font-size: 0.85rem;
  line-height: 1.3;
}

.profile-activity-presence-card .profile-activity-detail-main {
  font-size: 1.02rem;
}

.profile-vote-table {
  border: 1px solid #2f4062;
  border-radius: 14px;
  background: rgba(10, 16, 30, 0.84);
  overflow: hidden;
}

.profile-vote-table-head,
.profile-vote-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.2fr) minmax(110px, 0.9fr) minmax(120px, 1fr);
  gap: 10px;
  align-items: center;
}

.profile-vote-table-head {
  padding: 10px 12px;
  border-bottom: 1px solid #2f3f60;
  background: rgba(16, 25, 43, 0.76);
}

.profile-vote-table-head span {
  color: #91a7d0;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.36px;
}

.profile-vote-table-body {
  display: grid;
}

.profile-vote-row {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(44, 61, 95, 0.65);
}

.profile-vote-row:last-child {
  border-bottom: 0;
}

.profile-vote-rank {
  color: #d4e2ff;
  font-size: 0.96rem;
  font-weight: 800;
}

.profile-vote-guild {
  color: #f2f7ff;
  font-size: 1.02rem;
  font-weight: 800;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-vote-invite {
  display: inline-flex;
  justify-content: flex-start;
  color: #8fc2ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.profile-vote-invite-empty {
  color: #8ea0c4;
}

.profile-vote-time {
  color: #9eb0d2;
  font-size: 0.9rem;
  font-weight: 700;
}

.profile-global-stats-panel {
  margin-top: 10px;
}

.profile-global-stats-head {
  margin-top: 9px;
}

.profile-global-kpi-grid {
  margin-bottom: 8px;
}

.profile-global-detail-grid {
  margin-bottom: 10px;
}

.profile-global-stats-empty {
  margin: 4px 2px 2px;
}

.profile-global-stats-table {
  border: 1px solid #2f4062;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(10, 16, 30, 0.84);
}

.profile-global-stats-table-head,
.profile-global-stats-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.2fr) minmax(100px, 0.75fr) minmax(130px, 0.95fr);
  gap: 10px;
  align-items: center;
}

.profile-global-stats-table-head {
  padding: 10px 12px;
  border-bottom: 1px solid #2f3f60;
  background: rgba(16, 25, 43, 0.76);
}

.profile-global-stats-table-head span {
  color: #91a7d0;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.36px;
}

.profile-global-stats-table-body {
  display: grid;
}

.profile-global-stats-row {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(44, 61, 95, 0.65);
}

.profile-global-stats-row:last-child {
  border-bottom: 0;
}

.profile-global-rank {
  color: #d4e2ff;
  font-size: 0.96rem;
  font-weight: 800;
}

.profile-global-guild {
  color: #f2f7ff;
  font-size: 1rem;
  font-weight: 800;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.profile-global-guild:hover {
  color: #9fc4ff;
}

.profile-global-count {
  color: #f3f3f3;
  font-size: 0.92rem;
  font-weight: 800;
}

.profile-global-time {
  color: #b3c0da;
  font-size: 0.85rem;
  font-weight: 700;
}

.guild-activity-panel {
  margin-top: 10px;
  display: grid;
  gap: 9px;
  overflow: hidden;
}

.guild-activity-head {
  margin-top: 14px;
  margin-bottom: 4px;
}

.guild-activity-head h2 {
  line-height: 1.08;
}

.guild-activity-head p {
  align-self: center;
}

.guild-activity-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.guild-activity-status-card {
  border: 1px solid rgba(243, 243, 243, 0.16);
  border-radius: 12px;
  background: rgba(27, 27, 27, 0.92);
  padding: 10px 10px;
  display: grid;
  gap: 6px;
}

.guild-activity-status-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(243, 243, 243, 0.8);
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 0;
}

.guild-event-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}

.guild-event-status-dot.is-active {
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
}

.guild-event-status-dot.is-scheduled {
  background: #e9204f;
  box-shadow: 0 0 10px rgba(233, 32, 79, 0.5);
}

.guild-event-status-dot.is-completed {
  background: #f3f3f3;
  box-shadow: 0 0 10px rgba(243, 243, 243, 0.35);
}

.guild-event-status-dot.is-canceled {
  background: #f87171;
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.42);
}

.guild-activity-status-card strong {
  color: #f3f3f3;
  font-size: 1.34rem;
  line-height: 1;
  font-weight: 800;
}

.guild-activity-type-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.guild-activity-type-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(243, 243, 243, 0.2);
  border-radius: 10px;
  background: rgba(243, 243, 243, 0.05);
  color: rgba(243, 243, 243, 0.86);
  padding: 5px 8px;
  font-size: 0.78rem;
  font-weight: 700;
}

.guild-activity-type-chip strong {
  color: #f3f3f3;
}

.guild-activity-type-chip-icon {
  width: 13px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e9204f;
  flex: none;
}

.guild-activity-type-chip-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.guild-activity-list-card {
  border: 1px solid rgba(243, 243, 243, 0.16);
  border-radius: 12px;
  background: rgba(27, 27, 27, 0.92);
  padding: 10px;
  display: grid;
  gap: 9px;
  min-width: 0;
}

.guild-activity-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.guild-activity-list-head h3 {
  margin: 0;
  color: #f3f3f3;
  font-size: 0.96rem;
  font-weight: 800;
}

.guild-activity-list-head p {
  margin: 0;
  color: rgba(243, 243, 243, 0.72);
  font-size: 0.8rem;
  font-weight: 600;
}

.guild-activity-list {
  display: grid;
  gap: 6px;
}

.guild-activity-list-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(84px, auto);
  gap: 10px;
  align-items: start;
  padding: 8px 9px;
  border: 1px solid rgba(243, 243, 243, 0.12);
  border-radius: 10px;
  background: rgba(243, 243, 243, 0.03);
}

.guild-activity-list-rank {
  color: #e9204f;
  font-size: 0.86rem;
  font-weight: 800;
}

.guild-activity-list-name {
  color: #f3f3f3;
  font-size: 0.92rem;
  font-weight: 700;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guild-activity-list-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.guild-activity-list-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: rgba(243, 243, 243, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
}

.guild-activity-list-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.guild-event-status-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(243, 243, 243, 0.24);
  background: rgba(243, 243, 243, 0.06);
  padding: 2px 7px;
  line-height: 1.1;
  color: #f3f3f3;
  font-size: 0.72rem;
  font-weight: 800;
}

.guild-event-status-chip.is-active {
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.15);
  color: #97f6ce;
}

.guild-event-status-chip.is-scheduled {
  border-color: rgba(233, 32, 79, 0.5);
  background: rgba(233, 32, 79, 0.14);
  color: #ffd3df;
}

.guild-event-status-chip.is-completed {
  border-color: rgba(243, 243, 243, 0.34);
  background: rgba(243, 243, 243, 0.1);
  color: #f3f3f3;
}

.guild-event-status-chip.is-canceled {
  border-color: rgba(248, 113, 113, 0.46);
  background: rgba(248, 113, 113, 0.15);
  color: #ffc2c2;
}

.guild-event-type-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(243, 243, 243, 0.22);
  background: rgba(243, 243, 243, 0.05);
  padding: 2px 7px;
  line-height: 1.1;
  color: rgba(243, 243, 243, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
}

.guild-event-location {
  color: #f3f3f3;
}

.guild-activity-list-count {
  color: #f3f3f3;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  justify-self: end;
  align-self: center;
}

.guild-activity-empty {
  margin: 0;
  color: rgba(243, 243, 243, 0.72);
  font-size: 0.9rem;
}

.profile-presence-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.profile-presence-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.profile-presence-dot.presence-online {
  background: #3eca75;
  box-shadow: 0 0 10px rgba(62, 202, 117, 0.55);
}

.profile-presence-dot.presence-idle {
  background: #f5b847;
  box-shadow: 0 0 10px rgba(245, 184, 71, 0.45);
}

.profile-presence-dot.presence-dnd {
  background: #f05d6a;
  box-shadow: 0 0 10px rgba(240, 93, 106, 0.45);
}

.profile-presence-dot.presence-offline,
.profile-presence-dot.presence-unknown {
  background: #7d8ba8;
  box-shadow: 0 0 10px rgba(125, 139, 168, 0.34);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.profile-left-column {
  display: grid;
  gap: 12px;
}

.profile-right-column {
  min-width: 0;
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.profile-right-column .section-head {
  align-items: center;
}

.profile-vertical-shell {
  margin: 0;
}

.profile-vertical-card {
  background: #181a20;
  border: 1px solid #2e3138;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.26);
  color: #f2f3f5;
  position: relative;
}

.profile-vertical-card.is-premium {
  border-color: rgba(233, 32, 79, 0.46);
  box-shadow:
    0 14px 40px rgba(16, 24, 40, 0.26),
    0 0 0 1px rgba(233, 32, 79, 0.24),
    0 0 36px rgba(233, 32, 79, 0.3),
    0 0 78px rgba(233, 32, 79, 0.18);
}

.profile-vertical-card.is-featured {
  border-color: rgba(233, 32, 79, 0.46);
  box-shadow:
    0 14px 40px rgba(16, 24, 40, 0.26),
    0 0 0 1px rgba(233, 32, 79, 0.22),
    0 0 34px rgba(233, 32, 79, 0.24),
    0 0 68px rgba(233, 32, 79, 0.16);
}

.profile-vertical-card.has-banner-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--profile-vertical-banner-image);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.profile-vertical-card.has-banner-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.2) 0%, rgba(12, 16, 24, 0.52) 38%, rgba(12, 16, 24, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

.profile-vertical-banner {
  height: 138px;
  background: var(--profile-vertical-banner-fallback, linear-gradient(120deg, #5865f2, #3d4bd3 45%, #1e293b));
  position: relative;
  z-index: 2;
}

.profile-vertical-banner.has-image {
  background-image:
    linear-gradient(180deg, rgba(17, 24, 39, 0.16), rgba(17, 24, 39, 0.55)),
    var(--profile-vertical-banner-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.profile-vertical-body {
  position: relative;
  z-index: 2;
  padding: 16px 14px 14px;
  margin-top: -24px;
  background: rgba(24, 26, 32, 0.44);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.profile-vertical-avatar-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  margin-bottom: 8px;
}

.profile-vertical-avatar {
  width: 106px;
  height: 106px;
  border-radius: 50%;
  object-fit: cover;
  border: 7px solid #181a20;
  margin-top: -42px;
  margin-bottom: 0;
  flex: none;
}

.profile-avatar-badge-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 6px;
  max-width: 100%;
  min-height: 26px;
  margin-top: 8px;
}

.profile-vertical-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-vertical-name-row h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  font-family: var(--font-display);
}

.profile-server-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border-radius: 8px;
  border: 1px solid #33479f;
  background: linear-gradient(180deg, #1f2b5e, #192347);
  color: #8ea8ff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.35px;
  line-height: 1;
  text-transform: uppercase;
}

.profile-server-tag-featured {
  border-color: rgba(233, 32, 79, 0.46);
  background: linear-gradient(180deg, rgba(233, 32, 79, 0.28), rgba(233, 32, 79, 0.16));
  color: #ffd3df;
  box-shadow:
    0 0 0 1px rgba(233, 32, 79, 0.16),
    0 0 14px rgba(233, 32, 79, 0.22);
}

.profile-server-tag-showcase {
  border-color: rgba(243, 243, 243, 0.3);
  background: linear-gradient(180deg, rgba(243, 243, 243, 0.16), rgba(243, 243, 243, 0.08));
  color: #f3f3f3;
  box-shadow:
    0 0 0 1px rgba(243, 243, 243, 0.12),
    0 0 14px rgba(243, 243, 243, 0.16);
}

.profile-vertical-handle {
  margin: 6px 0 8px;
  color: #b5bac1;
  font-weight: 600;
  font-size: 1.15rem;
}

.profile-discord-badge {
  background: transparent;
  border: 0;
}

.profile-discord-glyph {
  font-size: 1.2rem;
  line-height: 1;
}

.profile-vertical-actions {
  margin-bottom: 10px;
}

.profile-own-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-inline-success {
  margin: 0 0 10px;
  border: 1px solid #3a7f63;
  background: rgba(19, 47, 36, 0.82);
  color: #adf4cf;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.88rem;
}

.my-servers-grid {
  display: grid;
  gap: 12px;
}

.my-server-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.my-server-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.my-server-main {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.my-server-meta {
  min-width: 0;
}

.my-server-meta h2 {
  margin: 0;
}

.my-server-meta p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.my-server-owner-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(243, 243, 243, 0.26);
  background: rgba(243, 243, 243, 0.1);
  color: #f3f3f3;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  line-height: 1.15;
  white-space: nowrap;
}

.my-server-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.my-server-content-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(243, 243, 243, 0.04);
  padding: 10px 11px;
}

.my-server-content-label {
  display: inline-block;
  margin-bottom: 6px;
  color: rgba(243, 243, 243, 0.78);
  font-size: 0.8rem;
  font-weight: 800;
}

.my-server-content-block p {
  margin: 0;
  color: #f3f3f3;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.4;
}

.my-server-content-block a {
  color: #f3f3f3;
  text-decoration: underline;
  text-decoration-color: rgba(243, 243, 243, 0.45);
}

.owned-server-modal {
  width: min(700px, calc(100vw - 28px));
  max-height: min(88vh, 860px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.owned-server-modal .profile-edit-form {
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.owned-server-invite-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}

.owned-server-invite-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #334866;
  border-right: 0;
  border-radius: 10px 0 0 10px;
  padding: 0 11px;
  min-height: 42px;
  background: #0f1522;
  color: rgba(243, 243, 243, 0.76);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
}

.owned-server-invite-input .js-owned-invite-code {
  border-radius: 0 10px 10px 0;
}

.profile-vertical-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.profile-vertical-stat-card {
  background: rgba(10, 14, 23, 0.88);
  border: 1px solid #2e374a;
  border-radius: 12px;
  padding: 8px 8px;
  text-align: center;
}

.profile-vertical-stat-button {
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.profile-vertical-stat-button:hover {
  border-color: #4a5f84;
  background: rgba(14, 19, 31, 0.94);
  transform: translateY(-1px);
}

.profile-vertical-stat-button:focus-visible {
  outline: 2px solid #6e8fff;
  outline-offset: 2px;
}

.profile-vertical-stat-card strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.profile-vertical-stat-card span {
  display: block;
  margin-top: 4px;
  color: #9ca9c2;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.profile-vertical-info {
  display: grid;
  gap: 8px;
}

.profile-vertical-info-item {
  border-top: 1px solid rgba(139, 152, 179, 0.22);
  padding-top: 8px;
}

.profile-vertical-info-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.profile-vertical-info-label {
  display: block;
  color: #8fa0be;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.profile-vertical-info-item p {
  margin: 0;
  color: #d6deed;
  line-height: 1.35;
}

.profile-vertical-info-item a {
  color: #a6c5ff;
}

.profile-edit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.profile-edit-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.profile-edit-success {
  margin: 0 0 10px;
  border: 1px solid #3a7f63;
  background: #132f24;
  color: #adf4cf;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.88rem;
}

.profile-edit-form {
  display: grid;
  gap: 8px;
}

.profile-edit-form label {
  color: #cfd9ea;
  font-size: 0.86rem;
  font-weight: 700;
}

.profile-edit-form textarea,
.profile-edit-form input {
  width: 100%;
  border: 1px solid #334866;
  background: #0f1522;
  color: #ecf2ff;
  border-radius: 10px;
  padding: 9px 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  resize: vertical;
}

.profile-edit-form textarea {
  min-height: 110px;
}

.profile-edit-form textarea:focus,
.profile-edit-form input:focus {
  outline: 0;
  border-color: #4f7cff;
  box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.18);
}

.profile-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

.profile-edit-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}

.profile-edit-modal-overlay[hidden] {
  display: none;
}

.profile-edit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 19, 0.55);
  backdrop-filter: blur(11px) saturate(125%);
  -webkit-backdrop-filter: blur(11px) saturate(125%);
}

.profile-edit-modal {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 28px));
  background: linear-gradient(170deg, #101728, #0d1422);
  border: 1px solid #2f3f60;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
  padding: 14px;
}

.profile-edit-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.profile-edit-modal-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.profile-edit-modal-close {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #42557c;
  border-radius: 10px;
  background: #141f34;
  color: #dce7ff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.profile-edit-modal-close:hover {
  background: #1a2943;
}

body.modal-open {
  overflow: hidden;
}

.profile-follows-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 118;
  display: grid;
  place-items: center;
  padding: 20px;
}

.profile-follows-modal-overlay[hidden] {
  display: none;
}

.profile-follows-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 19, 0.6);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.profile-follows-modal {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100vw - 28px));
  max-height: min(78vh, 740px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  background: linear-gradient(170deg, #101728, #0d1422);
  border: 1px solid #2f3f60;
  border-radius: 16px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.52);
  padding: 14px;
}

.profile-follows-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.profile-follows-modal-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.profile-follows-modal-close {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #42557c;
  border-radius: 10px;
  background: #141f34;
  color: #dce7ff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.profile-follows-modal-close:hover {
  background: #1a2943;
}

.profile-follows-tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 12px;
  padding: 4px;
  width: fit-content;
  border-radius: 12px;
  border: 1px solid #2f3f60;
  background: rgba(13, 19, 33, 0.76);
}

.profile-follows-tab {
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #aebcda;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 8px 11px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.profile-follows-tab:hover {
  border-color: #3f5179;
  color: #ecf2ff;
}

.profile-follows-tab.is-active {
  border-color: #4a63b8;
  background: linear-gradient(140deg, #26305a, #314491);
  color: #f7f9ff;
}

.profile-follows-panel {
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.profile-follows-row {
  background: #0f1523;
  border-color: #2f3f60;
}

.profile-follows-row:hover {
  background: #152036;
  border-color: #48629b;
}

.admin-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.admin-panels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-link-grid {
  display: grid;
  gap: 8px;
}

.admin-list-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.admin-rank {
  min-width: 34px;
  text-align: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 2px 8px;
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-list-main-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 3px 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
}

.admin-filter-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 220px) auto;
  align-items: end;
}

.admin-filter-form label {
  display: block;
  margin: 0 0 5px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
}

.admin-filter-form input,
.admin-filter-form select {
  width: 100%;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 8px 10px;
  font-family: var(--font-body);
}

.admin-filter-form input {
  min-width: 0;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  vertical-align: middle;
  text-align: left;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.admin-user-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.admin-user-link > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 3px 8px;
  font-size: 0.76rem;
  font-weight: 700;
}

.admin-status + .admin-status {
  margin-left: 6px;
}

.admin-status.is-active {
  border-color: rgba(56, 179, 101, 0.5);
  background: rgba(56, 179, 101, 0.18);
  color: #86f2b1;
}

.admin-status.admin-status-featured.is-active {
  border-color: rgba(233, 32, 79, 0.5);
  background: rgba(233, 32, 79, 0.18);
  color: #ffd7e3;
  box-shadow:
    0 0 0 1px rgba(233, 32, 79, 0.18),
    0 0 12px rgba(233, 32, 79, 0.22);
}

.admin-status.admin-status-showcase.is-active {
  border-color: rgba(243, 243, 243, 0.34);
  background: rgba(243, 243, 243, 0.12);
  color: #f3f3f3;
  box-shadow:
    0 0 0 1px rgba(243, 243, 243, 0.14),
    0 0 12px rgba(243, 243, 243, 0.14);
}

.admin-status.is-passive {
  border-color: rgba(243, 243, 243, 0.2);
  background: rgba(243, 243, 243, 0.06);
  color: rgba(243, 243, 243, 0.72);
}

.admin-status.is-premium {
  border-color: rgba(233, 32, 79, 0.45);
  background: rgba(233, 32, 79, 0.2);
  color: #ffd8e3;
}

.admin-status.is-banned {
  border-color: rgba(233, 32, 79, 0.62);
  background: rgba(233, 32, 79, 0.24);
  color: #ffd9e5;
  box-shadow:
    0 0 0 1px rgba(233, 32, 79, 0.2),
    0 0 14px rgba(233, 32, 79, 0.24);
}

.admin-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-inline-form {
  margin: 0;
}

.admin-inline-form-category {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-inline-select {
  min-width: 180px;
  max-width: 220px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(18, 16, 28, 0.92);
  color: var(--text);
  font: inherit;
  padding: 9px 10px;
}

.admin-inline-select:focus {
  outline: 0;
  border-color: rgba(255, 71, 119, 0.54);
  box-shadow: 0 0 0 3px rgba(255, 71, 119, 0.18);
}

.admin-action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-pagination {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-pagination-pages {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-pagination .btn {
  min-width: 44px;
  justify-content: center;
}

@media (max-width: 1100px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-activity-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-activity-detail-grid {
    grid-template-columns: 1fr;
  }

  .server-mini-vote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guild-activity-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-vote-table-head,
  .profile-vote-row {
    grid-template-columns: 60px minmax(0, 1fr) minmax(92px, 0.8fr) minmax(110px, 0.9fr);
  }

  .profile-global-stats-table-head,
  .profile-global-stats-row {
    grid-template-columns: 56px minmax(0, 1fr) minmax(82px, 0.7fr) minmax(108px, 0.85fr);
  }

  .profile-left-column {
    max-width: 560px;
  }

  .admin-panels-grid {
    grid-template-columns: 1fr;
  }

  .admin-filter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .discord-profile-main {
    grid-template-columns: 1fr;
    margin-top: -18px;
    align-items: start;
  }

  .discord-avatar {
    margin-top: -30px;
  }

  .discord-profile-actions {
    justify-self: start;
  }

  .discord-stat-grid {
    grid-template-columns: 1fr;
  }

  .server-panel-main {
    grid-template-columns: 1fr;
    margin-top: -18px;
    align-items: start;
  }

  .server-panel-icon {
    margin-top: -30px;
  }

  .server-panel-actions {
    justify-self: start;
  }

  .server-stat-grid {
    grid-template-columns: 1fr;
  }

  .server-showcase-grid {
    grid-template-columns: 1fr;
  }

  .server-sortbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .server-sort-tabs {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .server-count-chip {
    grid-column: 1;
    justify-self: start;
  }

  .server-panel-tabs {
    flex-wrap: wrap;
  }

  .server-panel-tab {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
  }

  .server-list-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .server-list-metrics {
    justify-content: flex-start;
  }

  .server-list-action {
    justify-content: flex-start;
  }

  .home-server-metrics {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .profile-columns {
    grid-template-columns: 1fr;
  }

  .my-server-head {
    flex-direction: column;
    align-items: stretch;
  }

  .my-server-content-grid {
    grid-template-columns: 1fr;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-activity-kpi-grid {
    grid-template-columns: 1fr;
  }

  .server-mini-vote-grid {
    grid-template-columns: 1fr;
  }

  .profile-vote-table-head {
    display: none;
  }

  .profile-global-stats-table-head {
    display: none;
  }

  .profile-vote-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 5px 10px;
  }

  .profile-global-stats-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 5px 10px;
  }

  .profile-vote-invite,
  .profile-vote-time {
    grid-column: 2;
  }

  .profile-global-count,
  .profile-global-time {
    grid-column: 2;
  }

  .guild-activity-list-head {
    display: grid;
    gap: 4px;
  }

  .guild-activity-list-row {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 6px 9px;
  }

  .guild-activity-list-count {
    grid-column: 2;
  }

  .profile-vertical-body {
    margin-top: -16px;
    padding: 14px 12px 12px;
  }

  .profile-vertical-avatar {
    margin-top: -34px;
    width: 94px;
    height: 94px;
  }

  .profile-vertical-avatar-row {
    gap: 10px;
  }

  .profile-avatar-badge-strip {
    margin-top: 4px;
  }

  .profile-vertical-name-row h1 {
    font-size: 1.6rem;
  }

  .profile-vertical-handle {
    font-size: 1rem;
  }

  .profile-vertical-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-edit-actions {
    justify-content: stretch;
  }

  .profile-edit-actions .btn {
    flex: 1;
  }

  .owned-server-invite-prefix {
    padding: 0 9px;
    font-size: 0.82rem;
  }
}

/* Theme Override: #1b1b1b / #e9204f / #f3f3f3 */
body {
  background-color: #1b1b1b;
  background-image:
    radial-gradient(
      1400px 520px at 50% -420px,
      rgba(233, 32, 79, 0.28) 0%,
      rgba(233, 32, 79, 0.16) 32%,
      rgba(233, 32, 79, 0.08) 56%,
      rgba(233, 32, 79, 0.03) 72%,
      rgba(233, 32, 79, 0) 88%
    ),
    radial-gradient(
      900px 360px at 14% -280px,
      rgba(233, 32, 79, 0.12) 0%,
      rgba(233, 32, 79, 0.06) 46%,
      rgba(233, 32, 79, 0) 86%
    ),
    radial-gradient(
      900px 360px at 86% -280px,
      rgba(243, 243, 243, 0.08) 0%,
      rgba(243, 243, 243, 0.04) 46%,
      rgba(243, 243, 243, 0) 86%
    );
  background-repeat: no-repeat;
  color: #f3f3f3;
}

.topbar {
  background: #1b1b1b;
  border-bottom-color: rgba(243, 243, 243, 0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.brand {
  color: #e9204f;
  text-shadow:
    0 0 10px rgba(233, 32, 79, 0.52),
    0 0 22px rgba(233, 32, 79, 0.28);
}

.nav a,
.profile-link,
.section-head p,
.empty,
.server-card p,
.server-list-identity p,
.profile-vertical-info-label,
.profile-activity-detail-sub,
.profile-activity-kpi-card span,
.profile-vote-time,
.profile-global-time {
  color: rgba(243, 243, 243, 0.72);
}

.profile-link-btn,
.profile-link-btn .profile-link-name {
  color: #f3f3f3;
}

.hero {
  background: linear-gradient(135deg, #1b1b1b, rgba(0, 0, 0, 0.58));
  border: 1px solid rgba(243, 243, 243, 0.16);
}

.hero.has-image {
  background-image:
    linear-gradient(135deg, rgba(27, 27, 27, 0.78), rgba(0, 0, 0, 0.56)),
    var(--hero-banner-image);
}

.stat-card,
.server-card,
.server-showcase-card,
.server-list-row,
.server-panel-card,
.server-stat-card,
.profile-side-card,
.profile-vertical-card,
.profile-vertical-body,
.profile-vertical-stat-card,
.profile-activity-summary-card,
.profile-activity-kpi-card,
.profile-activity-detail-card,
.profile-vote-table,
.profile-vote-table-head,
.profile-vote-row,
.profile-global-stats-table,
.profile-global-stats-table-head,
.profile-global-stats-row,
.profile-edit-modal,
.profile-follows-modal,
.profile-follows-tabs,
.list-row,
.center-box,
.server-toolbar-chip,
.server-sort-tabs,
.server-count-chip,
.server-meta-pill,
.server-rank,
.server-rank-badge,
.profile-follows-row,
.profile-edit-form textarea,
.profile-edit-form input,
.profile-edit-modal-close,
.profile-follows-modal-close {
  background: rgba(27, 27, 27, 0.9);
  border-color: rgba(243, 243, 243, 0.16);
  color: #f3f3f3;
}

.profile-global-stats-table-head span {
  color: rgba(243, 243, 243, 0.72);
}

.server-sort-tab,
.profile-follows-tab {
  color: rgba(243, 243, 243, 0.72);
}

.server-sort-tab:hover,
.profile-follows-tab:hover {
  border-color: rgba(243, 243, 243, 0.24);
  color: #f3f3f3;
  background: rgba(243, 243, 243, 0.08);
}

.server-sort-tab.is-active,
.profile-follows-tab.is-active {
  border-color: #e9204f;
  background: #e9204f;
  color: #f3f3f3;
  box-shadow: 0 10px 20px rgba(233, 32, 79, 0.24);
}

.server-card:hover,
.server-showcase-card:hover {
  border-color: rgba(233, 32, 79, 0.56);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(233, 32, 79, 0.2),
    0 0 28px rgba(233, 32, 79, 0.15);
}

.server-list-row:hover {
  border-color: rgba(233, 32, 79, 0.56);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(233, 32, 79, 0.2),
    0 0 28px rgba(233, 32, 79, 0.15);
}

.btn {
  border-color: #e9204f;
  background: #e9204f;
  color: #f3f3f3;
}

.btn:hover {
  border-color: #f3f3f3;
  background: #f3f3f3;
  color: #1b1b1b;
}

.btn-muted,
.btn-liked {
  border-color: rgba(243, 243, 243, 0.28);
  background: rgba(243, 243, 243, 0.08);
  color: #f3f3f3;
}

.btn-muted:hover,
.btn-liked:hover {
  border-color: #e9204f;
  background: rgba(233, 32, 79, 0.18);
  color: #f3f3f3;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
}

.btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
}

.js-like-btn.btn-disabled {
  pointer-events: auto;
}

.js-like-btn.btn-disabled:hover {
  border-color: rgba(243, 243, 243, 0.28);
  background: rgba(243, 243, 243, 0.08);
  color: #f3f3f3;
  transform: none !important;
}

.badge,
.own-badge,
.profile-server-tag {
  border-color: rgba(243, 243, 243, 0.24);
  background: rgba(233, 32, 79, 0.22);
  color: #f3f3f3;
}

.profile-server-tag.profile-server-tag-featured {
  border-color: rgba(233, 32, 79, 0.5);
  background: rgba(233, 32, 79, 0.24);
  color: #ffd7e3;
  box-shadow:
    0 0 0 1px rgba(233, 32, 79, 0.16),
    0 0 14px rgba(233, 32, 79, 0.24);
}

.profile-server-tag.profile-server-tag-showcase {
  border-color: rgba(243, 243, 243, 0.34);
  background: rgba(243, 243, 243, 0.14);
  color: #f3f3f3;
  box-shadow:
    0 0 0 1px rgba(243, 243, 243, 0.12),
    0 0 14px rgba(243, 243, 243, 0.16);
}

code {
  background: rgba(243, 243, 243, 0.08);
  border-color: rgba(243, 243, 243, 0.16);
  color: #f3f3f3;
}

.section-head a,
.profile-vertical-info-item a,
.profile-vote-invite,
.profile-vote-guild,
.profile-global-guild {
  color: #f3f3f3;
}

.section-head a:hover,
.profile-vertical-info-item a:hover,
.profile-vote-invite:hover,
.profile-vote-guild:hover,
.profile-global-guild:hover {
  color: #e9204f;
}

/* =========================================
   Statify Signature Redesign (Glassmorphism)
   Palette: #FF4777 / #F2E3C6 / #392F41
========================================= */
:root {
  --stf-accent: #ff4777;
  --stf-cream: #f2e3c6;
  --stf-deep: #392f41;
  --stf-deep-2: #2b2432;
  --stf-surface: rgba(242, 227, 198, 0.08);
  --stf-surface-strong: rgba(242, 227, 198, 0.12);
  --stf-border: rgba(242, 227, 198, 0.2);
  --stf-muted: rgba(242, 227, 198, 0.7);
  --stf-glow: 0 0 0 1px rgba(255, 71, 119, 0.22), 0 22px 45px rgba(0, 0, 0, 0.34);
}

body.statify-layout {
  color: var(--stf-cream);
  background:
    radial-gradient(800px 500px at 8% -10%, rgba(255, 71, 119, 0.24), transparent 62%),
    radial-gradient(900px 600px at 95% 0%, rgba(242, 227, 198, 0.11), transparent 66%),
    linear-gradient(145deg, #1e1a22 0%, #231f2a 32%, #392f41 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.statify-layout::before,
body.statify-layout::after {
  content: "";
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(78px);
  pointer-events: none;
  z-index: 0;
}

body.statify-layout::before {
  top: -180px;
  left: -130px;
  background: rgba(255, 71, 119, 0.16);
}

body.statify-layout::after {
  bottom: -220px;
  right: -130px;
  background: rgba(242, 227, 198, 0.1);
}

body.statify-layout .app-shell {
  position: relative;
  z-index: 1;
  max-width: 1840px;
  margin: 0 auto;
  padding: 22px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

body.statify-layout .app-main {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 16px;
}

body.statify-layout .container {
  width: min(1320px, 100%);
  margin: 0 auto;
}

body.statify-layout .page {
  padding: 0 0 34px;
}

body.statify-layout .side-island {
  position: sticky;
  top: 18px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: calc(100vh - 36px);
  padding: 24px 18px;
  border-radius: 28px;
  border: 1px solid var(--stf-border);
  background:
    linear-gradient(155deg, rgba(57, 47, 65, 0.9), rgba(57, 47, 65, 0.7)),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--stf-glow);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}

body.statify-layout .side-brand {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--stf-accent);
  text-shadow:
    0 0 12px rgba(255, 71, 119, 0.46),
    0 0 22px rgba(255, 71, 119, 0.24);
}

body.statify-layout .side-subtitle {
  margin: -2px 0 0;
  color: var(--stf-muted);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.statify-layout .side-nav {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  overflow: visible;
}

body.statify-layout .side-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--stf-muted);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    color 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease,
    transform 0.24s ease;
  overflow: visible;
}

body.statify-layout .side-nav-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(242, 227, 198, 0.36);
  box-shadow: 0 0 0 1px rgba(242, 227, 198, 0.2);
  transition: inherit;
}

body.statify-layout .side-nav-link:hover {
  color: var(--stf-cream);
  border-color: rgba(255, 71, 119, 0.3);
  background: rgba(255, 71, 119, 0.12);
  transform: translateX(2px);
}

body.statify-layout .side-nav-link:hover::before,
body.statify-layout .side-nav-link.is-active::before {
  background: var(--stf-accent);
  box-shadow: 0 0 10px rgba(255, 71, 119, 0.5);
}

body.statify-layout .side-nav-link.is-active {
  color: var(--stf-cream);
  border-color: rgba(255, 71, 119, 0.45);
  background: linear-gradient(140deg, rgba(255, 71, 119, 0.28), rgba(255, 71, 119, 0.12));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
}

body.statify-layout .side-footer {
  margin-top: auto;
}

body.statify-layout .side-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 14px;
  border: 1px solid var(--stf-border);
  background: rgba(242, 227, 198, 0.07);
  color: var(--stf-cream);
  font-weight: 700;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

body.statify-layout .side-user-pill:hover {
  border-color: rgba(255, 71, 119, 0.4);
  background: rgba(255, 71, 119, 0.12);
  transform: translateY(-1px);
}

body.statify-layout .side-login-pill {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(242, 227, 198, 0.24);
  background: linear-gradient(140deg, rgba(255, 71, 119, 0.92), rgba(255, 71, 119, 0.72));
  color: #fff1f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(255, 71, 119, 0.26),
    0 16px 24px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(255, 71, 119, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

body.statify-layout .side-login-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(255, 71, 119, 0.34),
    0 18px 28px rgba(0, 0, 0, 0.4),
    0 0 26px rgba(255, 71, 119, 0.36);
}

body.statify-layout .side-login-pill svg {
  width: 23px;
  height: 23px;
}

body.statify-layout .topbar {
  position: sticky;
  top: 18px;
  z-index: 25;
  border-radius: 24px;
  border: 1px solid var(--stf-border);
  background:
    linear-gradient(135deg, rgba(57, 47, 65, 0.78), rgba(43, 36, 50, 0.74)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px) saturate(110%);
  -webkit-backdrop-filter: blur(16px) saturate(110%);
}

body.statify-layout .topbar-row {
  min-height: 84px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

body.statify-layout .topbar-kicker {
  margin: 0 0 6px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 227, 198, 0.66);
}

body.statify-layout .topbar-page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  letter-spacing: -0.01em;
  color: var(--stf-cream);
}

body.statify-layout .topbar .btn,
body.statify-layout .topbar .profile-link-btn {
  min-height: 44px;
}

body.statify-layout .topbar-user-dropdown {
  background:
    linear-gradient(160deg, rgba(57, 47, 65, 0.95), rgba(43, 36, 50, 0.95)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stf-border);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.4);
}

body.statify-layout .topbar-dropdown-divider {
  background: rgba(242, 227, 198, 0.14);
}

body.statify-layout .topbar-dropdown-item {
  color: var(--stf-muted);
}

body.statify-layout .topbar-dropdown-item:hover {
  color: var(--stf-cream);
  background: rgba(255, 71, 119, 0.16);
}

body.statify-layout .topbar-dropdown-item.is-danger {
  color: #ff9ab6;
}

body.statify-layout .topbar-dropdown-item.is-danger:hover {
  background: rgba(255, 71, 119, 0.2);
  color: #ffe2ec;
}

body.statify-layout .section-head {
  margin-bottom: 14px;
}

body.statify-layout .section-head h1,
body.statify-layout .section-head h2 {
  color: var(--stf-cream);
  letter-spacing: -0.015em;
}

body.statify-layout .section-head p,
body.statify-layout .section-head a {
  color: var(--stf-muted);
}

body.statify-layout .section-head a:hover {
  color: var(--stf-accent);
}

body.statify-layout .hero,
body.statify-layout .stat-card,
body.statify-layout .server-card,
body.statify-layout .server-showcase-card,
body.statify-layout .server-list-row,
body.statify-layout .profile-side-card,
body.statify-layout .profile-vertical-card,
body.statify-layout .profile-activity-summary-card,
body.statify-layout .profile-edit-modal,
body.statify-layout .profile-follows-modal,
body.statify-layout .server-panel-shell {
  border: 1px solid var(--stf-border);
  background:
    linear-gradient(155deg, rgba(57, 47, 65, 0.78), rgba(43, 36, 50, 0.72)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px) saturate(106%);
  -webkit-backdrop-filter: blur(12px) saturate(106%);
}

body.statify-layout .hero {
  border-radius: 28px;
  padding: clamp(24px, 4.2vw, 36px);
  min-height: clamp(200px, 24vw, 280px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

body.statify-layout .hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  background: linear-gradient(112deg, var(--stf-cream) 24%, #ffd0dc 54%, var(--stf-accent) 94%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.statify-layout .hero p {
  color: var(--stf-muted);
  max-width: 720px;
}

body.statify-layout .hero-actions {
  margin-top: 16px;
}

body.statify-layout .stats-grid {
  gap: 14px;
}

body.statify-layout .stat-card {
  border-radius: 18px;
}

body.statify-layout .stat-card h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  color: var(--stf-cream);
}

body.statify-layout .stat-card p {
  color: var(--stf-muted);
  font-weight: 600;
}

body.statify-layout .servers-vote-hero {
  margin-top: 4px;
  margin-bottom: 16px;
}

body.statify-layout .servers-vote-hero h1 {
  text-shadow: 0 0 18px rgba(255, 71, 119, 0.28);
}

body.statify-layout .servers-vote-hero p {
  color: var(--stf-muted);
}

body.statify-layout .servers-vote-hero-chip {
  border-color: rgba(255, 71, 119, 0.46);
  background: rgba(255, 71, 119, 0.16);
  color: var(--stf-cream);
}

body.statify-layout .servers-vote-hero-chip-dot {
  background: var(--stf-accent);
}

body.statify-layout .servers-vote-hero-chip-dot::after {
  border-color: rgba(255, 71, 119, 0.54);
}

body.statify-layout .servers-vote-hero-note {
  border-color: rgba(242, 227, 198, 0.36);
  background: rgba(242, 227, 198, 0.08);
  color: var(--stf-cream);
}

body.statify-layout .server-sort-tabs {
  background:
    linear-gradient(150deg, rgba(57, 47, 65, 0.82), rgba(43, 36, 50, 0.76)),
    rgba(255, 255, 255, 0.02);
  border-color: var(--stf-border);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

body.statify-layout .server-sort-tab {
  color: rgba(242, 227, 198, 0.74);
}

body.statify-layout .server-sort-tab:hover {
  color: var(--stf-cream);
  border-color: rgba(255, 71, 119, 0.32);
  background: rgba(255, 71, 119, 0.14);
}

body.statify-layout .server-sort-tab.is-active {
  border-color: rgba(255, 71, 119, 0.56);
  background: linear-gradient(130deg, rgba(255, 71, 119, 0.88), rgba(255, 71, 119, 0.64));
  color: #fff7fa;
}

body.statify-layout .server-count-chip {
  background: rgba(57, 47, 65, 0.7);
  border-color: var(--stf-border);
  color: var(--stf-cream);
}

body.statify-layout .server-list-row {
  grid-template-columns: minmax(280px, 1.2fr) 1.35fr auto;
  gap: 14px;
  border-radius: 18px;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease,
    background 0.28s ease;
}

body.statify-layout .server-list-row:hover,
body.statify-layout .server-card:hover,
body.statify-layout .server-showcase-card:hover,
body.statify-layout .list-row:hover {
  border-color: rgba(255, 71, 119, 0.5);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.33),
    0 0 0 1px rgba(255, 71, 119, 0.2),
    0 0 30px rgba(255, 71, 119, 0.12);
}

body.statify-layout .server-rank,
body.statify-layout .server-rank-badge {
  border-color: rgba(242, 227, 198, 0.24);
  background: rgba(57, 47, 65, 0.85);
  color: var(--stf-cream);
}

body.statify-layout .server-list-identity h2,
body.statify-layout .server-card h2,
body.statify-layout .server-card h3 {
  color: var(--stf-cream);
}

body.statify-layout .server-list-identity p,
body.statify-layout .server-card p,
body.statify-layout .home-server-main-info p {
  color: var(--stf-muted);
}

body.statify-layout .mini-stat,
body.statify-layout .server-meta-pill,
body.statify-layout .server-toolbar-chip {
  background: rgba(57, 47, 65, 0.6);
  border-color: rgba(242, 227, 198, 0.18);
  color: var(--stf-cream);
}

body.statify-layout .mini-like {
  border-color: rgba(255, 71, 119, 0.48);
  background: rgba(255, 71, 119, 0.16);
  color: #ffdbe7;
}

body.statify-layout .mini-member {
  border-color: rgba(242, 227, 198, 0.32);
  background: rgba(242, 227, 198, 0.1);
  color: var(--stf-cream);
}

body.statify-layout .mini-online {
  border-color: rgba(130, 255, 186, 0.38);
  background: rgba(65, 178, 111, 0.16);
  color: #ccffe2;
}

body.statify-layout .mini-voice {
  border-color: rgba(255, 71, 119, 0.34);
  background: rgba(255, 71, 119, 0.12);
  color: #ffdbe8;
}

body.statify-layout .mini-boost {
  border-color: rgba(244, 114, 182, 0.48);
  background: rgba(244, 114, 182, 0.14);
  color: #ffc9e5;
}

body.statify-layout .profile-layout {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body.statify-layout .profile-vertical-card {
  border-radius: 24px;
  overflow: hidden;
}

body.statify-layout .profile-vertical-body {
  background: linear-gradient(155deg, rgba(57, 47, 65, 0.8), rgba(43, 36, 50, 0.72));
}

body.statify-layout .profile-vertical-avatar {
  border: 4px solid rgba(57, 47, 65, 0.92);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

body.statify-layout .profile-vertical-name-row h1,
body.statify-layout .profile-activity-summary-card h2,
body.statify-layout .profile-edit-modal h2,
body.statify-layout .profile-follows-modal h2 {
  color: var(--stf-cream);
}

body.statify-layout .profile-vertical-handle,
body.statify-layout .profile-activity-detail-sub,
body.statify-layout .profile-activity-kpi-card span,
body.statify-layout .profile-global-stats-head p,
body.statify-layout .profile-vote-time,
body.statify-layout .profile-global-time {
  color: var(--stf-muted);
}

body.statify-layout .profile-vote-table-head span,
body.statify-layout .profile-global-stats-table-head span,
body.statify-layout .admin-table th {
  color: rgba(242, 227, 198, 0.8);
}

body.statify-layout .profile-vertical-stat-card,
body.statify-layout .profile-activity-kpi-card,
body.statify-layout .profile-activity-detail-card,
body.statify-layout .profile-vote-table,
body.statify-layout .profile-global-stats-table,
body.statify-layout .server-overview-card,
body.statify-layout .server-mini-vote-card,
body.statify-layout .guild-activity-list-card,
body.statify-layout .guild-activity-status-card {
  border: 1px solid var(--stf-border);
  background: rgba(57, 47, 65, 0.54);
}

body.statify-layout .server-panel-tab {
  color: var(--stf-muted);
  border-color: transparent;
}

body.statify-layout .server-panel-tab:hover {
  color: var(--stf-cream);
  background: rgba(255, 71, 119, 0.12);
  border-color: rgba(255, 71, 119, 0.3);
}

body.statify-layout .server-panel-tab.is-active {
  color: #fff7fa;
  border-color: rgba(255, 71, 119, 0.56);
  background: linear-gradient(130deg, rgba(255, 71, 119, 0.84), rgba(255, 71, 119, 0.64));
}

body.statify-layout .btn {
  border: 1px solid rgba(255, 71, 119, 0.84);
  background: linear-gradient(130deg, rgba(255, 71, 119, 0.94), rgba(255, 71, 119, 0.76));
  color: #fff9fb;
  box-shadow: 0 12px 22px rgba(255, 71, 119, 0.24);
}

body.statify-layout .btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

body.statify-layout .btn-muted,
body.statify-layout .btn-liked {
  border-color: var(--stf-border);
  background: rgba(242, 227, 198, 0.08);
  color: var(--stf-cream);
  box-shadow: none;
}

body.statify-layout .btn-muted:hover,
body.statify-layout .btn-liked:hover {
  border-color: rgba(255, 71, 119, 0.4);
  background: rgba(255, 71, 119, 0.14);
}

body.statify-layout .btn-disabled {
  border-color: rgba(255, 71, 119, 0.5);
  background: rgba(255, 71, 119, 0.64);
  color: #ffe4ec;
}

body.statify-layout .badge,
body.statify-layout .own-badge,
body.statify-layout .profile-server-tag,
body.statify-layout .server-featured-chip,
body.statify-layout .server-showcase-chip,
body.statify-layout .admin-pill {
  border-color: rgba(255, 71, 119, 0.42);
  background: rgba(255, 71, 119, 0.15);
  color: #ffdbe8;
}

body.statify-layout .profile-server-tag-showcase,
body.statify-layout .server-showcase-chip {
  border-color: rgba(242, 227, 198, 0.38);
  background: rgba(242, 227, 198, 0.12);
  color: var(--stf-cream);
}

body.statify-layout .admin-status.is-active,
body.statify-layout .admin-status.admin-status-featured.is-active,
body.statify-layout .admin-status.admin-status-showcase.is-active,
body.statify-layout .admin-status.is-premium,
body.statify-layout .admin-status.is-banned {
  border-color: rgba(255, 71, 119, 0.48);
  background: rgba(255, 71, 119, 0.16);
  color: #ffdbe8;
  box-shadow: none;
}

body.statify-layout .admin-filter-form input,
body.statify-layout .admin-filter-form select,
body.statify-layout .profile-edit-form textarea,
body.statify-layout .profile-edit-form input {
  border-color: var(--stf-border);
  background: rgba(57, 47, 65, 0.56);
  color: var(--stf-cream);
}

body.statify-layout .admin-filter-form input:focus,
body.statify-layout .admin-filter-form select:focus,
body.statify-layout .profile-edit-form textarea:focus,
body.statify-layout .profile-edit-form input:focus {
  outline: none;
  border-color: rgba(255, 71, 119, 0.66);
  box-shadow: 0 0 0 3px rgba(255, 71, 119, 0.2);
}

body.statify-layout .profile-tooltip-target[data-tooltip]:not([data-tooltip=""])::after {
  background: rgba(57, 47, 65, 0.96);
  border: 1px solid rgba(255, 71, 119, 0.44);
  color: var(--stf-cream);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
}

body.statify-layout .profile-tooltip-target[data-tooltip]:not([data-tooltip=""])::before {
  border-top-color: rgba(255, 71, 119, 0.44);
}

body.statify-layout .profile-tooltip-target.tooltip-bottom[data-tooltip]:not([data-tooltip=""])::before {
  border-bottom-color: rgba(255, 71, 119, 0.44);
}

body.statify-layout .profile-edit-modal-backdrop,
body.statify-layout .profile-follows-modal-backdrop {
  background: rgba(16, 12, 20, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.statify-layout .profile-edit-modal,
body.statify-layout .profile-follows-modal {
  border-color: var(--stf-border);
  background: linear-gradient(155deg, rgba(57, 47, 65, 0.94), rgba(43, 36, 50, 0.9));
}

body.statify-layout .profile-edit-modal-close,
body.statify-layout .profile-follows-modal-close {
  border-color: var(--stf-border);
  background: rgba(242, 227, 198, 0.08);
  color: var(--stf-cream);
}

body.statify-layout code {
  border: 1px solid rgba(242, 227, 198, 0.24);
  background: rgba(242, 227, 198, 0.1);
  color: var(--stf-cream);
}

body.statify-layout .profile-edit-modal-close:hover,
body.statify-layout .profile-follows-modal-close:hover {
  border-color: rgba(255, 71, 119, 0.42);
  background: rgba(255, 71, 119, 0.14);
}

body.statify-layout .my-server-card {
  border-color: var(--stf-border);
  background:
    linear-gradient(155deg, rgba(57, 47, 65, 0.8), rgba(43, 36, 50, 0.74)),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--stf-glow);
}

body.statify-layout .my-server-head {
  border-bottom: 1px solid rgba(242, 227, 198, 0.14);
  padding-bottom: 10px;
}

body.statify-layout .my-server-meta p {
  color: var(--stf-muted);
}

body.statify-layout .my-server-owner-chip {
  border-color: rgba(255, 71, 119, 0.44);
  background: rgba(255, 71, 119, 0.16);
  color: #ffdbe8;
}

body.statify-layout .my-server-content-block {
  border-color: rgba(242, 227, 198, 0.2);
  background: linear-gradient(145deg, rgba(57, 47, 65, 0.56), rgba(43, 36, 50, 0.48));
  transition: border-color 0.2s ease, background 0.2s ease;
}

body.statify-layout .my-server-content-block:hover {
  border-color: rgba(255, 71, 119, 0.4);
  background: linear-gradient(145deg, rgba(57, 47, 65, 0.64), rgba(43, 36, 50, 0.56));
}

body.statify-layout .my-server-content-label {
  color: rgba(242, 227, 198, 0.84);
}

body.statify-layout .my-server-content-block p,
body.statify-layout .my-server-content-block a {
  color: var(--stf-cream);
}

body.statify-layout .my-server-content-block a {
  text-decoration-color: rgba(255, 71, 119, 0.56);
}

body.statify-layout .owned-server-modal-overlay .profile-edit-modal-backdrop {
  background: rgba(16, 12, 20, 0.72);
  backdrop-filter: blur(12px) saturate(110%);
  -webkit-backdrop-filter: blur(12px) saturate(110%);
}

body.statify-layout .owned-server-modal.profile-edit-modal {
  border-color: rgba(242, 227, 198, 0.22);
  background:
    linear-gradient(158deg, rgba(57, 47, 65, 0.95), rgba(43, 36, 50, 0.92)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    0 26px 58px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 71, 119, 0.16);
}

body.statify-layout .owned-server-modal .profile-edit-modal-head {
  border-bottom: 1px solid rgba(242, 227, 198, 0.14);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

body.statify-layout .owned-server-modal .profile-edit-form label {
  color: rgba(242, 227, 198, 0.88);
}

body.statify-layout .owned-server-modal .profile-edit-actions {
  position: sticky;
  bottom: 0;
  padding-top: 10px;
  padding-bottom: 2px;
  background: linear-gradient(180deg, rgba(43, 36, 50, 0), rgba(43, 36, 50, 0.94) 38%);
}

body.statify-layout .owned-server-invite-prefix {
  border-color: var(--stf-border);
  background: rgba(57, 47, 65, 0.62);
  color: var(--stf-muted);
}

body.statify-layout .owned-server-invite-input .js-owned-invite-code {
  border-left: 0;
}

@media (max-width: 760px), (max-height: 760px) {
  .profile-edit-modal-overlay {
    place-items: start center;
    padding: 12px;
  }

  .owned-server-modal {
    width: min(700px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
  }

  body.statify-layout .owned-server-modal .profile-edit-modal-head {
    position: sticky;
    top: 0;
    z-index: 2;
    background:
      linear-gradient(158deg, rgba(57, 47, 65, 0.98), rgba(43, 36, 50, 0.96)),
      rgba(255, 255, 255, 0.03);
  }
}

body.statify-layout .profile-follows-modal {
  border-color: var(--stf-border);
  background:
    linear-gradient(155deg, rgba(57, 47, 65, 0.95), rgba(43, 36, 50, 0.9)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 71, 119, 0.14);
}

body.statify-layout .profile-follows-modal-head {
  border-bottom: 1px solid rgba(242, 227, 198, 0.14);
  margin-bottom: 10px;
  padding-bottom: 10px;
}

body.statify-layout .profile-follows-tabs {
  border-color: rgba(242, 227, 198, 0.2);
  background: rgba(57, 47, 65, 0.5);
}

body.statify-layout .profile-follows-tab {
  color: rgba(242, 227, 198, 0.76);
}

body.statify-layout .profile-follows-tab:hover {
  border-color: rgba(255, 71, 119, 0.36);
  background: rgba(255, 71, 119, 0.12);
  color: var(--stf-cream);
}

body.statify-layout .profile-follows-tab.is-active {
  border-color: rgba(255, 71, 119, 0.52);
  background: linear-gradient(135deg, rgba(255, 71, 119, 0.92), rgba(255, 71, 119, 0.72));
  color: #fff3f7;
  box-shadow: 0 10px 22px rgba(255, 71, 119, 0.24);
}

body.statify-layout .profile-follows-row {
  border: 1px solid rgba(242, 227, 198, 0.22);
  background: linear-gradient(150deg, rgba(57, 47, 65, 0.56), rgba(43, 36, 50, 0.5));
}

body.statify-layout .profile-follows-row:hover {
  border-color: rgba(255, 71, 119, 0.42);
  background: linear-gradient(150deg, rgba(57, 47, 65, 0.66), rgba(43, 36, 50, 0.58));
}

body.statify-layout .center-box {
  border: 1px solid var(--stf-border);
  background: linear-gradient(150deg, rgba(57, 47, 65, 0.8), rgba(43, 36, 50, 0.76));
  border-radius: 24px;
}

body.statify-layout .topbar-user-menu .profile-link-btn {
  border-color: var(--stf-border);
  background: rgba(242, 227, 198, 0.08);
}

body.statify-layout .topbar-user-menu .profile-link-btn:hover,
body.statify-layout .topbar-user-menu.is-open .profile-link-btn {
  border-color: rgba(255, 71, 119, 0.46);
  background: rgba(255, 71, 119, 0.16);
  box-shadow: none;
}

@media (max-width: 1200px) {
  body.statify-layout .app-shell {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 14px;
  }

  body.statify-layout .side-island {
    position: static;
    min-height: 0;
    border-radius: 22px;
    padding: 14px;
    gap: 12px;
  }

  body.statify-layout .side-subtitle {
    display: none;
  }

  body.statify-layout .side-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin-top: 0;
    padding-bottom: 2px;
  }

  body.statify-layout .side-nav-link {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 12px;
  }

  body.statify-layout .side-footer {
    margin-top: 2px;
  }

  body.statify-layout .profile-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body.statify-layout .topbar {
    top: 10px;
    border-radius: 18px;
  }

  body.statify-layout .topbar-row {
    min-height: 72px;
    padding: 0 12px;
    gap: 10px;
  }

  body.statify-layout .topbar-meta {
    min-width: 0;
  }

  body.statify-layout .topbar-page-title {
    font-size: 1.14rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.statify-layout .hero {
    border-radius: 20px;
    min-height: 190px;
  }

  body.statify-layout .server-list-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body.statify-layout .app-shell {
    padding: 10px;
    gap: 10px;
  }

  body.statify-layout .topbar-row {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-height: auto;
    padding: 12px;
  }

  body.statify-layout .auth {
    justify-content: flex-end;
  }
}

/* =========================================
   Statify Signature: User + Server Profile UI
========================================= */
body.statify-layout .profile-layout-signature {
  position: relative;
  gap: 20px;
  align-items: start;
}

body.statify-layout .profile-layout-signature::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 28px;
  background:
    radial-gradient(680px 360px at 12% -24%, rgba(255, 71, 119, 0.17), transparent 65%),
    radial-gradient(760px 420px at 102% 2%, rgba(242, 227, 198, 0.08), transparent 66%);
  pointer-events: none;
  z-index: 0;
}

body.statify-layout .profile-layout-signature > * {
  position: relative;
  z-index: 1;
}

body.statify-layout .profile-layout-signature .profile-left-column-signature {
  position: sticky;
  top: 108px;
}

body.statify-layout .profile-layout-signature .profile-right-column-signature > section {
  display: grid;
  gap: 14px;
}

body.statify-layout .profile-layout-signature .profile-vertical-shell {
  margin: 0;
}

body.statify-layout .profile-layout-signature .profile-vertical-card {
  border-radius: 30px;
  border: 1px solid rgba(242, 227, 198, 0.24);
  background:
    linear-gradient(162deg, rgba(57, 47, 65, 0.94), rgba(35, 31, 42, 0.9)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 71, 119, 0.1);
  overflow: hidden;
}

body.statify-layout .profile-layout-signature .profile-vertical-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -26% auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 71, 119, 0.28), rgba(255, 71, 119, 0));
  filter: blur(16px);
  pointer-events: none;
}

body.statify-layout .profile-layout-signature[data-profile-kind="server"] .profile-vertical-card.is-featured {
  box-shadow:
    0 26px 56px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 71, 119, 0.2),
    0 0 34px rgba(255, 71, 119, 0.2);
}

body.statify-layout .profile-layout-signature .profile-vertical-banner {
  height: 172px;
  border-bottom: 1px solid rgba(242, 227, 198, 0.16);
}

body.statify-layout .profile-layout-signature .profile-vertical-body {
  margin-top: -44px;
  padding: 0 14px 16px;
  background:
    linear-gradient(160deg, rgba(57, 47, 65, 0.72), rgba(35, 31, 42, 0.8)),
    rgba(255, 255, 255, 0.02);
}

body.statify-layout .profile-layout-signature .profile-vertical-avatar-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 10px;
}

body.statify-layout .profile-layout-signature .profile-vertical-avatar {
  width: 108px;
  height: 108px;
  margin-top: 0;
  border-radius: 28px;
  border: 4px solid rgba(35, 31, 42, 0.94);
  background: #17131b;
}

body.statify-layout .profile-layout-signature .profile-avatar-badge-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  min-height: 42px;
}

body.statify-layout .profile-layout-signature .profile-core-badges,
body.statify-layout .profile-layout-signature .profile-discord-badges-inline {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

body.statify-layout .profile-layout-signature .profile-vertical-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 3px;
}

body.statify-layout .profile-layout-signature .profile-vertical-name-row h1 {
  margin: 0;
  font-size: clamp(1.95rem, 2.8vw, 2.3rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

body.statify-layout .profile-layout-signature .profile-vertical-handle {
  margin-top: 0;
  margin-bottom: 10px;
}

body.statify-layout .profile-layout-signature .profile-vertical-actions {
  margin-bottom: 10px;
}

body.statify-layout .profile-layout-signature .profile-own-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

body.statify-layout .profile-layout-signature .profile-vertical-stats {
  gap: 7px;
  margin-bottom: 10px;
}

body.statify-layout .profile-layout-signature .profile-vertical-stat-card {
  border-radius: 14px;
  border: 1px solid rgba(242, 227, 198, 0.22);
  background: rgba(57, 47, 65, 0.56);
}

body.statify-layout .profile-layout-signature .profile-vertical-stat-card strong {
  font-size: 1.7rem;
}

body.statify-layout .profile-layout-signature .profile-vertical-stat-card span {
  color: rgba(242, 227, 198, 0.76);
  font-size: 0.78rem;
}

body.statify-layout .profile-layout-signature .profile-vertical-info {
  gap: 0;
}

body.statify-layout .profile-layout-signature .profile-vertical-info-item {
  border-top: 1px solid rgba(242, 227, 198, 0.16);
  padding: 10px 0;
}

body.statify-layout .profile-layout-signature .profile-vertical-info-item p {
  font-size: 1.05rem;
  color: #f8ebd1;
}

body.statify-layout .profile-layout-signature .profile-vertical-info-label {
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(242, 227, 198, 0.68);
}

body.statify-layout .profile-layout-signature .profile-activity-summary-card,
body.statify-layout .profile-layout-signature .server-panel-shell {
  border-radius: 24px;
  border: 1px solid rgba(242, 227, 198, 0.24);
  background:
    linear-gradient(156deg, rgba(57, 47, 65, 0.88), rgba(35, 31, 42, 0.82)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

body.statify-layout .profile-layout-signature .profile-activity-summary-card {
  padding: 12px;
}

body.statify-layout .profile-layout-signature .section-head {
  margin-bottom: 12px;
}

body.statify-layout .profile-layout-signature .section-head h2 {
  font-size: clamp(1.64rem, 2.2vw, 2rem);
  line-height: 1.08;
}

body.statify-layout .profile-layout-signature .section-head p {
  color: rgba(242, 227, 198, 0.72);
  font-weight: 700;
}

body.statify-layout .profile-layout-signature .profile-activity-kpi-grid,
body.statify-layout .profile-layout-signature .profile-activity-detail-grid {
  gap: 8px;
}

body.statify-layout .profile-layout-signature .profile-activity-kpi-card,
body.statify-layout .profile-layout-signature .profile-activity-detail-card {
  border-radius: 16px;
  border: 1px solid rgba(242, 227, 198, 0.2);
  background: rgba(57, 47, 65, 0.56);
}

body.statify-layout .profile-layout-signature .profile-activity-kpi-card strong {
  font-size: clamp(2rem, 2.6vw, 2.5rem);
  line-height: 1;
}

body.statify-layout .profile-layout-signature .profile-activity-kpi-card span {
  margin-top: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

body.statify-layout .profile-layout-signature .profile-activity-detail-card h3 {
  margin: 0 0 6px;
  color: #d8c4a0;
  font-size: 0.98rem;
  font-weight: 800;
}

body.statify-layout .profile-layout-signature .profile-activity-detail-main {
  color: #fff2d8;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  line-height: 1.1;
  font-weight: 800;
}

body.statify-layout .profile-layout-signature .profile-vote-table,
body.statify-layout .profile-layout-signature .profile-global-stats-table {
  border: 1px solid rgba(242, 227, 198, 0.18);
  border-radius: 16px;
  overflow: hidden;
}

body.statify-layout .profile-layout-signature .profile-vote-table-head,
body.statify-layout .profile-layout-signature .profile-global-stats-table-head {
  background: rgba(32, 28, 38, 0.84);
}

body.statify-layout .profile-layout-signature .profile-vote-table-head span,
body.statify-layout .profile-layout-signature .profile-global-stats-table-head span {
  color: rgba(242, 227, 198, 0.76);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
}

body.statify-layout .profile-layout-signature .profile-vote-row,
body.statify-layout .profile-layout-signature .profile-global-stats-row {
  border-top: 1px solid rgba(242, 227, 198, 0.12);
  background: rgba(57, 47, 65, 0.44);
}

body.statify-layout .profile-layout-signature .profile-vote-row:hover,
body.statify-layout .profile-layout-signature .profile-global-stats-row:hover {
  background: rgba(255, 71, 119, 0.14);
}

body.statify-layout .profile-layout-signature .server-panel-shell {
  padding: 10px;
}

body.statify-layout .profile-layout-signature .server-panel-tabs {
  border-radius: 15px;
  border: 1px solid rgba(242, 227, 198, 0.18);
  background: rgba(57, 47, 65, 0.54);
  margin-bottom: 10px;
}

body.statify-layout .profile-layout-signature .server-panel-tab {
  border-radius: 10px;
  font-weight: 800;
}

body.statify-layout .profile-layout-signature .server-panel-content {
  padding: 2px;
}

body.statify-layout .profile-layout-signature .server-overview-stack {
  gap: 8px;
}

body.statify-layout .profile-layout-signature .server-overview-card {
  border-radius: 16px;
  border: 1px solid rgba(242, 227, 198, 0.2);
  background: rgba(57, 47, 65, 0.56);
  padding: 14px;
}

body.statify-layout .profile-layout-signature .server-mini-vote-grid {
  gap: 8px;
  margin-top: 10px;
}

body.statify-layout .profile-layout-signature .server-mini-vote-card {
  border-radius: 14px;
  padding: 14px 10px;
}

body.statify-layout .profile-layout-signature .server-mini-vote-card strong {
  font-size: 2rem;
}

body.statify-layout .profile-layout-signature .server-comment-item {
  border: 1px solid rgba(242, 227, 198, 0.2);
  border-radius: 14px;
  background: rgba(57, 47, 65, 0.54);
}

body.statify-layout .profile-layout-signature .guild-activity-status-card,
body.statify-layout .profile-layout-signature .guild-activity-type-chip,
body.statify-layout .profile-layout-signature .guild-activity-list-card,
body.statify-layout .profile-layout-signature .guild-activity-list-row {
  border-color: rgba(242, 227, 198, 0.2);
  background: rgba(57, 47, 65, 0.52);
}

body.statify-layout .profile-layout-signature .guild-activity-list-row:hover {
  background: rgba(255, 71, 119, 0.14);
}

body.statify-layout .profile-layout-signature .profile-server-tag,
body.statify-layout .profile-layout-signature .profile-server-tag-featured,
body.statify-layout .profile-layout-signature .profile-server-tag-showcase {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.statify-layout .profile-layout-signature .profile-server-tag {
  border: 1px solid rgba(255, 71, 119, 0.44);
  background: rgba(255, 71, 119, 0.18);
  color: #ffd5e2;
}

body.statify-layout .profile-layout-signature .profile-server-tag-featured {
  border: 1px solid rgba(255, 71, 119, 0.58);
  background: rgba(255, 71, 119, 0.24);
  color: #ffe3eb;
  box-shadow: 0 0 16px rgba(255, 71, 119, 0.2);
}

body.statify-layout .profile-layout-signature .profile-server-tag-showcase {
  border: 1px solid rgba(242, 227, 198, 0.34);
  background: rgba(242, 227, 198, 0.12);
  color: #fff3df;
}

body.statify-layout .profile-layout-signature .server-verified-tick {
  box-shadow: 0 0 14px rgba(86, 221, 141, 0.34);
}

@media (max-width: 1320px) {
  body.statify-layout .profile-layout-signature {
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  }
}

@media (max-width: 1100px) {
  body.statify-layout .profile-layout-signature {
    grid-template-columns: 1fr;
  }

  body.statify-layout .profile-layout-signature .profile-left-column-signature {
    position: static;
    top: auto;
  }

  body.statify-layout .profile-layout-signature .profile-vertical-banner {
    height: 188px;
  }
}

@media (max-width: 760px) {
  body.statify-layout .profile-layout-signature .profile-vertical-body {
    margin-top: -34px;
    padding: 0 10px 12px;
  }

  body.statify-layout .profile-layout-signature .profile-vertical-avatar {
    width: 92px;
    height: 92px;
    border-radius: 24px;
  }

  body.statify-layout .profile-layout-signature .profile-vertical-name-row h1 {
    font-size: 1.72rem;
  }

  body.statify-layout .profile-layout-signature .profile-vertical-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.statify-layout .profile-layout-signature .profile-activity-kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Statify Signature Profile Redesign V2
========================================= */
body.statify-layout .profile-layout-signature {
  --stf-profile-glass: rgba(242, 227, 198, 0.08);
  --stf-profile-glass-strong: rgba(242, 227, 198, 0.12);
  --stf-profile-border: rgba(242, 227, 198, 0.22);
  --stf-profile-border-soft: rgba(242, 227, 198, 0.14);
  --stf-profile-ink: #f8ecd7;
  --stf-profile-muted: rgba(242, 227, 198, 0.74);
  --stf-profile-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
  grid-template-columns: minmax(330px, 390px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

body.statify-layout .profile-layout-signature::before {
  inset: -8px;
  border-radius: 30px;
  background:
    radial-gradient(620px 280px at -8% 6%, rgba(255, 71, 119, 0.12), transparent 68%),
    radial-gradient(760px 360px at 100% -6%, rgba(242, 227, 198, 0.09), transparent 72%);
  opacity: 1;
}

body.statify-layout .profile-layout-signature .profile-left-column-signature {
  top: 96px;
}

body.statify-layout .profile-layout-signature .profile-vertical-card {
  border-radius: 26px;
  border: 1px solid var(--stf-profile-border);
  background:
    linear-gradient(158deg, rgba(57, 47, 65, 0.94), rgba(43, 36, 50, 0.92)),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--stf-profile-shadow);
  position: relative;
  overflow: hidden;
}

body.statify-layout .profile-layout-signature .profile-vertical-card::before {
  content: "";
  position: absolute;
  top: -56px;
  right: -76px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 71, 119, 0.28), rgba(255, 71, 119, 0));
  filter: blur(22px);
  pointer-events: none;
}

body.statify-layout .profile-layout-signature .profile-vertical-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 71, 119, 0.26) 0 3px, transparent 3px 100%);
  pointer-events: none;
}

body.statify-layout .profile-layout-signature[data-profile-kind="server"] .profile-vertical-card.is-featured {
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 71, 119, 0.22),
    0 0 34px rgba(255, 71, 119, 0.18);
}

body.statify-layout .profile-layout-signature .profile-vertical-banner {
  height: 156px;
  border-bottom: 1px solid var(--stf-profile-border-soft);
}

body.statify-layout .profile-layout-signature .profile-vertical-body {
  margin-top: -20px;
  padding: 0 14px 14px;
  background:
    linear-gradient(155deg, rgba(57, 47, 65, 0.74), rgba(43, 36, 50, 0.82)),
    rgba(255, 255, 255, 0.02);
}

body.statify-layout .profile-layout-signature .profile-vertical-avatar-row {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-bottom: 8px;
}

body.statify-layout .profile-layout-signature .profile-vertical-avatar {
  width: 96px;
  height: 96px;
  margin-top: 0;
  border-radius: 22px;
  border: 4px solid rgba(43, 36, 50, 0.92);
  background: #17131b;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

body.statify-layout .profile-layout-signature .profile-avatar-badge-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 12px;
  border: 1px solid var(--stf-profile-border-soft);
  background: rgba(57, 47, 65, 0.56);
  min-height: 38px;
}

body.statify-layout .profile-layout-signature .profile-core-badges,
body.statify-layout .profile-layout-signature .profile-discord-badges-inline {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

body.statify-layout .profile-layout-signature .profile-vertical-name-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px 0 2px;
}

body.statify-layout .profile-layout-signature .profile-vertical-name-row h1 {
  margin: 0;
  font-size: clamp(2.02rem, 2.9vw, 2.34rem);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--stf-profile-ink);
}

body.statify-layout .profile-layout-signature .profile-vertical-handle {
  margin: 0 0 9px;
  color: var(--stf-profile-muted);
}

body.statify-layout .profile-layout-signature .profile-vertical-actions {
  margin-bottom: 10px;
}

body.statify-layout .profile-layout-signature .profile-own-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

body.statify-layout .profile-layout-signature .profile-vertical-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 10px;
}

body.statify-layout .profile-layout-signature .profile-vertical-stat-card {
  border: 1px solid var(--stf-profile-border-soft);
  background: rgba(57, 47, 65, 0.56);
  border-radius: 13px;
  padding: 8px 6px;
}

body.statify-layout .profile-layout-signature .profile-vertical-stat-card strong {
  font-size: 1.58rem;
  color: #fff0d8;
}

body.statify-layout .profile-layout-signature .profile-vertical-stat-card span {
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--stf-profile-muted);
}

body.statify-layout .profile-layout-signature .profile-vertical-info {
  display: grid;
  gap: 8px;
}

body.statify-layout .profile-layout-signature .profile-vertical-info-item {
  border: 1px solid var(--stf-profile-border-soft);
  border-radius: 12px;
  background: rgba(57, 47, 65, 0.48);
  padding: 9px 10px;
}

body.statify-layout .profile-layout-signature .profile-vertical-info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(242, 227, 198, 0.68);
  margin-bottom: 2px;
}

body.statify-layout .profile-layout-signature .profile-vertical-info-item p {
  margin: 0;
  color: var(--stf-profile-ink);
  font-size: 1.07rem;
  line-height: 1.24;
}

body.statify-layout .profile-layout-signature .profile-right-column-signature > section {
  display: grid;
  gap: 14px;
}

body.statify-layout .profile-layout-signature .profile-activity-summary-card,
body.statify-layout .profile-layout-signature .server-panel-shell {
  border-radius: 22px;
  border: 1px solid var(--stf-profile-border);
  background:
    linear-gradient(160deg, rgba(57, 47, 65, 0.9), rgba(43, 36, 50, 0.84)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

body.statify-layout .profile-layout-signature .profile-activity-summary-card {
  padding: 12px;
}

body.statify-layout .profile-layout-signature .section-head {
  margin-bottom: 10px;
}

body.statify-layout .profile-layout-signature .section-head h2 {
  margin: 0;
  color: #fff1d9;
  font-size: clamp(1.75rem, 2.35vw, 2.22rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

body.statify-layout .profile-layout-signature .section-head p {
  color: var(--stf-profile-muted);
  font-size: 1rem;
  font-weight: 700;
}

body.statify-layout .profile-layout-signature .profile-activity-kpi-grid {
  gap: 8px;
}

body.statify-layout .profile-layout-signature .profile-activity-kpi-card {
  border: 1px solid var(--stf-profile-border-soft);
  border-radius: 14px;
  background: rgba(57, 47, 65, 0.56);
}

body.statify-layout .profile-layout-signature .profile-activity-kpi-card strong {
  color: #fff2da;
  font-size: clamp(2.02rem, 2.5vw, 2.6rem);
  line-height: 1;
}

body.statify-layout .profile-layout-signature .profile-activity-kpi-card span {
  color: rgba(242, 227, 198, 0.74);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
}

body.statify-layout .profile-layout-signature .profile-activity-detail-grid {
  gap: 8px;
}

body.statify-layout .profile-layout-signature .profile-activity-detail-card {
  border: 1px solid var(--stf-profile-border-soft);
  border-radius: 14px;
  background: rgba(57, 47, 65, 0.56);
}

body.statify-layout .profile-layout-signature .profile-activity-detail-card h3 {
  margin: 0 0 5px;
  color: #d7c5a4;
  font-size: 0.99rem;
  font-weight: 800;
}

body.statify-layout .profile-layout-signature .profile-activity-detail-main {
  color: #fff1d8;
  font-size: clamp(1.26rem, 1.9vw, 1.7rem);
  line-height: 1.08;
  font-weight: 800;
}

body.statify-layout .profile-layout-signature .profile-activity-detail-sub {
  color: var(--stf-profile-muted);
}

body.statify-layout .profile-layout-signature .profile-vote-table,
body.statify-layout .profile-layout-signature .profile-global-stats-table {
  border: 1px solid var(--stf-profile-border-soft);
  border-radius: 14px;
  overflow: hidden;
}

body.statify-layout .profile-layout-signature .profile-vote-table-head,
body.statify-layout .profile-layout-signature .profile-global-stats-table-head {
  background: rgba(30, 25, 35, 0.88);
}

body.statify-layout .profile-layout-signature .profile-vote-table-head span,
body.statify-layout .profile-layout-signature .profile-global-stats-table-head span {
  color: rgba(242, 227, 198, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.statify-layout .profile-layout-signature .profile-vote-row,
body.statify-layout .profile-layout-signature .profile-global-stats-row {
  border-top: 1px solid rgba(242, 227, 198, 0.12);
  background: rgba(57, 47, 65, 0.45);
}

body.statify-layout .profile-layout-signature .profile-vote-row:hover,
body.statify-layout .profile-layout-signature .profile-global-stats-row:hover {
  background: rgba(255, 71, 119, 0.14);
}

body.statify-layout .profile-layout-signature .server-panel-shell {
  padding: 10px;
}

body.statify-layout .profile-layout-signature .server-panel-tabs {
  border-radius: 14px;
  border: 1px solid var(--stf-profile-border-soft);
  background: rgba(57, 47, 65, 0.52);
  margin-bottom: 10px;
}

body.statify-layout .profile-layout-signature .server-panel-tab {
  border-radius: 10px;
  font-weight: 800;
}

body.statify-layout .profile-layout-signature .server-panel-tab.is-active {
  background: linear-gradient(132deg, rgba(255, 71, 119, 0.88), rgba(255, 71, 119, 0.66));
  border-color: rgba(255, 71, 119, 0.56);
}

body.statify-layout .profile-layout-signature .server-overview-card,
body.statify-layout .profile-layout-signature .server-mini-vote-card,
body.statify-layout .profile-layout-signature .guild-activity-status-card,
body.statify-layout .profile-layout-signature .guild-activity-type-chip,
body.statify-layout .profile-layout-signature .guild-activity-list-card,
body.statify-layout .profile-layout-signature .guild-activity-list-row,
body.statify-layout .profile-layout-signature .server-comment-item {
  border-color: var(--stf-profile-border-soft);
  background: rgba(57, 47, 65, 0.54);
}

body.statify-layout .profile-layout-signature .guild-activity-list-row:hover,
body.statify-layout .profile-layout-signature .server-comment-item:hover {
  background: rgba(255, 71, 119, 0.13);
}

body.statify-layout .profile-layout-signature .profile-server-tag,
body.statify-layout .profile-layout-signature .profile-server-tag-featured,
body.statify-layout .profile-layout-signature .profile-server-tag-showcase {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.statify-layout .profile-layout-signature .profile-server-tag {
  border-color: rgba(255, 71, 119, 0.44);
  background: rgba(255, 71, 119, 0.2);
  color: #ffe1ea;
}

body.statify-layout .profile-layout-signature .profile-server-tag-featured {
  border-color: rgba(255, 71, 119, 0.58);
  background: rgba(255, 71, 119, 0.26);
  color: #ffe8ef;
  box-shadow: 0 0 16px rgba(255, 71, 119, 0.2);
}

body.statify-layout .profile-layout-signature .profile-server-tag-showcase {
  border-color: rgba(242, 227, 198, 0.38);
  background: rgba(242, 227, 198, 0.12);
  color: #fff3de;
}

@media (max-width: 1320px) {
  body.statify-layout .profile-layout-signature {
    grid-template-columns: minmax(320px, 370px) minmax(0, 1fr);
  }
}

@media (max-width: 1100px) {
  body.statify-layout .profile-layout-signature {
    grid-template-columns: 1fr;
  }

  body.statify-layout .profile-layout-signature .profile-left-column-signature {
    position: static;
    top: auto;
  }

  body.statify-layout .profile-layout-signature .profile-vertical-banner {
    height: 178px;
  }
}

@media (max-width: 760px) {
  body.statify-layout .profile-layout-signature .profile-vertical-body {
    margin-top: -16px;
    padding: 0 10px 12px;
  }

  body.statify-layout .profile-layout-signature .profile-vertical-avatar {
    width: 86px;
    height: 86px;
    border-radius: 20px;
  }

  body.statify-layout .profile-layout-signature .profile-vertical-name-row h1 {
    font-size: 1.78rem;
  }

  body.statify-layout .profile-layout-signature .profile-vertical-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.statify-layout .profile-layout-signature .profile-activity-kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Profile Redesign V3 (Hard Override)
========================================= */
body.statify-layout .profile-layout-signature {
  --profile-v3-bg: rgba(57, 47, 65, 0.9);
  --profile-v3-bg-soft: rgba(57, 47, 65, 0.64);
  --profile-v3-border: rgba(242, 227, 198, 0.2);
  --profile-v3-ink: #f6ead4;
  --profile-v3-muted: rgba(242, 227, 198, 0.72);
  grid-template-columns: minmax(310px, 338px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 8px 2px;
}

body.statify-layout .profile-layout-signature::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 30px;
  pointer-events: none;
  z-index: 0;
}

body.statify-layout .profile-layout-signature > * {
  position: relative;
  z-index: 1;
}

body.statify-layout .profile-layout-signature .profile-left-column-signature {
  position: sticky;
  top: 98px;
}

body.statify-layout .profile-layout-signature .profile-vertical-card {
  border-radius: 18px;
  border: 1px solid var(--profile-v3-border);
  background:
    linear-gradient(180deg, rgba(57, 47, 65, 0.94), rgba(35, 31, 42, 0.94)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(242, 227, 198, 0.08);
  overflow: hidden;
}

body.statify-layout .profile-layout-signature .profile-vertical-card::before,
body.statify-layout .profile-layout-signature .profile-vertical-card::after {
  display: none;
}

body.statify-layout .profile-layout-signature[data-profile-kind="server"] .profile-vertical-card.is-featured {
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 71, 119, 0.22),
    0 0 24px rgba(255, 71, 119, 0.16);
}

body.statify-layout .profile-layout-signature .profile-vertical-banner {
  height: 124px;
  border-bottom: 1px solid rgba(242, 227, 198, 0.12);
}

body.statify-layout .profile-layout-signature .profile-vertical-body {
  margin-top: 0;
  padding: 12px;
  background: transparent;
}

body.statify-layout .profile-layout-signature .profile-vertical-avatar-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

body.statify-layout .profile-layout-signature .profile-vertical-avatar {
  width: 78px;
  height: 78px;
  border-radius: 16px;
  border: 2px solid rgba(242, 227, 198, 0.16);
  box-shadow: none;
}

body.statify-layout .profile-layout-signature .profile-avatar-badge-strip {
  min-height: 36px;
  border: 1px solid rgba(242, 227, 198, 0.14);
  border-radius: 10px;
  padding: 6px 8px;
  background: rgba(242, 227, 198, 0.06);
  gap: 7px;
}

body.statify-layout .profile-layout-signature .profile-core-badges,
body.statify-layout .profile-layout-signature .profile-discord-badges-inline {
  gap: 7px;
}

body.statify-layout .profile-layout-signature .profile-vertical-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 2px;
}

body.statify-layout .profile-layout-signature .profile-vertical-name-row h1 {
  margin: 0;
  font-size: clamp(1.92rem, 2.55vw, 2.22rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--profile-v3-ink);
}

body.statify-layout .profile-layout-signature .profile-vertical-handle {
  margin: 0 0 9px;
  color: var(--profile-v3-muted);
}

body.statify-layout .profile-layout-signature .profile-vertical-actions {
  margin-bottom: 9px;
}

body.statify-layout .profile-layout-signature .profile-own-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

body.statify-layout .profile-layout-signature .profile-vertical-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 9px;
}

body.statify-layout .profile-layout-signature .profile-vertical-stat-card {
  border: 1px solid rgba(242, 227, 198, 0.16);
  border-radius: 10px;
  background: rgba(242, 227, 198, 0.06);
  padding: 8px 5px;
}

body.statify-layout .profile-layout-signature .profile-vertical-stat-card strong {
  font-size: 1.44rem;
  color: var(--profile-v3-ink);
}

body.statify-layout .profile-layout-signature .profile-vertical-stat-card span {
  margin-top: 4px;
  font-size: 0.77rem;
  color: var(--profile-v3-muted);
}

body.statify-layout .profile-layout-signature .profile-vertical-info {
  display: grid;
  gap: 6px;
}

body.statify-layout .profile-layout-signature .profile-vertical-info-item {
  border: 1px solid rgba(242, 227, 198, 0.14);
  border-radius: 10px;
  background: rgba(242, 227, 198, 0.04);
  padding: 8px 9px;
}

body.statify-layout .profile-layout-signature .profile-vertical-info-label {
  margin-bottom: 2px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(242, 227, 198, 0.65);
}

body.statify-layout .profile-layout-signature .profile-vertical-info-item p {
  margin: 0;
  color: var(--profile-v3-ink);
  font-size: 1.02rem;
  line-height: 1.25;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.statify-layout .profile-layout-signature .server-owner-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

body.statify-layout .profile-layout-signature .server-owner-name,
body.statify-layout .profile-layout-signature .server-invite-link {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.statify-layout .profile-layout-signature .server-owner-id {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

body.statify-layout .profile-layout-signature .server-owner-id code,
body.statify-layout .profile-layout-signature .profile-vertical-info-item p code {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.statify-layout .profile-layout-signature .profile-right-column-signature > section {
  display: grid;
  gap: 12px;
}

body.statify-layout .profile-layout-signature .profile-activity-summary-card,
body.statify-layout .profile-layout-signature .server-panel-shell {
  border: 1px solid var(--profile-v3-border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(57, 47, 65, 0.86), rgba(35, 31, 42, 0.86)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(242, 227, 198, 0.06);
}

body.statify-layout .profile-layout-signature .profile-activity-summary-card {
  padding: 12px;
}

body.statify-layout .profile-layout-signature .section-head {
  margin-bottom: 9px;
}

body.statify-layout .profile-layout-signature .section-head h2 {
  margin: 0;
  color: var(--profile-v3-ink);
  font-size: clamp(1.86rem, 2.4vw, 2.32rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

body.statify-layout .profile-layout-signature .section-head p {
  color: var(--profile-v3-muted);
  font-weight: 700;
}

body.statify-layout .profile-layout-signature .profile-activity-kpi-grid,
body.statify-layout .profile-layout-signature .profile-activity-detail-grid {
  gap: 8px;
}

body.statify-layout .profile-layout-signature .profile-activity-kpi-card,
body.statify-layout .profile-layout-signature .profile-activity-detail-card {
  border: 1px solid rgba(242, 227, 198, 0.16);
  border-radius: 12px;
  background: rgba(242, 227, 198, 0.06);
}

body.statify-layout .profile-layout-signature .profile-activity-kpi-card strong {
  font-size: clamp(1.9rem, 2.4vw, 2.45rem);
  color: var(--profile-v3-ink);
}

body.statify-layout .profile-layout-signature .profile-activity-kpi-card span {
  color: var(--profile-v3-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.statify-layout .profile-layout-signature .profile-activity-detail-card h3 {
  color: #dbc8a7;
  margin: 0 0 5px;
  font-size: 0.98rem;
  font-weight: 800;
}

body.statify-layout .profile-layout-signature .profile-activity-detail-main {
  color: var(--profile-v3-ink);
  font-size: clamp(1.2rem, 1.7vw, 1.58rem);
  line-height: 1.1;
  font-weight: 800;
}

body.statify-layout .profile-layout-signature .profile-activity-detail-sub {
  color: var(--profile-v3-muted);
}

body.statify-layout .profile-layout-signature .profile-vote-table,
body.statify-layout .profile-layout-signature .profile-global-stats-table {
  border: 1px solid rgba(242, 227, 198, 0.14);
  border-radius: 12px;
  overflow: hidden;
}

body.statify-layout .profile-layout-signature .profile-vote-table-head,
body.statify-layout .profile-layout-signature .profile-global-stats-table-head {
  background: rgba(20, 18, 24, 0.7);
}

body.statify-layout .profile-layout-signature .profile-vote-table-head span,
body.statify-layout .profile-layout-signature .profile-global-stats-table-head span {
  color: rgba(242, 227, 198, 0.78);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.statify-layout .profile-layout-signature .profile-vote-row,
body.statify-layout .profile-layout-signature .profile-global-stats-row {
  border-top: 1px solid rgba(242, 227, 198, 0.1);
  background: rgba(242, 227, 198, 0.04);
}

body.statify-layout .profile-layout-signature .profile-vote-row:hover,
body.statify-layout .profile-layout-signature .profile-global-stats-row:hover {
  background: rgba(255, 71, 119, 0.13);
}

body.statify-layout .profile-layout-signature .server-panel-shell {
  padding: 10px;
}

body.statify-layout .profile-layout-signature .server-panel-tabs {
  border: 1px solid rgba(242, 227, 198, 0.16);
  border-radius: 12px;
  background: rgba(242, 227, 198, 0.05);
  margin-bottom: 9px;
}

body.statify-layout .profile-layout-signature .server-panel-tab {
  border-radius: 9px;
  font-weight: 800;
}

body.statify-layout .profile-layout-signature .server-panel-tab.is-active {
  background: linear-gradient(128deg, rgba(255, 71, 119, 0.82), rgba(255, 71, 119, 0.64));
  border-color: rgba(255, 71, 119, 0.52);
}

body.statify-layout .profile-layout-signature .server-overview-card,
body.statify-layout .profile-layout-signature .server-mini-vote-card,
body.statify-layout .profile-layout-signature .guild-activity-status-card,
body.statify-layout .profile-layout-signature .guild-activity-type-chip,
body.statify-layout .profile-layout-signature .guild-activity-list-card,
body.statify-layout .profile-layout-signature .guild-activity-list-row,
body.statify-layout .profile-layout-signature .server-comment-item {
  border-color: rgba(242, 227, 198, 0.16);
  background: rgba(242, 227, 198, 0.05);
}

body.statify-layout .profile-layout-signature .guild-activity-list-row:hover,
body.statify-layout .profile-layout-signature .server-comment-item:hover {
  background: rgba(255, 71, 119, 0.12);
}

body.statify-layout .profile-layout-signature .profile-server-tag,
body.statify-layout .profile-layout-signature .profile-server-tag-featured,
body.statify-layout .profile-layout-signature .profile-server-tag-showcase {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.statify-layout .profile-layout-signature .profile-server-tag {
  border-color: rgba(255, 71, 119, 0.4);
  background: rgba(255, 71, 119, 0.18);
  color: #ffe3eb;
}

body.statify-layout .profile-layout-signature .profile-server-tag-featured {
  border-color: rgba(255, 71, 119, 0.54);
  background: rgba(255, 71, 119, 0.24);
  color: #ffe7ef;
}

body.statify-layout .profile-layout-signature .profile-server-tag-showcase {
  border-color: rgba(242, 227, 198, 0.34);
  background: rgba(242, 227, 198, 0.12);
  color: #fff4df;
}

@media (max-width: 1260px) {
  body.statify-layout .profile-layout-signature {
    grid-template-columns: minmax(290px, 330px) minmax(0, 1fr);
  }
}

@media (max-width: 1080px) {
  body.statify-layout .profile-layout-signature {
    grid-template-columns: 1fr;
  }

  body.statify-layout .profile-layout-signature .profile-left-column-signature {
    position: static;
    top: auto;
  }
}

@media (max-width: 760px) {
  body.statify-layout .profile-layout-signature .profile-vertical-banner {
    height: 148px;
  }

  body.statify-layout .profile-layout-signature .profile-vertical-avatar {
    width: 72px;
    height: 72px;
  }

  body.statify-layout .profile-layout-signature .profile-vertical-name-row h1 {
    font-size: 1.72rem;
  }

  body.statify-layout .profile-layout-signature .profile-vertical-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.statify-layout .profile-layout-signature .profile-activity-kpi-grid {
    grid-template-columns: 1fr;
  }

  body.statify-layout .profile-layout-signature[data-profile-kind="server"] .profile-vertical-name-row {
    gap: 6px;
  }

  body.statify-layout .profile-layout-signature[data-profile-kind="server"] .profile-vertical-name-row h1 {
    width: 100%;
    font-size: 1.58rem;
    line-height: 0.98;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.statify-layout .profile-layout-signature[data-profile-kind="server"] .profile-vertical-handle {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.statify-layout .profile-layout-signature[data-profile-kind="server"] .profile-vertical-handle code {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
  }

  body.statify-layout .profile-layout-signature[data-profile-kind="server"] .server-owner-line {
    align-items: flex-start;
  }

  body.statify-layout .profile-layout-signature[data-profile-kind="server"] .server-owner-id {
    width: 100%;
  }

  body.statify-layout .profile-layout-signature[data-profile-kind="server"] .server-invite-link {
    display: inline-block;
    max-width: 100%;
  }
}

/* =========================================
   NEO LUXE THEME (Site + Profile Final Override)
========================================= */
body.neo-luxe-theme {
  --neo-bg-0: #080910;
  --neo-bg-1: #0f0f1b;
  --neo-bg-2: #171728;
  --neo-surface: rgba(19, 18, 32, 0.92);
  --neo-surface-soft: rgba(26, 25, 41, 0.82);
  --neo-border: rgba(255, 255, 255, 0.1);
  --neo-text: #f8f0de;
  --neo-muted: rgba(248, 240, 222, 0.68);
  --neo-accent: #ff4777;
  --neo-accent-soft: rgba(255, 71, 119, 0.2);
  color: var(--neo-text);
  background:
    radial-gradient(900px 420px at -6% -10%, rgba(255, 71, 119, 0.16), transparent 64%),
    radial-gradient(820px 460px at 100% 2%, rgba(255, 71, 119, 0.12), transparent 68%),
    linear-gradient(145deg, var(--neo-bg-0), var(--neo-bg-1) 45%, var(--neo-bg-2));
}

body.neo-luxe-theme .app-shell {
  max-width: none;
  width: 100%;
  margin: 0;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 18px 18px 20px;
}

body.neo-luxe-theme .side-island {
  min-height: calc(100vh - 36px);
  border-radius: 40px;
  padding: 14px 10px;
  gap: 25px;
  border: 1px solid var(--neo-border);
  background: linear-gradient(180deg, rgba(15, 14, 26, 0.96), rgba(10, 10, 18, 0.96));
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.neo-luxe-theme .side-brand {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 50%;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  overflow: visible;
  text-shadow: none;
  color: #ffe8ef;
}

body.neo-luxe-theme .side-brand-mark {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(128, 144, 181, 0.34);
  background: transparent;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffe7ef;
  box-shadow: none;
  outline: 0;
}

.side-brand-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 0 !important;
  box-shadow: none;
  outline: 0;
  filter: none;
  object-fit: cover;
  display: block;
  background: transparent;
}

body.neo-luxe-theme .side-brand-label,
body.neo-luxe-theme .side-subtitle {
  display: none;
}

body.neo-luxe-theme .side-nav {
  margin-top: 0;
  justify-items: center;
  gap: 10px;
  overflow: visible;
}

body.neo-luxe-theme .side-nav-link {
  width: 56px;
  height: 56px;
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: rgba(248, 240, 222, 0.7);
  transform: none;
  overflow: visible;
}

body.neo-luxe-theme .side-nav-link::before {
  display: none;
}

body.neo-luxe-theme .side-nav-link .side-nav-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.neo-luxe-theme .side-nav-link .side-nav-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

body.neo-luxe-theme .side-nav-link .side-nav-label {
  z-index: 999999;
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  border: 0.8px solid var(--stf-accent);
  border-radius: 12px;
  background: rgba(17, 16, 29, 0.96);
  color: var(--neo-text);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 9px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

body.neo-luxe-theme .side-nav-link:hover .side-nav-label,
body.neo-luxe-theme .side-nav-link:focus-visible .side-nav-label {
  opacity: 1;
}

body.neo-luxe-theme .side-nav-link:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff0df;
}

body.neo-luxe-theme .side-nav-link.is-active {
  border-color: rgba(255, 71, 119, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 71, 119, 0.24), rgba(255, 71, 119, 0.14)),
    rgba(255, 255, 255, 0.03);
  color: #ffe9f0;
  box-shadow: 0 0 0 1px rgba(255, 71, 119, 0.16), 0 0 22px rgba(255, 71, 119, 0.16);
}

body.neo-luxe-theme .side-footer {
  display: grid;
  justify-items: center;
}

body.neo-luxe-theme .side-user-pill,
body.neo-luxe-theme .side-login-pill {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 40px;
  border-color: rgba(255, 255, 255, 0.14);
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
}

body.neo-luxe-theme .side-user-pill span {
  display: none;
}

body.neo-luxe-theme .side-login-pill svg {
  width: 22px;
  height: 22px;
}

body.neo-luxe-theme .topbar {
  border-radius: 40px;
  border: 1px solid var(--neo-border);
  background: linear-gradient(135deg, rgba(18, 17, 31, 0.94), rgba(14, 13, 24, 0.92));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

body.neo-luxe-theme .topbar-row {
  min-height: 72px;
}

body.neo-luxe-theme .topbar-kicker {
  color: rgba(248, 240, 222, 0.56);
}

body.neo-luxe-theme .topbar-page-title {
  color: var(--neo-text);
}

body.neo-luxe-theme .topbar-user-dropdown {
  background: linear-gradient(160deg, rgba(17, 16, 28, 0.98), rgba(10, 10, 18, 0.98));
  border-color: var(--neo-border);
}

body.neo-luxe-theme .hero,
body.neo-luxe-theme .stat-card,
body.neo-luxe-theme .server-card,
body.neo-luxe-theme .server-list-row,
body.neo-luxe-theme .profile-side-card,
body.neo-luxe-theme .center-box,
body.neo-luxe-theme .admin-table-wrap,
body.neo-luxe-theme .server-panel-shell,
body.neo-luxe-theme .profile-activity-summary-card {
  background: linear-gradient(160deg, var(--neo-surface), rgba(11, 11, 20, 0.94));
  border: 1px solid var(--neo-border);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

body.neo-luxe-theme .hero h1,
body.neo-luxe-theme .section-head h1,
body.neo-luxe-theme .section-head h2 {
  color: var(--neo-text);
}

body.neo-luxe-theme .hero p,
body.neo-luxe-theme .section-head p,
body.neo-luxe-theme .server-card p,
body.neo-luxe-theme .empty,
body.neo-luxe-theme .server-list-identity p {
  color: var(--neo-muted);
}

body.neo-luxe-theme .servers-vote-hero h1 {
  color: var(--neo-text);
  -webkit-text-fill-color: unset;
  background: none;
  text-shadow: 0 0 18px rgba(255, 71, 119, 0.18);
}

body.neo-luxe-theme .server-sort-tabs {
  background: rgba(12, 12, 21, 0.9);
  border-color: var(--neo-border);
}

body.neo-luxe-theme .server-sort-tab {
  color: rgba(248, 240, 222, 0.72);
}

body.neo-luxe-theme .server-sort-tab.is-active {
  background: linear-gradient(130deg, rgba(255, 71, 119, 0.86), rgba(255, 71, 119, 0.64));
  border-color: rgba(255, 71, 119, 0.52);
}

body.neo-luxe-theme .server-count-chip {
  background: rgba(12, 12, 22, 0.88);
  color: var(--neo-text);
  border-color: var(--neo-border);
}

body.neo-luxe-theme .mini-stat {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

body.neo-luxe-theme .mini-like {
  border-color: rgba(255, 71, 119, 0.45);
  background: rgba(255, 71, 119, 0.14);
}

body.neo-luxe-theme .btn {
  border-color: rgba(255, 71, 119, 0.7);
  background: linear-gradient(130deg, rgba(255, 71, 119, 0.94), rgba(255, 71, 119, 0.72));
  color: #fff3f7;
}

body.neo-luxe-theme .btn-muted,
body.neo-luxe-theme .btn-liked {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--neo-text);
}

body.neo-luxe-theme .btn:hover {
  filter: brightness(1.06);
}

body.neo-luxe-theme .profile-layout-neo {
  grid-template-columns: minmax(330px, 370px) minmax(0, 1fr);
  gap: 18px;
}

body.neo-luxe-theme .profile-right-stack-neo {
  display: grid;
  gap: 12px;
}

body.neo-luxe-theme .neo-profile-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--neo-border);
  border-radius: 14px;
  padding: 6px;
  background: rgba(16, 15, 27, 0.86);
}

body.neo-luxe-theme .neo-profile-tab {
  padding: 8px 14px;
  border-radius: 10px;
  color: rgba(248, 240, 222, 0.72);
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.neo-luxe-theme .neo-profile-tab:hover {
  color: var(--neo-text);
  background: rgba(255, 255, 255, 0.06);
}

body.neo-luxe-theme .neo-profile-tab.is-active {
  color: #ffe8ef;
  background: rgba(255, 71, 119, 0.18);
  border-color: rgba(255, 71, 119, 0.46);
  box-shadow: inset 0 -2px 0 rgba(255, 71, 119, 0.8);
}

body.neo-luxe-theme .profile-layout-neo .profile-left-column-signature {
  top: 96px;
}

body.neo-luxe-theme .profile-layout-neo .profile-vertical-card {
  border-radius: 18px;
  border: 1px solid var(--neo-border);
  background: linear-gradient(180deg, rgba(18, 17, 30, 0.95), rgba(11, 11, 20, 0.95));
}

body.neo-luxe-theme .profile-layout-neo .profile-vertical-banner {
  height: 138px;
}

body.neo-luxe-theme .profile-layout-neo .profile-vertical-body {
  margin-top: 0;
  padding: 12px;
  background: transparent;
}

body.neo-luxe-theme .profile-layout-neo .profile-vertical-avatar {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.14);
}

body.neo-luxe-theme .profile-layout-neo .profile-vertical-name-row h1 {
  font-size: clamp(1.85rem, 2.2vw, 2.2rem);
}

body.neo-luxe-theme .profile-layout-neo .profile-avatar-badge-strip,
body.neo-luxe-theme .profile-layout-neo .profile-vertical-stat-card,
body.neo-luxe-theme .profile-layout-neo .profile-vertical-info-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

body.neo-luxe-theme .profile-layout-neo .profile-vertical-info-label,
body.neo-luxe-theme .profile-layout-neo .profile-vertical-handle,
body.neo-luxe-theme .profile-layout-neo .profile-vertical-stat-card span {
  color: var(--neo-muted);
}

body.neo-luxe-theme .profile-layout-neo .profile-vertical-info-item p,
body.neo-luxe-theme .profile-layout-neo .profile-vertical-stat-card strong,
body.neo-luxe-theme .profile-layout-neo .profile-vertical-name-row h1 {
  color: var(--neo-text);
}

body.neo-luxe-theme .profile-layout-neo .profile-vertical-info-item p,
body.neo-luxe-theme .profile-layout-neo .profile-vertical-info-item a {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.neo-luxe-theme .profile-layout-neo .profile-activity-summary-card,
body.neo-luxe-theme .profile-layout-neo .server-panel-shell {
  border-radius: 16px;
  border: 1px solid var(--neo-border);
  background: linear-gradient(160deg, rgba(18, 17, 30, 0.95), rgba(10, 10, 18, 0.95));
}

body.neo-luxe-theme .profile-layout-neo .profile-activity-kpi-card,
body.neo-luxe-theme .profile-layout-neo .profile-activity-detail-card,
body.neo-luxe-theme .profile-layout-neo .profile-vote-table,
body.neo-luxe-theme .profile-layout-neo .profile-global-stats-table,
body.neo-luxe-theme .profile-layout-neo .server-overview-card,
body.neo-luxe-theme .profile-layout-neo .server-mini-vote-card,
body.neo-luxe-theme .profile-layout-neo .guild-activity-status-card,
body.neo-luxe-theme .profile-layout-neo .guild-activity-type-chip,
body.neo-luxe-theme .profile-layout-neo .guild-activity-list-card,
body.neo-luxe-theme .profile-layout-neo .guild-activity-list-row,
body.neo-luxe-theme .profile-layout-neo .server-comment-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

body.neo-luxe-theme .profile-layout-neo .section-head h2,
body.neo-luxe-theme .profile-layout-neo .profile-activity-kpi-card strong,
body.neo-luxe-theme .profile-layout-neo .profile-activity-detail-main,
body.neo-luxe-theme .profile-layout-neo .profile-vote-guild,
body.neo-luxe-theme .profile-layout-neo .profile-global-guild {
  color: var(--neo-text);
}

body.neo-luxe-theme .profile-layout-neo .section-head p,
body.neo-luxe-theme .profile-layout-neo .profile-activity-kpi-card span,
body.neo-luxe-theme .profile-layout-neo .profile-activity-detail-sub,
body.neo-luxe-theme .profile-layout-neo .profile-vote-time,
body.neo-luxe-theme .profile-layout-neo .profile-global-time {
  color: var(--neo-muted);
}

body.neo-luxe-theme .profile-layout-neo .profile-vote-table-head,
body.neo-luxe-theme .profile-layout-neo .profile-global-stats-table-head {
  background: rgba(0, 0, 0, 0.26);
}

/* Keep badge visuals clean: no dark plate behind single/inline badges */
body.statify-layout .profile-layout-signature .profile-avatar-badge-strip,
body.neo-luxe-theme .profile-layout-neo .profile-avatar-badge-strip {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.neo-luxe-theme .profile-layout-neo .profile-vote-table-head span,
body.neo-luxe-theme .profile-layout-neo .profile-global-stats-table-head span {
  color: rgba(248, 240, 222, 0.8);
}

body.neo-luxe-theme .profile-layout-neo .profile-vote-row:hover,
body.neo-luxe-theme .profile-layout-neo .profile-global-stats-row:hover,
body.neo-luxe-theme .profile-layout-neo .guild-activity-list-row:hover,
body.neo-luxe-theme .profile-layout-neo .server-comment-item:hover {
  background: rgba(255, 71, 119, 0.12);
}

body.neo-luxe-theme .profile-layout-neo .profile-server-tag {
  border-color: rgba(255, 71, 119, 0.44);
  background: rgba(255, 71, 119, 0.18);
  color: #ffe3eb;
}

body.neo-luxe-theme .profile-layout-neo .server-panel-tabs {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}

body.neo-luxe-theme .profile-layout-neo .server-panel-tab {
  color: rgba(248, 240, 222, 0.72);
}

body.neo-luxe-theme .profile-layout-neo .server-panel-tab.is-active {
  background: rgba(255, 71, 119, 0.22);
  color: #ffe8ef;
  border-color: rgba(255, 71, 119, 0.5);
}

body.neo-luxe-theme .profile-tooltip-target[data-tooltip]:not([data-tooltip=""])::after {
  background: rgba(13, 12, 22, 0.98);
  border: 1px solid rgba(255, 71, 119, 0.38);
  color: var(--neo-text);
}

body.neo-luxe-theme .profile-tooltip-target[data-tooltip]:not([data-tooltip=""])::before {
  border-top-color: rgba(255, 71, 119, 0.38);
}

body.neo-luxe-theme .profile-tooltip-target.tooltip-bottom[data-tooltip]:not([data-tooltip=""])::before {
  border-bottom-color: rgba(255, 71, 119, 0.38);
}

@media (max-width: 1200px) {
  body.neo-luxe-theme .app-shell {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px 10px 10px 4px;
  }

  body.neo-luxe-theme .side-island {
    position: static;
    min-height: 0;
    border-radius: 16px;
    padding: 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    display: grid;
    align-items: center;
  }

  body.neo-luxe-theme .side-brand {
    margin: 0;
  }

  body.neo-luxe-theme .side-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  body.neo-luxe-theme .side-nav-link .side-nav-label {
    display: none;
  }

  body.neo-luxe-theme .side-footer {
    justify-items: end;
  }

  body.neo-luxe-theme .profile-layout-neo {
    grid-template-columns: 1fr;
  }

  body.neo-luxe-theme .profile-layout-neo .profile-left-column-signature {
    position: static;
  }
}

@media (max-width: 760px) {
  body.neo-luxe-theme .topbar-row {
    min-height: 66px;
  }

  body.neo-luxe-theme .profile-layout-neo .profile-vertical-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.neo-luxe-theme .profile-layout-neo .profile-activity-kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* Keep profile card truly fixed on desktop */
@media (min-width: 1201px) {
  body.neo-luxe-theme .profile-layout-neo {
    --neo-fixed-col-w: clamp(320px, 22vw, 356px);
    --neo-fixed-col-gap: 22px;
    --neo-fixed-col-left: max(122px, calc((100vw - 1460px) / 2 + 122px));
    display: block;
    padding-left: calc(var(--neo-fixed-col-w) + var(--neo-fixed-col-gap));
  }

  body.neo-luxe-theme .profile-layout-neo .profile-left-column-signature {
    position: fixed !important;
    top: 119px !important;
    left: var(--neo-fixed-col-left);
    width: var(--neo-fixed-col-w);
    height: calc(100vh - 132px);
    align-self: start;
    z-index: 20;
    margin: 0;
  }

  body.neo-luxe-theme .profile-layout-neo .profile-left-column-signature .profile-vertical-shell {
    height: 100%;
    min-height: 0;
  }

  body.neo-luxe-theme .profile-layout-neo .profile-left-column-signature .profile-vertical-card {
    height: 100%;
    max-height: none;
    overflow-y: hidden;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  body.neo-luxe-theme .profile-layout-neo .profile-right-column-signature {
    min-width: 0;
  }

  body.neo-luxe-theme .profile-layout-neo[data-profile-kind="user"] {
    display: grid;
    padding-left: 2px;
    grid-template-columns: minmax(330px, 370px) minmax(0, 1fr);
    gap: 26px;
  }

  body.neo-luxe-theme .profile-layout-neo[data-profile-kind="user"] .profile-left-column-signature {
    position: sticky !important;
    top: 98px !important;
    left: auto;
    width: auto;
    height: auto;
    max-height: none;
    z-index: 8;
    margin: 0;
  }

  body.neo-luxe-theme .profile-layout-neo[data-profile-kind="user"] .profile-left-column-signature .profile-vertical-shell,
  body.neo-luxe-theme .profile-layout-neo[data-profile-kind="user"] .profile-left-column-signature .profile-vertical-card {
    height: auto;
    max-height: none;
    min-height: 0;
  }

  body.neo-luxe-theme .profile-layout-neo[data-profile-kind="user"] .profile-left-column-signature .profile-vertical-card {
    overflow: visible;
  }
}

@media (max-width: 1200px) {
  body.neo-luxe-theme .profile-layout-neo .profile-left-column-signature {
    position: static !important;
    height: auto;
    width: auto;
  }
}

/* Remove translucent backdrop panel behind profile area */
body.neo-luxe-theme .profile-layout-signature::before {
  content: none !important;
  display: none !important;
  background: none !important;
}

body.statify-layout.is-discord-activity {
  --activity-density: var(--activity-viewport-scale, 1);
}

body.statify-layout.is-discord-activity .app-shell {
  max-width: none;
  padding: calc(14px * var(--activity-density)) calc(14px * var(--activity-density));
  gap: calc(14px * var(--activity-density));
  grid-template-columns: 84px minmax(0, 1fr);
}

body.statify-layout.is-discord-activity .side-island {
  top: 14px;
  min-height: calc(100vh - 28px);
  padding: 14px 10px;
  border-radius: 24px;
  gap: 12px;
}

body.statify-layout.is-discord-activity .side-brand-label,
body.statify-layout.is-discord-activity .side-subtitle,
body.statify-layout.is-discord-activity .side-nav-label,
body.statify-layout.is-discord-activity .side-user-pill span {
  display: none;
}

body.statify-layout.is-discord-activity .side-brand,
body.statify-layout.is-discord-activity .side-user-pill,
body.statify-layout.is-discord-activity .side-login-pill {
  justify-content: center;
}

body.statify-layout.is-discord-activity .side-nav {
  justify-items: center;
}

body.statify-layout.is-discord-activity .side-nav-link {
  width: 100%;
  justify-content: center;
  padding-inline: 0;
}

body.statify-layout.is-discord-activity .container {
  width: min(100%, 1360px);
}

body.statify-layout.is-discord-activity .topbar {
  border-radius: 24px;
}

body.statify-layout.is-discord-activity .topbar-row {
  min-height: 72px;
  gap: 12px;
  padding: 12px 16px;
}

body.statify-layout.is-discord-activity .topbar-page-title {
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
}

body.statify-layout.is-discord-activity .profile-layout-signature,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo {
  grid-template-columns: minmax(280px, 332px) minmax(0, 1fr);
  gap: 16px;
}

body.statify-layout.is-discord-activity .profile-layout-signature .profile-left-column-signature,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-left-column-signature {
  position: sticky !important;
  top: 94px !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
}

body.neo-luxe-theme.is-discord-activity .profile-layout-neo {
  display: grid;
  padding-left: 0;
}

body.statify-layout.is-discord-activity .profile-layout-signature .profile-vertical-card,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-vertical-card {
  border-radius: 22px;
}

body.statify-layout.is-discord-activity .profile-layout-signature .profile-vertical-banner,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-vertical-banner {
  height: 136px;
}

body.statify-layout.is-discord-activity .profile-layout-signature .profile-vertical-body,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-vertical-body {
  padding: 0 12px 12px;
}

body.statify-layout.is-discord-activity .profile-layout-signature .profile-vertical-avatar,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-vertical-avatar {
  width: 84px;
  height: 84px;
  border-radius: 20px;
}

body.statify-layout.is-discord-activity .profile-layout-signature .profile-vertical-name-row h1,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-vertical-name-row h1 {
  font-size: clamp(1.55rem, 2vw, 1.95rem);
}

body.statify-layout.is-discord-activity .profile-layout-signature .profile-vertical-stats,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-vertical-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.statify-layout.is-discord-activity .profile-layout-signature .profile-activity-summary-card,
body.statify-layout.is-discord-activity .profile-layout-signature .server-panel-shell,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-activity-summary-card,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo .server-panel-shell {
  border-radius: 20px;
  padding: 12px;
}

body.statify-layout.is-discord-activity .profile-layout-signature .profile-activity-kpi-grid,
body.statify-layout.is-discord-activity .profile-layout-signature .profile-activity-detail-grid,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-activity-kpi-grid,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-activity-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.statify-layout.is-discord-activity .profile-layout-signature .profile-activity-kpi-card,
body.statify-layout.is-discord-activity .profile-layout-signature .profile-activity-detail-card,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-activity-kpi-card,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-activity-detail-card {
  padding: 12px;
}

body.statify-layout.is-discord-activity .profile-layout-signature .profile-activity-kpi-card strong,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-activity-kpi-card strong {
  font-size: clamp(1.7rem, 2vw, 2.1rem);
}

body.statify-layout.is-discord-activity .profile-layout-signature .section-head h2,
body.neo-luxe-theme.is-discord-activity .profile-layout-neo .section-head h2 {
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
}

body.statify-layout.is-discord-activity .server-list-row {
  grid-template-columns: minmax(260px, 1.15fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 16px;
}

body.statify-layout.is-discord-activity .server-list-main {
  gap: 9px;
}

body.statify-layout.is-discord-activity .server-rank {
  min-width: 36px;
  padding: 3px 7px;
  font-size: 0.76rem;
}

body.statify-layout.is-discord-activity .server-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

body.statify-layout.is-discord-activity .server-list-identity h2 {
  font-size: 0.98rem;
}

body.statify-layout.is-discord-activity .server-list-identity p {
  margin-top: 2px;
  font-size: 0.75rem;
}

body.statify-layout.is-discord-activity .server-list-metrics {
  gap: 5px;
  justify-content: flex-end;
}

body.statify-layout.is-discord-activity .mini-stat {
  padding: 4px 7px;
  border-radius: 9px;
}

body.statify-layout.is-discord-activity .mini-stat strong {
  font-size: 0.76rem;
}

body.statify-layout.is-discord-activity .server-list-action {
  justify-content: flex-end;
}

body.statify-layout.is-discord-activity .server-list-action .btn {
  min-height: 38px;
  padding: 7px 12px;
  font-size: 0.84rem;
  box-shadow: 0 8px 16px rgba(255, 71, 119, 0.18);
}

@media (max-width: 1180px) {
  body.statify-layout.is-discord-activity .app-shell,
  body.neo-luxe-theme.is-discord-activity .app-shell {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 10px;
  }

  body.statify-layout.is-discord-activity .side-island,
  body.neo-luxe-theme.is-discord-activity .side-island {
    position: static;
    min-height: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }

  body.statify-layout.is-discord-activity .side-nav,
  body.neo-luxe-theme.is-discord-activity .side-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
  }

  body.statify-layout.is-discord-activity .side-footer,
  body.neo-luxe-theme.is-discord-activity .side-footer {
    justify-items: end;
  }

  body.statify-layout.is-discord-activity .profile-layout-signature,
  body.neo-luxe-theme.is-discord-activity .profile-layout-neo {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  body.statify-layout.is-discord-activity .profile-layout-signature .profile-left-column-signature,
  body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-left-column-signature {
    position: static !important;
    top: auto !important;
  }

  body.statify-layout.is-discord-activity .profile-layout-signature .profile-activity-kpi-grid,
  body.statify-layout.is-discord-activity .profile-layout-signature .profile-activity-detail-grid,
  body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-activity-kpi-grid,
  body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-activity-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.statify-layout.is-discord-activity .server-list-row,
  body.neo-luxe-theme.is-discord-activity .server-list-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  body.statify-layout.is-discord-activity .server-list-metrics,
  body.neo-luxe-theme.is-discord-activity .server-list-metrics,
  body.statify-layout.is-discord-activity .server-list-action,
  body.neo-luxe-theme.is-discord-activity .server-list-action {
    justify-content: flex-start;
  }
}

@media (max-width: 760px), (max-height: 700px) {
  body.statify-layout.is-discord-activity .topbar-row,
  body.neo-luxe-theme.is-discord-activity .topbar-row {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }

  body.statify-layout.is-discord-activity .auth,
  body.neo-luxe-theme.is-discord-activity .auth {
    justify-content: flex-end;
  }

  body.statify-layout.is-discord-activity .profile-layout-signature .profile-activity-kpi-grid,
  body.statify-layout.is-discord-activity .profile-layout-signature .profile-activity-detail-grid,
  body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-activity-kpi-grid,
  body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-activity-detail-grid,
  body.statify-layout.is-discord-activity .profile-layout-signature .profile-vertical-stats,
  body.neo-luxe-theme.is-discord-activity .profile-layout-neo .profile-vertical-stats {
    grid-template-columns: 1fr;
  }
}

/* Neo/Statify palette harmonization: my-servers + edit/follows popups */
body.statify-layout.neo-luxe-theme .my-server-card,
body.statify-layout.neo-luxe-theme .owned-server-modal.profile-edit-modal,
body.statify-layout.neo-luxe-theme .profile-follows-modal {
  border: 1px solid var(--neo-border);
  background: linear-gradient(160deg, var(--neo-surface), rgba(11, 11, 20, 0.94));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

body.statify-layout.neo-luxe-theme .my-server-head,
body.statify-layout.neo-luxe-theme .owned-server-modal .profile-edit-modal-head,
body.statify-layout.neo-luxe-theme .profile-follows-modal-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.statify-layout.neo-luxe-theme .my-server-meta p,
body.statify-layout.neo-luxe-theme .my-server-content-label,
body.statify-layout.neo-luxe-theme .owned-server-modal .profile-edit-form label,
body.statify-layout.neo-luxe-theme .profile-follows-tab {
  color: var(--neo-muted);
}

body.statify-layout.neo-luxe-theme .my-server-content-block,
body.statify-layout.neo-luxe-theme .profile-follows-row {
  border: 1px solid var(--neo-border);
  background: linear-gradient(160deg, var(--neo-surface-soft), rgba(15, 14, 27, 0.9));
}

body.statify-layout.neo-luxe-theme .my-server-content-block:hover,
body.statify-layout.neo-luxe-theme .profile-follows-row:hover {
  border-color: rgba(255, 71, 119, 0.36);
  background: linear-gradient(160deg, rgba(255, 71, 119, 0.14), rgba(20, 18, 32, 0.9));
}

body.statify-layout.neo-luxe-theme .my-server-content-block p,
body.statify-layout.neo-luxe-theme .my-server-content-block a,
body.statify-layout.neo-luxe-theme .profile-follows-row span {
  color: var(--neo-text);
}

body.statify-layout.neo-luxe-theme .my-server-content-block a {
  text-decoration-color: rgba(255, 71, 119, 0.52);
}

body.statify-layout.neo-luxe-theme .my-server-owner-chip {
  border-color: rgba(255, 71, 119, 0.48);
  background: rgba(255, 71, 119, 0.16);
  color: #ffe6ee;
}

body.statify-layout.neo-luxe-theme .owned-server-modal-overlay .profile-edit-modal-backdrop,
body.statify-layout.neo-luxe-theme .profile-follows-modal-backdrop {
  background: rgba(8, 9, 16, 0.74);
  backdrop-filter: blur(12px) saturate(112%);
  -webkit-backdrop-filter: blur(12px) saturate(112%);
}

body.statify-layout.neo-luxe-theme .owned-server-modal .profile-edit-form textarea,
body.statify-layout.neo-luxe-theme .owned-server-modal .profile-edit-form input,
body.statify-layout.neo-luxe-theme .owned-server-invite-prefix {
  border-color: var(--neo-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--neo-text);
}

body.statify-layout.neo-luxe-theme .owned-server-modal .profile-edit-form textarea:focus,
body.statify-layout.neo-luxe-theme .owned-server-modal .profile-edit-form input:focus {
  border-color: rgba(255, 71, 119, 0.64);
  box-shadow: 0 0 0 3px rgba(255, 71, 119, 0.2);
}

body.statify-layout.neo-luxe-theme .profile-follows-tabs {
  border: 1px solid var(--neo-border);
  background: rgba(255, 255, 255, 0.04);
}

body.statify-layout.neo-luxe-theme .profile-follows-tab:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: var(--neo-text);
}

body.statify-layout.neo-luxe-theme .profile-follows-tab.is-active {
  border-color: rgba(255, 71, 119, 0.52);
  background: linear-gradient(130deg, rgba(255, 71, 119, 0.86), rgba(255, 71, 119, 0.66));
  color: #fff3f7;
  box-shadow: 0 10px 22px rgba(255, 71, 119, 0.24);
}

/* Tooltip layering + clipping fix (profile badges) */
body.statify-layout .profile-left-column-signature {
  z-index: 8;
}

body.statify-layout .profile-layout-signature .profile-vertical-card,
body.neo-luxe-theme .profile-layout-neo .profile-vertical-card {
  overflow: visible;
}

body.statify-layout .profile-tooltip-target[data-tooltip]:not([data-tooltip=""])::after,
body.statify-layout .profile-tooltip-target[data-tooltip]:not([data-tooltip=""])::before {
  z-index: 1200;
}

body.statify-layout .profile-avatar-badge-strip {
  position: relative;
  z-index: 10;
  overflow: visible;
}

body.statify-layout .profile-avatar-badge-strip .profile-tooltip-target {
  z-index: 11;
}

body.statify-layout .profile-avatar-badge-strip .profile-tooltip-target[data-tooltip]:not([data-tooltip=""])::after {
  z-index: auto;
  left: 50%;
  right: auto;
  bottom: calc(100% + 9px);
  top: auto;
  transform: translate(-50%, 4px);
  max-width: min(220px, calc(100vw - 24px));
  white-space: nowrap;
  text-align: center;
}

body.statify-layout .profile-avatar-badge-strip .profile-tooltip-target[data-tooltip]:not([data-tooltip=""])::before {
  left: 50%;
  right: auto;
  bottom: calc(100% + 3px);
  top: auto;
  transform: translate(-50%, 4px);
  border-top-color: rgba(255, 71, 119, 0.44);
  border-bottom-color: transparent;
}

body.neo-luxe-theme .profile-avatar-badge-strip .profile-tooltip-target[data-tooltip]:not([data-tooltip=""])::before {
  border-top-color: rgba(255, 71, 119, 0.38);
}

body.statify-layout .profile-avatar-badge-strip .profile-tooltip-target[data-tooltip]:not([data-tooltip=""]):hover::after,
body.statify-layout .profile-avatar-badge-strip .profile-tooltip-target[data-tooltip]:not([data-tooltip=""]):hover::before,
body.statify-layout .profile-avatar-badge-strip .profile-tooltip-target[data-tooltip]:not([data-tooltip=""]):focus-visible::after,
body.statify-layout .profile-avatar-badge-strip .profile-tooltip-target[data-tooltip]:not([data-tooltip=""]):focus-visible::before {
  transform: translate(-50%, 0);
}

/* Support invite popup */
.support-invite-modal {
  width: min(560px, calc(100vw - 28px));
}

.support-invite-text {
  margin: 2px 0 12px;
  color: #c8d6f2;
  line-height: 1.6;
}

.support-invite-actions {
  align-items: center;
  justify-content: flex-end;
}

.support-invite-actions form {
  margin: 0;
}

.adult-category-modal {
  width: min(560px, calc(100vw - 28px));
}

.adult-category-text {
  margin: 2px 0 12px;
  color: #c8d6f2;
  line-height: 1.6;
}

.adult-category-actions {
  align-items: center;
  justify-content: flex-end;
}

/* Restore per-metric colors for server list chips in neo-luxe theme */
body.neo-luxe-theme .mini-member {
  border-color: rgba(242, 227, 198, 0.34);
  background: rgba(242, 227, 198, 0.1);
  color: #ffeccd;
}

body.neo-luxe-theme .mini-online {
  border-color: rgba(130, 255, 186, 0.4);
  background: rgba(65, 178, 111, 0.16);
  color: #ccffe2;
}

body.neo-luxe-theme .mini-voice {
  border-color: rgba(180, 145, 255, 0.45);
  background: rgba(180, 145, 255, 0.14);
  color: #e2d2ff;
}

body.neo-luxe-theme .mini-boost {
  border-color: rgba(244, 114, 182, 0.5);
  background: rgba(244, 114, 182, 0.16);
  color: #ffcbe6;
}

body.neo-luxe-theme .mini-stat strong {
  color: currentColor;
}

/* Server category pages + daily coin dropdown */
.server-category-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.server-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 26, 42, 0.9);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 12px;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.server-category-pill:hover {
  border-color: #4f7cff;
  background: #1a2740;
  color: #e9efff;
}

.server-category-pill.is-active {
  border-color: #4f7cff;
  background: linear-gradient(135deg, #2a3260, #3d4fbe);
  color: #f8faff;
}

.server-category-active {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.84rem;
  background: rgba(14, 22, 36, 0.86);
}

.server-category-active strong {
  color: #f3f3f3;
}

.server-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.server-category-card {
  display: grid;
  gap: 10px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #11192b, #0d1523);
  box-shadow: var(--shadow);
  padding: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.server-category-card:hover {
  border-color: #4f7cff;
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.3);
}

.server-category-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.server-category-card-head strong {
  color: #f3f3f3;
  font-size: 1rem;
}

.server-category-card-count {
  border: 1px solid rgba(79, 124, 255, 0.4);
  border-radius: 999px;
  background: rgba(79, 124, 255, 0.14);
  color: #dbe7ff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 9px;
}

.server-category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.server-category-card.is-all {
  border-color: rgba(255, 198, 76, 0.45);
  background: linear-gradient(165deg, rgba(63, 47, 14, 0.58), rgba(26, 18, 6, 0.88));
}

.topbar-dropdown-coin strong,
.topbar-dropdown-coin-meta strong {
  color: #f3f3f3;
}

.js-daily-coin-claim[disabled] {
  opacity: 0.68;
  cursor: not-allowed;
}

.profile-edit-form select {
  width: 100%;
  border: 1px solid #334866;
  background: #0f1522;
  color: #ecf2ff;
  border-radius: 10px;
  padding: 9px 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
}

.profile-edit-form select:focus {
  outline: 0;
  border-color: #4f7cff;
  box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.18);
}

body.statify-layout .server-category-pill {
  border-color: var(--stf-border);
  background: rgba(57, 47, 65, 0.54);
  color: var(--stf-muted);
}

body.statify-layout .server-category-pill:hover {
  border-color: rgba(255, 71, 119, 0.44);
  background: rgba(255, 71, 119, 0.14);
  color: var(--stf-cream);
}

body.statify-layout .server-category-pill.is-active {
  border-color: rgba(255, 71, 119, 0.6);
  background: linear-gradient(130deg, rgba(255, 71, 119, 0.88), rgba(255, 71, 119, 0.66));
  color: #fff8fb;
}

body.statify-layout .server-category-active {
  border-color: var(--stf-border);
  background: rgba(57, 47, 65, 0.62);
  color: var(--stf-muted);
}

body.statify-layout .server-category-active strong {
  color: var(--stf-cream);
}

body.statify-layout .server-category-card {
  border-color: var(--stf-border);
  background:
    linear-gradient(158deg, rgba(57, 47, 65, 0.82), rgba(43, 36, 50, 0.76)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

body.statify-layout .server-category-card:hover {
  border-color: rgba(255, 71, 119, 0.46);
  box-shadow:
    0 20px 36px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 71, 119, 0.18);
}

body.statify-layout .server-category-card-head strong {
  color: var(--stf-cream);
}

body.statify-layout .server-category-card-count {
  border-color: rgba(255, 71, 119, 0.42);
  background: rgba(255, 71, 119, 0.16);
  color: #ffdbe8;
}

body.statify-layout .server-category-card p {
  color: var(--stf-muted);
}

body.statify-layout .server-category-card.is-all {
  border-color: rgba(242, 227, 198, 0.34);
  background:
    linear-gradient(160deg, rgba(242, 227, 198, 0.18), rgba(57, 47, 65, 0.82)),
    rgba(255, 255, 255, 0.03);
}

body.statify-layout .topbar-dropdown-coin strong,
body.statify-layout .topbar-dropdown-coin-meta strong {
  color: var(--stf-cream);
}

body.statify-layout .profile-edit-form select {
  border-color: var(--stf-border);
  background: rgba(57, 47, 65, 0.56);
  color: var(--stf-cream);
}

body.statify-layout .profile-edit-form select:focus {
  border-color: rgba(255, 71, 119, 0.66);
  box-shadow: 0 0 0 3px rgba(255, 71, 119, 0.2);
}

.notify-stack {
  position: fixed;
  top: 84px;
  right: clamp(12px, 2vw, 24px);
  width: min(360px, calc(100vw - 20px));
  display: grid;
  gap: 10px;
  z-index: 1400;
  pointer-events: none;
}

.notify-toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 10px;
  border-radius: 13px;
  border: 1px solid rgba(243, 243, 243, 0.24);
  background:
    linear-gradient(160deg, rgba(17, 24, 38, 0.96), rgba(10, 14, 24, 0.95));
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  color: #f3f3f3;
  padding: 11px 11px 11px 13px;
  opacity: 0;
  transform: translateY(-8px) scale(0.985);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.notify-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.notify-toast.is-leaving {
  opacity: 0;
  transform: translateY(-6px) scale(0.986);
}

.notify-toast.is-success {
  border-color: rgba(72, 214, 145, 0.56);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(72, 214, 145, 0.14);
}

.notify-toast.is-error {
  border-color: rgba(255, 99, 124, 0.56);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 99, 124, 0.14);
}

.notify-toast.is-info {
  border-color: rgba(114, 160, 255, 0.5);
}

.notify-toast-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(243, 243, 243, 0.95);
}

.notify-toast-close {
  border: 1px solid rgba(243, 243, 243, 0.22);
  background: rgba(243, 243, 243, 0.07);
  color: rgba(243, 243, 243, 0.9);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  line-height: 1;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.notify-toast-close:hover {
  background: rgba(243, 243, 243, 0.16);
  border-color: rgba(243, 243, 243, 0.34);
  color: #ffffff;
}

body.statify-layout .notify-toast {
  border-color: rgba(242, 227, 198, 0.26);
  background:
    linear-gradient(160deg, rgba(44, 36, 52, 0.95), rgba(26, 20, 34, 0.96));
  color: var(--stf-cream);
}

body.statify-layout .notify-toast-text {
  color: rgba(242, 227, 198, 0.94);
}

body.statify-layout .notify-toast-close {
  border-color: rgba(242, 227, 198, 0.26);
  background: rgba(242, 227, 198, 0.09);
  color: rgba(242, 227, 198, 0.9);
}

body.statify-layout .notify-toast-close:hover {
  border-color: rgba(242, 227, 198, 0.42);
  background: rgba(242, 227, 198, 0.18);
  color: #fffaf0;
}
@media (max-width: 820px) {
  .server-category-active {
    margin-left: 0;
  }

  .server-categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

/* Servers hero note color restore */
body.statify-layout .servers-vote-hero-note,
body.neo-luxe-theme .servers-vote-hero-note,
body.statify-layout.neo-luxe-theme .servers-vote-hero-note {
  border-color: rgba(255, 198, 76, 0.5);
  background: linear-gradient(180deg, rgba(63, 47, 14, 0.58), rgba(34, 25, 8, 0.42));
  color: #ffd27a;
}

body.statify-layout .servers-vote-hero-note > span[aria-hidden="true"],
body.neo-luxe-theme .servers-vote-hero-note > span[aria-hidden="true"],
body.statify-layout.neo-luxe-theme .servers-vote-hero-note > span[aria-hidden="true"] {
  color: #ffb23f;
}

/* Hero banner visibility fix for themed layouts */
body.statify-layout .hero.has-image,
body.neo-luxe-theme .hero.has-image,
body.statify-layout.neo-luxe-theme .hero.has-image {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 34%, rgba(0, 0, 0, 0.5) 100%),
    var(--hero-banner-image);
  background-size: cover;
  background-position: center 56%;
  background-repeat: no-repeat;
  background-clip: padding-box;
}
