/* =========================================================================
   NEXUS — Tasarım Token'ları ve Temel Stiller
   Özgün "Aurora" kimliği: sıcak isim rengi geçişleri, squircle biçimler,
   gradyan aksanlar. Bilinen sohbet uygulamalarının klasik mavi/mor
   paletinden ve dairesel avatar dilinden kasıtlı olarak ayrışır.
   ========================================================================= */

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

:root {
  /* Zemin katmanları — sıcak antrasit, mavimsi-gri Discord tonlarından kaçınır */
  --bg-deepest: #0a0908;
  --bg-base: #15130f;
  --bg-elevated: #1c1913;
  --bg-elevated-2: #241f17;
  --bg-hover: #2c261b;
  --bg-active: #362e20;

  /* Marka kimliği: kehribar → kızıl-pembe "aurora" gradyanı */
  --brand: #28c76f;
  --brand-2: #22b866;
  --brand-hover: #4bd88a;
  --brand-soft: rgba(40, 199, 111, 0.16);
  --brand-gradient: linear-gradient(135deg, #28c76f 0%, #22b866 100%);
  --pulse: #21e6b0;

  /* Durum renkleri */
  --status-online: #2fe08a;
  --status-idle: #ffc24b;
  --status-dnd: #ff5470;
  --status-offline: #6b6459;

  /* Metin */
  --text-primary: #f5efe6;
  --text-secondary: #b3a996;
  --text-muted: #7c7364;
  --text-on-brand: #1a1208;

  /* Kenarlık / gölge */
  --border-subtle: rgba(255, 235, 210, 0.06);
  --border-strong: rgba(255, 235, 210, 0.14);
  --shadow-panel: 0 10px 32px rgba(0, 0, 0, 0.45);
  --glow-brand: 0 0 0 1px rgba(40, 199, 111, 0.40), 0 0 18px rgba(34, 184, 102, 0.25);

  /* Tipografi — Discord'un varsayılan yazı ailesinden bilinçli olarak farklı */
  --font-display: 'Sora', 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* Yarıçap — squircle diline uygun daha yumuşak/asimetrik hisli değerler */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-squircle: 30%;
  --radius-full: 999px;

  /* Boşluk ölçeği */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-deepest);
  background-image:
    radial-gradient(circle at 0% 0%, rgba(40, 199, 111, 0.05), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(34, 184, 102, 0.045), transparent 45%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

::selection { background: var(--brand-soft); }

/* Kaydırma çubuğu — gradyan aksan */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-active); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ---- Ortak bileşenler ------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: filter .15s ease, transform .1s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand-gradient); color: var(--text-on-brand); box-shadow: 0 4px 14px rgba(34, 184, 102, 0.25); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { background: var(--bg-elevated-2); color: var(--text-primary); border-radius: var(--radius-md); }
.btn-secondary:hover { background: var(--bg-hover); }
.btn-ghost { background: transparent; color: var(--text-secondary); border-radius: var(--radius-md); }
.btn-ghost:hover { background: var(--bg-hover); color: var(--text-primary); }
.btn-danger { background: var(--status-dnd); color: #1a0508; }
.btn-danger:hover { filter: brightness(1.08); }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.input {
  width: 100%;
  background: var(--bg-deepest);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
.input::placeholder { color: var(--text-muted); }

.label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field { margin-bottom: var(--space-4); }
.field-error {
  color: var(--status-dnd);
  font-size: 13px;
  margin-top: var(--space-2);
  min-height: 0;
}

.avatar {
  border-radius: var(--radius-squircle);
  object-fit: cover;
  display: block;
  background: var(--bg-hover);
  flex-shrink: 0;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2.5px solid var(--bg-base);
  position: absolute;
}
.status-dot.online { background: var(--status-online); }
.status-dot.idle { background: var(--status-idle); }
.status-dot.dnd { background: var(--status-dnd); }
.status-dot.offline { background: var(--status-offline); }

.avatar-wrap { position: relative; display: inline-flex; flex-shrink: 0; }
.avatar-wrap .status-dot { right: -2px; bottom: -2px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  background: var(--bg-elevated-2);
  color: var(--text-secondary);
}

/* ---- Rozet çipleri (kullanıcı profili & admin panel) ------------------ */
.badge-chip {
  --bc: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 3px 8px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--bc);
  background: color-mix(in srgb, var(--bc) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--bc) 35%, transparent);
  white-space: nowrap;
}
.badge-chip i { font-size: 11px; }

