:root {
  --bg: #070708;
  --bg-elevated: #111114;
  --bg-card: rgba(18, 18, 22, 0.82);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --red: #e30a17;
  --red-soft: #ff2d3d;
  --red-glow: rgba(227, 10, 23, 0.35);
  --discord: #5865f2;
  --success: #57f287;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font: "Outfit", system-ui, sans-serif;
  --nav-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

code {
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.92em;
}

img {
  max-width: 100%;
  display: block;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--red {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: var(--red-glow);
}

.bg-glow--dark {
  width: 600px;
  height: 600px;
  bottom: -200px;
  left: -180px;
  background: rgba(88, 101, 242, 0.12);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.navbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-height);
  padding: 0 clamp(1rem, 4vw, 3rem);
  backdrop-filter: blur(16px);
  background: rgba(7, 7, 8, 0.72);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand__logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 24px var(--red-glow);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: color 0.2s;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--red), #b00812);
  color: white;
  box-shadow: 0 10px 30px var(--red-glow);
}

.btn--primary:hover {
  box-shadow: 0 14px 36px rgba(227, 10, 23, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn--lg {
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
}

.protect-content {
  -webkit-user-select: none;
  user-select: none;
}

.protect-content input,
.protect-content textarea,
.protect-content select {
  -webkit-user-select: text;
  user-select: text;
}

.forum-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 4rem;
}

.forum-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.forum-hero h1 {
  margin: 0.35rem 0 0.55rem;
  font-size: clamp(2rem, 4vw, 2.7rem);
  letter-spacing: -0.02em;
}

.forum-hero p {
  margin: 0;
  max-width: 560px;
  color: var(--text-muted);
}

.forum-userchip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.forum-userchip strong {
  display: block;
  font-size: 0.92rem;
}

.forum-userchip span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.forum-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.forum-avatar--fallback {
  display: inline-grid;
  place-items: center;
  background: rgba(227, 10, 23, 0.25);
  color: #fff;
  font-weight: 700;
}

.forum-gate__card,
.forum-empty {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  text-align: center;
}

.forum-gate__card h2 {
  margin: 0 0 0.6rem;
}

.forum-gate__card p {
  margin: 0 0 1.2rem;
  color: var(--text-muted);
}

.forum-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.forum-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.forum-cat {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.forum-cat--active,
.forum-cat:hover {
  border-color: rgba(227, 10, 23, 0.45);
  background: rgba(227, 10, 23, 0.12);
}

.forum-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.05fr);
  gap: 1rem;
  align-items: start;
}

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

.forum-list {
  display: grid;
  gap: 0.75rem;
}

