.active-link {
  color: var(--text) !important;
  background: rgba(122, 110, 255, 0.14) !important;
  border-color: rgba(122, 110, 255, 0.22) !important;
}

.layout-public {
  min-height: 100vh;
}

.layout-dashboard {
  min-height: 100vh;
  background: radial-gradient(1200px 800px at -10% 0%, #23293b 0%, #0b0d12 55%) fixed;
}

.dashboard-client-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 84px 280px minmax(0, 1fr);
}

.dashboard-guildbar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 14px 10px;
  background: rgba(14, 16, 22, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.dashboard-guild-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  align-items: center;
}

.dashboard-guild {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.dashboard-guild img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.dashboard-guild.home img {
  object-fit: contain;
  padding: 8px;
}

.dashboard-guild:hover,
.dashboard-guild.active {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(135deg, rgba(122, 110, 255, 0.84), rgba(102, 235, 225, 0.82));
}

.dashboard-guild.add {
  margin-top: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.dashboard-guild.add i {
  font-size: 22px;
}

.dashboard-guild-divider {
  width: 38px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-sidebar-shell {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(20, 22, 31, 0.94);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
}

.dashboard-sidebar-user,
.dashboard-sidebar-highlight {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-sidebar-user img {
  width: 52px;
  height: 52px;
  border-radius: 18px;
}

.dashboard-sidebar-user strong,
.dashboard-sidebar-highlight strong {
  color: var(--text);
}

.dashboard-sidebar-user small,
.dashboard-sidebar-highlight span {
  color: var(--muted);
}

.dashboard-sidebar-highlight {
  grid-template-columns: 44px minmax(0, 1fr);
  background: linear-gradient(135deg, rgba(87, 242, 135, 0.18), rgba(62, 125, 90, 0.28));
}

.dashboard-sidebar-highlight i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(87, 242, 135, 0.18);
  color: #57f287;
}

.dashboard-sidebar-nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.dashboard-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}

.dashboard-sidebar-nav a:hover,
.dashboard-sidebar-nav a.active-link {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.08);
}

.dashboard-workspace {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dashboard-top-wrap {
  top: 0;
  padding: 16px 16px 0;
}

.dashboard-topbar {
  background: rgba(18, 20, 28, 0.82);
}

.dashboard-top-copy {
  display: grid;
  gap: 4px;
}

.dashboard-top-copy strong {
  font-size: 20px;
  color: var(--text);
}

.dashboard-top-copy small {
  color: var(--muted);
}

.layout-public .page,
.layout-public .public-header,
.layout-public .public-mobile-nav,
.layout-public .site-footer {
  width: min(1360px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.layout-public .page {
  padding-left: 0;
  padding-right: 0;
}

.public-header-wrap {
  position: sticky;
  top: 0;
  z-index: 55;
  padding: 18px 0 0;
  background: linear-gradient(180deg, rgba(8, 10, 18, 0.96), rgba(8, 10, 18, 0.72), transparent);
  backdrop-filter: blur(10px);
}

.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 22px;
  border: var(--border);
  background: rgba(16, 18, 29, 0.92);
  box-shadow: var(--shadow-md);
}

.public-brand,
.public-nav,
.public-actions,
.hero-cta-line,
.section-actions,
.bot-meta-line,
.tag-row-modern,
.bot-card-footer,
.dashboard-row-meta,
.dashboard-bot-row-stats,
.dashboard-bot-row-actions,
.dash-quick-actions,
.hero-action-stack,
.reaction-grid,
.profile-tabbar,
.accent-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.public-brand img {
  width: 42px;
  height: 42px;
}

.public-nav {
  flex: 1;
  justify-content: center;
}

.public-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.18s ease, color 0.18s ease;
}

.public-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.public-mobile-nav {
  margin-top: 12px;
}

.public-page {
  display: grid;
  gap: 32px;
}

.home-hero,
.list-hero,
.bot-hero-modern,
.surface-card,
.dashboard-panel,
.promo-strip,
.user-profile-shell {
  border-radius: 30px;
  border: var(--border);
  background: linear-gradient(180deg, rgba(20, 22, 34, 0.98), rgba(13, 15, 25, 0.98));
  box-shadow: var(--shadow-md);
}

.home-hero,
.list-hero {
  padding: 52px 56px;
  text-align: center;
  display: grid;
  gap: 22px;
}

.list-hero {
  text-align: left;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  align-items: start;
}

.list-hero-copy,
.list-hero-side,
.catalog-search-form,
.catalog-summary-pills {
  display: grid;
  gap: 18px;
}

.home-hero h1,
.list-hero h1,
.dash-headline h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-title-balanced {
  word-spacing: 0.18em;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-subtitle,
.list-hero p,
.dashboard-panel p,
.surface-card p,
.bot-card-body p,
.bot-hero-copy p,
.rich-text,
.comment-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.hero-search {
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 12px;
}

.hero-search.slim {
  width: 100%;
  margin: 0;
}

.catalog-search-form {
  grid-template-columns: minmax(0, 1fr) 240px auto;
  align-items: stretch;
}

.catalog-search-form .btn {
  min-height: 54px;
}

.list-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.search-input {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.search-input i {
  color: var(--muted);
}

.search-input input {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.catalog-select,
.hero-select {
  min-width: 0;
}

.catalog-select select,
.hero-select select {
  min-height: 54px;
  border-radius: 16px;
  padding-right: 52px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(20, 25, 40, 0.98), rgba(13, 18, 31, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.catalog-select i,
.hero-select i {
  right: 16px;
  font-size: 14px;
}

.catalog-select select option,
.hero-select select option {
  color: var(--text);
  background: #141824;
}

.hero-cta-line {
  justify-content: center;
  color: var(--muted);
}

.hero-cta-line a {
  color: #57f287;
  font-weight: 700;
}

.tag-wall,
.filters-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.filters-row {
  justify-content: flex-start;
}

.tag-bubble {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(111, 120, 255, 0.22);
  background: rgba(44, 46, 76, 0.44);
  color: #aeb5ff;
}

.tag-bubble small {
  color: rgba(255, 255, 255, 0.55);
}

.tag-bubble.active,
.tag-bubble:hover {
  color: #fff;
  border-color: rgba(111, 120, 255, 0.45);
  background: rgba(88, 90, 160, 0.26);
}

.tag-bubble.small {
  min-height: 38px;
}

.promo-strip {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, rgba(89, 73, 13, 0.34), rgba(54, 43, 18, 0.72));
}

.promo-strip.info {
  background: linear-gradient(135deg, rgba(20, 78, 145, 0.38), rgba(11, 37, 74, 0.84));
}

.promo-strip-copy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.promo-strip-copy i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 211, 77, 0.18);
  color: #ffd34d;
}

.promo-strip.info .promo-strip-copy i {
  background: rgba(94, 179, 255, 0.2);
  color: #7ec8ff;
}

.promo-strip-copy strong,
.mini-stat span,
.hero-stat strong,
.bot-card-body h3,
.section-heading h2,
.comment-topline strong,
.user-identity-card h1,
.dash-user-card strong {
  color: var(--text);
}

.promo-strip-copy span {
  display: block;
  color: #dfd6b3;
}

.promo-strip.info .promo-strip-copy span {
  color: #bddfff;
}

.listing-section,
.dual-section,
.bot-detail-grid,
.dashboard-main-grid,
.user-profile-grid {
  display: grid;
  gap: 14px;
}

.catalog-main,
.catalog-sidebar,
.catalog-panel,
.catalog-facts,
.catalog-tag-list {
  display: grid;
  gap: 16px;
}

.catalog-fact,
.catalog-tag-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.catalog-fact span,
.catalog-tag-link span {
  color: var(--muted);
}

.catalog-fact strong,
.catalog-tag-link strong {
  color: var(--text);
}

.catalog-tag-link:hover {
  border-color: rgba(102, 235, 225, 0.26);
  background: rgba(102, 235, 225, 0.08);
}

.catalog-summary-card {
  display: grid;
  gap: 22px;
}

.catalog-summary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-tag-list.inline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading.compact {
  margin-bottom: 16px;
}

.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin-top: 6px;
  color: var(--muted);
}

.mini-stat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  text-align: center;
}

.bot-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 24px;
}

.bot-card-modern {
  overflow: hidden;
  border-radius: 24px;
  border: var(--border);
  background: rgba(26, 28, 38, 0.98);
  box-shadow: var(--shadow-md);
  min-height: 100%;
  display: grid;
  grid-template-rows: 196px minmax(0, 1fr);
}

.bot-card-cover {
  min-height: 196px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bot-card-cover-top,
.bot-card-cover-bottom,
.bot-card-topline,
.comment-topline,
.profile-info-line,
.vote-feed-item,
.compact-bot-item,
.dashboard-bot-row,
.dash-user-card,
.dashboard-panel-head,
.bot-headline-row,
.bot-hero-mainline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #57f287;
  box-shadow: 0 0 0 6px rgba(87, 242, 135, 0.14);
}

.status-dot.pending {
  background: #66ebe1;
  box-shadow: 0 0 0 6px rgba(102, 235, 225, 0.14);
}

.status-dot.rejected,
.status-dot.disabled {
  background: #ff758c;
  box-shadow: 0 0 0 6px rgba(255, 117, 140, 0.14);
}

.timer-pill,
.meta-tag,
.status-pill,
.cert-pill,
.level-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: var(--border);
  background: rgba(11, 14, 22, 0.34);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}