.badge-chip.badge-icon-only {
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  gap: 0;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--bc) 22%, var(--border-subtle));
  border-radius: 10px;
  background: color-mix(in srgb, var(--bc) 10%, var(--bg-elevated-2));
  line-height: 1;
  font-size: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.badge-chip.badge-icon-only:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--bc) 13%, var(--bg-hover));
  border-color: color-mix(in srgb, var(--bc) 38%, var(--border-subtle));
}
.badge-chip.badge-icon-only .badge-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 16px;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.18));
}
.badge-chip.badge-icon-only .badge-image {
  width: 21px;
  height: 21px;
  display: block;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 1px 5px rgba(0,0,0,.20));
}

.profile-badges-row { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; margin: var(--space-2) 0 var(--space-3); width: fit-content; max-width: 100%; }
.discord-badge-tray {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 12px;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
  width: fit-content;
  max-width: 100%;
}
.settings-badge-tray { width: fit-content; max-width: 100%; }

.discord-badge.has-badge-tooltip {
  position: relative;
  overflow: visible;
}
.discord-badge.has-badge-tooltip::after {
  content: attr(data-badge-name);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(16, 18, 24, 0.96);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 25px rgba(0,0,0,0.28);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 70;
  transition: opacity .12s ease, transform .12s ease, visibility .12s ease;
}
.discord-badge.has-badge-tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  width: 8px;
  height: 8px;
  transform: translateX(-50%) rotate(45deg) translateY(4px);
  background: rgba(16, 18, 24, 0.96);
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 69;
  transition: opacity .12s ease, transform .12s ease, visibility .12s ease;
}
.discord-badge.has-badge-tooltip:hover::after,
.discord-badge.has-badge-tooltip:hover::before,
.discord-badge.has-badge-tooltip:focus-visible::after,
.discord-badge.has-badge-tooltip:focus-visible::before {
  opacity: 1;
  visibility: visible;
}
.discord-badge.has-badge-tooltip:hover::after,
.discord-badge.has-badge-tooltip:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}
.discord-badge.has-badge-tooltip:hover::before,
.discord-badge.has-badge-tooltip:focus-visible::before {
  transform: translateX(-50%) rotate(45deg) translateY(0);
}

.verified-tick {
  color: var(--pulse);
  font-size: 13px;
  margin-left: 4px;
  filter: drop-shadow(0 0 6px rgba(33, 230, 176, 0.5));
}