.forum-card,
.forum-detail,
.forum-thread {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.forum-card {
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.forum-card:hover,
.forum-card--active {
  border-color: rgba(227, 10, 23, 0.4);
  background: rgba(227, 10, 23, 0.07);
  transform: translateY(-1px);
}

.forum-card__top,
.forum-card__meta,
.forum-card__stats,
.forum-card__author,
.forum-thread__author,
.forum-comment__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.forum-card__top,
.forum-card__meta {
  justify-content: space-between;
}

.forum-card h3 {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.05rem;
}

.forum-card p,
.forum-card__time,
.forum-empty--sm {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.forum-card__stats {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.forum-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
}

.forum-detail {
  min-height: 420px;
  padding: 1.1rem;
  position: sticky;
  top: calc(var(--nav-height, 72px) + 12px);
}

.forum-detail__empty {
  color: var(--text-muted);
  text-align: center;
  padding: 3rem 1rem;
}

.forum-thread__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.forum-thread__head h2 {
  margin: 0.7rem 0;
  font-size: 1.35rem;
}

.forum-delete-btn {
  border-color: rgba(227, 10, 23, 0.45) !important;
  color: #ff8a92 !important;
}

.forum-thread__author strong,
.forum-comment__head strong {
  display: block;
}

.forum-thread__author span,
.forum-comment__head span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.forum-thread__body {
  margin: 1rem 0;
  line-height: 1.7;
  white-space: normal;
}

.forum-votes {
  display: flex;
  gap: 0.45rem;
  margin: 0.85rem 0 1.25rem;
}

.forum-vote__btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.forum-vote__btn.is-on {
  border-color: rgba(83, 252, 24, 0.45);
  background: rgba(83, 252, 24, 0.12);
}

.forum-vote__btn.is-down {
  border-color: rgba(227, 10, 23, 0.45);
  background: rgba(227, 10, 23, 0.12);
}

.forum-comments h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.forum-comments__list {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.forum-comment {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.15);
}

.forum-comment p {
  margin: 0.55rem 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.forum-comment-form,
.forum-compose {
  display: grid;
  gap: 0.75rem;
}

.forum-comment-form textarea,
.forum-compose input,
.forum-compose textarea,
.forum-compose select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.forum-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.forum-modal[hidden] {
  display: none !important;
}

.forum-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.forum-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141418;
  padding: 1.25rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.forum-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.forum-modal__head h3 {
  margin: 0;
}

.forum-modal__close {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.forum-compose__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

.beta-banner {
  border-bottom: 1px solid rgba(227, 10, 23, 0.25);
  background: linear-gradient(90deg, rgba(227, 10, 23, 0.14), rgba(20, 20, 24, 0.9) 55%, rgba(227, 10, 23, 0.1));
}

.beta-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.beta-banner__pill {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: #e30a17;
}

.beta-banner__inner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.beta-banner__brand {
  display: inline;
  margin-left: 0.35rem;
  color: #ffb4b9;
  font-weight: 600;
  white-space: nowrap;
}

.pitch-section {
  padding-top: 0.5rem;
}

.pitch-card {
  position: relative;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(800px 280px at 10% 0%, rgba(227, 10, 23, 0.22), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  text-align: center;
}

.pitch-card__glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 60%;
  background: radial-gradient(circle, rgba(227, 10, 23, 0.18), transparent 65%);
  pointer-events: none;
}

.pitch-card .section__eyebrow {
  position: relative;
}

.pitch-card h2 {
  position: relative;
  margin: 0.55rem 0 0.85rem;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  letter-spacing: -0.02em;
}

.pitch-card > p {
  position: relative;
  max-width: 640px;
  margin: 0 auto 1.35rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.pitch-card__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem clamp(1rem, 4vw, 3rem) 3rem;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(227, 10, 23, 0.12);
  border: 1px solid rgba(227, 10, 23, 0.25);
  color: #ff8a92;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 20%, var(--red-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  max-width: 560px;
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.12rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-card {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.hero-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.status-pill {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(87, 242, 135, 0.12);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.2rem;
}

.chat-line {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.chat-line--win {
  border: 1px solid rgba(87, 242, 135, 0.18);
  background: rgba(87, 242, 135, 0.06);
}

.chat-line p {
  margin: 0;
  font-size: 0.92rem;
}

.chat-tag {
  flex-shrink: 0;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.chat-line--bot .chat-tag {
  background: rgba(88, 101, 242, 0.18);
  color: #aeb4ff;
}

.chat-line--user .chat-tag {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.economy-board {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.economy-board__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(254, 231, 92, 0.06);
}

.economy-board__head h2 {
  margin: 0;
  font-size: 1rem;
}

.economy-board__sub {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.economy-board__list {
  display: flex;
  flex-direction: column;
}

.economy-board__empty {
  padding: 1.25rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.economy-rank {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.economy-rank:last-child {
  border-bottom: 0;
}

.economy-rank__place {
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

.economy-rank__name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.economy-rank__coins {
  color: #fee75c;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}

.economy-rank--top1 {
  background: rgba(254, 231, 92, 0.08);
}

.economy-rank--top2 {
  background: rgba(192, 192, 192, 0.06);
}

.economy-rank--top3 {
  background: rgba(205, 127, 50, 0.08);
}

.page-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem clamp(1rem, 4vw, 3rem) 1rem;
  text-align: center;
}

.page-hero h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.settings-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.75rem;
}

.settings-inline input {
  min-width: 80px;
  max-width: 120px;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
}

.stats {
  max-width: 1200px;
  margin: 0 auto 1rem;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
}

.stat-card__value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--red-soft);
}

.stat-card__label {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem clamp(1rem, 4vw, 3rem);
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015), transparent);
}

.section__head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--red-soft);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section__head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
}

.section__head p {
  margin: 0;
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 10, 23, 0.28);
}

.feature-card__icon {
  font-size: 1.8rem;
  margin-bottom: 0.85rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.command-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.command-tab {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.command-tab.active {
  color: white;
  border-color: transparent;
  background: var(--tab-color, var(--red));
}

.command-panel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  min-height: 180px;
}

.command-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.command-card h4 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #aeb8ff;
  word-break: break-word;
}

.command-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.command-chip {
  display: inline-block;
  margin: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.92rem;
}

.dashboard-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(227, 10, 23, 0.18);
  background: linear-gradient(135deg, rgba(227, 10, 23, 0.08), rgba(88, 101, 242, 0.06));
}

.dashboard-teaser__list {
  margin: 1.25rem 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.dashboard-teaser__list li {
  margin-bottom: 0.45rem;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows: auto 1fr;
  gap: 0;
  min-height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0d0d10;
}

.dashboard-preview__bar {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.dashboard-preview__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-preview__sidebar {
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--border);
}

.dash-item {
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.35rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.dash-item--active {
  background: rgba(227, 10, 23, 0.15);
  color: #ff9aa1;
}

.dashboard-preview__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 1rem;
}

.dash-card {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  min-height: 80px;
}

.dash-card:first-child {
  grid-column: 1 / -1;
  min-height: 100px;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  padding: 0.2rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 0;
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.cta {
  padding: 0 clamp(1rem, 4vw, 3rem) 5rem;
}

.cta__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border);
  background: radial-gradient(circle at top, rgba(227, 10, 23, 0.12), transparent 55%), var(--bg-card);
}

.cta__logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  box-shadow: 0 0 40px var(--red-glow);
}

.cta__inner h2 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.cta__inner p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem clamp(1rem, 4vw, 3rem);
  background: rgba(0, 0, 0, 0.35);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.footer__brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer__links a {
  color: var(--text-muted);
}

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

.footer__copy {
  width: 100%;
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.backup-history-card {
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.backup-history-card:hover,
.backup-history-card--active {
  border-color: rgba(227, 10, 23, 0.45);
  background: rgba(227, 10, 23, 0.06);
}

.backup-history-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.backup-preview {
  display: grid;
  gap: 1rem;
}

.backup-preview__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.backup-preview__grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 1rem;
}

@media (max-width: 820px) {
  .backup-preview__grid {
    grid-template-columns: 1fr;
  }
}

.backup-preview__col {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  padding: 0.85rem 1rem;
  max-height: 420px;
  overflow: auto;
}

.backup-preview__col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.backup-preview__roles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.backup-preview__role {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.backup-preview__role-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.backup-preview__tree {
  display: grid;
  gap: 0.65rem;
}

.backup-preview__category {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.02);
}

.backup-preview__category > strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.backup-preview__channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.backup-preview__channels li {
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.backup-preview__channels li span {
  color: var(--text);
}

.backup-preview__tag {
  font-size: 0.72rem;
  opacity: 0.75;
}

.legal-meta {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.legal-doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) 3rem;
}

.legal-doc h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc p,
.legal-doc li {
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-doc ul {
  margin: 0.4rem 0 0;
  padding-left: 1.25rem;
}

.legal-doc a {
  color: var(--accent, #e85d4c);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-dashboard .dashboard-coming {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-height) - 2rem);
  padding: 2rem clamp(1rem, 4vw, 3rem);
}

.dashboard-coming__card {
  width: min(640px, 100%);
  padding: 2.5rem;
  text-align: center;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.dashboard-coming__logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  box-shadow: 0 0 40px var(--red-glow);
}

.dashboard-coming__card h1 {
  margin: 0.75rem 0 0.75rem;
  font-size: 2rem;
}

.dashboard-coming__card > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.roadmap {
  text-align: left;
  margin-bottom: 2rem;
}

.roadmap__item {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.roadmap__item:last-child {
  border-bottom: 0;
}

.roadmap__dot {
  width: 12px;
  height: 12px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.roadmap__item--done .roadmap__dot {
  background: var(--success);
}

.roadmap__item--active .roadmap__dot {
  background: var(--red-soft);
  box-shadow: 0 0 12px var(--red-glow);
}

.roadmap__item strong {
  display: block;
  margin-bottom: 0.15rem;
}

.roadmap__item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.dashboard-coming__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.dashboard-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 3rem) 3rem;
  min-height: calc(100vh - var(--nav-height));
}

.dashboard-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-height) - 4rem);
}

.dashboard-login__card {
  width: min(480px, 100%);
  padding: 2.5rem;
  text-align: center;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.dashboard-login__card h1 {
  margin: 0.75rem 0;
  font-size: 2rem;
}

.dashboard-login__card > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.dashboard-login__hint {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.btn--discord {
  background: #5865f2;
  color: white;
  width: 100%;
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.25);
}

.btn--discord:hover {
  box-shadow: 0 14px 36px rgba(88, 101, 242, 0.35);
}

.btn--disabled {
  opacity: 0.55;
  pointer-events: none;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  text-align: left;
  font-size: 0.92rem;
}

.alert--error {
  background: rgba(237, 66, 69, 0.12);
  border: 1px solid rgba(237, 66, 69, 0.25);
  color: #ff9da0;
}

.alert--warning {
  background: rgba(254, 231, 92, 0.08);
  border: 1px solid rgba(254, 231, 92, 0.2);
  color: #ffe58a;
}

.dashboard-app {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  min-height: calc(100vh - var(--nav-height) - 4rem);
  position: relative;
}

.dashboard-sidebar-wrap {
  position: relative;
  width: 260px;
  flex-shrink: 0;
  transition: width 0.25s ease, opacity 0.25s ease;
}

.dashboard-app--sidebar-collapsed .dashboard-sidebar-wrap {
  width: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.dashboard-sidebar-toggle {
  position: absolute;
  top: 1.25rem;
  left: 246px;
  z-index: 20;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  opacity: 1;
  visibility: visible;
  transition: left 0.25s ease;
}

.dashboard-app--sidebar-collapsed .dashboard-sidebar-toggle {
  left: 0;
}

.dashboard-sidebar-wrap .dashboard-sidebar {
  width: 260px;
  min-height: 100%;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.dashboard-user__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.dashboard-user__sub {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.dashboard-menu {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.dashboard-menu__item {
  padding: 0.7rem 0.85rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.dashboard-menu__item--active {
  background: rgba(227, 10, 23, 0.12);
  color: #ff9aa1;
}

.dashboard-menu__item--sub {
  padding-left: 1rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.dashboard-menu__item--stream {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-left: 0.85rem;
  font-size: 0.9rem;
}

.dashboard-menu__item--youtube { color: #ff4444; }
.dashboard-menu__item--youtube.dashboard-menu__item--active { background: rgba(255, 68, 68, 0.12); color: #ff7a7a; }
.dashboard-menu__item--twitch { color: #bf94ff; }
.dashboard-menu__item--twitch.dashboard-menu__item--active { background: rgba(145, 70, 255, 0.12); color: #d4b5ff; }
.dashboard-menu__item--kick { color: #53fc18; }
.dashboard-menu__item--kick.dashboard-menu__item--active { background: rgba(83, 252, 24, 0.1); color: #8dff5c; }

.stream-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}

.dashboard-menu__item--youtube .stream-nav-icon { background: #ff0000; color: #fff; }
.dashboard-menu__item--twitch .stream-nav-icon { background: #9146ff; color: #fff; }
.dashboard-menu__item--kick .stream-nav-icon { background: #53fc18; color: #111; }

.stream-panel--youtube .settings-panel__head h2 { color: #ff5555; }
.stream-panel--twitch .settings-panel__head h2 { color: #bf94ff; }
.stream-platform-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.stream-platform-badge--youtube { background: #ff0000; color: #fff; }
.stream-platform-badge--twitch { background: #9146ff; color: #fff; }
.stream-platform-badge--kick { background: #53fc18; color: #111; }

.field > span:first-child {
  font-weight: 600;
}

.field[data-field-type="channel"] > span:first-child { color: #7ea3ff; }
.field[data-field-type="role"] > span:first-child { color: #7dffaa; }
.field[data-field-type="prize"] > span:first-child { color: #ffd166; }
.field[data-field-type="text"] > span:first-child { color: #ff9aa1; }
.field[data-field-type="number"] > span:first-child { color: #fee75c; }
.field[data-field-type="color"] > span:first-child { color: #c792ea; }

.field > span:first-child::after {
  content: " —";
  opacity: 0.55;
  font-weight: 500;
}

.field-label-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.field-status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #ff6b6b;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255, 107, 107, 0.45);
}

.field--valid .field-status-dot {
  background: #57f287;
  box-shadow: 0 0 8px rgba(87, 242, 135, 0.45);
}

.field--invalid .field-select,
.field--invalid .field-input,
.field--invalid .field-textarea {
  border-color: rgba(255, 107, 107, 0.45);
}

.field--valid .field-select,
.field--valid .field-input,
.field--valid .field-textarea {
  border-color: rgba(87, 242, 135, 0.35);
}

.discord-embed__button {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  background: #5865f2;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.discord-embed__button--success {
  background: #248046;
}

.ticket-section {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.12);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ticket-section[open] {
  border-color: rgba(88, 101, 242, 0.35);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 0 1px rgba(88, 101, 242, 0.08);
}

.ticket-section > summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 0.75rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.65rem;
  margin-left: -0.35rem;
  margin-right: -0.35rem;
  border-radius: 8px;
  user-select: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.ticket-section > summary::before {
  content: "▸";
  display: inline-block;
  font-size: 0.85rem;
  line-height: 1;
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ticket-section > summary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.ticket-section[open] > summary {
  margin-bottom: 1rem;
  background: rgba(88, 101, 242, 0.14);
  color: #fff;
}

.ticket-section[open] > summary::before {
  transform: rotate(90deg);
  opacity: 1;
}

.ticket-section > summary::-webkit-details-marker {
  display: none;
}

.ticket-quick-actions {
  margin-bottom: 0.75rem;
}

.ticket-inline-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.75rem 0;
}

.ticket-role-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.45rem;
  max-height: 240px;
  overflow: auto;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.15);
}

.ticket-role-picker__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  cursor: pointer;
}

.ticket-role-picker__item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.ticket-role-picker__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ticket-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.ticket-view-tab {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.88rem;
  cursor: pointer;
}

.ticket-view-tab--active {
  border-color: var(--accent);
  background: rgba(227, 10, 23, 0.12);
}

.ticket-option-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0;
}

.ticket-option-tab {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 0.55rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.field--highlight {
  outline: 2px solid rgba(237, 66, 69, 0.55);
  outline-offset: 4px;
  border-radius: 0.65rem;
}

.sec-log-preview {
  margin: 0.65rem 0 0.85rem;
}

.sec-log-preview .discord-embed__field {
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.sec-log-preview .discord-embed__field strong {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.emoji-role-preview__legend {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.35rem;
}

.emoji-role-preview__legend-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.emoji-role-preview__reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.emoji-role-preview__reaction {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.45rem;
  border-radius: 0.45rem;
  background: rgba(79, 84, 92, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.emoji-role-preview__reaction small {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.emoji-role-preview__reaction--empty {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.settings-form__grid {
  display: grid;
  gap: 0.85rem;
}

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

@media (max-width: 720px) {
  .settings-form__grid--2 {
    grid-template-columns: 1fr;
  }
}

.poll-preview-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.poll-preview-option {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.poll-preview-option__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.poll-preview-option__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5865f2, #7289da);
  width: 0%;
}

.poll-preview-select {
  margin-top: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1e1f22;
  color: #dbdee1;
  font-size: 0.85rem;
  max-width: 320px;
}

.stream-entry-list,
.stream-trigger-list,
.stream-timed-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stream-builder__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.stream-builder__head span {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.stream-embed-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.games-subnav {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1rem;
  flex-wrap: wrap;
}

.games-subnav__btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}

.games-subnav__btn--active {
  color: #fff;
  border-color: var(--accent, #5865f2);
  background: rgba(88, 101, 242, 0.15);
}

.stream-embed-preview {
  margin-top: 0.35rem;
}

.stream-embed-preview__empty {
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 0.75rem;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.stream-embed-preview__card .discord-embed__desc {
  color: #dbdee1;
  line-height: 1.45;
  font-size: 0.88rem;
}

.stream-embed-preview__card .discord-embed__desc a {
  color: #00a8fc;
  text-decoration: none;
}

.stream-embed-preview__card .discord-embed__desc a:hover {
  text-decoration: underline;
}

.discord-embed__title-link {
  color: #00a8fc;
  text-decoration: none;
}

.discord-embed__title-link:hover {
  text-decoration: underline;
}

.discord-embed__title-link strong {
  color: inherit;
}

.discord-embed__footer {
  margin-top: 0.55rem;
  color: #949ba4;
  font-size: 0.75rem;
}

.stream-feature-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.stream-feature-list li + li {
  margin-top: 0.35rem;
}

.stream-entry-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.stream-channel-preview,
.stream-yt-preview {
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}

.stream-channel-preview__empty,
.stream-channel-preview__loading,
.stream-yt-preview__empty,
.stream-yt-preview__loading {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.stream-channel-preview__error,
.stream-yt-preview__error {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: #fca5a5;
  font-size: 0.88rem;
}

.stream-channel-preview__error strong,
.stream-yt-preview__error strong {
  color: #f87171;
}

.stream-channel-preview__card,
.stream-yt-preview__card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.stream-channel-preview__card--ok,
.stream-yt-preview__card--ok {
  border-left: 3px solid #57f287;
  padding-left: 0.65rem;
}

.stream-channel-preview__card--warn,
.stream-yt-preview__card--warn {
  border-left: 3px solid #fbbf24;
  padding-left: 0.65rem;
}

.stream-channel-preview__avatar,
.stream-yt-preview__avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.stream-channel-preview__head,
.stream-yt-preview__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.stream-channel-preview__head strong,
.stream-yt-preview__head strong {
  font-size: 1rem;
}

.stream-channel-preview__badge,
.stream-yt-preview__badge {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(87, 242, 135, 0.15);
  color: #86efac;
}

.stream-channel-preview__card--warn .stream-channel-preview__badge,
.stream-yt-preview__card--warn .stream-yt-preview__badge {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
}

.stream-channel-preview__meta,
.stream-yt-preview__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.stream-channel-preview__desc,
.stream-yt-preview__desc {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.stream-channel-preview__link,
.stream-yt-preview__link {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.84rem;
  color: #c7d2fe;
  text-decoration: none;
}

.stream-channel-preview__link:hover,
.stream-yt-preview__link:hover {
  text-decoration: underline;
}

.stream-yt-preview {
  background: rgba(255, 0, 0, 0.04);
}

.stream-channel-preview[data-state="ok"] {
  background: rgba(255, 255, 255, 0.02);
}

.field-hint {
  color: var(--text-muted);
  font-style: normal;
  font-weight: 400;
  font-size: 0.82rem;
}

.settings-info--inline {
  margin-top: 0.65rem;
}

.dashboard-menu__item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.dashboard-logout {
  width: 100%;
}

.dashboard-main {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.dashboard-main__head h1 {
  margin: 0 0 0.35rem;
  font-size: 1.8rem;
}

.dashboard-main__head p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.guild-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.guild-grid__loading,
.guild-grid__empty {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
}

.guild-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.guild-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.guild-card__icon--fallback {
  display: grid;
  place-items: center;
  background: rgba(227, 10, 23, 0.18);
  color: #ff9aa1;
  font-weight: 800;
  font-size: 1.2rem;
}

.guild-card__body strong {
  display: block;
}

.guild-card__body span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.guild-card__btn {
  width: 100%;
}

.settings-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.settings-panel__head h2 {
  margin: 0 0 0.35rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.settings-panel__head p {
  margin: 0;
  color: var(--text-muted);
}

.dashboard-main__head--split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn--sm {
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge--ok {
  background: rgba(87, 242, 135, 0.12);
  color: var(--success);
  border: 1px solid rgba(87, 242, 135, 0.25);
}

.status-badge--warn {
  background: rgba(254, 231, 92, 0.08);
  color: #ffe58a;
  border: 1px solid rgba(254, 231, 92, 0.2);
}

.alert--success {
  background: rgba(87, 242, 135, 0.12);
  border: 1px solid rgba(87, 242, 135, 0.25);
  color: #9dffb8;
}

.dashboard-toast-stack {
  position: fixed;
  top: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: min(92vw, 420px);
}

.dashboard-toast {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  background: rgba(22, 48, 32, 0.96);
  border: 1px solid rgba(87, 242, 135, 0.35);
  color: #9dffb8;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.dashboard-toast--visible {
  opacity: 1;
  transform: translateY(0);
}

.dashboard-toast--error {
  background: rgba(48, 22, 22, 0.96);
  border-color: rgba(255, 100, 100, 0.35);
  color: #ffb4b4;
}

.settings-summary {
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.settings-summary__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.settings-summary__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.settings-summary__item--wide {
  grid-column: 1 / -1;
}

.settings-summary__item strong {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.settings-summary__item span {
  font-size: 0.95rem;
}

.settings-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field span {
  font-weight: 600;
}

.field select,
.field textarea,
.field input[type="text"],
.field input[type="number"],
.field-input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: inherit;
}

.field-select,
.field-select option {
  color: #111111;
  background: #ffffff;
}

.field-select {
  color: #f4f4f5;
  background: #1a1a20;
}

.field-select option:checked,
.field-select option:hover {
  color: #111111;
  background: #e8e8e8;
}

.field-select--multi option {
  color: #111111;
  background: #ffffff;
}

.field-select--short {
  max-width: 180px;
}

.field--toggle {
  align-items: center;
}

.field--toggle > span:first-child {
  flex: 1;
}

.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 54px;
  height: 30px;
  flex-shrink: 0;
}

.toggle--compact {
  width: 48px;
  height: 26px;
}

.toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle__track {
  position: absolute;
  inset: 0;
  background: #c62828;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.22s ease;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.toggle__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.22s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.toggle--compact .toggle__track::after {
  width: 18px;
  height: 18px;
}

.toggle__input:checked + .toggle__track {
  background: #2ea44f;
}

.toggle__input:checked + .toggle__track::after {
  transform: translateX(24px);
}

.toggle--compact .toggle__input:checked + .toggle__track::after {
  transform: translateX(20px);
}

.toggle-help {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.settings-alert-critical {
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 70, 70, 0.5);
  border-radius: 10px;
  background: rgba(120, 10, 10, 0.28);
  color: #ffb4b4;
  line-height: 1.55;
}

.settings-alert-critical strong {
  color: #ff4d4d;
  font-weight: 800;
}

.field--row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.field--inline-select.field--row > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.field--row > .field-select,
.field--inline-select.field--row > .field-select {
  width: auto;
  flex: 0 1 240px;
  max-width: min(100%, 280px);
  min-width: 8.5rem;
}

.field-select--compact {
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
}

.field--row > .field-select-row {
  flex: 1 1 auto;
  max-width: min(100%, 100%);
  min-width: 0;
}

.settings-form__actions--split {
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.settings-info,
.settings-pre {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.88rem;
  white-space: pre-wrap;
}

.welcome-guide {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.welcome-guide__section {
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.welcome-guide__section h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.welcome-guide__intro {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.welcome-vars {
  display: grid;
  gap: 0.55rem;
}

.welcome-var {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.86rem;
}

.welcome-var code {
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4d03f;
  font-family: Consolas, Monaco, monospace;
}

.welcome-var span {
  color: var(--text-muted);
}

.welcome-var em {
  color: #8fd3ff;
  font-style: normal;
  font-size: 0.82rem;
}

.welcome-example {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.welcome-example__input,
.welcome-example__output {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.welcome-example__input span,
.welcome-example__output span {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.welcome-example pre {
  margin: 0;
  padding: 0.75rem;
  border-radius: 8px;
  background: #111318;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dcddde;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.welcome-example__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.discord-mention {
  color: #dee0fc;
  background: rgba(88, 101, 242, 0.35);
  padding: 0 2px;
  border-radius: 3px;
  font-weight: 500;
}

.welcome-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.discord-preview {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.discord-preview__label {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.discord-mock {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 10px;
  background: #313338;
  border: 1px solid #1e1f22;
  min-height: 120px;
}

.discord-mock--dm {
  background: #2b2d31;
}

.discord-mock__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5865f2, #7289da);
  flex-shrink: 0;
}

.discord-mock__body {
  flex: 1;
  min-width: 0;
}

.discord-mock__header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.discord-mock__bot {
  color: #f2f3f5;
  font-weight: 600;
  font-size: 0.92rem;
}

.discord-mock__badge {
  padding: 0.05rem 0.35rem;
  border-radius: 3px;
  background: #5865f2;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
}

.discord-mock__time {
  color: #949ba4;
  font-size: 0.72rem;
}

.discord-embed {
  border-left: 4px solid #5865f2;
  background: #2b2d31;
  border-radius: 0 4px 4px 0;
  padding: 0.65rem 0.85rem;
}

.discord-embed strong {
  display: block;
  color: #f2f3f5;
  margin-bottom: 0.35rem;
}

.discord-embed p {
  margin: 0;
  color: #dbdee1;
  line-height: 1.45;
  font-size: 0.88rem;
}

.discord-embed__image {
  margin: 0.65rem -0.85rem -0.65rem;
  overflow: hidden;
}

.discord-embed__image.welcome-dm-live-preview {
  margin-bottom: -0.65rem;
  border: none;
  border-radius: 0;
  background: transparent;
}

.discord-embed__image img {
  display: block;
  width: 100%;
  height: auto;
}

.discord-attachment-preview {
  margin-bottom: 0.5rem;
}

.discord-mock__text {
  margin: 0;
  color: #dbdee1;
  line-height: 1.45;
  font-size: 0.88rem;
}

.settings-subpanel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.settings-subpanel h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.settings-subpanel__intro {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.welcome-color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.welcome-dm-bg-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.welcome-bg-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.settings-subpanel--compact {
  margin-top: 0;
}

.settings-subpanel--compact h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .welcome-bg-split {
    grid-template-columns: 1fr;
  }
}

.custom-cmd-builder {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.custom-cmd-builder__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.custom-cmd-list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.custom-cmd-card {
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.15);
}

.custom-cmd-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.custom-cmd-card__head code {
  color: var(--accent);
}

.custom-cmd-examples {
  display: grid;
  gap: 0.75rem;
}

.custom-cmd-example {
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.custom-cmd-example strong {
  display: block;
  margin-bottom: 0.35rem;
}

.custom-cmd-example pre {
  margin: 0.5rem 0;
  padding: 0.65rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  overflow-x: auto;
  font-size: 0.82rem;
}

.custom-cmd-example small {
  color: var(--text-muted);
}

.webhook-avatar-block {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.webhook-avatar-block__preview {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.webhook-avatar-block__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.webhook-avatar-block__preview span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.5rem;
}

.discord-mock__avatar--img {
  border-radius: 50%;
  object-fit: cover;
}

.settings-form__actions--split {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .webhook-avatar-block {
    grid-template-columns: 1fr;
  }
}

.welcome-dm-live-preview {
  position: relative;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111318;
}

.welcome-dm-live-preview--editor {
  margin-top: 0.25rem;
}

.welcome-dm-live-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.welcome-dm-live-preview__loading {
  position: absolute;
  inset: auto 0.75rem 0.75rem auto;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.78rem;
}

.welcome-dm-canvas-preview {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  min-height: 140px;
  margin-bottom: 0.65rem;
  background: linear-gradient(135deg, #1f2937, #111827);
}

.welcome-dm-canvas-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-dm-canvas-preview__overlay {
  position: relative;
  z-index: 1;
  margin: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.welcome-dm-canvas-preview__overlay strong {
  font-size: 1rem;
}

.welcome-dm-canvas-preview__overlay span {
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  .welcome-color-grid,
  .welcome-preview-grid {
    grid-template-columns: 1fr;
  }
}

.log-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.log-card {
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.log-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.log-card__cmd {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.log-card__desc {
  margin: 0 0 0.55rem;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.45;
}

.log-card__desc--muted {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.log-card__help {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.log-card__help code {
  color: #f4d03f;
}

.log-card__help strong {
  color: var(--text);
}

.log-card .btn:not(.field-options-refresh) {
  width: 100%;
  margin-top: 0.5rem;
}

.level-rewards {
  display: grid;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
}

.level-rewards__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.level-reward-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 0.75rem;
  align-items: end;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.register-role-maps {
  display: grid;
  gap: 1rem;
  margin: 0.5rem 0 1rem;
}

.register-role-map {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.register-role-map__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.register-role-map__grid {
  display: grid;
  gap: 0.65rem;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.register-role-map__grid--zodiac {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  max-height: none;
}

.register-role-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.15);
}

.register-role-row__select {
  width: 100%;
  min-width: 0;
}

.dashboard-head-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.site-health {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid var(--border);
}

.site-health--ok {
  color: #8dffbc;
  border-color: rgba(76, 175, 125, 0.35);
  background: rgba(76, 175, 125, 0.12);
}

.site-health--warn {
  color: #ffdca8;
  border-color: rgba(255, 180, 80, 0.35);
  background: rgba(255, 180, 80, 0.12);
}

.site-health--neutral {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.register-role-row__label {
  font-weight: 600;
  color: var(--text);
}

.register-role-row__select {
  min-width: 0;
}

.register-role-row--legacy {
  border-style: dashed;
}

.register-questions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.register-questions__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.register-questions__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.register-questions__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.register-question-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.register-question-card__head,
.register-option-row__head,
.register-option-role-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.register-option-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.register-option-list__empty {
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--muted, rgba(255, 255, 255, 0.62));
  font-size: 0.92rem;
}

.register-option-row {
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}

.register-option-roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.register-role-picker {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.register-role-picker__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.register-role-picker__select {
  flex: 1;
}

.register-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.register-guide__step {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.register-guide__step strong {
  display: block;
  margin-bottom: 0.35rem;
}

.register-guide__step p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.register-guide__step--blue {
  border-color: rgba(143, 211, 255, 0.35);
  background: rgba(143, 211, 255, 0.06);
}

.register-guide__step--blue strong { color: #8fd3ff; }

.register-guide__step--green {
  border-color: rgba(125, 255, 170, 0.35);
  background: rgba(125, 255, 170, 0.06);
}

.register-guide__step--green strong { color: #7dffaa; }

.register-guide__step--yellow {
  border-color: rgba(255, 209, 102, 0.35);
  background: rgba(255, 209, 102, 0.06);
}

.register-guide__step--yellow strong { color: #ffd166; }

.register-hint {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.register-hint strong,
.register-hint em {
  font-weight: 700;
}

.register-hint--blue { color: #8fd3ff; }
.register-hint--green { color: #7dffaa; }
.register-hint--yellow { color: #ffd166; }
.register-hint--purple { color: #c792ea; }

.register-field-help {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

.register-field-help--blue { color: #8fd3ff; }
.register-field-help--green { color: #7dffaa; }
.register-field-help--yellow { color: #ffd166; }
.register-field-help--purple { color: #c792ea; }
.register-field-help--muted { color: var(--text-muted); }

.register-preview {
  margin: 0.85rem 0 1.25rem;
}

.register-preview__hint {
  margin-bottom: 0.65rem;
}

.register-preview__embed {
  margin-top: 0.35rem;
}

.register-preview .discord-embed__desc {
  color: #dbdee1;
  font-size: 0.88rem;
  line-height: 1.45;
}

.register-preview .discord-embed__desc p {
  margin: 0 0 0.5rem;
}

.register-preview__empty-note {
  margin-top: 0.65rem;
  color: #949ba4;
  font-size: 0.84rem;
}

.register-preview-selects {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.register-preview-select {
  max-width: 420px;
}

.register-preview-select__label {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1e1f22;
  color: #949ba4;
  font-size: 0.85rem;
}

.register-preview-select__menu {
  display: none;
  margin-top: 0.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #2b2d31;
  overflow: hidden;
}

.register-preview-select:hover .register-preview-select__menu,
.register-preview-select:focus-within .register-preview-select__menu {
  display: block;
}

.register-preview-select__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  color: #dbdee1;
  font-size: 0.84rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.register-preview-select__option:first-child {
  border-top: none;
}

.register-preview-select__hint {
  color: #949ba4;
  font-size: 0.75rem;
  white-space: nowrap;
}

.register-question-options-intro {
  margin: 0.25rem 0 0.85rem;
}

.register-question-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.register-question-append-nick-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(125, 255, 170, 0.25);
  background: rgba(125, 255, 170, 0.06);
  color: #7dffaa;
  font-size: 0.82rem;
  cursor: pointer;
}

.register-question-append-nick-toggle input {
  accent-color: #7dffaa;
}

.register-question-nick-preview {
  display: block;
  margin-top: 0.35rem;
}

.register-enabled-toggle {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.register-preview-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.register-modal-preview {
  position: relative;
  min-height: 220px;
}

.register-modal-preview__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 10px;
}

.register-modal-preview__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  margin: 1.25rem auto;
  padding: 1rem;
  border-radius: 12px;
  background: #313338;
  border: 1px solid #1e1f22;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.register-modal-preview__title {
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #f2f3f5;
}

.register-modal-preview__fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.register-modal-preview__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.register-modal-preview__field > span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #b5bac1;
  text-transform: uppercase;
}

.register-modal-preview__input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1e1f22;
  color: #dbdee1;
}

.register-modal-preview__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 1rem;
}

.register-modal-preview__btn {
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.register-modal-preview__btn--ghost {
  background: transparent;
  color: #dbdee1;
}

.register-modal-preview__btn--primary {
  background: #5865f2;
  color: #fff;
}

.emoji-role-builder {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.emoji-role-builder__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.emoji-role-builder__label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.emoji-role-builder__label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.emoji-role-builder__label-row .emoji-role-builder__label {
  margin-bottom: 0;
}

.emoji-role-builder__count {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.emoji-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.emoji-picker--scroll {
  max-height: 220px;
  overflow-y: auto;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.15);
}

.emoji-picker__btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 1.25rem;
  cursor: pointer;
}

.emoji-picker__btn--custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.emoji-picker__img {
  width: 24px;
  height: 24px;
}

.emoji-role-assign {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 0.75rem;
  align-items: end;
}

.emoji-role-assign__selected {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  border-radius: 8px;
  font-size: 1.4rem;
}

.emoji-role-list {
  display: grid;
  gap: 0.5rem;
}

.emoji-role-list__item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.emoji-role-list__emoji {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.field small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.settings-form__section-title {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
}

.settings-form__actions {
  display: flex;
  justify-content: flex-end;
}

.toggle-help--inline {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.emoji-role-save-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.emoji-role-save-hint {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.45;
}

.emoji-role-save-hint--off {
  background: rgba(254, 231, 92, 0.08);
  border: 1px solid rgba(254, 231, 92, 0.2);
  color: #ffe58a;
}

.emoji-role-save-hint--on {
  background: rgba(87, 242, 135, 0.08);
  border: 1px solid rgba(87, 242, 135, 0.2);
  color: #9dffbb;
}

.emoji-role-save-actions .btn {
  align-self: flex-end;
}

.emoji-role-toggle-bottom {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.bot-perm-checks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
}

.bot-perm-check {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.bot-perm-check strong {
  display: block;
  margin-bottom: 0.15rem;
}

.bot-perm-check small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.bot-perm-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bot-perm-steps li + li {
  margin-top: 0.35rem;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.overview-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.overview-card--wide {
  grid-column: 1 / -1;
}

.overview-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.live-feed {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.live-feed__item {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

.live-feed__item-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.live-feed__item-head time {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.live-feed__badge {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.live-feed__badge--moderation { background: rgba(237, 66, 69, 0.18); color: #ed4245; }
.live-feed__badge--member { background: rgba(87, 242, 135, 0.16); color: #57f287; }
.live-feed__badge--voice { background: rgba(88, 101, 242, 0.18); color: #5865f2; }
.live-feed__badge--default { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }

.live-feed__item-meta {
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.live-feed__empty {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.stats-table-host {
  width: 100%;
}

.stats-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.stats-table th,
.stats-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.stats-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stats-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.stats-table tbody tr:last-child td {
  border-bottom: none;
}

.stats-table__num {
  display: inline-block;
  min-width: 1.5rem;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(88, 101, 242, 0.15);
  color: #aeb8ff;
  font-weight: 700;
  text-align: center;
}

.stats-table__zero {
  color: rgba(255, 255, 255, 0.2);
}

.stats-table td:nth-child(3) .stats-table__num {
  background: rgba(241, 196, 15, 0.15);
  color: #f1c40f;
}

.guild-card__meta {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

@media (max-width: 960px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .hero,
  .dashboard-teaser__inner,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__visual {
    order: -1;
  }

  .dashboard-app {
    grid-template-columns: 1fr;
  }

  .settings-summary__grid {
    grid-template-columns: 1fr;
  }

  .welcome-example,
  .welcome-preview-grid {
    grid-template-columns: 1fr;
  }

  .welcome-example__arrow {
    transform: rotate(90deg);
  }

  .level-reward-row,
  .register-role-row,
  .emoji-role-assign {
    grid-template-columns: 1fr;
  }

  .welcome-var {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .dashboard-main__head--split {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(7, 7, 8, 0.96);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions .btn--ghost {
    display: none;
  }
}

/* Analytics dashboard */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.analytics-summary {
  margin-top: 1rem;
}

.analytics-chart-host {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 180px;
}

.analytics-chart-host--compact {
  min-height: 120px;
  margin-bottom: 1rem;
}

.analytics-bar {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.analytics-bar--dual {
  grid-template-columns: 4.5rem 1fr auto;
}

.analytics-bar__label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.analytics-bar__track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.analytics-bar__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5865f2, #7289da);
}

.analytics-bar__dual {
  display: grid;
  gap: 0.25rem;
}

.analytics-bar__fill--join {
  background: linear-gradient(90deg, #57f287, #3ba55d);
}

.analytics-bar__fill--leave {
  background: linear-gradient(90deg, #ed4245, #c03537);
}

.analytics-bar__value {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.analytics-rank {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.analytics-rank:last-child {
  border-bottom: 0;
}

.analytics-rank__pos {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(88, 101, 242, 0.15);
  color: #c7d2fe;
  font-weight: 700;
  font-size: 0.85rem;
}

.analytics-rank__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.analytics-rank__body strong {
  font-size: 0.92rem;
}

.analytics-rank__body span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.security-grid .field small {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.security-jail-row {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.security-jail-row .field--inline-select.field--row {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  max-width: 22rem;
  margin: 0;
}

.security-jail-row .field--inline-select.field--row > span:first-child {
  flex: 0 0 auto;
  white-space: nowrap;
}

.security-jail-row .field--inline-select.field--row > .field-select {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 14rem;
}

/* Homepage showcases */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.showcase-card {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.showcase-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.showcase-card__head h3 {
  margin: 0;
}

.showcase-card__tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.15);
  color: #c7d2fe;
}

.showcase-mmorpg {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
}

.showcase-mmorpg__avatar {
  width: 120px;
  height: 120px;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.25), transparent 35%),
    linear-gradient(145deg, #312e81, #581c87 55%, #111827);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.showcase-mmorpg__avatar::after {
  content: "⚔️";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
}

.showcase-mmorpg__stats {
  display: grid;
  gap: 0.45rem;
}

.showcase-stat {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
}

.showcase-stat strong {
  color: #fbbf24;
}

.showcase-register {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.showcase-register__step {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.showcase-register__step span {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(88, 101, 242, 0.2);
  color: #8fd3ff;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.showcase-register__step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .analytics-grid,
  .security-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

.premium-upsell-host {
  margin-bottom: 1rem;
}

.premium-upsell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(241, 196, 15, 0.35);
  background: linear-gradient(135deg, rgba(241, 196, 15, 0.12), rgba(255, 255, 255, 0.03));
}

.premium-upsell__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(241, 196, 15, 0.18);
  color: #f1c40f;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.premium-upsell__body strong {
  display: block;
  margin-bottom: 0.25rem;
}

.premium-upsell__body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.premium-upsell__meta {
  margin-top: 0.45rem !important;
  color: #f1c40f !important;
}

.settings-panel--locked .settings-form,
.settings-panel--locked .stream-builder,
.settings-panel--locked .welcome-guide,
.settings-panel--locked .settings-summary {
  opacity: 0.72;
}

.premium-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.premium-page__badge {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(241, 196, 15, 0.16);
  color: #f1c40f;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.premium-page__lead {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.premium-page__card,
.premium-page__features {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
}

.premium-page__meta {
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.premium-page__soon {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(241, 196, 15, 0.35);
  background: rgba(241, 196, 15, 0.08);
}

.premium-page__actions {
  margin-top: 1rem;
}

.premium-page__features ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.premium-page__note {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .premium-upsell {
    flex-direction: column;
    align-items: stretch;
  }
}

.setup-wizard {
  display: grid;
  gap: 1rem;
}

.setup-step-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.setup-step-card__head h3 {
  margin: 0;
  flex: 1 1 auto;
}

.setup-step-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(227, 10, 23, 0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.setup-step-back {
  margin-left: auto;
}

.setup-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}

.setup-type-card {
  display: grid;
  gap: 0.45rem;
  text-align: left;
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.setup-type-card:hover {
  border-color: rgba(227, 10, 23, 0.45);
  transform: translateY(-1px);
}

.setup-type-card--active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(227, 10, 23, 0.25);
}

.setup-type-card__icon {
  font-size: 1.75rem;
  line-height: 1;
}

.setup-type-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.setup-type-card__meta {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.setup-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.setup-template-card {
  display: grid;
  gap: 0.45rem;
  text-align: left;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.setup-template-card:hover {
  border-color: rgba(227, 10, 23, 0.45);
  transform: translateY(-1px);
}

.setup-template-card--active {
  border-color: #e30a17;
  box-shadow: 0 0 0 1px rgba(227, 10, 23, 0.35);
}

.setup-template-card__icon {
  font-size: 1.6rem;
}

.setup-template-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.setup-template-card__meta {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.setup-preview-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1rem;
}

.setup-subtitle {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.setup-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.setup-stats span {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.setup-role-list {
  display: grid;
  gap: 0.45rem;
}

.setup-role-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.setup-role-item__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.setup-role-item__tag {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.setup-discord-preview {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 320px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #1e1f22;
}

.setup-discord-preview__sidebar {
  padding: 0.75rem 0.5rem;
  background: #141517;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow: auto;
}

.setup-discord-category {
  margin-bottom: 0.85rem;
}

.setup-discord-category__name {
  padding: 0 0.45rem;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #949ba4;
}

.setup-discord-channel {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  color: #949ba4;
  font-size: 0.84rem;
}

.setup-discord-channel--active {
  background: rgba(255, 255, 255, 0.06);
  color: #f2f3f5;
}

.setup-discord-channel__icon {
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}

.setup-discord-preview__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.setup-discord-preview__header {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #f2f3f5;
  font-weight: 600;
}

.setup-discord-preview__messages {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.setup-discord-message {
  color: #dbdee1;
  font-size: 0.9rem;
  line-height: 1.45;
}

.setup-discord-message strong {
  color: #f2f3f5;
  margin-right: 0.35rem;
}

.setup-discord-message--system {
  color: #949ba4;
  font-size: 0.82rem;
}

.setup-discord-message--reaction {
  border-left: 3px solid #5865f2;
  padding-left: 0.65rem;
}

.setup-discord-channel--reaction {
  color: #b5bac1;
}

.setup-discord-channel__tag {
  margin-left: auto;
  font-size: 0.62rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.2);
  color: #949cf0;
}

.setup-apply-card {
  display: grid;
  gap: 1rem;
}

.setup-template-card--installed {
  border-color: #57f287;
  box-shadow: 0 0 0 1px rgba(87, 242, 135, 0.35);
}

.setup-template-card--blocked {
  opacity: 0.45;
  cursor: not-allowed;
}

.setup-template-card__installed {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(87, 242, 135, 0.15);
  color: #57f287;
  font-size: 0.72rem;
  font-weight: 700;
}

.setup-installed-card {
  border: 1px solid rgba(87, 242, 135, 0.35);
  background: rgba(87, 242, 135, 0.06);
}

.setup-installed-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.setup-installed-card__badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(87, 242, 135, 0.15);
  color: #57f287;
  font-size: 0.75rem;
  font-weight: 700;
}

.setup-installed-card__head h3 {
  margin: 0 0 0.35rem;
}

.setup-installed-card__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.btn--danger {
  border-color: rgba(237, 66, 69, 0.55);
  color: #ff8a8d;
}

.btn--danger:hover {
  background: rgba(237, 66, 69, 0.12);
  border-color: #ed4245;
}

.setup-confirm {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  user-select: none;
}

.setup-confirm:hover {
  border-color: rgba(227, 10, 23, 0.35);
  background: rgba(227, 10, 23, 0.05);
}

.setup-confirm input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0.1rem 0 0;
  flex-shrink: 0;
  accent-color: #e30a17;
  cursor: pointer;
}

.setup-confirm__text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 500;
}

@media (max-width: 960px) {
  .setup-preview-layout {
    grid-template-columns: 1fr;
  }

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

  .setup-discord-preview__sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    max-height: 220px;
  }
}

/* Canlı Yayın Bot */
.page-live-bot .live-bot-app {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.25rem;
  min-height: calc(100vh - 120px);
}

.page-live-bot .live-bot-sidebar__head {
  padding: 0 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1rem;
}

.page-live-bot .live-bot-sidebar__head strong {
  display: block;
  font-size: 1.05rem;
}

.page-live-bot .live-bot-sidebar__head span {
  color: var(--muted);
  font-size: 0.85rem;
}

.live-bot-platforms {
  display: grid;
  gap: 0.5rem;
  padding: 0 0.5rem 1rem;
}

.live-bot-platform {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.live-bot-platform:hover,
.live-bot-platform--active {
  border-color: rgba(227, 10, 23, 0.45);
  background: rgba(227, 10, 23, 0.08);
}

.live-bot-platform--soon {
  opacity: 0.85;
}

.live-bot-platform__soon {
  margin-left: auto;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  background: #53fc18;
}

.live-bot-connect__card--soon h2 {
  margin: 0.75rem 0 0.5rem;
}

.live-bot-account-wrap {
  padding: 0 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.75rem;
}

.live-bot-account-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.live-bot-account-card--guest {
  opacity: 0.85;
}

.live-bot-account-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.live-bot-account-card__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  background: rgba(227, 10, 23, 0.2);
  color: var(--text);
}

.live-bot-account-card__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.live-bot-account-card__info strong {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-bot-account-card__info span {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-bot-menu {
  margin-top: 0.5rem;
}

.live-bot-connect {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.live-bot-connect__card {
  width: min(520px, 100%);
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 18, 0.72);
  text-align: center;
}

.live-bot-connect__card h2 {
  margin: 0.75rem 0;
}

.live-bot-head-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.live-bot-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(120px, 0.7fr) auto auto;
  gap: 0.75rem;
  align-items: end;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.live-bot-command-list {
  display: grid;
  gap: 0.75rem;
}

.live-bot-command-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.live-bot-command-card--disabled {
  opacity: 0.55;
}

.live-bot-command-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.live-bot-command-meta {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.live-bot-leaderboard {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.live-bot-leaderboard th,
.live-bot-leaderboard td {
  padding: 0.55rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.live-bot-leaderboard th {
  color: var(--muted);
  font-weight: 600;
}

.live-bot-command-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.live-bot-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.live-bot-status-card {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.live-bot-status-card--live {
  border-color: rgba(237, 66, 69, 0.45);
  box-shadow: 0 0 0 1px rgba(237, 66, 69, 0.12);
}

.live-bot-status-detail {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  color: var(--text);
}

.live-bot-status-meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.live-bot-status-actions {
  margin-top: 0.5rem;
}

.live-bot-activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.live-bot-activity-item {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.live-bot-activity-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-right: 0.5rem;
}

.live-bot-activity-time {
  font-size: 0.78rem;
  color: var(--muted);
}

.live-bot-activity-item p {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  word-break: break-word;
}

.live-bot-activity-meta {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.stream-builder__empty {
  padding: 1rem;
  color: var(--muted);
}

.dashboard-status--ok { color: #57f287; }
.dashboard-status--warn { color: #fee75c; }

/* Overview health + pulse + goals */
.health-score {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.health-score__ring {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 700;
  border: 4px solid var(--accent);
  background: rgba(88, 101, 242, 0.12);
}

.health-score__ring--ok { border-color: #57f287; color: #57f287; }
.health-score__ring--warn { border-color: #fee75c; color: #fee75c; }
.health-score__ring--bad { border-color: #ed4245; color: #ed4245; }

.health-score__meta strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.health-checks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.health-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
}

.health-recommendations {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.health-rec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}

.health-rec__text strong {
  display: block;
  margin-bottom: 0.15rem;
}

.health-rec__text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pulse-narrative {
  font-size: 1.05rem;
  margin: 0.75rem 0;
  line-height: 1.5;
}

.pulse-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.65rem;
}

.pulse-stat {
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.pulse-stat strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.pulse-stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.goals-editor {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}

.goal-row {
  display: grid;
  grid-template-columns: 1fr 120px 1fr auto auto;
  gap: 0.65rem;
  align-items: end;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.goal-row label span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.goal-preview {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.goal-preview__embed-title {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.goal-preview__line {
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  margin: 0.5rem 0;
  white-space: pre-wrap;
}

.setup-funnel-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.setup-funnel-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.setup-funnel-tier-wrap {
  display: flex;
  flex-direction: column;
}

.setup-funnel-tier-wrap--open .setup-funnel-tier {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: rgba(88, 101, 242, 0.35);
  background: rgba(88, 101, 242, 0.08);
}

.setup-funnel-tier__expand {
  padding: 0.85rem 1rem 1rem;
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: rgba(88, 101, 242, 0.06);
}

.setup-funnel-tier__hint {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.setup-funnel-tier__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.setup-funnel-tier--done {
  border-color: rgba(87, 242, 135, 0.25);
  background: rgba(87, 242, 135, 0.06);
}

.setup-funnel-tier__head strong {
  display: block;
  margin-bottom: 0.15rem;
}

.setup-funnel-tier strong {
  display: block;
  margin-bottom: 0.15rem;
}

.setup-funnel-tier span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.health-check--clickable {
  cursor: pointer;
}

.health-check--clickable:hover {
  background: rgba(255, 255, 255, 0.06);
}

.goal-row__progress {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
}

@media (max-width: 960px) {
  .goal-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .page-live-bot .live-bot-app {
    grid-template-columns: 1fr;
  }

  .live-bot-row {
    grid-template-columns: 1fr;
  }

  .live-bot-command-card {
    flex-direction: column;
  }
}

.dashboard-menu-search {
  position: relative;
  margin: 0.75rem 0 0.5rem;
}

.dashboard-menu-search__input {
  width: 100%;
  font-size: 0.88rem;
  padding: 0.55rem 0.7rem;
}

.dashboard-menu-search__results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 30;
  max-height: 240px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #1a1d24;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.dashboard-menu-search__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
}

.dashboard-menu-search__item:hover,
.dashboard-menu-search__item--active {
  background: rgba(88, 101, 242, 0.18);
}

.dashboard-menu-search__item small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 0.1rem;
}

.dashboard-menu__item--search-hidden {
  display: none !important;
}

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

.overview-section-head h3 {
  margin: 0;
}

.overview-section-head__hint {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.overview-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.recent-changes-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.recent-changes-list--scroll {
  max-height: min(22rem, 42vh);
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-gutter: stable;
}

.recent-changes-list--scroll::-webkit-scrollbar {
  width: 6px;
}

.recent-changes-list--scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

/* Dashboard zone blocks — visual grouping per topic */
.dashboard-zone {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: calc(var(--radius-sm) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.dashboard-zone--summary {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.05);
}

.dashboard-zone--action {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.12), rgba(88, 101, 242, 0.04));
  border-color: rgba(88, 101, 242, 0.22);
}

.dashboard-zone--audit {
  background: rgba(18, 18, 24, 0.72);
  border-color: rgba(255, 255, 255, 0.06);
}

.dashboard-zone--setup {
  background: linear-gradient(135deg, rgba(250, 166, 26, 0.1), rgba(250, 166, 26, 0.03));
  border-color: rgba(250, 166, 26, 0.18);
}

.dashboard-zone--health {
  background: linear-gradient(135deg, rgba(87, 242, 135, 0.08), rgba(87, 242, 135, 0.02));
  border-color: rgba(87, 242, 135, 0.16);
}

.dashboard-zone--goals {
  background: linear-gradient(135deg, rgba(237, 66, 69, 0.1), rgba(237, 66, 69, 0.03));
  border-color: rgba(237, 66, 69, 0.16);
}

.dashboard-zone--config {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.06);
}

.dashboard-zone--analytics {
  background: rgba(12, 14, 22, 0.55);
  border-color: rgba(114, 137, 218, 0.14);
}

.settings-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.settings-card h3 {
  margin: 0;
}

.settings-card > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.settings-card--zone {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.settings-summary--inset {
  border: 0;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.85rem 1rem;
}

.live-feed--scroll {
  max-height: min(18rem, 36vh);
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-gutter: stable;
}

.live-feed--scroll::-webkit-scrollbar {
  width: 6px;
}

.live-feed--scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.dashboard-zone--inactive {
  background: linear-gradient(135deg, rgba(237, 66, 69, 0.1), rgba(237, 66, 69, 0.03));
  border-color: rgba(237, 66, 69, 0.18);
  padding: 1rem;
  border-radius: calc(var(--radius-sm) + 4px);
  border-width: 1px;
  border-style: solid;
}

.dashboard-zone--reminders {
  background: linear-gradient(135deg, rgba(250, 166, 26, 0.12), rgba(250, 166, 26, 0.04));
  border-color: rgba(250, 166, 26, 0.22);
}

.dashboard-zone--announcements {
  background: linear-gradient(135deg, rgba(114, 137, 218, 0.12), rgba(114, 137, 218, 0.04));
  border-color: rgba(114, 137, 218, 0.2);
}

.dashboard-panel-zones {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-zone--community {
  background: linear-gradient(135deg, rgba(241, 196, 15, 0.1), rgba(241, 196, 15, 0.03));
  border-color: rgba(241, 196, 15, 0.18);
}

.dashboard-zone--ticket {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(88, 101, 242, 0.03));
  border-color: rgba(88, 101, 242, 0.18);
}

.dashboard-zone--stream {
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.1), rgba(145, 70, 255, 0.03));
  border-color: rgba(145, 70, 255, 0.16);
}

.dashboard-zone--security {
  background: linear-gradient(135deg, rgba(237, 66, 69, 0.08), rgba(237, 66, 69, 0.02));
  border-color: rgba(237, 66, 69, 0.14);
}

.dashboard-zone--automations {
  background: linear-gradient(135deg, rgba(87, 242, 135, 0.08), rgba(87, 242, 135, 0.02));
  border-color: rgba(87, 242, 135, 0.14);
}

.dashboard-zone--welcome {
  background: linear-gradient(135deg, rgba(250, 166, 26, 0.08), rgba(250, 166, 26, 0.02));
  border-color: rgba(250, 166, 26, 0.14);
}

.dashboard-zone--generic {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.08);
}

.weekday-picker--single .weekday-picker__item input[type="radio"] {
  accent-color: #5865f2;
}

.weekday-picker {
  border: 0;
  padding: 0;
  margin: 0;
}

.weekday-picker legend {
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.weekday-picker__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.weekday-picker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  cursor: pointer;
  user-select: none;
}

.weekday-picker__item:has(input:checked) {
  border-color: rgba(88, 101, 242, 0.45);
  background: rgba(88, 101, 242, 0.18);
}

.weekday-picker__item input {
  accent-color: #5865f2;
}

.recent-change-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem 0.85rem;
  align-items: start;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.recent-change-item__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(88, 101, 242, 0.18);
  color: #c8ceff;
  white-space: nowrap;
}

.recent-change-item__body strong {
  display: block;
  margin-bottom: 0.15rem;
}

.recent-change-item__body small {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.recent-change-item__meta {
  color: var(--text-muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.stream-embed-preview__card .discord-embed__image,
.stream-embed-preview__card .discord-embed__thumbnail-wrap {
  margin: 0.5rem 0 0;
  max-height: 140px;
  overflow: hidden;
  border-radius: 6px;
}

.stream-embed-preview__card .discord-embed__image img,
.stream-embed-preview__card .discord-embed__thumbnail-wrap img {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
}

.stream-embed-preview__card .discord-embed__thumbnail-wrap {
  float: right;
  width: 72px;
  max-height: 72px;
  margin: 0 0 0.35rem 0.65rem;
}

.stream-embed-preview__card .discord-embed__thumbnail-wrap img {
  max-height: 72px;
}

.stream-add-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-end;
  margin-bottom: 0.85rem;
}

.stream-add-bar__field {
  flex: 1 1 220px;
  margin: 0;
}

.stream-entry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.stream-entry-grid--empty {
  display: block;
}

.stream-streamer-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.stream-streamer-tile:hover,
.stream-streamer-tile--selected {
  border-color: rgba(88, 101, 242, 0.55);
  transform: translateY(-1px);
}

.stream-streamer-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stream-streamer-tile__fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.35), rgba(255, 255, 255, 0.08));
}

.stream-streamer-tile__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 0.45rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.08) 58%, transparent);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.stream-streamer-tile:hover .stream-streamer-tile__overlay,
.stream-streamer-tile--selected .stream-streamer-tile__overlay {
  opacity: 1;
}

.stream-streamer-tile__overlay span {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-streamer-tile__remove {
  align-self: flex-start;
  border: 0;
  border-radius: 6px;
  padding: 0.25rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: rgba(237, 66, 69, 0.88);
}

.stream-entry-editor {
  margin-top: 0.85rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.stream-entry-editor__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.stream-entry-editor__toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.stream-test-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

@media (max-width: 900px) {
  .stream-entry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .stream-entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .recent-change-item {
    grid-template-columns: 1fr;
  }

  .recent-change-item__meta {
    white-space: normal;
  }
}

.file-drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 96px;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--border, rgba(255, 255, 255, 0.18));
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.file-drop-zone:hover,
.file-drop-zone--active {
  border-color: var(--accent, #5865f2);
  background: rgba(88, 101, 242, 0.08);
  box-shadow: inset 0 0 0 1px rgba(88, 101, 242, 0.18);
}

.file-drop-zone__title {
  font-weight: 600;
  color: var(--text, #fff);
}

.file-drop-zone small {
  color: var(--muted, rgba(255, 255, 255, 0.62));
}

.settings-panel__head--compact p {
  display: none;
}

.games-settings-embed {
  position: relative;
  background: #2b2d31;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.games-settings-embed__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.games-settings-embed--chain .games-settings-embed__bar {
  background: #5865f2;
}

.games-settings-embed--channel .games-settings-embed__bar {
  background: #57f287;
}

.games-settings-embed__inner {
  padding: 1rem 1.1rem 1.1rem 1.25rem;
}

.games-settings-embed__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.games-settings-embed--chain .games-settings-embed__title {
  color: #8ea1ff;
  font-size: 1.05rem;
  font-weight: 700;
}

.games-settings-embed--channel .games-settings-embed__title {
  color: #6ee7a0;
  font-size: 1.05rem;
  font-weight: 700;
}

.games-settings-embed__desc {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #b5bac1;
  max-width: 42rem;
}

.games-settings-embed__desc strong {
  color: #dbdee1;
  font-weight: 600;
}

.games-settings-embed__toggle {
  flex-shrink: 0;
  margin: 0;
}

.games-layout-block {
  margin-bottom: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.games-global-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.games-auto-setup {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem 0.75rem;
}

.games-auto-setup .field--inline {
  margin-bottom: 0;
  min-width: min(100%, 280px);
}

.games-auto-setup-hint {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.field-select-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
}

.field-select-row > .field-select {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.log-card .field-select-row {
  gap: 0.28rem;
}

.log-card .field-select-row > .field-select {
  padding: 0.5rem 0.6rem;
  font-size: 0.88rem;
}

.field-options-refresh {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  max-width: 2rem;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.field-options-refresh:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.field-options-refresh--compact,
.log-card .field-options-refresh {
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.75rem;
  max-width: 1.75rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

.field-options-refresh--spinning {
  opacity: 0.65;
  pointer-events: none;
}

.games-binding-games {
  display: grid;
  gap: 0.35rem;
  margin: 0.5rem 0 0.75rem;
}

.games-binding-game {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.games-binding-games .toggle {
  position: relative;
}

.games-binding-games .toggle__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}

.field--compact {
  margin-bottom: 0.25rem;
}

.lang-switch-wrap {
  margin-right: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-switch-wrap--dropdown {
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
}

.lang-switch__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-weight: 600;
  font-size: 0.8125rem;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.lang-switch__trigger:hover,
.lang-switch-wrap--dropdown:hover .lang-switch__trigger,
.lang-switch-wrap--dropdown:focus-within .lang-switch__trigger {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.lang-switch__caret {
  font-size: 0.65rem;
  opacity: 0.7;
  line-height: 1;
}

.lang-switch__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 7.5rem;
  padding: 0.35rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 18, 24, 0.98);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  flex-direction: column;
  gap: 0.2rem;
  z-index: 120;
}

.lang-switch-wrap--dropdown:hover .lang-switch__menu,
.lang-switch-wrap--dropdown:focus-within .lang-switch__menu {
  display: flex;
}

.lang-switch__menu-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.45rem 0.6rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.8125rem;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}

.lang-switch__menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lang-switch__menu-item--active {
  background: rgba(255, 255, 255, 0.1);
}

.lang-switch__menu-item--tr .lang-switch__code { color: #e74c3c; }
.lang-switch__menu-item--en .lang-switch__code { color: #3498db; }
.lang-switch__trigger.lang-switch__trigger--tr .lang-switch__code,
.lang-switch-wrap--dropdown[data-active-lang="tr"] .lang-switch__trigger .lang-switch__code { color: #ff6b6b; }
.lang-switch-wrap--dropdown[data-active-lang="en"] .lang-switch__trigger .lang-switch__code { color: #5dade2; }
.lang-switch__flag {
  font-size: 1rem;
  line-height: 1;
}
.lang-switch {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: inherit;
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font: inherit;
}