.status-pill.approved {
  background: rgba(87, 242, 135, 0.12);
}

.status-pill.pending {
  background: rgba(102, 235, 225, 0.12);
}

.status-pill.rejected,
.status-pill.disabled {
  background: rgba(255, 117, 140, 0.14);
}

.cert-pill,
.level-chip {
  background: rgba(122, 110, 255, 0.16);
}

.bot-card-cover-top {
  justify-content: flex-end;
}

.bot-card-avatar,
.dashboard-bot-row img,
.dash-user-card img,
.comment-card img,
.vote-feed-item img,
.compact-bot-item img,
.owner-profile-card img {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.bot-card-quick-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.join-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  background: #6978ff;
  color: #fff;
  font-weight: 700;
}

.bot-card-body,
.surface-card,
.dashboard-panel {
  padding: 24px;
  width: 100%;
}

.bot-card-body {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 16px;
}

.bot-card-topline h3,
.dashboard-panel h2,
.dash-headline h1,
.bot-hero-copy h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.bot-card-topline {
  justify-content: flex-start;
}

.bot-card-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.verified-icon {
  color: #7ec8ff;
  font-size: 16px;
  flex: 0 0 auto;
}

.verified-icon.large {
  font-size: 20px;
}

.score-stack {
  display: grid;
  gap: 6px;
  justify-items: end;
  color: var(--muted);
  font-size: 13px;
}