.toast-stack {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  z-index: 9999;
}
.toast {
  background: var(--bg-elevated-2);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
  font-size: 14px;
  max-width: 320px;
  animation: toast-in .18s ease;
}
.toast.error { border-color: var(--status-dnd); }
.toast.success { border-color: var(--status-online); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(6, 5, 4, 0.75);
  backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  z-index: 1950;
  padding: var(--space-4);
}
.modal {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid transparent;
  background-image: linear-gradient(var(--bg-elevated), var(--bg-elevated)), var(--brand-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-panel);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header {
  padding: var(--space-5) var(--space-5) var(--space-3);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { font-size: 19px; }
.modal-body { padding: 0 var(--space-5) var(--space-5); }
.modal-footer {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: flex-end; gap: var(--space-2);
}
.icon-btn {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: transparent; border: none; color: var(--text-secondary);
  cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.icon-btn:hover { background: var(--bg-hover); color: var(--text-primary); }

.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--text-muted); padding: var(--space-6);
  gap: var(--space-2);
}
.empty-state h4 { color: var(--text-secondary); }

.spinner {
  width: 20px; height: 20px;
  border: 2.5px solid var(--border-strong);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hidden { display: none !important; }

/* ---- Ayarlar Paneli — tam ekran, sol menü + sağ içerik düzeni --------- */
.modal-backdrop.settings-modal-backdrop { padding: 0; align-items: stretch; justify-content: stretch; }
.modal.settings-modal {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  border-radius: 0;
  border: none;
  border-top: none;
  background-image: none;
  background: var(--bg-base);
  display: flex;
  overflow: hidden;
}

.settings-sidebar {
  flex: 0 0 240px;
  width: 240px;
  background: var(--bg-deepest);
  border-right: 1px solid var(--border-subtle);
  overflow-y: auto;
  padding: var(--space-6) var(--space-3) var(--space-5) var(--space-5);
  display: flex;
  justify-content: flex-end;
}
.settings-sidebar-inner { width: 100%; max-width: 200px; display: flex; flex-direction: column; }
.settings-group { display: flex; flex-direction: column; gap: 1px; margin-bottom: var(--space-3); }
.settings-group-title {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-muted); padding: 6px 10px 6px;
}
.settings-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: transparent; border: none;
  color: var(--text-secondary);
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  text-align: left; cursor: pointer; width: 100%;
  transition: background-color .12s ease, color .12s ease;
}
.settings-nav-item i { width: 16px; text-align: center; font-size: 13px; color: var(--text-muted); transition: color .12s ease; }
.settings-nav-item:hover { background: var(--bg-hover); color: var(--text-primary); }
.settings-nav-item:hover i { color: var(--text-secondary); }
.settings-nav-item.active { background: var(--brand-soft); color: var(--text-primary); }
.settings-nav-item.active i { color: var(--brand); }
.settings-nav-item.danger { color: var(--status-dnd); }
.settings-nav-item.danger i { color: var(--status-dnd); }
.settings-nav-item.danger:hover { background: rgba(255, 84, 112, 0.12); }
.settings-divider { height: 1px; background: var(--border-subtle); margin: var(--space-2) 10px; }

.settings-content { flex: 1; overflow-y: auto; position: relative; padding: 64px var(--space-6) 90px; }
.settings-content-inner { max-width: 620px; margin: 0 auto; }
.settings-close-col { position: absolute; top: 26px; right: 32px; z-index: 2; }
.settings-close-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--bg-elevated); color: var(--text-secondary);
  cursor: pointer; font-size: 15px;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.settings-close-btn:hover { border-color: var(--text-primary); color: var(--text-primary); transform: rotate(90deg); }

.settings-panel-header { margin-bottom: var(--space-5); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border-subtle); }
.settings-panel-header h2 { font-family: var(--font-display); font-size: 22px; margin: 0 0 4px; }
.settings-panel-sub { color: var(--text-muted); font-size: 13.5px; margin: 0; }

.settings-toggle-group { border-top: 1px solid var(--border-subtle); }
.settings-toggle-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: 14px 2px;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
}
.settings-toggle-label { font-weight: 700; font-size: 14px; color: var(--text-primary); }
.settings-toggle-desc { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

.toggle-switch { position: relative; width: 40px; height: 24px; flex: 0 0 auto; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
  position: absolute; inset: 0; border-radius: var(--radius-full);
  background: var(--bg-active); transition: background-color .15s ease; cursor: pointer;
}
.toggle-slider::before {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--text-primary); transition: transform .18s ease;
}
.toggle-switch input:checked + .toggle-slider { background: var(--brand-gradient); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(16px); background: #fff; }
.toggle-switch input:focus-visible + .toggle-slider { box-shadow: 0 0 0 3px var(--brand-soft); }

.settings-option-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle); background: var(--bg-elevated-2);
  cursor: pointer; margin-bottom: 6px; transition: border-color .12s ease, background-color .12s ease;
}
.settings-option-card:hover { background: var(--bg-hover); }
.settings-option-card.selected { border-color: var(--brand); background: var(--brand-soft); }
.settings-option-card input { accent-color: var(--brand); }

.settings-danger-zone {
  margin-top: var(--space-6); padding: var(--space-4);
  border: 1px solid rgba(255, 84, 112, 0.3); border-radius: var(--radius-md);
  background: rgba(255, 84, 112, 0.06);
}
.settings-danger-zone h4 { color: var(--status-dnd); margin: 0 0 6px; font-size: 14px; }
.settings-danger-zone p { color: var(--text-muted); font-size: 12.5px; margin: 0 0 12px; }