.tag-row-modern a {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(99, 103, 183, 0.16);
  color: #93a0ff;
  display: inline-flex;
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
}

.owner-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  width: fit-content;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.owner-button img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.dual-section,
.dashboard-main-grid,
.bot-detail-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.compact-bot-list,
.comment-list,
.vote-feed-list,
.dashboard-rows,
.dash-mini-list {
  display: grid;
  gap: 12px;
}

.compact-bot-item,
.comment-card,
.vote-feed-item,
.dashboard-bot-row,
.profile-info-card,
.profile-stats-card,
.user-identity-card,
.dashboard-summary-grid .dash-stat-card {
  border-radius: 18px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.compact-bot-item {
  padding: 14px;
}

.compact-bot-item div {
  flex: 1;
  display: grid;
  gap: 6px;
}

.compact-bot-item strong,
.comment-card strong,
.vote-feed-item strong {
  font-size: 17px;
}

.compact-bot-item span,
.compact-bot-item small,
.vote-feed-item span,
.comment-topline span,
.profile-info-line span,
.dash-user-card span,
.dash-mini-list span {
  color: var(--muted);
}

.accent-card {
  background: linear-gradient(135deg, rgba(26, 29, 52, 0.98), rgba(18, 23, 36, 0.98));
}

.accent-stats {
  justify-content: space-between;
}

.accent-stats div {
  flex: 1 1 90px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.accent-stats span,
.profile-stats-card strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
}

.bot-hero-modern {
  overflow: hidden;
}

.bot-showcase {
  overflow: hidden;
  border-radius: 28px;
  border: var(--border);
  background: linear-gradient(180deg, rgba(20, 22, 34, 0.98), rgba(13, 15, 25, 0.98));
  box-shadow: var(--shadow-md);
}

.bot-showcase-cover {
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bot-showcase-inner,
.bot-showcase-ident,
.bot-showcase-copy,
.bot-showcase-main,
.bot-showcase-side,
.bot-showcase-stats,
.bot-action-card,
.bot-info-card,
.config-preview-headline {
  display: grid;
  gap: 16px;
}

.bot-showcase-inner {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  padding: 0 32px 32px;
  margin-top: -76px;
  position: relative;
}

.bot-showcase-ident {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.bot-showcase-copy {
  padding: 24px 26px;
  border-radius: 26px;
  border: var(--border);
  background: rgba(11, 14, 22, 0.72);
  backdrop-filter: blur(14px);
}

.bot-profile-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.bot-title-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 3px solid rgba(10, 12, 20, 0.92);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

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

.bot-showcase-side {
  align-content: start;
}

.bot-action-card,
.bot-info-card,
.config-panel,
.config-preview-card {
  border-radius: 28px;
  border: var(--border);
  background: linear-gradient(180deg, rgba(20, 22, 34, 0.98), rgba(13, 15, 25, 0.98));
  box-shadow: var(--shadow-md);
}

.bot-action-card,
.bot-info-card {
  padding: 18px;
}

.bot-action-card .btn {
  width: 100%;
}

.bot-action-card .btn.liked {
  background: rgba(255, 255, 255, 0.08);
  color: #ff9eb0;
  border: 1px solid rgba(255, 158, 176, 0.28);
  box-shadow: none;
}

.bot-info-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bot-info-card div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bot-info-card span {
  color: var(--muted);
}

.bot-info-card strong {
  color: var(--text);
}

.bot-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 30px;
}

.bot-hero-cover {
  height: 210px;
}

.bot-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 340px;
  gap: 26px;
  padding: 0 28px 28px;
  margin-top: -56px;
}

.bot-hero-mainline {
  align-items: flex-end;
}

.bot-hero-avatar.xl {
  width: 108px;
  height: 108px;
  border-radius: 28px;
  border: 4px solid rgba(11, 14, 22, 0.95);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.1);
}