/* ---- Görünüm tercihleri: yoğunluk & yazı boyutu (yalnızca istemci) ----- */
body.fs-sm { font-size: 13.5px; }
body.fs-md { font-size: 15px; }
body.fs-lg { font-size: 16.5px; }
body.density-compact .message-group,
body.density-compact .message-line { padding-top: 2px; padding-bottom: 2px; }
body.density-compact .msg-content { line-height: 1.3; }
body.density-compact .channel-item { padding-top: 4px; padding-bottom: 4px; }
body.density-compact .member-row { padding-top: 3px; padding-bottom: 3px; }

/* ---- Gelişmiş sunucu/rol/kanal ayarları ------------------------------- */
.verified-server-card,
.permission-help {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 13px;
  margin-bottom: 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  color: var(--text-secondary);
  font-size: 13px;
}
.verified-server-card { align-items: center; }
.invite-permanent-card {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--bg-deepest);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.mini-heading {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 800;
  margin-bottom: 7px;
}
.row-muted { color: var(--text-muted); font-size: 12px; }
.settings-list-row,
.member-settings-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--border-subtle);
}
.settings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.role-list { display: flex; flex-direction: column; gap: 6px; }
.role-list-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-elevated-2);
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.role-list-item:hover { background: var(--bg-hover); border-color: var(--border-strong); transform: translateY(-1px); }
.role-list-item > i { color: var(--text-muted); font-size: 12px; }
.role-list-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.role-list-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.role-list-main small { color: var(--text-muted); font-size: 11.5px; }
.role-color-dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 0 0 2px rgba(255,255,255,.05); }
.role-color-picker { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; }
.role-color-picker input[type="color"] { width: 54px; height: 40px; padding: 2px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--bg-deepest); cursor: pointer; }
.permission-list { border-top: 1px solid var(--border-subtle); }
.permission-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--border-subtle);
}
.permission-row > span { display: flex; flex-direction: column; gap: 3px; }
.permission-row strong { font-size: 13.5px; }
.permission-row small { color: var(--text-muted); font-size: 11.5px; line-height: 1.35; }
.permission-danger strong { color: var(--status-dnd); }
.member-settings-main { flex: 1; min-width: 0; }
.member-role-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.member-role-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border: 1px solid var(--border-subtle); border-radius: 999px; font-size: 10.5px; color: var(--text-secondary); background: var(--bg-deepest); }
.member-role-chip > span { width: 7px; height: 7px; border-radius: 50%; }
.owner-crown { color: #ffd76a; font-size: 11px; }

.channel-settings-tabs {
  display: flex;
  gap: 4px;
  padding: 0 var(--space-5) 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.channel-settings-tab {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.channel-settings-tab:hover { background: var(--bg-hover); color: var(--text-primary); }
.channel-settings-tab.active { background: var(--brand-soft); color: var(--brand-hover); }
.channel-settings-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.channel-permission-role-head { display: flex; align-items: center; gap: 9px; margin: 16px 0 6px; padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle); }
.channel-permission-list { display: flex; flex-direction: column; }
.channel-permission-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border-subtle); }
.channel-permission-row > div { display: flex; flex-direction: column; gap: 3px; }
.channel-permission-row strong { font-size: 13.5px; }
.channel-permission-row small { color: var(--text-muted); font-size: 11.5px; }
.permission-state-select { min-width: 116px; padding: 7px 9px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--bg-deepest); color: var(--text-primary); outline: none; }
.permission-state-select:focus { border-color: var(--brand); }

@media (max-width: 640px) {
  .member-settings-row { align-items: flex-start; flex-wrap: wrap; }
  .member-settings-main { min-width: calc(100% - 52px); }
  .channel-settings-actions { flex-direction: column-reverse; }
  .channel-settings-actions .btn { width: 100%; }
  .channel-permission-row { align-items: flex-start; flex-direction: column; }
  .permission-state-select { width: 100%; }
}


/* =========================================================================
   NEXUS — Sade görünüm + Koyu / Açık tema
   ========================================================================= */
:root {
  --bg-deepest: #111214;
  --bg-base: #17181b;
  --bg-elevated: #1d1f22;
  --bg-elevated-2: #23252a;
  --bg-hover: #292c31;
  --bg-active: #30343a;

  --brand: #28c76f;
  --brand-2: #28c76f;
  --brand-hover: #22b866;
  --brand-soft: rgba(40, 199, 111, 0.14);
  --brand-gradient: #28c76f;

  --pulse: #22b889;

  --status-online: #32b87b;
  --status-idle: #d7a53e;
  --status-dnd: #e25567;
  --status-offline: #717680;

  --text-primary: #f3f4f6;
  --text-secondary: #b7bcc5;
  --text-muted: #7f8691;
  --text-on-brand: #ffffff;

  --border-subtle: #292c31;
  --border-strong: #383c43;

  --shadow-panel: 0 8px 24px rgba(0, 0, 0, 0.28);
  --glow-brand: none;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-squircle: 10px;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;

  --bg-deepest: #f1f3f5;
  --bg-base: #f7f8fa;
  --bg-elevated: #ffffff;
  --bg-elevated-2: #f0f2f5;
  --bg-hover: #e9edf1;
  --bg-active: #e1e6eb;

  --brand-hover: #20a85e;
  --brand-soft: rgba(40, 199, 111, 0.12);

  --pulse: #148468;

  --status-online: #23885e;
  --status-idle: #9f7620;
  --status-dnd: #c93e52;
  --status-offline: #8a919c;

  --text-primary: #17191d;
  --text-secondary: #4e5662;
  --text-muted: #7b8490;
  --text-on-brand: #ffffff;

  --border-subtle: #e1e5e9;
  --border-strong: #cfd5dc;

  --shadow-panel: 0 8px 24px rgba(31, 41, 55, 0.12);
}

body {
  background: var(--bg-deepest);
  background-image: none;
}

.btn {
  border-radius: var(--radius-md);
  box-shadow: none;
  transition:
    background .12s ease,
    border-color .12s ease,
    opacity .12s ease;
}

.btn:active {
  transform: none;
}

.btn-primary {
  background: var(--brand);
  color: var(--text-on-brand);
  box-shadow: none;
}

.btn-primary:hover {
  filter: none;
  background: var(--brand-hover);
}

.btn-danger {
  color: #fff;
}

.btn-secondary {
  border: 1px solid var(--border-subtle);
}

.input {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
  box-shadow: none;
}

.input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-soft);
}

.avatar {
  border-radius: var(--radius-md);
}

.modal {
  box-shadow: var(--shadow-panel);
  border: 1px solid var(--border-subtle);
}

.modal-backdrop {
  backdrop-filter: none;
}

.settings-sidebar,
.settings-content {
  background: var(--bg-elevated);
}

.settings-nav-item.active {
  background: var(--bg-active);
  color: var(--text-primary);
}

.settings-nav-item.active i {
  color: var(--brand);
}

.settings-option-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.settings-option-card.selected {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.theme-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.theme-option-card {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  cursor: pointer;
}

.theme-option-card:hover {
  background: var(--bg-hover);
}

.theme-option-card.selected {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.theme-option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-option-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--bg-elevated-2);
  color: var(--text-secondary);
}

.theme-option-card.selected .theme-option-icon {
  color: var(--brand);
}

.theme-option-card strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
}

.theme-option-card small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.us-fontsize.is-selected {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.us-accent {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-preview);
  border: 2px solid var(--bg-elevated);
  outline: 1px solid var(--border-strong);
  cursor: pointer;
}

.us-accent.selected {
  outline: 2px solid var(--text-primary);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--brand);
}

.settings-nav-item.active i,
.theme-option-card.selected .theme-option-icon {
  color: var(--brand);
}

.settings-option-card.selected,
.theme-option-card.selected,
.us-fontsize.is-selected {
  border-color: var(--brand);
}