.bot-hero-copy {
  flex: 1;
  display: grid;
  gap: 14px;
}

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

.hero-stat {
  min-height: 84px;
  padding: 12px 14px;
  border-radius: 16px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
}

.hero-stat span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.hero-stat strong {
  font-size: 28px;
}

.hero-action-stack {
  margin-top: 14px;
  align-items: stretch;
}

.hero-action-stack .btn {
  width: 100%;
}

.bot-main-column,
.bot-side-column,
.dashboard-column,
.user-profile-main,
.user-profile-side {
  display: grid;
  gap: 28px;
}

.reaction-grid {
  align-items: stretch;
}

.reaction-grid.vertical {
  display: grid;
  gap: 12px;
}

.reaction-form {
  flex: 1 1 160px;
}

.reaction-card {
  width: 100%;
  min-height: 108px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  border: var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.reaction-card i {
  font-size: 24px;
  color: var(--accent);
}

.reaction-card.compact {
  min-height: auto;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  justify-items: start;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.reaction-card.compact i {
  font-size: 18px;
}

.comment-form {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.comment-card,
.vote-feed-item,
.owner-profile-card {
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.comment-card.compact {
  padding-left: 18px;
}

.comment-card img,
.vote-feed-item img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.comment-card > div,
.owner-profile-card > div {
  flex: 1;
  display: grid;
  gap: 8px;
}

.owner-profile-card img {
  width: 76px;
  height: 76px;
}

.owner-profile-card .text-link {
  margin-top: 6px;
}

.dashboard-page-inner {
  display: grid;
  gap: 28px;
}

.layout-dashboard .page {
  padding: 22px 24px 40px;
}

.dash-headline,
.level-strip {
  display: grid;
  gap: 12px;
}

.level-strip {
  padding: 18px 20px;
  border-radius: 20px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.level-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.level-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6b74ff, #66ebe1);
}

.dashboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dash-stat-card {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.dash-stat-card i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(107, 116, 255, 0.16);
  color: #7f88ff;
}

.dash-stat-card.up i {
  background: rgba(87, 242, 135, 0.16);
  color: #57f287;
}

.dash-stat-card.violet i {
  background: rgba(122, 110, 255, 0.18);
  color: #9b90ff;
}

.dash-stat-card.gold i {
  background: rgba(255, 211, 77, 0.18);
  color: #ffd34d;
}

.dash-stat-card strong {
  font-size: 38px;
  line-height: 1;
}

.dash-stat-card span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.dashboard-panel-head {
  margin-bottom: 16px;
}

.dashboard-bot-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-bot-card-shell {
  overflow: hidden;
  border-radius: 22px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-bot-card-head {
  min-height: 122px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.dashboard-bot-card-head img {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-bot-card-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.dashboard-bot-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dashboard-bot-title strong {
  font-size: 22px;
  color: var(--text);
}

.dashboard-bot-row {
  padding: 16px;
}

.dashboard-bot-row-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.dashboard-bot-row-main img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.dashboard-bot-row-main div {
  display: grid;
  gap: 6px;
}

.dashboard-bot-row-main strong {
  font-size: 18px;
}

.dashboard-row-meta span {
  color: var(--muted);
  font-size: 13px;
}

.dashboard-bot-row-stats {
  color: var(--muted);
}

.dashboard-bot-row-stats.compact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-bot-row-stats.compact span {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dash-user-card {
  padding: 16px;
}

.dash-user-card img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.dash-user-card div {
  display: grid;
  gap: 6px;
}

.dash-mini-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-mini-list div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dash-mini-list strong {
  font-size: 18px;
}

.user-profile-shell {
  overflow: hidden;
  padding: 0;
}

.user-banner {
  height: 260px;
  background-size: cover;
  background-position: center;
}

.user-profile-stage {
  display: grid;
  gap: 28px;
  padding: 0 26px 26px;
  margin-top: -84px;
}

.user-hero-card,
.user-side-card,
.user-main-panel {
  border-radius: 28px;
  border: var(--border);
  background: linear-gradient(180deg, rgba(20, 22, 34, 0.98), rgba(13, 15, 25, 0.98));
  box-shadow: var(--shadow-md);
}

.user-hero-card {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: end;
}

.user-hero-ident,
.user-hero-copy,
.user-hero-metrics,
.user-profile-main,
.user-profile-side,
.user-bot-row-copy,
.user-side-note {
  display: grid;
  gap: 16px;
}

.user-hero-ident {
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.user-hero-copy {
  gap: 8px;
}

.user-hero-headline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.user-hero-headline h1 {
  margin: 0;
  font-size: 44px;
  letter-spacing: -0.04em;
  color: var(--text);
}

.user-hero-copy p,
.user-side-note p {
  margin: 0;
  color: var(--muted);
  max-width: 780px;
}

.user-hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.user-hero-metric,
.user-overview-item {
  min-height: 100px;
  padding: 18px;
  border-radius: 22px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
}

.user-hero-metric strong {
  font-size: 34px;
  line-height: 1;
  color: var(--text);
}

.user-hero-metric span,
.user-side-kicker {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.user-profile-grid {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
}

.profile-avatar.hero {
  width: 112px;
  height: 112px;
  border-radius: 30px;
  border: 4px solid rgba(13, 15, 24, 0.95);
}

.user-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
  justify-content: flex-start;
  align-items: center;
}

.user-badge-row img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}

.profile-info-line strong {
  display: block;
  font-size: 15px;
}

.user-side-card {
  padding: 18px;
  display: grid;
  gap: 2px;
}

.profile-info-line {
  display: grid;
  gap: 6px;
  min-height: 0;
  align-items: start;
  justify-content: flex-start;
  padding: 12px 0;
}

.profile-info-line + .profile-info-line {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-info-line span {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-info-line strong {
  font-size: 14px;
}

.profile-info-date {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.user-side-line {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 4px;
}

.user-side-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.25;
}

.user-side-date {
  margin: 0;
  line-height: 1.25;
}

.user-main-panel {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.profile-bot-grid {
  margin-top: 4px;
}

.user-bot-list {
  display: grid;
  gap: 16px;
}

.user-bot-row {
  overflow: hidden;
  border-radius: 24px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.user-bot-row-cover {
  height: 112px;
  background-size: cover;
  background-position: center;
}

.user-bot-row-body {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px 20px;
  margin-top: -38px;
}

.user-bot-row-body > img {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  border: 4px solid rgba(10, 12, 20, 0.96);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.user-bot-row-copy {
  min-width: 0;
}

.user-bot-row-top,
.user-bot-row-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.user-bot-row-top strong {
  color: var(--text);
  font-size: 24px;
}

.user-bot-row-copy p {
  margin: 0;
  color: var(--muted);
}

.user-bot-row-meta span {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.user-bot-row-body > i {
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
}

.profile-tabbar {
  padding: 6px;
  border-radius: 18px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.profile-tabbar span {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.profile-tabbar span.active {
  background: #6978ff;
  color: #fff;
}

.empty-state {
  padding: 20px;
  border-radius: 18px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.config-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.config-panel {
  padding: 24px;
  display: grid;
  gap: 20px;
}

.config-preview-panel {
  position: sticky;
  top: 108px;
}

.config-preview-card {
  overflow: hidden;
}

.config-preview-cover {
  height: 180px;
  background: linear-gradient(135deg, var(--preview-accent, #66ebe1), var(--preview-accent, #66ebe1));
  background-size: cover;
  background-position: center;
}

.config-preview-body {
  display: grid;
  gap: 16px;
  padding: 0 20px 20px;
}

.config-preview-avatar {
  width: 92px;
  height: 92px;
  margin-top: -46px;
  border-radius: 28px;
  border: 4px solid rgba(10, 12, 20, 0.96);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.config-preview-headline strong {
  font-size: 24px;
  color: var(--text);
}

.config-preview-headline span {
  color: var(--muted);
  line-height: 1.6;
}

.config-card.compact {
  padding: 14px 16px;
  border-radius: 18px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.vote-page-shell {
  overflow: hidden;
  border-radius: 30px;
  border: var(--border);
  background: linear-gradient(180deg, rgba(20, 22, 34, 0.98), rgba(13, 15, 25, 0.98));
  box-shadow: var(--shadow-md);
}

.vote-page-cover {
  height: 260px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.vote-page-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  padding: 0 32px 32px;
  margin-top: -72px;
}

.vote-page-main,
.vote-page-copy,
.vote-panel-card,
.vote-panel-form {
  display: grid;
  gap: 18px;
}

.vote-page-main {
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: end;
}

.vote-page-avatar {
  width: 112px;
  height: 112px;
  border-radius: 30px;
  border: 4px solid rgba(10, 12, 20, 0.96);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.vote-page-copy {
  padding: 22px 24px;
  border-radius: 26px;
  border: var(--border);
  background: rgba(11, 14, 22, 0.72);
  backdrop-filter: blur(14px);
}

.vote-page-copy h1,
.vote-countdown-card strong {
  color: var(--text);
}

.vote-panel-card {
  padding: 20px;
  border-radius: 24px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
  align-content: start;
}

.vote-panel-card .btn {
  width: 100%;
}

.vote-countdown-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.vote-countdown-card span {
  color: #cfe1ff;
  font-size: 18px;
  font-weight: 700;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin: 0 0 12px;
  color: var(--text);
  line-height: 1.2;
}

.markdown-body p,
.markdown-body ul,
.markdown-body ol,
.markdown-body blockquote,
.markdown-body pre {
  margin: 0 0 14px;
}

.markdown-body ul,
.markdown-body ol {
  padding-left: 22px;
}

.markdown-body li {
  color: var(--muted);
  margin-bottom: 6px;
}

.markdown-body strong,
.markdown-body code,
.markdown-body a {
  color: var(--text);
}

.markdown-body code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.markdown-body pre {
  overflow: auto;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.markdown-body blockquote {
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  color: #d7e4ff;
}

.form-grid,
.settings-grid,
.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.full {
  grid-column: 1 / -1;
}

.field-stack,
.step-panel {
  display: grid;
  gap: 10px;
}

.field-stack label {
  font-weight: 700;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.found-bot-card {
  display: none;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.found-bot-avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: cover;
}

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

.table-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(100px, auto));
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.table-row.header {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

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

  .bot-showcase-inner,
  .bot-showcase-stats,
  .bot-profile-grid,
  .vote-page-content,
  .config-shell,
  .bot-hero-content,
  .list-hero,
  .dashboard-main-grid,
  .bot-detail-grid,
  .dual-section,
  .user-hero-card,
  .user-profile-grid {
    grid-template-columns: 1fr;
  }

  .catalog-search-form,
  .catalog-tag-list.inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .dashboard-client-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-guildbar,
  .dashboard-sidebar-shell {
    display: none;
  }

  .dashboard-top-wrap {
    padding: 12px 12px 0;
  }

  .layout-public .page,
  .layout-public .public-header,
  .layout-public .public-mobile-nav,
  .layout-public .site-footer {
    width: calc(100% - 24px);
  }

  .public-nav,
  .public-actions {
    display: none;
  }

  .home-hero,
  .list-hero,
  .surface-card,
  .dashboard-panel {
    padding: 24px;
  }

  .hero-search,
  .catalog-search-form,
  .dashboard-summary-grid,
  .dashboard-bot-board,
  .hero-stat-grid,
  .bot-showcase-stats,
  .user-hero-metrics,
  .user-overview-grid,
  .form-grid,
  .settings-grid,
  .overview-grid,
  .table-row,
  .profile-stats-card,
  .found-bot-card,
  .catalog-tag-list.inline {
    grid-template-columns: 1fr;
  }

  .bot-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .user-profile-stage {
    padding: 0 20px 20px;
    margin-top: -64px;
  }

  .user-hero-card {
    padding: 22px;
  }

  .user-bot-row-body {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .user-bot-row-body > i {
    display: none;
  }

  .section-heading,
  .footer-card,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .home-hero,
  .list-hero {
    padding: 30px 20px;
  }

  .promo-strip,
  .section-heading,
  .bot-card-cover-top,
  .bot-card-cover-bottom,
  .bot-card-topline,
  .bot-showcase-ident,
  .dashboard-bot-row,
  .dashboard-bot-row-stats,
  .dashboard-panel-head,
  .compact-bot-item,
  .profile-info-line,
  .vote-feed-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .layout-public .page,
  .layout-public .public-header,
  .layout-public .public-mobile-nav,
  .layout-public .site-footer {
    width: calc(100% - 20px);
  }

  .layout-dashboard .page {
    padding: 18px 12px 28px;
  }

  .public-header-wrap {
    padding-top: 10px;
  }

  .public-header {
    padding: 12px 14px;
  }

  .bot-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bot-card-cover {
    min-height: 184px;
  }

  .bot-card-body,
  .surface-card,
  .dashboard-panel {
    padding: 20px;
  }

  .bot-showcase-cover {
    height: 220px;
  }

  .vote-page-cover {
    height: 200px;
  }

  .bot-showcase-inner {
    padding: 0 20px 20px;
    margin-top: -52px;
    gap: 20px;
  }

  .vote-page-content {
    padding: 0 20px 20px;
    margin-top: -52px;
    gap: 18px;
  }

  .vote-page-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .vote-page-avatar {
    width: 92px;
    height: 92px;
    border-radius: 24px;
  }

  .bot-showcase-copy {
    padding: 18px 18px 20px;
  }

  .user-profile-grid {
    gap: 1px;
  }

  .user-profile-stage {
    padding: 0 18px 18px;
    margin-top: -52px;
    gap: 18px;
  }

  .user-hero-card,
  .user-main-panel,
  .user-side-card {
    padding: 20px;
  }

  .user-hero-ident,
  .user-bot-row-body {
    grid-template-columns: 1fr;
  }

  .profile-avatar.hero {
    margin: 0;
  }

  .user-hero-headline,
  .user-bot-row-top,
  .user-bot-row-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-bot-row-cover {
    height: 96px;
  }

  .user-bot-row-body {
    margin-top: -28px;
    gap: 14px;
    padding: 0 16px 18px;
  }

  .user-bot-row-body > img {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .config-panel {
    padding: 20px;
  }

  .config-preview-panel {
    position: static;
  }

  .promo-strip {
    padding: 18px;
  }

  .footer-inner {
    padding: 20px;
  }
}