@media (max-width: 620px) {
  .theme-choice-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Karar / metin giriş modalları ------------------------------------- */
.decision-modal .decision-message {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

/* ---- Davet yönetimi ----------------------------------------------------- */
.invite-copy-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.invite-copy-row .input,
.invite-code-box { flex: 1; min-width: 0; }
.invite-code-box {
  display: block;
  padding: 10px 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated-2);
  color: var(--text-secondary);
}
.invite-create-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.invite-created-card {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-elevated-2);
}
.invite-management-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.invite-management-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated-2);
}
.invite-management-main { flex: 1; min-width: 0; }
.invite-management-actions { display: flex; gap: 4px; }
.danger-icon { color: var(--danger); }
.compact-empty { padding: 20px 8px; }
@media (max-width: 620px) {
  .invite-copy-row { align-items: stretch; flex-direction: column; }
  .invite-create-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   NEXUS — Ayarlar penceresi eski Discord-benzeri büyük modal görünümü
   v5.1 Pulse düzeltmesi: tam ekran override'ını geçersiz kılar.
   ========================================================================= */
.modal-backdrop.settings-modal-backdrop {
  padding: 22px 4.25vw !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, .72) !important;
  backdrop-filter: blur(2px) !important;
}

.modal.settings-modal {
  width: min(1680px, 92vw) !important;
  max-width: 1680px !important;
  height: calc(100vh - 44px) !important;
  max-height: 920px !important;
  min-height: 620px;
  margin: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 14px !important;
  background: #101216 !important;
  background-image: none !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.62) !important;
}

.modal.settings-modal .settings-sidebar {
  width: 305px !important;
  flex: 0 0 305px !important;
  max-height: none !important;
  padding: 30px 20px 28px !important;
  justify-content: flex-start !important;
  overflow-y: auto !important;
  background: #0c0e11 !important;
  border-right: 1px solid rgba(255,255,255,.075) !important;
  border-bottom: 0 !important;
}

.modal.settings-modal .settings-sidebar-inner {
  width: 100% !important;
  max-width: none !important;
}

.modal.settings-modal .settings-content {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 100% !important;
  padding: 72px clamp(42px, 5vw, 82px) 90px !important;
  overflow-y: auto !important;
  background: #101216 !important;
  scrollbar-width: thin;
  scrollbar-color: #555b65 transparent;
}

.modal.settings-modal .settings-content::-webkit-scrollbar {
  width: 8px;
}
.modal.settings-modal .settings-content::-webkit-scrollbar-track {
  background: transparent;
}
.modal.settings-modal .settings-content::-webkit-scrollbar-thumb {
  background: #4d535c;
  border-radius: 999px;
}

.modal.settings-modal .settings-content-inner {
  width: 100% !important;
  max-width: 840px !important;
  margin: 0 auto !important;
}

.modal.settings-modal .settings-close-col {
  top: 18px !important;
  right: 22px !important;
}

.modal.settings-modal .settings-close-btn {
  width: 38px !important;
  height: 38px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #9ca3af !important;
  font-size: 19px !important;
  transform: none !important;
}

.modal.settings-modal .settings-close-btn:hover {
  background: rgba(255,255,255,.065) !important;
  color: #fff !important;
  transform: none !important;
}

.modal.settings-modal .settings-panel-header {
  margin-bottom: 28px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
}

.modal.settings-modal .settings-panel-header h2 {
  font-size: 27px !important;
  line-height: 1.2 !important;
}

.modal.settings-modal .settings-nav-item {
  min-height: 42px;
  padding: 0 12px !important;
  border-radius: 7px !important;
}

.modal.settings-modal .settings-nav-item.active {
  background: #292d33 !important;
  color: #fff !important;
}

/* Tablet: pencere hâlâ modal olarak kalsın */
@media (max-width: 1050px) and (min-width: 701px) {
  .modal-backdrop.settings-modal-backdrop {
    padding: 18px !important;
  }
  .modal.settings-modal {
    width: calc(100vw - 36px) !important;
    height: calc(100vh - 36px) !important;
    min-height: 0 !important;
  }
  .modal.settings-modal .settings-sidebar {
    width: 245px !important;
    flex-basis: 245px !important;
    padding: 24px 14px !important;
  }
  .modal.settings-modal .settings-content {
    padding: 64px 30px 60px !important;
  }
}

/* Mobilde kullanılabilirlik için tam ekran kalabilir */
@media (max-width: 700px) {
  .modal-backdrop.settings-modal-backdrop {
    padding: 0 !important;
  }
  .modal.settings-modal {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: none !important;
    min-height: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    flex-direction: column !important;
  }
  .modal.settings-modal .settings-sidebar {
    width: 100% !important;
    flex: 0 0 auto !important;
    max-height: 36vh !important;
    padding: 14px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.075) !important;
  }
  .modal.settings-modal .settings-content {
    padding: 58px 18px 40px !important;
  }
  .modal.settings-modal .settings-content-inner {
    max-width: none !important;
  }
}

/* =========================================================================
   NEXUS — Discord esintili açılış / karşılama ekranı
   ========================================================================= */
.nexus-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--brand) 13%, transparent) 0, transparent 36%),
    linear-gradient(145deg, #111318 0%, #17191e 50%, #101216 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity .42s ease, visibility .42s ease;
}

html[data-theme="light"] .nexus-splash {
  background:
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--brand) 16%, transparent) 0, transparent 38%),
    linear-gradient(145deg, #f7f9fb 0%, #eef2f4 52%, #f8fafb 100%);
}

.nexus-splash.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nexus-splash-card {
  position: relative;
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.nexus-splash-logo-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.nexus-splash-logo {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  border-radius: 26px;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.28));
  animation: nexusSplashFloat 2.2s ease-in-out infinite;
}

.nexus-splash-logo-ring {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--brand) 42%, transparent);
  border-radius: 34px;
  box-shadow: 0 0 35px color-mix(in srgb, var(--brand) 16%, transparent);
  animation: nexusSplashPulse 1.8s ease-in-out infinite;
}

.nexus-splash-brand {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .28em;
  margin-left: .28em;
  margin-bottom: 10px;
}

.nexus-splash-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -.035em;
  color: var(--text-primary);
  margin: 0 0 13px;
}

.nexus-splash-copy {
  max-width: 500px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.nexus-splash-progress {
  width: min(320px, 72vw);
  height: 4px;
  margin-top: 34px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text-primary) 9%, transparent);
}

.nexus-splash-progress > span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-gradient);
  box-shadow: 0 0 18px color-mix(in srgb, var(--brand) 38%, transparent);
  animation: nexusSplashLoading 1.15s cubic-bezier(.65,0,.35,1) infinite;
}

.nexus-splash-status {
  min-height: 22px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  transition: opacity .16s ease, transform .16s ease;
}

.nexus-splash-status.is-changing {
  opacity: 0;
  transform: translateY(4px);
}

.nexus-splash-tip {
  margin-top: 34px;
  min-height: 54px;
  width: min(470px, 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg-elevated-2) 82%, transparent);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  box-shadow: 0 16px 42px rgba(0,0,0,.12);
}

.nexus-splash-tip-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
}

.nexus-splash-tip strong { color: var(--text-primary); }

.nexus-splash-footer {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  text-align: center;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .72;
  z-index: 2;
}

.nexus-splash-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .34;
  pointer-events: none;
}
.nexus-splash-orb-a {
  width: 460px;
  height: 460px;
  top: -260px;
  right: -120px;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 24%, transparent), transparent 68%);
}
.nexus-splash-orb-b {
  width: 380px;
  height: 380px;
  left: -180px;
  bottom: -180px;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-2) 20%, transparent), transparent 70%);
}

@keyframes nexusSplashFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.018); }
}
@keyframes nexusSplashPulse {
  0%,100% { transform: scale(.94); opacity: .45; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes nexusSplashLoading {
  0% { transform: translateX(-125%); }
  100% { transform: translateX(340%); }
}

@media (max-width: 600px) {
  .nexus-splash { padding: 22px; }
  .nexus-splash-logo-wrap { width: 90px; height: 90px; margin-bottom: 18px; }
  .nexus-splash-logo { width: 74px; height: 74px; border-radius: 22px; }
  .nexus-splash-title { font-size: 30px; }
  .nexus-splash-copy { font-size: 13px; }
  .nexus-splash-tip { margin-top: 28px; }
  .nexus-splash-footer { bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .nexus-splash-logo,
  .nexus-splash-logo-ring,
  .nexus-splash-progress > span { animation: none !important; }
  .nexus-splash-progress > span { width: 70%; }
}

/* Landing sayfasında yeni logo SVG'sini markaya düzgün yerleştir. */
.auth-brand .mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}


/* ---- Cross-device badge icon normalization -----------------------------
   Native emoji glyphs differ between Windows/macOS/Linux/mobile. Badge
   icons are rendered through Font Awesome or PNG so their geometry is the
   same on every supported device. */
.badge-chip.badge-icon-only .badge-fa-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  font-size: 15px !important;
  line-height: 20px !important;
  color: var(--bc, var(--brand));
  text-align: center;
  vertical-align: middle;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.28));
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.badge-chip.badge-icon-only .badge-image {
  flex: 0 0 auto;
  max-width: 22px;
  max-height: 22px;
}

/* Profil/DM/ayarlar/admin içinde aynı rozet ölçüsü. */
.profile-badges-row .badge-fa-icon,
.discord-badge-tray .badge-fa-icon,
.dm-profile-badges .badge-fa-icon,
.settings-badge-tray .badge-fa-icon,
.admin-table .badge-fa-icon {
  font-size: 16px !important;
}

/* ==========================================================================
   NEXUS — Kullanıcı Ayarları / Profil Fotoğrafı boyut düzeltmesi
   Profil fotoğrafı önizlemesinin doğal görsel ölçüsünde büyümesini engeller.
   ========================================================================== */
.modal.settings-modal .avatar-picker {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 0 0 22px !important;
  min-width: 0 !important;
}

.modal.settings-modal #us-avatar-preview {
  width: 88px !important;
  height: 88px !important;
  min-width: 88px !important;
  min-height: 88px !important;
  max-width: 88px !important;
  max-height: 88px !important;
  flex: 0 0 88px !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: var(--bg-elevated-2, #181b20) !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

.modal.settings-modal #us-avatar-preview > img,
.modal.settings-modal .avatar-picker #us-avatar-preview > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: inherit !important;
}

/* Fotoğraf açıklamasının büyük görsel yüzünden yatay taşmasını da engelle. */
.modal.settings-modal .avatar-picker > div:last-child {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

@media (max-width: 700px) {
  .modal.settings-modal #us-avatar-preview {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    flex-basis: 72px !important;
    border-radius: 20px !important;
  }
}

/* =========================================================================
   NEXUS — Modal / profil stacking hard-fix
   ========================================================================= */
#modal-root.settings-root-active {
  position: relative !important;
  z-index: 5000 !important;
}
#modal-root.settings-root-active > .settings-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1 !important;
}


/* Site geneli yönetici duyuruları */
.site-announcement-stack{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:2147482500;width:min(720px,calc(100vw - 28px));display:flex;flex-direction:column;gap:8px;pointer-events:none}.site-announcement{pointer-events:auto;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:11px 12px;border-radius:12px;border:1px solid var(--border-subtle);background:color-mix(in srgb,var(--bg-elevated) 94%,transparent);box-shadow:0 16px 45px rgba(0,0,0,.28);backdrop-filter:blur(16px)}.site-announcement-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--brand-soft);color:var(--brand-hover)}.site-announcement-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.site-announcement-copy strong{font-size:13.5px}.site-announcement-copy span{font-size:12.5px;color:var(--text-secondary);white-space:pre-wrap}.site-announcement-warning{border-color:rgba(240,185,90,.38)}.site-announcement-warning .site-announcement-icon{color:#f0b95a;background:rgba(240,185,90,.12)}.site-announcement-danger{border-color:rgba(255,84,112,.38)}.site-announcement-danger .site-announcement-icon{color:var(--status-dnd);background:rgba(255,84,112,.12)}.site-announcement-success{border-color:rgba(47,224,138,.38)}.site-announcement-success .site-announcement-icon{color:var(--status-online);background:rgba(47,224,138,.12)}
