/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #07090d;
  --panel: #0e1219;
  --panel-2: #151b24;
  --line: #283342;
  --text: #f6f8fb;
  --muted: #95a2b3;
  --brand: #0060ff;
  --brand-2: #0060ff;
  --green: #42d392;
  --danger: #ff5f73;
  --shadow: 0 28px 70px #00000057;
}

html {
  scroll-behavior: smooth;
  background: #07090d;
}

body {
  letter-spacing: 0;
  line-height: 1.8;
}

.marketing-site {
  overflow: hidden;
}

.site-header {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #0000;
}

.site-header.scrolled {
  border-color: var(--line);
  background: #07090de0;
}

.site-logo b {
  letter-spacing: -.06em;
  font-size: 1.18rem;
}

.site-logo em {
  color: var(--brand);
  font-style: normal;
}

.button, .register-button, .auth-submit {
  background: var(--brand) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 28px #0060ff38 !important;
}

.button:hover, .register-button:hover, .auth-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.button-ghost {
  box-shadow: none !important;
  background: none !important;
  border: 1px solid #344254 !important;
}

.hero-section {
  align-items: center;
  min-height: 680px;
}

.hero-section:before {
  content: "";
  pointer-events: none;
  background-image: linear-gradient(#ffffff08 1px, #0000 1px), linear-gradient(90deg, #ffffff08 1px, #0000 1px);
  background-size: 42px 42px;
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(#000, #0000 80%);
  mask-image: linear-gradient(#000, #0000 80%);
}

.hero-copy h1 {
  letter-spacing: -.065em;
  font-weight: 900;
}

.hero-copy h1 em, .section-heading h2 em {
  color: var(--brand);
  background: none;
}

.hero-badge, .section-kicker {
  color: #b9d4ff !important;
  background: #0060ff14 !important;
  border-color: #0060ff73 !important;
}

.app-preview, .voice-visual, .feature-card {
  box-shadow: var(--shadow);
  background: #10161f !important;
  border-color: #273445 !important;
}

.feature-card {
  border-radius: 16px !important;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand) !important;
}

.feature-icon {
  color: #68a4ff !important;
  background: #0d234d !important;
}

.cta-section {
  border: 1px solid #1f5ebb;
  background: #061b42 !important;
}

.cta-section:before {
  background-image: linear-gradient(#ffffff14 1px, #0000 1px), linear-gradient(90deg, #ffffff14 1px, #0000 1px) !important;
  background-size: 28px 28px !important;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #07090d !important;
}

.auth-modern {
  min-height: 100dvh;
  background: #07090d !important;
}

.auth-bg {
  background-image: linear-gradient(#0060ff14 1px, #0000 1px), linear-gradient(90deg, #0060ff14 1px, #0000 1px) !important;
  background-size: 44px 44px !important;
}

.auth-modern-card {
  box-shadow: var(--shadow) !important;
  background: #0d131c !important;
  border: 1px solid #29384a !important;
  border-radius: 20px !important;
}

.auth-modern-card input {
  background: #080c12 !important;
  border-color: #344254 !important;
}

.auth-modern-card input:focus {
  box-shadow: 0 0 0 3px #0060ff26;
  border-color: #0060ff !important;
}

.auth-eyebrow, .auth-modern-card header > span {
  color: #78aeff !important;
}

.auth-float {
  background: #121b27 !important;
  border-color: #2b3d51 !important;
}

.auth-back {
  color: #bdd6ff !important;
}

@media (max-width: 760px) {
  .hero-section {
    min-height: auto;
    padding-block: 105px 48px;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .site-header {
    padding-inline: 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr !important;
  }

  .auth-modern {
    padding: 20px !important;
  }

  .auth-intro {
    display: none;
  }

  .auth-modern-card {
    width: min(100%, 460px);
    margin: auto;
  }

  .auth-back {
    top: 20px !important;
    right: 20px !important;
  }
}

* {
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  min-height: 100%;
  color: var(--text);
  margin: 0;
  font-family: Vazirmatn, system-ui, sans-serif;
}

button, input, textarea {
  font: inherit;
}

button, a {
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

.auth-page {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .65fr);
  align-items: center;
  gap: 5vw;
  min-height: 100vh;
  padding: 7vw;
  display: grid;
}

.auth-hero {
  max-width: 760px;
}

.brand-mark {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 19px;
  place-items: center;
  width: 58px;
  height: 58px;
  font-size: 24px;
  display: grid;
  box-shadow: 0 18px 50px #4d5fff59;
}

.eyebrow {
  color: #8e93ff;
  letter-spacing: .15em;
  font-size: 12px;
  font-weight: 800;
}

.auth-hero h1 {
  margin: 24px 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.05;
}

.auth-hero > p:last-child {
  color: var(--muted);
  max-width: 650px;
  font-size: 18px;
}

.auth-card {
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  background: linear-gradient(150deg, #222534f0, #10121bf0);
  border-radius: 30px;
  padding: 32px;
  box-shadow: 0 35px 90px #00000061;
}

.auth-tabs {
  background: #10121a;
  border-radius: 14px;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  display: grid;
}

.auth-tabs button {
  color: var(--muted);
  background: none;
  border-radius: 10px;
  padding: 10px;
}

.auth-tabs .active {
  color: #fff;
  background: #262a3a;
}

.auth-card h2 {
  margin: 28px 0 20px;
}

.auth-card form {
  gap: 16px;
  display: grid;
}

.auth-card label {
  color: #c8ccda;
  gap: 7px;
  font-size: 13px;
  display: grid;
}

.auth-card input {
  border: 1px solid var(--line);
  color: #fff;
  background: #0f1119;
  border-radius: 12px;
  outline: 0;
  padding: 13px;
}

.auth-card input:focus {
  border-color: var(--brand);
}

.primary-button, .state-page button {
  background: linear-gradient(135deg, var(--brand), #6657e8);
  color: #fff;
  border-radius: 12px;
  padding: 13px;
  font-weight: 800;
}

.form-error {
  color: #ff93a1;
  background: #ff4d631a;
  border-radius: 10px;
  margin: 0;
  padding: 10px;
}

.app-shell {
  direction: ltr;
  grid-template-columns: 72px 280px minmax(0, 1fr) 250px;
  height: 100dvh;
  display: grid;
  overflow: hidden;
}

.app-shell > * {
  direction: rtl;
}

.server-rail {
  border-left: 1px solid var(--line);
  background: #0a0b11f0;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  display: flex;
}

.server-orb, .home-orb {
  background: #202331;
  border-radius: 16px;
  place-items: center;
  width: 48px;
  height: 48px;
  text-decoration: none;
  transition: all .18s;
  display: grid;
  position: relative;
}

.server-orb:hover, .server-orb.active, .home-orb:hover {
  background: linear-gradient(135deg, var(--brand), #5d8cff);
  border-radius: 13px;
}

.server-orb.active:before {
  content: "";
  background: #fff;
  border-radius: 5px;
  width: 4px;
  height: 28px;
  position: absolute;
  left: -12px;
}

.channel-sidebar, .member-sidebar {
  background: var(--panel);
  border-left: 1px solid var(--line);
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.channel-sidebar > header, .channel-header, .member-sidebar > header {
  border-bottom: 1px solid var(--line);
  align-items: center;
  height: 64px;
  padding: 0 16px;
  display: flex;
}

.channel-sidebar > header {
  justify-content: space-between;
}

.channel-sidebar > header small {
  color: var(--muted);
  letter-spacing: .15em;
  font-size: 9px;
  display: block;
}

.channel-sidebar button, .header-actions button, .composer button {
  color: var(--muted);
  background: none;
}

.channel-group {
  padding: 15px 9px;
}

.channel-group h2 {
  color: var(--muted);
  text-transform: uppercase;
  align-items: center;
  gap: 7px;
  padding: 0 7px;
  font-size: 11px;
  display: flex;
}

.channel-group h2 button {
  margin-right: auto;
}

.channel-link {
  color: var(--muted);
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  margin: 2px 0;
  padding: 8px 10px;
  text-decoration: none;
  display: flex;
}

.channel-link:hover, .channel-link.active {
  color: #fff;
  background: #fff1;
}

.user-dock {
  background: #00000038;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 10px;
  display: flex;
}

.user-dock > div {
  flex: 1;
  min-width: 0;
}

.user-dock b, .user-dock small {
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
}

.user-dock small {
  color: var(--muted);
  font-size: 11px;
}

.avatar {
  background: linear-gradient(135deg, #6a59ff, #31bcec);
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  font-weight: 800;
  display: grid;
  position: relative;
}

.avatar.small {
  width: 39px;
  height: 39px;
}

.avatar i {
  background: #606575;
  border: 3px solid #171923;
  border-radius: 50%;
  width: 11px;
  height: 11px;
  position: absolute;
  bottom: -1px;
  right: -1px;
}

.avatar i.online {
  background: var(--green);
}

.content-column {
  background: #11131bb3;
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.channel-header {
  gap: 11px;
}

.channel-header > div:nth-child(3) {
  min-width: 0;
}

.channel-header h1, .channel-header p {
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0;
  overflow: hidden;
}

.channel-header h1 {
  font-size: 16px;
}

.channel-header p {
  color: var(--muted);
  font-size: 11px;
}

.channel-symbol {
  color: var(--muted);
  font-size: 23px;
}

.header-actions {
  align-items: center;
  gap: 4px;
  margin-right: auto;
  display: flex;
}

.header-actions button {
  padding: 9px;
  font-size: 17px;
}

.search-box {
  border: 1px solid var(--line);
  background: #0b0c12;
  border-radius: 9px;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 10px;
  display: flex;
}

.search-box input {
  color: #fff;
  background: none;
  border: 0;
  outline: 0;
  width: 135px;
}

.message-list {
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
  padding: 22px 18px;
  display: flex;
  overflow: auto;
}

.message {
  border-radius: 8px;
  gap: 12px;
  padding: 9px 8px;
  display: flex;
}

.message:hover {
  background: #ffffff06;
}

.message header {
  align-items: baseline;
  gap: 8px;
  display: flex;
}

.message time, .message header small {
  color: var(--muted);
  font-size: 10px;
}

.message p {
  white-space: pre-wrap;
  margin: 2px 0;
}

.empty-chat {
  margin-top: auto;
}

.empty-chat > span {
  background: #272a38;
  border-radius: 50%;
  place-items: center;
  width: 72px;
  height: 72px;
  font-size: 38px;
  display: grid;
}

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

.composer {
  border: 1px solid var(--line);
  background: #272a38;
  border-radius: 14px;
  align-items: flex-end;
  gap: 8px;
  margin: 0 18px 18px;
  padding: 8px;
  display: flex;
}

.composer textarea {
  resize: none;
  color: #fff;
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  padding: 7px;
}

.member-sidebar {
  padding-bottom: 12px;
}

.member-sidebar header {
  justify-content: space-between;
}

.member-row {
  text-align: right;
  color: var(--muted);
  background: none;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  margin: 2px 8px;
  padding: 8px 14px;
  display: flex;
}

.member-row:hover {
  color: #fff;
  background: #ffffff0d;
}

.member-row b, .member-row small {
  display: block;
}

.member-row small {
  font-size: 10px;
}

.state-page {
  text-align: center;
  place-content: center;
  justify-items: center;
  gap: 12px;
  min-height: 100vh;
  display: grid;
}

.state-page i {
  color: var(--danger);
  font-size: 35px;
}

.loader {
  border: 3px solid #303444;
  border-top-color: var(--brand);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: .8s linear infinite spin;
}

.mobile-only, .mobile-scrim {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1000px) {
  .app-shell {
    grid-template-columns: 68px 260px minmax(0, 1fr);
  }

  .member-sidebar {
    z-index: 30;
    width: min(310px, 85vw);
    transition: all .2s;
    position: fixed;
    inset: 0 0 0 auto;
    transform: translateX(110%);
  }

  .member-sidebar.mobile-open {
    transform: none;
  }

  .mobile-only {
    display: inline-grid;
  }

  .mobile-scrim {
    z-index: 20;
    background: #0000008c;
    display: block;
    position: fixed;
    inset: 0;
  }
}

@media (max-width: 700px) {
  .auth-page {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .auth-hero {
    display: none;
  }

  .auth-card {
    padding: 24px;
  }

  .app-shell {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .server-rail {
    padding-inline: 5px;
  }

  .server-orb, .home-orb {
    width: 44px;
    height: 44px;
  }

  .channel-sidebar {
    z-index: 31;
    width: min(300px, 100vw - 58px);
    transition: all .2s;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 58px;
    transform: translateX(110%);
  }

  .channel-sidebar.mobile-open {
    transform: none;
  }

  .search-box {
    display: none;
  }

  .channel-header {
    padding-inline: 10px;
  }

  .channel-header p {
    display: none;
  }

  .message-list {
    padding-inline: 8px;
  }

  .composer {
    margin: 0 8px 8px;
  }

  .mobile-scrim {
    right: 58px;
  }
}

/* [project]/src/app/mobile-fixes.css [app-client] (css) */
.inline-error {
  color: #ff9aaa;
  background: #ff5f731f;
  border-radius: 9px;
  margin: 0 18px 8px;
  padding: 8px 12px;
  font-size: 12px;
}

.channel-item {
  align-items: center;
  display: flex;
  position: relative;
}

.channel-item .channel-link {
  flex: 1;
  min-width: 0;
  padding-left: 34px;
}

.channel-pin {
  color: #777f94;
  opacity: 0;
  background: none;
  border-radius: 7px;
  place-items: center;
  width: 27px;
  height: 27px;
  display: grid;
  position: absolute;
  left: 7px;
}

.channel-item:hover .channel-pin, .channel-pin:focus-visible, .channel-pin.active {
  opacity: 1;
}

.channel-pin.active {
  color: #a99fff;
}

.channel-link.unread {
  color: #f5f6fb;
  font-weight: 750;
}

.channel-link.unread:before {
  content: "";
  background: #f5f6fb;
  border-radius: 0 4px 4px 0;
  width: 4px;
  height: 9px;
  position: absolute;
  right: -9px;
}

.mention-badge {
  color: #fff;
  background: #f04b62;
  border-radius: 9px;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-right: auto;
  padding: 0 5px;
  font-size: 10px;
  display: grid;
}

.message-list {
  scroll-behavior: smooth;
  justify-content: flex-start;
}

.message-list .empty-chat {
  margin-top: auto;
}

.load-older {
  border: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff0a;
  border-radius: 9px;
  align-self: center;
  margin: 4px auto 18px;
  padding: 7px 13px;
}

.message {
  width: 100%;
  position: relative;
}

.message.mentioned {
  background: linear-gradient(90deg, #faa81a1c, #0000);
  border-right: 2px solid #faa81a;
}

.message-body {
  flex: 1;
  min-width: 0;
}

.message-toolbar {
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  background: #1c1f2a;
  border-radius: 9px;
  padding: 3px;
  transition: all .15s;
  display: flex;
  position: absolute;
  top: -12px;
  left: 14px;
  transform: translateY(4px);
  box-shadow: 0 8px 24px #00000047;
}

.message:hover .message-toolbar, .message:focus-within .message-toolbar {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.message-toolbar button {
  min-width: 30px;
  height: 29px;
  color: var(--muted);
  background: none;
  border-radius: 6px;
}

.message-toolbar button:hover {
  color: #fff;
  background: #ffffff12;
}

.message-toolbar button.danger:hover, .context-menu button.danger {
  color: #ff7184;
}

.reply-reference {
  max-width: min(560px, 80vw);
  color: var(--muted);
  background: none;
  align-items: center;
  gap: 7px;
  padding: 0 0 5px;
  font-size: 11px;
  display: flex;
  overflow: hidden;
}

.reply-reference span {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.reaction-list {
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
  display: flex;
}

.reaction-list button {
  border: 1px solid var(--line);
  color: #bec3d2;
  background: #ffffff09;
  border-radius: 8px;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 8px;
  display: flex;
}

.reaction-list button.mine {
  color: #fff;
  background: #7c6cff24;
  border-color: #7c6cffcc;
}

.message-attachment {
  border: 1px solid var(--line);
  width: min(430px, 100%);
  color: var(--text);
  background: #0000002e;
  border-radius: 10px;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  padding: 10px;
  text-decoration: none;
  display: flex;
}

.message-attachment span {
  flex: 1;
  min-width: 0;
}

.message-attachment b, .message-attachment small {
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
}

.message-attachment small, .typing-line {
  color: var(--muted);
  font-size: 10px;
}

.typing-line {
  min-height: 18px;
  padding: 2px 20px;
}

.reply-banner {
  color: #c7cbd8;
  background: #20232f;
  border-radius: 12px 12px 0 0;
  grid-template-columns: 1fr auto;
  gap: 1px 10px;
  margin: 0 18px -7px;
  padding: 9px 12px 15px;
  font-size: 11px;
  display: grid;
}

.reply-banner p {
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 70vw;
  margin: 0;
  overflow: hidden;
}

.reply-banner button, .inline-error button {
  color: var(--muted);
  background: none;
  grid-area: 1 / 2 / span 2;
}

.inline-error {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.context-menu {
  z-index: 100;
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: #12141dfa;
  border-radius: 12px;
  width: 205px;
  padding: 7px;
  position: fixed;
  box-shadow: 0 20px 55px #00000073;
}

.context-menu > button {
  color: #d9dce6;
  background: none;
  border-radius: 7px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 9px 10px;
  display: flex;
}

.context-menu > button:hover {
  background: var(--brand);
  color: #fff;
}

.context-reactions {
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  margin-bottom: 5px;
  padding-bottom: 6px;
  display: grid;
}

.context-reactions button {
  background: #ffffff0a;
  border-radius: 7px;
  height: 32px;
}

.modal-backdrop {
  z-index: 120;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #030408b8;
  place-items: center;
  padding: 18px;
  display: grid;
  position: fixed;
  inset: 0;
}

.custom-modal {
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #242734, #171923);
  border-radius: 20px;
  width: min(500px, 100%);
  padding: 20px;
  box-shadow: 0 35px 90px #00000080;
}

.custom-modal > header {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.custom-modal h2 {
  margin: 0 0 15px;
  font-size: 18px;
}

.custom-modal header button, .modal-actions > button:not(.primary-button):not(.danger-button) {
  color: var(--muted);
  background: none;
}

.custom-modal blockquote {
  border-right: 3px solid var(--brand);
  color: #c9cdda;
  background: #0003;
  border-radius: 8px;
  margin: 12px 0;
  padding: 12px;
}

.modal-textarea {
  resize: vertical;
  border: 1px solid var(--line);
  color: #fff;
  background: #10121a;
  border-radius: 11px;
  outline: 0;
  width: 100%;
  min-height: 120px;
  padding: 12px;
}

.modal-textarea:focus {
  border-color: var(--brand);
}

.modal-actions {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  display: flex;
}

.modal-actions button {
  border-radius: 9px;
  padding: 9px 13px;
}

.danger-button {
  color: #fff;
  background: #e5485f;
  font-weight: 750;
}

.avatar img {
  object-fit: cover;
  border-radius: inherit;
  width: 100%;
  height: 100%;
}

.settings-backdrop {
  z-index: 150;
  background: #0b0c12;
  position: fixed;
  inset: 0;
}

.settings-window {
  direction: ltr;
  grid-template-columns: minmax(220px, 30vw) minmax(0, 1fr);
  width: 100%;
  height: 100%;
  display: grid;
}

.settings-window > aside, .settings-window > main {
  direction: rtl;
}

.settings-window > aside {
  border-left: 1px solid var(--line);
  background: #11131b;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px 24px 30px max(24px, 4vw);
  display: flex;
}

.settings-window > aside > header {
  color: #fff;
  align-items: center;
  gap: 10px;
  padding: 0 12px 25px;
  font-size: 17px;
  display: flex;
}

.settings-window > aside > header i {
  color: var(--brand);
}

.settings-window > aside nav {
  gap: 4px;
  width: min(240px, 100%);
  display: grid;
}

.settings-window > aside nav button {
  color: var(--muted);
  text-align: right;
  background: none;
  border-radius: 9px;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  display: flex;
}

.settings-window > aside nav button:hover, .settings-window > aside nav button.active {
  color: #fff;
  background: #fff1;
}

.settings-window > main {
  background: radial-gradient(circle at 90% 0, #7c6cff14, #0000 30%), #171923;
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.settings-window > main > header {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  height: 92px;
  padding: 20px clamp(24px, 5vw, 70px);
  display: flex;
}

.settings-window > main > header small {
  color: var(--brand);
  letter-spacing: .18em;
  font-size: 9px;
}

.settings-window > main > header h2 {
  margin: 3px 0 0;
  font-size: 19px;
}

.settings-window > main > header button {
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  color: var(--muted);
  background: none;
  border-radius: 50%;
  place-items: center;
  display: grid;
}

.settings-window > main > header button span {
  margin-top: 62px;
  font-size: 8px;
  position: absolute;
}

.settings-scroll {
  flex: 1;
  padding: 34px clamp(24px, 5vw, 70px) 90px;
  overflow: auto;
}

.settings-form {
  gap: 22px;
  width: min(760px, 100%);
  display: grid;
}

.section-title {
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}

.section-title h3, .section-title p {
  margin: 0;
}

.section-title p {
  color: var(--muted);
  margin-top: 4px;
  font-size: 12px;
}

.field-label, .field-title {
  color: #c7cbd7;
  gap: 8px;
  font-size: 11px;
  font-weight: 750;
  display: grid;
}

.field-label input, .field-label textarea, .inline-create input:not([type="color"]) {
  border: 1px solid var(--line);
  color: #fff;
  resize: vertical;
  background: #10121a;
  border-radius: 10px;
  outline: 0;
  width: 100%;
  padding: 12px 13px;
}

.field-label input:focus, .field-label textarea:focus, .inline-create input:focus {
  border-color: var(--brand);
}

.profile-preview {
  border: 1px solid var(--line);
  background: #11131b;
  border-radius: 18px;
  min-height: 215px;
  position: relative;
  overflow: hidden;
}

.profile-banner {
  background: linear-gradient(120deg, var(--brand), #28b9db);
  height: 85px;
}

.profile-avatar {
  border: 6px solid #11131b;
  width: 74px;
  height: 74px;
  font-size: 25px;
  position: absolute;
  top: 51px;
  right: 25px;
}

.profile-preview > div:last-child {
  padding: 48px 25px 18px;
}

.profile-preview h3, .profile-preview p {
  margin: 0;
}

.profile-preview p, .profile-preview small {
  color: var(--muted);
}

.choice-grid, .chip-list, .role-choice {
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
  display: flex;
}

.choice-grid button, .chip-list button, .role-choice button {
  border: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff06;
  border-radius: 9px;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  display: flex;
}

.choice-grid button.selected, .chip-list button.selected, .role-choice button.selected {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: #fff;
}

.chip-list button i[style], .role-choice button i, .role-list i[style] {
  border-radius: 50%;
  width: 9px;
  height: 9px;
}

.file-choice {
  color: #cbd0dc;
  cursor: pointer;
  border: 1px dashed #ffffff2e;
  border-radius: 10px;
  align-items: center;
  gap: 9px;
  width: max-content;
  padding: 10px 13px;
  display: flex;
}

.file-choice input {
  display: none;
}

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

.theme-card {
  color: #d7dae4;
  background: #10121a;
  border: 2px solid #0000;
  border-radius: 12px;
  padding: 7px;
}

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

.theme-card > span {
  background: linear-gradient(120deg, #10131d 35%, #242836 35% 68%, #191c27 68%);
  border-radius: 8px;
  height: 70px;
  margin-bottom: 7px;
  display: block;
}

.theme-card.graphite > span {
  filter: grayscale() brightness(1.25);
}

.theme-card.cyber > span {
  background: linear-gradient(120deg, #070b14 35%, #102d3b 35% 68%, #241343 68%);
}

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

input[type="color"] {
  border: 1px solid var(--line);
  background: #10121a;
  border-radius: 9px;
  width: 42px;
  height: 38px;
  padding: 3px;
  overflow: hidden;
}

.range-field {
  color: #c7cbd7;
  gap: 12px;
  font-size: 12px;
  display: grid;
}

input[type="range"] {
  appearance: none;
  background: #303442;
  border-radius: 5px;
  height: 5px;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  background: var(--brand);
  border: 4px solid #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  box-shadow: 0 2px 8px #00000059;
}

.toggle-row {
  color: #fff;
  text-align: right;
  background: none;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  display: flex;
}

.toggle-row span b, .toggle-row span small {
  display: block;
}

.toggle-row span small {
  color: var(--muted);
  margin-top: 3px;
}

.toggle-row > i {
  background: #3a3e4d;
  border-radius: 13px;
  width: 39px;
  height: 23px;
  padding: 3px;
  transition: all .15s;
}

.toggle-row > i em {
  background: #fff;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  transition: all .15s;
  display: block;
}

.toggle-row > i.active {
  background: var(--brand);
}

.toggle-row > i.active em {
  transform: translateX(-16px);
}

.save-bar {
  border: 1px solid var(--line);
  color: #76dba9;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  background: #10121af0;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  padding: 10px 13px;
  font-size: 11px;
  display: flex;
  position: sticky;
  bottom: 0;
  box-shadow: 0 12px 35px #00000052;
}

.server-identity {
  border: 1px solid var(--line);
  background: #ffffff06;
  border-radius: 14px;
  align-items: center;
  gap: 14px;
  padding: 15px;
  display: flex;
}

.server-identity > span {
  background: linear-gradient(135deg, var(--brand), #3abde2);
  border-radius: 18px;
  place-items: center;
  width: 58px;
  height: 58px;
  font-size: 21px;
  font-weight: 800;
  display: grid;
}

.server-identity b, .server-identity small {
  display: block;
}

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

.inline-create {
  grid-template-columns: minmax(0, 1fr) 45px auto;
  gap: 8px;
  display: grid;
}

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

.role-list > div {
  border: 1px solid var(--line);
  background: #ffffff06;
  border-radius: 10px;
  grid-template-columns: 10px minmax(120px, 1fr) auto 34px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  display: grid;
}

.role-list code {
  color: var(--muted);
  font-size: 10px;
}

.icon-danger {
  color: #ff7184;
  background: none;
  border-radius: 7px;
  height: 30px;
}

.member-role {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 10px;
  padding: 12px;
  display: flex;
}

.member-role > div:nth-child(2) {
  min-width: 110px;
}

.member-role small {
  color: var(--muted);
  display: block;
}

.member-role .role-choice {
  margin: 0 0 0 auto;
}

.member-role .role-choice button {
  padding: 6px 8px;
  font-size: 10px;
}

.permission-list {
  gap: 4px;
  display: grid;
}

.permission-list > div {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 13px 4px;
  display: flex;
}

.permission-list b, .permission-list small {
  display: block;
}

.permission-list small {
  color: var(--muted);
  margin-top: 3px;
}

.tri-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  overflow: hidden;
}

.tri-state button {
  width: 36px;
  height: 32px;
  color: var(--muted);
  background: #11131b;
}

.tri-state .deny.active {
  color: #fff;
  background: #d94b60;
}

.tri-state .inherit.active {
  color: #fff;
  background: #555b6e;
}

.tri-state .allow.active {
  color: #fff;
  background: #2da66f;
}

html[data-theme="graphite"] {
  --bg: #151515;
  --panel: #232323f0;
  --panel-2: #2a2a2ae6;
}

html[data-theme="cyber"] {
  --bg: #050914;
  --panel: #0a1623f0;
  --panel-2: #15102de6;
  --brand-2: #00e5ff;
}

html[data-density="compact"] .message {
  padding-block: 4px;
}

html[data-density="spacious"] .message {
  padding-block: 14px;
}

html.reduced-motion *, html.reduced-motion :before, html.reduced-motion :after {
  scroll-behavior: auto !important;
  transition-duration: .001ms !important;
  animation-duration: .001ms !important;
}

.direct-shell {
  direction: ltr;
  grid-template-columns: 72px 290px minmax(0, 1fr);
  height: 100dvh;
  display: grid;
  overflow: hidden;
}

.direct-shell > * {
  direction: rtl;
}

.direct-sidebar {
  border-left: 1px solid var(--line);
  background: var(--panel);
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.direct-sidebar > header {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 7px;
  height: 64px;
  padding: 10px;
  display: flex;
}

.direct-sidebar > header label {
  border: 1px solid var(--line);
  min-width: 0;
  color: var(--muted);
  background: #0d0f16;
  border-radius: 8px;
  flex: 1;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  display: flex;
}

.direct-sidebar > header input {
  color: #fff;
  background: none;
  border: 0;
  outline: 0;
  width: 100%;
  min-width: 0;
  height: 35px;
}

.direct-sidebar > header > button {
  background: var(--brand);
  color: #fff;
  border-radius: 9px;
  width: 37px;
  height: 37px;
}

.direct-nav {
  color: var(--muted);
  border-radius: 9px;
  align-items: center;
  gap: 12px;
  margin: 10px;
  padding: 11px 12px;
  text-decoration: none;
  display: flex;
}

.direct-nav:hover, .direct-nav.active {
  color: #fff;
  background: #ffffff0f;
}

.direct-nav b, .friends-header nav button b {
  color: #fff;
  background: #e34d63;
  border-radius: 9px;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-right: auto;
  padding: 0 5px;
  font-size: 9px;
  display: inline-grid;
}

.direct-list-title {
  color: var(--muted);
  text-transform: uppercase;
  justify-content: space-between;
  padding: 8px 16px;
  font-size: 10px;
  display: flex;
}

.direct-list-title button {
  color: var(--muted);
  background: none;
}

.direct-list {
  flex: 1;
  padding: 0 8px;
  overflow: auto;
}

.direct-list > button {
  width: 100%;
  color: var(--muted);
  text-align: right;
  background: none;
  border-radius: 9px;
  align-items: center;
  gap: 9px;
  padding: 8px;
  display: flex;
}

.direct-list > button:hover, .direct-list > button.active {
  color: #fff;
  background: #ffffff0f;
}

.direct-list > button > span:last-child {
  min-width: 0;
}

.direct-list b, .direct-list small {
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
}

.direct-list small {
  color: var(--muted);
  margin-top: 2px;
  font-size: 10px;
}

.direct-content {
  background: #11131bb8;
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.direct-content > header {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 17px;
  display: flex;
}

.direct-content > header small {
  color: var(--muted);
  font-size: 10px;
  display: block;
}

.direct-header-actions {
  gap: 3px;
  margin-right: auto;
  display: flex;
}

.direct-header-actions button {
  width: 37px;
  height: 37px;
  color: var(--muted);
  background: none;
  border-radius: 9px;
  font-size: 16px;
}

.direct-header-actions button:hover {
  color: #fff;
  background: #ffffff0f;
}

.dm-messages {
  flex: 1;
  padding: 18px;
  overflow: auto;
}

.dm-messages article {
  border-radius: 9px;
  gap: 11px;
  padding: 8px;
  display: flex;
}

.dm-messages article:hover {
  background: #ffffff06;
}

.dm-messages article > div {
  min-width: 0;
}

.dm-messages article header {
  align-items: baseline;
  gap: 8px;
  display: flex;
}

.dm-messages article time {
  color: var(--muted);
  font-size: 9px;
}

.dm-messages article p {
  white-space: pre-wrap;
  margin: 3px 0;
}

.dm-empty {
  margin-top: auto;
  padding-top: 25vh;
}

.dm-empty .avatar {
  width: 75px;
  height: 75px;
  font-size: 26px;
}

.dm-empty h2, .dm-empty p {
  margin: 8px 0 0;
}

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

.dm-composer {
  flex: none;
}

.friends-header > i {
  color: var(--muted);
  font-size: 18px;
}

.friends-header nav {
  gap: 5px;
  margin-right: 15px;
  display: flex;
}

.friends-header nav button {
  color: var(--muted);
  background: none;
  border-radius: 7px;
  padding: 7px 10px;
}

.friends-header nav button.active {
  color: #fff;
  background: #ffffff12;
}

.friends-header nav button.add-friend {
  color: #fff;
  background: #2da66f;
}

.friends-body {
  flex: 1;
  padding: 25px clamp(18px, 4vw, 45px);
  overflow: auto;
}

.friends-body h3 {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
}

.friend-row {
  border-top: 1px solid var(--line);
  align-items: center;
  gap: 10px;
  padding: 11px 7px;
  display: flex;
}

.friend-row > div {
  flex: 1;
}

.friend-row small {
  color: var(--muted);
  margin-top: 2px;
  display: block;
}

.friend-row > button {
  width: 36px;
  height: 36px;
  color: var(--muted);
  background: #20232e;
  border-radius: 50%;
}

.friend-row > button.accept {
  color: #42d392;
}

.friend-form {
  border: 1px solid var(--line);
  background: #10121a;
  border-radius: 11px;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 7px;
  display: flex;
}

.friend-form span {
  color: var(--muted);
  font-size: 18px;
}

.friend-form input {
  color: #fff;
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
}

.toast {
  z-index: 180;
  border: 1px solid var(--line);
  background: #20232e;
  border-radius: 11px;
  align-items: center;
  gap: 15px;
  padding: 11px 14px;
  display: flex;
  position: fixed;
  bottom: 20px;
  left: 20px;
  box-shadow: 0 15px 40px #0006;
}

.toast button {
  color: var(--muted);
  background: none;
}

@media (max-width: 700px) {
  .channel-sidebar {
    right: 0;
  }

  .message-toolbar {
    display: none;
  }

  .reply-banner {
    margin-inline: 8px;
  }

  .settings-window {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .settings-window > aside {
    align-items: center;
    padding: 24px 8px;
  }

  .settings-window > aside > header b, .settings-window > aside nav button:not(.active) {
    font-size: 0;
  }

  .settings-window > aside nav button {
    justify-content: center;
    min-height: 43px;
  }

  .settings-window > aside nav button i {
    font-size: 16px;
  }

  .settings-window > main > header, .settings-scroll {
    padding-inline: 16px;
  }

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

  .inline-create {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .inline-create .primary-button {
    grid-column: 1 / -1;
  }

  .member-role {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .member-role .role-choice {
    width: 100%;
  }

  .direct-shell {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .direct-sidebar {
    z-index: 35;
    transition: all .2s;
    position: fixed;
    inset: 0 58px 0 0;
    transform: translateX(110%);
  }

  .direct-sidebar.mobile-open {
    transform: none;
  }

  .friends-header {
    overflow-x: auto;
  }

  .friends-header nav {
    margin-right: 4px;
  }

  .friends-header nav button {
    white-space: nowrap;
    padding-inline: 7px;
  }

  .friend-form {
    flex-wrap: wrap;
  }

  .friend-form .primary-button {
    width: 100%;
  }
}

/* [project]/src/app/design-system.css [app-client] (css) */
:root {
  --bg: #070810;
  --panel: #10131fc7;
  --panel-2: #181c2cb8;
  --panel-3: #1f2438a3;
  --line: #b8c5ff1c;
  --line-strong: #b8c5ff38;
  --text: #f6f7ff;
  --muted: #99a1b8;
  --brand: #7c6cff;
  --brand-2: #31c8ff;
  --brand-soft: #7c6cff24;
  --green: #42d392;
  --danger: #ff6077;
  --warning: #ffc857;
  --glass-blur: blur(22px) saturate(135%);
  --shadow-soft: 0 18px 60px #00000047;
  --shadow-float: 0 24px 80px #0000007a, 0 0 0 1px #ffffff06 inset;
  --radius-sm: 10px;
  --radius-md: 15px;
  --radius-lg: 22px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

html {
  background: var(--bg);
  scrollbar-color: #8b84d06b transparent;
  scrollbar-width: thin;
}

body {
  font-synthesis: none;
  text-rendering: optimizelegibility;
  -webkit-tap-highlight-color: transparent;
  background: radial-gradient(58% 44% at 7% -6%, #6a4eff3b, #0000 72%), radial-gradient(48% 40% at 101% 102%, #1dadff26, #0000 72%), linear-gradient(145deg, #080911 0%, #0a0c16 48%, #070810 100%);
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}

body:before {
  content: "";
  z-index: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(#91a1ff09 1px, #0000 1px), linear-gradient(90deg, #91a1ff09 1px, #0000 1px);
  background-size: 52px 52px;
  position: fixed;
  inset: 0;
  -webkit-mask-image: linear-gradient(#000, #0000 82%);
  mask-image: linear-gradient(#000, #0000 82%);
}

body > * {
  z-index: 1;
  position: relative;
}

::selection {
  color: #fff;
  background: #7c6cff73;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: #8b84d05c padding-box padding-box;
  border: 2px solid #0000;
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #8b84d094;
}

button, a, input, textarea {
  transition: border-color .18s var(--ease-out), background-color .18s var(--ease-out), color .18s var(--ease-out), box-shadow .18s var(--ease-out), transform .18s var(--ease-out), opacity .18s var(--ease-out);
}

button:active:not(:disabled) {
  transform: scale(.97);
}

button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

:where(button, a, input, textarea):focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand-2) 80%, white);
  outline-offset: 3px;
}

:where(input, textarea)::placeholder {
  color: #737b92;
}

.auth-card, .channel-sidebar, .member-sidebar, .direct-sidebar, .content-column, .direct-content, .settings-window, .custom-modal, .context-menu, .toast {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: var(--glass-blur);
  background: linear-gradient(145deg, #191d2dd1, #0c0f19c2);
}

.app-shell, .direct-shell {
  isolation: isolate;
  background: none;
  gap: 10px;
  padding: 10px;
}

.server-rail, .channel-sidebar, .member-sidebar, .content-column, .direct-sidebar, .direct-content {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.server-rail {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: var(--glass-blur);
  background: linear-gradient(#0f111ce6, #090b13d1);
}

.channel-sidebar > header, .channel-header, .member-sidebar > header, .direct-content > header, .friends-header {
  border-color: var(--line);
  background: linear-gradient(90deg, #ffffff06, #0000);
}

.server-orb, .home-orb {
  background: linear-gradient(145deg, #2a2e44eb, #171a29eb);
  border: 1px solid #ffffff12;
  box-shadow: 0 8px 24px #00000038, inset 0 1px #ffffff0d;
}

.server-orb:hover, .server-orb.active, .home-orb:hover, .home-orb.active {
  background: linear-gradient(135deg, var(--brand), #477eff 62%, var(--brand-2));
  border-color: #9689ff8c;
  box-shadow: 0 10px 30px #5a4fff52, 0 0 26px #31c8ff1f;
}

.brand-mark {
  border: 1px solid #fff3;
  position: relative;
  box-shadow: 0 18px 55px #5349ff61, 0 0 50px #31c8ff1f;
}

.brand-mark:after {
  content: "";
  border: 1px solid #ffffff2e;
  border-radius: 14px;
  position: absolute;
  inset: 5px;
}

.auth-page {
  min-height: 100dvh;
}

.auth-hero h1 {
  letter-spacing: -.045em;
  text-wrap: balance;
}

.auth-hero > p:last-child {
  line-height: 1.9;
}

.auth-card {
  box-shadow: var(--shadow-float);
}

.auth-tabs {
  border: 1px solid var(--line);
  background: #05070d8f;
}

.auth-tabs .active {
  background: linear-gradient(135deg, #7c6cff33, #31c8ff1a);
  box-shadow: inset 0 0 0 1px #8579ff2e;
}

.auth-card input, .field-label input, .field-label textarea, .inline-create input, .search-box, .friend-form, .modal-textarea {
  border: 1px solid var(--line);
  background: #05070e94;
  box-shadow: inset 0 1px #ffffff06;
}

.auth-card input:hover, .field-label input:hover, .field-label textarea:hover, .inline-create input:hover {
  border-color: var(--line-strong);
}

.auth-card input:focus, .field-label input:focus, .field-label textarea:focus, .inline-create input:focus, .modal-textarea:focus {
  border-color: color-mix(in srgb, var(--brand) 72%, white);
  box-shadow: 0 0 0 4px var(--brand-soft), inset 0 1px 0 #ffffff09;
  outline: none;
}

.primary-button, .state-page button {
  background: linear-gradient(135deg, var(--brand), #6155e9 55%, #477eff);
  border: 1px solid #ffffff21;
  box-shadow: 0 10px 28px #5b4ff045, inset 0 1px #ffffff1f;
}

.primary-button:hover:not(:disabled), .state-page button:hover {
  filter: brightness(1.09);
  transform: translateY(-1px);
  box-shadow: 0 13px 35px #5b4ff05e;
}

.channel-link, .direct-nav, .direct-list > button, .member-row, .settings-window > aside nav button {
  border: 1px solid #0000;
}

.channel-link:hover, .channel-link.active, .direct-nav:hover, .direct-nav.active, .direct-list > button:hover, .direct-list > button.active, .member-row:hover, .settings-window > aside nav button:hover, .settings-window > aside nav button.active {
  background: linear-gradient(90deg, #7c6cff21, #31c8ff0b);
  border-color: #a499ff1a;
}

.channel-link.active, .direct-nav.active, .direct-list > button.active, .settings-window > aside nav button.active {
  box-shadow: inset 3px 0 var(--brand-2);
  color: #fff;
}

.header-actions button, .channel-sidebar button, .composer button, .direct-header-actions button, .friend-row > button, .settings-window > main > header button {
  border-radius: var(--radius-sm);
}

.header-actions button:hover, .channel-sidebar button:hover, .composer button:hover, .direct-header-actions button:hover {
  color: #fff;
  background: #7c6cff1f;
}

.composer {
  border-color: var(--line-strong);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: linear-gradient(135deg, #252a3fc2, #171b2bb8);
  box-shadow: 0 10px 36px #0000003b, inset 0 1px #ffffff09;
}

.composer:focus-within {
  border-color: #7c6cff7a;
  box-shadow: 0 12px 42px #00000047, 0 0 0 4px #7c6cff14;
}

.message {
  border: 1px solid #0000;
}

.message:hover {
  background: linear-gradient(90deg, #7c6cff0e, #ffffff05);
  border-color: #ffffff09;
}

.message.mentioned {
  background: linear-gradient(90deg, #ffc8571c, #ffc85706);
  border-color: #ffc85729;
}

.avatar {
  overflow: visible;
  box-shadow: 0 5px 18px #00000038, inset 0 1px #ffffff21;
}

.avatar img {
  border-radius: inherit;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.modal-backdrop, .settings-backdrop {
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  background: #03040ac2;
}

.custom-modal, .settings-window {
  box-shadow: var(--shadow-float);
}

.custom-modal {
  border-radius: var(--radius-lg);
}

.context-menu {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-float);
}

.toast {
  border-color: var(--line-strong);
  background: #181c2ce6;
}

.profile-preview, .theme-card, .server-identity, .role-list > div, .member-role, .permission-list > div, .toggle-row, .choice-grid button, .chip-list button {
  border-color: var(--line);
  background-color: #ffffff06;
}

.theme-card:hover, .choice-grid button:hover, .chip-list button:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

input[type="color"] {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: #05070eb3;
  border-radius: 10px;
  padding: 3px;
  overflow: hidden;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 7px;
}

input[type="range"] {
  appearance: none;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 99px;
  height: 5px;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .auth-card, .channel-sidebar, .member-sidebar, .direct-sidebar, .content-column, .direct-content, .settings-window, .custom-modal, .context-menu, .toast {
    background: #141724;
  }
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 68px 248px minmax(0, 1fr);
  }

  .direct-shell {
    grid-template-columns: 68px 260px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .app-shell, .direct-shell {
    gap: 7px;
    padding: 7px;
  }

  .server-rail, .channel-sidebar, .member-sidebar, .content-column, .direct-sidebar, .direct-content {
    border-radius: 18px;
  }

  .channel-header {
    min-height: 60px;
  }

  .header-actions button {
    min-width: 42px;
    min-height: 42px;
  }

  .settings-window {
    border-radius: 20px;
    width: calc(100vw - 20px);
    height: calc(100dvh - 20px);
  }
}

@media (max-width: 700px) {
  .app-shell, .direct-shell {
    padding: max(5px, env(safe-area-inset-top)) max(5px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(5px, env(safe-area-inset-left));
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 5px;
  }

  .server-rail, .content-column, .direct-content {
    border-radius: 16px;
  }

  .server-rail {
    padding-inline: 4px;
  }

  .server-orb, .home-orb {
    border-radius: 14px;
    width: 42px;
    height: 42px;
  }

  .channel-sidebar {
    border-radius: 0 18px 18px 0;
    width: min(318px, 100vw - 54px);
    right: 0;
  }

  .direct-sidebar {
    border-radius: 18px 0 0 18px;
    inset-inline: 0 54px;
  }

  .member-sidebar {
    border-radius: 18px 0 0 18px;
    width: min(310px, 100vw - 54px);
  }

  .channel-header {
    padding-inline: 8px;
  }

  .channel-symbol {
    font-size: 18px;
  }

  .header-actions {
    gap: 0;
  }

  .header-actions button {
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
  }

  .message {
    gap: 9px;
    padding-inline: 5px;
  }

  .composer {
    margin: 0 7px max(7px, env(safe-area-inset-bottom));
    border-radius: 13px;
  }

  .composer button {
    min-width: 40px;
    min-height: 40px;
  }

  .friends-body {
    padding: 18px 12px;
  }

  .settings-backdrop {
    align-items: stretch;
    padding: 0;
  }

  .settings-window {
    border: 0;
    border-radius: 0;
    width: 100vw;
    height: 100dvh;
  }

  .settings-window > main > header {
    padding-top: max(18px, env(safe-area-inset-top));
  }

  .settings-scroll {
    padding-bottom: max(26px, env(safe-area-inset-bottom));
  }

  .custom-modal {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    overflow: auto;
  }

  .toast {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    justify-content: space-between;
  }
}

@media (max-width: 420px) {
  .auth-page {
    padding: max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
  }

  .auth-card {
    border-radius: 22px;
    padding: 20px 16px;
  }

  .friends-header > b {
    display: none;
  }

  .friends-header nav {
    gap: 2px;
  }

  .friends-header nav button {
    font-size: 11px;
  }

  .settings-window {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .settings-window > aside {
    padding-inline: 6px;
  }

  .settings-window > main > header, .settings-scroll {
    padding-inline: 12px;
  }

  .save-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .save-bar .primary-button {
    width: 100%;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .auth-page {
    padding-block: 14px;
  }

  .auth-card {
    padding: 18px 22px;
  }

  .auth-card h2 {
    margin-block: 14px 10px;
  }

  .auth-card form {
    gap: 10px;
  }

  .server-rail {
    overflow-y: auto;
  }

  .channel-sidebar > header, .channel-header, .member-sidebar > header, .direct-content > header {
    height: 52px;
    min-height: 52px;
  }

  .user-dock {
    padding-block: 6px;
  }

  .settings-window {
    height: calc(100dvh - 10px);
  }
}

:root {
  --rail-width: 68px;
  --sidebar-width: 272px;
  --members-width: 244px;
  --activity-width: 292px;
  --header-height: 58px;
  --surface-rail: #080a11f0;
  --surface-side: #121521e0;
  --surface-main: #191c28c7;
  --surface-raised: #272b3bb8;
}

.app-shell, .direct-shell {
  gap: 6px;
  padding: 6px;
}

.app-shell {
  grid-template-columns: var(--rail-width) var(--sidebar-width) minmax(0, 1fr) var(--members-width);
}

.direct-shell.has-conversation {
  grid-template-columns: var(--rail-width) var(--sidebar-width) minmax(0, 1fr);
}

.direct-shell.friends-mode {
  grid-template-columns: var(--rail-width) var(--sidebar-width) minmax(420px, 1fr) var(--activity-width);
}

.server-rail, .channel-sidebar, .member-sidebar, .content-column, .direct-sidebar, .direct-content, .activity-sidebar {
  border-radius: 14px;
}

.server-rail {
  background: linear-gradient(#0d0f19f7, #070910f0);
  gap: 8px;
  padding: 9px 7px;
  position: relative;
}

.server-rail:before {
  content: "";
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  width: 34px;
  height: 1px;
  margin-block: 1px 3px;
}

.server-orb, .home-orb {
  border-radius: 15px;
  flex: none;
  width: 46px;
  height: 46px;
  font-size: 12px;
  font-weight: 800;
}

.server-orb:hover, .server-orb.active, .home-orb:hover, .home-orb.active {
  border-radius: 12px;
  transform: translateY(-1px);
}

.server-orb.active:before {
  background: linear-gradient(var(--brand-2), var(--brand));
  width: 3px;
  height: 30px;
  box-shadow: 0 0 12px color-mix(in srgb, var(--brand) 70%, transparent);
  left: -11px;
}

.channel-sidebar > header, .channel-header, .member-sidebar > header, .direct-sidebar > header, .direct-content > header, .friends-header, .activity-sidebar > header {
  height: var(--header-height);
  min-height: var(--header-height);
  border-bottom: 1px solid #bbc5ff17;
  box-shadow: 0 1px #0000002e;
}

.channel-sidebar > header {
  padding-inline: 15px 10px;
}

.channel-sidebar > header b {
  color: #f8f9ff;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 190px;
  font-size: 13px;
  display: block;
  overflow: hidden;
}

.channel-sidebar > header small {
  color: color-mix(in srgb, var(--brand-2) 62%, var(--muted));
}

.channel-sidebar > header > button {
  width: 36px;
  height: 36px;
}

.channel-group {
  padding: 13px 8px 2px;
}

.channel-group h2 {
  letter-spacing: .035em;
  min-height: 24px;
  margin: 0 0 3px;
  padding-inline: 8px 5px;
  font-size: 10px;
}

.channel-group h2 > i:first-child {
  font-size: 8px;
}

.channel-item {
  position: relative;
}

.channel-link {
  border-radius: 8px;
  min-height: 36px;
  margin: 2px 0;
  padding: 7px 10px;
  font-size: 12px;
}

.channel-link > i {
  text-align: center;
  width: 17px;
}

.channel-link.unread {
  color: #f4f5fc;
  font-weight: 700;
}

.channel-link.unread:before {
  content: "";
  background: #fff;
  border-radius: 0 4px 4px 0;
  width: 3px;
  height: 8px;
  position: absolute;
  right: -8px;
}

.channel-pin {
  opacity: 0;
  transition: opacity .16s var(--ease-out), color .16s var(--ease-out);
}

.channel-item:hover .channel-pin, .channel-pin.active, .channel-pin:focus-visible {
  opacity: 1;
}

.user-dock {
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, #272b40d1, #151826e6);
  min-height: 54px;
  padding: 8px;
  box-shadow: 0 -12px 28px #00000029;
}

.user-dock > button {
  flex: none;
  width: 34px;
  height: 34px;
}

.user-dock > button:hover {
  background: #ffffff12;
}

.channel-header {
  padding-inline: 15px;
}

.channel-header:after {
  content: "";
  inset-inline: 0;
  background: linear-gradient(90deg, #0000, #7c6cff38, #0000);
  height: 1px;
  position: absolute;
  bottom: -1px;
}

.channel-symbol {
  color: #b1b7c9;
  text-align: center;
  width: 28px;
}

.channel-header h1 {
  font-size: 14px;
}

.header-actions button {
  min-width: 38px;
  height: 38px;
}

.search-box {
  background: #05070d9e;
  width: min(230px, 20vw);
}

.search-box input {
  width: 100%;
}

.message-list {
  scrollbar-gutter: stable;
  padding: 20px 12px 12px;
}

.message {
  border-radius: 7px;
  gap: 11px;
  padding: 7px 8px;
}

.message-body {
  min-width: 0;
}

.message header b {
  color: color-mix(in srgb, var(--brand-2) 70%, white);
}

.message p {
  line-height: 1.65;
}

.message-toolbar {
  border-color: var(--line-strong);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: #141724f0;
  border-radius: 9px;
  box-shadow: 0 12px 28px #00000052;
}

.composer {
  border-radius: 11px;
  min-height: 50px;
  margin: 0 14px 14px;
}

.composer textarea {
  max-height: 144px;
  line-height: 1.65;
}

.member-sidebar {
  padding-bottom: 8px;
}

.member-sidebar > header {
  color: var(--muted);
  text-transform: uppercase;
  padding-inline: 14px;
  font-size: 11px;
}

.member-row {
  border-radius: 8px;
  width: calc(100% - 14px);
  min-height: 44px;
  margin-inline: 7px;
  padding: 6px 8px;
}

.member-row > span:last-child {
  text-align: right;
  min-width: 0;
}

.member-row b, .member-row small {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 150px;
  overflow: hidden;
}

.direct-sidebar > header {
  padding: 9px;
}

.direct-sidebar > header label {
  background: #06080eb3;
  height: 36px;
}

.direct-nav {
  min-height: 42px;
  margin: 8px 9px 2px;
}

.direct-list-title {
  letter-spacing: .05em;
  padding: 17px 15px 7px;
}

.direct-list > button {
  border-radius: 8px;
  min-height: 48px;
}

.friends-header {
  padding-inline: 18px;
}

.friends-header nav {
  align-items: center;
}

.friends-header nav button {
  border: 1px solid #0000;
  min-height: 32px;
  padding-inline: 12px;
}

.friends-header nav button.active {
  border-color: var(--line);
  background: #fff1;
}

.friends-body {
  padding: 18px clamp(18px, 3vw, 38px);
}

.friends-body h3 {
  letter-spacing: .055em;
  margin: 10px 0 8px;
}

.friend-row {
  border-top-color: #ffffff0e;
  border-radius: 7px;
  min-height: 58px;
  padding: 8px 9px;
}

.friend-row:hover {
  background: linear-gradient(90deg, #7c6cff13, #ffffff05);
}

.friend-row > button {
  background: #090b129e;
}

.activity-sidebar {
  border: 1px solid var(--line);
  min-width: 0;
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  flex-direction: column;
  display: flex;
  overflow: hidden;
}

.activity-sidebar > header {
  justify-content: space-between;
  align-items: center;
  padding: 0 14px;
  display: flex;
}

.activity-sidebar > header > div {
  align-items: center;
  gap: 7px;
  display: flex;
}

.activity-sidebar > header span {
  font-size: 13px;
  font-weight: 800;
}

.activity-sidebar > header b {
  background: var(--brand-soft);
  color: #c9c3ff;
  border-radius: 8px;
  place-items: center;
  min-width: 19px;
  height: 19px;
  font-size: 9px;
  display: grid;
}

.activity-sidebar > header button {
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: none;
  border-radius: 9px;
}

.activity-list {
  align-content: start;
  gap: 9px;
  padding: 13px 10px;
  display: grid;
  overflow: auto;
}

.activity-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #2d3143ad, #1a1d2bb8);
  border-radius: 13px;
  overflow: hidden;
  box-shadow: inset 0 1px #ffffff06;
}

.activity-person, .activity-detail {
  align-items: center;
  gap: 9px;
  padding: 11px;
  display: flex;
}

.activity-person > span:nth-child(2), .activity-detail > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.activity-person b, .activity-person small, .activity-detail b, .activity-detail small {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.activity-person small, .activity-detail small {
  color: var(--muted);
  margin-top: 2px;
  font-size: 9px;
}

.activity-person > i, .activity-detail > i {
  color: #747c92;
  font-size: 10px;
}

.activity-detail {
  background: #05070d33;
  border-top: 1px solid #ffffff0e;
}

.activity-icon {
  color: #a8dbff;
  background: linear-gradient(135deg, #7c6cff38, #31c8ff29);
  border-radius: 10px;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.activity-empty {
  text-align: center;
  padding: 50px 20px;
}

.activity-empty > span {
  background: var(--brand-soft);
  color: #aaa2ff;
  border-radius: 17px;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: auto;
  font-size: 19px;
  display: grid;
}

.activity-empty h3 {
  margin: 15px 0 5px;
  font-size: 13px;
}

.activity-empty p {
  color: var(--muted);
  margin: 0;
  font-size: 10px;
  line-height: 1.8;
}

.settings-backdrop {
  place-items: center;
  padding: 24px;
  display: grid;
}

.settings-window {
  background: none;
  border-radius: 18px;
  grid-template-columns: 270px minmax(0, 1fr);
  width: min(1220px, 100vw - 48px);
  height: min(820px, 100dvh - 48px);
  overflow: hidden;
}

.settings-window > aside {
  background: linear-gradient(#1f2230f7, #141723fa);
  padding: 28px 16px 24px;
}

.settings-window > aside > header {
  border-bottom: 1px solid var(--line);
  width: 100%;
  padding: 0 10px 20px;
}

.settings-window > aside > header i {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-radius: 11px;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
  box-shadow: 0 8px 22px #5c4ff447;
}

.settings-window > aside nav {
  gap: 3px;
  width: 100%;
  padding-top: 14px;
}

.settings-window > aside nav button {
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 12px;
}

.settings-window > aside nav button i {
  color: #9da5ba;
  text-align: center;
  width: 20px;
}

.settings-window > main {
  background: radial-gradient(circle at 92% -10%, #7c6cff1c, #0000 31%), linear-gradient(150deg, #232634fa, #181b27fa);
}

.settings-window > main > header {
  height: 78px;
  padding-inline: clamp(24px, 4vw, 58px);
}

.settings-scroll {
  padding: 28px clamp(24px, 4vw, 58px) 74px;
}

.settings-form {
  gap: 20px;
  width: min(820px, 100%);
}

.section-title h3 {
  font-size: 18px;
}

.profile-preview {
  background: #0c0e1794;
  border-radius: 15px;
  min-height: 238px;
}

.profile-banner {
  background: radial-gradient(circle at 78% 20%, #fff3, transparent 18%), linear-gradient(120deg, var(--brand), #4d7fff 55%, var(--brand-2));
  height: 96px;
}

.profile-avatar {
  border-color: #181b28;
  width: 84px;
  height: 84px;
  top: 56px;
}

.field-label input, .field-label textarea, .inline-create input:not([type="color"]) {
  border-radius: 8px;
  min-height: 44px;
}

.choice-grid button, .chip-list button, .role-choice button {
  border-radius: 8px;
  min-height: 38px;
}

.theme-card {
  background: #090b1285;
  border-radius: 11px;
}

.role-list > div, .member-role, .permission-list > div, .server-identity {
  background: #080a1147;
  border-radius: 11px;
}

.save-bar {
  border-color: var(--line-strong);
  background: #0e111be6;
  box-shadow: 0 16px 38px #00000057;
}

.custom-modal {
  background: linear-gradient(150deg, #262a39f7, #131621fa);
  border-radius: 15px;
}

@media (max-width: 1360px) {
  :root {
    --activity-width: 268px;
    --members-width: 224px;
    --sidebar-width: 250px;
  }

  .direct-shell.friends-mode {
    grid-template-columns: var(--rail-width) var(--sidebar-width) minmax(380px, 1fr) var(--activity-width);
  }
}

@media (max-width: 1160px) {
  .app-shell {
    grid-template-columns: var(--rail-width) var(--sidebar-width) minmax(0, 1fr);
  }

  .member-sidebar {
    position: fixed;
  }

  .direct-shell.friends-mode {
    grid-template-columns: var(--rail-width) var(--sidebar-width) minmax(0, 1fr);
  }

  .activity-sidebar {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --rail-width: 58px;
  }

  .app-shell, .direct-shell {
    gap: 4px;
    padding: 4px;
  }

  .server-rail, .channel-sidebar, .member-sidebar, .content-column, .direct-sidebar, .direct-content {
    border-radius: 12px;
  }

  .settings-backdrop {
    padding: 10px;
  }

  .settings-window {
    border-radius: 15px;
    grid-template-columns: 210px minmax(0, 1fr);
    width: calc(100vw - 20px);
    height: calc(100dvh - 20px);
  }
}

@media (max-width: 700px) {
  .app-shell, .direct-shell, .direct-shell.friends-mode, .direct-shell.has-conversation {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .channel-sidebar {
    width: min(310px, 100vw - 52px);
  }

  .direct-sidebar {
    inset-inline: 0 52px;
  }

  .server-orb, .home-orb {
    width: 40px;
    height: 40px;
  }

  .friends-header {
    padding-inline: 10px;
  }

  .friends-header nav {
    scrollbar-width: none;
    overflow-x: auto;
  }

  .friends-header nav::-webkit-scrollbar {
    display: none;
  }

  .settings-backdrop {
    padding: 0;
  }

  .settings-window {
    border-radius: 0;
    grid-template-columns: 72px minmax(0, 1fr);
    width: 100vw;
    height: 100dvh;
  }

  .settings-window > aside {
    padding: 22px 8px;
  }

  .settings-window > aside > header {
    justify-content: center;
    padding-inline: 0;
  }

  .settings-window > aside > header b {
    display: none;
  }

  .settings-window > aside nav button {
    justify-content: center;
    padding-inline: 8px;
    font-size: 0;
  }

  .settings-window > aside nav button i {
    font-size: 15px;
  }

  .settings-window > main > header {
    height: 70px;
  }
}

@media (max-width: 420px) {
  .settings-window {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .friends-header nav button {
    padding-inline: 8px;
  }

  .friend-row {
    gap: 7px;
  }

  .friend-row > button {
    width: 34px;
    height: 34px;
  }
}

.server-heading, .channel-sidebar {
  position: relative;
}

.server-heading > button.active {
  color: #fff;
  background: #ffffff12;
}

.server-dropdown {
  z-index: 60;
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  width: calc(100% - 20px);
  animation: menu-in .16s var(--ease-out);
  background: #0d101af7;
  border-radius: 11px;
  padding: 7px;
  position: absolute;
  top: 66px;
  right: 10px;
  overflow: hidden;
  box-shadow: 0 20px 48px #00000085, inset 0 1px #ffffff06;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px)scale(.98);
  }
}

.server-dropdown button {
  color: #b4bbce;
  text-align: right;
  background: none;
  border-radius: 7px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  display: flex;
}

.server-dropdown button:hover {
  color: #fff;
  background: linear-gradient(90deg, #7c6cff33, #31c8ff14);
}

.server-dropdown button.accent {
  color: #a9a1ff;
}

.server-dropdown button i {
  text-align: center;
  width: 20px;
}

.server-dropdown hr {
  background: var(--line);
  border: 0;
  height: 1px;
  margin: 6px 4px;
}

.channel-item {
  display: block;
}

.channel-link-row {
  align-items: center;
  display: flex;
  position: relative;
}

.channel-link-row .channel-link {
  flex: 1;
  min-width: 0;
}

.voice-count {
  color: #6ee2ab;
  background: #42d3921f;
  border-radius: 7px;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-right: auto;
  font-size: 9px;
  display: grid;
}

.voice-channel-users {
  gap: 1px;
  padding: 0 24px 4px 4px;
  display: grid;
}

.voice-channel-users button {
  color: #9098ad;
  text-align: right;
  background: none;
  border-radius: 7px;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 4px 6px;
  display: flex;
}

.voice-channel-users button:hover {
  color: #fff;
  background: #ffffff0a;
}

.voice-channel-users .avatar {
  width: 25px;
  height: 25px;
  font-size: 9px;
}

.voice-channel-users b {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  font-size: 10px;
  overflow: hidden;
}

.voice-channel-users > button > i {
  color: #ff788b;
  font-size: 9px;
}

.voice-dock {
  background: linear-gradient(145deg, #242b39f2, #121620f5);
  border-top: 1px solid #42d39233;
  margin-top: auto;
  padding: 10px 9px 9px;
  box-shadow: 0 -15px 32px #0000002e, inset 0 1px #ffffff06;
}

.voice-dock + .user-dock {
  margin-top: 0;
}

.voice-dock header {
  align-items: center;
  gap: 8px;
  display: flex;
}

.voice-dock header > span {
  width: 31px;
  height: 31px;
  color: var(--green);
  background: #42d3921c;
  border-radius: 10px;
  flex: none;
  place-items: center;
  display: grid;
}

.voice-dock header > div {
  flex: 1;
  min-width: 0;
}

.voice-dock b, .voice-dock small {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.voice-dock b {
  color: #67dda6;
  font-size: 11px;
}

.voice-dock small {
  color: var(--muted);
  margin-top: 2px;
  font-size: 8px;
}

.voice-leave-mini {
  width: 30px;
  height: 30px;
  color: #a2a9bc !important;
}

.voice-leave-mini:hover {
  color: #ff7589 !important;
  background: #ff60771a !important;
}

.voice-dock-actions {
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 9px;
  display: grid;
}

.voice-dock-actions button {
  color: #bdc3d3;
  background: #ffffff0e;
  border: 1px solid #ffffff0b;
  border-radius: 8px;
  height: 34px;
}

.voice-dock-actions button:hover, .voice-dock-actions button.active {
  color: #fff;
  background: #7c6cff29;
  border-color: #7c6cff3d;
}

.voice-dock-actions button.danger, .user-dock button.control-active {
  color: #ff8193;
  background: #ff60771f;
}

.user-avatar-button {
  padding: 0;
  overflow: visible;
  background: none !important;
  border-radius: 50% !important;
  width: auto !important;
  height: auto !important;
}

.voice-stage {
  background: radial-gradient(circle at 50% 12%, #7c6cff1a, #0000 35%), #04060ba6;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

.voice-grid {
  flex: 1;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  grid-auto-rows: minmax(230px, 1fr);
  gap: 8px;
  min-height: 0;
  padding: 10px 10px 88px;
  display: grid;
  overflow: auto;
}

.voice-grid.has-screen-share {
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, .55fr);
  grid-auto-rows: minmax(190px, 1fr);
}

.voice-participant, .stream-tile {
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 45%, #594f8638, #0000 34%), linear-gradient(145deg, #222634e0, #0f121ceb);
  border-radius: 14px;
  min-width: 0;
  min-height: 210px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px #ffffff06, 0 15px 32px #0000002e;
}

.voice-participant {
  place-items: center;
  display: grid;
}

.voice-avatar-wrap {
  position: relative;
}

.voice-avatar {
  border: 4px solid #7c6cff59;
  width: clamp(74px, 10vw, 118px);
  height: clamp(74px, 10vw, 118px);
  font-size: clamp(25px, 4vw, 42px);
  box-shadow: 0 0 0 7px #7c6cff12, 0 16px 42px #00000061;
}

.voice-pulse {
  border: 2px solid #42d39259;
  border-radius: 50%;
  animation: 2.2s ease-out infinite voice-pulse;
  position: absolute;
  inset: -8px;
}

@keyframes voice-pulse {
  70%, 100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

.voice-participant footer, .stream-tile footer {
  z-index: 2;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: #06080eb8;
  border: 1px solid #ffffff0f;
  border-radius: 9px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  display: flex;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  box-shadow: 0 8px 22px #0000003d;
}

.voice-participant footer b, .stream-tile footer b {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  font-size: 11px;
  overflow: hidden;
}

.voice-participant footer span {
  color: var(--green);
}

.stream-tile.screen {
  grid-row: span 2;
}

.stream-tile video {
  object-fit: contain;
  background: #05060a;
  width: 100%;
  height: 100%;
  display: block;
}

.stream-tile.camera video {
  object-fit: cover;
}

.stream-tile video.mirrored {
  transform: scaleX(-1);
}

.live-badge {
  color: #fff;
  letter-spacing: .08em;
  background: #e84f68;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 8px;
  font-weight: 800;
}

.voice-empty {
  border: 1px solid var(--line);
  text-align: center;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: linear-gradient(145deg, #232737ad, #121520b3);
  border-radius: 18px;
  grid-column: 1 / -1;
  place-self: center;
  width: min(430px, 100% - 24px);
  padding: 34px;
  box-shadow: 0 20px 60px #00000047;
}

.voice-empty > span {
  color: #aaa3ff;
  background: linear-gradient(135deg, #7c6cff40, #31c8ff24);
  border-radius: 23px;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 15px;
  font-size: 27px;
  display: grid;
  box-shadow: inset 0 0 0 1px #ffffff0f;
}

.voice-empty h2, .voice-empty p {
  margin: 0;
}

.voice-empty p {
  color: var(--muted);
  margin: 7px 0 20px;
  font-size: 11px;
  line-height: 1.9;
}

.voice-empty .primary-button, .voice-join-floating {
  align-items: center;
  gap: 8px;
  display: inline-flex;
}

.call-controls {
  z-index: 8;
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
  background: #0c0f18d1;
  border-radius: 15px;
  gap: 7px;
  padding: 7px;
  display: flex;
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 18px 42px #0000007a;
}

.call-controls button {
  color: #d4d8e4;
  background: #ffffff12;
  border-radius: 11px;
  width: 46px;
  height: 42px;
}

.call-controls button:hover, .call-controls button.active {
  color: #fff;
  background: #7c6cff33;
}

.call-controls button.danger, .call-controls button.hangup {
  color: #fff;
  background: #e2465de6;
}

.call-controls button.hangup {
  width: 58px;
}

.call-controls button.open-text-chat {
  border: 1px solid color-mix(in srgb, var(--brand) 42%, transparent);
  background: color-mix(in srgb, var(--brand) 16%, #ffffff0d);
  color: #dedaff;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: auto;
  min-width: 72px;
  padding-inline: 13px;
  display: inline-flex;
}

.call-controls button.open-text-chat span {
  font-size: 10px;
  font-weight: 800;
}

.voice-join-floating {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.invite-hero {
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  display: flex;
}

.invite-hero > span {
  background: var(--brand-soft);
  color: #aaa2ff;
  border-radius: 14px;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 18px;
  display: grid;
}

.invite-hero b, .invite-hero small {
  display: block;
}

.invite-hero small {
  color: var(--muted);
  margin-top: 4px;
  font-size: 10px;
}

.invite-link {
  border: 1px solid var(--line-strong);
  background: #05070d99;
  border-radius: 11px;
  align-items: center;
  gap: 8px;
  padding: 6px;
  display: flex;
}

.invite-link > i {
  color: var(--muted);
  margin-right: 5px;
}

.invite-link input {
  color: #dfe2ed;
  direction: ltr;
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
}

.invite-link button {
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  min-width: 92px;
  height: 38px;
}

.invite-link button.copied {
  background: #299765;
}

.invite-hint {
  color: var(--muted);
  font-size: 9px;
}

.profile-modal-backdrop {
  place-items: center;
  padding: 18px;
  display: grid;
}

.profile-modal {
  border: 1px solid var(--line-strong);
  width: min(420px, 100%);
  box-shadow: var(--shadow-float);
  animation: profile-in .2s var(--ease-out);
  background: linear-gradient(150deg, #262a3af7, #121520fa);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

@keyframes profile-in {
  from {
    opacity: 0;
    transform: translateY(12px)scale(.98);
  }
}

.profile-close {
  z-index: 3;
  color: #e5e7ef;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #080a116b;
  border: 1px solid #ffffff14;
  border-radius: 10px;
  width: 34px;
  height: 34px;
  position: absolute;
  top: 12px;
  left: 12px;
}

.profile-modal-banner {
  background: radial-gradient(circle at 75% 28%, #fff3, transparent 18%), linear-gradient(125deg, var(--brand), #526fff 56%, var(--brand-2));
  height: 126px;
}

.profile-modal-body {
  padding: 58px 22px 22px;
  position: relative;
}

.profile-modal-avatar {
  border: 7px solid #202432;
  width: 98px;
  height: 98px;
  font-size: 34px;
  position: absolute;
  top: -52px;
  right: 22px;
}

.profile-actions {
  gap: 6px;
  display: flex;
  position: absolute;
  top: 12px;
  left: 20px;
}

.profile-actions button {
  background: var(--brand);
  color: #fff;
  border-radius: 9px;
  min-width: 38px;
  height: 36px;
  padding-inline: 11px;
}

.profile-actions button:last-child {
  background: #ffffff12;
}

.profile-modal h2, .profile-modal-body > p {
  margin: 0;
}

.profile-modal-body > p {
  color: var(--muted);
}

.profile-tags {
  flex-wrap: wrap;
  gap: 6px;
  margin: 13px 0;
  display: flex;
}

.profile-tags span {
  border: 1px solid var(--line);
  color: #b7bdcd;
  background: #ffffff09;
  border-radius: 7px;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  font-size: 9px;
  display: flex;
}

.profile-tags span:last-child i {
  color: var(--green);
  font-size: 7px;
}

.profile-modal-body > section {
  border-top: 1px solid var(--line);
  padding: 13px 0;
}

.profile-modal-body > section h3, .profile-modal-body > section p {
  margin: 0;
}

.profile-modal-body > section h3 {
  color: #b8bfd0;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-size: 10px;
}

.profile-modal-body > section p {
  color: #e4e6ee;
  font-size: 11px;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .voice-grid.has-screen-share {
    grid-template-columns: 1fr;
  }

  .stream-tile.screen {
    grid-row: auto;
    min-height: min(58vw, 440px);
  }
}

@media (max-width: 700px) {
  .channel-sidebar {
    position: fixed;
  }

  .server-dropdown {
    top: 62px;
  }

  .voice-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(190px, 1fr);
    padding: 7px 7px 80px;
  }

  .voice-participant, .stream-tile {
    border-radius: 11px;
    min-height: 190px;
  }

  .voice-empty {
    padding: 26px 18px;
  }

  .call-controls {
    bottom: max(10px, env(safe-area-inset-bottom));
    gap: 4px;
    padding: 5px;
  }

  .call-controls button {
    width: 40px;
    height: 40px;
  }

  .call-controls button.hangup {
    width: 48px;
  }

  .call-controls button.open-text-chat {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }

  .call-controls button.open-text-chat span {
    display: none;
  }

  .profile-modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .profile-modal {
    border-width: 1px 0 0;
    border-radius: 22px 22px 0 0;
    width: 100%;
    max-height: 92dvh;
    overflow: auto;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .voice-grid {
    grid-auto-rows: minmax(170px, 1fr);
    padding-bottom: 66px;
  }

  .voice-participant, .stream-tile {
    min-height: 165px;
  }

  .call-controls {
    bottom: 8px;
  }
}

:root {
  --x-purple: #7667ff;
  --x-cyan: #42d8ff;
  --x-green: #4fdda0;
  --x-glass: #111422bd;
  --x-glass-strong: #171b2cdb;
  --x-border: #bec6ff21;
  --x-shadow: 0 22px 65px #00000057, inset 0 1px #ffffff09;
}

.app-shell, .direct-shell {
  background: radial-gradient(circle at 72% -12%, #6f4dff30, #0000 33%), radial-gradient(circle at 4% 105%, #21b7ff1c, #0000 28%), linear-gradient(155deg, #070812, #090b18 48%, #070810);
  gap: 9px;
  padding: 10px;
  position: relative;
}

.app-shell:before, .direct-shell:before {
  content: "";
  z-index: -1;
  opacity: .2;
  pointer-events: none;
  background-image: linear-gradient(#9995ff0b 1px, #0000 1px), linear-gradient(90deg, #9995ff0b 1px, #0000 1px);
  background-size: 52px 52px;
  position: fixed;
  inset: 0;
  -webkit-mask-image: radial-gradient(circle at 65% 42%, #000, #0000 74%);
  mask-image: radial-gradient(circle at 65% 42%, #000, #0000 74%);
}

.server-rail, .channel-sidebar, .member-sidebar, .content-column, .direct-sidebar, .direct-content, .activity-sidebar {
  border: 1px solid var(--x-border);
  box-shadow: var(--x-shadow);
  -webkit-backdrop-filter: blur(23px) saturate(135%);
  border-radius: 20px;
}

.server-rail {
  background: linear-gradient(#0d0f1bf0, #06080fe6);
  padding: 10px 7px;
}

.channel-sidebar, .direct-sidebar {
  background: linear-gradient(#161a2bd6, #0a0d17d1);
}

.member-sidebar, .activity-sidebar {
  background: linear-gradient(#121625c7, #090c15c7);
}

.content-column, .direct-content {
  background: radial-gradient(circle at 100% 0, #7667ff17, #0000 29%), linear-gradient(150deg, #181c2dc2, #0c0f1ac7);
}

.home-orb.xcord-home {
  background: linear-gradient(135deg, var(--x-purple), #5b65e7 58%, var(--x-cyan));
  color: #fff;
  border-color: #fff3;
  position: relative;
  overflow: visible;
  box-shadow: 0 12px 30px #5f50eb61, inset 0 1px #fff3;
}

.home-orb.xcord-home:after {
  content: "";
  border: 1px solid #7767ff2e;
  border-radius: 18px;
  position: absolute;
  inset: -5px;
}

.home-orb.xcord-home:hover {
  transform: translateY(-2px)rotate(-3deg);
  box-shadow: 0 14px 36px #5f50eb80, 0 0 25px #42d8ff1f;
}

.server-rail:before {
  background: linear-gradient(90deg, #0000, #8c81ff61, #0000);
}

.server-orb {
  background: linear-gradient(145deg, #2b3046db, #151928db);
  border-color: #ffffff13;
}

.server-orb:hover {
  background: linear-gradient(135deg, #7667ffe0, #4388e8e0);
  border-color: #7f72ff4d;
  box-shadow: 0 12px 27px #493fbe40;
}

.app-brand-strip {
  direction: ltr;
  background: linear-gradient(90deg, #7667ff17, #0000);
  border-bottom: 1px solid #bec6ff14;
  align-items: center;
  gap: 8px;
  height: 46px;
  min-height: 46px;
  padding: 0 13px;
  display: flex;
}

.app-brand-strip > span {
  background: linear-gradient(135deg, var(--x-purple), #508fe9);
  border: 1px solid #ffffff26;
  border-radius: 9px;
  place-items: center;
  width: 27px;
  height: 27px;
  font-size: 10px;
  display: grid;
  box-shadow: 0 7px 18px #5749de42;
}

.app-brand-strip b {
  letter-spacing: -.02em;
  font-size: 12px;
}

.app-brand-strip b em {
  color: #978cff;
  font-style: normal;
}

.app-brand-strip small {
  color: #596276;
  letter-spacing: .15em;
  margin-left: auto;
  font-size: 6px;
  font-weight: 800;
}

.channel-sidebar > header, .channel-header, .member-sidebar > header, .direct-sidebar > header, .direct-content > header, .friends-header, .activity-sidebar > header {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, #ffffff06, #7667ff06);
  border-color: #bec6ff17;
  box-shadow: 0 1px #ffffff05, 0 10px 28px #00000014;
}

.channel-link, .direct-nav, .direct-list > button, .member-row, .friend-row {
  transition: .2s var(--ease-out);
  border-radius: 10px;
}

.channel-link:hover, .direct-nav:hover, .direct-list > button:hover, .member-row:hover, .friend-row:hover {
  transform: translateX(-2px);
}

.channel-link.active, .direct-nav.active, .direct-list > button.active {
  box-shadow: inset 3px 0 var(--x-cyan), 0 8px 22px #0000001a;
  background: linear-gradient(90deg, #7667ff2b, #42d8ff0b);
  border-color: #897bff2e;
}

.channel-header {
  background: #0f121f85;
  border: 1px solid #bec6ff1a;
  border-radius: 14px;
  margin: 8px 9px 0;
  box-shadow: 0 12px 30px #00000029;
}

.channel-header + .message-list {
  padding-top: 14px;
}

.channel-symbol {
  color: #9d93ff;
  text-shadow: 0 0 18px #7667ff59;
}

.header-actions button, .direct-header-actions button {
  border: 1px solid #0000;
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
}

.header-actions button:hover, .direct-header-actions button:hover {
  background: #7667ff1f;
  border-color: #8477ff2e;
  transform: translateY(-2px);
}

.search-box {
  background: #04060c7a;
  border-color: #bec6ff1c;
}

.search-box:focus-within {
  border-color: #7767ff73;
  box-shadow: 0 0 0 4px #7767ff12;
}

.message {
  border-radius: 11px;
  margin-block: 2px;
  padding: 10px 9px;
}

.message:hover {
  background: linear-gradient(90deg, #7667ff11, #ffffff04);
  border-color: #bec6ff0e;
  transform: translateX(-2px);
}

.message .avatar, .dm-messages .avatar {
  box-shadow: 0 7px 18px #00000038, 0 0 0 2px #ffffff09;
}

.composer {
  background: linear-gradient(135deg, #262b41b3, #151929b3);
  border: 1px solid #bec6ff24;
  border-radius: 14px;
  margin: 0 14px 14px;
  box-shadow: 0 14px 36px #0003, inset 0 1px #ffffff0a;
}

.composer:focus-within {
  border-color: #7767ff85;
  transform: translateY(-1px);
  box-shadow: 0 15px 40px #00000040, 0 0 0 4px #7767ff14;
}

.user-dock {
  background: #05070d6b;
  border: 1px solid #bec6ff17;
  border-radius: 13px;
  margin: 6px;
  box-shadow: inset 0 1px #ffffff05;
}

.user-dock button {
  border-radius: 9px;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}

.user-dock button:hover {
  color: #fff;
  background: #7667ff21;
  transform: translateY(-1px);
}

.avatar {
  background: linear-gradient(135deg, var(--x-purple), #48a9e8);
}

.avatar i.online {
  box-shadow: 0 0 0 2px #121522e6, 0 0 10px #4fdda073;
}

.friends-header {
  border: 1px solid #bec6ff1a;
  border-radius: 14px;
  margin: 8px 9px 0;
}

.friends-header nav button.add-friend {
  background: linear-gradient(135deg, #35bd7e, #278d67);
  box-shadow: 0 9px 22px #238b6140;
}

.activity-card {
  transition: .22s var(--ease-out);
  background: linear-gradient(145deg, #2a2f449e, #151928ad);
  border-radius: 15px;
}

.activity-card:hover {
  border-color: #8477ff38;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px #0000002e;
}

.friend-row > button {
  border: 1px solid #ffffff0b;
}

.voice-stage {
  border: 1px solid #bec6ff1a;
  border-radius: 16px;
  margin: 8px 9px 9px;
}

.voice-participant, .stream-tile {
  background: radial-gradient(circle at 50% 40%, #7667ff2e, #0000 35%), linear-gradient(145deg, #232739db, #0d101be6);
  border-radius: 17px;
}

.voice-participant:hover {
  border-color: #7767ff4d;
  transform: translateY(-2px);
}

.call-controls {
  background: #0b0e18c2;
  border-radius: 16px;
  box-shadow: 0 18px 48px #00000075;
}

.voice-dock {
  border: 1px solid #4fdda029;
  border-radius: 13px;
  margin: auto 6px 0;
}

.settings-backdrop {
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  background: radial-gradient(circle at 70% 0, #6f4dff2e, #0000 36%), #05070dd1;
}

.settings-window {
  background: linear-gradient(145deg, #1a1e30eb, #0a0d17f0);
  border-color: #bec6ff26;
  border-radius: 24px;
  box-shadow: 0 45px 110px #00000094;
}

.settings-window > aside {
  background: linear-gradient(#101320e0, #080a12e6);
}

.settings-window > aside > header i {
  background: linear-gradient(135deg, var(--x-purple), #4f99ea);
  box-shadow: 0 9px 23px #5a4ce74d;
}

.settings-window > aside nav button.active {
  background: linear-gradient(90deg, #7667ff2b, #42d8ff0a);
  border-color: #8477ff2e;
}

.settings-card {
  background: linear-gradient(145deg, #262b3f94, #141827a3);
  border-color: #bec6ff1a;
  border-radius: 16px;
}

.custom-modal, .profile-modal, .context-menu, .toast {
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  background: linear-gradient(145deg, #1d2133f0, #0c0f1af2);
  border-color: #bec6ff24;
  box-shadow: 0 28px 75px #0000007a;
}

@media (max-width: 820px) {
  .app-shell, .direct-shell {
    gap: 5px;
    padding: 5px;
  }

  .server-rail, .channel-sidebar, .member-sidebar, .content-column, .direct-sidebar, .direct-content, .activity-sidebar {
    border-radius: 14px;
  }

  .channel-header, .friends-header {
    margin: 5px 5px 0;
  }
}

@media (max-width: 700px) {
  .app-brand-strip {
    height: 42px;
    min-height: 42px;
  }

  .app-brand-strip small {
    display: none;
  }

  .channel-sidebar, .direct-sidebar, .member-sidebar {
    border-radius: 16px 0 0 16px;
  }

  .channel-header {
    border-radius: 11px;
    margin: 4px 4px 0;
  }

  .composer {
    margin: 0 7px 7px;
  }

  .voice-stage {
    border-radius: 12px;
    margin: 4px;
  }
}

.channel-loading-bar {
  z-index: 20;
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  height: 2px;
  position: absolute;
  inset: 0 0 auto;
  overflow: hidden;
}

.channel-loading-bar:after {
  content: "";
  background: linear-gradient(90deg, transparent, var(--brand), var(--brand-2));
  width: 38%;
  height: 100%;
  animation: 1s ease-in-out infinite channel-loading;
  display: block;
}

@keyframes channel-loading {
  from {
    transform: translateX(-110%);
  }

  to {
    transform: translateX(285%);
  }
}

.content-column {
  position: relative;
}

.channel-context-menu {
  min-width: 230px;
}

.channel-context-menu > header {
  color: #f4f5fb;
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 9px;
  margin-bottom: 5px;
  padding: 8px 10px 10px;
  display: flex;
}

.channel-context-menu > header i {
  color: var(--brand-2);
}

.channel-context-menu hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 5px 3px;
}

.channel-context-menu button.accent {
  color: #c9c4ff;
}

.invite-options {
  border: 1px solid var(--line);
  background: #ffffff06;
  border-radius: 12px;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 9px 12px;
  margin: 14px 0;
  padding: 12px;
  display: grid;
}

.invite-options > span {
  color: var(--muted);
  font-size: 11px;
}

.invite-options > div {
  flex-wrap: wrap;
  gap: 5px;
  display: flex;
}

.invite-options > div button {
  border: 1px solid var(--line);
  color: #c9cddd;
  background: #ffffff09;
  border-radius: 8px;
  min-width: 38px;
  padding: 7px 9px;
}

.invite-options > div button:hover, .invite-options > div button.active {
  border-color: color-mix(in srgb, var(--brand) 60%, transparent);
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  color: #fff;
}

.invite-options > .primary-button {
  grid-column: 1 / -1;
  justify-self: end;
}

.invite-create {
  align-self: flex-start;
}

.custom-color-palette {
  border: 1px solid var(--line);
  background: #ffffff06;
  border-radius: 12px;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 10px;
  display: flex;
}

.custom-color-palette button {
  background: var(--swatch);
  color: #0000;
  border: 2px solid #0000;
  border-radius: 9px;
  place-items: center;
  width: 30px;
  height: 30px;
  display: grid;
  box-shadow: inset 0 0 0 1px #ffffff21;
}

.custom-color-palette button:hover {
  transform: translateY(-2px);
}

.custom-color-palette button.selected {
  color: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--swatch) 38%, transparent);
  border-color: #fff;
}

.custom-color-palette input {
  border: 1px solid var(--line);
  color: #eef0f7;
  direction: ltr;
  background: #05070ea6;
  border-radius: 8px;
  width: 86px;
  padding: 8px;
  font-family: monospace;
}

.custom-color-palette.compact {
  flex-wrap: nowrap;
  max-width: 250px;
  padding: 5px;
  overflow-x: auto;
}

.custom-color-palette.compact button {
  border-radius: 7px;
  width: 25px;
  min-width: 25px;
  height: 25px;
}

.role-create {
  grid-template-columns: minmax(150px, 1fr) minmax(180px, auto) auto;
}

.invite-manager-list {
  gap: 7px;
  display: grid;
}

.invite-manager-list article {
  border: 1px solid var(--line);
  background: #ffffff06;
  border-radius: 11px;
  grid-template-columns: minmax(0, 1fr) 34px 34px;
  align-items: center;
  gap: 6px;
  padding: 10px;
  display: grid;
}

.invite-manager-list article > div {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.invite-manager-list article b {
  text-overflow: ellipsis;
  color: #e9eaf2;
  overflow: hidden;
}

.invite-manager-list article small {
  color: var(--muted);
}

.invite-manager-list article > button {
  border: 1px solid var(--line);
  color: #bbc1d0;
  background: #ffffff0a;
  border-radius: 8px;
  width: 34px;
  height: 34px;
}

.danger-zone {
  background: #ed424512;
  border: 1px solid #ed42456b;
  border-radius: 13px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px;
  display: flex;
}

.danger-zone b {
  color: #ffb5b6;
}

.danger-zone p {
  color: var(--muted);
  margin: 5px 0 0;
}

.nested-modal {
  z-index: 120;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #05070db8;
  place-items: center;
  padding: 16px;
  display: grid;
  position: fixed;
  inset: 0;
}

.nested-modal > section {
  border: 1px solid var(--line-strong);
  width: min(430px, 100%);
  box-shadow: var(--shadow-float);
  background: #171a26;
  border-radius: 16px;
  padding: 22px;
}

.nested-modal h3 {
  color: #fff;
  margin: 0 0 8px;
}

.nested-modal p {
  color: var(--muted);
}

input[type="range"] {
  appearance: none;
  background: linear-gradient(90deg, var(--brand), #ffffff1f);
  height: 5px;
  accent-color: var(--brand);
  border: 0;
  border-radius: 99px;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  background: var(--brand);
  border: 3px solid #f7f8ff;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  box-shadow: 0 3px 12px #00000073;
}

textarea, input {
  scrollbar-color: var(--brand) transparent;
}

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

  .invite-options > .primary-button {
    grid-column: auto;
    justify-self: stretch;
  }

  .danger-zone {
    flex-direction: column;
    align-items: stretch;
  }

  .role-create {
    grid-template-columns: 1fr;
  }

  .custom-color-palette.compact {
    max-width: 100%;
  }
}

.server-orb img {
  object-fit: cover;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  display: block;
}

.avatar, .profile-avatar, .profile-modal-avatar {
  aspect-ratio: 1;
  border-radius: 50% !important;
}

.avatar img, .profile-avatar img, .profile-modal-avatar img, .admin-avatar img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50% !important;
}

.channel-sidebar > .user-dock, .direct-sidebar > .user-dock {
  z-index: 15;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  flex: none;
  margin: auto 6px 6px;
  position: sticky;
  bottom: 6px;
}

.voice-dock + .user-dock {
  margin: 6px;
}

.user-dock.has-nitro {
  border-color: #ff5fdd40;
  box-shadow: 0 0 24px #7554ff1f, inset 0 1px #ffffff0d;
}

.user-dock > div b {
  align-items: center;
  gap: 5px;
  display: flex;
}

.nitro-mini {
  color: #ff70dc;
  filter: drop-shadow(0 0 5px #ff50dc73);
  font-size: 10px;
}

.profile-preview {
  grid-template-rows: 116px minmax(104px, auto);
  grid-template-columns: 88px minmax(0, 1fr);
  min-height: 220px;
  padding: 0 22px 20px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.profile-preview > .profile-banner {
  border-radius: inherit;
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  margin: 0 -22px;
  position: relative;
  inset: auto;
}

.profile-preview > .profile-avatar {
  border: 5px solid #151925;
  grid-area: 2 / 1;
  align-self: start;
  width: 78px;
  height: 78px;
  margin-top: -39px;
  position: relative;
  inset: auto;
  overflow: hidden;
}

.profile-preview > div:last-child {
  text-align: right;
  grid-area: 2 / 2;
  align-self: center;
  min-width: 0;
  padding: 10px 10px 0;
}

.profile-preview > div:last-child h3, .profile-preview > div:last-child p, .profile-preview > div:last-child small {
  overflow-wrap: anywhere;
  max-width: 100%;
  margin-inline: 0;
}

.server-identity > span {
  overflow: hidden;
}

.server-identity > span img {
  object-fit: cover;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  display: block;
}

.custom-color-palette.compact {
  flex-wrap: unset;
  grid-template-columns: repeat(6, 25px);
  width: max-content;
  max-width: 100%;
  display: grid;
  overflow: visible;
}

.role-create {
  align-items: start;
}

.role-choice, .member-role .role-choice {
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  display: flex;
  overflow: visible;
}

.member-role {
  grid-template-columns: 38px minmax(90px, .45fr) minmax(0, 1fr);
  align-items: start;
}

.inline-success {
  color: #68dfa8;
  font-size: 13px;
}

.nitro-panel {
  --nitro-a: #7b5cff;
  --nitro-b: #ff55c8;
}

.nitro-hero {
  background: radial-gradient(circle at 10% 10%, #ff4ccd42, #0000 30%), linear-gradient(135deg, #5c3fe657, #151a30eb);
  border: 1px solid #ff6add38;
  border-radius: 22px;
  align-items: center;
  gap: 18px;
  min-height: 150px;
  padding: 24px;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 45px #4426b42e;
}

.nitro-hero:after {
  content: "";
  background: linear-gradient(90deg, #0000, #ffffff17, #0000);
  width: 120px;
  animation: 6s ease-in-out infinite nitro-shine;
  position: absolute;
  inset: -100% 55% -100% auto;
  transform: rotate(25deg);
}

@keyframes nitro-shine {
  50%, 100% {
    transform: translateX(-550px)rotate(25deg);
  }
}

.nitro-hero > span {
  background: linear-gradient(135deg, var(--nitro-a), var(--nitro-b));
  border-radius: 22px;
  flex: none;
  place-items: center;
  width: 70px;
  height: 70px;
  font-size: 29px;
  display: grid;
  box-shadow: 0 12px 30px #db44c340;
}

.nitro-hero > div {
  flex: 1;
  min-width: 0;
}

.nitro-hero small {
  color: #ff91e1;
  letter-spacing: 2px;
  font-weight: 800;
}

.nitro-hero h3 {
  margin: 6px 0;
  font-size: clamp(18px, 2vw, 25px);
}

.nitro-hero p {
  color: #b8bdd0;
  margin: 0;
}

.nitro-active-badge {
  z-index: 1;
  color: #ff87de;
  direction: ltr;
  background: #080a1466;
  border: 1px solid #ffffff26;
  border-radius: 99px;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  font-size: 11px;
  display: flex;
  position: relative;
}

.nitro-benefits {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  display: grid;
}

.nitro-benefits > span {
  border: 1px solid var(--line);
  background: #ffffff06;
  border-radius: 15px;
  grid-template-columns: 38px 1fr;
  align-items: center;
  padding: 15px;
  display: grid;
}

.nitro-benefits i {
  color: #c49aff;
  background: #775bff21;
  border-radius: 10px;
  grid-row: 1 / 3;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}

.nitro-benefits b {
  font-size: 16px;
}

.nitro-benefits small {
  color: var(--muted);
}

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

.nitro-plan-grid > article {
  border: 1px solid var(--line);
  background: #ffffff06;
  border-radius: 18px;
  padding: 20px;
  position: relative;
}

.nitro-plan-grid > article.featured {
  background: linear-gradient(145deg, #6745e529, #ff4cc50f);
  border-color: #ff5dd140;
}

.nitro-plan-grid > article > i {
  color: #bc8dff;
  font-size: 22px;
}

.nitro-plan-grid h4 {
  margin: 12px 0 8px;
}

.nitro-plan-grid strong {
  color: #fff;
  font-size: 18px;
}

.nitro-plan-grid strong small {
  color: var(--muted);
  font-size: 11px;
}

.nitro-plan-grid ul {
  color: #b8bdd0;
  gap: 7px;
  padding: 12px 18px 0 0;
  font-size: 12px;
  display: grid;
}

.nitro-trial {
  align-self: start;
}

.server-boost-panel .boost-hero {
  background: radial-gradient(circle at 85% 0, #f84bcf29, #0000 40%), #ffffff06;
  border: 1px solid #7f60ff33;
  border-radius: 20px;
  align-items: center;
  gap: 16px;
  padding: 24px;
  display: flex;
}

.boost-hero > i {
  background: linear-gradient(135deg, #735aff, #e74cc6);
  border-radius: 20px;
  place-items: center;
  width: 62px;
  height: 62px;
  font-size: 25px;
  display: grid;
}

.boost-hero h3 {
  margin: 4px 0;
}

.boost-hero p {
  color: var(--muted);
  margin: 0;
}

.boost-status {
  border: 1px solid var(--line);
  border-radius: 16px;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px;
  display: flex;
}

.boost-status span {
  gap: 4px;
  display: grid;
}

.boost-status small {
  color: var(--muted);
}

@media (max-width: 700px) {
  .settings-backdrop {
    align-items: stretch;
    padding: 0;
  }

  .settings-window {
    border: 0;
    flex-direction: column;
    width: 100vw;
    height: 100dvh;
    display: flex;
    overflow: hidden;
    border-radius: 0 !important;
  }

  .settings-window > aside {
    width: 100%;
    min-height: 0;
    padding: max(8px, env(safe-area-inset-top)) 8px 8px;
    border: 0;
    border-bottom: 1px solid var(--line);
    flex: none;
  }

  .settings-window > aside > header {
    display: none;
  }

  .settings-window > aside nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    padding: 0;
    display: grid;
    overflow: visible;
  }

  .settings-window > aside nav button, .settings-window > aside nav button:not(.active) {
    border-radius: 11px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 48px;
    padding: 5px 4px;
    font-size: 10px;
    display: flex;
  }

  .settings-window > aside nav button i {
    font-size: 15px;
  }

  .settings-window > main {
    flex-direction: column;
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
  }

  .settings-window > main > header {
    height: 58px;
    min-height: 58px;
    padding: 8px 12px;
  }

  .settings-window > main > header small {
    display: none;
  }

  .settings-window > main > header h2 {
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100vw - 70px);
    font-size: 16px;
    overflow: hidden;
  }

  .settings-window > main > header button {
    width: 38px;
    height: 38px;
  }

  .settings-window > main > header button span {
    display: none;
  }

  .settings-scroll {
    min-height: 0;
    padding: 14px 12px calc(24px + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
    flex: 1;
    overflow-y: auto;
  }

  .settings-form {
    gap: 15px;
    width: 100%;
    max-width: none;
  }

  .profile-preview {
    grid-template-rows: 90px minmax(90px, auto);
    grid-template-columns: 68px minmax(0, 1fr);
    min-height: 180px;
    padding: 0 14px 14px;
  }

  .profile-preview > .profile-banner {
    margin: 0 -14px;
  }

  .profile-preview > .profile-avatar {
    border-width: 4px;
    width: 62px;
    height: 62px;
    margin-top: -31px;
  }

  .profile-preview > div:last-child {
    padding-inline: 5px;
  }

  .profile-preview h3 {
    font-size: 15px;
  }

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

  .choice-grid button {
    min-width: 0;
  }

  .server-identity {
    padding: 14px;
  }

  .server-identity > span {
    width: 58px;
    height: 58px;
  }

  .role-create {
    grid-template-columns: 1fr;
    display: grid;
  }

  .custom-color-palette.compact {
    grid-template-columns: repeat(6, 25px);
    width: 100%;
  }

  .member-role {
    grid-template-columns: 38px minmax(0, 1fr);
    display: grid;
  }

  .member-role .role-choice {
    grid-column: 1 / -1;
  }

  .permission-list > div {
    flex-direction: column;
    align-items: flex-start;
  }

  .tri-state {
    align-self: stretch;
  }

  .tri-state button {
    flex: 1;
  }

  .save-bar {
    z-index: 5;
    border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    background: #0d101be0;
    border-radius: 14px;
    margin-inline: -4px;
    padding: 10px;
    position: sticky;
    bottom: 0;
  }

  .save-bar .primary-button {
    width: 100%;
  }

  .nitro-hero {
    align-items: flex-start;
    padding: 18px;
  }

  .nitro-hero > span {
    border-radius: 16px;
    width: 52px;
    height: 52px;
    font-size: 21px;
  }

  .nitro-active-badge {
    font-size: 0;
    position: absolute;
    top: 10px;
    left: 10px;
  }

  .nitro-active-badge i {
    font-size: 11px;
  }

  .nitro-benefits, .nitro-plan-grid {
    grid-template-columns: 1fr;
  }

  .nitro-trial {
    width: 100%;
  }

  .boost-status {
    flex-direction: column;
    align-items: stretch;
  }

  .boost-status button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .settings-window > aside nav button, .settings-window > aside nav button:not(.active) {
    min-height: 42px;
    font-size: 0;
  }

  .settings-window > aside nav button i {
    font-size: 14px;
  }

  .custom-color-palette.compact {
    grid-template-columns: repeat(5, 25px);
  }

  .nitro-hero > span {
    display: none;
  }
}

.entity-context-menu {
  min-width: 235px;
}

.entity-context-menu > header {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  padding: 8px 9px 11px;
  display: flex;
}

.entity-context-menu > header > div {
  flex: 1;
  min-width: 0;
}

.entity-context-menu > header b, .entity-context-menu > header small {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.entity-context-menu > header b {
  color: #f5f6fb;
  font-size: 12px;
}

.entity-context-menu > header small {
  color: var(--muted);
  text-align: right;
  direction: ltr;
  margin-top: 3px;
  font-size: 9px;
}

.entity-context-menu hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 5px 3px;
}

.entity-context-menu button.danger, .context-menu button.danger, .server-dropdown button.danger {
  color: #ff8093;
}

.server-context-icon {
  background: linear-gradient(135deg,var(--brand),var(--brand-2));
  color: #fff;
  border-radius: 12px;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  overflow: hidden;
}

.server-context-icon img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.profile-actions .profile-report {
  color: #ff8598;
}

.report-backdrop {
  z-index: 180;
}

.report-modal {
  color: #f4f6fc;
  background: radial-gradient(circle at 75% 0, #6948ff2e, #0000 35%), linear-gradient(145deg, #1b1f31fa, #0a0d17fc);
  border: 1px solid #c3caff29;
  border-radius: 24px;
  width: min(680px, 100%);
  max-height: min(880px, 100dvh - 30px);
  overflow-y: auto;
  box-shadow: 0 40px 110px #0000009e;
}

.report-modal > header {
  z-index: 3;
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: #111421de;
  align-items: center;
  gap: 12px;
  padding: 19px 21px;
  display: flex;
  position: sticky;
  top: 0;
}

.report-modal > header > span {
  background: linear-gradient(135deg, #6e5ee9, #3e9ee9);
  border-radius: 14px;
  place-items: center;
  width: 43px;
  height: 43px;
  display: grid;
  box-shadow: 0 10px 25px #594be045;
}

.report-modal > header > div {
  flex: 1;
}

.report-modal header small, .report-modal header h2 {
  margin: 0;
  display: block;
}

.report-modal header small {
  color: #8e82ff;
  letter-spacing: 1.7px;
  font-size: 7px;
  font-weight: 800;
}

.report-modal header h2 {
  margin-top: 4px;
  font-size: 17px;
}

.report-modal > header > button {
  color: #8d95a7;
  background: #ffffff0a;
  border-radius: 10px;
  place-items: center;
  width: 35px;
  height: 35px;
  display: grid;
}

.report-target {
  background: #7667ff0e;
  border: 1px solid #7667ff24;
  border-radius: 14px;
  align-items: center;
  gap: 11px;
  margin: 17px 21px 0;
  padding: 12px;
  display: flex;
}

.report-target > i {
  color: #9b91ff;
  background: #7667ff21;
  border-radius: 11px;
  place-items: center;
  width: 35px;
  height: 35px;
  display: grid;
}

.report-target span {
  flex: 1;
  min-width: 0;
}

.report-target b, .report-target small {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.report-target b {
  font-size: 12px;
}

.report-target small {
  color: #788195;
  margin-top: 3px;
  font-size: 9px;
}

.report-target em {
  color: #858ea1;
  background: #ffffff0a;
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 8px;
  font-style: normal;
}

.report-modal form {
  gap: 17px;
  padding: 19px 21px 22px;
  display: grid;
}

.report-modal fieldset {
  border: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.report-modal legend, .report-description > span, .report-evidence > span {
  color: #cbd0dc;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
}

.report-description > span, .report-evidence > span {
  align-items: center;
  gap: 7px;
  display: flex;
}

.report-description > span b {
  color: #ff8093;
  background: #ff617a17;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 7px;
}

.report-evidence > span small {
  color: #687185;
  font-size: 8px;
}

.report-categories {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  display: grid;
}

.report-categories > button {
  border: 1px solid var(--line);
  color: #8d95a7;
  text-align: right;
  background: #ffffff06;
  border-radius: 12px;
  grid-template-columns: 30px 1fr 20px;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 8px 10px;
  display: grid;
}

.report-categories > button > i {
  color: #756bed;
}

.report-categories > button > b {
  color: #6de0ad;
  display: none;
}

.report-categories > button:hover {
  background: #7667ff0f;
  border-color: #7667ff40;
}

.report-categories > button.active {
  color: #fff;
  background: linear-gradient(90deg, #7667ff26, #42d8ff09);
  border-color: #7667ff61;
}

.report-categories > button.active > b {
  display: block;
}

.report-description, .report-evidence {
  display: grid;
  position: relative;
}

.report-description textarea, .report-evidence input {
  border: 1px solid var(--line);
  color: #eef0f7;
  width: 100%;
  font: inherit;
  background: #03050b73;
  border-radius: 13px;
  outline: 0;
  font-size: 11px;
}

.report-description textarea {
  resize: vertical;
  min-height: 120px;
  padding: 13px;
  line-height: 1.9;
}

.report-evidence input {
  height: 44px;
  padding: 0 12px;
}

.report-description textarea:focus, .report-evidence input:focus {
  border-color: #7667ff7a;
  box-shadow: 0 0 0 4px #7667ff12;
}

.report-description > small {
  color: #5f687a;
  font-size: 8px;
  position: absolute;
  bottom: 9px;
  left: 11px;
}

.report-confirm {
  border: 1px solid var(--line);
  color: #7f889b;
  text-align: right;
  background: #ffffff05;
  border-radius: 11px;
  align-items: flex-start;
  gap: 9px;
  padding: 11px;
  font-size: 9px;
  line-height: 1.7;
  display: flex;
}

.report-confirm > i {
  color: #626b7e;
  margin-top: 3px;
}

.report-confirm.active {
  color: #b5c7be;
  background: #4fdda00a;
  border-color: #4fdda02b;
}

.report-confirm.active > i {
  color: #58dda4;
}

.report-modal .inline-error {
  align-items: center;
  gap: 7px;
  margin: 0;
  display: flex;
}

.report-modal form > footer {
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
  display: flex;
}

.report-modal form > footer button {
  border-radius: 10px;
  min-height: 40px;
  padding: 0 15px;
}

.report-modal form > footer > button:first-child {
  border: 1px solid var(--line);
  color: #929aac;
  background: #ffffff06;
}

.report-loading {
  gap: 9px;
  padding: 22px;
  display: grid;
}

.report-loading i {
  background: #ffffff0a;
  border-radius: 11px;
  height: 46px;
  animation: 1.2s infinite soft-pulse;
}

.report-toast {
  color: #68dda8;
  border-color: #4fdda033;
}

@media (max-width: 600px) {
  .report-backdrop {
    align-items: end;
    padding: 0;
  }

  .report-modal {
    border-radius: 22px 22px 0 0;
    max-height: 94dvh;
  }

  .report-modal > header {
    padding: 14px;
  }

  .report-target {
    margin: 12px 13px 0;
  }

  .report-modal form {
    padding: 15px 13px calc(18px + env(safe-area-inset-bottom));
  }

  .report-categories {
    grid-template-columns: 1fr;
  }

  .report-modal form > footer {
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    background: #0d101be0;
    padding: 9px 0;
    position: sticky;
    bottom: 0;
  }

  .report-modal form > footer button {
    flex: 1;
  }
}

@media (max-height: 560px) and (orientation: landscape) and (max-width: 900px) {
  .auth-page {
    grid-template-columns: 1fr;
    place-items: center;
  }

  .auth-hero {
    display: none;
  }

  .auth-card {
    width: min(100%, 430px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.avatar, .avatar img, .profile-avatar, .profile-avatar img, .profile-modal-avatar, .profile-modal-avatar img, .voice-avatar, .voice-avatar img, .member-row .avatar, .member-row .avatar img, .voice-channel-users .avatar, .voice-channel-users .avatar img, .user-dock .avatar, .user-dock .avatar img {
  overflow: hidden;
  aspect-ratio: 1 !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

.voice-avatar {
  place-items: center !important;
  width: 92px !important;
  min-width: 92px !important;
  height: 92px !important;
  min-height: 92px !important;
  display: grid !important;
}

.voice-avatar img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.profile-avatar {
  width: 88px !important;
  min-width: 88px !important;
  height: 88px !important;
}

.profile-modal-avatar {
  width: 92px !important;
  min-width: 92px !important;
  height: 92px !important;
}

.user-dock .avatar {
  width: 38px !important;
  height: 38px !important;
}

.member-row .avatar, .voice-channel-users .avatar {
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
}

.channel-sidebar > .server-heading {
  background: linear-gradient(135deg, #1c2137e6, #0d111fc2);
  border: 1px solid #98a1ff1f;
  border-radius: 18px 18px 10px 10px;
  min-height: 64px;
}

.header-actions > button, .direct-header-actions > button, .message-toolbar > button, .user-dock > button:not(.user-avatar-button), .channel-pin, .profile-close, .custom-modal > header > button, .member-sidebar > header > button, .voice-leave-mini {
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.header-actions > button:hover, .direct-header-actions > button:hover, .message-toolbar > button:hover, .user-dock > button:not(.user-avatar-button):hover, .channel-pin:hover, .profile-close:hover, .custom-modal > header > button:hover, .voice-leave-mini:hover {
  text-shadow: 0 0 14px #49beffbf;
  transform: translateY(-1px);
  color: #7df !important;
}

.voice-dock-actions button, .call-controls button:not(.open-text-chat) {
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
}

.voice-dock-actions button:hover, .call-controls button:not(.open-text-chat):hover {
  text-shadow: 0 0 16px;
  transform: translateY(-2px);
  color: #8fbcff !important;
}

.call-controls .hangup {
  color: #ff647c !important;
}

.settings-form {
  gap: 18px !important;
}

.settings-form > div:not(.save-bar):not(.profile-preview):not(.theme-grid):not(.choice-grid):not(.chip-list):not(.role-list):not(.permission-list):not(.nitro-plan-grid):not(.nitro-benefits):not(.boost-level-grid):not(.boost-progress):not(.boost-status) {
  background: linear-gradient(145deg, #181d31bd, #0b0f1cb3);
  border: 1px solid #96a4ff1f;
  border-radius: 16px;
  padding: 16px;
  box-shadow: inset 0 1px #ffffff08, 0 10px 35px #00000029;
}

.field-label, .range-field, .toggle-row, .file-choice, .member-role, .permission-list > div, .role-list > div, .boost-status {
  transition: border-color .2s, transform .2s, background .2s;
  background: linear-gradient(135deg, #13182ae0, #0a0e1ac2) !important;
  border: 1px solid #9da9ff21 !important;
  border-radius: 15px !important;
  box-shadow: inset 0 1px #ffffff06 !important;
}

.field-label:focus-within, .range-field:hover, .toggle-row:hover, .file-choice:hover, .member-role:hover, .permission-list > div:hover, .role-list > div:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #1c233beb, #0e1424d1) !important;
  border-color: #54bcff61 !important;
}

.profile-badges {
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 4px;
  display: flex;
}

.profile-badges > span {
  width: 30px;
  height: 30px;
  color: var(--badge-color);
  filter: drop-shadow(0 0 7px color-mix(in srgb,var(--badge-color),transparent 45%));
  place-items: center;
  display: grid;
  position: relative;
}

.profile-badges > span i {
  font-size: 16px;
}

.profile-badges > span small {
  display: none;
}

.profile-badges > span:hover small {
  z-index: 10;
  color: #edf2ff;
  white-space: nowrap;
  background: #070a13;
  border: 1px solid #ffffff1f;
  border-radius: 8px;
  width: max-content;
  max-width: 180px;
  padding: 6px 9px;
  font-size: 11px;
  display: block;
  position: absolute;
  bottom: 36px;
  left: 50%;
  translate: -50%;
}

.boost-progress {
  gap: 8px;
  display: grid;
}

.boost-progress > div {
  background: #ffffff12;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.boost-progress > div span {
  border-radius: inherit;
  background: linear-gradient(90deg, #ff73c7, #966cff, #55c8ff);
  height: 100%;
  display: block;
  box-shadow: 0 0 18px #b56cff;
}

.boost-progress p {
  justify-content: space-between;
  margin: 0;
  display: flex;
}

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

.boost-level-grid article {
  opacity: .58;
  background: #080b16a6;
  border: 1px solid #ffffff14;
  border-radius: 16px;
  padding: 15px;
}

.boost-level-grid article.unlocked {
  opacity: 1;
  background: linear-gradient(145deg, #5f307547, #111629cc);
  border-color: #f47fff52;
}

.boost-level-grid article > i {
  color: #f47fff;
}

.boost-level-grid article b, .boost-level-grid article small {
  display: block;
}

.boost-level-grid article ul {
  color: #aeb7cd;
  padding-left: 18px;
  font-size: 12px;
}

.boost-hero > strong {
  color: #fff;
  letter-spacing: .1em;
  background: linear-gradient(135deg, #e66bff, #687cff);
  border-radius: 999px;
  margin-inline-start: auto;
  padding: 8px 12px;
  font-size: 11px;
}

@media (max-width: 680px) {
  .voice-avatar {
    width: 72px !important;
    min-width: 72px !important;
    height: 72px !important;
    min-height: 72px !important;
  }

  .profile-avatar, .profile-modal-avatar {
    width: 76px !important;
    min-width: 76px !important;
    height: 76px !important;
  }

  .boost-level-grid {
    grid-template-columns: 1fr;
  }

  .settings-form > div {
    min-width: 0;
  }

  .choice-grid, .theme-grid {
    grid-template-columns: 1fr !important;
  }
}

:root, html[data-theme="midnight"] {
  --theme-canvas: #070810;
  --theme-surface: #111421eb;
  --theme-surface-2: #191d2fe0;
  --theme-sidebar: #0d101cf5;
  --theme-glow: #6e52ff33;
}

html[data-theme="graphite"] {
  --bg: #101114;
  --panel: #1c1d22f0;
  --panel-2: #27282ee6;
  --panel-3: #303138bf;
  --line: #e4e8f41f;
  --theme-canvas: #101114;
  --theme-surface: #1d1e23f0;
  --theme-surface-2: #292a31e6;
  --theme-sidebar: #141519f7;
  --theme-glow: #bec6dc1a;
}

html[data-theme="cyber"] {
  --bg: #030914;
  --panel: #071422f0;
  --panel-2: #0c1f31e6;
  --panel-3: #181939c7;
  --line: #42daff29;
  --theme-canvas: #030914;
  --theme-surface: #061423f0;
  --theme-surface-2: #0d2235e6;
  --theme-sidebar: #040e1bf7;
  --theme-glow: #00d5ff33;
}

html[data-theme] body {
  background: radial-gradient(ellipse 58% 44% at 7% -6%, var(--theme-glow), transparent 72%), radial-gradient(ellipse 48% 40% at 101% 102%, color-mix(in srgb, var(--brand-2) 14%, transparent), transparent 72%), var(--theme-canvas);
}

html[data-theme] .channel-sidebar, html[data-theme] .member-sidebar, html[data-theme] .direct-sidebar, html[data-theme] .content-column, html[data-theme] .direct-content, html[data-theme] .settings-window {
  background: linear-gradient(145deg, var(--theme-surface-2), var(--theme-surface));
}

html[data-theme] .server-rail, html[data-theme] .settings-window > aside {
  background: linear-gradient(180deg, var(--theme-sidebar), var(--theme-surface));
}

html[data-theme] .settings-window > main {
  background: radial-gradient(circle at 90% 0, var(--theme-glow), transparent 32%), var(--theme-surface);
}

.settings-backdrop {
  overscroll-behavior: contain;
  overflow: hidden;
}

.settings-window {
  min-height: 0;
  max-height: 100dvh;
  overflow: hidden;
}

.settings-window > aside, .settings-window > main {
  min-height: 0;
  overflow: hidden;
}

.settings-scroll {
  overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  flex: auto;
  height: 0;
  min-height: 0;
  overflow: hidden auto;
}

.theme-card.selected {
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--brand) 18%,transparent),0 12px 30px color-mix(in srgb,var(--brand) 16%,transparent);
  border-color: var(--brand) !important;
}

.custom-color-palette button.selected {
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--swatch) 42%,transparent),0 0 18px color-mix(in srgb,var(--swatch) 35%,transparent) !important;
  border-color: #fff !important;
}

@media (max-width: 700px) {
  .settings-scroll {
    height: 0;
    padding-bottom: max(90px,env(safe-area-inset-bottom));
  }

  .settings-window > aside {
    overflow-y: auto;
  }
}

.advanced-title {
  align-items: center;
  gap: 14px;
  display: flex;
}

.advanced-title > i {
  color: var(--brand-2);
  font-size: 24px;
}

.toggle-row {
  color: #eef1f8;
  text-align: left;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px;
  display: flex;
}

.toggle-row > span {
  gap: 4px;
  display: grid;
}

.toggle-row small {
  color: var(--muted);
}

.toggle-row > i, .mini-switch {
  border-radius: 99px;
  width: 42px;
  height: 24px;
  padding: 3px;
  background: #34394a !important;
}

.toggle-row > i em, .mini-switch i {
  background: #8d95a8;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  transition: all .2s;
  display: block;
}

.toggle-row > i.active, .mini-switch.active {
  background: var(--brand) !important;
}

.toggle-row > i.active em, .mini-switch.active i {
  background: #fff;
  transform: translateX(18px);
}

.field-label select {
  border: 1px solid var(--line);
  color: #eaf0ff;
  background: #0b0f1c;
  border-radius: 10px;
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 10px;
}

.mic-test {
  align-items: center;
  gap: 12px;
  display: flex !important;
}

.mic-test > span {
  background: #282e3e;
  border-radius: 99px;
  flex: 1;
  height: 9px;
  overflow: hidden;
}

.mic-test > span i {
  background: linear-gradient(90deg, #61e1aa, #4fb9ff, #8b68ff);
  height: 100%;
  display: block;
}

.security-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  display: grid !important;
}

.security-card > div {
  grid-column: 1 / -1;
  gap: 4px;
  display: grid;
}

.security-card small {
  color: var(--muted);
}

.security-card input, .gift-redeem input, .inline-create input, .event-create input {
  border: 1px solid var(--line);
  color: #eef2ff;
  background: #090d18;
  border-radius: 10px;
  min-height: 42px;
  padding: 0 11px;
}

.security-card button {
  color: #e9edfa;
  background: #242a3a;
  border-radius: 10px;
  min-height: 42px;
  padding: 0 14px;
}

.session-list {
  gap: 8px;
  display: grid !important;
}

.session-list article {
  border: 1px solid var(--line);
  background: #ffffff05;
  border-radius: 13px;
  align-items: center;
  gap: 11px;
  padding: 12px;
  display: flex;
}

.session-list article > div {
  flex: 1;
  gap: 3px;
  min-width: 0;
  display: grid;
}

.session-list small {
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.notification-center, .server-search, .notification-trigger {
  position: relative;
}

.notification-trigger > b {
  color: #fff;
  background: #f05f7a;
  border-radius: 99px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  font-size: 9px;
  line-height: 17px;
  position: absolute;
  top: -5px;
  right: -7px;
}

.notification-popover, .search-results {
  z-index: 90;
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  background: #0c101dfa;
  border: 1px solid #919dff33;
  border-radius: 18px;
  width: min(390px, 100vw - 20px);
  max-height: min(560px, 70dvh);
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  overflow: auto;
  box-shadow: 0 26px 80px #0000008c;
}

.notification-popover > header, .search-results > header {
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: #0f1321e6;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  display: flex;
  position: sticky;
  top: 0;
}

.notification-popover a, .search-results > button {
  color: #e8ecf7;
  text-align: left;
  border-bottom: 1px solid #ffffff0b;
  gap: 11px;
  width: 100%;
  padding: 13px 15px;
  display: flex;
}

.notification-popover a.unread {
  background: #645cff17;
}

.notification-popover a span, .search-results > button span {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.notification-popover small, .search-results small {
  color: #abb2c3;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.notification-popover time, .search-results time {
  color: #636d82;
  font-size: 9px;
}

.empty-notifications, .search-results > p {
  min-height: 150px;
  color: var(--muted);
  place-items: center;
  gap: 10px;
  display: grid;
}

.search-results {
  left: 0;
  right: auto;
}

.search-results .skeleton-block {
  height: 120px;
  margin: 15px;
}

.community-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  display: grid !important;
}

.community-grid > section, .nitro-purchase, .billing-history {
  border: 1px solid var(--line);
  background: #ffffff06;
  border-radius: 17px;
  align-content: start;
  gap: 12px;
  padding: 17px;
  display: grid;
}

.community-grid > section > div:first-child {
  justify-content: space-between;
  display: flex;
}

.community-items {
  gap: 7px;
  display: grid !important;
}

.community-items > span {
  background: #ffffff09;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  padding: 9px;
  display: flex;
}

.community-items small {
  color: var(--muted);
  margin-left: auto;
}

.event-create {
  gap: 8px;
  display: grid;
}

.nitro-billing {
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 14px;
  display: grid;
}

.nitro-actions, .gift-redeem {
  gap: 8px;
  display: flex;
}

.nitro-actions button, .gift-redeem button {
  border-radius: 10px;
  min-height: 40px;
  padding: 0 13px;
}

.gift-redeem input {
  flex: 1;
  min-width: 0;
}

.billing-history article {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 9px;
  padding: 10px;
  display: flex;
}

.billing-history article span {
  flex: 1;
  display: grid;
}

.billing-history small {
  color: var(--muted);
}

.billing-history strong {
  font-size: 11px;
}

.pwa-install {
  z-index: 300;
  color: #eff2fa;
  background: #0d111ef5;
  border: 1px solid #756dff4d;
  border-radius: 15px;
  align-items: center;
  gap: 11px;
  padding: 12px;
  display: flex;
  position: fixed;
  bottom: 18px;
  left: 18px;
  box-shadow: 0 22px 60px #00000073;
}

.pwa-install > div {
  display: grid;
}

.pwa-install small {
  color: var(--muted);
}

.pwa-install button {
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  padding: 8px 11px;
}

.pwa-install button:last-child {
  color: var(--muted);
  background: none;
}

@media (max-width: 700px) {
  .settings-window > aside nav {
    grid-template-columns: repeat(6, minmax(46px, 1fr));
    overflow-x: auto;
  }

  .settings-window > aside nav button {
    font-size: 0 !important;
  }

  .settings-window > aside nav button i {
    font-size: 15px !important;
  }

  .notification-popover {
    position: fixed;
    top: 64px;
    right: 8px;
  }

  .community-grid, .nitro-billing, .security-card {
    grid-template-columns: 1fr;
  }

  .security-card > * {
    grid-column: 1 !important;
  }

  .nitro-actions {
    flex-wrap: wrap;
  }

  .search-results {
    position: fixed;
    top: 64px;
    left: 8px;
  }

  .pwa-install {
    bottom: 8px;
    left: 8px;
    right: 8px;
  }

  .pwa-install > div {
    flex: 1;
  }
}

.server-search {
  align-items: center;
  gap: 5px;
  display: flex;
}

.search-filter-menu {
  position: relative;
}

.search-filter-menu summary {
  cursor: pointer;
  color: var(--muted);
  list-style: none;
}

.search-filter-menu summary::-webkit-details-marker {
  display: none;
}

.search-filter-menu > section {
  z-index: 95;
  border: 1px solid var(--line);
  background: #101523;
  border-radius: 15px;
  gap: 10px;
  width: 280px;
  padding: 14px;
  display: grid;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  box-shadow: 0 20px 60px #0008;
}

.search-filter-menu label {
  color: var(--muted);
  gap: 5px;
  font-size: 10px;
  display: grid;
}

.search-filter-menu input, .search-filter-menu select {
  border: 1px solid var(--line);
  color: #eef2ff;
  background: #080c17;
  border-radius: 9px;
  min-height: 38px;
  padding: 0 9px;
}

.search-filter-menu button {
  color: #dfe5f5;
  background: #252b3d;
  border-radius: 9px;
  min-height: 38px;
}

.search-filter-menu button.active {
  color: #fff;
  background: var(--brand);
}

@media (max-width: 700px) {
  .search-filter-menu > section {
    width: calc(100vw - 16px);
    position: fixed;
    top: 62px;
    right: 8px;
  }
}

.onboarding-backdrop {
  z-index: 210;
}

.onboarding-modal {
  background: radial-gradient(circle at 80% 0, #5a4eff33, #0000 35%), #111624;
  width: min(650px, 100vw - 24px);
  padding: 22px;
}

.onboarding-modal > header {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.onboarding-modal > header small {
  color: #8178ff;
  letter-spacing: 1.5px;
  font-size: 9px;
}

.onboarding-modal > header h2 {
  margin: 5px 0;
}

.onboarding-modal > header > i {
  color: #66c9ff;
  font-size: 30px;
}

.onboarding-questions {
  gap: 12px;
  margin: 18px 0;
  display: grid;
}

.onboarding-questions > section {
  border: 1px solid var(--line);
  background: #ffffff06;
  border-radius: 14px;
  gap: 10px;
  padding: 14px;
  display: grid;
}

.onboarding-questions b {
  align-items: center;
  gap: 8px;
  display: flex;
}

.onboarding-questions em {
  color: #a49fff;
  background: #665cff2e;
  border-radius: 8px;
  place-items: center;
  width: 25px;
  height: 25px;
  font-style: normal;
  display: grid;
}

.onboarding-questions section > div {
  flex-wrap: wrap;
  gap: 7px;
  display: flex;
}

.onboarding-questions button {
  color: #b7bfce;
  background: #252b3c;
  border-radius: 9px;
  padding: 8px 11px;
}

.onboarding-questions button i {
  opacity: .4;
  margin-right: 6px;
}

.onboarding-questions button.selected {
  color: #69dda9;
  background: #4bd29e24;
}

.onboarding-questions button.selected i {
  opacity: 1;
}

.onboarding-modal > .primary-button {
  width: 100%;
  min-height: 45px;
}

/* [project]/src/app/marketing.css [app-client] (css) */
.marketing-site {
  --site-bg: #070812;
  --site-panel: #121524b8;
  --site-line: #bec6ff1f;
  --site-purple: #7667ff;
  --site-cyan: #42d8ff;
  color: #f7f7ff;
  background: radial-gradient(circle at 72% 4%, #6f4dff2b, #0000 30%), linear-gradient(155deg, #080914, #090b18 46%, #070810);
  min-height: 100dvh;
  overflow: hidden;
}

.marketing-site * {
  box-sizing: border-box;
}

.home-tech-canvas {
  z-index: 0;
  pointer-events: none;
  height: 1450px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

.tech-grid-major, .tech-grid-minor, .tech-scan {
  position: absolute;
  inset: 0;
}

.tech-grid-major {
  opacity: .5;
  background-image: linear-gradient(#8b83ff18 1px, #0000 1px), linear-gradient(90deg, #8b83ff18 1px, #0000 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(#000 0%, #000000e0 52%, #0000 100%);
  mask-image: linear-gradient(#000 0%, #000000e0 52%, #0000 100%);
}

.tech-grid-minor {
  opacity: .24;
  background-image: linear-gradient(#4abdff13 1px, #0000 1px), linear-gradient(90deg, #4abdff13 1px, #0000 1px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(62% 35% at 66% 24%, #000, #0000 85%);
  mask-image: radial-gradient(62% 35% at 66% 24%, #000, #0000 85%);
}

.tech-grid-major:before, .tech-grid-major:after {
  content: "";
  background: linear-gradient(#0000, #7f70ff7a 18%, #42d8ff2e 68%, #0000);
  width: 1px;
  position: absolute;
  top: 0;
  bottom: 0;
  box-shadow: 0 0 18px #7667ff52;
}

.tech-grid-major:before {
  right: 18%;
}

.tech-grid-major:after {
  left: 14%;
}

.tech-scan {
  opacity: .45;
  background: linear-gradient(#0000, #6353e70e 48%, #57ceff2b 50%, #6353e70a 52%, #0000);
  height: 190px;
  animation: 9s linear infinite tech-scan;
}

.tech-orbit {
  border: 1px solid #8274ff24;
  border-radius: 50%;
  display: block;
  position: absolute;
  box-shadow: 0 0 65px #5d4de20f, inset 0 0 65px #40bfff09;
}

.tech-orbit:before, .tech-orbit:after {
  content: "";
  border-radius: 50%;
  position: absolute;
}

.tech-orbit:before {
  border: 1px dashed #4fc0ff24;
  inset: 13%;
}

.tech-orbit:after {
  background: #6fe2ff;
  width: 7px;
  height: 7px;
  top: 12%;
  left: 26%;
  box-shadow: 0 0 0 6px #5bd2ff0f, 0 0 15px #5bd2ffa6;
}

.orbit-a {
  width: 620px;
  height: 620px;
  animation: 38s linear infinite tech-rotate;
  top: 120px;
  left: 43%;
}

.orbit-b {
  border-color: #7667ff1a;
  width: 290px;
  height: 290px;
  animation: 26s linear infinite reverse tech-rotate;
  top: 520px;
  right: -90px;
}

.tech-circuit {
  transform-origin: 100%;
  background: linear-gradient(90deg, #0000, #695beb73, #46ccff47, #0000);
  height: 1px;
  display: block;
  position: absolute;
}

.tech-circuit:before, .tech-circuit:after {
  content: "";
  background: #101426;
  border: 1px solid #66cdff8c;
  width: 5px;
  height: 5px;
  position: absolute;
  top: -2px;
  transform: rotate(45deg);
  box-shadow: 0 0 10px #42d8ff59;
}

.tech-circuit:before {
  right: 24%;
}

.tech-circuit:after {
  left: 17%;
}

.circuit-a {
  width: 380px;
  top: 225px;
  right: -30px;
  transform: rotate(-18deg);
}

.circuit-b {
  width: 310px;
  top: 665px;
  left: -50px;
  transform: rotate(28deg);
}

.circuit-c {
  opacity: .5;
  width: 260px;
  top: 1010px;
  right: 18%;
  transform: rotate(90deg);
}

.tech-node {
  background: #7f72ff;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  animation: 3.2s ease-in-out infinite node-blink;
  position: absolute;
  box-shadow: 0 0 0 5px #7667ff0f, 0 0 14px #7667ffa6;
}

.node-a {
  top: 176px;
  right: 9%;
}

.node-b {
  animation-delay: -1.1s;
  top: 390px;
  right: 42%;
}

.node-c {
  animation-delay: -2.3s;
  top: 710px;
  left: 11%;
}

.node-d {
  animation-delay: -.6s;
  top: 890px;
  right: 23%;
}

.node-e {
  animation-delay: -1.8s;
  top: 1170px;
  left: 29%;
}

.tech-label {
  color: #89c2e061;
  letter-spacing: .12em;
  direction: ltr;
  border-right: 1px solid #59cdff59;
  padding: 4px 7px;
  font: 500 7px / 1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  position: absolute;
}

.label-a {
  top: 130px;
  left: 8%;
}

.label-b {
  transform-origin: 100% 0;
  top: 610px;
  right: 4%;
  transform: rotate(90deg);
}

.label-c {
  top: 935px;
  left: 7%;
}

.site-header {
  z-index: 100;
  border: 1px solid #0000;
  border-radius: 20px;
  align-items: center;
  gap: 34px;
  width: min(1180px, 100% - 40px);
  height: 68px;
  padding: 0 16px 0 10px;
  transition: all .35s;
  display: flex;
  position: fixed;
  top: 16px;
  right: 50%;
  transform: translateX(50%);
}

.site-header.scrolled {
  border-color: var(--site-line);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  background: #0a0c16c7;
  top: 10px;
  box-shadow: 0 16px 50px #0000004d;
}

.site-logo {
  direction: ltr;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  display: flex;
}

.site-logo > span {
  background: linear-gradient(135deg, #7667ff, #54a8ff);
  border: 1px solid #ffffff2e;
  border-radius: 14px;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 18px;
  display: grid;
  box-shadow: 0 9px 24px #6959ff52, inset 0 1px #ffffff2e;
}

.site-logo b {
  letter-spacing: .03em;
  font: 800 17px / 1 Vazirmatn, sans-serif;
}

.site-logo em {
  color: #8a7dff;
  font-style: normal;
}

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

.site-header nav > a {
  color: #a8aec1;
  padding: 10px 11px;
  font-size: 12px;
  text-decoration: none;
  position: relative;
}

.site-header nav > a:hover, .site-header nav > a.active {
  color: #fff;
}

.site-header nav > a.active:after {
  content: "";
  background: linear-gradient(90deg,var(--site-purple),var(--site-cyan));
  height: 2px;
  box-shadow: 0 0 9px var(--site-purple);
  border-radius: 9px;
  position: absolute;
  bottom: 1px;
  left: 30%;
  right: 30%;
}

.header-actions-site {
  align-items: center;
  gap: 8px;
  display: flex;
}

.header-actions-site a {
  text-decoration: none;
}

.icon-button, .menu-toggle {
  border: 1px solid var(--site-line);
  color: #bbc0d1;
  background: #ffffff09;
  border-radius: 12px;
  place-items: center;
  width: 39px;
  height: 39px;
  display: grid;
}

.icon-button:hover {
  color: #fff;
  background: #7667ff26;
  transform: translateY(-2px);
}

.login-link {
  color: #d5d8e3;
  padding: 9px 12px;
  font-size: 12px;
}

.register-button {
  background: linear-gradient(135deg, #7868ff, #5d60e8);
  border: 1px solid #ffffff21;
  border-radius: 12px;
  align-items: center;
  gap: 7px;
  padding: 11px 17px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  box-shadow: 0 10px 25px #5d52e845;
}

.register-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.menu-toggle, .mobile-auth {
  display: none;
}

.hero-section {
  grid-template-columns: minmax(400px, .8fr) minmax(520px, 1.2fr);
  align-items: center;
  gap: 38px;
  width: min(1280px, 100%);
  min-height: 780px;
  margin: auto;
  padding: 150px 50px 85px;
  display: grid;
  position: relative;
}

.hero-section:after {
  content: "";
  z-index: 0;
  opacity: .28;
  pointer-events: none;
  background-image: linear-gradient(#9995ff0b 1px, #0000 1px), linear-gradient(90deg, #9995ff0b 1px, #0000 1px);
  background-size: 54px 54px;
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(circle at 65% 45%, #000, #0000 66%);
  mask-image: radial-gradient(circle at 65% 45%, #000, #0000 66%);
}

.hero-orb {
  z-index: 0;
  filter: blur(2px);
  pointer-events: none;
  border-radius: 50%;
  position: absolute;
}

.hero-orb-one {
  background: #6849ff14;
  width: 340px;
  height: 340px;
  top: 100px;
  left: 44%;
  box-shadow: 0 0 120px #6849ff2e;
}

.hero-orb-two {
  background: #22b5ff0d;
  width: 260px;
  height: 260px;
  bottom: 100px;
  right: 2%;
  box-shadow: 0 0 100px #22b5ff1f;
}

.hero-copy, .product-scene {
  z-index: 2;
  position: relative;
}

.hero-copy {
  padding-right: 18px;
}

.hero-badge {
  color: #aaa2ff;
  background: #6859ff12;
  border: 1px solid #7d70ff38;
  border-radius: 99px;
  align-items: center;
  gap: 7px;
  width: max-content;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
}

.hero-badge span {
  background: #58e19c;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  animation: 2s infinite soft-pulse;
  box-shadow: 0 0 10px #58e19c;
}

.hero-copy h1 {
  letter-spacing: -.045em;
  margin: 22px 0 17px;
  font-size: clamp(43px, 5vw, 68px);
  line-height: 1.2;
}

.hero-copy h1 em, .section-heading h2 em {
  color: #0000;
  background: linear-gradient(90deg, #a99fff, #4ed8ff);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}

.hero-copy > p {
  color: #9fa6bb;
  max-width: 530px;
  margin: 0;
  font-size: 15px;
  line-height: 2.05;
}

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

.button {
  border: 1px solid var(--site-line);
  border-radius: 13px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 47px;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  display: inline-flex;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: linear-gradient(135deg, #7868ff, #5b65e7);
  box-shadow: 0 13px 32px #6254ed47;
}

.button-ghost {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #ffffff09;
}

.button-ghost:hover {
  background: #ffffff13;
}

.hero-trust {
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  display: flex;
}

.mini-avatars {
  direction: ltr;
  display: flex;
}

.mini-avatars span {
  background: linear-gradient(135deg, #374157, #252a3c);
  border: 2px solid #0b0d18;
  border-radius: 50%;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: -8px;
  font-size: 9px;
  font-weight: 800;
  display: grid;
}

.mini-avatars span:nth-child(2) {
  background: linear-gradient(135deg, #ef80ab, #8c63f2);
}

.mini-avatars span:nth-child(3) {
  background: linear-gradient(135deg, #3bc6ca, #4671ef);
}

.hero-trust p {
  margin: 0;
}

.hero-trust b, .hero-trust small {
  display: block;
}

.hero-trust b {
  font-size: 10px;
}

.hero-trust small {
  color: #757d91;
  margin-top: 3px;
  font-size: 8px;
}

.product-scene {
  perspective: 1100px;
  direction: ltr;
  height: 530px;
}

.scene-glow {
  filter: blur(80px);
  background: linear-gradient(135deg, #674dff59, #1cbfff2e);
  border-radius: 50%;
  position: absolute;
  inset: 15% 8%;
}

.app-preview {
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  background: #0b0d17e6;
  border: 1px solid #c5c8ff26;
  border-radius: 20px;
  grid-template-columns: 58px 168px minmax(0, 1fr);
  display: grid;
  position: absolute;
  inset: 48px 12px 45px 10px;
  overflow: hidden;
  transform: rotateY(-4deg)rotateX(2deg);
  box-shadow: 0 38px 100px #0000007a, inset 0 0 0 1px #ffffff05;
}

.preview-rail {
  background: #07080fb3;
  border-right: 1px solid #ffffff12;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 11px 7px;
  display: flex;
}

.preview-logo, .server-dot {
  background: #222638;
  border-radius: 13px;
  place-items: center;
  width: 39px;
  height: 39px;
  font-size: 9px;
  font-weight: 800;
  display: grid;
}

.preview-logo {
  background: linear-gradient(135deg, #7767ff, #4cb4ff);
  margin-bottom: 5px;
  font-size: 14px;
}

.server-dot.active {
  background: linear-gradient(135deg, #6758e9, #4e87ee);
  border-radius: 11px;
}

.server-dot:last-child {
  color: #59d99a;
  background: #46d59717;
}

.preview-channels {
  direction: rtl;
  background: #151826bd;
  border-right: 1px solid #ffffff0f;
  flex-direction: column;
  padding: 0 8px 60px;
  display: flex;
  position: relative;
}

.preview-channels header {
  border-bottom: 1px solid #ffffff0f;
  justify-content: space-between;
  align-items: center;
  height: 58px;
  padding: 0 7px;
  display: flex;
}

.preview-channels header small, .preview-channels header b {
  display: block;
}

.preview-channels header small {
  color: #777f95;
  letter-spacing: .12em;
  font-size: 6px;
}

.preview-channels header b {
  margin-top: 4px;
  font-size: 9px;
}

.preview-channels > p {
  color: #737b8e;
  margin: 14px 6px 5px;
  font-size: 7px;
}

.preview-channels > button {
  color: #858da1;
  text-align: right;
  background: none;
  border-radius: 7px;
  align-items: center;
  gap: 7px;
  padding: 8px;
  font-size: 8px;
  display: flex;
}

.preview-channels > button.active {
  color: #fff;
  background: linear-gradient(90deg, #7767ff2e, #ffffff08);
}

.live-dot {
  background: #52d798;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  margin-right: auto;
  box-shadow: 0 0 7px #52d798;
}

.preview-user {
  background: #06080e6b;
  align-items: center;
  gap: 6px;
  padding: 9px;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.preview-user > span {
  background: linear-gradient(135deg, #7865ec, #56b2ee);
  border-radius: 50%;
  place-items: center;
  width: 27px;
  height: 27px;
  font-size: 8px;
  display: grid;
}

.preview-user b {
  flex: 1;
  font-size: 8px;
}

.preview-user small {
  color: #56d99a;
  margin-top: 2px;
  font-size: 6px;
  display: block;
}

.preview-user > i {
  color: #8b92a5;
  font-size: 8px;
}

.preview-chat {
  direction: rtl;
  background: radial-gradient(circle at 80% 20%, #624de112, #0000 35%), #0e101bb3;
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.preview-chat > header {
  color: #8d95a9;
  border-bottom: 1px solid #ffffff0f;
  align-items: center;
  gap: 9px;
  height: 58px;
  padding: 0 14px;
  font-size: 9px;
  display: flex;
}

.preview-chat > header b {
  color: #e8eaf1;
}

.preview-chat > header span {
  flex: 1;
}

.preview-messages {
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
  gap: 15px;
  padding: 16px;
  display: flex;
}

.preview-messages article {
  gap: 9px;
  display: flex;
}

.preview-messages article > span {
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 8px;
  display: grid;
}

.avatar-purple {
  background: linear-gradient(135deg, #e070aa, #855fee);
}

.avatar-blue {
  background: linear-gradient(135deg, #35b9ee, #435ee6);
}

.avatar-green {
  background: linear-gradient(135deg, #39d2a4, #317ab8);
}

.preview-messages b {
  font-size: 8px;
}

.preview-messages small {
  color: #626a7c;
  margin-right: 5px;
  font-size: 6px;
  font-weight: 400;
}

.preview-messages p {
  color: #c0c4d0;
  margin: 4px 0 0;
  font-size: 8px;
}

.reaction {
  background: #7667ff1a;
  border: 1px solid #7d69ff4d;
  border-radius: 5px;
  width: max-content;
  margin-top: 6px;
  padding: 3px 6px;
  font-size: 7px;
}

.preview-compose {
  color: #8a91a3;
  background: #2f3346a6;
  border: 1px solid #ffffff12;
  border-radius: 9px;
  align-items: center;
  gap: 9px;
  margin: 0 13px 13px;
  padding: 10px;
  font-size: 8px;
  display: flex;
}

.preview-compose span {
  flex: 1;
}

.floating-card {
  z-index: 4;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  direction: rtl;
  background: #141726c2;
  border: 1px solid #c4c8ff29;
  border-radius: 13px;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  animation: 4s ease-in-out infinite float-card;
  display: flex;
  position: absolute;
  box-shadow: 0 16px 36px #00000057;
}

.float-call {
  bottom: 28px;
  right: -10px;
}

.float-call > span {
  color: #52dba0;
  background: #41d2921f;
  border-radius: 10px;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}

.float-call div {
  min-width: 90px;
}

.float-call b, .float-call small {
  display: block;
}

.float-call b {
  font-size: 8px;
}

.float-call small {
  color: #5fd99f;
  margin-top: 2px;
  font-size: 6px;
}

.float-call > i {
  color: #57db9e;
  font-size: 9px;
}

.float-online {
  animation-delay: -2s;
  top: 28px;
  left: 4px;
}

.float-online b {
  font-size: 8px;
}

.pulse-dot {
  background: #4ee29b;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 5px #4ee29b17, 0 0 10px #4ee29b80;
}

.logo-strip {
  z-index: 2;
  color: #666f84;
  border-block: 1px solid #ffffff0f;
  align-items: center;
  gap: 40px;
  width: min(1100px, 100% - 40px);
  margin: auto;
  padding: 24px 34px;
  display: flex;
  position: relative;
}

.logo-strip > span {
  white-space: nowrap;
  font-size: 9px;
}

.logo-strip > div {
  flex: 1;
  justify-content: space-around;
  gap: 22px;
  display: flex;
}

.logo-strip b {
  color: #7f879a;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  display: flex;
}

.logo-strip i {
  font-size: 15px;
}

.section-block {
  width: min(1120px, 100% - 40px);
  margin: auto;
  padding: 120px 0;
}

.section-heading {
  text-align: center;
}

.section-heading > span, .inner-hero > span {
  color: #9187ff;
  letter-spacing: .1em;
  font-size: 10px;
  font-weight: 800;
}

.section-heading h2 {
  letter-spacing: -.04em;
  margin: 13px 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.28;
}

.section-heading p {
  color: #8e96aa;
  max-width: 510px;
  margin: auto;
  font-size: 12px;
  line-height: 1.95;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 50px;
  display: grid;
}

.feature-card {
  background: linear-gradient(145deg, #1b1f31b8, #0e111db8);
  border: 1px solid #b8c2ff1a;
  border-radius: 19px;
  min-height: 235px;
  padding: 25px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px #ffffff06;
}

.feature-card:before {
  content: "";
  filter: blur(25px);
  background: #7766ff0f;
  border-radius: 50%;
  width: 130px;
  height: 130px;
  position: absolute;
  top: -60px;
  left: -40px;
}

.feature-card:hover {
  border-color: #8477ff4d;
  transform: translateY(-7px);
  box-shadow: 0 22px 55px #00000040, 0 0 30px #6e59ff0f;
}

.feature-icon {
  border: 1px solid #ffffff12;
  border-radius: 15px;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 18px;
  display: grid;
}

.tint-1 {
  color: #9b90ff;
  background: #7767ff21;
}

.tint-2 {
  color: #55d1ff;
  background: #30c2ff1c;
}

.tint-3 {
  color: #55dca5;
  background: #38d79e1a;
}

.feature-card h3 {
  margin: 20px 0 8px;
  font-size: 15px;
}

.feature-card p {
  color: #8c94a8;
  margin: 0;
  font-size: 10px;
  line-height: 1.95;
}

.card-arrow {
  color: #626a7d;
  font-size: 11px;
  transition: all .25s;
  position: absolute;
  bottom: 24px;
  left: 24px;
}

.feature-card:hover .card-arrow {
  color: #a398ff;
  transform: translateX(-5px);
}

.showcase {
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 80px;
  padding-top: 50px;
  display: grid;
}

.section-kicker {
  color: #65d4ff;
  background: #3ebeef0f;
  border: 1px solid #66d8ff29;
  border-radius: 99px;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  font-size: 9px;
  display: inline-flex;
}

.showcase-copy h2 {
  letter-spacing: -.04em;
  margin: 16px 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.35;
}

.showcase-copy > p {
  color: #9199ac;
  font-size: 11px;
  line-height: 2;
}

.showcase-copy ul {
  gap: 12px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.showcase-copy li {
  color: #c9cdd8;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  display: flex;
}

.showcase-copy li i {
  color: #50dba0;
  background: #46d89e1a;
  border-radius: 7px;
  place-items: center;
  width: 20px;
  height: 20px;
  font-size: 8px;
  display: grid;
}

.text-link {
  color: #a59bff;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
}

.text-link:hover {
  gap: 14px;
}

.voice-visual {
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  background: linear-gradient(145deg, #1e2235cc, #0d101bd1);
  border: 1px solid #c0c8ff24;
  border-radius: 24px;
  padding: 20px;
  position: relative;
  box-shadow: 0 32px 80px #00000059;
}

.voice-top {
  border-bottom: 1px solid #ffffff12;
  align-items: center;
  gap: 11px;
  padding-bottom: 17px;
  display: flex;
}

.voice-top > span {
  color: #4cd89e;
  background: #4bd5a01a;
  border-radius: 12px;
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
}

.voice-top > div:nth-child(2) {
  flex: 1;
}

.voice-top b, .voice-top small {
  display: block;
}

.voice-top b {
  font-size: 11px;
}

.voice-top small {
  color: #777f93;
  margin-top: 3px;
  font-size: 7px;
}

.quality {
  color: #54d99f;
  background: #48d8a014;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  font-size: 7px;
  display: flex;
}

.voice-people {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 20px 0;
  display: grid;
}

.voice-people article {
  background: #ffffff06;
  border: 1px solid #ffffff0f;
  border-radius: 15px;
  justify-items: center;
  padding: 22px 10px 16px;
  display: grid;
}

.voice-avatar {
  border: 3px solid #64dfa873;
  border-radius: 50%;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 11px;
  font-weight: 800;
  display: grid;
  box-shadow: 0 0 0 5px #50d99f0d;
}

.va-1 {
  background: linear-gradient(135deg, #6e5dea, #45abdd);
}

.va-2 {
  background: linear-gradient(135deg, #e2699c, #7c5cda);
}

.va-3 {
  background: linear-gradient(135deg, #34c7a5, #3b78d8);
}

.voice-people b {
  font-size: 9px;
}

.voice-people small {
  color: #62dca4;
  margin-top: 5px;
  font-size: 6px;
}

.voice-people article:nth-child(2) small {
  color: #858da0;
}

.voice-controls {
  justify-content: center;
  gap: 7px;
  display: flex;
}

.voice-controls button {
  color: #c6cbd8;
  background: #ffffff0e;
  border: 1px solid #ffffff12;
  border-radius: 11px;
  width: 42px;
  height: 38px;
}

.voice-controls button:hover {
  background: #7767ff2e;
  transform: translateY(-2px);
}

.voice-controls button.end {
  color: #fff;
  background: #e74861d9;
  width: 54px;
}

.cta-section {
  text-align: center;
  background: linear-gradient(125deg, #5343d28f, #3431946b 55%, #1a61895c);
  border: 1px solid #b9b3ff33;
  border-radius: 28px;
  width: min(1120px, 100% - 40px);
  margin: 10px auto 105px;
  padding: 67px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px #00000047;
}

.cta-section:before {
  content: "";
  opacity: .35;
  background-image: linear-gradient(#ffffff0f 1px, #0000 1px), linear-gradient(90deg, #ffffff0f 1px, #0000 1px);
  background-size: 35px 35px;
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(circle, #000, #0000 75%);
  mask-image: radial-gradient(circle, #000, #0000 75%);
}

.cta-glow {
  filter: blur(60px);
  background: #a190ff59;
  border-radius: 50%;
  width: 280px;
  height: 280px;
  position: absolute;
  top: -170px;
  right: calc(50% - 140px);
}

.cta-section > :not(.cta-glow) {
  position: relative;
}

.brand-emblem {
  background: #ffffff1a;
  border: 1px solid #fff3;
  border-radius: 17px;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: grid;
  box-shadow: 0 12px 28px #0003;
}

.cta-section h2 {
  letter-spacing: -.035em;
  margin: 0;
  font-size: clamp(28px, 4vw, 43px);
}

.cta-section p {
  color: #c3c4e5;
  margin: 10px 0 25px;
  font-size: 11px;
}

.cta-section > div:last-child {
  justify-content: center;
  gap: 9px;
  display: flex;
}

.button-light {
  color: #1c1d36;
  background: #fff;
  border-color: #fff;
}

.button-clear {
  background: #ffffff14;
}

.site-footer {
  background: #05060c8c;
  border-top: 1px solid #ffffff12;
}

.footer-main {
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  width: min(1120px, 100% - 40px);
  margin: auto;
  padding: 60px 0 45px;
  display: grid;
}

.footer-brand > p {
  color: #7e869a;
  max-width: 300px;
  margin: 18px 0;
  font-size: 10px;
  line-height: 1.9;
}

.socials {
  gap: 7px;
  display: flex;
}

.socials a {
  color: #8e96a8;
  background: #ffffff06;
  border: 1px solid #ffffff14;
  border-radius: 10px;
  place-items: center;
  width: 34px;
  height: 34px;
  text-decoration: none;
  display: grid;
}

.socials a:hover {
  color: #fff;
  background: #7767ff1f;
  border-color: #7f71ff4d;
  transform: translateY(-3px);
}

.footer-main > div:not(.footer-brand) {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.footer-main h4 {
  color: #d7dae4;
  margin: 4px 0 9px;
  font-size: 10px;
}

.footer-main > div > a {
  color: #81899d;
  font-size: 9px;
  text-decoration: none;
}

.footer-main > div > a:hover {
  color: #b3aaff;
  transform: translateX(-3px);
}

.status-dot {
  background: #4bd99c;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  display: inline-block;
  box-shadow: 0 0 7px #4bd99c;
}

.trust-marks {
  gap: 7px;
  display: flex;
}

.trust-marks > span {
  color: #798196;
  text-align: center;
  background: #ffffff06;
  border: 1px solid #ffffff14;
  border-radius: 10px;
  place-items: center;
  width: 58px;
  height: 68px;
  display: grid;
}

.trust-marks i {
  font-size: 17px;
}

.trust-marks small {
  font-size: 6px;
  line-height: 1.5;
}

.footer-bottom {
  color: #646c80;
  border-top: 1px solid #ffffff0f;
  align-items: center;
  gap: 30px;
  width: min(1120px, 100% - 40px);
  min-height: 68px;
  margin: auto;
  font-size: 8px;
  display: flex;
}

.footer-bottom > span {
  margin: auto;
}

.footer-bottom > span i {
  color: #f06b83;
}

.footer-bottom > div {
  gap: 6px;
  display: flex;
}

.footer-bottom button {
  color: #767e92;
  background: #ffffff06;
  border: 1px solid #ffffff0f;
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 8px;
}

.inner-hero {
  text-align: center;
  max-width: 760px;
  margin: auto;
  padding: 160px 24px 55px;
  position: relative;
}

.inner-hero:before {
  content: "";
  filter: blur(75px);
  background: #6b4fff21;
  border-radius: 50%;
  width: 400px;
  height: 250px;
  position: absolute;
  top: 80px;
  right: calc(50% - 200px);
}

.inner-hero > * {
  position: relative;
}

.inner-hero-icon {
  color: #aaa1ff;
  background: linear-gradient(135deg, #7767ff40, #34bef61f);
  border: 1px solid #ffffff21;
  border-radius: 17px;
  place-items: center;
  width: 55px;
  height: 55px;
  margin: 0 auto 15px;
  font-size: 20px;
  display: grid;
}

.inner-hero h1 {
  letter-spacing: -.04em;
  margin: 12px 0;
  font-size: clamp(35px, 5vw, 52px);
}

.inner-hero p {
  color: #939bae;
  max-width: 600px;
  margin: auto;
  font-size: 12px;
  line-height: 2;
}

.content-surface {
  border: 1px solid var(--site-line);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: linear-gradient(145deg, #181c2db3, #0c0f1ab3);
  border-radius: 24px;
  width: min(900px, 100% - 40px);
  margin: 0 auto 100px;
  padding: 36px;
  box-shadow: 0 25px 70px #00000040;
}

@keyframes soft-pulse {
  50% {
    opacity: .45;
    transform: scale(.8);
  }
}

@keyframes float-card {
  50% {
    transform: translateY(-8px);
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes reveal-scale {
  from {
    opacity: 0;
    transform: scale(.96);
  }
}

.reveal-up {
  animation: .8s both reveal-up;
}

.reveal-scale {
  animation: .9s .12s both reveal-scale;
}

@keyframes tech-scan {
  from {
    transform: translateY(-220px);
  }

  to {
    transform: translateY(1450px);
  }
}

@keyframes tech-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes node-blink {
  50% {
    opacity: .3;
    transform: scale(.65);
  }
}

@media (max-width: 1000px) {
  .site-header {
    gap: 18px;
  }

  .site-header nav {
    gap: 1px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 150px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy > p, .hero-badge {
    margin: auto;
  }

  .hero-actions, .hero-trust {
    justify-content: center;
  }

  .product-scene {
    width: min(750px, 100%);
    margin: auto;
  }

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

  .showcase {
    gap: 35px;
  }

  .footer-main {
    grid-template-columns: 2fr 1fr 1fr;
  }

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

  .trust-marks > span {
    width: 75px;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 16px);
    height: 60px;
    padding: 0 10px;
    top: 8px;
  }

  .site-logo > span {
    width: 38px;
    height: 38px;
  }

  .site-logo b {
    font-size: 14px;
  }

  .site-header nav {
    border: 1px solid var(--site-line);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    opacity: 0;
    pointer-events: none;
    background: #0a0c16f2;
    border-radius: 16px;
    gap: 3px;
    padding: 10px;
    display: grid;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    transform: translateY(-8px);
    box-shadow: 0 20px 50px #00000059;
  }

  .site-header nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-header nav > a {
    padding: 11px 13px;
  }

  .site-header nav > a.active:after {
    display: none;
  }

  .header-actions-site {
    margin-right: auto;
  }

  .header-actions-site .login-link, .header-actions-site .register-button {
    display: none;
  }

  .mobile-auth {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 5px;
    display: grid;
  }

  .mobile-auth a {
    text-align: center;
    background: #7767ff1f;
    border-radius: 9px;
    padding: 10px;
    font-size: 10px;
    text-decoration: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero-section {
    min-height: auto;
    padding: 125px 20px 60px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 11vw, 55px);
  }

  .hero-copy > p {
    font-size: 12px;
  }

  .product-scene {
    height: 430px;
  }

  .app-preview {
    inset: 35px -70px 30px;
    transform: scale(.8);
  }

  .float-call {
    right: 0;
  }

  .float-online {
    left: 0;
  }

  .logo-strip {
    text-align: center;
    display: block;
  }

  .logo-strip > div {
    flex-wrap: wrap;
    margin-top: 18px;
  }

  .section-block {
    padding: 80px 0;
  }

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

  .showcase {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .showcase-copy {
    text-align: center;
  }

  .showcase-copy ul, .showcase-copy li {
    justify-content: center;
  }

  .voice-people {
    gap: 5px;
  }

  .voice-people article {
    padding-inline: 4px;
  }

  .cta-section {
    padding-inline: 18px;
  }

  .cta-section > div:last-child {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }

  .footer-brand, .trust-column {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
  }

  .footer-bottom > span {
    margin: 0;
  }

  .content-surface {
    padding: 23px;
  }

  .home-tech-canvas {
    height: 1050px;
  }

  .tech-grid-major {
    opacity: .42;
    background-size: 52px 52px;
  }

  .tech-grid-minor {
    display: none;
  }

  .orbit-a {
    width: 430px;
    height: 430px;
    top: 170px;
    left: 12%;
  }

  .orbit-b, .label-b, .circuit-c {
    display: none;
  }

  .tech-scan {
    animation-duration: 11s;
  }
}

@media (max-width: 430px) {
  .download-button {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .product-scene {
    height: 370px;
  }

  .app-preview {
    inset: 15px -135px 10px;
    transform: scale(.66);
  }

  .floating-card {
    display: none;
  }

  .logo-strip > div {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

  .voice-visual {
    padding: 12px;
  }

  .quality {
    display: none;
  }

  .voice-avatar {
    width: 48px;
    height: 48px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand, .trust-column {
    grid-column: auto;
  }
}

.inner-hero {
  text-align: right;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 410px);
  align-items: center;
  gap: 30px;
  max-width: 1050px;
  padding: 128px 24px 56px;
  display: grid;
}

.inner-hero:before, .inner-hero-icon {
  display: none;
}

.inner-hero-visual {
  object-fit: contain;
  filter: drop-shadow(0 20px 34px #00000038);
  width: 100%;
  max-height: 275px;
}

.inner-hero-copy > span {
  color: #0060ff;
  letter-spacing: .1em;
  font-size: 10px;
  font-weight: 800;
}

.inner-hero-copy p {
  margin: 0;
}

.section-heading > span {
  color: #0060ff;
}

.feature-card, .content-surface {
  background: #101010;
}

.feature-card {
  border-color: #0060ff38;
}

.feature-card:before {
  background: #0060ff14;
}

.feature-card:hover {
  border-color: #0060ff;
  box-shadow: 0 22px 55px #00000040, 0 0 30px #0060ff1f;
}

.tint-1, .tint-2, .tint-3 {
  color: #0060ff;
  background: #0060ff21;
}

.card-arrow, .feature-card:hover .card-arrow {
  color: #0060ff;
}

@media (max-width: 700px) {
  .inner-hero {
    text-align: center;
    grid-template-columns: 1fr;
    padding-top: 108px;
  }

  .inner-hero-visual {
    order: -1;
    max-width: 330px;
    margin: auto;
  }

  .inner-hero-copy p {
    margin: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-site * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation: none !important;
  }
}

.marketing-site {
  --site-bg: #050505;
  --site-panel: #101010;
  --site-line: #ffffff24;
  --site-purple: #0060ff;
  --site-cyan: #0060ff;
  background: #050505;
}

.site-logo > span, .register-button, .button-primary, .preview-logo, .server-dot.active {
  box-shadow: none !important;
  background: #0060ff !important;
}

.site-logo em, .site-header nav > a.active:after, .hero-copy h1 em, .section-heading h2 em, .hero-badge, .auth-eyebrow, .auth-intro .auth-points i {
  color: #0060ff !important;
  background: none !important;
}

.site-header nav > a.active:after {
  background: #0060ff !important;
}

.feature-card, .content-surface, .voice-visual, .auth-modern-card, .cta-section {
  background: #101010 !important;
}

.feature-card:hover {
  border-color: #0060ff !important;
}

.auth-modern {
  background: #050505 !important;
}

.auth-ring > span, .auth-submit {
  box-shadow: none !important;
  background: #0060ff !important;
}

.tech-grid-major, .tech-grid-minor, .tech-scan {
  opacity: .2;
  filter: hue-rotate(170deg);
}

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

html[data-theme="light"] body, html[data-theme="light"] .marketing-site, html[data-theme="light"] .auth-modern {
  color: #080808;
  background: #fff !important;
}

html[data-theme="light"] .site-header.scrolled, html[data-theme="light"] .feature-card, html[data-theme="light"] .content-surface, html[data-theme="light"] .voice-visual, html[data-theme="light"] .auth-modern-card {
  color: #080808;
  background: #fff !important;
  border-color: #00000024 !important;
}

html[data-theme="light"] :is(.site-logo b, .site-header nav > a, .hero-copy > p, .section-heading p, .inner-hero p, .feature-card p, .auth-intro > p, .auth-modern-card > header > p) {
  color: #404040 !important;
}

.auth-modern {
  background: radial-gradient(circle at 15% 20%, #46beff1a, #0000 28%), radial-gradient(circle at 80% 30%, #704bff30, #0000 34%), #070812;
  grid-template-columns: minmax(360px, .9fr) minmax(420px, .7fr);
  align-items: center;
  gap: 7vw;
  min-height: 100dvh;
  padding: 75px 9vw;
  display: grid;
  position: relative;
  overflow: hidden;
}

.auth-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.auth-bg:before {
  content: "";
  opacity: .27;
  background-image: linear-gradient(#a5a0ff0b 1px, #0000 1px), linear-gradient(90deg, #a5a0ff0b 1px, #0000 1px);
  background-size: 48px 48px;
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(circle, #000, #0000 75%);
  mask-image: radial-gradient(circle, #000, #0000 75%);
}

.auth-bg span {
  border: 1px solid #7e6bff1f;
  border-radius: 50%;
  position: absolute;
}

.auth-bg span:first-child {
  width: 520px;
  height: 520px;
  top: -170px;
  right: -180px;
}

.auth-bg span:nth-child(2) {
  width: 370px;
  height: 370px;
  bottom: -180px;
  left: 18%;
}

.auth-bg span:nth-child(3) {
  width: 180px;
  height: 180px;
  top: 30%;
  left: 5%;
  box-shadow: 0 0 90px #3cbeff17;
}

.auth-back {
  z-index: 3;
  color: #8e96a9;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  text-decoration: none;
  display: flex;
  position: absolute;
  top: 28px;
  right: 32px;
}

.auth-back:hover {
  color: #fff;
}

.auth-intro, .auth-modern-card {
  z-index: 2;
  position: relative;
}

.auth-intro {
  max-width: 570px;
}

.auth-intro > .site-logo {
  width: max-content;
  margin-bottom: 58px;
}

.auth-visual {
  opacity: .9;
  width: 245px;
  height: 245px;
  position: absolute;
  top: -10px;
  left: -30px;
}

.auth-ring {
  border: 1px solid #87f3;
  border-radius: 50%;
  place-items: center;
  display: grid;
  position: absolute;
  inset: 35px;
  box-shadow: 0 0 0 25px #7767ff06, 0 0 0 50px #7767ff05;
}

.auth-ring:before, .auth-ring:after {
  content: "";
  border: 1px dashed #5dccff24;
  border-radius: 50%;
  position: absolute;
}

.auth-ring:before {
  animation: 28s linear infinite spin;
  inset: -52px;
}

.auth-ring:after {
  animation: 18s linear infinite reverse spin;
  inset: -25px;
}

.auth-ring > span {
  background: linear-gradient(135deg, #7766fa, #4699ee);
  border: 1px solid #ffffff24;
  border-radius: 21px;
  place-items: center;
  width: 64px;
  height: 64px;
  font-size: 23px;
  display: grid;
  box-shadow: 0 18px 45px #5c4ceb61;
}

.auth-float {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: #141725ad;
  border: 1px solid #ffffff1a;
  border-radius: 10px;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  font-size: 7px;
  display: flex;
  position: absolute;
  box-shadow: 0 12px 30px #00000040;
}

.auth-float.f-one {
  top: 28px;
  left: -25px;
}

.auth-float.f-two {
  bottom: 18px;
  right: -15px;
}

.auth-float span {
  background: #4bdc9d;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  box-shadow: 0 0 8px #4bdc9d;
}

.auth-eyebrow {
  color: #948aff;
  letter-spacing: .13em;
  font-size: 9px;
  font-weight: 800;
}

.auth-intro h1 {
  letter-spacing: -.05em;
  max-width: 500px;
  margin: 12px 0;
  font-size: clamp(39px, 5vw, 62px);
  line-height: 1.3;
}

.auth-intro > p {
  color: #9199ad;
  max-width: 450px;
  margin: 0;
  font-size: 12px;
  line-height: 2;
}

.auth-points {
  gap: 20px;
  margin-top: 26px;
  display: flex;
}

.auth-points span {
  color: #858da0;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  display: flex;
}

.auth-points i {
  color: #8f84ff;
}

.auth-modern-card {
  -webkit-backdrop-filter: blur(25px) saturate(130%);
  backdrop-filter: blur(25px) saturate(130%);
  background: linear-gradient(145deg, #1d2133d6, #0d101bd6);
  border: 1px solid #bfc4ff26;
  border-radius: 25px;
  justify-self: end;
  width: min(470px, 100%);
  padding: 31px;
  box-shadow: 0 35px 90px #0006, inset 0 1px #ffffff09;
}

.auth-modern-card > header > span {
  color: #958aff;
  font-size: 9px;
  font-weight: 800;
}

.auth-modern-card h2 {
  margin: 7px 0 4px;
  font-size: 22px;
}

.auth-modern-card > header > p {
  color: #7e8699;
  margin: 0;
  font-size: 9px;
}

.auth-modern-card form {
  gap: 14px;
  margin-top: 25px;
  display: grid;
}

.auth-modern-card form > label {
  color: #b2b7c6;
  gap: 7px;
  font-size: 9px;
  display: grid;
}

.auth-modern-card label > div {
  background: #04060c7a;
  border: 1px solid #bbc3ff1c;
  border-radius: 11px;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 12px;
  display: flex;
}

.auth-modern-card label > div:focus-within {
  border-color: #7868ff8c;
  box-shadow: 0 0 0 4px #7868ff14;
}

.auth-modern-card label > div > i {
  color: #6f778b;
  font-size: 11px;
}

.auth-modern-card input {
  color: #fff;
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  font-size: 10px;
}

.auth-modern-card input::placeholder {
  color: #555d70;
}

.auth-modern-card label > div button {
  color: #71798c;
  background: none;
  width: 28px;
  height: 28px;
}

.auth-options {
  color: #7f879a;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  display: flex;
}

.auth-options label {
  align-items: center;
  gap: 6px;
  display: flex;
}

.auth-options label input {
  accent-color: #7667ff;
}

.auth-options a, .auth-modern-card footer a {
  color: #9b91ff;
  text-decoration: none;
}

.auth-submit {
  color: #fff;
  background: linear-gradient(135deg, #7868ff, #5c61e4);
  border: 1px solid #ffffff1f;
  border-radius: 11px;
  justify-content: space-between;
  align-items: center;
  height: 45px;
  padding: 0 16px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  box-shadow: 0 11px 28px #5d51e742;
}

.auth-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.auth-submit:disabled {
  justify-content: center;
}

.auth-alert {
  border-radius: 9px;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 9px 10px;
  font-size: 8px;
  display: flex;
}

.auth-alert.error {
  color: #ff889a;
  background: #ff5c741a;
}

.auth-alert.success {
  color: #60dca4;
  background: #43d5961a;
}

.auth-modern-card > footer {
  color: #777f92;
  text-align: center;
  border-top: 1px solid #ffffff12;
  margin-top: 20px;
  padding-top: 18px;
  font-size: 8px;
}

.faq-list {
  gap: 8px;
  padding: 15px;
  display: grid;
}

.faq-list article {
  background: #ffffff06;
  border: 1px solid #0000;
  border-radius: 13px;
  overflow: hidden;
}

.faq-list article.open {
  background: #7767ff0f;
  border-color: #7f71ff38;
}

.faq-list button {
  color: #d6d9e3;
  text-align: right;
  background: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 18px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
}

.faq-list button span {
  align-items: center;
  gap: 10px;
  display: flex;
}

.faq-list button span i {
  color: #8277f5;
}

.faq-list button > i {
  color: #737b8e;
  font-size: 9px;
}

.faq-list article > div {
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s;
  display: grid;
}

.faq-list article.open > div {
  grid-template-rows: 1fr;
}

.faq-list article > div > p {
  color: #8d95a9;
  min-height: 0;
  margin: 0;
  padding: 0 46px;
  font-size: 10px;
  line-height: 2;
  overflow: hidden;
}

.faq-list article.open > div > p {
  padding-bottom: 17px;
}

.rules-grid {
  gap: 0;
  display: grid;
}

.rules-grid article {
  border-bottom: 1px solid #fff1;
  gap: 19px;
  padding: 25px 0;
  scroll-margin-top: 110px;
  display: flex;
}

.rules-grid article:first-child {
  padding-top: 0;
}

.rules-grid article > span {
  color: #9b91ff;
  background: #7767ff1a;
  border: 1px solid #ffffff14;
  border-radius: 14px;
  flex: none;
  place-items: center;
  width: 47px;
  height: 47px;
  display: grid;
}

.rules-grid article > div {
  flex: 1;
}

.rules-grid small {
  float: left;
  color: #575f73;
  font-size: 9px;
}

.rules-grid h2 {
  margin: 0 0 8px;
  font-size: 14px;
}

.rules-grid article p {
  color: #8f97aa;
  margin: 0;
  font-size: 10px;
  line-height: 2;
}

.rules-date {
  color: #687084;
  margin: 25px 0 0;
  font-size: 8px;
}

.rules-date i {
  margin-left: 6px;
}

.contact-layout {
  grid-template-columns: .75fr 1.25fr;
  gap: 17px;
  width: min(1000px, 100% - 40px);
  margin: 0 auto 100px;
  display: grid;
}

.contact-cards {
  gap: 10px;
  display: grid;
}

.contact-cards article {
  border: 1px solid var(--site-line);
  background: linear-gradient(145deg, #191d2eb3, #0d101bb3);
  border-radius: 17px;
  align-items: center;
  gap: 14px;
  padding: 19px;
  display: flex;
}

.contact-cards article > span, .form-heading > span {
  color: #9a90ff;
  background: #7767ff1c;
  border-radius: 13px;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
}

.contact-cards h3 {
  margin: 0 0 4px;
  font-size: 11px;
}

.contact-cards p {
  color: #777f93;
  margin: 0 0 4px;
  font-size: 8px;
}

.contact-cards a, .contact-cards b {
  color: #9b92ff;
  font-size: 8px;
  text-decoration: none;
}

.contact-form {
  border: 1px solid var(--site-line);
  background: linear-gradient(145deg, #1b1f31bf, #0c0f19c2);
  border-radius: 20px;
  gap: 14px;
  padding: 26px;
  display: grid;
  box-shadow: 0 25px 60px #0000003b;
}

.form-heading {
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
  display: flex;
}

.form-heading h2 {
  margin: 0;
  font-size: 16px;
}

.form-heading p {
  color: #7c8497;
  margin: 4px 0 0;
  font-size: 8px;
}

.two-fields {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  display: grid;
}

.contact-form label {
  color: #b6bbc9;
  gap: 7px;
  font-size: 9px;
  display: grid;
}

.contact-form input, .contact-form select, .contact-form textarea {
  color: #fff;
  width: 100%;
  font: inherit;
  resize: vertical;
  background: #04060c73;
  border: 1px solid #bbc3ff1c;
  border-radius: 10px;
  outline: 0;
  padding: 11px;
  font-size: 9px;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: #7767ff80;
  box-shadow: 0 0 0 4px #7767ff12;
}

.contact-form .auth-submit {
  width: 140px;
  margin-right: auto;
}

.download-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  width: min(1050px, 100% - 40px);
  margin: 0 auto 25px;
  display: grid;
}

.download-grid article {
  border: 1px solid var(--site-line);
  background: linear-gradient(145deg, #191d2eb3, #0c0f1abd);
  border-radius: 20px;
  min-height: 270px;
  padding: 25px;
  position: relative;
}

.download-grid .download-featured {
  background: radial-gradient(circle at 10% 15%, #44c2ff1a, #0000 35%), linear-gradient(145deg, #22263ccc, #0e111dcc);
  border-color: #8074ff3d;
  grid-column: span 2;
}

.platform-icon {
  color: #9b91ff;
  background: #7767ff1a;
  border: 1px solid #ffffff1a;
  border-radius: 17px;
  place-items: center;
  width: 53px;
  height: 53px;
  margin-bottom: 22px;
  font-size: 21px;
  display: grid;
}

.download-grid article > span {
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 7px;
  position: absolute;
  top: 25px;
  left: 25px;
}

.available {
  color: #55daa0;
  background: #44d79917;
}

.available i {
  background: #4bdd9c;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  margin-left: 5px;
  display: inline-block;
  box-shadow: 0 0 7px #4bdd9c;
}

.soon {
  color: #737b8f;
  background: #ffffff0b;
}

.download-grid h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.download-grid p {
  color: #858da0;
  max-width: 470px;
  min-height: 45px;
  margin: 0 0 20px;
  font-size: 9px;
  line-height: 1.9;
}

.download-grid ul {
  color: #747c90;
  border-top: 1px solid #ffffff0f;
  gap: 15px;
  margin: 22px 0 0;
  padding: 15px 0 0;
  font-size: 8px;
  list-style: none;
  display: flex;
}

.download-grid button:disabled {
  opacity: .5;
}

.system-note {
  background: #31b8ee0d;
  border: 1px solid #42cfff21;
  border-radius: 15px;
  align-items: center;
  gap: 14px;
  width: min(1050px, 100% - 40px);
  margin: 0 auto 100px;
  padding: 18px;
  display: flex;
}

.system-note > i {
  color: #55d0ff;
  background: #3dc4f61a;
  border-radius: 12px;
  place-items: center;
  width: 40px;
  height: 40px;
  display: grid;
}

.system-note div {
  flex: 1;
}

.system-note h3 {
  margin: 0;
  font-size: 10px;
}

.system-note p {
  color: #7b8396;
  margin: 3px 0 0;
  font-size: 8px;
}

.system-note a {
  color: #72d5fa;
  align-items: center;
  gap: 7px;
  font-size: 8px;
  text-decoration: none;
  display: flex;
}

@media (max-width: 900px) {
  .auth-modern {
    grid-template-columns: 1fr;
    padding: 100px 24px 50px;
  }

  .auth-intro {
    display: none;
  }

  .auth-modern-card {
    justify-self: center;
  }

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

  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-cards article {
    align-items: flex-start;
  }

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

  .download-grid .download-featured {
    grid-column: span 2;
  }
}

@media (max-width: 650px) {
  .auth-modern {
    padding-inline: 15px;
  }

  .auth-modern-card {
    padding: 24px;
  }

  .contact-cards, .two-fields, .download-grid {
    grid-template-columns: 1fr;
  }

  .download-grid .download-featured {
    grid-column: auto;
  }

  .system-note {
    align-items: flex-start;
  }

  .system-note a {
    display: none;
  }
}

.marketing-site :is(.hero-orb-one, .hero-orb-two, .scene-glow) {
  box-shadow: none !important;
  background: #0060ff14 !important;
}

.marketing-site :is(.hero-copy h1 em, .section-heading h2 em) {
  color: #0060ff !important;
  background: none !important;
}

.marketing-site :is(.hero-badge, .contact-cards article > span, .form-heading > span, .platform-icon, .rules-grid article > span) {
  color: #0060ff !important;
  background: #0060ff1a !important;
  border-color: #0060ff38 !important;
}

.marketing-site :is(.contact-cards article, .contact-form, .download-grid article, .download-grid .download-featured) {
  background: #101010 !important;
  border-color: #ffffff24 !important;
}

.marketing-site :is(.contact-cards a, .contact-cards b, .system-note a, .faq-list button span i) {
  color: #0060ff !important;
}

.marketing-site :is(.contact-form input, .contact-form select, .contact-form textarea) {
  background: #080808 !important;
  border-color: #ffffff24 !important;
}

.marketing-site :is(.contact-form input, .contact-form select, .contact-form textarea):focus {
  border-color: #0060ff !important;
  box-shadow: 0 0 0 3px #0060ff24 !important;
}

.marketing-site .faq-list article.open {
  background: #0060ff0f !important;
  border-color: #0060ff4d !important;
}

.marketing-site .mobile-auth a {
  background: #0060ff1a !important;
}

.marketing-site :is(.preview-channels > button.active, .reaction) {
  background: #0060ff1f !important;
  border-color: #0060ff47 !important;
}

.marketing-site :is(.avatar-purple, .avatar-blue) {
  background: #0060ff !important;
}

.marketing-site .preview-user > span {
  background: #202020 !important;
}

.marketing-site .cta-section {
  border-color: #0060ff47 !important;
}

.about-story {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  align-items: center;
  gap: 55px;
  width: min(1050px, 100% - 40px);
  margin: 0 auto 80px;
  display: grid;
}

.about-story-copy > span {
  color: #0060ff;
  letter-spacing: .13em;
  font-size: 9px;
  font-weight: 800;
}

.about-story-copy h2 {
  margin: 12px 0;
  font-size: clamp(29px, 3.6vw, 46px);
  line-height: 1.35;
}

.about-story-copy p {
  color: #969696;
  max-width: 570px;
  margin: 0 0 23px;
  font-size: 12px;
  line-height: 2.1;
}

.about-signal-board {
  color: #dce9ff;
  text-align: center;
  isolation: isolate;
  background: #090909;
  border: 1px solid #0060ff6b;
  border-radius: 24px;
  place-content: center;
  justify-items: center;
  min-height: 290px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.about-signal-board:before {
  content: "";
  z-index: -1;
  background-image: linear-gradient(#0060ff1c 1px, #0000 1px), linear-gradient(90deg, #0060ff1c 1px, #0000 1px);
  background-size: 22px 22px;
  border: 1px solid #0060ff33;
  border-radius: 18px;
  position: absolute;
  inset: 18px;
}

.about-board-mark {
  background: #0060ff;
  border: 1px solid #0060ffa6;
  border-radius: 22px;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  display: grid;
}

.about-board-mark img {
  object-fit: contain;
  filter: brightness(0) invert();
  width: 48px;
  height: 48px;
}

.about-signal-board > b {
  letter-spacing: .13em;
  font: 800 11px / 1 Inter, sans-serif;
}

.about-signal-board small {
  color: #78a8ff;
  letter-spacing: .13em;
  margin-top: 8px;
  font: 700 7px / 1 Inter, sans-serif;
}

.about-line {
  opacity: .7;
  background: #0060ff;
  width: 110px;
  height: 1px;
  position: absolute;
}

.about-line-a {
  top: 66px;
  right: -20px;
  transform: rotate(28deg);
}

.about-line-b {
  bottom: 59px;
  left: -20px;
  transform: rotate(28deg);
}

.about-node {
  background: #090909;
  border: 2px solid #0060ff;
  width: 8px;
  height: 8px;
  position: absolute;
  transform: rotate(45deg);
}

.about-node-a {
  top: 111px;
  right: 70px;
}

.about-node-b {
  bottom: 93px;
  left: 74px;
}

.about-principles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(1050px, 100% - 40px);
  margin: 0 auto 110px;
  display: grid;
}

.about-principles article {
  background: #101010;
  border: 1px solid #ffffff1f;
  border-radius: 18px;
  padding: 22px;
}

.about-principles article > span {
  color: #0060ff;
  background: #0060ff21;
  border-radius: 13px;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
}

.about-principles h3 {
  margin: 18px 0 7px;
  font-size: 14px;
}

.about-principles p {
  color: #929292;
  margin: 0;
  font-size: 10px;
  line-height: 1.9;
}

@media (max-width: 760px) {
  .about-story {
    text-align: center;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 55px;
  }

  .about-story-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .about-story-copy .button {
    width: auto;
  }

  .about-signal-board {
    min-height: 240px;
  }

  .about-principles {
    grid-template-columns: 1fr;
    margin-bottom: 70px;
  }

  .about-principles article {
    padding: 18px;
  }
}

/* [project]/src/app/admin.css [app-client] (css) */
.platform-notice {
  z-index: 9999;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: #cbd4e6;
  background: #0e121ee6;
  border: 1px solid #64beff33;
  border-radius: 11px;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: calc(100% - 30px);
  padding: 10px 15px;
  font-size: 10px;
  display: flex;
  position: fixed;
  bottom: 18px;
  right: 50%;
  transform: translateX(50%);
  box-shadow: 0 15px 45px #0006;
}

.platform-notice.warning, .platform-notice.danger {
  color: #ffd084;
  border-color: #ffb95040;
}

.platform-notice.success {
  color: #70e0ad;
  border-color: #4fdda040;
}

.admin-shell {
  --admin-bg: #070912;
  --admin-panel: #121624bf;
  --admin-line: #bcc6ff1c;
  --admin-text: #f5f7ff;
  --admin-muted: #7f899f;
  --admin-purple: #7667ff;
  --admin-cyan: #42d8ff;
  --admin-green: #4fdda0;
  --admin-red: #ff617a;
  min-height: 100dvh;
  color: var(--admin-text);
  direction: ltr;
  background: radial-gradient(circle at 65% -15%, #6948ff2e, #0000 34%), radial-gradient(circle at 5% 110%, #1cb6ff1c, #0000 30%), linear-gradient(155deg, #070812, #090b17 55%, #060810);
  grid-template-columns: 245px minmax(0, 1fr);
  display: grid;
  overflow: hidden;
}

.admin-shell:before {
  content: "";
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(#8d87ff0b 1px, #0000 1px), linear-gradient(90deg, #8d87ff0b 1px, #0000 1px);
  background-size: 52px 52px;
  position: fixed;
  inset: 0;
  -webkit-mask-image: radial-gradient(circle at 60% 40%, #000, #0000 78%);
  mask-image: radial-gradient(circle at 60% 40%, #000, #0000 78%);
}

.admin-shell > * {
  z-index: 1;
  direction: rtl;
  position: relative;
}

.admin-sidebar {
  border: 1px solid var(--admin-line);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  background: linear-gradient(#121523eb, #080b13e6);
  border-radius: 20px;
  flex-direction: column;
  height: calc(100dvh - 20px);
  margin: 10px 0 10px 10px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 25px 70px #00000052;
}

.admin-logo {
  border-bottom: 1px solid var(--admin-line);
  direction: ltr;
  align-items: center;
  gap: 10px;
  height: 74px;
  padding: 0 17px;
  display: flex;
}

.admin-logo > span {
  background: linear-gradient(135deg,var(--admin-purple),#4f9aec);
  border: 1px solid #ffffff2b;
  border-radius: 13px;
  place-items: center;
  width: 39px;
  height: 39px;
  display: grid;
  box-shadow: 0 10px 25px #5c4be752;
}

.admin-logo b, .admin-logo small {
  display: block;
}

.admin-logo b {
  font-size: 16px;
}

.admin-logo b em {
  color: #978dff;
  font-style: normal;
}

.admin-logo small {
  color: #5b6479;
  letter-spacing: .14em;
  margin-top: 4px;
  font-size: 6px;
}

.admin-sidebar nav {
  gap: 3px;
  padding: 15px 9px;
  display: grid;
  overflow: auto;
}

.admin-sidebar nav button {
  color: #7e879b;
  text-align: right;
  background: none;
  border: 1px solid #0000;
  border-radius: 10px;
  align-items: center;
  gap: 11px;
  height: 42px;
  padding: 0 12px;
  font-size: 10px;
  display: flex;
}

.admin-sidebar nav button > i {
  text-align: center;
  width: 18px;
  font-size: 12px;
}

.admin-sidebar nav button > b {
  color: #ff8396;
  background: #ff5b7421;
  border-radius: 7px;
  place-items: center;
  min-width: 19px;
  height: 19px;
  margin-right: auto;
  font-size: 7px;
  display: grid;
}

.admin-sidebar nav button:hover {
  color: #e8eaf2;
  background: #ffffff09;
  transform: translateX(-2px);
}

.admin-sidebar nav button.active {
  box-shadow: inset 3px 0 var(--admin-cyan),0 9px 22px #0000001f;
  color: #fff;
  background: linear-gradient(90deg, #7667ff2b, #42d8ff09);
  border-color: #897bff29;
}

.admin-sidebar nav button.active > i {
  color: #9e94ff;
  text-shadow: 0 0 14px #7667ff80;
}

.admin-sidebar-foot {
  background: #03050a59;
  border: 1px solid #ffffff0f;
  border-radius: 12px;
  align-items: center;
  gap: 9px;
  margin: auto 8px 8px;
  padding: 10px;
  display: flex;
}

.admin-sidebar-foot > div {
  flex: 1;
  min-width: 0;
}

.admin-sidebar-foot b, .admin-sidebar-foot small {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.admin-sidebar-foot b {
  font-size: 9px;
}

.admin-sidebar-foot small {
  color: #8c82ff;
  margin-top: 3px;
  font-size: 7px;
}

.admin-sidebar-foot > a {
  color: #747d91;
  border-radius: 8px;
  place-items: center;
  width: 30px;
  height: 30px;
  text-decoration: none;
  display: grid;
}

.admin-sidebar-foot > a:hover {
  color: #fff;
  background: #7667ff21;
}

.admin-main {
  direction: rtl;
  flex-direction: column;
  min-width: 0;
  height: 100dvh;
  display: flex;
}

.admin-topbar {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: #080b1359;
  border-bottom: 1px solid #bcc6ff14;
  align-items: center;
  gap: 9px;
  height: 75px;
  min-height: 75px;
  padding: 0 25px;
  display: flex;
}

.admin-topbar > div:nth-child(2) {
  margin-left: auto;
}

.admin-topbar small, .admin-topbar h1 {
  margin: 0;
}

.admin-topbar small {
  color: #596276;
  letter-spacing: .15em;
  font-size: 6px;
}

.admin-topbar h1 {
  margin-top: 4px;
  font-size: 15px;
}

.admin-topbar > button {
  border: 1px solid var(--admin-line);
  color: #8790a3;
  background: #ffffff06;
  border-radius: 10px;
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
  position: relative;
}

.admin-topbar > button:hover {
  color: #fff;
  background: #7667ff1f;
  transform: translateY(-1px);
}

.admin-topbar > button > b {
  color: #fff;
  background: #ef5670;
  border: 2px solid #0c0f1b;
  border-radius: 7px;
  place-items: center;
  min-width: 16px;
  height: 16px;
  font-size: 6px;
  display: grid;
  position: absolute;
  top: -4px;
  left: -4px;
}

.admin-topbar > button.spinning i {
  animation: .8s linear infinite spin;
}

.admin-menu {
  display: none !important;
}

.admin-live {
  color: #64dca6;
  background: #4fdda00b;
  border: 1px solid #4fdda01a;
  border-radius: 9px;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
  padding: 7px 10px;
  font-size: 7px;
  display: flex;
}

.admin-live i {
  background: var(--admin-green);
  width: 6px;
  height: 6px;
  box-shadow: 0 0 0 4px #4fdda012,0 0 9px var(--admin-green);
  border-radius: 50%;
  animation: 2s infinite soft-pulse;
}

.admin-content {
  flex: 1;
  min-height: 0;
  padding: 24px;
  overflow: auto;
}

.admin-view {
  gap: 17px;
  width: min(1500px, 100%);
  margin: auto;
  animation: .3s both admin-view-in;
  display: grid;
}

@keyframes admin-view-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
}

.admin-welcome {
  background: radial-gradient(circle at 83% 35%, #49c3ff1a, #0000 24%), linear-gradient(125deg, #4939b557, #1f21553b 58%, #0f47602b);
  border: 1px solid #8f82ff29;
  border-radius: 20px;
  align-items: center;
  min-height: 180px;
  padding: 30px 35px;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px #0000003d;
}

.admin-welcome:before {
  content: "";
  opacity: .25;
  background-image: linear-gradient(#ffffff0f 1px, #0000 1px), linear-gradient(90deg, #ffffff0f 1px, #0000 1px);
  background-size: 30px 30px;
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(90deg, #000, #0000);
  mask-image: linear-gradient(90deg, #000, #0000);
}

.admin-welcome > div:first-child {
  z-index: 1;
  position: relative;
}

.admin-welcome > div > span, .audit-head > div > span {
  color: #9e94ff;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  font-weight: 800;
  display: inline-flex;
}

.admin-welcome h2 {
  letter-spacing: -.035em;
  margin: 10px 0 5px;
  font-size: 27px;
}

.admin-welcome p {
  color: #8c95aa;
  margin: 0;
  font-size: 9px;
}

.radar {
  border: 1px solid #55cdff26;
  border-radius: 50%;
  place-items: center;
  width: 125px;
  height: 125px;
  display: grid;
  position: absolute;
  left: 8%;
  box-shadow: 0 0 0 21px #55cdff06, 0 0 0 43px #7767ff05;
}

.radar:before {
  content: "";
  border: 1px dashed #8274ff33;
  border-radius: 50%;
  animation: 16s linear infinite spin;
  position: absolute;
  inset: 12px;
}

.radar i {
  color: #8ee4ff;
  background: linear-gradient(135deg, #7667ff4d, #42d8ff1f);
  border-radius: 17px;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 20px;
  display: grid;
  box-shadow: 0 12px 32px #00000040;
}

.admin-stats {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  display: grid;
}

.admin-stats article {
  border: 1px solid var(--admin-line);
  background: linear-gradient(145deg, #191d2fb3, #0b0e18b3);
  border-radius: 15px;
  align-items: center;
  gap: 12px;
  min-height: 90px;
  padding: 15px;
  transition: all .22s;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px #ffffff06;
}

.admin-stats article:hover {
  border-color: #8072ff40;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px #0000002e;
}

.admin-stats article > span {
  color: #9a90ff;
  background: #7667ff1a;
  border-radius: 12px;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  display: grid;
}

.admin-stats article:nth-child(2n) > span {
  color: #63d8ff;
  background: #42d8ff14;
}

.admin-stats article:nth-child(3n) > span {
  color: #67dfaa;
  background: #4fdda014;
}

.admin-stats small, .admin-stats b {
  display: block;
}

.admin-stats small {
  color: #747d91;
  font-size: 7px;
}

.admin-stats b {
  margin-top: 3px;
  font-size: 19px;
}

.admin-stats em {
  color: #596276;
  font-size: 6px;
  font-style: normal;
  position: absolute;
  top: 12px;
  left: 12px;
}

.admin-grid-two {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}

.admin-panel {
  border: 1px solid var(--admin-line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: linear-gradient(145deg, #161a2ab3, #0a0d16b8);
  border-radius: 17px;
  min-width: 0;
  padding: 17px;
  box-shadow: 0 18px 48px #0000002e, inset 0 1px #ffffff06;
}

.panel-title {
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  display: flex;
}

.panel-title > span {
  color: #968cff;
  background: #7667ff1a;
  border-radius: 10px;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.panel-title div {
  flex: 1;
}

.panel-title h3, .panel-title small {
  margin: 0;
  display: block;
}

.panel-title h3 {
  font-size: 10px;
}

.panel-title small {
  color: #60697d;
  margin-top: 3px;
  font-size: 7px;
}

.bar-chart {
  background: repeating-linear-gradient(to top, #ffffff09 0 1px, #0000 1px 42px);
  border-bottom: 1px solid #ffffff0f;
  align-items: end;
  gap: 5px;
  height: 185px;
  padding: 18px 4px 20px;
  display: flex;
}

.bar-chart > div {
  flex: 1;
  justify-content: center;
  align-items: end;
  gap: 2px;
  height: 100%;
  display: flex;
  position: relative;
}

.bar-chart span {
  background: linear-gradient(to top, #6757e8, #9286ff);
  border-radius: 4px 4px 1px 1px;
  width: 7px;
  min-height: 3px;
  box-shadow: 0 0 10px #7667ff2e;
}

.bar-chart i {
  background: #48cffa;
  border-radius: 3px;
  width: 3px;
  min-height: 2px;
}

.bar-chart small {
  color: #4f586b;
  font-size: 6px;
  position: absolute;
  bottom: -17px;
}

.chart-legend {
  color: #697286;
  gap: 15px;
  margin-top: 12px;
  font-size: 7px;
  display: flex;
}

.chart-legend span {
  align-items: center;
  gap: 5px;
  display: flex;
}

.chart-legend i {
  background: #7767ff;
  border-radius: 3px;
  width: 7px;
  height: 7px;
}

.chart-legend span + span i {
  background: #48cffa;
}

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

.alert-list article {
  background: #ffffff05;
  border: 1px solid #ffffff0e;
  border-radius: 11px;
  align-items: flex-start;
  gap: 10px;
  padding: 11px;
  display: flex;
}

.alert-list article > i {
  color: #5bdca3;
  background: #4fdda014;
  border-radius: 9px;
  place-items: center;
  width: 29px;
  height: 29px;
  display: grid;
}

.alert-list article.warning > i {
  color: #ffc35e;
  background: #ffbe4614;
}

.alert-list article.danger > i {
  color: #ff748a;
  background: #ff617a17;
}

.alert-list b {
  font-size: 9px;
}

.alert-list p {
  color: #727b8f;
  margin: 3px 0 0;
  font-size: 7px;
  line-height: 1.7;
}

.admin-toolbar {
  align-items: center;
  gap: 7px;
  display: flex;
}

.admin-toolbar > div {
  margin-left: auto;
}

.admin-toolbar small, .admin-toolbar h2 {
  margin: 0;
  display: block;
}

.admin-toolbar small {
  color: #5e677b;
  letter-spacing: .12em;
  font-size: 6px;
}

.admin-toolbar h2 {
  margin-top: 3px;
  font-size: 17px;
}

.admin-toolbar label {
  border: 1px solid var(--admin-line);
  color: #657084;
  background: #05070d6e;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  width: min(300px, 32vw);
  height: 38px;
  padding: 0 11px;
  display: flex;
}

.admin-toolbar label:focus-within {
  border-color: #7667ff6b;
  box-shadow: 0 0 0 4px #7667ff0f;
}

.admin-toolbar input {
  color: #fff;
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  font-size: 8px;
}

.admin-toolbar > button {
  border: 1px solid var(--admin-line);
  color: #80899d;
  background: #ffffff06;
  border-radius: 10px;
  height: 38px;
  padding: 0 12px;
  font-size: 8px;
}

.admin-toolbar > button:hover {
  color: #fff;
  background: #7667ff1a;
}

.table-panel {
  padding: 5px 12px;
}

.admin-table, .audit-table {
  min-width: 850px;
}

.admin-table > header, .admin-table > article, .audit-table > header, .audit-table > article {
  border-bottom: 1px solid #ffffff0e;
  align-items: center;
  gap: 10px;
  padding: 10px;
  display: grid;
}

.users-table > header, .users-table > article {
  grid-template-columns: minmax(220px, 1.6fr) .65fr .5fr .45fr .55fr 1fr;
}

.admin-table > header, .audit-table > header {
  color: #5f687b;
  font-size: 7px;
  font-weight: 700;
}

.admin-table > article, .audit-table > article {
  color: #adb3c2;
  min-height: 58px;
  font-size: 8px;
}

.admin-table > article:hover, .audit-table > article:hover {
  background: #7667ff0b;
  border-radius: 10px;
}

.admin-table > article > span > small {
  color: #616a7d;
  margin-top: 3px;
  font-size: 6px;
  display: block;
}

.user-cell {
  align-items: center;
  gap: 9px;
  min-width: 0;
  display: flex;
}

.user-cell > span {
  min-width: 0;
}

.user-cell b, .user-cell small {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.user-cell b {
  color: #e8eaf1;
  font-size: 9px;
}

.user-cell b em {
  color: #988eff;
  background: #7667ff1a;
  border-radius: 5px;
  margin-right: 6px;
  padding: 2px 5px;
  font-size: 5px;
  font-style: normal;
}

.admin-avatar {
  color: #fff;
  background: linear-gradient(135deg, #6d5de8, #439ede);
  border: 1px solid #ffffff17;
  border-radius: 11px;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 9px;
  font-style: normal;
  display: grid;
  overflow: hidden;
}

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

.status-badge {
  color: #61dba6;
  background: #4fdda013;
  border-radius: 7px;
  align-items: center;
  gap: 5px;
  width: max-content;
  padding: 5px 7px;
  font-size: 6px;
  display: inline-flex;
}

.status-badge i {
  background: currentColor;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  box-shadow: 0 0 7px;
}

.status-badge.banned, .status-badge.quarantined, .status-badge.rejected {
  color: #ff7489;
  background: #ff617a17;
}

.status-badge.suspended, .status-badge.locked, .status-badge.reviewing {
  color: #ffc45e;
  background: #ffbe4614;
}

.status-badge.open {
  color: #61d5ff;
  background: #4dc2ff14;
}

.status-badge.archived, .status-badge.resolved {
  color: #919aac;
  background: #a0a9be12;
}

.danger-text {
  color: #ff7489 !important;
}

.row-actions {
  gap: 4px;
  display: flex;
}

.row-actions button {
  color: #7d8699;
  background: #ffffff06;
  border: 1px solid #ffffff0e;
  border-radius: 8px;
  place-items: center;
  width: 30px;
  height: 30px;
  display: grid;
}

.row-actions button:hover {
  color: #fff;
  background: #7667ff1f;
  transform: translateY(-1px);
}

.row-actions button.danger {
  color: #ff758a;
}

.row-actions button.success {
  color: #58dca2;
}

.server-admin-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  display: grid;
}

.server-admin-card {
  border: 1px solid var(--admin-line);
  background: linear-gradient(145deg, #181c2db8, #0a0d16bd);
  border-radius: 16px;
  padding: 17px;
  transition: all .22s;
  box-shadow: 0 16px 42px #0000002e;
}

.server-admin-card:hover {
  border-color: #8275ff3d;
  transform: translateY(-3px);
}

.server-admin-card > header {
  align-items: center;
  gap: 10px;
  display: flex;
}

.server-admin-card > header > span:first-child {
  background: linear-gradient(135deg, #6e5ee9, #3b95df);
  border-radius: 13px;
  flex: none;
  place-items: center;
  width: 43px;
  height: 43px;
  font-size: 10px;
  font-weight: 800;
  display: grid;
}

.server-admin-card > header > div {
  flex: 1;
  min-width: 0;
}

.server-admin-card h3, .server-admin-card p {
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  overflow: hidden;
}

.server-admin-card h3 {
  font-size: 11px;
}

.server-admin-card p {
  color: #687185;
  margin-top: 4px;
  font-size: 7px;
}

.server-metrics {
  border-block: 1px solid #ffffff0e;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin: 17px 0;
  padding: 12px 0;
  display: grid;
}

.server-metrics span {
  text-align: center;
}

.server-metrics i, .server-metrics b, .server-metrics small {
  display: block;
}

.server-metrics i {
  color: #7d72ee;
  margin-bottom: 6px;
  font-size: 10px;
}

.server-metrics b {
  font-size: 11px;
}

.server-metrics small {
  color: #5e677a;
  margin-top: 2px;
  font-size: 6px;
}

.server-admin-card > footer {
  align-items: center;
  gap: 8px;
  display: flex;
}

.server-admin-card > footer > small {
  color: #5e677b;
  margin-left: auto;
  font-size: 6px;
}

.server-admin-card > footer > div {
  gap: 5px;
  display: flex;
}

.server-admin-card > footer button {
  border: 1px solid var(--admin-line);
  color: #8b94a6;
  background: #ffffff06;
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 7px;
}

.server-admin-card > footer button.danger {
  color: #ff7389;
}

.server-admin-card > footer button.success {
  color: #61dba6;
}

.filter-tabs {
  border: 1px solid var(--admin-line);
  background: #05070d59;
  border-radius: 11px;
  gap: 4px;
  width: max-content;
  padding: 4px;
  display: flex;
}

.filter-tabs button {
  color: #778094;
  background: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 8px;
}

.filter-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #7667ff33, #42d8ff0f);
}

.reports-list {
  gap: 9px;
  display: grid;
}

.report-card {
  border: 1px solid var(--admin-line);
  background: linear-gradient(145deg, #171b2bb8, #0a0d16ba);
  border-radius: 15px;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  align-items: stretch;
  display: grid;
  overflow: hidden;
}

.report-card:hover {
  border-color: #8275ff38;
}

.report-severity {
  color: #66d3fa;
  background: #4bbbff09;
  border-left: 1px solid #ffffff0e;
  place-content: center;
  justify-items: center;
  gap: 8px;
  font-size: 7px;
  display: grid;
}

.report-severity i {
  font-size: 17px;
}

.severity-high .report-severity {
  color: #ffc35d;
  background: #ffbc410b;
}

.severity-critical .report-severity {
  color: #ff7087;
  background: #ff56730e;
}

.report-main {
  padding: 14px 17px;
}

.report-main > header {
  align-items: center;
  gap: 10px;
  display: flex;
}

.report-main > header > div {
  flex: 1;
}

.report-main small, .report-main h3 {
  margin: 0;
  display: block;
}

.report-main header small {
  color: #697286;
  font-size: 6px;
}

.report-main h3 {
  margin-top: 4px;
  font-size: 11px;
}

.report-main > p {
  color: #9098aa;
  margin: 10px 0;
  font-size: 8px;
  line-height: 1.8;
}

.report-main > footer {
  color: #626b7f;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 6px;
  display: flex;
}

.report-main > footer span {
  align-items: center;
  gap: 5px;
  display: flex;
}

.report-actions {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 120px;
  padding: 10px;
  display: flex;
}

.report-actions button {
  border: 1px solid var(--admin-line);
  color: #8992a5;
  background: #ffffff06;
  border-radius: 8px;
  padding: 8px;
  font-size: 7px;
}

.report-actions button:hover {
  color: #fff;
  background: #7667ff1f;
}

.report-actions button.success {
  color: #5fdba5;
}

.admin-empty {
  color: #5d6679;
  place-content: center;
  justify-items: center;
  min-height: 120px;
  display: grid;
}

.admin-empty i {
  font-size: 22px;
}

.admin-empty p {
  margin: 8px 0 0;
  font-size: 8px;
}

.automod-hero, .maintenance-card {
  background: linear-gradient(125deg, #5241c933, #142b4626);
  border: 1px solid #7d70ff2b;
  border-radius: 17px;
  align-items: center;
  gap: 15px;
  padding: 21px;
  display: flex;
}

.automod-hero > span, .maintenance-card > span {
  color: #a197ff;
  background: linear-gradient(135deg, #7667ff40, #42d8ff17);
  border-radius: 15px;
  flex: none;
  place-items: center;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: grid;
}

.automod-hero > div, .maintenance-card > div {
  flex: 1;
}

.automod-hero small, .automod-hero h2, .automod-hero p, .maintenance-card small, .maintenance-card h2, .maintenance-card p {
  margin: 0;
  display: block;
}

.automod-hero small, .maintenance-card small {
  color: #6c758a;
  letter-spacing: .13em;
  font-size: 6px;
}

.automod-hero h2, .maintenance-card h2 {
  margin-top: 5px;
  font-size: 14px;
}

.automod-hero p, .maintenance-card p {
  color: #798296;
  margin-top: 4px;
  font-size: 8px;
}

.maintenance-card.active {
  background: linear-gradient(125deg, #b1651c2b, #562d1524);
  border-color: #ffb74647;
}

.maintenance-card.active > span {
  color: #ffc15a;
  background: #ffb4411a;
}

.admin-toggle {
  background: #272c3d;
  border-radius: 99px;
  flex: none;
  width: 40px;
  height: 22px;
  position: relative;
  box-shadow: inset 0 1px 4px #00000040;
}

.admin-toggle i {
  background: #737c90;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  transition: all .2s;
  position: absolute;
  top: 3px;
  right: 3px;
}

.admin-toggle.on {
  background: linear-gradient(90deg, #6759dd, #5969e5);
}

.admin-toggle.on i {
  background: #fff;
  right: 21px;
  box-shadow: 0 3px 8px #00000040;
}

.settings-list {
  flex-direction: column;
  display: flex;
}

.setting-row {
  border-top: 1px solid #ffffff0e;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  display: flex;
}

.setting-row > span {
  color: #8f84ef;
  background: #7667ff12;
  border-radius: 9px;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}

.setting-row > div {
  flex: 1;
}

.setting-row b, .setting-row small {
  display: block;
}

.setting-row b {
  font-size: 8px;
}

.setting-row small {
  color: #666f83;
  margin-top: 3px;
  font-size: 6px;
}

.number-setting {
  color: #aab0bf;
  border-top: 1px solid #ffffff0e;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  font-size: 8px;
  display: flex;
}

.number-setting span {
  flex: 1;
}

.number-setting input {
  border: 1px solid var(--admin-line);
  color: #fff;
  text-align: center;
  background: #04060b80;
  border-radius: 8px;
  outline: 0;
  width: 70px;
  padding: 8px;
}

.keyword-panel > p, .automod-note {
  color: #70798d;
  font-size: 7px;
  line-height: 1.8;
}

.keyword-panel textarea, .announcement-editor textarea, .admin-modal textarea, .admin-modal input, .role-assign select, .announcement-editor select {
  border: 1px solid var(--admin-line);
  color: #fff;
  width: 100%;
  font: inherit;
  background: #04060b7a;
  border-radius: 10px;
  outline: 0;
  padding: 11px;
  font-size: 8px;
}

.keyword-panel textarea {
  resize: none;
  direction: rtl;
  height: 245px;
  line-height: 2;
}

.keyword-panel textarea:focus, .announcement-editor textarea:focus, .admin-modal textarea:focus, .role-assign select:focus {
  border-color: #7667ff73;
  box-shadow: 0 0 0 4px #7667ff0f;
}

.automod-note {
  color: #7193a5;
  background: #4bbbff0d;
  border-radius: 9px;
  gap: 7px;
  margin-top: 10px;
  padding: 9px;
  display: flex;
}

.admin-primary {
  color: #fff;
  background: linear-gradient(135deg, #7667ff, #5963df);
  border: 1px solid #ffffff1f;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 39px;
  padding: 0 14px;
  font-size: 8px;
  font-weight: 800;
  display: inline-flex;
  box-shadow: 0 10px 25px #5347d53d;
}

.admin-primary:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.save-floating {
  width: max-content;
  margin-right: auto;
}

.role-assign > div:last-child {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 10px;
  display: grid;
}

.role-assign label, .announcement-editor > label {
  color: #aab0bf;
  gap: 7px;
  font-size: 8px;
  display: grid;
}

.role-assign select, .announcement-editor select {
  height: 40px;
  padding-block: 0;
}

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

.role-grid article {
  border: 1px solid var(--admin-line);
  background: linear-gradient(145deg, #181c2cad, #0a0d16b3);
  border-radius: 14px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 15px;
  display: grid;
}

.role-grid h3, .role-grid p {
  margin: 0;
}

.role-grid h3 {
  font-size: 9px;
}

.role-grid p {
  color: #626b7e;
  margin-top: 3px;
  font-size: 6px;
}

.role-grid > article > small {
  color: #565f72;
  grid-column: 2 / -1;
  font-size: 6px;
}

.role-badge {
  color: #998eff;
  background: #7667ff17;
  border-radius: 7px;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  font-size: 6px;
  display: flex;
}

.role-badge.super_admin {
  color: #ffc35d;
  background: #ffb93c14;
}

.permission-guide > div {
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  display: grid;
}

.permission-guide > div > span {
  background: #ffffff05;
  border-radius: 9px;
  grid-template-columns: 20px 95px 1fr;
  align-items: center;
  padding: 9px;
  display: grid;
}

.permission-guide > div i {
  color: #59dca4;
  font-size: 7px;
}

.permission-guide > div b {
  font-size: 7px;
}

.permission-guide > div small {
  color: #626b7e;
  font-size: 6px;
}

.audit-head {
  align-items: center;
  gap: 20px;
  padding: 18px 5px;
  display: flex;
}

.audit-head > div {
  flex: 1;
}

.audit-head h2 {
  margin: 7px 0 4px;
  font-size: 20px;
}

.audit-head p {
  color: #747d91;
  margin: 0;
  font-size: 8px;
}

.audit-head > button {
  border: 1px solid var(--admin-line);
  color: #8790a3;
  background: #ffffff06;
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 8px;
}

.audit-table > header, .audit-table > article {
  grid-template-columns: 1.1fr 1fr .8fr .8fr 50px;
}

.audit-table code {
  color: #968cff;
  background: #7667ff12;
  border-radius: 5px;
  padding: 4px 6px;
  font-size: 7px;
}

.audit-table button {
  color: #727b8e;
  background: #ffffff08;
  border-radius: 8px;
  width: 28px;
  height: 28px;
}

.monitor-hero {
  background: linear-gradient(90deg, #32aa7412, #0d141d4d);
  border: 1px solid #4fdda024;
  border-radius: 14px;
  align-items: center;
  padding: 16px 19px;
  display: flex;
}

.monitor-hero > div {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 9px;
  display: grid;
}

.monitor-hero > div > span {
  background: var(--admin-green);
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 6px #4fdda00f,0 0 12px var(--admin-green);
  border-radius: 50%;
  grid-row: 1 / 3;
}

.monitor-hero b {
  font-size: 9px;
}

.monitor-hero small {
  color: #5e776b;
  font-size: 6px;
}

.monitor-hero em {
  color: #5d8f78;
  margin-right: auto;
  font: 700 7px ui-monospace, monospace;
}

.monitor-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  display: grid;
}

.monitor-grid article {
  border: 1px solid var(--admin-line);
  text-align: center;
  background: linear-gradient(145deg, #171b2bb0, #090c15b3);
  border-radius: 14px;
  place-content: center;
  justify-items: center;
  min-height: 105px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.monitor-grid article > i {
  color: #8075ef;
  margin-bottom: 8px;
  font-size: 14px;
}

.monitor-grid article > b {
  font-size: 14px;
}

.monitor-grid article > small {
  color: #646d80;
  margin-top: 3px;
  font-size: 6px;
}

.monitor-grid article > span {
  background: linear-gradient(90deg, #0000, #7667ff, #0000);
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.voice-room-list, .slow-list {
  gap: 6px;
  display: grid;
}

.voice-room-list article {
  background: #ffffff06;
  border-radius: 10px;
  align-items: center;
  gap: 9px;
  padding: 9px;
  display: flex;
}

.voice-room-list article > span {
  color: #5edba4;
  background: #4fdda014;
  border-radius: 9px;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}

.voice-room-list article > div {
  flex: 1;
}

.voice-room-list b, .voice-room-list small {
  display: block;
}

.voice-room-list b {
  font-size: 8px;
}

.voice-room-list small {
  color: #5f687b;
  margin-top: 2px;
  font-size: 6px;
}

.voice-room-list em {
  color: #5ddaa3;
  font-size: 7px;
  font-style: normal;
}

.slow-list article {
  background: #ffffff05;
  border-radius: 8px;
  grid-template-columns: 42px 1fr 60px 35px;
  align-items: center;
  gap: 7px;
  padding: 8px;
  font-size: 7px;
  display: grid;
}

.slow-list article > b {
  color: #8f84f2;
  font-size: 6px;
}

.slow-list code {
  color: #8992a5;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.slow-list span {
  color: #ffc05a;
}

.slow-list i {
  color: #5fdba5;
  text-align: center;
  background: #4fdda012;
  border-radius: 5px;
  padding: 3px;
  font-style: normal;
}

.slow-list i.danger {
  color: #ff7489;
  background: #ff617a14;
}

.runtime-line > div {
  gap: 8px;
  display: flex;
}

.runtime-line > div > span {
  color: #687185;
  background: #ffffff06;
  border-radius: 9px;
  flex: 1;
  padding: 10px;
  font-size: 7px;
}

.runtime-line > div b {
  color: #d9dce5;
  margin-top: 3px;
  font-size: 10px;
  display: block;
}

.announcement-editor {
  align-content: start;
  gap: 14px;
  display: grid;
}

.announcement-editor .setting-row {
  border-top: 0;
}

.announcement-preview {
  color: #74d5f8;
  background: #4bbbff0d;
  border: 1px solid #4bbbff26;
  border-radius: 9px;
  align-items: center;
  gap: 8px;
  padding: 10px;
  font-size: 7px;
  display: flex;
}

.announcement-preview.success {
  color: #64dca6;
  background: #4fdda00d;
  border-color: #4fdda026;
}

.announcement-preview.warning, .announcement-preview.danger {
  color: #ffc15b;
  background: #ffb93c0d;
  border-color: #ffb93c2b;
}

.admin-toast {
  z-index: 100;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: #64dda7;
  background: #0c111beb;
  border: 1px solid #4fdda030;
  border-radius: 11px;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  font-size: 8px;
  animation: .25s admin-view-in;
  display: flex;
  position: fixed;
  bottom: 20px;
  right: 50%;
  transform: translateX(50%);
  box-shadow: 0 18px 50px #0006;
}

.admin-modal-backdrop {
  z-index: 110;
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
  background: #04060bc4;
  place-items: center;
  padding: 18px;
  display: grid;
  position: fixed;
  inset: 0;
}

.admin-modal {
  background: linear-gradient(145deg, #1d2133f7, #0b0e18fa);
  border: 1px solid #bec6ff26;
  border-radius: 18px;
  width: min(430px, 100%);
  padding: 20px;
  animation: .22s admin-view-in;
  box-shadow: 0 35px 90px #0000008c;
}

.admin-modal > header {
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  display: flex;
}

.admin-modal > header > span {
  color: #ff758a;
  background: #ff617a17;
  border-radius: 13px;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
}

.admin-modal > header > div {
  flex: 1;
}

.admin-modal header small, .admin-modal header h2 {
  margin: 0;
  display: block;
}

.admin-modal header small {
  color: #697286;
  font-size: 6px;
}

.admin-modal header h2 {
  margin-top: 4px;
  font-size: 13px;
}

.admin-modal > header > button {
  color: #80899c;
  background: #ffffff09;
  border-radius: 8px;
  width: 31px;
  height: 31px;
}

.admin-modal > label {
  color: #aeb4c2;
  gap: 7px;
  margin-top: 12px;
  font-size: 8px;
  display: grid;
  position: relative;
}

.admin-modal > label > small {
  color: #636c80;
  position: absolute;
  bottom: 11px;
  left: 10px;
}

.admin-modal > p {
  color: #697286;
  gap: 7px;
  margin: 13px 0;
  font-size: 7px;
  display: flex;
}

.admin-modal > footer {
  justify-content: flex-end;
  gap: 7px;
  margin-top: 17px;
  display: flex;
}

.admin-modal > footer button {
  border: 1px solid var(--admin-line);
  color: #8992a4;
  background: #ffffff06;
  border-radius: 9px;
  min-width: 80px;
  height: 37px;
  font-size: 8px;
}

.admin-modal > footer button.danger {
  color: #fff;
  background: #d2425abf;
  border-color: #ff617a29;
}

.admin-modal > footer button:disabled {
  opacity: .45;
}

.admin-scrim {
  display: none;
}

.admin-state {
  color: #f4f6ff;
  text-align: center;
  background: radial-gradient(circle, #6a4bff24, #0000 35%), #070812;
  place-content: center;
  justify-items: center;
  min-height: 100dvh;
  display: grid;
}

.admin-loader {
  background: linear-gradient(135deg, #7667ff, #4e9ce9);
  border: 1px solid #ffffff21;
  border-radius: 22px;
  place-items: center;
  width: 67px;
  height: 67px;
  margin-bottom: 14px;
  animation: 1.7s infinite soft-pulse;
  display: grid;
  box-shadow: 0 18px 45px #5a4ae657;
}

.admin-state b {
  font-size: 13px;
}

.admin-state p {
  color: #7d8699;
  font-size: 9px;
}

.admin-state.denied > i {
  color: #ff6f86;
  font-size: 35px;
}

.admin-state.denied h1 {
  margin: 15px 0 3px;
}

.admin-state.denied > div {
  gap: 7px;
  margin-top: 13px;
  display: flex;
}

.admin-state.denied a {
  background: #ffffff09;
  border: 1px solid #ffffff17;
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 8px;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .admin-stats {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .monitor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .admin-shell {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .admin-sidebar {
    border-radius: 16px;
  }

  .admin-logo {
    justify-content: center;
    padding: 0;
  }

  .admin-logo > div, .admin-sidebar nav button > span, .admin-sidebar nav button > b, .admin-sidebar-foot > div, .admin-sidebar-foot > a {
    display: none;
  }

  .admin-sidebar nav button {
    justify-content: center;
    padding: 0;
  }

  .admin-sidebar nav button > i {
    font-size: 14px;
  }

  .admin-sidebar-foot {
    justify-content: center;
    padding: 7px;
  }

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

  .monitor-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-table, .audit-table {
    min-width: 800px;
  }

  :is(.table-panel, .admin-panel:has(.audit-table)) {
    overflow: auto;
  }
}

@media (max-width: 700px) {
  .admin-shell {
    display: block;
    overflow: visible;
  }

  .admin-sidebar {
    z-index: 80;
    width: min(270px, 84vw);
    height: auto;
    margin: 5px;
    transition: all .22s;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    transform: translateX(110%);
  }

  .admin-sidebar.open {
    transform: none;
  }

  .admin-logo {
    justify-content: flex-start;
    padding: 0 15px;
  }

  .admin-logo > div, .admin-sidebar nav button > span, .admin-sidebar nav button > b, .admin-sidebar-foot > div, .admin-sidebar-foot > a {
    display: block;
  }

  .admin-sidebar nav button {
    justify-content: flex-start;
    padding: 0 12px;
  }

  .admin-sidebar-foot {
    justify-content: flex-start;
    padding: 9px;
  }

  .admin-main {
    height: auto;
    min-height: 100dvh;
  }

  .admin-menu {
    display: grid !important;
  }

  .admin-topbar {
    z-index: 30;
    background: #080a12d4;
    height: 65px;
    min-height: 65px;
    padding: 0 12px;
    position: sticky;
    top: 0;
  }

  .admin-live {
    display: none;
  }

  .admin-topbar > div:nth-child(2) {
    margin-left: auto;
  }

  .admin-content {
    padding: 13px;
  }

  .admin-scrim {
    z-index: 70;
    background: #00000094;
    display: block;
    position: fixed;
    inset: 0;
  }

  .admin-welcome {
    min-height: 160px;
    padding: 24px;
  }

  .radar {
    opacity: .6;
    left: -30px;
  }

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

  .server-admin-grid, .role-grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    flex-wrap: wrap;
  }

  .admin-toolbar > div {
    width: 100%;
    margin: 0;
  }

  .admin-toolbar label {
    width: 100%;
  }

  .admin-toolbar > button {
    flex: 1;
  }

  .report-card {
    grid-template-columns: 55px minmax(0, 1fr);
  }

  .report-actions {
    border-top: 1px solid var(--admin-line);
    flex-direction: row;
    grid-column: 1 / -1;
    display: flex;
  }

  .report-actions button {
    flex: 1;
  }

  .role-assign > div:last-child, .permission-guide > div {
    grid-template-columns: 1fr;
  }

  .runtime-line > div {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

  .admin-view {
    gap: 12px;
  }
}

@media (max-width: 430px) {
  .admin-stats {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .admin-stats article {
    min-height: 78px;
    padding: 10px;
  }

  .admin-stats article > span {
    width: 34px;
    height: 34px;
  }

  .admin-stats b {
    font-size: 15px;
  }

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

  .report-main {
    padding: 11px;
  }

  .report-main > footer {
    gap: 7px;
  }

  .automod-hero, .maintenance-card {
    align-items: flex-start;
  }

  .automod-hero > span, .maintenance-card > span {
    width: 40px;
    height: 40px;
  }

  .setting-row > span {
    display: none;
  }

  .admin-modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .admin-modal {
    border-radius: 20px 20px 0 0;
  }

  .platform-notice {
    bottom: 8px;
  }
}

@media print {
  .admin-sidebar, .admin-topbar, .audit-head > button {
    display: none !important;
  }

  .admin-shell {
    color: #111;
    background: #fff;
    display: block;
  }

  .admin-content {
    overflow: visible;
  }

  .admin-panel {
    box-shadow: none;
    background: #fff;
    border: 1px solid #ddd;
  }

  .audit-table {
    min-width: 0;
  }
}

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

.report-admin-head > button {
  border: 1px solid var(--admin-line);
  color: #858ea1;
  background: #ffffff06;
  border-radius: 10px;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 13px;
  font-size: 8px;
  display: flex;
}

.report-admin-head > button.active {
  color: #fff;
  background: #7667ff1a;
  border-color: #7667ff40;
}

.reporting-config {
  gap: 13px;
  display: grid;
}

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

.report-config-grid .setting-row, .report-config-grid .number-setting {
  min-height: 56px;
}

.report-config-title {
  margin: 6px 0 0;
  font-size: 10px;
}

.report-category-config {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  display: grid;
}

.report-category-config button {
  border: 1px solid var(--admin-line);
  color: #747d91;
  text-align: right;
  background: #ffffff05;
  border-radius: 10px;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 5px;
  min-height: 58px;
  padding: 8px;
  display: grid;
}

.report-category-config button.active {
  color: #d5d9e2;
  background: #4fdda00b;
  border-color: #4fdda024;
}

.report-category-config button > i {
  color: #596276;
}

.report-category-config button.active > i {
  color: #5ddca5;
}

.report-category-config button span {
  font-size: 7px;
}

.report-category-config button small {
  color: #596276;
  grid-column: 2;
  font-size: 5px;
}

.report-config-save {
  width: max-content;
  margin-right: auto;
}

.report-evidence-link {
  color: #71d3f5;
  overflow-wrap: anywhere;
  background: #4bbbff0d;
  border-radius: 7px;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 8px 0;
  padding: 6px 8px;
  font-size: 7px;
  text-decoration: none;
  display: flex;
}

@media (max-width: 900px) {
  .report-category-config {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .report-admin-head {
    flex-direction: column;
    align-items: stretch;
  }

  .report-admin-head .filter-tabs {
    max-width: 100%;
    overflow: auto;
  }

  .report-admin-head > button {
    justify-content: center;
  }

  .report-config-grid {
    grid-template-columns: 1fr;
  }

  .report-category-config {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-config-save {
    width: 100%;
  }
}

.badge-admin-layout {
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 16px;
  min-height: 580px;
  display: grid;
}

.badge-user-list {
  padding: 8px;
  overflow: auto;
}

.badge-user-list > button {
  width: 100%;
  color: var(--admin-text);
  text-align: left;
  background: none;
  border: 0;
  border-radius: 13px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  display: grid;
}

.badge-user-list > button:hover, .badge-user-list > button.active {
  background: linear-gradient(90deg, #705cff33, #37bfff14);
  box-shadow: inset 3px 0 #53cfff;
}

.badge-user-list span:nth-child(2) {
  min-width: 0;
}

.badge-user-list b, .badge-user-list small {
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
}

.badge-user-list small {
  color: var(--admin-muted);
}

.badge-user-list em {
  color: #72dcff;
  font-style: normal;
}

.badge-editor {
  padding: 22px;
}

.badge-profile-head {
  border-bottom: 1px solid var(--admin-line);
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  display: flex;
}

.badge-profile-head .admin-avatar {
  width: 58px;
  height: 58px;
}

.badge-profile-head h2, .badge-profile-head p {
  margin: 2px 0;
}

.badge-profile-head small {
  color: #69dfff;
  letter-spacing: .16em;
}

.badge-profile-head p {
  color: var(--admin-muted);
  text-align: left;
  direction: ltr;
}

.badge-catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 18px;
  display: grid;
}

.badge-catalog-grid > button {
  --badge-color: #8aa0ff;
  border: 1px solid var(--admin-line);
  color: var(--admin-text);
  text-align: left;
  background: linear-gradient(145deg, #161b2de0, #0b0e1bbd);
  border-radius: 15px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  display: grid;
}

.badge-catalog-grid > button:hover:not(:disabled), .badge-catalog-grid > button.active {
  border-color: color-mix(in srgb,var(--badge-color),transparent 55%);
  box-shadow: 0 10px 28px color-mix(in srgb,var(--badge-color),transparent 88%);
}

.badge-catalog-grid > button > i {
  color: var(--badge-color);
  filter: drop-shadow(0 0 7px var(--badge-color));
  font-size: 20px;
}

.badge-catalog-grid b, .badge-catalog-grid small {
  display: block;
}

.badge-catalog-grid small {
  color: var(--admin-muted);
  margin-top: 3px;
}

.badge-catalog-grid em {
  text-transform: uppercase;
  color: var(--badge-color);
  font-size: 10px;
  font-style: normal;
}

.badge-catalog-grid .automatic {
  cursor: default;
}

.badge-catalog-grid button:disabled {
  opacity: .72;
}

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

  .badge-user-list {
    max-height: 250px;
  }

  .badge-catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* [project]/src/app/skeleton.css [app-client] (css) */
.app-skeleton, .marketing-skeleton, .admin-skeleton {
  --sk-base: #383a40;
  --sk-soft: #2b2d31;
  --sk-panel: #313338;
  --sk-line: #202225;
  --sk-shine: #ffffff14;
  color: #f2f3f5;
  background: #313338;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
}

html[data-theme="light"] :is(.app-skeleton, .marketing-skeleton, .admin-skeleton) {
  --sk-base: #d7d9dc;
  --sk-soft: #f2f3f5;
  --sk-panel: #fff;
  --sk-line: #d8dadd;
  --sk-shine: #ffffff8c;
  color: #313338;
  background: #fff;
}

.app-skeleton *, .marketing-skeleton *, .admin-skeleton * {
  box-sizing: border-box;
}

.loading-signal {
  z-index: 30;
  width: 34%;
  height: 3px;
  animation: 1.15s cubic-bezier(.4, 0, .2, 1) infinite xcord-loading-signal;
  top: 0;
  left: 0;
  box-shadow: 0 0 18px #0060ff73;
  background: #0060ff !important;
  border-radius: 0 99px 99px 0 !important;
  position: fixed !important;
}

@keyframes xcord-loading-signal {
  0% {
    transform: translateX(-110%);
  }

  55% {
    width: 48%;
  }

  100% {
    width: 22%;
    transform: translateX(300%);
  }
}

.app-skeleton :is(i, span, b, small), .marketing-skeleton :is(i, span, b, small, h1, p), .admin-skeleton :is(i, span, b), .skeleton-block {
  background: var(--sk-base);
  border-radius: 6px;
  display: block;
  position: relative;
  overflow: hidden;
}

.app-skeleton :is(i, span, b):not(.skeleton-logo, .loading-signal):after, .marketing-skeleton :is(i, span, b, small, h1, p):not(.loading-brand, .loading-signal):after, .admin-skeleton :is(i, span, b):not(.loading-brand, .loading-signal):after, .skeleton-block:after {
  content: "";
  background: linear-gradient(90deg,transparent,var(--sk-shine),transparent);
  animation: 1.5s ease-in-out infinite xcord-skeleton;
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
}

@keyframes xcord-skeleton {
  to {
    transform: translateX(110%);
  }
}

.skeleton-logo, .loading-brand {
  align-items: center;
  gap: 8px;
  background: none !important;
  display: flex !important;
  overflow: visible !important;
}

.skeleton-logo {
  width: 46px;
  height: 46px;
  margin-bottom: 3px;
}

.skeleton-logo img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.loading-brand img {
  object-fit: contain;
  width: 40px;
  height: 40px;
}

.loading-brand b {
  color: inherit;
  letter-spacing: -.05em;
  font-size: 19px;
  background: none !important;
  overflow: visible !important;
}

.loading-brand em {
  color: #0060ff;
  font-style: normal;
}

.app-skeleton {
  direction: ltr;
  grid-template-columns: 72px 260px minmax(0, 1fr) 240px;
  display: grid;
}

.skeleton-rail, .skeleton-sidebar, .skeleton-content, .skeleton-members {
  border: 0;
  border-inline-end: 1px solid var(--sk-line);
  background: var(--sk-panel);
  border-radius: 0;
  min-width: 0;
}

.skeleton-rail {
  background: #1e1f22;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  display: flex;
}

html[data-theme="light"] .skeleton-rail {
  background: #e3e5e8;
}

.skeleton-rail > i {
  border-radius: 50%;
  width: 46px;
  height: 46px;
}

.skeleton-sidebar {
  background: var(--sk-soft);
  flex-direction: column;
  gap: 10px;
  padding: 12px 10px;
  display: flex;
}

.skeleton-sidebar header {
  border-bottom: 1px solid var(--sk-line);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 4px 11px;
  display: flex;
}

.skeleton-sidebar header i {
  width: 32px;
  height: 32px;
}

.skeleton-sidebar header span {
  width: 68%;
  height: 12px;
}

.skeleton-search {
  background: var(--sk-base);
  border-radius: 5px;
  height: 34px;
}

.skeleton-nav-row {
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding-inline: 5px;
  display: flex;
}

.skeleton-nav-row i {
  width: 18px;
  height: 18px;
}

.skeleton-nav-row span {
  width: 62%;
  height: 10px;
}

.skeleton-sidebar footer {
  border-top: 1px solid var(--sk-line);
  background: color-mix(in srgb,var(--sk-soft) 88%,#000);
  grid-template-columns: 36px 1fr 28px;
  align-items: center;
  gap: 8px;
  margin: auto -10px -12px;
  padding: 8px 10px;
  display: grid;
}

.skeleton-sidebar footer i {
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

.skeleton-sidebar footer span {
  height: 22px;
}

.skeleton-sidebar footer b {
  height: 28px;
}

.skeleton-content {
  background: var(--sk-panel);
  flex-direction: column;
  display: flex;
}

.skeleton-content > header {
  border-bottom: 1px solid var(--sk-line);
  align-items: center;
  gap: 11px;
  height: 58px;
  padding: 12px 16px;
  display: flex;
}

.skeleton-content > header i {
  width: 26px;
  height: 26px;
}

.skeleton-content > header span {
  width: 170px;
  height: 13px;
}

.skeleton-content > header b {
  width: 94px;
  height: 28px;
  margin-left: auto;
}

.skeleton-messages, .skeleton-friend-list {
  flex-direction: column;
  flex: 1;
  gap: 16px;
  padding: 22px 20px;
  display: flex;
}

.skeleton-messages {
  justify-content: flex-end;
}

.skeleton-messages article {
  gap: 11px;
  display: flex;
}

.skeleton-messages article > i, .skeleton-friend-list article i {
  border-radius: 50%;
  flex: none;
  width: 40px;
  height: 40px;
}

.skeleton-messages article > div {
  flex: 1;
  gap: 7px;
  display: grid;
}

.skeleton-messages b {
  width: 128px;
  height: 10px;
}

.skeleton-messages span {
  height: 9px;
}

.skeleton-friend-list {
  justify-content: flex-start;
}

.skeleton-friend-list article {
  grid-template-columns: 40px 1fr 70px;
  align-items: center;
  gap: 11px;
  padding: 4px;
  display: grid;
}

.skeleton-friend-list span {
  height: 13px;
}

.skeleton-friend-list b {
  height: 30px;
}

.skeleton-composer {
  background: var(--sk-base);
  border-radius: 8px;
  height: 46px;
  margin: 0 16px 16px;
}

.skeleton-members {
  background: var(--sk-soft);
  border-inline: 0;
  padding: 76px 12px 18px;
}

.skeleton-members div {
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  display: flex;
}

.skeleton-members i {
  border-radius: 50%;
  width: 34px;
  height: 34px;
}

.skeleton-members span {
  width: 64%;
  height: 10px;
}

.marketing-skeleton {
  background: #1e1f22;
  padding: 20px max(24px, 50vw - 620px);
}

html[data-theme="light"] .marketing-skeleton {
  background: #f7f8fa;
}

.marketing-skeleton > header {
  align-items: center;
  gap: 20px;
  max-width: 1240px;
  height: 52px;
  margin: auto;
  display: flex;
}

.marketing-skeleton nav {
  gap: 10px;
  margin-inline: auto;
  display: flex;
}

.marketing-skeleton nav span {
  width: 72px;
  height: 10px;
}

.marketing-skeleton > header > b {
  width: 86px;
  height: 36px;
}

.marketing-skeleton > section {
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 7vw;
  max-width: 1240px;
  margin: 13vh auto 9vh;
  display: grid;
}

.marketing-skeleton section small {
  width: 138px;
  height: 14px;
}

.marketing-skeleton section h1 {
  height: 52px;
  margin: 13px 0;
}

.marketing-skeleton section p {
  width: 82%;
  height: 12px;
  margin: 9px 0;
}

.marketing-skeleton section footer {
  gap: 10px;
  margin-top: 28px;
  display: flex;
}

.marketing-skeleton section footer b {
  width: 142px;
  height: 44px;
}

.marketing-skeleton section aside {
  border: 1px solid var(--sk-line);
  background: var(--sk-panel);
  border-radius: 12px;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  height: 390px;
  padding: 20px;
  display: grid;
}

.marketing-skeleton section aside i {
  min-height: 145px;
}

.skeleton-feature-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: auto;
  display: grid;
}

.skeleton-feature-row i {
  height: 112px;
}

.admin-skeleton {
  background: var(--sk-panel);
  direction: ltr;
  grid-template-columns: 240px minmax(0, 1fr);
  display: grid;
}

.admin-skeleton > aside {
  border-inline-end: 1px solid var(--sk-line);
  background: var(--sk-soft);
  padding: 18px 12px;
}

.admin-skeleton > aside .loading-brand {
  min-height: 48px;
  margin: 0 6px 24px;
}

.admin-skeleton > aside > span:not(.loading-brand) {
  height: 36px;
  margin-bottom: 8px;
}

.admin-skeleton > section {
  padding: 22px;
}

.admin-skeleton > section > header {
  border-bottom: 1px solid var(--sk-line);
  justify-content: space-between;
  padding-bottom: 18px;
  display: flex;
}

.admin-skeleton > section > header b {
  width: 230px;
  height: 36px;
}

.admin-skeleton > section > header i {
  width: 106px;
  height: 36px;
}

.admin-skeleton-cards {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
  display: grid;
}

.admin-skeleton-cards i {
  height: 112px;
}

.admin-skeleton-table {
  gap: 9px;
  display: grid;
}

.admin-skeleton-table span {
  height: 52px;
}

.skeleton-block, .notification-skeleton, .search-result-skeleton > i, .pinned-messages-loading > i, .report-loading > i {
  border: 1px solid var(--ui-border);
  background: var(--ui-input) !important;
  background-image: none !important;
}

.commerce-loading {
  min-height: 300px;
  color: var(--ui-muted);
  align-content: center;
  place-items: center;
  gap: 12px;
  display: grid;
}

.commerce-loading > i {
  color: #0060ff;
  font-size: 28px;
}

.commerce-loading > b {
  font-size: 12px;
  font-weight: 600;
}

.channel-loading-bar {
  overflow: hidden;
  background: none !important;
}

.channel-loading-bar:after {
  content: "";
  background: #0060ff;
  border-radius: 99px;
  width: 36%;
  height: 100%;
  animation: 1.05s ease-in-out infinite xcord-loading-signal;
  display: block;
}

@media (max-width: 1000px) {
  .app-skeleton {
    grid-template-columns: 64px 240px minmax(0, 1fr);
  }

  .skeleton-members {
    display: none;
  }

  .marketing-skeleton > section {
    grid-template-columns: 1fr;
  }

  .marketing-skeleton section aside {
    display: none;
  }

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

@media (max-width: 700px) {
  .app-skeleton {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .skeleton-sidebar {
    display: none;
  }

  .skeleton-rail {
    padding-inline: 5px;
  }

  .skeleton-logo, .skeleton-rail > i {
    width: 42px;
    height: 42px;
  }

  .skeleton-content > header {
    height: 56px;
    padding-inline: 10px;
  }

  .skeleton-content > header span {
    width: min(42vw, 160px);
  }

  .skeleton-messages, .skeleton-friend-list {
    padding: 16px 10px;
  }

  .skeleton-messages article:nth-last-child(-n+2) {
    display: none;
  }

  .skeleton-composer {
    margin: 0 8px max(8px,env(safe-area-inset-bottom));
  }

  .marketing-skeleton {
    padding: 14px;
  }

  .marketing-skeleton nav, .marketing-skeleton > header > b:last-child {
    display: none;
  }

  .marketing-skeleton > section {
    margin-top: 12vh;
  }

  .marketing-skeleton section h1 {
    height: 42px;
  }

  .skeleton-feature-row, .admin-skeleton {
    grid-template-columns: 1fr;
  }

  .admin-skeleton > aside {
    display: none;
  }

  .admin-skeleton > section {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading-signal, .channel-loading-bar:after, .app-skeleton :after, .marketing-skeleton :after, .admin-skeleton :after, .skeleton-block:after {
    animation: none !important;
  }

  .loading-signal {
    opacity: .75;
    width: 100%;
    transform: none !important;
  }
}

/* [project]/src/app/app-theme.css [app-client] (css) */
:root {
  --xc-blue: #0060ff;
  --xc-blue-2: #008cff;
  --xc-cyan: #00c8ff;
  --xc-white: #f7faff;
  --xc-black: #02050a;
  --xc-success: #37d994;
  --xc-warning: #ffbd4a;
  --xc-danger: #ff4f70;
  --xc-canvas: #02050a;
  --xc-panel: #080d17c7;
  --xc-panel-strong: #080e1af0;
  --xc-panel-soft: #121b2c94;
  --xc-panel-hover: #182843a8;
  --xc-stroke: #80b4ff24;
  --xc-stroke-strong: #60a3ff4d;
  --xc-text: #f7faff;
  --xc-muted: #8d9ab0;
  --xc-blue-rgb: 0, 96, 255;
  --xc-blur: blur(24px) saturate(145%);
  --xc-shadow: 0 22px 70px #0000006b, inset 0 1px 0 #ffffff09;
  --xc-shadow-blue: 0 12px 36px rgba(var(--xc-blue-rgb), .24), inset 0 1px 0 #ffffff29;
  --xc-radius-xs: 8px;
  --xc-radius-sm: 11px;
  --xc-radius-md: 16px;
  --xc-radius-lg: 22px;
  --xc-ease: cubic-bezier(.2, .75, .2, 1);
}

html[data-theme="dark"] {
  --xc-canvas: #050505;
  --xc-panel: #101010;
  --xc-panel-strong: #080808;
  --xc-panel-soft: #181818;
  --xc-panel-hover: #202020;
  --xc-blue: #0060ff;
  --xc-blue-2: #0060ff;
  --xc-cyan: #0060ff;
  --xc-blue-rgb: 0,96,255;
  --xc-text: #fff;
  --xc-muted: #a9a9a9;
  --xc-stroke: #ffffff1f;
  --xc-stroke-strong: #ffffff38;
}

html[data-theme="light"] {
  --xc-canvas: #fff;
  --xc-panel: #fff;
  --xc-panel-strong: #f5f5f5;
  --xc-panel-soft: #ebebeb;
  --xc-panel-hover: #e3e3e3;
  --xc-blue: #0060ff;
  --xc-blue-2: #0060ff;
  --xc-cyan: #0060ff;
  --xc-blue-rgb: 0,96,255;
  --xc-white: #101010;
  --xc-text: #101010;
  --xc-muted: #606060;
  --xc-stroke: #0000001f;
  --xc-stroke-strong: #00000038;
  --xc-shadow: 0 18px 44px #00000017;
}

.app-shell, .direct-shell, .settings-backdrop, .modal-backdrop, .context-menu, .server-dropdown, .notification-popover, .search-results, .pwa-install {
  font-family: Inter, Vazirmatn, system-ui, sans-serif;
}

.app-shell, .direct-shell {
  --bg: var(--xc-canvas);
  --panel: var(--xc-panel);
  --panel-2: var(--xc-panel-soft);
  --panel-3: var(--xc-panel-hover);
  --line: var(--xc-stroke);
  --line-strong: var(--xc-stroke-strong);
  --text: var(--xc-text);
  --muted: var(--xc-muted);
  --brand: var(--xc-blue);
  --brand-2: var(--xc-blue-2);
  isolation: isolate;
  background: radial-gradient(ellipse 60% 52% at 68% -16%, rgba(var(--xc-blue-rgb), .22), transparent 65%),
    radial-gradient(ellipse 34% 36% at -8% 108%, color-mix(in srgb, var(--xc-cyan) 12%, transparent), transparent 70%),
    linear-gradient(145deg, #000 0%, var(--xc-canvas) 46%, #01040a 100%);
  color: var(--xc-text);
  gap: 8px;
  padding: 8px;
  position: relative;
}

.app-shell:before, .direct-shell:before {
  content: "";
  z-index: -2;
  pointer-events: none;
  opacity: .3;
  background-image: linear-gradient(#5694ff0e 1px, #0000 1px), linear-gradient(90deg, #5694ff0e 1px, #0000 1px);
  background-size: 48px 48px;
  position: fixed;
  inset: 0;
  -webkit-mask-image: linear-gradient(#000 0%, #0006 62%, #0000 100%);
  mask-image: linear-gradient(#000 0%, #0006 62%, #0000 100%);
}

.app-shell:after, .direct-shell:after {
  content: "";
  z-index: -1;
  background: rgba(var(--xc-blue-rgb),.16);
  filter: blur(90px);
  pointer-events: none;
  border-radius: 50%;
  width: 440px;
  height: 440px;
  animation: 12s ease-in-out infinite alternate xc-ambient;
  position: fixed;
  top: -260px;
  right: 18%;
}

@keyframes xc-ambient {
  to {
    opacity: .68;
    transform: translate3d(-80px, 50px, 0)scale(1.18);
  }
}

.app-shell :is(.server-rail, .channel-sidebar, .member-sidebar, .content-column), .direct-shell :is(.server-rail, .direct-sidebar, .direct-content, .activity-sidebar) {
  -webkit-backdrop-filter: var(--xc-blur);
  overflow: hidden;
  border: 1px solid var(--xc-stroke) !important;
  border-radius: var(--xc-radius-lg) !important;
  background: linear-gradient(145deg,#0f1727b8,var(--xc-panel)) !important;
  box-shadow: var(--xc-shadow) !important;
}

.app-shell .server-rail, .direct-shell .server-rail {
  background: linear-gradient(#050910f5, #02050aeb) !important;
}

.app-shell .channel-sidebar, .direct-shell .direct-sidebar {
  background: linear-gradient(180deg,var(--xc-panel-strong),#04080fe0) !important;
}

.app-shell .content-column, .direct-shell .direct-content {
  background: radial-gradient(circle at 92% 0,rgba(var(--xc-blue-rgb),.09),transparent 34%),linear-gradient(150deg,#0f1828b8,#050910c7) !important;
}

.app-shell .member-sidebar, .direct-shell .activity-sidebar {
  background: linear-gradient(#0a111dcc, #03070dd6) !important;
}

.app-shell :is(.channel-header, .channel-sidebar > header, .member-sidebar > header), .direct-shell :is(.direct-content > header, .direct-sidebar > header, .friends-header, .activity-sidebar > header) {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-color: var(--xc-stroke) !important;
  background: linear-gradient(90deg,#ffffff09,rgba(var(--xc-blue-rgb),.035)) !important;
  box-shadow: 0 1px #ffffff05, 0 14px 32px #00000024 !important;
}

.app-shell .channel-header, .direct-shell .friends-header {
  margin: 7px 8px 0;
  border: 1px solid var(--xc-stroke) !important;
  border-radius: var(--xc-radius-md) !important;
}

.app-shell :is(h1, h2, h3, b, strong), .direct-shell :is(h1, h2, h3, b, strong), .settings-window :is(h1, h2, h3, b, strong) {
  color: var(--xc-white);
  letter-spacing: -.015em;
}

.app-shell small, .direct-shell small, .settings-window small {
  color: var(--xc-muted);
}

.app-shell :is(.server-orb, .home-orb), .direct-shell :is(.server-orb, .home-orb) {
  overflow: hidden;
  background: linear-gradient(145deg, #1b2a44db, #080f1be6) !important;
  border: 1px solid #82b2ff21 !important;
  border-radius: 16px !important;
  box-shadow: 0 9px 25px #00000052, inset 0 1px #ffffff0f !important;
}

.app-shell :is(.server-orb, .home-orb):hover, .app-shell .server-orb.active, .direct-shell :is(.server-orb, .home-orb):hover, .direct-shell :is(.server-orb, .home-orb).active {
  transform: translateY(-2px);
  background: linear-gradient(135deg,var(--xc-blue),var(--xc-blue-2)) !important;
  box-shadow: var(--xc-shadow-blue),0 0 28px rgba(var(--xc-blue-rgb),.18) !important;
  border-color: #66a7ff8c !important;
  border-radius: 12px !important;
}

.app-shell .server-orb.active:before, .direct-shell .server-orb.active:before {
  background: linear-gradient(var(--xc-cyan),var(--xc-blue));
  box-shadow: 0 0 16px rgba(var(--xc-blue-rgb),.75);
}

.app-shell :is(.channel-link, .member-row), .direct-shell :is(.direct-nav, .direct-list > button, .member-row, .friend-row) {
  border-radius: var(--xc-radius-sm) !important;
  background: none !important;
  border: 1px solid #0000 !important;
}

.app-shell :is(.channel-link, .member-row):hover, .direct-shell :is(.direct-nav, .direct-list > button, .member-row, .friend-row):hover {
  color: var(--xc-white);
  transform: translateX(-2px);
  border-color: var(--xc-stroke) !important;
  background: linear-gradient(90deg,rgba(var(--xc-blue-rgb),.13),#398bff09) !important;
}

.app-shell .channel-link.active, .direct-shell :is(.direct-nav, .direct-list > button).active {
  color: #fff;
  background: linear-gradient(90deg,rgba(var(--xc-blue-rgb),.23),#3792ff11) !important;
  box-shadow: inset 3px 0 var(--xc-cyan),0 9px 24px #00000024 !important;
  border-color: #4e94ff3d !important;
}

.app-shell button, .direct-shell button, .settings-backdrop button, .modal-backdrop button, .pwa-install button {
  transition: transform .18s var(--xc-ease),border-color .18s var(--xc-ease),background .18s var(--xc-ease),color .18s var(--xc-ease),box-shadow .18s var(--xc-ease),filter .18s var(--xc-ease);
}

.app-shell button:active:not(:disabled), .direct-shell button:active:not(:disabled), .settings-backdrop button:active:not(:disabled) {
  transform: scale(.96);
}

.app-shell :is(.primary-button, .accept, .add-friend), .direct-shell :is(.primary-button, .accept, .add-friend), .settings-backdrop .primary-button, .modal-backdrop .primary-button, .pwa-install > button:not(:last-child) {
  font-weight: 700;
  border-radius: var(--xc-radius-sm) !important;
  background: linear-gradient(135deg,var(--xc-blue),#087bff 58%,var(--xc-blue-2)) !important;
  color: #fff !important;
  box-shadow: var(--xc-shadow-blue) !important;
  border: 1px solid #ffffff2b !important;
}

.app-shell :is(.primary-button, .accept, .add-friend):hover, .direct-shell :is(.primary-button, .accept, .add-friend):hover, .settings-backdrop .primary-button:hover, .modal-backdrop .primary-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(var(--xc-blue-rgb),.34) !important;
}

.danger-button, .icon-danger {
  color: #ff7891 !important;
  background: #ff4f7017 !important;
  border-color: #ff4f7033 !important;
}

.danger-button:hover, .icon-danger:hover {
  background: #ff4f702b !important;
  border-color: #ff4f706b !important;
}

.app-shell :is(.header-actions, .user-dock, .message-toolbar, .voice-dock-actions, .call-controls) > button, .direct-shell :is(.direct-header-actions, .user-dock) > button, .settings-window > main > header > button {
  color: var(--xc-muted);
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.app-shell :is(.header-actions, .user-dock, .message-toolbar, .voice-dock-actions, .call-controls) > button:hover, .direct-shell :is(.direct-header-actions, .user-dock) > button:hover, .settings-window > main > header > button:hover {
  text-shadow: 0 0 16px #00beffa6;
  transform: translateY(-2px);
  color: var(--xc-cyan) !important;
}

.app-shell :is(input, textarea, select), .direct-shell :is(input, textarea, select), .settings-backdrop :is(input, textarea, select), .modal-backdrop :is(input, textarea, select), .search-filter-menu :is(input, select) {
  caret-color: var(--xc-cyan);
  outline: 0;
  border: 1px solid var(--xc-stroke) !important;
  border-radius: var(--xc-radius-sm) !important;
  color: var(--xc-white) !important;
  background: #00040a9e !important;
  box-shadow: inset 0 1px #ffffff06 !important;
}

.app-shell :is(input, textarea, select):focus, .direct-shell :is(input, textarea, select):focus, .settings-backdrop :is(input, textarea, select):focus, .modal-backdrop :is(input, textarea, select):focus, .search-filter-menu :is(input, select):focus {
  box-shadow: 0 0 0 4px rgba(var(--xc-blue-rgb),.11),inset 0 1px #ffffff09 !important;
  border-color: #3486ffad !important;
}

.app-shell :is(input, textarea)::placeholder, .direct-shell :is(input, textarea)::placeholder, .settings-backdrop :is(input, textarea)::placeholder {
  color: #65748c;
}

.settings-backdrop select option, .app-shell select option, .direct-shell select option {
  color: #fff;
  background: #07101d;
}

.app-shell input[type="checkbox"], .direct-shell input[type="checkbox"], .settings-backdrop input[type="checkbox"], .modal-backdrop input[type="checkbox"] {
  appearance: none;
  flex: none;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  display: inline-grid;
  background: #00050db8 !important;
  border: 1px solid #74a7ff47 !important;
  border-radius: 6px !important;
}

.app-shell input[type="checkbox"]:after, .direct-shell input[type="checkbox"]:after, .settings-backdrop input[type="checkbox"]:after, .modal-backdrop input[type="checkbox"]:after {
  content: "✓";
  color: #fff;
  opacity: 0;
  font-size: 11px;
  font-weight: 800;
  transition: all .16s;
  transform: scale(.4);
}

.app-shell input[type="checkbox"]:checked, .direct-shell input[type="checkbox"]:checked, .settings-backdrop input[type="checkbox"]:checked, .modal-backdrop input[type="checkbox"]:checked {
  border-color: var(--xc-blue) !important;
  background: linear-gradient(135deg,var(--xc-blue),var(--xc-blue-2)) !important;
  box-shadow: 0 0 0 3px rgba(var(--xc-blue-rgb),.12) !important;
}

.app-shell input[type="checkbox"]:checked:after, .direct-shell input[type="checkbox"]:checked:after, .settings-backdrop input[type="checkbox"]:checked:after, .modal-backdrop input[type="checkbox"]:checked:after {
  opacity: 1;
  transform: scale(1);
}

.settings-backdrop input[type="range"] {
  height: 6px;
  background: linear-gradient(90deg,var(--xc-blue),var(--xc-cyan)) !important;
  border: 0 !important;
  border-radius: 99px !important;
}

.settings-backdrop input[type="range"]::-webkit-slider-thumb {
  background: var(--xc-blue);
  width: 18px;
  height: 18px;
  box-shadow: 0 4px 18px rgba(var(--xc-blue-rgb),.5),0 0 0 4px rgba(var(--xc-blue-rgb),.12);
  border: 3px solid #fff;
}

.app-shell .composer, .direct-shell .composer {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--xc-stroke-strong) !important;
  background: linear-gradient(135deg, #122036c2, #050a13d1) !important;
  border-radius: 15px !important;
  box-shadow: 0 15px 40px #00000047, inset 0 1px #ffffff0a !important;
}

.app-shell .composer:focus-within, .direct-shell .composer:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 17px 44px #0000004d,0 0 0 4px rgba(var(--xc-blue-rgb),.09) !important;
  border-color: #3486ff94 !important;
}

.app-shell .message, .direct-shell .dm-messages article {
  transition: .18s var(--xc-ease);
  border: 1px solid #0000;
  border-radius: 13px;
}

.app-shell .message:hover, .direct-shell .dm-messages article:hover {
  background: linear-gradient(90deg,rgba(var(--xc-blue-rgb),.07),#ffffff03);
  border-color: #76acff14;
  transform: translateX(-2px);
}

.app-shell .message.mentioned {
  border-color: #007eff33;
  border-right: 2px solid var(--xc-blue-2);
  background: linear-gradient(90deg,rgba(var(--xc-blue-rgb),.15),transparent);
}

.reaction-list button, .message-attachment {
  border: 1px solid var(--xc-stroke) !important;
  background: #0b1627b3 !important;
  border-radius: 10px !important;
}

.reaction-list button.mine {
  color: #fff;
  background: rgba(var(--xc-blue-rgb),.18) !important;
  border-color: #3486ff99 !important;
}

:is(.context-menu, .server-dropdown, .notification-popover, .search-results, .search-filter-menu > section) {
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  overflow: hidden;
  border: 1px solid var(--xc-stroke-strong) !important;
  background: linear-gradient(145deg, #0b1423f7, #03070dfa) !important;
  border-radius: 14px !important;
  box-shadow: 0 28px 80px #00000094, inset 0 1px #ffffff0a !important;
}

:is(.context-menu, .server-dropdown) button, .search-results > button, .notification-popover a {
  background: none !important;
  border: 1px solid #0000 !important;
  border-radius: 9px !important;
}

:is(.context-menu, .server-dropdown) button:hover, .search-results > button:hover, .notification-popover a:hover {
  color: #fff;
  border-color: var(--xc-stroke) !important;
  background: linear-gradient(90deg,rgba(var(--xc-blue-rgb),.17),rgba(var(--xc-blue-rgb),.035)) !important;
}

.notification-popover a.unread {
  border-right: 2px solid var(--xc-blue-2) !important;
  background: rgba(var(--xc-blue-rgb),.1) !important;
}

.app-shell .user-dock, .direct-shell .user-dock, .app-shell .voice-dock {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--xc-stroke) !important;
  background: linear-gradient(145deg, #0c1727e0, #03080fe6) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 34px #00000047, inset 0 1px #ffffff09 !important;
}

.app-shell .voice-dock {
  border-color: #2acd9333 !important;
}

.app-shell .voice-dock b {
  color: #54e6aa;
}

.app-shell .voice-stage {
  border: 1px solid var(--xc-stroke) !important;
  background: radial-gradient(circle at 50% 0,rgba(var(--xc-blue-rgb),.09),transparent 36%),#01050ba8 !important;
  border-radius: 18px !important;
}

.app-shell :is(.voice-participant, .stream-tile) {
  border: 1px solid var(--xc-stroke) !important;
  background: radial-gradient(circle at 50% 40%,rgba(var(--xc-blue-rgb),.2),transparent 34%),linear-gradient(145deg,#142239e0,#040911f0) !important;
  border-radius: 18px !important;
}

.app-shell .call-controls {
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border: 1px solid var(--xc-stroke-strong) !important;
  background: #02070ecc !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 60px #00000085 !important;
}

.settings-backdrop {
  --line: var(--xc-stroke);
  --line-strong: var(--xc-stroke-strong);
  --text: var(--xc-text);
  --muted: var(--xc-muted);
  --brand: var(--xc-blue);
  --brand-2: var(--xc-blue-2);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  background: radial-gradient(circle at 72% -10%,rgba(var(--xc-blue-rgb),.2),transparent 42%),#000308db !important;
}

.settings-window {
  overflow: hidden;
  border: 1px solid var(--xc-stroke-strong) !important;
  background: linear-gradient(145deg, #0c1524f7, #03070dfa) !important;
  border-radius: 26px !important;
  box-shadow: 0 48px 130px #000000ad, inset 0 1px #ffffff0a !important;
}

.settings-window > aside {
  border-color: var(--xc-stroke) !important;
  background: linear-gradient(#060c16fa, #02050afa) !important;
}

.settings-window > main {
  background: radial-gradient(circle at 96% -8%,rgba(var(--xc-blue-rgb),.11),transparent 35%),#070c15cc !important;
}

.settings-window > main > header {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-color: var(--xc-stroke) !important;
  background: #050a12b3 !important;
}

.settings-window > aside > header i {
  border: 1px solid #ffffff2b;
  background: linear-gradient(135deg,var(--xc-blue),var(--xc-blue-2)) !important;
  box-shadow: var(--xc-shadow-blue) !important;
  border-radius: 12px !important;
}

.settings-window > aside nav button {
  color: var(--xc-muted) !important;
  background: none !important;
  border: 1px solid #0000 !important;
  border-radius: 11px !important;
}

.settings-window > aside nav button:hover {
  border-color: var(--xc-stroke) !important;
  background: rgba(var(--xc-blue-rgb),.08) !important;
  color: #dceaff !important;
}

.settings-window > aside nav button.active {
  background: linear-gradient(90deg,rgba(var(--xc-blue-rgb),.25),rgba(var(--xc-blue-rgb),.05)) !important;
  box-shadow: inset 3px 0 var(--xc-cyan),0 10px 28px #00000024 !important;
  color: #fff !important;
  border-color: #4793ff47 !important;
}

.settings-form > div:not(.save-bar):not(.profile-preview):not(.theme-grid):not(.choice-grid):not(.chip-list):not(.role-list):not(.permission-list):not(.nitro-plan-grid):not(.nitro-benefits):not(.boost-level-grid):not(.boost-progress):not(.boost-status), .settings-form :is(.field-label, .range-field, .file-choice, .member-role, .permission-list > div, .role-list > div, .security-card, .session-list article, .community-grid > section, .nitro-purchase, .billing-history, .boost-status) {
  border: 1px solid var(--xc-stroke) !important;
  border-radius: var(--xc-radius-md) !important;
  background: linear-gradient(145deg, #0f1b2eb8, #040911c7) !important;
  box-shadow: inset 0 1px #ffffff06, 0 12px 34px #00000021 !important;
}

.settings-form :is(.field-label, .range-field, .file-choice, .member-role, .permission-list > div, .role-list > div):hover {
  transform: translateY(-1px);
  border-color: var(--xc-stroke-strong) !important;
  background: linear-gradient(145deg, #152742bf, #060d18d1) !important;
}

.choice-grid button, .chip-list button, .role-choice button, .invite-options button, .search-filter-menu button {
  border: 1px solid var(--xc-stroke) !important;
  color: var(--xc-muted) !important;
  background: #08111ebd !important;
  border-radius: 10px !important;
}

.choice-grid button:hover, .chip-list button:hover, .role-choice button:hover, .choice-grid button.selected, .chip-list button.selected, .role-choice button.selected, .search-filter-menu button.active {
  background: rgba(var(--xc-blue-rgb),.17) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(var(--xc-blue-rgb),.08) !important;
  border-color: #408fff6b !important;
}

.toggle-row {
  border: 1px solid var(--xc-stroke) !important;
  border-radius: var(--xc-radius-md) !important;
  background: linear-gradient(145deg, #0f1b2eb8, #040911c7) !important;
}

.toggle-row > i, .mini-switch {
  background: #111c2d !important;
  border: 1px solid #80b4ff2b !important;
  width: 46px !important;
  height: 26px !important;
  padding: 4px !important;
  box-shadow: inset 0 2px 5px #00000052 !important;
}

.toggle-row > i em, .mini-switch i {
  box-shadow: 0 3px 8px #0000005c;
  background: #7c8ba2 !important;
  width: 16px !important;
  height: 16px !important;
}

.toggle-row > i.active, .mini-switch.active {
  background: linear-gradient(135deg,var(--xc-blue),var(--xc-blue-2)) !important;
  box-shadow: 0 0 0 4px rgba(var(--xc-blue-rgb),.1),0 7px 20px rgba(var(--xc-blue-rgb),.24) !important;
  border-color: #5097ff8c !important;
}

.toggle-row > i.active em, .mini-switch.active i {
  background: #fff !important;
  transform: translateX(20px) !important;
}

.tri-state {
  overflow: hidden;
  border: 1px solid var(--xc-stroke) !important;
  background: #00050c80 !important;
  border-radius: 10px !important;
}

.tri-state button {
  color: var(--xc-muted) !important;
  background: none !important;
  border-radius: 8px !important;
}

.tri-state .deny.active {
  color: #ff8ca0 !important;
  background: #ff4f7033 !important;
}

.tri-state .inherit.active {
  color: #d6deeb !important;
  background: #8b9ebe26 !important;
}

.tri-state .allow.active {
  color: #5ee6ad !important;
  background: #37d9942e !important;
}

.modern-theme-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.modern-theme-grid .theme-card {
  text-align: left;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  min-height: 112px;
  padding: 13px;
  display: grid;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--xc-stroke) !important;
  background: #07101d !important;
  border-radius: 15px !important;
}

.modern-theme-grid .theme-card > span {
  background: linear-gradient(145deg, #02050a, #09234c);
  border-radius: 10px;
  grid-column: 1 / -1;
  align-items: flex-end;
  gap: 5px;
  height: 58px;
  padding: 8px;
  display: flex;
}

.modern-theme-grid .theme-card > span i {
  background: #0060ff42;
  border: 1px solid #ffffff1f;
  border-radius: 5px;
  width: 22%;
  height: 70%;
  display: block;
}

.modern-theme-grid .theme-card > span i:nth-child(2) {
  background: #0a1b31e6;
  width: 52%;
  height: 100%;
}

.modern-theme-grid .theme-card > span i:nth-child(3) {
  background: #008cff33;
  height: 58%;
}

.modern-theme-grid .theme-card.cobalt > span {
  background: linear-gradient(145deg, #010713, #0044a6);
}

.modern-theme-grid .theme-card.arctic > span {
  background: linear-gradient(145deg, #08111e, #357bc0);
}

.modern-theme-grid .theme-card.obsidian > span {
  background: linear-gradient(145deg, #000, #111820);
}

.modern-theme-grid .theme-card b {
  font-size: 12px;
}

.modern-theme-grid .theme-card small {
  font-size: 9px;
}

.modern-theme-grid .theme-card:hover {
  transform: translateY(-2px);
  border-color: var(--xc-stroke-strong) !important;
}

.modern-theme-grid .theme-card.selected {
  border-color: var(--xc-blue) !important;
  box-shadow: 0 0 0 3px rgba(var(--xc-blue-rgb),.13),0 16px 38px #0003 !important;
}

.custom-color-palette {
  border: 1px solid var(--xc-stroke) !important;
  background: #02070e99 !important;
  border-radius: 14px !important;
}

.custom-color-palette button {
  border: 2px solid #0000 !important;
  border-radius: 9px !important;
  box-shadow: inset 0 0 0 1px #ffffff26, 0 5px 14px #0003 !important;
}

.custom-color-palette button:hover {
  transform: translateY(-3px)scale(1.04);
}

.custom-color-palette button.selected {
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--swatch) 42%,transparent),0 0 24px color-mix(in srgb,var(--swatch) 42%,transparent) !important;
  border-color: #fff !important;
}

.profile-banner, .nitro-hero, .boost-hero {
  background: radial-gradient(circle at 90% 0,#00c8ff2e,transparent 35%),linear-gradient(135deg,#003ea8,var(--xc-blue) 52%,#009cff) !important;
}

.app-shell .avatar, .direct-shell .avatar, .settings-window .avatar {
  background: linear-gradient(135deg,var(--xc-blue),var(--xc-blue-2));
  border: 1px solid #ffffff1f;
  box-shadow: 0 7px 20px #0000004d,0 0 0 2px rgba(var(--xc-blue-rgb),.08) !important;
}

.app-shell ::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.direct-shell ::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.settings-backdrop ::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.app-shell ::-webkit-scrollbar-track {
  background: none;
}

.direct-shell ::-webkit-scrollbar-track {
  background: none;
}

.settings-backdrop ::-webkit-scrollbar-track {
  background: none;
}

.app-shell ::-webkit-scrollbar-thumb {
  background: #4284e86b padding-box padding-box;
  border: 2px solid #0000;
  border-radius: 99px;
}

.direct-shell ::-webkit-scrollbar-thumb {
  background: #4284e86b padding-box padding-box;
  border: 2px solid #0000;
  border-radius: 99px;
}

.settings-backdrop ::-webkit-scrollbar-thumb {
  background: #4284e86b padding-box padding-box;
  border: 2px solid #0000;
  border-radius: 99px;
}

.app-shell .skeleton-block, .direct-shell .skeleton-block, .settings-backdrop .skeleton-block {
  background: linear-gradient(100deg, #132034b3 25%, #223f67bd 42%, #132034b3 60%) 0 0 / 220% 100% !important;
  animation: 1.4s linear infinite xc-shimmer !important;
}

@keyframes xc-shimmer {
  to {
    background-position: -220% 0;
  }
}

@media (max-width: 820px) {
  .app-shell, .direct-shell {
    gap: 5px;
    padding: 5px;
  }

  .app-shell :is(.server-rail, .channel-sidebar, .member-sidebar, .content-column), .direct-shell :is(.server-rail, .direct-sidebar, .direct-content, .activity-sidebar) {
    border-radius: 16px !important;
  }

  .app-shell .channel-header, .direct-shell .friends-header {
    margin: 4px 4px 0;
    border-radius: 12px !important;
  }
}

@media (max-width: 700px) {
  .app-shell, .direct-shell {
    padding: max(4px,env(safe-area-inset-top)) max(4px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));
  }

  .settings-window {
    border: 0 !important;
    border-radius: 0 !important;
  }

  .settings-window > aside nav {
    scrollbar-width: none;
    background: #02070ee0;
  }

  .settings-window > aside nav button {
    min-width: 48px;
  }

  .modern-theme-grid {
    grid-template-columns: 1fr !important;
  }

  .notification-popover, .search-results {
    width: calc(100vw - 16px);
    top: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-shell:after, .direct-shell:after {
    animation: none;
  }
}

.voice-control-settings {
  border: 1px solid var(--xc-stroke);
  border-radius: var(--xc-radius-md);
  background: linear-gradient(145deg, #0b192cc7, #030911d1);
  gap: 10px;
  padding: 16px;
  display: grid;
}

.voice-control-settings > header {
  border-bottom: 1px solid var(--xc-stroke);
  align-items: center;
  gap: 11px;
  padding-bottom: 11px;
  display: flex;
}

.voice-control-settings > header > i {
  background: rgba(var(--xc-blue-rgb),.15);
  width: 38px;
  height: 38px;
  color: var(--xc-cyan);
  border-radius: 11px;
  place-items: center;
  display: grid;
}

.voice-control-settings > header > span {
  gap: 3px;
  display: grid;
}

.voice-control-settings > header small {
  color: var(--xc-muted);
}

.input-mode-choice {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  display: grid;
}

.input-mode-choice > button {
  border: 1px solid var(--xc-stroke);
  min-height: 72px;
  color: var(--xc-muted);
  text-align: left;
  background: #02081094;
  border-radius: 12px;
  align-items: center;
  gap: 11px;
  padding: 12px;
  display: flex;
}

.input-mode-choice > button > i {
  background: #ffffff0a;
  border-radius: 10px;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.input-mode-choice > button > span {
  gap: 3px;
  display: grid;
}

.input-mode-choice > button small {
  color: var(--xc-muted);
}

.input-mode-choice > button:hover, .input-mode-choice > button.selected {
  background: rgba(var(--xc-blue-rgb),.15);
  color: #fff;
  box-shadow: 0 10px 28px rgba(var(--xc-blue-rgb),.09);
  border-color: #3d8fff70;
}

.input-mode-choice > button.selected > i {
  background: linear-gradient(135deg,var(--xc-blue),var(--xc-blue-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(var(--xc-blue-rgb),.25);
}

.keybind-row {
  border: 1px solid var(--xc-stroke);
  background: #0208108f;
  border-radius: 12px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  display: grid;
}

.keybind-row > i {
  background: rgba(var(--xc-blue-rgb),.1);
  color: #75b5ff;
  border-radius: 10px;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.keybind-row > span {
  gap: 3px;
  display: grid;
}

.keybind-row > span small {
  color: var(--xc-muted);
}

.keybind-row > button {
  border: 1px solid var(--xc-stroke-strong);
  color: #fff;
  background: #00050ccc;
  border-radius: 10px;
  min-width: 120px;
  min-height: 40px;
  padding: 6px 10px;
}

.keybind-row kbd {
  letter-spacing: .03em;
  font: 600 11px / 1 Inter, sans-serif;
}

.keybind-row.recording {
  box-shadow: 0 0 0 4px rgba(var(--xc-blue-rgb),.1);
  border-color: #3d8fff99;
}

.keybind-row.recording > button {
  border-color: var(--xc-blue);
  background: rgba(var(--xc-blue-rgb),.18);
  color: var(--xc-cyan);
  animation: 1s ease-in-out infinite keybind-pulse;
}

@keyframes keybind-pulse {
  50% {
    box-shadow: 0 0 22px rgba(var(--xc-blue-rgb),.3);
  }
}

.sound-effects-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 9px;
  display: grid;
}

.sound-effects-row .toggle-row {
  margin: 0;
}

.sound-preview-button {
  border: 1px solid var(--xc-stroke);
  background: rgba(var(--xc-blue-rgb),.1);
  color: #a7ceff;
  border-radius: 12px;
  min-width: 145px;
  padding: 0 14px;
}

.sound-preview-button:hover {
  background: rgba(var(--xc-blue-rgb),.18);
  color: #fff;
  border-color: #3d8fff70;
  transform: translateY(-1px);
}

.voice-dock header > div em {
  background: rgba(var(--xc-blue-rgb),.09);
  color: #83bdff;
  border: 1px solid #5b9eff33;
  border-radius: 99px;
  align-items: center;
  gap: 5px;
  width: max-content;
  margin-top: 4px;
  padding: 3px 7px;
  font-size: 8px;
  font-style: normal;
  display: flex;
}

.voice-dock header > div em.ptt-live {
  color: #5ee6ad;
  background: #37d9941a;
  border-color: #37d9944d;
  box-shadow: 0 0 16px #37d9941f;
}

.ptt-hold-button {
  touch-action: none;
}

.ptt-hold-button.transmitting {
  animation: .8s ease-in-out infinite alternate ptt-transmit;
  color: #5ee6ad !important;
  text-shadow: 0 0 16px #37d994bf !important;
}

@keyframes ptt-transmit {
  to {
    transform: translateY(-2px)scale(1.08);
  }
}

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

  .keybind-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .keybind-row > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .sound-effects-row {
    grid-template-columns: 1fr;
  }

  .sound-preview-button {
    min-height: 42px;
  }
}

.app-shell, .direct-shell, .settings-backdrop, .settings-window, .auth-modern {
  text-align: left;
  direction: ltr;
}

.app-shell > *, .direct-shell > *, .settings-window > aside, .settings-window > main, .settings-scroll, .settings-form, .auth-modern > * {
  direction: ltr;
}

.app-shell :is(.channel-sidebar, .content-column, .member-sidebar, .message, .channel-header, .voice-dock, .user-dock, .profile-popout, .context-menu, .server-dropdown, .notification-popover, .search-results), .direct-shell :is(.direct-sidebar, .direct-content, .activity-sidebar, .friend-row, .message, .user-dock, .context-menu, .notification-popover), .settings-window :is(header, nav, form, label, section, article, button, input, textarea, select) {
  text-align: left;
}

.auth-modern {
  font-family: Inter, Vazirmatn, system-ui, sans-serif;
}

.settings-backdrop {
  padding: clamp(10px, 2vw, 24px);
}

.settings-window {
  grid-template-columns: 248px minmax(0, 1fr);
  width: min(1240px, 100vw - 32px);
  height: min(860px, 100dvh - 32px);
}

.settings-window > aside {
  align-items: stretch;
  padding: 24px 14px;
  border: 0 !important;
  border-right: 1px solid var(--xc-stroke) !important;
}

.settings-window > aside > header {
  justify-content: flex-start;
  gap: 11px;
  min-height: 58px;
  padding: 0 10px 20px;
}

.settings-window > aside > header i {
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
}

.settings-window > aside nav {
  width: 100%;
  min-height: 0;
  padding-top: 12px;
  overflow-y: auto;
}

.workspace-settings-window > aside nav {
  padding-top: 0;
}

.settings-window > aside nav button {
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  text-align: left !important;
  padding: 10px 12px !important;
}

.settings-window > aside nav button i {
  text-align: center;
  flex: 0 0 20px;
  width: 20px;
}

.settings-window > main > header {
  height: 78px;
  min-height: 78px;
  padding: 14px clamp(20px, 4vw, 48px);
}

.settings-window > main > header > div {
  min-width: 0;
}

.settings-window > main > header h2 {
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 4px 0 0;
  overflow: hidden;
}

.settings-window > main > header > button {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin-left: 20px;
  font-size: 18px;
  position: relative;
}

.settings-window > main > header > button span {
  color: var(--xc-muted);
  letter-spacing: .08em;
  margin: 0;
  font-size: 7px;
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
}

.settings-scroll {
  scrollbar-gutter: stable;
  padding: 28px clamp(20px, 4vw, 48px) 72px;
}

.settings-form {
  width: min(900px, 100%);
  margin-inline: auto;
  gap: 16px !important;
}

.section-title, .advanced-title {
  text-align: left;
  width: 100%;
  padding: 2px 0 17px;
}

.section-title h3, .advanced-title h3 {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.25;
}

.section-title h3 {
  align-items: center;
  gap: 9px;
  display: flex;
}

.section-title h3 > i {
  color: var(--xc-blue-2);
  filter: drop-shadow(0 0 8px rgba(var(--xc-blue-rgb),.48));
  font-size: .85em;
}

.section-title p, .advanced-title p {
  color: var(--xc-muted);
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.advanced-title {
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  display: grid;
}

.advanced-title > i {
  background: rgba(var(--xc-blue-rgb),.13);
  width: 40px;
  height: 40px;
  color: var(--xc-cyan);
  border-radius: 12px;
  place-items: center;
  font-size: 18px;
  display: grid;
}

.advanced-title > div, .advanced-title > span {
  min-width: 0;
}

.settings-form .field-label, .settings-form .range-field {
  color: #dce7f7;
  gap: 9px;
  min-width: 0;
  padding: 14px 16px;
  font-size: 11px;
  line-height: 1.35;
}

.settings-form .field-label :is(input, textarea, select) {
  text-align: left;
  direction: ltr;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  font: 500 13px / 1.4 Inter, Vazirmatn, system-ui, sans-serif;
}

.settings-form .field-label textarea {
  min-height: 110px;
  padding-block: 11px;
  line-height: 1.6;
}

.settings-form .range-field > span {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.settings-form .range-field > span b {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.settings-form .range-field input[type="range"] {
  width: 100%;
  margin: 4px 0;
}

.settings-form .toggle-row {
  gap: 18px;
  min-height: 68px;
  padding: 14px 16px;
  text-align: left !important;
}

.settings-form .toggle-row > span {
  flex: 1;
  min-width: 0;
}

.settings-form .toggle-row span b {
  font-size: 13px;
  line-height: 1.35;
}

.settings-form .toggle-row span small {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.45;
}

.settings-form .toggle-row > i {
  flex: 0 0 46px;
}

.settings-form .mic-test {
  grid-template-columns: minmax(120px, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 14px 16px;
  display: grid !important;
}

.settings-form .mic-test > span {
  grid-area: 1 / 1;
  width: 100%;
}

.settings-form .mic-test > button {
  white-space: nowrap;
  grid-area: 1 / 2;
  min-height: 42px;
}

.settings-form > div:not(.save-bar):not(.profile-preview):not(.theme-grid):not(.choice-grid):not(.chip-list):not(.role-list):not(.permission-list):not(.nitro-plan-grid):not(.nitro-benefits):not(.boost-level-grid):not(.boost-progress):not(.boost-status) {
  min-width: 0;
}

.settings-form .choice-grid {
  flex-wrap: wrap;
  justify-content: flex-start;
  display: flex;
}

.settings-form .choice-grid button {
  justify-content: center;
  min-height: 40px;
}

.settings-form .file-choice {
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 14px;
}

.settings-form .file-choice span {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.profile-avatar {
  aspect-ratio: 1;
  left: 25px;
  right: auto;
  overflow: hidden;
  border-radius: 50% !important;
}

.profile-avatar img, .settings-window .avatar img {
  object-fit: cover;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.profile-preview > div:last-child {
  text-align: left;
  min-width: 0;
}

.profile-preview :is(h3, p, small) {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}

.save-bar {
  z-index: 8;
  justify-content: flex-end;
  gap: 14px;
  padding: 10px 12px;
}

.save-bar > span {
  overflow-wrap: anywhere;
  min-width: 0;
  margin-right: auto;
}

.save-bar .primary-button {
  min-width: 128px;
  min-height: 42px;
}

.voice-control-settings, .keybind-row, .input-mode-choice > button {
  text-align: left;
}

.keybind-row > span, .voice-control-settings > header > span {
  min-width: 0;
}

.settings-window :is(input, textarea, select, button) {
  font-family: Inter, Vazirmatn, system-ui, sans-serif;
}

.app-shell :is(.channel-link, .member-row, .channel-header, .message, .message-content, .voice-dock, .user-dock, .profile-popout, .context-menu button, .server-dropdown button), .direct-shell :is(.direct-nav, .direct-list > button, .friend-row, .member-row, .message, .direct-content, .activity-sidebar, .user-dock, .context-menu button) {
  text-align: left;
}

.app-shell :is(.channel-link, .member-row, .message, .user-dock) > *, .direct-shell :is(.direct-nav, .direct-list > button, .friend-row, .member-row, .message, .user-dock) > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .settings-window {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .settings-window > aside {
    padding-inline: 10px;
  }

  .settings-window > main > header, .settings-scroll {
    padding-inline: 20px;
  }
}

@media (max-width: 700px) {
  .settings-backdrop {
    padding: 0;
  }

  .settings-window {
    width: 100vw;
    height: 100dvh;
  }

  .settings-window > aside {
    width: 100%;
    padding: 7px max(8px,env(safe-area-inset-right)) max(7px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));
    order: 2;
    border: 0 !important;
    border-top: 1px solid var(--xc-stroke) !important;
    background: #02070ef5 !important;
  }

  .settings-window > aside nav {
    scroll-snap-type: x proximity;
    gap: 4px;
    padding: 0;
    display: flex;
    overflow: auto hidden;
  }

  .settings-window > aside nav button, .settings-window > aside nav button:not(.active) {
    scroll-snap-align: center;
    flex-direction: column;
    flex: 1 0 52px;
    justify-content: center;
    gap: 4px;
    width: auto;
    min-width: 52px;
    min-height: 46px;
    padding: 5px !important;
    font-size: 0 !important;
  }

  .settings-window > aside nav button i {
    width: auto;
    font-size: 15px !important;
  }

  .settings-window > main {
    order: 1;
  }

  .settings-window > main > header {
    height: 62px;
    min-height: 62px;
    padding: max(8px,env(safe-area-inset-top)) 14px 8px;
  }

  .settings-window > main > header > button {
    margin-left: 10px;
  }

  .settings-scroll {
    padding: 16px 12px 28px;
  }

  .settings-form {
    gap: 12px !important;
  }

  .advanced-title {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 13px;
  }

  .advanced-title > i {
    border-radius: 10px;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .section-title h3, .advanced-title h3 {
    font-size: 17px;
  }

  .settings-form .field-label, .settings-form .range-field, .settings-form .toggle-row, .settings-form .mic-test, .voice-control-settings {
    padding: 13px;
    border-radius: 14px !important;
  }

  .settings-form .mic-test {
    grid-template-columns: 1fr;
  }

  .settings-form .mic-test > span, .settings-form .mic-test > button {
    grid-area: auto / 1;
  }

  .settings-form .mic-test > button {
    width: 100%;
  }

  .save-bar {
    flex-wrap: wrap;
    margin: 0;
  }

  .save-bar > span:empty {
    display: none;
  }

  .save-bar .primary-button {
    width: 100%;
  }

  .profile-avatar {
    left: 14px;
  }
}

@media (max-width: 420px) {
  .settings-window > main > header h2 {
    font-size: 15px;
  }

  .settings-form .toggle-row {
    align-items: flex-start;
  }

  .settings-form .choice-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .settings-form .choice-grid button, .settings-form .file-choice {
    width: 100%;
  }

  .keybind-row {
    grid-template-columns: 32px minmax(0, 1fr);
  }
}

.app-shell .channel-sidebar {
  z-index: 25;
  position: relative;
  overflow: visible !important;
}

.user-dock-area {
  z-index: 90;
  width: 100%;
  margin-top: auto;
  padding: 6px;
  position: relative;
}

.voice-dock + .user-dock-area {
  margin-top: 0;
}

.user-dock-area .user-dock {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 6px;
  display: grid;
  background: linear-gradient(110deg,rgba(var(--xc-blue-rgb),.27),#0b1a33e6) !important;
  border-radius: 13px !important;
  box-shadow: 0 12px 30px #00000047, inset 0 1px #ffffff0d !important;
}

.user-dock-area .user-dock.profile-open {
  box-shadow: 0 0 0 3px rgba(var(--xc-blue-rgb),.1),0 14px 36px #00000052 !important;
  border-color: #4b97ff66 !important;
}

.user-summary-button {
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 44px;
  display: grid;
  width: auto !important;
  box-shadow: none !important;
  color: #fff !important;
  text-align: left !important;
  background: none !important;
  border: 0 !important;
  border-radius: 9px !important;
  flex: 1 1 0 !important;
  padding: 3px 5px !important;
}

.user-summary-button:hover {
  background: #ffffff0e !important;
}

.user-summary-button > .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50% !important;
}

.user-summary-button > span:last-child {
  min-width: 0;
}

.user-summary-button b, .user-summary-button small {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.user-summary-button b {
  color: #fff;
  font-size: 12px;
}

.user-summary-button small {
  color: #9fb3d1;
  margin-top: 3px;
  font-size: 9px;
}

.user-summary-button small i {
  color: #4cdda1;
  margin-right: 5px;
  font-size: 8px;
}

.user-dock-controls {
  align-items: center;
  gap: 1px;
  min-width: max-content;
  display: flex;
  flex: none !important;
}

.user-dock-controls > button, .user-dock-controls > .notification-center > button {
  font-size: 13px;
  width: 32px !important;
  height: 36px !important;
  box-shadow: none !important;
  color: #d6e3f5 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  place-items: center !important;
  padding: 0 !important;
  display: grid !important;
}

.user-dock-controls > button:hover, .user-dock-controls > .notification-center > button:hover {
  text-shadow: 0 0 14px #4699ffb3;
  color: #fff !important;
  background: #ffffff14 !important;
}

.user-dock-controls > button.control-active {
  color: #ff8096 !important;
  background: #ff50701a !important;
}

.channel-sidebar .user-dock, .direct-sidebar .user-dock {
  gap: 4px !important;
}

.channel-sidebar .user-summary-button, .direct-sidebar .user-summary-button {
  min-width: 0 !important;
}

.channel-sidebar .user-summary-button b, .channel-sidebar .user-summary-button small, .direct-sidebar .user-summary-button b, .direct-sidebar .user-summary-button small {
  max-width: 100%;
}

.channel-sidebar .user-dock-controls > button, .direct-sidebar .user-dock-controls > button {
  width: 28px !important;
  min-width: 28px !important;
}

@media (min-width: 1161px) {
  .app-shell.members-collapsed {
    grid-template-columns: var(--rail-width) var(--sidebar-width) minmax(0,1fr) !important;
  }

  .app-shell.members-collapsed .member-sidebar {
    display: none !important;
  }
}

.avatar .presence-dot {
  box-sizing: border-box;
  background: #4b5568;
  border: 3px solid #08111f;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  display: block;
  position: absolute;
  bottom: -1px;
  right: -1px;
}

.avatar .presence-dot.online {
  background: #42d392;
}

.avatar .presence-dot.idle {
  background: #f2b84b;
}

.avatar .presence-dot.busy {
  background: #f04f67;
}

.avatar .presence-dot.invisible {
  background: #697487;
  box-shadow: inset 0 0 0 2px #08111f;
}

.self-profile-popover {
  color: #f5f8ff;
  -webkit-backdrop-filter: blur(28px) saturate(145%);
  backdrop-filter: blur(28px) saturate(145%);
  width: 310px;
  max-width: calc(100vw - 24px);
  animation: self-profile-in .18s var(--xc-ease) both;
  background: linear-gradient(155deg, #111d30fa, #050a12fc);
  border: 1px solid #76a7ff33;
  border-radius: 18px;
  padding: 0 10px 10px;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 6px;
  overflow: visible;
  box-shadow: 0 30px 90px #000000ad, inset 0 1px #ffffff0b;
}

@keyframes self-profile-in {
  from {
    opacity: 0;
    transform: translateY(8px)scale(.98);
  }
}

.self-profile-banner {
  background: radial-gradient(circle at 82% 20%, #63c2ff59, #0000 24%), radial-gradient(circle at 16% 115%, #0060ff9e, #0000 42%), linear-gradient(135deg, #10233f, #0b4ba8 58%, #06101f);
  border-radius: 17px 17px 0 0;
  height: 94px;
  margin: 0 -10px;
}

.self-profile-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  min-height: 44px;
  display: flex;
  position: relative;
}

.self-profile-avatar {
  background: #0c203b;
  margin: -40px 0 0 3px;
  font-size: 23px;
  border: 6px solid #0b1423 !important;
  border-radius: 50% !important;
  width: 76px !important;
  height: 76px !important;
  box-shadow: 0 12px 30px #00000061 !important;
}

.self-profile-avatar .presence-dot {
  border-width: 4px;
  border-color: #0b1423;
  width: 18px;
  height: 18px;
  bottom: 1px;
  right: 0;
}

.custom-status-prompt {
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  max-width: 180px;
  min-height: 48px;
  margin-top: -8px;
  font-size: 11px;
  font-style: italic;
  line-height: 1.45;
  display: flex;
  color: #aebbd0 !important;
  text-align: left !important;
  background: #26354ce0 !important;
  border: 1px solid #ffffff0f !important;
  border-radius: 13px !important;
  padding: 10px 11px !important;
  box-shadow: 0 8px 24px #00000038 !important;
}

.custom-status-prompt i {
  color: #a9bad3;
  margin-top: 2px;
}

.custom-status-prompt span {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.custom-status-prompt:hover {
  color: #fff !important;
  background: #2d4262f0 !important;
  border-color: #5497ff47 !important;
}

.self-profile-identity {
  padding: 4px 6px 8px;
}

.self-profile-identity h3, .self-profile-identity p {
  margin: 0;
}

.self-profile-identity h3 {
  align-items: center;
  gap: 7px;
  font-size: 19px;
  line-height: 1.25;
  display: flex;
}

.self-profile-identity h3 i {
  color: #ff70d0;
  filter: drop-shadow(0 0 7px #ff4dcb80);
  font-size: 11px;
}

.self-profile-identity p {
  color: #b2bfd2;
  margin-top: 4px;
  font-size: 11px;
}

.self-profile-menu {
  background: linear-gradient(145deg, #222f44b3, #161e2dc2);
  border: 1px solid #ffffff0b;
  border-radius: 13px;
  margin-top: 8px;
  padding: 5px 8px;
  display: grid;
  box-shadow: inset 0 1px #ffffff06;
}

.self-profile-menu hr {
  border: 0;
  border-top: 1px solid #ffffff13;
  width: calc(100% - 12px);
  margin: 3px 6px;
}

.self-profile-menu button {
  grid-template-columns: 20px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 12px;
  display: grid;
  box-shadow: none !important;
  color: #cbd5e4 !important;
  text-align: left !important;
  background: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 8px !important;
}

.self-profile-menu button:hover {
  background: rgba(var(--xc-blue-rgb),.14) !important;
  color: #fff !important;
}

.self-profile-menu button > i:first-child {
  color: #a9b7ca;
  text-align: center;
  width: 20px;
}

.self-profile-menu button > i:last-child {
  color: #7d8ba1;
  text-align: center;
  font-size: 10px;
}

.self-profile-menu button .copied-check {
  color: #4cdda1 !important;
}

.self-profile-error {
  color: #ff9aaa;
  background: #f04f671a;
  border-radius: 9px;
  align-items: flex-start;
  gap: 7px;
  margin: 8px 2px 0;
  padding: 8px 10px;
  font-size: 10px;
  line-height: 1.45;
  display: flex;
}

.self-profile-error i {
  margin-top: 2px;
}

.presence-online {
  color: #42d392 !important;
}

.presence-idle {
  color: #f2b84b !important;
}

.presence-busy {
  color: #f04f67 !important;
}

.presence-invisible {
  color: #758195 !important;
}

.presence-submenu {
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  width: 300px;
  animation: self-profile-in .15s var(--xc-ease) both;
  background: #0c1422fa;
  border: 1px solid #76a7ff33;
  border-radius: 14px;
  gap: 3px;
  padding: 8px;
  display: grid;
  position: absolute;
  bottom: 74px;
  left: calc(100% + 9px);
  box-shadow: 0 24px 70px #0000009e, inset 0 1px #ffffff0a;
}

.presence-submenu button {
  grid-template-columns: 20px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  display: grid;
  box-shadow: none !important;
  color: #d7e0ed !important;
  text-align: left !important;
  background: none !important;
  border: 0 !important;
  border-radius: 9px !important;
  padding: 8px 10px !important;
}

.presence-submenu button:hover, .presence-submenu button.selected {
  background: rgba(var(--xc-blue-rgb),.14) !important;
}

.presence-submenu button > span {
  min-width: 0;
}

.presence-submenu b, .presence-submenu small {
  display: block;
}

.presence-submenu b {
  font-size: 12px;
}

.presence-submenu small {
  color: #8796ac;
  margin-top: 3px;
  font-size: 9px;
  line-height: 1.35;
}

.presence-submenu button > i:last-child {
  color: #61a7ff;
  font-size: 10px;
}

@media (max-width: 1100px) {
  .presence-submenu {
    bottom: calc(100% + 8px);
    left: auto;
    right: 0;
  }
}

@media (max-width: 700px) {
  .user-dock-area {
    padding: 5px;
  }

  .self-profile-popover {
    width: auto;
    max-height: calc(100dvh - 84px);
    position: fixed;
    bottom: 72px;
    left: 8px;
    right: 8px;
    overflow-y: auto;
  }

  .presence-submenu {
    background: #070e19fc;
    border-radius: 17px;
    align-content: end;
    width: 100%;
    min-height: 100%;
    padding: 12px;
    position: absolute;
    inset: 0;
  }
}

@media (max-width: 360px) {
  .user-dock-controls > button {
    width: 29px !important;
  }

  .self-profile-banner {
    height: 82px;
  }

  .custom-status-prompt {
    max-width: 155px;
  }
}

.account-settings-window:has(.profile-studio) {
  width: min(1520px, 100vw - 24px);
}

.settings-scroll:has(.profile-studio) {
  padding: 18px 20px 86px;
}

.profile-studio {
  color: #edf4ff;
  gap: 15px;
  width: 100%;
  max-width: none;
  display: grid;
}

.profile-studio-title {
  border-bottom: 1px solid var(--xc-stroke);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 3px 4px 14px;
  display: flex;
}

.profile-studio-title small {
  color: #65b4ff;
  letter-spacing: .18em;
  font-size: 8px;
  font-weight: 800;
}

.profile-studio-title h3 {
  margin: 5px 0 3px;
  font-size: 19px;
}

.profile-studio-title p {
  color: var(--xc-muted);
  margin: 0;
  font-size: 10px;
}

.profile-studio-title > span {
  border: 1px solid var(--xc-stroke);
  white-space: nowrap;
  border-radius: 99px;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
}

.profile-studio-title .nitro-ready {
  color: #ff8cdd;
  background: #ff42bf14;
  border-color: #ff5bcd47;
}

.profile-studio-title .nitro-free {
  color: #8ea0b8;
}

.profile-studio-grid {
  grid-template-columns: 220px minmax(300px, 380px) minmax(310px, 1fr);
  align-items: start;
  gap: 14px;
  min-width: 0;
  display: grid;
}

.profile-toolbox, .live-profile-preview, .profile-board {
  border: 1px solid var(--xc-stroke);
  background: linear-gradient(150deg, #0f1b2df0, #050a12f5);
  border-radius: 18px;
  min-width: 0;
  box-shadow: 0 18px 48px #0003, inset 0 1px #ffffff09;
}

.profile-toolbox {
  align-content: start;
  max-height: calc(100dvh - 170px);
  padding: 10px;
  display: grid;
  position: sticky;
  top: 0;
  overflow-y: auto;
}

.profile-toolbox > header {
  border-bottom: 1px solid var(--xc-stroke);
  justify-content: space-between;
  align-items: center;
  min-height: 39px;
  padding: 0 3px 9px;
  display: flex;
}

.profile-toolbox > header b {
  font-size: 12px;
}

.profile-toolbox > header i {
  color: #8292aa;
}

.studio-group {
  border-bottom: 1px solid #ffffff0e;
  gap: 8px;
  padding: 12px 1px;
  display: grid;
}

.studio-group > header {
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  display: flex;
}

.studio-group > header b {
  font-size: 10px;
}

.studio-group > header small {
  color: var(--xc-muted);
  font-size: 7px;
}

.nameplate-picker {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  display: grid;
}

.nameplate-option {
  text-transform: capitalize;
  min-height: 38px;
  font-size: 8px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--xc-stroke) !important;
  color: #b7c4d8 !important;
  background: #091321 !important;
  border-radius: 9px !important;
  padding: 0 8px !important;
}

.nameplate-option:before {
  content: "";
  background: var(--plate, transparent);
  filter: blur(8px);
  height: 45px;
  position: absolute;
  inset: auto -15px -24px 35%;
  transform: rotate(-12deg);
}

.nameplate-option.nebula {
  --plate: #7d42ff;
}

.nameplate-option.ocean {
  --plate: #008cff;
}

.nameplate-option.arcade {
  --plate: #ff3d9e;
}

.nameplate-option.selected {
  box-shadow: 0 0 0 3px rgba(var(--xc-blue-rgb),.1) !important;
  color: #fff !important;
  border-color: #4594ffb3 !important;
}

.nameplate-option span, .nameplate-option i {
  z-index: 1;
  position: relative;
}

.nameplate-option > i {
  color: #ff89df;
  font-size: 7px;
  position: absolute;
  top: 6px;
  right: 6px;
}

.avatar-tool-row {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  display: grid;
}

.avatar-upload-tool, .remove-avatar-tool {
  cursor: pointer;
  align-content: center;
  place-items: center;
  gap: 5px;
  min-height: 74px;
  display: grid;
  border: 1px solid var(--xc-stroke) !important;
  color: #aebbd0 !important;
  background: #ffffff06 !important;
  border-radius: 11px !important;
}

.avatar-upload-tool input {
  display: none;
}

.avatar-upload-tool > span {
  background: rgba(var(--xc-blue-rgb),.16);
  color: #78baff;
  border-radius: 50%;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
  overflow: hidden;
}

.avatar-upload-tool img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.avatar-upload-tool small, .remove-avatar-tool span {
  font-size: 8px;
}

.remove-avatar-tool i {
  color: #ff7a92;
}

.remove-avatar-tool:disabled {
  opacity: .42;
}

.mini-style-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  display: grid;
}

.mini-style-grid > button {
  min-height: 36px;
  position: relative;
  border: 1px solid var(--xc-stroke) !important;
  color: #8192ab !important;
  background: #08111e !important;
  border-radius: 9px !important;
}

.mini-style-grid > button:hover, .mini-style-grid > button.selected {
  background: rgba(var(--xc-blue-rgb),.13) !important;
  color: #fff !important;
  border-color: #4594ff8c !important;
}

.mini-style-grid em {
  color: #ff8bdd;
  font-size: 6px;
  position: absolute;
  top: 2px;
  right: 3px;
}

.banner-color-control {
  border: 1px solid var(--xc-stroke);
  background: #08111e;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 5px;
  display: flex;
}

.banner-color-control input {
  border: 0 !important;
  border-radius: 7px !important;
  width: 47px !important;
  height: 31px !important;
  padding: 0 !important;
}

.banner-color-control span {
  color: #b8c5d7;
  flex: 1;
  font: 600 9px / 1 ui-monospace, monospace;
}

.banner-color-control i {
  color: #75869d;
  margin-right: 5px;
}

.style-pair {
  gap: 6px;
  display: grid;
}

.style-pair select {
  border: 1px solid var(--xc-stroke);
  color: #c8d4e5;
  background: #08111e;
  border-radius: 9px;
  width: 100%;
  min-height: 38px;
  padding: 0 8px;
  font-size: 9px;
}

.display-style-picker {
  gap: 5px;
  display: grid;
}

.display-style-picker button {
  min-height: 37px;
  font-size: 11px;
  border: 1px solid var(--xc-stroke) !important;
  color: #c4cfdf !important;
  background: #08111e !important;
  border-radius: 9px !important;
}

.display-style-picker button.gradient {
  color: #0000 !important;
  background-image: linear-gradient(90deg, #fff, #62b5ff, #7e6cff) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.display-style-picker button.neon {
  text-shadow: 0 0 10px #0091ffcc;
  color: #80c7ff !important;
}

.display-style-picker button.selected {
  box-shadow: 0 0 0 3px rgba(var(--xc-blue-rgb),.1) !important;
  border-color: #4996ffa6 !important;
}

.display-style-picker i {
  color: #ff85da;
  margin-left: 7px;
  font-size: 7px;
}

.profile-nitro-upsell {
  justify-content: space-between;
  align-items: center;
  min-height: 55px;
  margin-top: 12px;
  display: flex;
  color: #fff !important;
  background: radial-gradient(circle at 100% 0, #00c4ff29, #0000 40%), linear-gradient(135deg, #5f2ad947, #ff3cbc1a) !important;
  border: 1px solid #ff66da33 !important;
  border-radius: 12px !important;
  padding: 10px !important;
}

.profile-nitro-upsell span {
  text-align: left;
  gap: 3px;
  display: grid;
}

.profile-nitro-upsell small {
  color: #c3cce0;
  font-size: 7px;
}

.profile-nitro-upsell b {
  font-size: 9px;
}

.profile-nitro-upsell > i {
  color: #ff8ddd;
  font-size: 16px;
}

.live-profile-preview {
  max-height: calc(100dvh - 170px);
  position: sticky;
  top: 0;
  overflow: hidden auto;
}

.live-profile-banner {
  background: var(--profile-banner-image),radial-gradient(circle at 82% 15%,#ffffff38,transparent 22%),linear-gradient(135deg,color-mix(in srgb,var(--profile-banner) 55%,#050b16),var(--profile-banner));
  background-position: center;
  background-size: cover, auto, auto;
  height: 135px;
}

.preview-effect {
  pointer-events: none;
  opacity: .48;
  position: absolute;
  inset: 0;
}

.preview-effect.effect-aurora {
  background: radial-gradient(circle at 25% 20%, #46eaff66, #0000 22%), radial-gradient(circle at 75% 35%, #894bff5c, #0000 28%);
  animation: 5s ease-in-out infinite alternate profile-aurora;
}

.preview-effect.effect-grid {
  background-image: linear-gradient(#50a0ff1a 1px, #0000 1px), linear-gradient(90deg, #50a0ff1a 1px, #0000 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(#000, #0000);
  mask-image: linear-gradient(#000, #0000);
}

.preview-effect.effect-rain {
  background-image: linear-gradient(#0000, #00a3ff59, #0000);
  background-size: 3px 90px;
  animation: 2s linear infinite profile-rain;
}

.live-profile-body {
  padding: 0 24px 26px;
  position: relative;
}

.live-profile-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  height: 56px;
  display: flex;
}

.live-profile-avatar {
  margin-top: -48px;
  font-size: 28px;
  border: 7px solid #0a1422 !important;
  border-radius: 50% !important;
  width: 96px !important;
  height: 96px !important;
}

.live-profile-avatar.frame-neon {
  box-shadow: 0 0 0 3px #1693ff, 0 0 25px #008effb3 !important;
}

.live-profile-avatar.frame-holo {
  box-shadow: 0 0 0 3px #ff77d7, 0 0 0 6px #61dcff, 0 0 28px #66c1ff8c !important;
}

.live-profile-avatar.frame-nitro {
  animation: 1.8s ease-in-out infinite alternate nitro-avatar;
  box-shadow: 0 0 0 4px #ff4bc8, 0 0 28px #ff33bcb8 !important;
}

.live-profile-avatar.decoration-orbit:after {
  content: "";
  border: 2px dashed #56b7ff;
  border-radius: 50%;
  animation: 10s linear infinite spin;
  position: absolute;
  inset: -12px;
}

.live-profile-avatar.decoration-crown:after {
  content: "";
  color: #ffd65a;
  filter: drop-shadow(0 0 8px #ffba36);
  font: 900 22px / 1 "Font Awesome 6 Free";
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%)rotate(-8deg);
}

.live-profile-avatar.decoration-pulse:after {
  content: "";
  border: 2px solid #8e72ff;
  border-radius: 50%;
  animation: 1.6s ease-out infinite avatar-pulse;
  position: absolute;
  inset: -7px;
}

.live-custom-status {
  background: #121f32eb;
  border: 1px solid #ffffff14;
  border-radius: 12px;
  align-items: center;
  gap: 6px;
  max-width: 170px;
  min-height: 39px;
  margin-top: -12px;
  padding: 7px 9px;
  display: flex;
  box-shadow: 0 8px 20px #0000003d;
}

.live-custom-status i {
  color: #9badc4;
  font-size: 10px;
}

.live-custom-status input {
  color: #c5d0df;
  outline: 0;
  width: 100%;
  min-width: 0;
  font-size: 9px;
  font-style: italic;
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
}

.live-name {
  gap: 4px;
  margin-top: 4px;
  display: grid;
}

.live-name > span, .preview-field > span {
  color: #8190a6;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 7px;
}

.live-name input {
  color: #fff;
  background: none;
  border: 1px solid #0000;
  border-radius: 8px;
  width: 100%;
  min-height: 38px;
  padding: 0 8px;
  font-size: 22px;
  font-weight: 800;
}

.live-name:hover input, .live-name input:focus {
  box-shadow: 0 0 0 3px rgba(var(--xc-blue-rgb),.1);
  background: #00040a47;
  border-color: #4895ffa6;
}

.live-name.name-gradient input {
  color: #0000;
  background-image: linear-gradient(90deg, #fff, #5ec5ff, #8069ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.live-name.name-neon input {
  color: #8ecbff;
  text-shadow: 0 0 14px #008affbf;
}

.preview-handle {
  color: #b4c0d1;
  margin: 5px 0;
  font-size: 10px;
}

.preview-nameplate {
  border: 1px solid var(--xc-stroke);
  color: #91a2b9;
  text-transform: capitalize;
  background: #0a1524;
  border-radius: 99px;
  align-items: center;
  gap: 6px;
  width: max-content;
  margin: 8px 0;
  padding: 5px 8px;
  font-size: 8px;
  display: flex;
}

.preview-nameplate.nameplate-nebula {
  color: #d1b9ff;
  background: linear-gradient(90deg, #7438f04d, #091627cc);
}

.preview-nameplate.nameplate-ocean {
  color: #9ed8ff;
  background: linear-gradient(90deg, #0084ff4d, #091627cc);
}

.preview-nameplate.nameplate-arcade {
  color: #ffb2dc;
  background: linear-gradient(90deg, #ff31a440, #221130cc);
}

.preview-badges {
  align-items: center;
  gap: 8px;
  min-height: 22px;
  margin: 7px 0;
  display: flex;
}

.preview-badges i {
  filter: drop-shadow(0 0 6px);
}

.preview-actions {
  gap: 7px;
  margin: 14px 0;
  display: flex;
}

.preview-actions button {
  border: 1px solid var(--xc-stroke);
  color: #cbd7e8;
  background: #ffffff0b;
  border-radius: 9px;
  min-height: 38px;
  padding: 0 12px;
}

.preview-actions button:first-child {
  background: linear-gradient(135deg,var(--xc-blue),var(--xc-blue-2));
  color: #fff;
}

.preview-field {
  gap: 5px;
  margin-top: 11px;
  display: grid;
  position: relative;
}

.preview-field input, .preview-field textarea {
  border: 1px solid var(--xc-stroke);
  color: #e8f0fb;
  resize: vertical;
  background: #01070e73;
  border-radius: 10px;
  outline: 0;
  width: 100%;
  padding: 10px;
  font-size: 10px;
  line-height: 1.55;
}

.preview-field textarea {
  min-height: 92px;
}

.preview-field > small {
  color: #6f7e94;
  font-size: 7px;
  position: absolute;
  bottom: 6px;
  right: 8px;
}

.preview-member-since {
  border: 1px solid var(--xc-stroke);
  background: #ffffff06;
  border-radius: 10px;
  gap: 4px;
  margin: 15px 0;
  padding: 11px;
  display: grid;
}

.preview-member-since small {
  color: #7e8da3;
  font-size: 8px;
}

.preview-member-since b {
  font-size: 10px;
}

.preview-id {
  color: #91a1b8;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  font-size: 8px;
  display: grid;
}

.preview-id > i {
  background: rgba(var(--xc-blue-rgb),.12);
  color: #6ab0ff;
  border-radius: 8px;
  grid-row: 1 / 3;
  place-items: center;
  width: 26px;
  height: 26px;
  display: grid;
}

.preview-id b {
  color: #d4deec;
  font: 600 9px / 1 ui-monospace, monospace;
}

.profile-board {
  min-height: 560px;
  padding: 16px;
}

.profile-board > nav {
  border-bottom: 1px solid var(--xc-stroke);
  gap: 20px;
  display: flex;
}

.profile-board > nav button {
  color: #8796aa;
  background: none;
  border: 0;
  align-items: center;
  gap: 6px;
  min-height: 41px;
  padding: 0 1px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  position: relative;
}

.profile-board > nav button > i {
  color: #609cf0;
  font-size: 9px;
}

.profile-board > nav button.active {
  color: #fff;
}

.profile-board > nav button.active:after {
  content: "";
  background: linear-gradient(90deg,var(--xc-blue),var(--xc-cyan));
  height: 2px;
  box-shadow: 0 0 10px rgba(var(--xc-blue-rgb),.55);
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}

.profile-board > nav button b {
  background: rgba(var(--xc-blue-rgb),.2);
  border-radius: 99px;
  place-items: center;
  min-width: 16px;
  height: 16px;
  margin-left: 1px;
  font-size: 7px;
  display: inline-grid;
}

.profile-board-content {
  gap: 12px;
  padding-top: 15px;
  display: grid;
}

.profile-board-content > header {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.profile-board-content > header span {
  gap: 3px;
  display: grid;
}

.profile-board-content > header small {
  color: #6c7b91;
  letter-spacing: .12em;
  font-size: 7px;
}

.profile-board-content > header h4 {
  margin: 0;
  font-size: 11px;
}

.profile-board-content > header > button {
  border: 1px solid var(--xc-stroke);
  color: #c7d3e3;
  background: #ffffff09;
  border-radius: 9px;
  min-height: 35px;
  padding: 0 10px;
  font-size: 8px;
}

.profile-widget, .activity-now {
  border: 1px solid var(--xc-stroke);
  background: linear-gradient(145deg, #142339bf, #070e19c7);
  border-radius: 14px;
  gap: 10px;
  padding: 14px;
  display: grid;
}

.profile-widget > header {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  display: flex;
}

.profile-widget > header > div {
  gap: 3px;
  display: grid;
}

.profile-widget > header b {
  font-size: 10px;
}

.profile-widget > header small {
  color: #7f8da1;
  font-size: 7px;
}

.profile-widget > header select {
  border: 1px solid var(--xc-stroke);
  color: #d8e2f0;
  background: #07101d;
  border-radius: 8px;
  max-width: 150px;
  min-height: 31px;
  padding: 0 7px;
  font-size: 8px;
}

.profile-widget > header > span {
  color: #718198;
  font-size: 8px;
}

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

.game-tile {
  gap: 7px;
  min-width: 0;
  display: grid;
  color: #cdd8e7 !important;
  text-align: left !important;
  background: none !important;
  border: 1px solid #0000 !important;
  border-radius: 10px !important;
  padding: 0 !important;
}

.game-tile > span {
  background: radial-gradient(circle at 50% 25%,color-mix(in srgb,var(--game-tone) 60%,transparent),transparent 48%),linear-gradient(145deg,color-mix(in srgb,var(--game-tone) 35%,#101827),#07101b);
  color: #fff;
  height: 76px;
  text-shadow: 0 0 20px var(--game-tone);
  border: 1px solid #ffffff14;
  border-radius: 9px;
  place-items: center;
  font-size: 24px;
  display: grid;
  overflow: hidden;
}

.game-tile > div {
  min-width: 0;
  padding: 0 2px;
}

.game-tile b, .game-tile small {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.game-tile b {
  font-size: 8px;
}

.game-tile small {
  color: #8290a4;
  margin-top: 3px;
  font-size: 7px;
}

.game-tile > i {
  color: #9aacc3;
  background: #01070ecc;
  border-radius: 50%;
  place-items: center;
  width: 19px;
  height: 19px;
  font-size: 8px;
  display: grid;
  position: absolute;
  top: 5px;
  right: 5px;
}

.game-tile {
  position: relative;
}

.game-tile:hover, .game-tile.selected {
  transform: translateY(-2px);
  border-color: color-mix(in srgb,var(--game-tone) 55%,transparent) !important;
}

.game-tile.selected > i {
  background: var(--game-tone);
  color: #fff;
}

.game-tile.large {
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  border-color: var(--xc-stroke) !important;
  background: #01070e59 !important;
  padding: 7px !important;
}

.game-tile.large b {
  font-size: 11px;
}

.widget-empty {
  color: #738198;
  text-align: center;
  place-content: center;
  justify-items: center;
  min-height: 90px;
  display: grid;
}

.widget-empty i {
  font-size: 20px;
}

.widget-empty p {
  max-width: 210px;
  margin: 7px 0 0;
  font-size: 8px;
  line-height: 1.5;
}

.activity-now {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
}

.activity-now > i {
  background: rgba(var(--xc-blue-rgb),.14);
  color: #69b0ff;
  border-radius: 12px;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
}

.activity-now > div {
  gap: 4px;
  display: grid;
}

.activity-now b {
  font-size: 10px;
}

.activity-now small {
  color: #8392a7;
  font-size: 8px;
}

.activity-now button {
  border: 1px solid var(--xc-stroke);
  color: #d8e2f0;
  background: #ffffff0a;
  border-radius: 8px;
  min-height: 34px;
  padding: 0 11px;
  font-size: 8px;
}

.activity-now button, .activity-heading {
  align-items: center;
  gap: 6px;
  display: flex;
}

.activity-heading {
  margin: 8px 0 -4px;
  font-size: 10px;
}

.activity-heading > i {
  color: #62aeff;
}

.recent-activity {
  gap: 8px;
  display: grid;
}

.recent-activity > article {
  border: 1px solid var(--xc-stroke);
  background: #ffffff06;
  border-radius: 12px;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  display: grid;
}

.recent-activity > article > span {
  background: color-mix(in srgb,var(--game-tone) 28%,#08111e);
  width: 46px;
  height: 46px;
  color: var(--game-tone);
  border-radius: 10px;
  place-items: center;
  font-size: 17px;
  display: grid;
}

.recent-activity > article > div {
  gap: 5px;
  display: grid;
}

.recent-activity b {
  font-size: 10px;
}

.recent-activity small {
  color: #7f8ea4;
  font-size: 7px;
}

.recent-activity > article > i {
  color: #6c7b91;
}

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

.profile-studio-save {
  z-index: 10;
  border: 1px solid var(--xc-stroke);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: #050c15eb;
  border-radius: 13px;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  min-height: 58px;
  padding: 9px 12px;
  display: flex;
  position: sticky;
  bottom: -70px;
  box-shadow: 0 16px 42px #0006;
}

.profile-studio-save > span {
  color: #53dda5;
  margin-right: auto;
  font-size: 9px;
}

.profile-studio-save > span.error {
  color: #ff879b;
}

.profile-studio-save button {
  min-width: 138px;
  min-height: 41px;
}

@keyframes profile-aurora {
  to {
    transform: translate3d(20px, -10px, 0)scale(1.08);
  }
}

@keyframes profile-rain {
  to {
    background-position: 0 90px;
  }
}

@keyframes nitro-avatar {
  to {
    filter: brightness(1.18);
    box-shadow: 0 0 0 4px #6c69ff, 0 0 36px #625fffcc !important;
  }
}

@keyframes avatar-pulse {
  to {
    opacity: 0;
    inset: -17px;
  }
}

@media (max-width: 1200px) {
  .profile-studio-grid {
    grid-template-columns: 210px minmax(300px, 1fr);
  }

  .profile-board {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .profile-toolbox, .live-profile-preview {
    max-height: none;
    position: relative;
    top: auto;
  }

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

  .profile-board-content > header, .profile-board-content > .activity-heading, .profile-board-content > .recent-activity, .profile-board-content > .activity-now, .profile-board-content > .wishlist-grid {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .settings-scroll:has(.profile-studio) {
    padding: 14px 12px 90px;
  }

  .profile-studio-title {
    align-items: flex-start;
  }

  .profile-studio-title > span {
    font-size: 0;
  }

  .profile-studio-title > span i {
    font-size: 10px;
  }

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

  .profile-board {
    grid-column: auto;
  }

  .profile-toolbox {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
    max-height: none;
    position: relative;
  }

  .profile-toolbox > header, .profile-toolbox > .profile-nitro-upsell {
    grid-column: 1 / -1;
  }

  .live-profile-preview {
    position: relative;
  }

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

  .profile-board-content > header {
    grid-column: auto;
  }

  .game-grid {
    grid-template-columns: repeat(4, minmax(70px, 1fr));
    padding-bottom: 5px;
    overflow-x: auto;
  }

  .wishlist-grid {
    grid-template-columns: repeat(4, minmax(90px, 1fr));
    overflow-x: auto;
  }

  .profile-studio-save {
    bottom: 0;
  }
}

@media (max-width: 520px) {
  .profile-studio-title p {
    display: none;
  }

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

  .profile-toolbox > header, .profile-toolbox > .profile-nitro-upsell {
    grid-column: auto;
  }

  .live-profile-body {
    padding-inline: 15px;
  }

  .live-profile-avatar {
    margin-top: -41px;
    width: 82px !important;
    height: 82px !important;
  }

  .live-custom-status {
    max-width: 150px;
  }

  .live-name input {
    font-size: 19px;
  }

  .profile-board {
    padding: 12px;
  }

  .profile-board > nav {
    gap: 13px;
  }

  .profile-board-content {
    gap: 10px;
  }

  .game-grid, .wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .profile-studio-save {
    flex-wrap: wrap;
  }

  .profile-studio-save > span:empty {
    display: none;
  }

  .profile-studio-save button {
    width: 100%;
  }
}

.widget-jump {
  position: relative;
}

.widget-jump > button {
  border: 1px solid var(--xc-stroke);
  color: #c7d3e3;
  background: #ffffff09;
  border-radius: 9px;
  min-height: 35px;
  padding: 0 10px;
  font-size: 8px;
}

.widget-jump > div {
  z-index: 12;
  border: 1px solid var(--xc-stroke);
  background: #08111e;
  border-radius: 10px;
  gap: 3px;
  width: 150px;
  padding: 6px;
  display: grid;
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  box-shadow: 0 16px 40px #00000080;
}

.widget-jump > div button {
  color: #b9c7d9;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 7px;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 8px;
  font-size: 8px;
  display: flex;
}

.widget-jump > div button:hover {
  background: rgba(var(--xc-blue-rgb),.14);
  color: #fff;
}

.profile-modal {
  isolation: isolate;
}

.profile-modal.public-profile-effect-aurora:before, .profile-modal.public-profile-effect-grid:before, .profile-modal.public-profile-effect-rain:before {
  content: "";
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  opacity: .38;
  position: absolute;
  inset: 0;
}

.profile-modal.public-profile-effect-aurora:before {
  background: radial-gradient(circle at 20% 20%, #45e3ff6b, #0000 25%), radial-gradient(circle at 80% 42%, #8249ff66, #0000 30%);
  animation: 5s ease-in-out infinite alternate profile-aurora;
}

.profile-modal.public-profile-effect-grid:before {
  background-image: linear-gradient(#50a0ff1a 1px, #0000 1px), linear-gradient(90deg, #50a0ff1a 1px, #0000 1px);
  background-size: 24px 24px;
}

.profile-modal.public-profile-effect-rain:before {
  background-image: linear-gradient(#0000, #00a3ff4d, #0000);
  background-size: 3px 90px;
  animation: 2s linear infinite profile-rain;
}

.profile-modal-avatar.frame-neon {
  box-shadow: 0 0 0 3px #1693ff, 0 0 25px #008effb3 !important;
}

.profile-modal-avatar.frame-holo {
  box-shadow: 0 0 0 3px #ff77d7, 0 0 0 6px #61dcff, 0 0 28px #66c1ff8c !important;
}

.profile-modal-avatar.frame-nitro {
  animation: 1.8s ease-in-out infinite alternate nitro-avatar;
  box-shadow: 0 0 0 4px #ff4bc8, 0 0 28px #ff33bcb8 !important;
}

.profile-modal-avatar.decoration-orbit:after {
  content: "";
  border: 2px dashed #56b7ff;
  border-radius: 50%;
  animation: 10s linear infinite spin;
  position: absolute;
  inset: -12px;
}

.profile-modal-avatar.decoration-crown:after {
  content: "";
  color: #ffd65a;
  filter: drop-shadow(0 0 8px #ffba36);
  font: 900 22px / 1 "Font Awesome 6 Free";
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%)rotate(-8deg);
}

.profile-modal-avatar.decoration-pulse:after {
  content: "";
  border: 2px solid #8e72ff;
  border-radius: 50%;
  animation: 1.6s ease-out infinite avatar-pulse;
  position: absolute;
  inset: -7px;
}

.profile-modal h2.name-gradient {
  background: linear-gradient(90deg, #fff, #5ec5ff, #8069ff);
  -webkit-background-clip: text;
  background-clip: text;
  width: max-content;
  color: #0000 !important;
}

.profile-modal h2.name-neon {
  text-shadow: 0 0 14px #008affbf;
  color: #8ecbff !important;
}

.profile-modal-body section a {
  color: #68b4ff;
  overflow-wrap: anywhere;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  display: flex;
}

.profile-modal-body section a:hover {
  color: #a4d4ff;
}

.self-profile-avatar.frame-neon {
  box-shadow: 0 0 0 3px #1693ff, 0 0 22px #008effad !important;
}

.self-profile-avatar.frame-holo {
  box-shadow: 0 0 0 3px #ff77d7, 0 0 0 5px #61dcff, 0 0 24px #66c1ff80 !important;
}

.self-profile-avatar.frame-nitro {
  animation: 1.8s ease-in-out infinite alternate nitro-avatar;
  box-shadow: 0 0 0 4px #ff4bc8, 0 0 26px #ff33bcb3 !important;
}

.self-profile-avatar.decoration-orbit:after {
  content: "";
  border: 2px dashed #56b7ff;
  border-radius: 50%;
  animation: 10s linear infinite spin;
  position: absolute;
  inset: -10px;
}

.self-profile-avatar.decoration-crown:after {
  content: "";
  color: #ffd65a;
  font: 900 20px / 1 "Font Awesome 6 Free";
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%)rotate(-8deg);
}

.self-profile-avatar.decoration-pulse:after {
  content: "";
  border: 2px solid #8e72ff;
  border-radius: 50%;
  animation: 1.6s ease-out infinite avatar-pulse;
  position: absolute;
  inset: -6px;
}

.self-profile-identity h3.name-gradient {
  background: linear-gradient(90deg, #fff, #5ec5ff, #8069ff);
  -webkit-background-clip: text;
  background-clip: text;
  width: max-content;
  color: #0000 !important;
}

.self-profile-identity h3.name-neon {
  text-shadow: 0 0 13px #008affbf;
  color: #8ecbff !important;
}

.banner-upload-tool {
  gap: 7px;
  display: grid;
}

.banner-upload-tool input {
  display: none;
}

.banner-upload-tool > span {
  background: var(--banner-image),linear-gradient(135deg,color-mix(in srgb,var(--banner-color) 58%,#06111f),#07101d);
  color: #fff;
  background-position: center;
  background-size: cover;
  border: 1px dashed #69a9ff61;
  border-radius: 12px;
  place-items: center;
  height: 72px;
  display: grid;
}

.banner-upload-tool > b {
  font-size: 9px;
}

.remove-banner-tool {
  min-height: 34px;
  color: #ff879b !important;
  background: #ff547017 !important;
  border: 1px solid #ff54703d !important;
  border-radius: 9px !important;
}

.game-tile > span img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.game-tile.large > span {
  height: 96px;
}

.recent-activity > article > span {
  overflow: hidden;
}

.recent-activity > article > span img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.stream-tile footer button {
  margin-left: auto;
  color: #afc0d5 !important;
  background: none !important;
  border: 0 !important;
}

.stream-tile:fullscreen {
  width: 100vw;
  height: 100vh;
  border-radius: 0 !important;
}

.stream-tile:fullscreen video {
  height: 100vh;
}

.public-game-list span {
  overflow: hidden;
  background: var(--game-cover) center/cover !important;
}

.public-game-list span img, .public-game-cover img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.public-game-cover {
  overflow: hidden;
  background: var(--game-cover) center/cover !important;
}

.user-dock-area {
  margin-top: auto;
}

.direct-sidebar > .user-dock-area, .channel-sidebar > .user-dock-area {
  z-index: 4;
  padding: 8px;
  position: sticky;
  bottom: 0;
}

.direct-sidebar > .user-dock-area .user-dock, .channel-sidebar > .user-dock-area .user-dock {
  width: 100%;
  margin: 0;
}

@media (max-width: 820px) {
  .direct-shell {
    grid-template-columns: 58px minmax(0, 1fr) !important;
  }

  .direct-sidebar {
    z-index: 35;
    width: min(320px, 100vw - 58px);
    transition: all .2s;
    top: 0;
    bottom: 0;
    left: 58px;
    transform: translateX(-115%);
    position: fixed !important;
  }

  .direct-sidebar.mobile-open {
    transform: none;
  }

  .direct-content, .home-feature-overlay {
    grid-column: 2 !important;
  }

  .activity-sidebar {
    display: none !important;
  }

  .direct-shell.has-conversation .direct-content {
    grid-column: 2 !important;
  }

  .app-shell {
    grid-template-columns: 58px minmax(0, 1fr) !important;
  }

  .app-shell .content-column {
    grid-column: 2;
  }

  .app-shell .member-sidebar {
    display: none;
  }

  .channel-sidebar {
    width: min(320px, 100vw - 58px);
    left: 58px;
    right: auto !important;
    transform: translateX(-115%) !important;
  }

  .channel-sidebar.mobile-open {
    transform: none !important;
  }

  .server-rail {
    width: 58px;
  }

  .user-dock {
    min-height: 58px;
  }

  .user-dock .user-summary-button {
    min-width: 0;
  }

  .user-dock-controls {
    gap: 4px;
  }

  .profile-modal {
    width: min(430px, 100vw - 18px);
    max-height: calc(100dvh - 18px);
    overflow: auto;
  }

  .settings-window {
    border-radius: 16px !important;
    width: calc(100vw - 10px) !important;
    height: calc(100dvh - 10px) !important;
  }
}

@media (max-width: 520px) {
  .direct-sidebar > .user-dock-area, .channel-sidebar > .user-dock-area {
    padding: 6px;
  }

  .user-dock {
    padding: 7px !important;
  }

  .user-dock .avatar {
    width: 36px !important;
    height: 36px !important;
  }

  .user-dock-controls button {
    width: 28px !important;
  }

  .profile-modal-body {
    padding-inline: 14px;
  }

  .public-profile-head {
    height: auto;
  }

  .public-custom-status {
    max-width: 150px;
  }

  .game-grid, .wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .app-shell .content-column {
    min-width: 0;
    overflow: hidden;
  }

  .app-shell .channel-header {
    grid-template-columns: 26px 14px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 8px 9px !important;
    display: grid !important;
  }

  .app-shell .channel-header > div:not(.header-actions) {
    min-width: 0 !important;
  }

  .app-shell .channel-header h1, .app-shell .channel-header p {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .app-shell .channel-header .header-actions {
    gap: 2px;
    width: auto;
    min-width: 0;
  }

  .app-shell .channel-header .header-actions > .server-search {
    display: none;
  }

  .app-shell .channel-header .header-actions > button, .app-shell .channel-header .notification-trigger {
    width: 27px !important;
    min-width: 27px !important;
    height: 27px !important;
    padding: 0 !important;
  }

  .direct-shell .friends-header {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 6px;
    padding: 8px 9px !important;
    display: grid !important;
  }

  .direct-shell .friends-header > nav {
    flex-wrap: wrap;
    grid-column: 1 / -1;
    gap: 5px;
    width: 100%;
    min-width: 0;
    display: flex;
  }

  .direct-shell .friends-header > nav button {
    font-size: 10px;
    min-width: 0 !important;
    padding-inline: 8px !important;
  }

  .direct-shell .friends-header > nav .add-friend {
    margin-left: auto;
  }
}

.live-profile-banner {
  background: radial-gradient(circle at 82% 15%,#ffffff38,transparent 22%),linear-gradient(135deg,color-mix(in srgb,var(--profile-banner) 55%,#050b16),var(--profile-banner)) !important;
  position: relative !important;
  overflow: hidden !important;
}

.live-profile-banner-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.live-profile-preview .preview-effect {
  z-index: 1;
  mix-blend-mode: screen;
}

.live-profile-preview .live-profile-body {
  z-index: 2;
}

.live-profile-avatar, .profile-modal-avatar, .self-profile-avatar {
  isolation: isolate;
  position: relative;
  overflow: visible !important;
}

.live-profile-avatar img, .profile-modal-avatar img, .self-profile-avatar img {
  z-index: 1;
  position: relative;
  overflow: hidden;
}

.live-profile-avatar .presence-dot, .profile-modal-avatar .presence-dot, .self-profile-avatar .presence-dot {
  z-index: 4;
}

.live-profile-avatar.decoration-orbit:after, .profile-modal-avatar.decoration-orbit:after, .self-profile-avatar.decoration-orbit:after {
  z-index: 2;
}

.live-profile-avatar.decoration-crown:after, .profile-modal-avatar.decoration-crown:after, .self-profile-avatar.decoration-crown:after {
  z-index: 3;
}

.live-profile-avatar.decoration-pulse:after, .profile-modal-avatar.decoration-pulse:after, .self-profile-avatar.decoration-pulse:after {
  z-index: 2;
}

.decoration-picker > button {
  align-content: center;
  place-items: center;
  gap: 3px;
  display: grid;
  min-height: 60px !important;
}

.decoration-option small {
  text-transform: capitalize;
  font-size: 7px;
}

.decoration-sample {
  color: #d6ecff;
  background: #101e32;
  border: 2px solid #176ddd;
  border-radius: 50%;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: 10px;
  display: grid;
  position: relative;
  overflow: visible;
}

.decoration-sample.decoration-orbit:after {
  content: "";
  border: 1px dashed #64c9ff;
  border-radius: 50%;
  animation: 7s linear infinite spin;
  position: absolute;
  inset: -6px;
}

.decoration-sample.decoration-crown:after {
  content: "";
  color: #ffd65a;
  filter: drop-shadow(0 0 5px #ffbf3e);
  font: 900 12px / 1 "Font Awesome 6 Free";
  position: absolute;
  top: -11px;
  left: 50%;
  translate: -50%;
}

.decoration-sample.decoration-pulse:after {
  content: "";
  border: 1px solid #ba74ff;
  border-radius: 50%;
  animation: 1.5s ease-out infinite avatar-pulse;
  position: absolute;
  inset: -5px;
}

.profile-effect-picker {
  gap: 6px;
  display: grid;
}

.profile-effect-picker > small, .profile-frame-select > span {
  color: #7e91aa;
  letter-spacing: .05em;
  font-size: 8px;
  font-weight: 700;
}

.profile-effect-picker > div {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  display: grid;
}

.effect-option {
  text-align: left;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-height: 45px;
  display: grid;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--xc-stroke) !important;
  color: #aebed2 !important;
  background: #08111e !important;
  border-radius: 9px !important;
  padding: 5px !important;
}

.effect-option > span {
  z-index: 1;
  color: #8fbfff;
  background: #ffffff0f;
  border-radius: 7px;
  place-items: center;
  width: 25px;
  height: 25px;
  font-size: 10px;
  display: grid;
  position: relative;
}

.effect-option > b {
  z-index: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
  position: relative;
  overflow: hidden;
}

.effect-option:before {
  content: "";
  opacity: .7;
  position: absolute;
  inset: 0;
}

.effect-option.effect-aurora:before {
  background: radial-gradient(circle at 20% 20%, #3ddfff61, #0000 38%), radial-gradient(circle at 82% 78%, #b44cff59, #0000 43%);
}

.effect-option.effect-grid:before {
  background-image: linear-gradient(#53abff29 1px, #0000 1px), linear-gradient(90deg, #53abff29 1px, #0000 1px);
  background-size: 8px 8px;
}

.effect-option.effect-rain:before {
  background: repeating-linear-gradient(90deg, #0000 0 6px, #31ffb83d 7px 8px), linear-gradient(#28ffa71f, #0000);
}

.effect-option.selected {
  color: #fff !important;
  border-color: #368dff !important;
  box-shadow: 0 0 0 2px #0060ff2e, inset 0 0 16px #0088ff24 !important;
}

.effect-option em {
  z-index: 2;
  color: #ff8add;
  font-size: 7px;
  position: absolute;
  top: 4px;
  right: 5px;
}

.profile-frame-select {
  gap: 5px;
  display: grid;
}

.profile-frame-select select {
  border: 1px solid var(--xc-stroke);
  color: #c8d4e5;
  background: #08111e;
  border-radius: 9px;
  width: 100%;
  min-height: 38px;
  padding: 0 8px;
  font-size: 9px;
}

.game-tile > span {
  background: #07101b !important;
}

.game-tile > span img, .public-game-list img, .public-game-cover img {
  object-fit: contain !important;
}

.public-game-list span, .public-game-cover {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

/* [project]/src/app/account-settings.css [app-client] (css) */
.account-settings-window {
  grid-template-columns: 250px minmax(0, 1fr);
}

.account-settings-window > aside {
  padding: 0 !important;
}

.account-settings-window > aside > nav {
  flex: 1;
  min-height: 0;
  padding: 0 !important;
  overflow: hidden !important;
}

.account-sidebar-content {
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 18px 12px 0;
  display: flex;
}

.settings-user-summary {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 54px !important;
  box-shadow: none !important;
  color: #fff !important;
  background: none !important;
  border: 0 !important;
  gap: 10px !important;
  padding: 6px 7px !important;
  display: grid !important;
}

.settings-user-summary:hover {
  background: #ffffff0b !important;
}

.settings-user-summary .avatar {
  overflow: hidden;
  border-radius: 50% !important;
  width: 42px !important;
  height: 42px !important;
}

.settings-user-summary > span:last-child {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.settings-user-summary b, .settings-user-summary small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.settings-user-summary b {
  font-size: 13px;
}

.settings-user-summary small {
  color: #92a1b5;
  font-size: 9px;
}

.settings-user-summary small i {
  margin-left: 4px;
  font-size: 7px;
}

.settings-search {
  border: 1px solid var(--xc-stroke);
  color: #91a1b7;
  background: #ffffff06;
  border-radius: 10px;
  grid-template-columns: 18px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  margin: 10px 0 8px;
  padding: 0 9px;
  display: grid !important;
}

.settings-search > i {
  text-align: center;
  font-size: 12px;
}

.settings-search input {
  color: #e7eef8;
  outline: 0;
  width: 100%;
  min-width: 0;
  height: 38px;
  font-size: 11px;
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
}

.settings-search button {
  place-items: center;
  color: #8696ac !important;
  width: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  display: grid !important;
}

.account-nav-scroll {
  scrollbar-width: thin;
  scrollbar-color: #7693bc66 transparent;
  flex: 1;
  min-height: 0;
  padding: 1px 2px 22px;
  overflow-y: auto;
}

.settings-nav-group {
  border-bottom: 1px solid #fff1;
  gap: 2px;
  padding: 8px 0 10px;
  display: grid;
}

.settings-nav-group:last-child {
  border-bottom: 0;
}

.settings-nav-group > small {
  letter-spacing: .04em;
  padding: 0 9px 5px;
  font-size: 8px;
  font-weight: 700;
  color: #77879d !important;
}

.account-settings-window .settings-nav-group > button {
  align-items: center;
  font-weight: 600;
  min-height: 34px !important;
  box-shadow: none !important;
  color: #99a7ba !important;
  background: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  gap: 9px !important;
  padding: 6px 9px !important;
  font-size: 11px !important;
  display: flex !important;
}

.account-settings-window .settings-nav-group > button:hover {
  color: #e8eff9 !important;
  background: #ffffff0d !important;
}

.account-settings-window .settings-nav-group > button.active {
  background: linear-gradient(90deg,rgba(var(--xc-blue-rgb),.26),rgba(var(--xc-blue-rgb),.08)) !important;
  box-shadow: inset 3px 0 var(--xc-cyan) !important;
  color: #fff !important;
}

.account-settings-window .settings-nav-group > button > i {
  color: #8d9db2;
  text-align: center;
  flex: 0 0 18px;
  font-size: 12px;
  width: 18px !important;
}

.account-settings-window .settings-nav-group > button.active > i {
  color: #79bdff;
}

.account-settings-window .settings-nav-group > button > span {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.account-settings-window .settings-nav-group > button > em {
  color: #fff;
  background: linear-gradient(135deg, #a23cff, #ff62ca);
  border-radius: 99px;
  padding: 2px 5px;
  font-size: 6px;
  font-style: normal;
  font-weight: 900;
}

.account-settings-window .settings-parent-item {
  font-size: 12px !important;
}

.settings-subnav {
  border-left: 1px solid #ffffff1a;
  gap: 1px;
  margin: 1px 0 2px 17px;
  padding-left: 8px;
  display: grid;
}

.account-settings-window .settings-subnav > button {
  align-items: center;
  gap: 8px;
  display: flex;
  min-height: 30px !important;
  box-shadow: none !important;
  color: #8493a7 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 7px !important;
  justify-content: flex-start !important;
  padding: 4px 10px !important;
  font-size: 10px !important;
}

.account-settings-window .settings-subnav > button > i {
  color: #6f82a0;
  text-align: center;
  width: 13px;
  font-size: 9px;
}

.account-settings-window .settings-subnav > button:hover, .account-settings-window .settings-subnav > button.active {
  background: rgba(var(--xc-blue-rgb),.1) !important;
  color: #fff !important;
}

.account-settings-window .settings-subnav > button:hover > i, .account-settings-window .settings-subnav > button.active > i {
  color: #79bbff;
}

.account-settings-window .settings-subnav > button.active {
  position: relative;
}

.account-settings-window .settings-subnav > button.active:before {
  content: "";
  background: #fff;
  border-radius: 3px;
  width: 2px;
  height: 18px;
  position: absolute;
  left: -10px;
}

.account-sidebar-footer {
  background: linear-gradient(#0000, #02060cf5 16%);
  flex: none;
  gap: 5px;
  padding: 8px 14px 14px;
  display: grid;
}

.account-sidebar-footer .settings-logout {
  color: #ff8d91;
  background: none;
  border: 0;
  border-radius: 8px;
  justify-content: flex-start;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 6px 9px;
  font-size: 11px;
  display: flex;
}

.account-sidebar-footer .settings-logout:hover {
  background: #ff484f1a;
}

.account-sidebar-footer > small {
  color: #65748a;
  font-size: 6px;
}

.account-sidebar-footer > span {
  align-items: center;
  gap: 5px;
  font-size: 6px;
  display: flex;
}

.account-sidebar-footer a {
  color: #6fb5ff;
  text-decoration: none;
}

.account-sidebar-footer > span i {
  color: #536176;
  font-style: normal;
}

.account-info-panel {
  max-width: 780px;
}

.account-identity-card {
  border: 1px solid var(--xc-stroke);
  background: linear-gradient(145deg, #121f33f2, #060c15fa);
  border-radius: 18px;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  min-height: 220px;
  padding: 92px 20px 20px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.account-banner {
  background: radial-gradient(circle at 75% 10%, #00cbff61, #0000 28%), linear-gradient(120deg, #04b, #0060ff 48%, #00a8ff);
  height: 104px;
  position: absolute;
  inset: 0 0 auto;
}

.account-identity-card > .avatar {
  z-index: 1;
  font-size: 28px;
  position: relative;
  overflow: hidden;
  border: 7px solid #0b1524 !important;
  border-radius: 50% !important;
  width: 96px !important;
  height: 96px !important;
}

.account-identity-card > div:not(.account-banner) {
  z-index: 1;
  min-width: 0;
  padding-bottom: 7px;
  position: relative;
}

.account-identity-card h3 {
  margin: 0;
  font-size: 20px;
}

.account-identity-card p {
  color: #99a8bc;
  margin: 4px 0 7px;
  font-size: 10px;
}

.badge-strip {
  gap: 8px;
  min-height: 15px;
  display: flex;
}

.badge-strip i {
  filter: drop-shadow(0 0 5px);
}

.account-identity-card > button {
  z-index: 1;
  align-self: end;
  margin-bottom: 8px;
  position: relative;
}

.account-detail-list {
  border: 1px solid var(--xc-stroke);
  background: #060d17b3;
  border-radius: 15px;
  gap: 1px;
  display: grid;
  overflow: hidden;
}

.account-detail-list article {
  border-bottom: 1px solid #ffffff0f;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 66px;
  padding: 12px 15px;
  display: flex;
}

.account-detail-list article:last-child {
  border: 0;
}

.account-detail-list span {
  gap: 5px;
  min-width: 0;
  display: grid;
}

.account-detail-list small {
  letter-spacing: .08em;
  font-size: 7px;
  color: #718198 !important;
}

.account-detail-list b {
  text-overflow: ellipsis;
  color: #e4edf8;
  font-size: 11px;
  overflow: hidden;
}

.account-detail-list button, .connection-card button {
  border: 1px solid var(--xc-stroke);
  color: #a8cfff;
  background: #ffffff0a;
  border-radius: 8px;
  min-height: 32px;
  padding: 0 10px;
  font-size: 8px;
}

.settings-status-hero {
  background: linear-gradient(135deg, #22b97e1f, #050e18bf);
  border: 1px solid #3fd79b40;
  border-radius: 15px;
  align-items: center;
  gap: 15px;
  min-height: 94px;
  padding: 18px;
  display: flex;
}

.settings-status-hero > i {
  color: #4bdfa9;
  background: #2fd59726;
  border-radius: 14px;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 22px;
  display: grid;
}

.settings-status-hero span {
  gap: 5px;
  display: grid;
}

.settings-status-hero b {
  font-size: 14px;
}

.settings-status-hero small {
  font-size: 9px;
}

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

.settings-info-grid article {
  border: 1px solid var(--xc-stroke);
  background: #ffffff06;
  border-radius: 13px;
  gap: 11px;
  padding: 15px;
  display: flex;
}

.settings-info-grid article > i {
  color: #56dba5;
}

.settings-info-grid span {
  gap: 5px;
  display: grid;
}

.settings-info-grid b {
  font-size: 10px;
}

.settings-info-grid small {
  font-size: 8px;
  line-height: 1.5;
}

.settings-empty-state {
  background: radial-gradient(circle at 50% 30%,rgba(var(--xc-blue-rgb),.1),transparent 40%);
  border: 1px dashed #6491ca47;
  border-radius: 17px;
  place-content: center;
  justify-items: center;
  min-height: 260px;
  padding: 28px;
  display: grid;
  text-align: center !important;
}

.settings-empty-state > i {
  background: rgba(var(--xc-blue-rgb),.13);
  color: #68b3ff;
  border-radius: 18px;
  place-items: center;
  width: 58px;
  height: 58px;
  font-size: 23px;
  display: grid;
}

.settings-empty-state h3 {
  margin: 14px 0 5px;
  font-size: 14px;
}

.settings-empty-state p {
  color: #8393a8;
  max-width: 400px;
  margin: 0;
  font-size: 9px;
  line-height: 1.6;
}

.settings-empty-state.compact {
  min-height: 150px;
}

.connection-card {
  border: 1px solid var(--xc-stroke);
  background: #ffffff06;
  border-radius: 14px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 13px;
  display: grid;
}

.connection-card > i {
  background: rgba(var(--xc-blue-rgb),.14);
  color: #67b1ff;
  border-radius: 12px;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
}

.connection-card span {
  gap: 5px;
  min-width: 0;
  display: grid;
}

.connection-card b {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  overflow: hidden;
}

.connection-card small {
  font-size: 8px;
}

.settings-preview-line {
  border: 1px solid var(--xc-stroke);
  background: #ffffff06;
  border-radius: 13px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 13px 15px;
  display: flex;
}

.settings-preview-line > i {
  background: rgba(var(--xc-blue-rgb),.13);
  color: #67b2ff;
  border-radius: 11px;
  place-items: center;
  width: 40px;
  height: 40px;
  display: grid;
}

.settings-preview-line span {
  gap: 5px;
  display: grid;
}

.settings-preview-line small {
  font-size: 7px;
}

.settings-preview-line b {
  font-size: 13px;
}

.registered-game-list {
  gap: 8px;
  display: grid;
}

.registered-game-list > article {
  border: 1px solid var(--xc-stroke);
  background: #ffffff06;
  border-radius: 13px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px;
  display: grid;
}

.registered-game-list > article > i {
  background: rgba(var(--xc-blue-rgb),.13);
  color: #72b9ff;
  border-radius: 12px;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
}

.registered-game-list span {
  gap: 4px;
  display: grid;
}

.registered-game-list b {
  font-size: 10px;
}

.registered-game-list small {
  font-size: 8px;
}

.registered-game-list em {
  color: #55dca8;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.secondary-action {
  border: 1px solid var(--xc-stroke);
  color: #c3d0e1;
  background: #ffffff09;
  border-radius: 9px;
  width: max-content;
  min-height: 38px;
  padding: 0 13px;
  font-size: 9px;
}

.developer-details {
  gap: 8px;
  display: grid;
}

.developer-details article {
  border: 1px solid var(--xc-stroke);
  background: #ffffff06;
  border-radius: 12px;
  grid-template-columns: minmax(100px, .7fr) minmax(120px, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 12px 14px;
  display: grid;
}

.developer-details small {
  font-size: 7px;
}

.developer-details code {
  text-overflow: ellipsis;
  color: #79bbff;
  font-size: 10px;
  overflow: hidden;
}

.developer-details button {
  border: 1px solid var(--xc-stroke);
  color: #bcd1ea;
  background: #ffffff09;
  border-radius: 8px;
  min-height: 31px;
  padding: 0 9px;
  font-size: 8px;
}

.developer-details article > span {
  color: #7f8fa5;
  font-size: 8px;
}

html.high-contrast .settings-window :is(button, input, textarea, select) {
  outline-color: #fff;
}

html.high-contrast .settings-window :is(.toggle-row, .field-label, .account-detail-list, .connection-card) {
  border-color: #ffffff57 !important;
}

@media (max-width: 700px) {
  .account-settings-window > aside {
    max-height: 62px;
    min-height: 62px !important;
    padding: 6px 8px max(6px,env(safe-area-inset-bottom)) !important;
  }

  .account-settings-window > aside > nav {
    overflow: auto hidden !important;
  }

  .account-sidebar-content {
    height: auto;
    padding: 0;
    display: block;
  }

  .settings-user-summary, .settings-search, .account-sidebar-footer, .settings-nav-group > small {
    display: none !important;
  }

  .account-nav-scroll {
    gap: 4px;
    padding: 0;
    display: flex;
    overflow: visible;
  }

  .settings-nav-group, .account-primary-group {
    display: contents;
  }

  .settings-subnav {
    border: 0;
    margin: 0;
    padding: 0;
    display: contents;
  }

  .account-settings-window .settings-nav-group > button, .account-settings-window .settings-subnav > button {
    scroll-snap-align: center;
    flex-direction: column;
    flex: 0 0 54px !important;
    justify-content: center !important;
    gap: 4px !important;
    width: auto !important;
    min-width: 54px !important;
    min-height: 48px !important;
    padding: 5px !important;
    font-size: 0 !important;
    display: flex !important;
  }

  .account-settings-window .settings-subnav > button:before {
    display: none;
  }

  .account-settings-window .settings-nav-group > button > i, .account-settings-window .settings-subnav > button > i {
    width: auto !important;
    font-size: 14px !important;
  }

  .account-settings-window .settings-nav-group > button > span, .account-settings-window .settings-subnav > button > span {
    font-size: 0;
  }

  .account-settings-window .settings-nav-group > button > em {
    margin: -26px 0 0 30px;
    position: absolute;
  }

  .account-identity-card {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 86px 14px 14px;
  }

  .account-identity-card > .avatar {
    border-width: 5px !important;
    width: 72px !important;
    height: 72px !important;
  }

  .account-identity-card > button {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
  }

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

  .developer-details article {
    grid-template-columns: 1fr auto;
  }

  .developer-details article small {
    grid-column: 1 / -1;
  }

  .connection-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .connection-card > button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* [project]/src/app/server-menu.css [app-client] (css) */
.rich-server-dropdown {
  scrollbar-width: thin;
  scrollbar-color: #7497c657 transparent;
  width: calc(100% - 16px);
  max-height: calc(100dvh - 82px);
  top: 62px;
  right: 8px;
  padding: 7px !important;
  overflow-y: auto !important;
}

.rich-server-dropdown button {
  font-size: 10px;
  font-weight: 600;
  color: #b6c2d4 !important;
  text-align: left !important;
  min-height: 34px !important;
  padding: 6px 9px !important;
}

.rich-server-dropdown button > span {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.rich-server-dropdown button > i {
  color: #8494aa;
  flex: 0 0 19px;
  font-size: 11px;
}

.rich-server-dropdown button:hover > i {
  color: #a8d2ff;
}

.rich-server-dropdown .boost-action {
  color: #d3c8ff !important;
}

.rich-server-dropdown .boost-action > i {
  color: #a993ff;
}

.rich-server-dropdown button.danger {
  color: #ff8b98 !important;
}

.rich-server-dropdown button.danger > i {
  color: #ff7889;
}

.rich-server-dropdown hr {
  background: #ffffff13 !important;
  margin: 5px 4px !important;
}

.server-menu-check {
  border: 1px solid #526076;
  border-radius: 5px;
  place-items: center;
  font-style: normal;
  color: #fff !important;
  width: 18px !important;
  height: 18px !important;
  font-size: 9px !important;
  display: grid !important;
}

.server-menu-check.checked {
  background: linear-gradient(135deg, #0060ff, #16a2ff);
  border-color: #398cff;
  box-shadow: 0 0 12px #0068ff4d;
}

.server-menu-check > i {
  color: #fff !important;
  font-size: 8px !important;
}

.server-quick-form, .server-choice-list, .server-privacy-panel, .server-app-directory {
  gap: 13px;
  display: grid;
}

.channel-type-choice {
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  display: grid;
}

.channel-type-choice > button {
  border: 1px solid var(--xc-stroke);
  color: #a9b7ca;
  text-align: left;
  background: #ffffff06;
  border-radius: 13px;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 12px;
  display: grid;
}

.channel-type-choice > button:hover, .channel-type-choice > button.selected {
  background: rgba(var(--xc-blue-rgb),.12);
  color: #fff;
  border-color: #348fff99;
}

.channel-type-choice > button > i {
  background: rgba(var(--xc-blue-rgb),.14);
  color: #6bb5ff;
  border-radius: 10px;
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
}

.channel-type-choice span {
  gap: 4px;
  display: grid;
}

.channel-type-choice b {
  font-size: 11px;
}

.channel-type-choice small {
  font-size: 8px;
}

.server-quick-form > label {
  color: #8292a8;
  gap: 7px;
  font-size: 8px;
  font-weight: 800;
  display: grid;
}

.server-quick-form > label > div {
  border: 1px solid var(--xc-stroke);
  color: #718198;
  background: #07101c;
  border-radius: 10px;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  padding: 0 9px;
  display: grid;
}

.server-quick-form input {
  color: #e8f0fb;
  background: none;
  border: 0;
  outline: 0;
  width: 100%;
  height: 42px;
}

.server-choice-list > p, .server-privacy-panel > p {
  color: #8d9cb0;
  margin: 0;
  font-size: 9px;
  line-height: 1.6;
}

.server-choice-list > button {
  border: 1px solid var(--xc-stroke);
  color: #9baabd;
  text-align: left;
  background: #ffffff05;
  border-radius: 12px;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 12px;
  display: grid;
}

.server-choice-list > button.selected {
  background: rgba(var(--xc-blue-rgb),.11);
  color: #fff;
  border-color: #348fff8c;
}

.server-choice-list > button > i:first-child {
  background: rgba(var(--xc-blue-rgb),.13);
  color: #69b4ff;
  border-radius: 11px;
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
}

.server-choice-list > button > i:last-child {
  color: #469cff;
}

.server-choice-list span {
  gap: 5px;
  display: grid;
}

.server-choice-list b {
  font-size: 10px;
}

.server-choice-list small {
  font-size: 8px;
}

.server-quick-toggle {
  border: 1px solid var(--xc-stroke);
  color: #d6e0ec;
  text-align: left;
  background: #ffffff05;
  border-radius: 12px;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 12px 13px;
  display: flex;
}

.server-quick-toggle > span {
  flex: 1;
  gap: 5px;
  min-width: 0;
  display: grid;
}

.server-quick-toggle b {
  font-size: 10px;
}

.server-quick-toggle small {
  color: #8190a4;
  font-size: 8px;
  line-height: 1.45;
}

.server-quick-toggle > i {
  background: #111d2c;
  border: 1px solid #32435a;
  border-radius: 99px;
  flex: 0 0 40px;
  width: 40px;
  height: 22px;
  padding: 3px;
}

.server-quick-toggle > i em {
  background: #8291a6;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  transition: all .18s;
  display: block;
}

.server-quick-toggle > i.active {
  background: #0060ff;
  border-color: #1781ff;
}

.server-quick-toggle > i.active em {
  background: #fff;
  transform: translateX(17px);
}

.server-app-directory > header {
  background: linear-gradient(135deg,rgba(var(--xc-blue-rgb),.14),#ffffff05);
  border: 1px solid #4b99ff38;
  border-radius: 14px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  display: flex;
}

.server-app-directory > header > i {
  color: #fff;
  background: linear-gradient(135deg, #0060ff, #12a4ff);
  border-radius: 13px;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 18px;
  display: grid;
}

.server-app-directory header span {
  gap: 5px;
  display: grid;
}

.server-app-directory header b {
  font-size: 12px;
}

.server-app-directory header small {
  font-size: 8px;
}

.server-app-directory > div {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}

.server-app-directory article {
  border: 1px solid var(--xc-stroke);
  background: #ffffff06;
  border-radius: 12px;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 82px;
  padding: 11px;
  display: grid;
}

.server-app-directory article > i {
  background: rgba(var(--xc-blue-rgb),.13);
  color: #70b8ff;
  border-radius: 10px;
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
}

.server-app-directory article span {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.server-app-directory article b {
  font-size: 9px;
}

.server-app-directory article small {
  font-size: 7px;
  line-height: 1.4;
}

.server-app-directory article em {
  color: #51dca7;
  grid-column: 1 / -1;
  font-size: 6px;
  font-style: normal;
  font-weight: 900;
}

.server-app-directory > button {
  border: 1px solid var(--xc-stroke);
  color: #c6d2e1;
  background: #ffffff09;
  border-radius: 9px;
  min-height: 38px;
}

.server-insights .insight-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  display: grid;
}

.insight-stat-grid article {
  border: 1px solid var(--xc-stroke);
  background: radial-gradient(circle at 50% 0,rgba(var(--xc-blue-rgb),.12),transparent 48%),#ffffff05;
  border-radius: 14px;
  place-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 100px;
  display: grid;
}

.insight-stat-grid article > i {
  color: #6bb5ff;
  font-size: 17px;
}

.insight-stat-grid span {
  justify-items: center;
  gap: 4px;
  display: grid;
}

.insight-stat-grid b {
  font-size: 18px;
}

.insight-stat-grid small {
  font-size: 7px;
}

.insight-health {
  border: 1px solid var(--xc-stroke);
  background: #ffffff06;
  border-radius: 14px;
  gap: 10px;
  padding: 16px;
  display: grid;
}

.insight-health header {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.insight-health header span {
  gap: 4px;
  display: grid;
}

.insight-health header small {
  font-size: 7px;
}

.insight-health header b {
  font-size: 11px;
}

.insight-health header strong {
  color: #6ab4ff;
}

.insight-health > div {
  background: #0a1421;
  border-radius: 99px;
  height: 8px;
  overflow: hidden;
}

.insight-health > div i {
  border-radius: inherit;
  background: linear-gradient(90deg, #0060ff, #16c4ff);
  height: 100%;
  display: block;
  box-shadow: 0 0 14px #0060ff;
}

.insight-health p {
  color: #8190a4;
  margin: 0;
  font-size: 8px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .rich-server-dropdown {
    max-height: calc(100dvh - 88px);
    width: auto !important;
    position: fixed !important;
    inset: auto 8px 72px !important;
  }

  .channel-type-choice, .server-app-directory > div {
    grid-template-columns: 1fr;
  }

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

/* [project]/src/app/server-settings.css [app-client] (css) */
.workspace-settings-window:has(.server-settings-nav) {
  grid-template-columns: 250px minmax(0, 1fr);
  width: min(1280px, 100vw - 28px);
}

.workspace-settings-window:has(.server-settings-nav) > aside {
  padding: 18px 12px !important;
}

.workspace-settings-window:has(.server-settings-nav) > aside > header {
  display: none;
}

.workspace-settings-window:has(.server-settings-nav) > aside > nav {
  overflow-y: auto;
  padding: 0 !important;
}

.server-settings-nav {
  gap: 0;
  padding: 4px 2px 28px;
  display: grid;
}

.server-settings-nav > section {
  border-bottom: 1px solid #ffffff12;
  gap: 1px;
  padding: 9px 0 10px;
  display: grid;
}

.server-settings-nav > section:first-child {
  padding-top: 0;
}

.server-settings-nav > section:last-child {
  border-bottom: 0;
}

.server-settings-nav > section > small {
  letter-spacing: .05em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 10px 5px;
  font-size: 7px;
  font-weight: 800;
  overflow: hidden;
  color: #74869f !important;
}

.workspace-settings-window .server-settings-nav button {
  align-items: center;
  font-weight: 600;
  min-height: 32px !important;
  box-shadow: none !important;
  color: #a7b5c8 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 7px !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 5px 10px !important;
  font-size: 10px !important;
  display: flex !important;
}

.workspace-settings-window .server-settings-nav button:hover {
  color: #fff !important;
  background: #ffffff0b !important;
}

.workspace-settings-window .server-settings-nav button.active {
  background: linear-gradient(90deg,rgba(var(--xc-blue-rgb),.24),rgba(var(--xc-blue-rgb),.06)) !important;
  box-shadow: inset 3px 0 var(--xc-cyan) !important;
  color: #fff !important;
}

.workspace-settings-window .server-settings-nav button > span {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.workspace-settings-window .server-settings-nav button > i {
  color: #738299;
  font-size: 8px;
  width: auto !important;
}

.workspace-settings-window .server-settings-nav button:last-child > i.fa-circle {
  color: #696cff;
}

.workspace-settings-window .server-settings-nav button.danger {
  color: #ff818b !important;
}

.workspace-settings-window .server-settings-nav button.danger > i {
  color: #ff7583;
}

.server-tag-preview {
  border: 1px solid var(--xc-stroke);
  background: radial-gradient(circle at 90% 0,rgba(var(--xc-blue-rgb),.16),transparent 38%),#ffffff06;
  border-radius: 15px;
  align-items: center;
  gap: 15px;
  min-height: 104px;
  padding: 17px;
  display: flex;
}

.server-tag-preview > span {
  color: #fff;
  background: linear-gradient(135deg, #0060ff, #16b5ff);
  border-radius: 18px;
  place-items: center;
  width: 64px;
  height: 64px;
  font-size: 20px;
  font-weight: 800;
  display: grid;
  overflow: hidden;
}

.server-tag-preview img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.server-tag-preview > div {
  align-items: center;
  gap: 9px;
  display: flex;
}

.server-tag-preview b {
  font-size: 15px;
}

.server-tag-preview em {
  background: rgba(var(--xc-blue-rgb),.15);
  color: #86c4ff;
  letter-spacing: .1em;
  border: 1px solid #64a6ff59;
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.settings-help {
  color: #7f8fa5;
  gap: 7px;
  margin: 0;
  font-size: 8px;
  display: flex;
}

.settings-list-search {
  border: 1px solid var(--xc-stroke);
  color: #718197;
  background: #07101c;
  border-radius: 10px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 11px;
  display: grid;
}

.settings-list-search input {
  color: #e6edf7;
  background: none;
  border: 0;
  outline: 0;
  height: 40px;
}

.settings-list-search span {
  font-size: 8px;
}

.server-member-list, .server-invite-list, .integration-list, .audit-log-list, .ban-list {
  gap: 7px;
  display: grid;
}

.server-member-list > article {
  border: 1px solid var(--xc-stroke);
  background: #ffffff06;
  border-radius: 12px;
  grid-template-columns: 38px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px 12px;
  display: grid;
}

.server-member-list .avatar, .ban-list .avatar {
  width: 38px !important;
  height: 38px !important;
}

.server-member-list > article > div, .server-member-list > article > span:nth-child(2) {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.server-member-list b {
  font-size: 10px;
}

.server-member-list small {
  font-size: 8px;
}

.server-member-list > article > em {
  color: #718198;
  font-size: 7px;
  font-style: normal;
}

.member-actions {
  gap: 5px;
  display: flex !important;
}

.member-actions button {
  border: 1px solid var(--xc-stroke);
  color: #93a4ba;
  background: #ffffff08;
  border-radius: 8px;
  width: 30px;
  height: 30px;
}

.member-actions button:last-child {
  color: #ff8090;
}

.invite-create-row, .integration-create, .expression-create {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  display: grid;
}

.invite-create-row select, .integration-create :is(input, select), .expression-create :is(input, label) {
  border: 1px solid var(--xc-stroke);
  color: #d7e2ef;
  background: #07101c;
  border-radius: 10px;
  min-width: 0;
  min-height: 42px;
  padding: 0 11px;
}

.server-invite-list article, .integration-list article, .audit-log-list article, .ban-list article {
  border: 1px solid var(--xc-stroke);
  background: #ffffff06;
  border-radius: 11px;
  grid-template-columns: 34px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 10px 12px;
  display: grid;
}

.server-invite-list article > i, .integration-list article > i, .audit-log-list article > i {
  background: rgba(var(--xc-blue-rgb),.13);
  color: #6fb6ff;
  border-radius: 10px;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.server-invite-list span, .integration-list span, .audit-log-list span, .ban-list span {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.server-invite-list b, .integration-list b, .audit-log-list b, .ban-list b {
  font-size: 9px;
}

.server-invite-list small, .integration-list small, .audit-log-list small, .ban-list small {
  font-size: 7px;
}

.server-invite-list button {
  border: 1px solid var(--xc-stroke);
  color: #8e9fb5;
  background: none;
  border-radius: 8px;
  width: 30px;
  height: 30px;
}

.server-invite-list button.danger {
  color: #ff7b8e;
}

.integration-create {
  grid-template-columns: minmax(130px, 1fr) minmax(130px, 1fr) auto;
}

.integration-list article {
  grid-template-columns: 34px minmax(0, 1fr) auto;
}

.integration-list em {
  color: #50dca7;
  font-size: 6px;
  font-style: normal;
  font-weight: 900;
}

.expression-create {
  grid-template-columns: minmax(130px, 1fr) minmax(160px, 1fr) auto;
}

.expression-create label {
  cursor: pointer;
  align-items: center;
  gap: 8px;
  display: flex;
}

.expression-create label input {
  display: none;
}

.expression-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  display: grid;
}

.expression-grid article {
  border: 1px solid var(--xc-stroke);
  background: #ffffff06;
  border-radius: 12px;
  place-content: center;
  justify-items: center;
  gap: 7px;
  min-height: 92px;
  padding: 9px;
  display: grid;
}

.expression-grid img {
  object-fit: contain;
  width: 42px;
  height: 42px;
}

.expression-grid article > i {
  background: rgba(var(--xc-blue-rgb),.13);
  color: #6bb4ff;
  border-radius: 12px;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
}

.expression-grid b {
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 8px;
  overflow: hidden;
}

.expression-grid small {
  font-size: 7px;
}

.audit-log-list article {
  grid-template-columns: 34px minmax(0, 1fr) auto;
}

.audit-log-list code {
  color: #718198;
  font-size: 7px;
}

.ban-list article {
  grid-template-columns: 38px minmax(0, 1fr) auto;
}

.ban-list button {
  color: #ff8b99;
  background: #ff425512;
  border: 1px solid #ff62733d;
  border-radius: 8px;
  min-height: 32px;
  padding: 0 10px;
  font-size: 8px;
}

.safety-choice {
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  display: grid;
}

.safety-choice > button {
  border: 1px solid var(--xc-stroke);
  color: #aab7c9;
  text-align: left;
  background: #ffffff06;
  border-radius: 13px;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 86px;
  padding: 13px;
  display: grid;
}

.safety-choice > button.selected {
  background: rgba(var(--xc-blue-rgb),.11);
  color: #fff;
  border-color: #3691ff99;
}

.safety-choice > button > i:first-child {
  background: rgba(var(--xc-blue-rgb),.13);
  color: #69b3ff;
  border-radius: 11px;
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
}

.safety-choice > button > i:last-child {
  color: #469bff;
}

.safety-choice span {
  gap: 5px;
  display: grid;
}

.safety-choice b {
  font-size: 10px;
}

.safety-choice small {
  font-size: 8px;
  line-height: 1.4;
}

.server-feature-card {
  background: radial-gradient(circle at 50% 26%,rgba(var(--xc-blue-rgb),.12),transparent 42%);
  text-align: center;
  border: 1px dashed #5d97de4d;
  border-radius: 17px;
  place-content: center;
  justify-items: center;
  min-height: 260px;
  padding: 30px;
  display: grid;
}

.server-feature-card > i {
  background: linear-gradient(135deg,rgba(var(--xc-blue-rgb),.28),#00c6ff1f);
  color: #74bcff;
  border-radius: 18px;
  place-items: center;
  width: 62px;
  height: 62px;
  font-size: 24px;
  display: grid;
}

.server-feature-card h3 {
  margin: 14px 0 6px;
  font-size: 15px;
}

.server-feature-card p {
  color: #8392a7;
  max-width: 430px;
  margin: 0;
  font-size: 9px;
  line-height: 1.65;
}

.template-preview {
  border: 1px solid var(--xc-stroke);
  background: #ffffff06;
  border-radius: 13px;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 14px;
  display: flex;
}

.template-preview > i {
  background: rgba(var(--xc-blue-rgb),.13);
  color: #70b8ff;
  border-radius: 13px;
  place-items: center;
  width: 46px;
  height: 46px;
  display: grid;
}

.template-preview span {
  gap: 5px;
  display: grid;
}

.template-preview b {
  font-size: 11px;
}

.template-preview small {
  font-size: 8px;
}

.template-code {
  border: 1px solid var(--xc-stroke);
  color: #8ac5ff;
  resize: vertical;
  background: #030913;
  border-radius: 13px;
  min-height: 260px;
  padding: 14px;
  font: 9px / 1.6 ui-monospace, monospace;
}

.delete-server-warning {
  background: linear-gradient(135deg, #ff33461c, #12080e80);
  border: 1px solid #ff4c5b47;
  border-radius: 14px;
  gap: 14px;
  padding: 18px;
  display: flex;
}

.delete-server-warning > i {
  color: #ff6e7c;
  font-size: 22px;
}

.delete-server-warning div {
  gap: 6px;
  display: grid;
}

.delete-server-warning b {
  font-size: 12px;
}

.delete-server-warning p {
  color: #a696a1;
  margin: 0;
  font-size: 9px;
  line-height: 1.55;
}

.delete-server-button {
  width: max-content;
  min-height: 42px;
  padding: 0 15px;
}

@media (max-width: 700px) {
  .workspace-settings-window:has(.server-settings-nav) > aside {
    min-height: 62px;
    max-height: 62px;
    padding: 6px 8px !important;
  }

  .server-settings-nav {
    gap: 4px;
    padding: 0;
    display: flex;
    overflow-x: auto;
  }

  .server-settings-nav > section {
    display: contents;
  }

  .server-settings-nav > section > small {
    display: none;
  }

  .workspace-settings-window .server-settings-nav button {
    flex: 0 0 56px !important;
    justify-content: center !important;
    min-width: 56px !important;
    min-height: 48px !important;
    padding: 5px !important;
    font-size: 0 !important;
  }

  .workspace-settings-window .server-settings-nav button > i {
    font-size: 13px;
  }

  .workspace-settings-window .server-settings-nav button > span:before {
    content: "";
    font: 900 14px / 1 "Font Awesome 6 Free";
  }

  .server-member-list > article {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .server-member-list > article > em {
    display: none;
  }

  .member-actions {
    justify-content: flex-end;
    grid-column: 1 / -1 !important;
  }

  .invite-create-row, .integration-create, .expression-create {
    grid-template-columns: 1fr;
  }

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

  .safety-choice {
    grid-template-columns: 1fr;
  }
}

/* [project]/src/app/xcord-home.css [app-client] (css) */
.direct-shell.home-feature-mode {
  grid-template-columns: var(--rail-width) var(--sidebar-width) minmax(0,1fr);
}

.direct-shell.home-feature-mode > .direct-content {
  visibility: hidden;
  pointer-events: none;
  grid-area: 1 / 3;
}

.home-feature-overlay {
  z-index: 5;
  border: 1px solid var(--xc-stroke);
  background: radial-gradient(circle at 82% 0,rgba(var(--xc-blue-rgb),.12),transparent 32%),linear-gradient(150deg,#0d1727f7,#04080ffa);
  border-radius: 16px;
  grid-area: 1 / 3;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  box-shadow: 0 22px 70px #00000059;
}

.direct-sidebar {
  padding-top: 0;
}

.direct-sidebar > .app-brand-strip {
  display: none;
}

.direct-sidebar > header {
  gap: 6px;
}

.direct-sidebar > header label {
  flex: 1;
  min-width: 0;
}

.direct-sidebar > header > button {
  border: 1px solid var(--xc-stroke);
  color: #93a4ba;
  background: #ffffff08;
  border-radius: 9px;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
}

.xcord-home-nav {
  border-bottom: 1px solid #fff1;
  gap: 2px;
  padding: 8px 8px 6px;
  display: grid;
}

.xcord-home-nav > button {
  color: #9dabbe;
  text-align: left;
  background: none;
  border: 1px solid #0000;
  border-radius: 9px;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 7px 10px;
  display: grid;
}

.xcord-home-nav > button:hover {
  border-color: var(--xc-stroke);
  color: #eaf1fa;
  background: #ffffff0a;
}

.xcord-home-nav > button.active {
  background: linear-gradient(90deg,rgba(var(--xc-blue-rgb),.23),rgba(var(--xc-blue-rgb),.05));
  box-shadow: inset 3px 0 var(--xc-cyan);
  color: #fff;
  border-color: #3f93ff4d;
}

.xcord-home-nav > button > i {
  color: #8292a8;
  text-align: center;
  width: 20px;
}

.xcord-home-nav > button.active > i {
  color: #70b7ff;
}

.xcord-home-nav > button > span {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  overflow: hidden;
}

.xcord-home-nav > button > b {
  color: #fff;
  background: #e33e55;
  border-radius: 99px;
  place-items: center;
  min-width: 18px;
  height: 18px;
  font-size: 7px;
  display: grid;
}

.xcord-home-nav > button > em {
  color: #718198;
  letter-spacing: .06em;
  background: #ffffff09;
  border: 1px solid #7d8fab38;
  border-radius: 99px;
  padding: 2px 5px;
  font-size: 5px;
  font-style: normal;
  font-weight: 900;
}

.xcord-home-nav > button > em.live {
  color: #5ce0aa;
  background: #2dcb911a;
  border-color: #3ed8a040;
}

.xcord-home-nav .nitro-link > i {
  color: #cb83ff;
}

.xcord-home-nav .nitro-link.active {
  background: linear-gradient(90deg, #753bf240, #ff35be0f);
  border-color: #be5cff4d;
  box-shadow: inset 3px 0 #c769ff;
}

.friends-search {
  border: 1px solid var(--xc-stroke);
  color: #718299;
  background: #03091094;
  border-radius: 10px;
  grid-template-columns: 22px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  margin-bottom: 17px;
  padding: 0 10px;
  display: grid;
}

.friends-search input {
  color: #e5edf7;
  outline: 0;
  width: 100%;
  height: 40px;
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
}

.friends-search button {
  color: #8091a7;
  background: none;
  border: 0;
  place-items: center;
  width: 25px;
  height: 25px;
  display: grid;
}

.friends-body {
  overflow-y: auto;
}

.friend-row .avatar img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.friend-row > div {
  min-width: 0;
}

.friend-row > div b, .friend-row > div small {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.friend-row > div small {
  margin-top: 4px;
}

.friends-empty {
  text-align: center;
  place-content: center;
  justify-items: center;
  min-height: 260px;
  padding: 32px;
  display: grid;
}

.friends-empty > span {
  background: linear-gradient(145deg,rgba(var(--xc-blue-rgb),.18),#00beff0f);
  color: #70b8ff;
  border: 1px solid #4f9dff38;
  border-radius: 20px;
  place-items: center;
  width: 62px;
  height: 62px;
  font-size: 22px;
  display: grid;
  box-shadow: 0 18px 45px #00000038;
}

.friends-empty h2 {
  margin: 15px 0 5px;
  font-size: 15px;
}

.friends-empty p {
  color: #7f90a7;
  max-width: 320px;
  margin: 0;
  font-size: 9px;
  line-height: 1.65;
}

.xcord-feature-page {
  flex-direction: column;
  height: 100%;
  min-height: 0;
  display: flex;
}

.xcord-feature-header {
  border-bottom: 1px solid var(--xc-stroke);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: #040a12a6;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 13px clamp(18px, 3vw, 34px);
  display: flex;
}

.xcord-feature-header > button.mobile-only, .friends-header > button.mobile-only {
  color: #9dadc0;
  background: #ffffff0b;
  border: 0;
  border-radius: 9px;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}

.xcord-feature-header > span {
  background: linear-gradient(135deg,rgba(var(--xc-blue-rgb),.24),#00c1ff1a);
  color: #73baff;
  border: 1px solid #5fa9ff3d;
  border-radius: 14px;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 18px;
  display: grid;
}

.xcord-feature-header > div {
  flex: 1;
  min-width: 0;
}

.xcord-feature-header small {
  letter-spacing: .16em;
  font-size: 7px;
  font-weight: 900;
  color: #5caaff !important;
}

.xcord-feature-header h1 {
  margin: 3px 0 2px;
  font-size: 18px;
}

.xcord-feature-header p {
  color: #7f8fa5;
  margin: 0;
  font-size: 8px;
}

.xcord-feature-header > b {
  color: #59dfa9;
  white-space: nowrap;
  background: #2ac88f17;
  border: 1px solid #3ad99f40;
  border-radius: 99px;
  padding: 7px 10px;
  font-size: 7px;
}

.xcord-feature-header > b i {
  margin-right: 5px;
}

.nitro-home-page .xcord-feature-header > span {
  color: #d286ff;
  background: linear-gradient(135deg, #6f3deb54, #ff3abe1f);
  border-color: #c268ff4d;
}

.nitro-home-scroll {
  flex: 1;
  min-height: 0;
  padding: 22px clamp(14px, 3vw, 38px) 80px;
  overflow-y: auto;
}

.nitro-home-scroll > .nitro-panel {
  max-width: 1100px;
  margin-inline: auto;
}

.coming-soon-page {
  position: relative;
  overflow: hidden;
}

.coming-preview {
  filter: blur(7px) saturate(.7);
  opacity: .43;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  flex: 1;
  min-height: 0;
  padding: 28px clamp(18px, 4vw, 56px);
  overflow: hidden;
  transform: scale(1.015);
}

.coming-preview-hero {
  border: 1px solid var(--xc-stroke);
  background: radial-gradient(circle at 80% 20%,#00c4ff33,transparent 30%),linear-gradient(135deg,rgba(var(--xc-blue-rgb),.22),#ffffff06);
  border-radius: 20px;
  align-items: center;
  gap: 22px;
  min-height: 180px;
  padding: 28px;
  display: flex;
}

.coming-preview-hero > i {
  color: #fff;
  background: linear-gradient(135deg, #0060ff, #20b9ff);
  border-radius: 22px;
  place-items: center;
  width: 80px;
  height: 80px;
  font-size: 30px;
  display: grid;
}

.coming-preview-hero small {
  color: #6bb6ff;
  letter-spacing: .16em;
  font-size: 7px;
}

.coming-preview-hero h2 {
  margin: 6px 0;
  font-size: 22px;
}

.coming-preview-hero p {
  color: #91a1b5;
  margin: 0;
  font-size: 10px;
}

.coming-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  display: grid;
}

.coming-card-grid article {
  border: 1px solid var(--xc-stroke);
  background: #ffffff09;
  border-radius: 17px;
  align-content: center;
  justify-items: start;
  gap: 10px;
  min-height: 190px;
  padding: 20px;
  display: grid;
}

.coming-card-grid article > i {
  background: rgba(var(--xc-blue-rgb),.15);
  color: #75bcff;
  border-radius: 13px;
  place-items: center;
  width: 44px;
  height: 44px;
  display: grid;
}

.coming-card-grid b {
  font-size: 12px;
}

.coming-card-grid small {
  min-height: 34px;
  font-size: 8px;
  line-height: 1.5;
}

.coming-card-grid button {
  border: 1px solid var(--xc-stroke);
  color: #c6d3e2;
  background: #ffffff0a;
  border-radius: 9px;
  min-height: 34px;
  padding: 0 12px;
}

.coming-soon-lock {
  z-index: 4;
  width: min(430px, 100% - 32px);
  box-shadow: 0 28px 90px #000000ad,0 0 60px rgba(var(--xc-blue-rgb),.12);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  text-align: center;
  background: linear-gradient(145deg, #08111eed, #03070df5);
  border: 1px solid #57a1ff47;
  border-radius: 20px;
  justify-items: center;
  padding: 28px;
  display: grid;
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -42%);
}

.coming-soon-lock > span {
  background: rgba(var(--xc-blue-rgb),.12);
  color: #74baff;
  letter-spacing: .1em;
  border: 1px solid #5ba3ff4d;
  border-radius: 99px;
  padding: 7px 11px;
  font-size: 7px;
  font-weight: 900;
}

.coming-soon-lock h2 {
  margin: 15px 0 7px;
  font-size: 17px;
}

.coming-soon-lock p {
  color: #8999ae;
  max-width: 330px;
  margin: 0;
  font-size: 9px;
  line-height: 1.6;
}

.activity-card {
  background: #ffffff06;
}

.activity-card:hover {
  background: rgba(var(--xc-blue-rgb),.07);
  border-color: #4697ff47;
}

@media (max-width: 1150px) {
  .direct-shell.friends-mode {
    grid-template-columns: var(--rail-width) var(--sidebar-width) minmax(0,1fr);
  }

  .activity-sidebar {
    display: none;
  }
}

@media (max-width: 700px) {
  .direct-shell.home-feature-mode {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .direct-shell.home-feature-mode > .direct-content, .home-feature-overlay {
    grid-column: 2;
  }

  .home-feature-overlay {
    border-radius: 12px;
  }

  .xcord-feature-header {
    min-height: 64px;
    padding: 9px 12px;
  }

  .xcord-feature-header > span {
    border-radius: 11px;
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .xcord-feature-header h1 {
    font-size: 15px;
  }

  .xcord-feature-header p {
    display: none;
  }

  .nitro-home-scroll {
    padding: 14px 10px 80px;
  }

  .coming-preview {
    padding: 14px;
  }

  .coming-card-grid {
    grid-template-columns: 1fr;
  }

  .coming-preview-hero {
    min-height: 140px;
  }

  .coming-soon-lock {
    padding: 22px 16px;
  }

  .friends-header nav {
    overflow-x: auto;
  }

  .friends-header nav button {
    white-space: nowrap;
  }

  .friends-body {
    padding: 12px;
  }

  .xcord-home-nav {
    padding-inline: 6px;
  }
}

.create-server-orb {
  color: #69dca8;
}

.xcord-feature-header.no-title-box > i {
  color: #66adff;
  width: auto;
  height: auto;
  box-shadow: none;
  background: none;
  border: 0;
  flex: none;
  font-size: 22px;
  display: block;
}

.xcord-feature-header.no-title-box > span {
  display: none;
}

.game-library-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  min-height: 0;
  padding: 22px clamp(14px, 3vw, 38px) 88px;
  display: grid;
  overflow: auto;
}

.game-library-grid article {
  border: 1px solid var(--xc-stroke);
  background: linear-gradient(145deg, #101d31e0, #03070df2);
  border-radius: 16px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 48px #00000047;
}

.game-library-grid article:before {
  content: "";
  background: linear-gradient(to top,#000000f0,#0000001f 52%,transparent),var(--game-header) center/cover;
  opacity: .72;
  position: absolute;
  inset: 0;
}

.game-library-grid article > img {
  object-fit: cover;
  border-radius: 10px;
  width: 78px;
  height: 112px;
  position: absolute;
  inset: 12px 12px auto;
  box-shadow: 0 14px 34px #0000006b;
}

.game-library-grid article > div {
  gap: 7px;
  display: grid;
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
}

.game-library-grid article > div > img {
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 5px 16px #000000b3);
  max-width: 112px;
  max-height: 34px;
}

.game-library-grid h3 {
  margin: 0;
  font-size: 14px;
}

.game-library-grid p {
  color: #95a4b8;
  margin: 0;
  font-size: 9px;
}

.game-library-grid span {
  border: 1px solid color-mix(in srgb,var(--game-tone) 45%,transparent);
  background: color-mix(in srgb,var(--game-tone) 14%,#0000008c);
  color: #fff;
  border-radius: 99px;
  align-items: center;
  gap: 6px;
  width: max-content;
  padding: 6px 8px;
  font-size: 8px;
  display: inline-flex;
}

.game-library-grid .featured {
  grid-column: span 2;
}

.game-library-grid .featured > img {
  width: 112px;
  height: 160px;
}

.direct-call-panel {
  border: 1px solid var(--xc-stroke-strong);
  background: linear-gradient(145deg, #0d1829f0, #02070df5);
  border-radius: 16px;
  margin: 10px 12px 0;
  overflow: hidden;
  box-shadow: 0 18px 58px #0006;
}

.direct-call-panel > header {
  border-bottom: 1px solid var(--xc-stroke);
  background: #ffffff06;
  justify-content: space-between;
  align-items: center;
  min-height: 54px;
  padding: 10px 14px;
  display: flex;
}

.direct-call-panel h2 {
  margin: 2px 0 0;
  font-size: 15px;
}

.direct-call-panel small {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 7px;
}

.direct-call-panel > header > span {
  color: #70d7ff;
  text-transform: uppercase;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  display: flex;
}

.direct-call-stage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  display: grid;
}

.direct-call-stage.has-screen {
  grid-template-columns: minmax(0, 1.5fr) minmax(160px, .65fr);
}

.call-avatar-tile, .call-stream-tile {
  border: 1px solid var(--xc-stroke);
  background: radial-gradient(circle at 50% 35%,rgba(var(--xc-blue-rgb),.22),transparent 35%),#00040ab8;
  border-radius: 14px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.call-avatar-tile {
  place-content: center;
  justify-items: center;
  gap: 9px;
  display: grid;
}

.call-avatar-tile .avatar {
  width: 82px;
  height: 82px;
  font-size: 24px;
}

.call-stream-tile video {
  object-fit: cover;
  background: #03070d;
  width: 100%;
  height: 100%;
}

.call-stream-tile footer {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: #00050cb8;
  border: 1px solid #ffffff14;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px;
  display: flex;
  position: absolute;
  bottom: 9px;
  left: 9px;
  right: 9px;
}

.call-stream-tile footer span {
  align-items: center;
  gap: 7px;
  min-width: 0;
  display: flex;
}

.call-stream-tile footer b {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  overflow: hidden;
}

.call-stream-tile footer button {
  color: #9fb2c9;
  background: none;
  border: 0;
}

.direct-call-panel > footer {
  border-top: 1px solid var(--xc-stroke);
  justify-content: center;
  gap: 8px;
  padding: 10px;
  display: flex;
}

.direct-call-panel > footer button {
  border: 1px solid var(--xc-stroke);
  color: #c7d4e4;
  background: #ffffff0b;
  border-radius: 10px;
  min-width: 42px;
  height: 38px;
}

.direct-call-panel > footer button.active {
  background: rgba(var(--xc-blue-rgb),.18);
  color: #fff;
  border-color: #4e99ff8c;
}

.direct-call-panel > footer .hangup {
  color: #fff;
  background: #d93f5a;
  border-color: #ff527052;
}

.direct-call-panel > footer .accept-call {
  color: #03130d;
  background: #2dd28f;
  padding: 0 14px;
}

.create-server-modal {
  width: min(620px, 100vw - 26px);
}

.create-server-modal form {
  gap: 14px;
  display: grid;
}

.server-create-steps {
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  display: grid;
}

.server-create-steps span {
  text-indent: -999px;
  background: #17243a;
  border-radius: 99px;
  height: 5px;
  overflow: hidden;
}

.server-create-steps span.active {
  background: linear-gradient(90deg,var(--xc-blue),var(--xc-cyan));
}

.server-template-grid, .server-audience-grid {
  gap: 8px;
  display: grid;
}

.server-template-grid button, .server-audience-grid button {
  border: 1px solid var(--xc-stroke);
  color: #dbe6f4;
  text-align: left;
  background: #ffffff09;
  border-radius: 12px;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 10px;
  display: grid;
}

.server-audience-grid button {
  grid-template-columns: 38px minmax(0, 1fr);
}

.server-template-grid button.selected, .server-audience-grid button.selected {
  background: rgba(var(--xc-blue-rgb),.15);
  border-color: #4195ff94;
}

.server-template-grid b, .server-audience-grid b {
  font-size: 11px;
  display: block;
}

.server-template-grid small, .server-audience-grid small {
  margin-top: 4px;
  font-size: 8px;
  display: block;
}

.server-identity-create {
  gap: 11px;
  display: grid;
}

.server-identity-create label {
  color: #93a3b8;
  text-transform: uppercase;
  gap: 6px;
  font-size: 8px;
  display: grid;
}

.server-identity-create input, .server-identity-create textarea {
  width: 100%;
  padding: 11px;
}

.server-icon-preview {
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  text-transform: none !important;
}

.server-icon-preview span {
  color: #fff;
  background: linear-gradient(135deg, #0060ff, #23baff);
  border-radius: 20px;
  place-items: center;
  width: 64px;
  height: 64px;
  font-size: 20px;
  font-weight: 900;
  display: grid;
}

.server-create-review {
  border: 1px solid var(--xc-stroke);
  background: rgba(var(--xc-blue-rgb),.08);
  border-radius: 12px;
  padding: 12px;
}

.create-server-modal footer {
  justify-content: flex-end;
  gap: 8px;
  display: flex;
}

.create-server-modal footer button {
  border-radius: 10px;
  min-height: 38px;
  padding: 0 14px;
}

@media (max-width: 760px) {
  .game-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px 10px 78px;
  }

  .game-library-grid .featured {
    grid-column: auto;
  }

  .game-library-grid article {
    min-height: 220px;
  }

  .game-library-grid article > img {
    width: 64px;
    height: 92px;
  }

  .direct-call-stage, .direct-call-stage.has-screen {
    grid-template-columns: 1fr;
  }

  .call-avatar-tile, .call-stream-tile {
    min-height: 180px;
  }

  .direct-call-panel {
    margin-inline: 8px;
  }

  .direct-call-panel > footer {
    justify-content: flex-start;
    position: sticky;
    bottom: 0;
    overflow-x: auto;
  }

  .server-template-grid button, .server-audience-grid button {
    min-height: 58px;
  }
}

.stream-tile-controls {
  z-index: 4;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: #04080ee8;
  border: 1px solid #0060ff59;
  border-radius: 11px;
  gap: 7px;
  width: min(215px, 100% - 20px);
  padding: 9px;
  display: grid;
  position: absolute;
  top: 10px;
  right: 10px;
  box-shadow: 0 14px 34px #0000005c;
}

.stream-tile-controls label {
  color: #8dbfff;
  grid-template-columns: 15px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 6px;
  display: grid;
}

.stream-tile-controls input {
  accent-color: #0060ff;
  width: 100%;
}

.stream-tile-controls small {
  color: #dce9f7;
  text-align: left;
  font-size: 8px;
}

.stream-tile-controls input:disabled {
  opacity: .4;
}

.call-stream-tile video, .stream-tile video {
  transform-origin: center;
  transition: transform .18s;
}

.call-stream-tile footer button, .stream-tile footer button {
  border-radius: 8px;
  place-items: center;
  min-width: 28px;
  min-height: 28px;
  display: grid;
}

.call-stream-tile footer button:hover, .stream-tile footer button:hover {
  color: #fff;
  background: #0060ff2e;
}

@media (max-width: 480px) {
  .game-library-grid {
    grid-template-columns: 1fr;
  }

  .create-server-modal {
    width: calc(100vw - 14px);
  }

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

  .server-icon-preview span {
    width: 58px;
    height: 58px;
  }

  .direct-call-panel h2 {
    font-size: 13px;
  }
}

.xcord-feature-header > .xcord-header-art {
  width: 58px;
  height: 58px;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  flex: 0 0 58px;
  place-items: center;
  display: grid;
  overflow: hidden;
}

.xcord-header-art img {
  object-fit: contain;
  filter: drop-shadow(0 12px 17px #00000052);
  width: 100%;
  height: 100%;
}

.nitro-home-page .xcord-feature-header > .xcord-header-art {
  color: inherit;
  background: none;
  border: 0;
}

.coming-preview-hero > img {
  object-fit: contain;
  filter: drop-shadow(0 16px 20px #00000047);
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
}

.direct-call-panel > header {
  justify-content: flex-start;
  gap: 10px;
}

.direct-call-panel > header > span {
  margin-left: auto;
}

.direct-call-header-art {
  object-fit: contain;
  filter: drop-shadow(0 8px 12px #0000004d);
  width: 37px;
  height: 37px;
}

.friends-header > i.fa-user-group {
  display: none;
}

.friends-header > b:first-of-type {
  align-items: center;
  gap: 8px;
  display: flex;
}

.friends-header > b:first-of-type:before {
  content: "";
  filter: drop-shadow(0 8px 10px #00000047);
  background: url("/xcord-art-friends-3d.png") center / contain no-repeat;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  display: inline-block;
}

.voice-stage {
  position: relative;
}

.voice-stage-header {
  border-bottom: 1px solid var(--xc-stroke, #6fa6f029);
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 13px;
  display: flex;
}

.voice-stage-header img {
  object-fit: contain;
  filter: drop-shadow(0 8px 12px #0000004d);
  width: 42px;
  height: 42px;
}

.voice-stage-header small {
  color: #3c94ff;
  letter-spacing: .12em;
  font-size: 8px;
  font-weight: 800;
  display: block;
}

.voice-stage-header h2 {
  margin: 3px 0 0;
  font-size: 14px;
}

@media (max-width: 700px) {
  .xcord-feature-header > .xcord-header-art {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
  }

  .coming-preview-hero > img {
    flex-basis: 62px;
    width: 62px;
    height: 62px;
  }

  .friends-header > b:first-of-type:before {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
  }

  .voice-stage-header {
    min-height: 50px;
    padding: 6px 9px;
  }

  .voice-stage-header img {
    width: 34px;
    height: 34px;
  }

  .voice-stage-header h2 {
    font-size: 12px;
  }
}

.settings-window > main > header {
  gap: 10px;
}

.settings-header-art {
  object-fit: contain;
  filter: drop-shadow(0 9px 13px #0000004d);
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
}

.settings-window > aside > header .settings-side-mark {
  background: #0060ff;
  border-radius: 9px;
  place-items: center;
  width: 30px;
  height: 30px;
  display: grid;
}

.settings-window > aside > header .settings-side-mark img {
  filter: brightness(0) invert();
  width: 21px;
  height: 21px;
}

.section-title {
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.section-title-art {
  object-fit: contain;
  filter: drop-shadow(0 7px 10px #00000040);
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
}

.section-title > span {
  min-width: 0;
}

.section-title h3 {
  display: block;
}

.section-title p {
  margin-top: 5px;
}

@media (max-width: 700px) {
  .settings-header-art {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .section-title-art {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }
}

/* [project]/src/app/profile-view.css [app-client] (css) */
.profile-modal-backdrop {
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  background: #01050cb8;
}

.profile-modal.xcord-user-profile {
  --profile-surface: #0a121ff7;
  scrollbar-width: thin;
  scrollbar-color: #3f8bf580 transparent;
  direction: ltr;
  background: radial-gradient(circle at 100% 0, #0060ff1f, #0000 35%), linear-gradient(155deg, #0c1727fc, #040911fc);
  border: 1px solid #5b9dff45;
  border-radius: 22px;
  width: min(430px, 100vw - 28px);
  max-height: min(850px, 100dvh - 28px);
  overflow: hidden auto;
  box-shadow: 0 34px 100px #000000b3, 0 0 70px #0060ff1a, inset 0 1px #ffffff0b;
}

.xcord-user-profile .profile-modal-banner {
  border-bottom: 1px solid #ffffff12;
  height: 148px;
  position: relative;
  overflow: hidden;
}

.xcord-user-profile .profile-banner-image {
  z-index: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.xcord-user-profile .profile-modal-banner:after {
  content: "";
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(#0000 45%, #03080f5c), repeating-linear-gradient(90deg, #0000 0 34px, #ffffff05 35px);
  position: absolute;
  inset: 0;
}

.public-profile-tools {
  z-index: 3;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: #02070e8c;
  border: 1px solid #ffffff17;
  border-radius: 12px;
  gap: 4px;
  padding: 4px;
  display: flex;
  position: absolute;
  top: 12px;
  right: 12px;
  box-shadow: 0 12px 30px #0000003d;
}

.public-profile-tools button {
  color: #c6d1df;
  width: 32px;
  height: 32px;
  background: none !important;
  border: 0 !important;
  border-radius: 8px !important;
}

.public-profile-tools button:hover {
  color: #fff;
  background: #ffffff14 !important;
}

.xcord-user-profile .profile-modal-body {
  gap: 12px;
  padding: 0 17px 17px;
  display: grid;
  position: relative;
}

.public-profile-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  height: 53px;
  display: flex;
}

.xcord-user-profile .profile-modal-avatar {
  background: linear-gradient(135deg, #0060ff, #19bfff);
  margin-top: -49px;
  font-size: 30px;
  position: relative;
  top: auto;
  right: auto;
  border: 7px solid #08111e !important;
  width: 96px !important;
  min-width: 96px !important;
  height: 96px !important;
  overflow: visible !important;
  box-shadow: 0 16px 34px #0006 !important;
}

.xcord-user-profile .profile-modal-avatar img {
  overflow: hidden;
  border-radius: 50% !important;
}

.xcord-user-profile .profile-modal-avatar .presence-dot {
  z-index: 5;
  background: #667386;
  border: 5px solid #08111e;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 2px;
  right: 1px;
}

.xcord-user-profile .profile-modal-avatar .presence-dot.online, .presence-mark.online {
  background: #35d79a;
}

.xcord-user-profile .profile-modal-avatar .presence-dot.idle, .presence-mark.idle {
  background: #f1b84b;
}

.xcord-user-profile .profile-modal-avatar .presence-dot.busy, .presence-mark.busy {
  background: #f05268;
}

.xcord-user-profile .profile-modal-avatar .presence-dot.offline, .presence-mark.offline {
  background: #667386;
}

.public-custom-status {
  color: #91a2b8;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: #0b1626eb;
  border: 1px solid #78a6e52e;
  border-radius: 13px;
  align-items: center;
  gap: 7px;
  max-width: 235px;
  min-height: 43px;
  margin-top: -22px;
  padding: 8px 11px;
  display: flex;
  box-shadow: 0 13px 32px #00000052;
}

.public-custom-status i {
  color: #70839c;
}

.public-custom-status span {
  text-overflow: ellipsis;
  font-size: 10px;
  font-style: italic;
  line-height: 1.45;
  overflow: hidden;
}

.public-profile-identity {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.public-profile-identity > div:first-child {
  min-width: 0;
}

.xcord-user-profile .public-profile-identity h2 {
  overflow-wrap: anywhere;
  color: #f7faff;
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.public-profile-identity p {
  color: #aab7c8;
  margin: 5px 0 0;
  font-size: 10px;
  line-height: 1.45;
}

.xcord-user-profile .profile-badges {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: max-content;
  margin: 0;
  display: flex;
}

.xcord-user-profile .profile-badges span {
  border: 1px solid color-mix(in srgb, var(--badge-color) 35%, transparent);
  background: color-mix(in srgb, var(--badge-color) 12%, #070e18e6);
  width: 25px;
  height: 25px;
  color: var(--badge-color);
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--badge-color) 44%, transparent));
  border-radius: 8px;
  place-items: center;
  padding: 0;
  display: grid;
}

.xcord-user-profile .profile-badges small {
  display: none;
}

.xcord-user-profile .preview-nameplate {
  margin: -3px 0 0;
}

.public-presence-line {
  color: #73839a;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  display: flex;
}

.public-presence-line b {
  color: #cbd6e4;
  font-size: 9px;
}

.public-presence-line small {
  color: #73839a;
}

.presence-mark {
  border-radius: 50%;
  width: 9px;
  height: 9px;
}

.xcord-user-profile .profile-modal-body > section {
  background: linear-gradient(145deg, #111e31b3, #060d17b8);
  border: 1px solid #6391cf24;
  border-radius: 13px;
  margin: 0;
  padding: 12px;
}

.public-profile-section > header, .public-activity-card > header {
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  display: flex;
}

.public-profile-section > header > i {
  color: #5aa9ff;
  font-size: 10px;
}

.xcord-user-profile .public-profile-section > header h3 {
  color: #8495ab;
  letter-spacing: .1em;
  text-transform: uppercase;
  flex: 1;
  margin: 0;
  font-size: 8px;
  font-weight: 800;
}

.public-profile-section > header small {
  color: #77b9ff;
  background: #0060ff26;
  border-radius: 7px;
  place-items: center;
  min-width: 19px;
  height: 19px;
  font-size: 7px;
  display: grid;
}

.xcord-user-profile .public-profile-section > p {
  color: #dce5f0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 10px;
  line-height: 1.65;
}

.xcord-user-profile .public-profile-section > a {
  color: #64afff;
  overflow-wrap: anywhere;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  font-size: 9px;
  text-decoration: none;
  display: flex;
}

.xcord-user-profile .public-profile-section > a i:last-child {
  margin-left: auto;
}

.public-game-list {
  flex-wrap: wrap;
  gap: 7px;
  display: flex;
}

.public-game-list > span, .public-game-cover {
  --game-color: #0060ff;
  border: 1px solid color-mix(in srgb, var(--game-color) 48%, transparent);
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--game-color) 70%, transparent), transparent 58%), #08111e;
  color: #fff;
  width: 38px;
  height: 38px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--game-color) 20%, transparent);
  border-radius: 10px;
  place-items: center;
  display: grid;
}

.xcord-user-profile .public-activity-card {
  background: linear-gradient(135deg, #19273ddb, #08101ce6) !important;
  padding: 11px !important;
}

.public-activity-card > header {
  margin-bottom: 8px;
}

.public-activity-card > header span {
  color: #8e9db1;
  letter-spacing: .08em;
  text-transform: uppercase;
  flex: 1;
  font-size: 8px;
  font-weight: 800;
}

.public-activity-card > header span i {
  color: #44d4a0;
  margin-right: 6px;
}

.public-activity-card > header button {
  color: #7b8ca3;
  background: none;
  border: 0;
  width: 28px;
  height: 28px;
}

.public-activity-card > div {
  align-items: center;
  gap: 11px;
  display: flex;
}

.public-game-cover {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  font-size: 19px;
}

.public-activity-card > div > div {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.public-activity-card b {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  overflow: hidden;
}

.public-activity-card small {
  color: #8392a6;
  font-size: 8px;
}

.public-activity-card small i {
  color: #5caaff;
  width: 12px;
}

.public-profile-section.roles > div {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.public-profile-section.roles > div span {
  color: #b9c6d6;
  background: #ffffff07;
  border: 1px solid #6f94c82e;
  border-radius: 99px;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  font-size: 8px;
  display: flex;
}

.public-profile-section.roles > div i {
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.xcord-user-profile .public-member-meta {
  background: none;
  border: 0;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
  padding: 0;
  display: grid;
}

.public-member-meta > div, .public-member-meta > button {
  color: #8797ac;
  text-align: left;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 54px;
  padding: 9px 10px;
  display: flex;
  background: #ffffff06 !important;
  border: 1px solid #6391cf24 !important;
  border-radius: 11px !important;
}

.public-member-meta > div {
  gap: 4px;
  display: grid;
}

.public-member-meta > button > span {
  flex: 1;
  gap: 4px;
  min-width: 0;
  display: grid;
}

.public-member-meta small {
  color: #73849a;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 7px;
}

.public-member-meta b {
  color: #cdd8e6;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 600 8px / 1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow: hidden;
}

.public-member-meta > button > i:first-child {
  color: #5daaff;
}

.public-member-meta > button > i:last-child {
  color: #62748c;
}

.public-profile-actions {
  gap: 7px;
  padding-top: 1px;
  display: flex;
}

.public-profile-actions button {
  color: #b9c7d8;
  background: #ffffff0a;
  border: 1px solid #6997d52e;
  border-radius: 10px;
  min-width: 40px;
  min-height: 41px;
  padding: 0 12px;
}

.public-profile-actions button.primary {
  color: #fff;
  background: linear-gradient(135deg, #0060ff, #168cff);
  border-color: #3b96ff7a;
  flex: 1;
  box-shadow: 0 13px 28px #0060ff3b;
}

.public-profile-actions button.danger {
  color: #ff8296;
}

.public-profile-actions button i {
  margin-right: 6px;
}

.public-profile-actions button:not(.primary) i {
  margin-right: 0;
}

@media (max-width: 700px) {
  .profile-modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .profile-modal.xcord-user-profile {
    border-width: 1px 0 0;
    border-radius: 22px 22px 0 0;
    width: 100%;
    max-height: 94dvh;
  }

  .xcord-user-profile .profile-modal-banner {
    height: 126px;
  }

  .xcord-user-profile .profile-modal-body {
    padding-inline: 14px;
  }

  .xcord-user-profile .profile-modal-avatar {
    margin-top: -42px;
    border-width: 6px !important;
    width: 82px !important;
    min-width: 82px !important;
    height: 82px !important;
  }

  .public-profile-head {
    height: 47px;
  }

  .public-custom-status {
    max-width: min(220px, 100vw - 135px);
  }

  .xcord-user-profile .public-profile-identity h2 {
    font-size: 19px;
  }
}

@media (max-width: 410px) {
  .public-profile-identity {
    display: grid;
  }

  .xcord-user-profile .profile-badges {
    justify-content: flex-start;
  }

  .xcord-user-profile .public-member-meta {
    grid-template-columns: 1fr;
  }

  .public-custom-status {
    max-width: calc(100vw - 126px);
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-modal.xcord-user-profile {
    animation: none;
  }
}

/* [project]/src/app/feature-upgrades.css [app-client] (css) */
.xcord-logo-crop {
  isolation: isolate;
  place-items: center;
  display: grid;
  position: relative;
  overflow: visible;
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.xcord-logo-crop > img {
  object-fit: contain !important;
  filter: none !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
}

.site-logo > .xcord-logo-crop, .admin-logo > .xcord-logo-crop {
  width: 38px;
  height: 38px;
  background: none !important;
}

.xcord-home > .xcord-logo-crop {
  width: 100%;
  height: 100%;
  background: none !important;
}

.preview-logo.xcord-logo-crop, .brand-emblem.xcord-logo-crop {
  box-shadow: none !important;
  background: none !important;
}

.rich-message-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--text-primary, #eef5ff);
  margin: 3px 0 0;
  line-height: 1.55;
}

.rich-message-text a {
  color: #42a5ff;
  text-underline-offset: 3px;
  font-weight: 650;
  -webkit-text-decoration: underline #42a5ff6b;
  text-decoration: underline #42a5ff6b;
  transition: color .18s, text-decoration-color .18s;
  display: inline;
}

.rich-message-text a:hover {
  color: #8ac9ff;
  text-decoration-color: currentColor;
}

.rich-message-text a i {
  margin-right: 5px;
  font-size: .72em;
}

.message-link-preview {
  width: min(520px, 100%);
  color: inherit;
  background: linear-gradient(145deg, #0d192df5, #050b16f0);
  border: 1px solid #408bff47;
  border-left: 4px solid #0060ff;
  border-radius: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 8px;
  text-decoration: none;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  display: grid;
  overflow: hidden;
  box-shadow: 0 12px 32px #0000002e;
}

.message-link-preview:hover {
  border-color: #54a0ff8f;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px #00266147;
}

.message-link-preview > div {
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 13px 14px;
  display: flex;
}

.message-link-preview small {
  color: #8ba1bd;
  gap: 6px;
  font-size: 11px;
  display: flex;
}

.message-link-preview b {
  color: #f7fbff;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  overflow: hidden;
}

.message-link-preview p {
  color: #aab9cb;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
}

.message-link-preview em {
  color: #4da8ff;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-style: normal;
  display: flex;
}

.message-link-preview > img {
  object-fit: cover;
  border-left: 1px solid #ffffff12;
  width: 150px;
  height: 100%;
  max-height: 150px;
}

.rich-attachment-list {
  flex-direction: column;
  gap: 8px;
  width: min(560px, 100%);
  margin-top: 8px;
  display: flex;
}

.message-image-attachment {
  cursor: zoom-in;
  width: fit-content;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px #00000038;
  background: #030814 !important;
  border: 1px solid #5494ef40 !important;
  border-radius: 13px !important;
  padding: 0 !important;
}

.message-image-attachment img {
  object-fit: contain;
  width: auto;
  max-width: min(520px, 100%);
  height: auto;
  max-height: 370px;
  display: block;
}

.message-image-attachment span {
  color: #fff;
  opacity: 0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #01060eb8;
  border: 1px solid #ffffff29;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  font-size: 10px;
  transition: all .18s;
  display: flex;
  position: absolute;
  bottom: 9px;
  right: 9px;
  transform: translateY(5px);
}

.message-image-attachment:hover span {
  opacity: 1;
  transform: none;
}

.message-file-attachment {
  color: #cbe0f8;
  background: #040c19b8;
  border: 1px solid #4a84da40;
  border-radius: 11px;
  align-items: center;
  gap: 11px;
  width: min(430px, 100%);
  padding: 12px 13px;
  text-decoration: none;
  display: flex;
}

.message-file-attachment > i:first-child {
  color: #3ba2ff;
  font-size: 20px;
}

.message-file-attachment span {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.message-file-attachment b {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.message-file-attachment small {
  color: #7489a5;
}

.message-file-attachment:hover {
  background: #0060ff1a;
  border-color: #0060ff;
}

.xcord-video-player {
  aspect-ratio: 16 / 9;
  background: #01040a;
  border: 1px solid #5597f74d;
  border-radius: 14px;
  width: min(560px, 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 35px #00000040;
}

.xcord-video-player video {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
}

.xcord-video-player .video-gradient {
  pointer-events: none;
  background: linear-gradient(#0000, #000309e6);
  position: absolute;
  inset: 45% 0 0;
}

.video-center-control {
  opacity: 0;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  width: 54px;
  font-size: 17px;
  transition: all .18s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)scale(.9);
  color: #fff !important;
  background: #00122db8 !important;
  border: 1px solid #ffffff40 !important;
  border-radius: 50% !important;
  height: 54px !important;
  padding: 0 !important;
}

.xcord-video-player:hover .video-center-control {
  opacity: 1;
  transform: translate(-50%, -50%)scale(1);
}

.xcord-video-player > footer {
  z-index: 2;
  padding: 10px 12px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.xcord-video-player > footer > label {
  height: 10px;
  display: block;
  position: relative;
}

.xcord-video-player > footer > label input {
  z-index: 2;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 4px;
  margin: 0;
  position: absolute;
}

.xcord-video-player > footer > label:before, .xcord-video-player > footer > label > i {
  content: "";
  background: #ffffff40;
  border-radius: 5px;
  height: 3px;
  position: absolute;
  top: 1px;
  left: 0;
  right: 0;
}

.xcord-video-player > footer > label > i {
  pointer-events: none;
  background: linear-gradient(90deg, #0060ff, #3bc9ff);
  right: auto;
}

.xcord-video-player > footer > div {
  color: #e8f2ff;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  display: flex;
}

.xcord-video-player > footer button {
  place-items: center;
  width: 28px;
  display: grid;
  height: 28px !important;
  color: inherit !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
}

.xcord-video-player > footer b {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.video-volume {
  accent-color: #1682ff;
  width: 70px;
}

.media-viewer-backdrop {
  z-index: 10000;
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  background: #000309e6;
  grid-template-rows: auto 1fr;
  padding: 18px;
  display: grid;
  position: fixed;
  inset: 0;
}

.media-viewer-backdrop > header {
  color: #eaf4ff;
  align-items: center;
  gap: 10px;
  padding: 0 0 14px;
  display: flex;
}

.media-viewer-backdrop > header span {
  flex: 1;
  align-items: center;
  gap: 9px;
  min-width: 0;
  display: flex;
}

.media-viewer-backdrop > header b {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.media-viewer-backdrop > header a, .media-viewer-backdrop > header button {
  color: #fff;
  background: #ffffff0f;
  border: 1px solid #ffffff24;
  border-radius: 10px;
  place-items: center;
  width: 39px;
  height: 39px;
  display: grid;
}

.media-viewer-backdrop > main {
  place-items: center;
  min-height: 0;
  display: grid;
  overflow: auto;
}

.media-viewer-backdrop > main > img {
  object-fit: contain;
  border-radius: 10px;
  max-width: 100%;
  max-height: calc(100vh - 90px);
  display: block;
  box-shadow: 0 24px 90px #000;
}

.media-viewer-backdrop > main > .xcord-video-player {
  width: min(1100px, 96vw);
  max-height: calc(100vh - 110px);
}

.composer-file-input {
  display: none;
}

.pending-attachment-list {
  gap: 9px;
  padding: 10px 12px 3px;
  display: flex;
  overflow-x: auto;
}

.pending-attachment-list article {
  background: #060f1df0;
  border: 1px solid #488ae440;
  border-radius: 11px;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 8px;
  min-width: 220px;
  max-width: 270px;
  padding: 8px;
  display: grid;
  position: relative;
}

.pending-attachment-list img, .pending-attachment-list video {
  object-fit: cover;
  border-radius: 8px;
  width: 46px;
  height: 46px;
}

.pending-attachment-list > article > i {
  color: #45a8ff;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 20px;
  display: grid;
}

.pending-attachment-list span {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.pending-attachment-list b {
  color: #eaf4ff;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  overflow: hidden;
}

.pending-attachment-list small {
  color: #7e93ad;
  font-size: 9px;
}

.pending-attachment-list button {
  place-items: center;
  display: grid;
  border-radius: 7px !important;
  width: 25px !important;
  height: 25px !important;
  padding: 0 !important;
}

.attachment-uploading {
  border-style: dashed !important;
}

.server-search {
  z-index: 12;
  width: min(100%, 430px);
  position: relative;
}

.server-search-control {
  grid-template-columns: minmax(190px, 1fr) 36px;
  gap: 7px;
  display: grid;
}

.server-search .search-box {
  background: #020812cc;
  border: 1px solid #487ecd42;
  border-radius: 10px;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 8px;
  display: flex;
}

.server-search .search-box > i {
  color: #758aa5;
}

.server-search .search-box input {
  flex: 1;
  min-width: 0;
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
}

.server-search .search-box button, .search-filter-trigger {
  color: #8ea2bb;
  background: none;
  border: 0;
  border-radius: 7px;
  place-items: center;
  width: 27px;
  height: 27px;
  padding: 0;
  display: grid;
}

.server-search .search-box button:last-child:not(:disabled) {
  color: #fff;
  background: #0060ff;
}

.search-filter-trigger {
  background: #020812cc;
  border: 1px solid #487ecd42;
  width: 36px;
  height: 36px;
  position: relative;
}

.search-filter-trigger.active, .search-filter-trigger:hover {
  color: #58aaff;
  background: #0060ff21;
  border-color: #167eff;
}

.search-filter-trigger b {
  color: #fff;
  background: #0060ff;
  border-radius: 9px;
  place-items: center;
  min-width: 17px;
  height: 17px;
  font-size: 9px;
  display: grid;
  position: absolute;
  top: -5px;
  right: -5px;
}

.pinned-messages-popover {
  z-index: 125;
  top: 76px;
  right: calc(var(--members-width, 250px) + 16px);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: linear-gradient(160deg, #0a1426fc, #030913fc);
  border: 1px solid #3b82e65c;
  border-radius: 15px;
  width: min(420px, 100vw - 32px);
  max-height: min(520px, 100dvh - 100px);
  position: absolute;
  overflow: auto;
  box-shadow: 0 24px 70px #0000008c;
}

.pinned-messages-popover > header {
  z-index: 1;
  background: #08101ef2;
  border-bottom: 1px solid #ffffff12;
  justify-content: space-between;
  align-items: center;
  padding: 14px 15px;
  display: flex;
  position: sticky;
  top: 0;
}

.pinned-messages-popover > header span {
  gap: 3px;
  display: grid;
}

.pinned-messages-popover > header small {
  color: #3e98ff;
  letter-spacing: .16em;
  font-size: 8px;
}

.pinned-messages-popover > header b {
  color: #eef6ff;
  font-size: 13px;
}

.pinned-messages-popover > header button {
  color: #8295ad;
  background: #ffffff0d;
  border: 0;
  border-radius: 8px;
  place-items: center;
  width: 29px;
  height: 29px;
  display: grid;
}

.pinned-messages-popover > div {
  gap: 2px;
  padding: 7px;
  display: grid;
}

.pinned-messages-popover article {
  border-radius: 10px;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  padding: 9px;
  display: grid;
}

.pinned-messages-popover article:hover {
  background: #0060ff17;
}

.pinned-messages-popover .avatar {
  width: 34px;
  height: 34px;
}

.pinned-messages-popover article > span:last-child {
  min-width: 0;
}

.pinned-messages-popover article b {
  color: #e7f0fd;
  font-size: 11px;
}

.pinned-messages-popover article small {
  color: #6f849e;
  margin-left: 7px;
  font-size: 8px;
}

.pinned-messages-popover article p {
  color: #aebed3;
  overflow-wrap: anywhere;
  margin: 4px 0 0;
  font-size: 10px;
  line-height: 1.5;
}

.pinned-messages-empty {
  color: #71849e;
  align-content: center;
  place-items: center;
  gap: 9px;
  min-height: 160px;
  margin: 0;
  font-size: 10px;
  display: grid;
}

.pinned-messages-empty i {
  color: #3c9dff;
  font-size: 22px;
}

.pinned-messages-loading {
  gap: 10px;
  padding: 15px !important;
  display: grid !important;
}

.pinned-messages-loading i {
  background: linear-gradient(90deg, #ffffff09, #ffffff17, #ffffff09) 0 0 / 200%;
  border-radius: 9px;
  height: 45px;
  animation: 1.4s linear infinite skeleton-shimmer;
}

.search-filter-popover, .search-results {
  z-index: 120;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: linear-gradient(160deg, #0a1426fc, #030913fc);
  border: 1px solid #3b82e657;
  border-radius: 15px;
  width: min(390px, 100vw - 28px);
  position: absolute;
  top: 44px;
  right: 0;
  overflow: hidden;
  box-shadow: 0 24px 70px #0000008c;
}

.search-filter-popover > header, .search-results > header {
  border-bottom: 1px solid #ffffff12;
  justify-content: space-between;
  align-items: center;
  padding: 14px 15px;
  display: flex;
}

.search-filter-popover header span, .search-results header div {
  flex-direction: column;
  display: flex;
}

.search-filter-popover header small, .search-results header small {
  color: #3e98ff;
  letter-spacing: .17em;
  font-size: 8px;
}

.search-filter-popover header b, .search-results header b {
  color: #eef6ff;
  font-size: 13px;
}

.search-filter-popover header button, .search-results header button {
  color: #8295ad;
  background: #ffffff0d;
  border: 0;
  border-radius: 8px;
  place-items: center;
  width: 29px;
  height: 29px;
  display: grid;
}

.search-filter-grid {
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  padding: 14px;
  display: grid;
}

.search-filter-grid label {
  color: #8598b0;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  font-size: 9px;
  display: flex;
}

.search-filter-grid label:first-child, .search-filter-grid label:nth-child(2) {
  grid-column: 1 / -1;
}

.search-filter-grid input, .search-filter-grid select {
  color: #e8f2ff;
  background: #030a14;
  border: 1px solid #5084ca3d;
  border-radius: 9px;
  width: 100%;
  height: 38px;
  padding: 0 10px;
}

.search-file-filter {
  text-align: left;
  align-items: center;
  gap: 11px;
  margin: 0 14px;
  color: #a9bad0 !important;
  background: #030a15cc !important;
  border: 1px solid #4880cb3d !important;
  border-radius: 10px !important;
  width: calc(100% - 28px) !important;
  height: auto !important;
  padding: 10px 12px !important;
  display: flex !important;
}

.search-file-filter.active {
  color: #e9f4ff !important;
  background: #0060ff1f !important;
  border-color: #1681ff !important;
}

.search-file-filter > i {
  color: #45a5ff;
  font-size: 18px;
}

.search-file-filter span {
  flex-direction: column;
  display: flex;
}

.search-file-filter small {
  color: #71869f;
}

.search-filter-popover > footer {
  border-top: 1px solid #ffffff12;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 13px;
  padding: 13px 14px;
  display: flex;
}

.search-filter-popover > footer button {
  color: #a9b9cc;
  background: #ffffff0a;
  border: 1px solid #ffffff1a;
  border-radius: 9px;
  min-width: 80px;
  height: 36px;
  padding: 0 13px;
}

.search-filter-popover > footer .primary-button {
  color: #fff;
  background: #0060ff;
}

.search-error {
  z-index: 130;
  color: #ff8292;
  background: #250812;
  border: 1px solid #ff4d6359;
  border-radius: 9px;
  gap: 7px;
  margin: 0;
  padding: 9px 11px;
  font-size: 10px;
  display: flex;
  position: absolute;
  top: 44px;
  right: 0;
}

.search-results {
  width: min(470px, 100vw - 28px);
  max-height: min(610px, 72vh);
  overflow-y: auto;
}

.search-results > button {
  color: #dbe9fa;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid #ffffff0d;
  grid-template-columns: 33px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  display: grid;
}

.search-results > button:hover {
  background: #0060ff1a;
}

.search-results > button > span:nth-child(2) {
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  display: flex;
}

.search-results em {
  color: #8498b2;
  font-style: normal;
  font-weight: 500;
}

.search-results small {
  color: #afbdd0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.search-results time {
  color: #60758f;
  font-size: 8px;
}

.search-result-icon {
  color: #42a3ff;
  background: #0060ff21;
  border-radius: 9px;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}

.search-results > p {
  color: #70849e;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 190px;
  margin: 0;
  display: flex;
}

.search-results > p > i {
  font-size: 24px;
}

.search-results > p b {
  color: #d8e8fa;
}

.search-results > p small {
  white-space: normal;
}

.search-result-skeleton {
  gap: 10px;
  padding: 15px;
  display: grid;
}

.search-result-skeleton i {
  background: linear-gradient(90deg, #ffffff09, #ffffff17, #ffffff09) 0 0 / 200%;
  border-radius: 9px;
  height: 54px;
  animation: 1.4s linear infinite skeleton-shimmer;
}

.category-manager {
  flex-direction: column;
  gap: 13px;
  max-height: min(700px, 75vh);
  display: flex;
}

.category-manager .category-create {
  grid-template-columns: 1fr auto;
  gap: 8px;
  display: grid;
}

.category-manager input, .category-manager select, .server-quick-form select {
  color: #e9f4ff;
  background: #040b16;
  border: 1px solid #4784da45;
  border-radius: 9px;
  height: 39px;
  padding: 0 10px;
}

.category-manager-list, .category-assignment-list {
  flex-direction: column;
  gap: 7px;
  display: flex;
}

.category-manager-list article, .category-assignment-list article {
  background: #050d1ab8;
  border: 1px solid #487ecb33;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  padding: 8px;
  display: flex;
}

.category-manager-list input {
  flex: 1;
  min-width: 0;
}

.category-manager-list button {
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
}

.category-assignment-list {
  overflow-y: auto;
}

.category-assignment-list article span {
  flex: 1;
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.category-assignment-list article select {
  width: 155px;
}

.channel-settings-shortcut {
  opacity: 0;
  place-items: center;
  transition: all .16s;
  display: grid;
  color: #8092aa !important;
  background: none !important;
  border: 0 !important;
  border-radius: 7px !important;
  width: 25px !important;
  height: 25px !important;
  padding: 0 !important;
}

.channel-link-row:hover .channel-settings-shortcut, .channel-settings-shortcut:focus-visible {
  opacity: 1;
}

.channel-settings-shortcut:hover {
  color: #59adff !important;
  background: #0060ff1c !important;
}

.field-label select {
  border: 1px solid var(--line, #5084cf47);
  background: var(--input, #050b15);
  width: 100%;
  min-height: 44px;
  color: var(--text-primary, #eaf3ff);
  border-radius: 10px;
  padding: 0 13px;
}

@media (max-width: 760px) {
  .message-link-preview {
    grid-template-columns: 1fr;
  }

  .message-link-preview > img {
    border-top: 1px solid #ffffff12;
    border-left: 0;
    width: 100%;
    height: 150px;
  }

  .message-image-attachment, .message-image-attachment img, .xcord-video-player {
    width: 100%;
    max-width: 100%;
  }

  .video-volume, .xcord-video-player > footer b {
    display: none;
  }

  .media-viewer-backdrop {
    padding: 10px;
  }

  .pending-attachment-list article {
    min-width: 190px;
  }

  .server-search {
    width: 100%;
    max-width: 100%;
  }

  .search-filter-popover, .search-results {
    width: auto;
    max-height: calc(100dvh - 85px);
    position: fixed;
    top: 70px;
    left: 10px;
    right: 10px;
  }

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

  .search-filter-grid label {
    grid-column: 1 !important;
  }

  .channel-settings-shortcut {
    opacity: .8;
  }

  .category-assignment-list article {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-assignment-list article select {
    width: 100%;
  }
}

@media (max-width: 1160px) {
  .pinned-messages-popover {
    width: auto;
    max-height: calc(100dvh - 85px);
    position: fixed;
    top: 70px;
    left: 10px;
    right: 10px;
  }
}

.server-search:has(.search-filter-popover) {
  z-index: 1200 !important;
}

.search-filter-popover {
  pointer-events: auto;
  max-height: calc(100dvh - 88px);
  overflow-y: auto;
  z-index: 1201 !important;
}

.search-filter-popover > footer {
  background: #030913f7;
  position: sticky;
  bottom: 0;
}

.search-filter-popover > footer button {
  justify-content: center;
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

/* [project]/src/app/discord-rebuild.css [app-client] (css) */
:root {
  --ui-rail: #1e1f22;
  --ui-sidebar: #2b2d31;
  --ui-surface: #313338;
  --ui-surface-2: #383a40;
  --ui-hover: #404249;
  --ui-active: #43444b;
  --ui-border: #202225;
  --ui-text: #f2f3f5;
  --ui-muted: #b5bac1;
  --ui-faint: #80848e;
  --ui-blue: #0060ff;
  --ui-blue-hover: #1d70ff;
  --ui-green: #23a55a;
  --ui-red: #da373c;
  --ui-yellow: #f0b232;
  --ui-input: #3f4147;
  --ui-input-hover: #474950;
  --ui-input-placeholder: #949ba4;
  --ui-shadow: 0 16px 40px #00000052;
}

html {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

html[data-theme="light"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --ui-rail: #e3e5e8;
  --ui-sidebar: #f2f3f5;
  --ui-surface: #fff;
  --ui-surface-2: #ebedef;
  --ui-hover: #e3e5e8;
  --ui-active: #d7d9dc;
  --ui-border: #d8dadd;
  --ui-text: #313338;
  --ui-muted: #5c6068;
  --ui-faint: #747982;
  --ui-input: #e3e5e8;
  --ui-input-hover: #d7d9dc;
  --ui-input-placeholder: #747982;
  --ui-shadow: 0 16px 38px #20222524;
}

html, body {
  background: var(--ui-surface);
  color: var(--ui-text);
}

body, button, input, textarea, select {
  font-family: Vazirmatn, system-ui, sans-serif !important;
}

:focus-visible {
  outline-offset: 2px;
  outline: 2px solid var(--ui-blue) !important;
}

button, a, input, textarea, select {
  -webkit-tap-highlight-color: transparent;
}

:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]), textarea, select) {
  caret-color: var(--ui-blue);
  border: 1px solid var(--ui-border) !important;
  background-color: var(--ui-input) !important;
  color: var(--ui-text) !important;
  -webkit-text-fill-color: var(--ui-text) !important;
  box-shadow: none !important;
  background-image: none !important;
  border-radius: 6px !important;
  outline: 0 !important;
  transition: border-color .16s, background-color .16s !important;
}

:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]), textarea, select):hover {
  background-color: var(--ui-input-hover) !important;
}

:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]), textarea, select):focus {
  border-color: var(--ui-blue) !important;
  background-color: var(--ui-input) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--ui-blue) 20%,transparent) !important;
}

:where(input, textarea)::placeholder {
  color: var(--ui-input-placeholder) !important;
  -webkit-text-fill-color: var(--ui-input-placeholder) !important;
  opacity: 1 !important;
}

:where(input, textarea):disabled, :where(select:disabled) {
  cursor: not-allowed;
  opacity: .58 !important;
}

select option {
  background: var(--ui-surface) !important;
  color: var(--ui-text) !important;
}

input:-webkit-autofill {
  -webkit-text-fill-color: var(--ui-text) !important;
  caret-color: var(--ui-blue) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  transition: background-color 9999s ease-out !important;
}

input:-webkit-autofill:hover {
  -webkit-text-fill-color: var(--ui-text) !important;
  caret-color: var(--ui-blue) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  transition: background-color 9999s ease-out !important;
}

input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ui-text) !important;
  caret-color: var(--ui-blue) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  transition: background-color 9999s ease-out !important;
}

textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ui-text) !important;
  caret-color: var(--ui-blue) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  transition: background-color 9999s ease-out !important;
}

textarea:-webkit-autofill:hover {
  -webkit-text-fill-color: var(--ui-text) !important;
  caret-color: var(--ui-blue) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  transition: background-color 9999s ease-out !important;
}

textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ui-text) !important;
  caret-color: var(--ui-blue) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  transition: background-color 9999s ease-out !important;
}

select:-webkit-autofill {
  -webkit-text-fill-color: var(--ui-text) !important;
  caret-color: var(--ui-blue) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  transition: background-color 9999s ease-out !important;
}

select:-webkit-autofill:hover {
  -webkit-text-fill-color: var(--ui-text) !important;
  caret-color: var(--ui-blue) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  transition: background-color 9999s ease-out !important;
}

select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ui-text) !important;
  caret-color: var(--ui-blue) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  box-shadow: 0 0 0 1000px var(--ui-input) inset !important;
  transition: background-color 9999s ease-out !important;
}

.marketing-site {
  min-height: 100dvh;
  color: var(--ui-text);
  --site-bg: var(--ui-rail) !important;
  --site-panel: var(--ui-sidebar) !important;
  --site-line: var(--ui-border) !important;
  background: var(--ui-rail) !important;
}

.marketing-site :is(.home-tech-canvas, .hero-orb, .scene-glow, .cta-glow) {
  display: none !important;
}

.site-header {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: #1e1f22eb !important;
  border: 0 !important;
  border-bottom: 1px solid #0000 !important;
  border-radius: 0 !important;
  width: 100% !important;
  height: 72px !important;
  padding: 0 max(24px, 50vw - 620px) !important;
  top: 0 !important;
  transform: translateX(50%) !important;
}

.site-header.scrolled {
  border-color: var(--ui-border) !important;
  top: 0 !important;
  box-shadow: 0 8px 24px #0000002e !important;
}

.site-logo {
  gap: 10px !important;
}

.site-logo > span {
  background: var(--ui-blue) !important;
  border-radius: 13px !important;
  width: 40px !important;
  height: 40px !important;
}

.site-logo b {
  color: var(--ui-text);
  font-size: 20px !important;
}

.site-logo em {
  color: var(--ui-blue) !important;
}

.site-logo > .xcord-logo-crop, .admin-logo > .xcord-logo-crop, .settings-side-mark.xcord-logo-crop, .preview-logo.xcord-logo-crop, .brand-emblem.xcord-logo-crop, .about-board-mark.xcord-logo-crop {
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.xcord-logo-crop > img {
  filter: none !important;
}

.app-shell .home-orb.xcord-home, .direct-shell .home-orb.xcord-home, .app-shell .home-orb.xcord-home:hover, .direct-shell .home-orb.xcord-home:hover, .app-shell .home-orb.xcord-home.active, .direct-shell .home-orb.xcord-home.active {
  box-shadow: none !important;
  background: none !important;
  border-radius: 0 !important;
}

.site-header nav > a {
  border-radius: 6px;
  place-items: center;
  min-height: 40px;
  font-weight: 600;
  display: grid;
  color: var(--ui-muted) !important;
  padding: 0 12px !important;
}

.site-header nav > a:hover, .site-header nav > a.active {
  background: var(--ui-hover);
  color: var(--ui-text) !important;
}

.site-header nav > a.active:after {
  display: none !important;
}

.register-button, .button-primary, .auth-submit {
  background: var(--ui-blue) !important;
  box-shadow: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 5px !important;
}

.register-button:hover, .button-primary:hover, .auth-submit:hover {
  background: var(--ui-blue-hover) !important;
  transform: none !important;
}

.button, .login-link, .download-button {
  min-height: 44px;
  border-radius: 5px !important;
}

.button-ghost, .button-clear {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-sidebar) !important;
  box-shadow: none !important;
}

.hero-section {
  grid-template-columns: minmax(360px, .82fr) minmax(500px, 1.18fr) !important;
  gap: 56px !important;
  width: min(1240px, 100%) !important;
  min-height: 760px !important;
  padding: 132px 36px 72px !important;
}

.hero-section:before, .hero-section:after {
  display: none !important;
}

.hero-copy h1 {
  color: var(--ui-text);
  letter-spacing: -.055em !important;
  margin: 20px 0 !important;
  font-size: clamp(48px, 6vw, 78px) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.hero-copy h1 em, .section-heading h2 em {
  color: var(--ui-blue) !important;
  background: none !important;
}

.hero-copy > p {
  color: var(--ui-muted) !important;
  font-size: 16px !important;
}

.hero-badge, .section-kicker {
  border: 0 !important;
  border-right: 3px solid var(--ui-blue) !important;
  color: var(--ui-muted) !important;
  background: none !important;
  border-radius: 0 !important;
}

.product-scene {
  perspective: none !important;
}

.app-preview {
  overflow: hidden;
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-surface) !important;
  border-radius: 12px !important;
  transform: none !important;
  box-shadow: 0 24px 70px #00000061 !important;
}

.preview-rail {
  background: var(--ui-rail) !important;
}

.preview-channels {
  background: var(--ui-sidebar) !important;
}

.preview-chat {
  background: var(--ui-surface) !important;
}

.floating-card {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-sidebar) !important;
  box-shadow: var(--ui-shadow) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-radius: 8px !important;
}

.logo-strip, .section-block, .cta-section, .content-surface, .inner-hero {
  width: min(1160px, 100% - 48px) !important;
}

.logo-strip {
  border-color: var(--ui-border) !important;
}

.section-heading {
  max-width: 720px !important;
}

.section-heading h2 {
  letter-spacing: -.045em;
  font-size: clamp(36px, 5vw, 60px) !important;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.feature-card, .contact-cards article, .download-grid article, .rules-grid article, .faq-list article, .voice-visual, .contact-form {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-sidebar) !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}

.feature-card:hover {
  border-color: var(--ui-blue) !important;
  transform: translateY(-3px) !important;
}

.feature-icon, .platform-icon {
  color: #68a3ff !important;
  background: #0060ff26 !important;
  border: 0 !important;
  border-radius: 8px !important;
}

.cta-section {
  background: var(--ui-blue) !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 12px !important;
}

.site-footer {
  border-top: 1px solid var(--ui-border) !important;
  background: var(--ui-rail) !important;
}

.auth-modern {
  min-height: 100dvh;
  background: var(--ui-rail) !important;
  grid-template-columns: minmax(360px, .9fr) minmax(420px, .7fr) !important;
  gap: 64px !important;
  padding: 72px clamp(28px, 8vw, 120px) !important;
}

.auth-bg {
  display: none !important;
}

.auth-intro {
  max-width: 600px;
}

.auth-intro h1 {
  color: var(--ui-text);
  font-weight: 900;
  font-size: clamp(44px, 5vw, 68px) !important;
}

.auth-intro > p, .auth-points span {
  color: var(--ui-muted) !important;
}

.auth-visual {
  opacity: .8 !important;
}

.auth-ring, .auth-ring:before, .auth-ring:after {
  border-color: var(--ui-border) !important;
  box-shadow: none !important;
}

.auth-ring > span {
  background: var(--ui-blue) !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 18px !important;
}

.auth-float {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-sidebar) !important;
  box-shadow: var(--ui-shadow) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.auth-modern-card {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-surface) !important;
  width: min(480px, 100%) !important;
  box-shadow: var(--ui-shadow) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-radius: 10px !important;
  padding: 34px !important;
}

.auth-modern-card label > div {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-input) !important;
  border-radius: 6px !important;
  height: 48px !important;
}

.auth-modern-card label > div:hover {
  background: var(--ui-input-hover) !important;
}

.auth-modern-card label > div:focus-within {
  border-color: var(--ui-blue) !important;
  background: var(--ui-input) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--ui-blue) 20%,transparent) !important;
}

.auth-modern-card label > div input {
  color: var(--ui-text) !important;
  -webkit-text-fill-color: var(--ui-text) !important;
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
}

.auth-modern-card label > div input:hover, .auth-modern-card label > div input:focus {
  box-shadow: none !important;
  background: none !important;
}

.auth-eyebrow, .auth-modern-card > header > span, .auth-options a, .auth-modern-card footer a {
  color: #68a3ff !important;
}

.app-shell, .direct-shell {
  direction: ltr;
  min-height: 100dvh;
  background: var(--ui-surface) !important;
  isolation: auto !important;
  gap: 0 !important;
  padding: 0 !important;
}

.app-shell:before, .app-shell:after, .direct-shell:before, .direct-shell:after {
  display: none !important;
}

.app-shell > *, .direct-shell > * {
  direction: rtl;
}

.app-shell :is(.server-rail, .channel-sidebar, .member-sidebar, .content-column), .direct-shell :is(.server-rail, .direct-sidebar, .direct-content, .activity-sidebar) {
  overflow: hidden;
  background: var(--ui-surface) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.app-shell .server-rail, .direct-shell .server-rail {
  background: var(--ui-rail) !important;
}

.app-shell .channel-sidebar, .direct-shell .direct-sidebar, .app-shell .member-sidebar, .direct-shell .activity-sidebar {
  background: var(--ui-sidebar) !important;
}

.app-shell .content-column, .direct-shell .direct-content {
  background: var(--ui-surface) !important;
}

.app-shell :is(.server-orb, .home-orb), .direct-shell :is(.server-orb, .home-orb) {
  overflow: hidden;
  background: var(--ui-sidebar) !important;
  width: 48px !important;
  height: 48px !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 50% !important;
  transition: border-radius .16s, background .16s !important;
}

.app-shell :is(.server-orb, .home-orb):hover, .app-shell .server-orb.active, .direct-shell :is(.server-orb, .home-orb):hover, .direct-shell :is(.server-orb, .home-orb).active {
  background: var(--ui-blue) !important;
  box-shadow: none !important;
  border-radius: 16px !important;
  transform: none !important;
}

.app-shell .server-orb.active:before, .direct-shell .server-orb.active:before {
  box-shadow: none !important;
  background: #fff !important;
}

.app-shell :is(.channel-header, .channel-sidebar > header, .member-sidebar > header), .direct-shell :is(.direct-content > header, .direct-sidebar > header, .friends-header, .activity-sidebar > header) {
  border: 0 !important;
  border-bottom: 1px solid var(--ui-border) !important;
  background: var(--ui-sidebar) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
  min-height: 48px !important;
  margin: 0 !important;
  box-shadow: 0 1px 2px #0000002e !important;
}

.app-shell .channel-header, .direct-shell .friends-header, .direct-shell .direct-content > header {
  background: var(--ui-surface) !important;
}

.channel-group h2, .direct-list-title {
  color: var(--ui-muted) !important;
  letter-spacing: .02em !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.app-shell :is(.channel-link, .member-row), .direct-shell :is(.direct-nav, .direct-list > button, .member-row, .friend-row), .xcord-home-nav > button {
  min-height: 38px;
  color: var(--ui-muted) !important;
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
  border-radius: 4px !important;
  margin-inline: 8px !important;
}

.app-shell :is(.channel-link, .member-row):hover, .direct-shell :is(.direct-nav, .direct-list > button, .member-row, .friend-row):hover, .xcord-home-nav > button:hover {
  background: var(--ui-hover) !important;
  color: var(--ui-text) !important;
  transform: none !important;
}

.app-shell .channel-link.active, .direct-shell :is(.direct-nav, .direct-list > button).active, .xcord-home-nav > button.active {
  background: var(--ui-active) !important;
  color: var(--ui-text) !important;
  box-shadow: inset 3px 0 var(--ui-blue) !important;
}

.messages, .message-list, .dm-messages, .friends-body {
  background: var(--ui-surface) !important;
}

.message, .message-row {
  border-radius: 0 !important;
}

.message:hover, .message-row:hover {
  background: color-mix(in srgb,var(--ui-surface) 92%,var(--ui-text)) !important;
}

.composer, .dm-composer {
  background: var(--ui-surface-2) !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 8px !important;
  margin: 0 16px 24px !important;
}

.composer textarea, .dm-composer textarea {
  color: var(--ui-text) !important;
  background: none !important;
}

.user-dock, .voice-dock {
  background: color-mix(in srgb,var(--ui-sidebar) 78%,#000) !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.voice-dock header {
  border-color: var(--ui-border) !important;
}

.avatar {
  border-radius: 50% !important;
}

.app-shell :is(input, textarea, select), .direct-shell :is(input, textarea, select), .settings-backdrop :is(input, textarea, select), .modal-backdrop :is(input, textarea, select), .admin-shell :is(input, textarea, select) {
  border: 1px solid var(--ui-border) !important;
  background-color: var(--ui-input) !important;
  color: var(--ui-text) !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}

.app-shell :is(input, textarea, select):focus, .direct-shell :is(input, textarea, select):focus, .settings-backdrop :is(input, textarea, select):focus, .modal-backdrop :is(input, textarea, select):focus, .admin-shell :is(input, textarea, select):focus {
  border-color: var(--ui-blue) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--ui-blue) 20%,transparent) !important;
}

.primary-button, .accept, .add-friend, .admin-primary {
  background: var(--ui-blue) !important;
  color: #fff !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 4px !important;
}

.primary-button:hover, .accept:hover, .add-friend:hover, .admin-primary:hover {
  background: var(--ui-blue-hover) !important;
  transform: none !important;
}

.danger-button, .icon-danger, .hangup {
  background: var(--ui-red) !important;
  color: #fff !important;
  border-color: #0000 !important;
}

.context-menu, .server-dropdown, .notification-popover, .search-results, .entity-context-menu, .channel-context-menu {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-rail) !important;
  box-shadow: var(--ui-shadow) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-radius: 6px !important;
}

.context-menu button:hover, .server-dropdown button:hover {
  background: var(--ui-blue) !important;
  color: #fff !important;
}

.direct-shell .xcord-home-nav .nitro-link.active {
  background: var(--ui-active) !important;
  box-shadow: inset 3px 0 var(--ui-blue) !important;
  border-color: #0000 !important;
}

.direct-shell .xcord-home-nav .nitro-link > i, .direct-shell .xcord-home-nav > button.active > i {
  color: #68a3ff !important;
  text-shadow: none !important;
}

.direct-shell .xcord-home-nav > button > em.live {
  background: color-mix(in srgb,var(--ui-green) 15%,transparent) !important;
  color: #5ed58e !important;
  border: 0 !important;
}

.commerce-page {
  background: var(--ui-surface) !important;
  color: var(--ui-text) !important;
}

.commerce-header {
  background: var(--ui-surface) !important;
}

.commerce-header > b {
  border: 1px solid color-mix(in srgb,var(--ui-green) 45%,var(--ui-border)) !important;
  background: color-mix(in srgb,var(--ui-green) 12%,transparent) !important;
  color: #62d991 !important;
  border-radius: 99px !important;
}

.commerce-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--ui-hover) transparent;
  flex: 1;
  min-height: 0;
  padding: 24px clamp(16px, 3vw, 38px) 72px;
  overflow-y: auto;
}

.commerce-summary, .quest-overview {
  border: 1px solid var(--ui-border);
  border-right: 4px solid var(--ui-blue);
  background: var(--ui-sidebar);
  border-radius: 9px;
  align-items: center;
  gap: 22px;
  min-height: 142px;
  padding: 24px;
  display: flex;
}

.commerce-summary > div, .quest-overview > div:first-child {
  flex: 1;
  min-width: 0;
}

.commerce-summary small, .quest-overview small {
  color: var(--ui-muted);
  font-size: 10px;
}

.commerce-summary strong, .quest-overview strong {
  color: var(--ui-text);
  margin-top: 7px;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.2;
  display: block;
}

.commerce-summary strong em {
  color: #68a3ff;
  font-size: .42em;
  font-style: normal;
}

.commerce-summary p, .quest-overview p {
  color: var(--ui-muted);
  margin: 8px 0 0;
  font-size: 11px;
}

.commerce-summary > span {
  background: color-mix(in srgb,var(--ui-blue) 15%,var(--ui-surface));
  color: #68a3ff;
  border-radius: 50%;
  flex: 0 0 72px;
  place-items: center;
  width: 72px;
  height: 72px;
  font-size: 28px;
  display: grid;
}

.commerce-filters {
  z-index: 3;
  border: 1px solid var(--ui-border);
  background: var(--ui-surface);
  scrollbar-width: none;
  border-radius: 8px;
  gap: 6px;
  margin: 16px 0;
  padding: 8px;
  display: flex;
  position: sticky;
  top: 0;
  overflow-x: auto;
}

.commerce-filters::-webkit-scrollbar {
  display: none;
}

.commerce-filters button {
  min-height: 34px;
  color: var(--ui-muted);
  white-space: nowrap;
  background: none;
  border: 0;
  border-radius: 5px;
  flex: none;
  padding: 0 13px;
}

.commerce-filters button:hover {
  background: var(--ui-hover);
  color: var(--ui-text);
}

.commerce-filters button.active {
  background: var(--ui-blue);
  color: #fff;
}

.commerce-message {
  border: 1px solid color-mix(in srgb,var(--ui-blue) 38%,var(--ui-border));
  background: color-mix(in srgb,var(--ui-blue) 9%,var(--ui-surface));
  color: var(--ui-text);
  border-radius: 7px;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 12px;
  font-size: 10px;
  display: flex;
}

.commerce-message i {
  color: #68a3ff;
}

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

.shop-grid > article {
  border: 1px solid var(--ui-border);
  background: var(--ui-sidebar);
  border-radius: 9px;
  min-width: 0;
  transition: border-color .16s, transform .16s;
  overflow: hidden;
}

.shop-grid > article:hover {
  border-color: color-mix(in srgb,var(--item-tone) 60%,var(--ui-border));
  transform: translateY(-2px);
}

.shop-grid > article.equipped {
  box-shadow: inset 3px 0 var(--ui-blue);
}

.shop-item-visual {
  background: color-mix(in srgb,var(--item-tone) 13%,var(--ui-surface));
  place-items: center;
  height: 132px;
  display: grid;
  position: relative;
}

.shop-item-visual > i {
  color: var(--item-tone);
  font-size: 42px;
}

.shop-item-visual > span {
  background: var(--ui-blue);
  color: #fff;
  border-radius: 99px;
  padding: 5px 8px;
  font-size: 8px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.shop-item-copy {
  min-height: 116px;
  padding: 16px;
}

.shop-item-copy > small {
  color: #68a3ff;
  font-size: 8px;
  font-weight: 800;
}

.shop-item-copy h2 {
  color: var(--ui-text);
  margin: 5px 0;
  font-size: 15px;
}

.shop-item-copy p {
  color: var(--ui-muted);
  margin: 0;
  font-size: 10px;
  line-height: 1.7;
}

.shop-grid footer {
  border-top: 1px solid var(--ui-border);
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 14px;
  display: flex;
}

.shop-grid footer > b {
  min-width: 0;
  color: var(--ui-text);
  flex: 1;
  font-size: 11px;
}

.shop-grid footer > b small {
  color: var(--ui-muted);
}

.shop-grid footer > button {
  background: var(--ui-blue);
  color: #fff;
  border: 0;
  border-radius: 5px;
  min-width: 74px;
  min-height: 34px;
  font-weight: 700;
}

.shop-grid footer > button:hover:not(:disabled) {
  background: var(--ui-blue-hover);
}

.shop-grid footer > button:disabled {
  opacity: .55;
}

.commerce-empty, .commerce-loading {
  min-height: 280px;
  color: var(--ui-muted);
  text-align: center;
  place-content: center;
  justify-items: center;
  gap: 9px;
  display: grid;
}

.commerce-empty > i, .commerce-loading > i {
  color: #68a3ff;
  font-size: 30px;
}

.commerce-empty b, .commerce-loading b {
  color: var(--ui-text);
}

.commerce-empty p {
  margin: 0;
  font-size: 10px;
}

.quest-overview {
  margin-bottom: 14px;
}

.quest-wallet {
  border: 1px solid var(--ui-border);
  background: var(--ui-surface-2);
  border-radius: 8px;
  align-items: center;
  padding: 12px 15px;
  flex: none !important;
  gap: 10px !important;
  display: flex !important;
}

.quest-wallet > i {
  color: #68a3ff;
  font-size: 20px;
}

.quest-wallet span {
  display: grid;
}

.quest-wallet b {
  font-size: 18px;
}

.quest-wallet small {
  font-size: 8px;
}

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

.quest-grid > article {
  border: 1px solid var(--ui-border);
  background: var(--ui-sidebar);
  border-radius: 9px;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 13px;
  min-width: 0;
  padding: 16px;
  display: grid;
}

.quest-grid > article.complete:not(.claimed) {
  border-color: color-mix(in srgb,var(--ui-blue) 58%,var(--ui-border));
  box-shadow: inset 3px 0 var(--ui-blue);
}

.quest-grid > article.claimed {
  opacity: .72;
}

.quest-icon {
  background: color-mix(in srgb,var(--ui-blue) 13%,var(--ui-surface));
  color: #68a3ff;
  border-radius: 8px;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 18px;
  display: grid;
}

.quest-copy {
  min-width: 0;
}

.quest-copy > small {
  color: #68a3ff;
  font-size: 8px;
  font-weight: 800;
}

.quest-copy h2 {
  color: var(--ui-text);
  margin: 4px 0;
  font-size: 14px;
}

.quest-copy p {
  min-height: 34px;
  color: var(--ui-muted);
  margin: 0;
  font-size: 9px;
  line-height: 1.65;
}

.quest-progress {
  grid-template-columns: minmax(80px, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  display: grid;
}

.quest-progress > span {
  background: var(--ui-surface);
  border-radius: 99px;
  height: 6px;
  overflow: hidden;
}

.quest-progress > span i {
  border-radius: inherit;
  background: var(--ui-blue);
  height: 100%;
  display: block;
}

.quest-progress > b {
  color: var(--ui-muted);
  font-size: 8px;
}

.quest-grid footer {
  border-top: 1px solid var(--ui-border);
  grid-column: 1 / -1;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  display: flex;
}

.quest-grid footer > span {
  color: #68a3ff;
  flex: 1;
  min-width: 0;
  font-size: 10px;
}

.quest-grid footer > span i {
  margin-left: 6px;
}

.quest-grid footer > button {
  border: 1px solid var(--ui-border);
  background: var(--ui-surface-2);
  min-width: 108px;
  min-height: 34px;
  color: var(--ui-muted);
  border-radius: 5px;
}

.quest-grid > article.complete:not(.claimed) footer > button {
  background: var(--ui-blue);
  color: #fff;
  border-color: #0000;
}

.quest-grid footer > button:disabled {
  cursor: not-allowed;
}

.quest-grid > article.claimed footer > button {
  color: #5ed58e;
}

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

  .shop-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }
}

@media (max-width: 620px) {
  .commerce-scroll {
    padding: 12px 9px 76px;
  }

  .commerce-summary, .quest-overview {
    min-height: 118px;
    padding: 16px;
  }

  .commerce-summary > span {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
    font-size: 21px;
  }

  .commerce-summary strong, .quest-overview strong {
    font-size: 23px;
  }

  .commerce-summary p, .quest-overview p {
    font-size: 9px;
  }

  .commerce-header > b {
    display: none;
  }

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

  .shop-grid > article {
    grid-template-columns: 102px minmax(0, 1fr);
    display: grid;
  }

  .shop-item-visual {
    height: auto;
    min-height: 150px;
  }

  .shop-item-visual > i {
    font-size: 32px;
  }

  .shop-item-copy {
    min-height: 92px;
    padding: 13px;
  }

  .shop-grid footer {
    grid-column: 2;
    padding: 8px 13px;
  }

  .quest-overview {
    flex-direction: column;
    align-items: flex-start;
  }

  .quest-wallet {
    justify-content: center;
    width: 100%;
  }

  .quest-grid > article {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 13px;
  }

  .quest-icon {
    width: 40px;
    height: 40px;
  }

  .quest-grid footer {
    flex-direction: column;
    align-items: stretch;
  }

  .quest-grid footer > button {
    width: 100%;
  }
}

.voice-stage, .direct-call-panel, .home-feature-overlay {
  background: var(--ui-surface) !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.voice-stage-header, .direct-call-panel > header, .xcord-feature-header {
  border: 0 !important;
  border-bottom: 1px solid var(--ui-border) !important;
  background: var(--ui-surface) !important;
  min-height: 58px !important;
}

.voice-grid, .direct-call-stage {
  gap: 8px !important;
  padding: 12px !important;
}

.voice-participant, .stream-tile, .call-avatar-tile, .call-stream-tile {
  overflow: hidden;
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-rail) !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}

.call-controls, .direct-call-panel > footer {
  border-color: var(--ui-border) !important;
  background: var(--ui-surface) !important;
}

.call-controls button, .direct-call-panel > footer button {
  width: 44px;
  height: 44px;
  background: var(--ui-surface-2) !important;
  color: var(--ui-text) !important;
  border: 0 !important;
  border-radius: 50% !important;
}

.call-controls button:hover, .direct-call-panel > footer button:hover {
  background: var(--ui-hover) !important;
}

.call-controls .hangup, .direct-call-panel > footer .hangup {
  background: var(--ui-red) !important;
}

.stream-tile-controls {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-rail) !important;
  box-shadow: var(--ui-shadow) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.settings-backdrop, .modal-backdrop, .admin-modal-backdrop {
  -webkit-backdrop-filter: blur(4px) !important;
  background: #08090bc7 !important;
  place-items: center !important;
  padding: 24px !important;
  display: grid !important;
}

.settings-window {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-surface) !important;
  border-radius: 12px !important;
  grid-template-columns: 280px minmax(0, 1fr) !important;
  width: min(1180px, 100vw - 48px) !important;
  max-width: none !important;
  height: min(820px, 100dvh - 48px) !important;
  animation: .18s ease-out settings-popup-in !important;
  display: grid !important;
  overflow: hidden !important;
  box-shadow: 0 24px 80px #0000007a !important;
}

.settings-window > aside {
  border: 0 !important;
  border-left: 1px solid var(--ui-border) !important;
  background: var(--ui-sidebar) !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 18px 12px !important;
  display: flex !important;
}

.settings-window > aside > header {
  border-bottom: 1px solid var(--ui-border) !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 50px !important;
  padding: 0 8px 14px !important;
  display: flex !important;
}

.settings-window > aside nav {
  scrollbar-width: thin !important;
  scrollbar-color: var(--ui-hover) transparent !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 10px 0 !important;
  overflow-y: auto !important;
}

.settings-window nav button {
  min-height: 38px !important;
  color: var(--ui-muted) !important;
  box-shadow: none !important;
  text-align: right !important;
  background: none !important;
  border: 0 !important;
  border-radius: 5px !important;
  padding: 7px 10px !important;
}

.settings-window nav button:hover {
  background: var(--ui-hover) !important;
  color: var(--ui-text) !important;
}

.settings-window nav button.active {
  background: var(--ui-active) !important;
  color: var(--ui-text) !important;
  box-shadow: inset -3px 0 var(--ui-blue) !important;
}

.settings-window nav button.active i {
  color: #68a3ff !important;
}

.settings-window > main {
  background: var(--ui-surface) !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: flex !important;
  overflow: hidden !important;
}

.settings-window > main > header {
  border-bottom: 1px solid var(--ui-border) !important;
  background: var(--ui-surface) !important;
  height: 72px !important;
  min-height: 72px !important;
  box-shadow: none !important;
  align-items: center !important;
  gap: 11px !important;
  padding: 10px clamp(18px, 3vw, 40px) !important;
  display: flex !important;
}

.settings-window > main > header > div {
  flex: 1 !important;
  min-width: 0 !important;
}

.settings-window > main > header small {
  color: #68a3ff !important;
  letter-spacing: .12em !important;
  font-size: 9px !important;
}

.settings-window > main > header h2 {
  color: var(--ui-text) !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  margin: 3px 0 0 !important;
  font-size: 18px !important;
  overflow: hidden !important;
}

.settings-header-art {
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
}

.settings-window > main > header > button {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-sidebar) !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  color: var(--ui-muted) !important;
  box-shadow: none !important;
  border-radius: 50% !important;
  place-items: center !important;
  display: grid !important;
  position: relative !important;
}

.settings-window > main > header > button:hover {
  border-color: var(--ui-blue) !important;
  background: var(--ui-hover) !important;
  color: var(--ui-text) !important;
}

.settings-window > main > header > button span {
  color: var(--ui-faint) !important;
  margin: 0 !important;
  font-size: 7px !important;
  position: absolute !important;
  top: 44px !important;
}

.settings-scroll {
  scrollbar-width: thin !important;
  scrollbar-color: var(--ui-hover) transparent !important;
  flex: 1 !important;
  min-height: 0 !important;
  padding: 28px clamp(18px, 4vw, 48px) 80px !important;
  overflow: auto !important;
}

.settings-form {
  gap: 14px !important;
  width: min(780px, 100%) !important;
  margin: 0 auto !important;
}

.section-title {
  border-bottom: 1px solid var(--ui-border) !important;
  text-align: right !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 0 18px !important;
}

.section-title-art {
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
}

.section-title h3 {
  color: var(--ui-text) !important;
  margin: 0 !important;
  font-size: 19px !important;
}

.section-title p {
  color: var(--ui-muted) !important;
  margin: 5px 0 0 !important;
  font-size: 11px !important;
  line-height: 1.65 !important;
}

.settings-form > section, .settings-form .field-label, .settings-form .range-field, .settings-form .toggle-row, .settings-info-grid article, .connection-card, .developer-details article, .account-identity-card, .server-feature-card, .nitro-plan-grid article, .boost-level-grid article, .permission-list > div, .role-list > div, .member-role {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-sidebar) !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}

.settings-form .field-label, .settings-form .range-field {
  color: var(--ui-muted) !important;
  padding: 14px !important;
}

.settings-form .toggle-row {
  min-height: 68px !important;
  color: var(--ui-text) !important;
  padding: 14px 16px !important;
}

.settings-form .toggle-row:hover, .settings-form .field-label:focus-within, .settings-form .range-field:hover {
  border-color: color-mix(in srgb,var(--ui-blue) 55%,var(--ui-border)) !important;
  background: var(--ui-hover) !important;
  transform: none !important;
}

.settings-form .toggle-row > i, .mini-switch {
  background: var(--ui-active) !important;
  box-shadow: none !important;
  border: 0 !important;
}

.settings-form .toggle-row > i.active, .mini-switch.active {
  background: var(--ui-blue) !important;
  box-shadow: none !important;
}

.choice-grid button, .chip-list button, .role-choice button {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-sidebar) !important;
  min-height: 38px !important;
  color: var(--ui-muted) !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}

.choice-grid button:hover, .chip-list button:hover, .choice-grid button.selected, .chip-list button.selected {
  border-color: var(--ui-blue) !important;
  background: color-mix(in srgb,var(--ui-blue) 14%,var(--ui-sidebar)) !important;
  color: var(--ui-text) !important;
  transform: none !important;
}

.tri-state {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-surface) !important;
  border-radius: 6px !important;
}

.save-bar {
  z-index: 8 !important;
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-rail) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-radius: 8px !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 58px !important;
  padding: 10px 12px !important;
  display: flex !important;
  position: sticky !important;
  bottom: -64px !important;
  box-shadow: 0 12px 32px #0000004d !important;
}

.save-bar > span {
  min-width: 0 !important;
  color: var(--ui-muted) !important;
  flex: 1 !important;
}

.save-bar .primary-button {
  min-width: 128px !important;
  min-height: 38px !important;
}

.account-settings-window .settings-user-summary {
  color: var(--ui-text) !important;
  border-radius: 7px !important;
}

.account-settings-window .settings-user-summary:hover {
  background: var(--ui-hover) !important;
}

.account-settings-window .settings-search {
  border-color: var(--ui-border) !important;
  background: var(--ui-input) !important;
}

.account-settings-window .settings-nav-group {
  border-color: var(--ui-border) !important;
}

.account-settings-window .settings-nav-group > button.active, .account-settings-window .settings-subnav > button.active {
  background: var(--ui-active) !important;
  box-shadow: inset -3px 0 var(--ui-blue) !important;
  color: var(--ui-text) !important;
}

.account-sidebar-footer {
  background: var(--ui-sidebar) !important;
}

.account-sidebar-footer .settings-logout {
  color: #ff8085 !important;
}

.profile-modal, .user-profile-popout, .custom-modal, .create-server-modal, .modal, .admin-modal, .nested-modal > section {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-surface) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 72px #00000080 !important;
}

.custom-modal > header, .create-server-modal > header, .modal > header, .admin-modal > header {
  border-bottom: 1px solid var(--ui-border) !important;
  background: var(--ui-sidebar) !important;
  min-height: 58px !important;
  padding: 12px 16px !important;
}

.custom-modal > footer, .create-server-modal > footer, .modal > footer, .admin-modal > footer, .modal-actions {
  border-top: 1px solid var(--ui-border) !important;
  background: var(--ui-sidebar) !important;
  padding: 12px 16px !important;
}

.nested-modal {
  -webkit-backdrop-filter: blur(3px) !important;
  backdrop-filter: blur(3px) !important;
  background: #08090bc2 !important;
}

.nested-modal > section {
  width: min(430px, 100vw - 32px) !important;
  padding: 22px !important;
}

.nested-modal h3 {
  color: var(--ui-text) !important;
}

.nested-modal p {
  color: var(--ui-muted) !important;
}

@keyframes settings-popup-in {
  from {
    opacity: 0;
    transform: translateY(8px)scale(.992);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.admin-shell {
  --admin-bg: var(--ui-surface);
  --admin-panel: var(--ui-sidebar);
  --admin-line: var(--ui-border);
  --admin-text: var(--ui-text);
  --admin-muted: var(--ui-muted);
  --admin-purple: var(--ui-blue);
  --admin-cyan: var(--ui-blue);
  direction: ltr;
  min-height: 100dvh;
  background: var(--ui-surface) !important;
}

.admin-shell:before {
  display: none !important;
}

.admin-sidebar {
  border: 0 !important;
  border-left: 1px solid var(--ui-border) !important;
  background: var(--ui-sidebar) !important;
  box-shadow: none !important;
}

.admin-sidebar nav button {
  border-radius: 4px !important;
}

.admin-sidebar nav button:hover {
  background: var(--ui-hover) !important;
}

.admin-sidebar nav button.active {
  background: var(--ui-active) !important;
  color: var(--ui-text) !important;
  box-shadow: inset 3px 0 var(--ui-blue) !important;
}

.admin-main, .admin-content {
  background: var(--ui-surface) !important;
}

.admin-topbar {
  border-color: var(--ui-border) !important;
  background: var(--ui-surface) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.admin-panel, .admin-stats article, .server-admin-card, .report-card, .admin-welcome, .automod-hero {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-sidebar) !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}

.admin-modal {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-surface) !important;
  box-shadow: var(--ui-shadow) !important;
  border-radius: 8px !important;
}

@media (max-width: 1100px) {
  .site-header nav {
    gap: 2px !important;
  }

  .site-header nav > a {
    padding-inline: 8px !important;
  }

  .hero-section {
    text-align: center;
    grid-template-columns: 1fr !important;
  }

  .hero-copy {
    max-width: 760px;
    margin-inline: auto;
  }

  .hero-copy > p {
    margin-inline: auto;
  }

  .hero-actions, .hero-trust {
    justify-content: center;
  }

  .product-scene {
    width: min(760px, 100%);
    margin-inline: auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .auth-modern {
    grid-template-columns: 1fr !important;
  }

  .auth-intro {
    display: none !important;
  }

  .auth-modern-card {
    justify-self: center !important;
  }

  .app-shell .member-sidebar, .direct-shell .activity-sidebar {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 62px !important;
    padding-inline: 14px !important;
  }

  .site-header nav {
    border-bottom: 1px solid var(--ui-border);
    max-height: calc(100dvh - 62px);
    overflow: auto;
    background: var(--ui-rail) !important;
    padding: 12px !important;
    position: fixed !important;
    top: 62px !important;
    left: 0 !important;
    right: 0 !important;
  }

  .header-actions-site .login-link, .header-actions-site .download-button {
    display: none !important;
  }

  .site-logo b {
    font-size: 17px !important;
  }

  .hero-section {
    min-height: auto !important;
    padding: 102px 18px 48px !important;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 12vw, 58px) !important;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    display: grid !important;
  }

  .hero-actions .button {
    width: 100%;
  }

  .product-scene {
    transform-origin: top;
    transform: scale(.96);
  }

  .floating-card {
    display: none !important;
  }

  .logo-strip, .section-block, .cta-section, .content-surface, .inner-hero {
    width: calc(100% - 28px) !important;
  }

  .feature-grid, .contact-cards, .download-grid, .rules-grid, .showcase {
    grid-template-columns: 1fr !important;
  }

  .site-footer .footer-main {
    grid-template-columns: 1fr 1fr !important;
  }

  .auth-modern {
    padding: 78px 14px 24px !important;
    display: block !important;
  }

  .auth-modern-card {
    padding: 24px 18px !important;
  }

  .auth-back {
    top: 18px !important;
    right: 18px !important;
  }

  .app-shell, .direct-shell {
    --rail-width: 56px;
  }

  .app-shell .server-rail, .direct-shell .server-rail {
    width: 56px !important;
  }

  .app-shell :is(.server-orb, .home-orb), .direct-shell :is(.server-orb, .home-orb) {
    width: 42px !important;
    height: 42px !important;
  }

  .channel-header, .friends-header {
    min-width: 0;
    padding-inline: 8px !important;
  }

  .header-actions button {
    width: 34px !important;
  }

  .composer, .dm-composer {
    margin: 0 8px 10px !important;
  }

  .voice-grid, .direct-call-stage, .direct-call-stage.has-screen {
    grid-template-columns: 1fr !important;
    padding: 8px !important;
  }

  .voice-participant, .stream-tile, .call-avatar-tile, .call-stream-tile {
    min-height: 180px !important;
  }

  .call-controls, .direct-call-panel > footer {
    z-index: 8;
    position: sticky;
    bottom: 0;
    overflow-x: auto;
    justify-content: flex-start !important;
    padding: 8px !important;
  }

  .settings-window {
    overflow: auto;
    display: block !important;
  }

  .settings-window > aside {
    border-bottom: 1px solid var(--ui-border);
    width: 100% !important;
    min-height: auto !important;
  }

  .settings-window > aside nav {
    overflow-x: auto;
    padding: 8px !important;
    display: flex !important;
  }

  .settings-window > aside nav button {
    white-space: nowrap;
    flex: none;
  }

  .settings-window > main > header {
    z-index: 5;
    position: sticky;
    top: 0;
    background: var(--ui-surface) !important;
  }

  .settings-scroll {
    padding: 16px 12px 90px !important;
  }

  .admin-shell {
    display: block !important;
    overflow: auto !important;
  }

  .admin-sidebar {
    z-index: 20;
    transition: transform .2s;
    top: 0;
    bottom: 0;
    right: 0;
    transform: translateX(105%);
    width: min(290px, 86vw) !important;
    position: fixed !important;
  }

  .admin-sidebar.open {
    transform: none;
  }

  .admin-content {
    padding: 14px !important;
  }

  .admin-stats, .admin-grid-two, .server-admin-grid {
    grid-template-columns: 1fr !important;
  }

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

@media (max-width: 480px) {
  .feature-grid, .site-footer .footer-main {
    grid-template-columns: 1fr !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .auth-options {
    gap: 10px;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .auth-modern-card h2 {
    font-size: 20px !important;
  }

  .channel-sidebar, .direct-sidebar {
    width: calc(100vw - 56px) !important;
  }

  .settings-header-art, .xcord-header-art {
    width: 38px !important;
    height: 38px !important;
  }
}

@media (max-width: 980px) and (min-width: 761px) {
  .settings-backdrop {
    padding: 12px !important;
  }

  .settings-window {
    grid-template-columns: 238px minmax(0, 1fr) !important;
    width: calc(100vw - 24px) !important;
    height: calc(100dvh - 24px) !important;
  }

  .settings-scroll {
    padding-inline: 24px !important;
  }
}

@media (max-width: 760px) {
  .settings-backdrop {
    place-items: stretch stretch !important;
    padding: 0 !important;
  }

  .settings-window {
    border: 0 !important;
    border-radius: 0 !important;
    grid-template-rows: minmax(0, 1fr) 64px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100vw !important;
    height: 100dvh !important;
    animation: none !important;
    display: grid !important;
    overflow: hidden !important;
  }

  .settings-window > main {
    order: 1 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .settings-window > aside {
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    padding: 5px max(8px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left)) !important;
    border: 0 !important;
    border-top: 1px solid var(--ui-border) !important;
    background: var(--ui-sidebar) !important;
    order: 2 !important;
    display: block !important;
    overflow: hidden !important;
  }

  .settings-window > aside > header, .settings-window > aside > .account-sidebar-footer {
    display: none !important;
  }

  .settings-window > aside nav {
    scroll-snap-type: x proximity !important;
    scrollbar-width: none !important;
    align-items: stretch !important;
    gap: 4px !important;
    width: 100% !important;
    height: 54px !important;
    padding: 0 !important;
    display: flex !important;
    overflow: auto hidden !important;
  }

  .settings-window > aside nav::-webkit-scrollbar {
    display: none !important;
  }

  .settings-window > aside nav > button, .settings-window .server-settings-nav button {
    scroll-snap-align: center !important;
    white-space: nowrap !important;
    text-align: center !important;
    flex-direction: column !important;
    flex: none !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    min-width: 58px !important;
    min-height: 52px !important;
    padding: 5px 9px !important;
    font-size: 8px !important;
    display: flex !important;
  }

  .settings-window > aside nav > button.active, .settings-window .server-settings-nav button.active {
    box-shadow: inset 0 -3px var(--ui-blue) !important;
  }

  .settings-window .server-settings-nav {
    align-items: stretch !important;
    gap: 4px !important;
    width: max-content !important;
    display: flex !important;
  }

  .settings-window .server-settings-nav section {
    display: contents !important;
  }

  .settings-window .server-settings-nav section > small {
    display: none !important;
  }

  .settings-window > main > header {
    z-index: 5 !important;
    height: 62px !important;
    min-height: 62px !important;
    padding: max(8px,env(safe-area-inset-top)) 12px 8px !important;
    position: relative !important;
    top: auto !important;
  }

  .settings-window > main > header small {
    font-size: 7px !important;
  }

  .settings-window > main > header h2 {
    font-size: 15px !important;
  }

  .settings-window > main > header > button {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
  }

  .settings-window > main > header > button span {
    display: none !important;
  }

  .settings-header-art {
    flex-basis: 36px !important;
    width: 36px !important;
    height: 36px !important;
  }

  .settings-scroll {
    padding: 16px 12px 88px !important;
  }

  .settings-form {
    gap: 12px !important;
  }

  .section-title {
    gap: 9px !important;
    padding-bottom: 14px !important;
  }

  .section-title-art {
    flex-basis: 34px !important;
    width: 34px !important;
    height: 34px !important;
  }

  .section-title h3 {
    font-size: 17px !important;
  }

  .section-title p {
    font-size: 10px !important;
  }

  .settings-form .field-label, .settings-form .range-field, .settings-form .toggle-row {
    padding: 12px !important;
  }

  .settings-form .toggle-row {
    align-items: flex-start !important;
  }

  .save-bar {
    flex-wrap: wrap !important;
    padding: 9px !important;
    bottom: -72px !important;
  }

  .save-bar > span:empty {
    display: none !important;
  }

  .save-bar .primary-button {
    width: 100% !important;
  }

  .modal-backdrop, .admin-modal-backdrop {
    align-items: end !important;
    padding: 0 !important;
  }

  .custom-modal, .create-server-modal, .modal, .admin-modal {
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 14px 14px 0 0 !important;
    width: 100% !important;
    max-width: none !important;
    max-height: calc(100dvh - 24px) !important;
    overflow: auto !important;
  }

  .nested-modal {
    align-items: end !important;
    padding: 0 !important;
  }

  .nested-modal > section {
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 14px 14px 0 0 !important;
    width: 100% !important;
    max-height: calc(100dvh - 24px) !important;
    overflow: auto !important;
  }

  .modal-actions {
    grid-template-columns: 1fr 1fr !important;
    display: grid !important;
  }

  .modal-actions button {
    width: 100% !important;
    min-height: 42px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* [project]/src/app/product-refresh.css [app-client] (css) */
:root {
  --bg: #1e1f22;
  --panel: #2b2d31;
  --panel-2: #313338;
  --panel-3: #383a40;
  --line: #3f4147;
  --line-strong: #4e5058;
  --text: #f2f3f5;
  --muted: #b5bac1;
  --brand: #0060ff;
  --brand-2: #0060ff;
  --brand-soft: #0060ff26;
  --green: #23a55a;
  --danger: #da373c;
  --warning: #f0b232;
  --surface-rail: #1e1f22;
  --surface-side: #2b2d31;
  --surface-main: #313338;
  --surface-raised: #383a40;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-soft: 0 10px 30px #00000038;
  --shadow-float: 0 18px 56px #0000006b;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

html[data-theme="light"] {
  --bg: #e3e5e8;
  --panel: #f2f3f5;
  --panel-2: #fff;
  --panel-3: #ebedef;
  --line: #d7d9dc;
  --line-strong: #c4c7cc;
  --text: #313338;
  --muted: #5c6068;
  --brand-soft: #0060ff1c;
  --surface-rail: #e3e5e8;
  --surface-side: #f2f3f5;
  --surface-main: #fff;
  --surface-raised: #ebedef;
  --ui-shadow: 0 12px 34px #20222524;
}

html, body {
  scrollbar-color: var(--surface-raised) transparent;
  background: var(--surface-main) !important;
  color: var(--text) !important;
}

body:before {
  display: none !important;
}

::selection {
  color: var(--text);
  background: #0060ff4d;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--surface-raised);
  background-clip: padding-box;
  border: 3px solid #0000;
  border-radius: 99px;
}

:where(button, a, input, textarea, select) {
  transition: color .16s var(--ease-out), background-color .16s var(--ease-out), border-color .16s var(--ease-out), opacity .16s var(--ease-out), transform .16s var(--ease-out) !important;
}

:where(button):active:not(:disabled) {
  transform: translateY(1px);
}

:where(.primary-button, .button-primary, .register-button, .auth-submit, .admin-primary) {
  color: #fff !important;
  box-shadow: none !important;
  background: #0060ff !important;
  border: 1px solid #0060ff !important;
  border-radius: 6px !important;
}

:where(.primary-button, .button-primary, .register-button, .auth-submit, .admin-primary):hover:not(:disabled) {
  background: #1d70ff !important;
  transform: none !important;
}

.app-shell, .direct-shell {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: var(--surface-main) !important;
  gap: 0 !important;
  padding: 0 !important;
}

.app-shell {
  grid-template-columns: 72px 260px minmax(0, 1fr) 240px !important;
}

.app-shell.members-collapsed, .direct-shell, .direct-shell.has-conversation {
  grid-template-columns: 72px 260px minmax(0, 1fr) !important;
}

.direct-shell.friends-mode {
  grid-template-columns: 72px 260px minmax(0, 1fr) minmax(240px, 340px) !important;
}

.server-rail, .channel-sidebar, .member-sidebar, .direct-sidebar, .content-column, .direct-content {
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.server-rail {
  background: var(--surface-rail) !important;
  border-inline-end: 1px solid var(--ui-border) !important;
}

.channel-sidebar, .direct-sidebar {
  background: var(--surface-side) !important;
  border-inline-end: 1px solid var(--ui-border) !important;
}

.member-sidebar {
  background: var(--surface-side) !important;
  border-inline-start: 1px solid var(--ui-border) !important;
}

.content-column, .direct-content {
  background: var(--surface-main) !important;
}

.server-orb, .home-orb {
  background: var(--surface-raised) !important;
  box-shadow: none !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 50% !important;
}

.server-orb:before, .home-orb:before {
  background: var(--text) !important;
}

.server-orb:hover, .server-orb.active {
  color: #fff !important;
  background: #0060ff !important;
  border-radius: 16px !important;
}

.create-server-orb {
  color: var(--green) !important;
}

.create-server-orb:hover {
  background: var(--green) !important;
  color: #fff !important;
}

.server-heading, .channel-header, .direct-sidebar > header, .direct-content > header, .friends-header, .member-sidebar > header {
  border-color: var(--ui-border) !important;
  background: var(--surface-main) !important;
  box-shadow: none !important;
  background-image: none !important;
}

.server-heading {
  background: var(--surface-side) !important;
}

.channel-link, .xcord-home-nav > button, .direct-list > button, .member-row, .settings-window nav button {
  position: relative;
  box-shadow: none !important;
  color: var(--ui-muted) !important;
  background: none !important;
  border: 0 !important;
  border-radius: 5px !important;
}

:where(.channel-link, .xcord-home-nav > button, .direct-list > button, .member-row, .settings-window nav button):hover {
  background: var(--ui-hover) !important;
  color: var(--ui-text) !important;
}

:where(.channel-link, .xcord-home-nav > button, .direct-list > button, .settings-window nav button).active {
  background: var(--ui-active) !important;
  color: var(--ui-text) !important;
  box-shadow: inset -3px 0 #0060ff !important;
}

.xcord-home-nav > button.active:after, .channel-link.active:after {
  content: "";
  background: #0060ff;
  border-radius: 0 4px 4px 0;
  width: 3px;
  position: absolute;
  inset-block: 9px;
  inset-inline-start: 0;
}

.xcord-home-nav em.live {
  color: #4fd283 !important;
  background: #23a55a24 !important;
  border: 0 !important;
}

.xcord-home-nav .nitro-link, .xcord-home-nav .nitro-link i {
  color: var(--ui-muted) !important;
}

.home-feature-overlay, .xcord-feature-page, .friends-body, .dm-messages, .message-list {
  background: var(--surface-main) !important;
}

.home-feature-overlay {
  border: 0 !important;
}

.xcord-feature-header {
  border-bottom: 1px solid var(--ui-border) !important;
  background: var(--surface-main) !important;
  min-height: 86px !important;
  padding: 12px 24px !important;
}

.xcord-feature-header small {
  color: #68a3ff !important;
}

.xcord-feature-header h1 {
  color: var(--ui-text) !important;
}

.xcord-feature-header p {
  color: var(--ui-muted) !important;
}

.xcord-header-art {
  width: 58px !important;
  height: 58px !important;
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
}

.message {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.message:hover {
  background: color-mix(in srgb, var(--ui-hover) 44%, transparent) !important;
}

.message.mentioned {
  border-inline-start: 2px solid var(--ui-yellow) !important;
  background: color-mix(in srgb, var(--ui-yellow) 10%, transparent) !important;
}

.composer, .dm-composer {
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-input) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background-image: none !important;
  border-radius: 8px !important;
}

.composer:focus-within {
  border-color: #0060ff !important;
  box-shadow: 0 0 0 3px #0060ff1f !important;
}

.message-toolbar, .emoji-popover, .gif-popover, .soundboard-popover {
  border: 1px solid var(--ui-border) !important;
  background: var(--surface-side) !important;
  box-shadow: var(--ui-shadow) !important;
  background-image: none !important;
  border-radius: 7px !important;
}

.friend-row, .activity-card, .game-library-grid article, .nitro-plan-grid article, .shop-product-card, .quest-card, .commerce-summary > article {
  border: 1px solid var(--ui-border) !important;
  background: var(--surface-side) !important;
  box-shadow: none !important;
  background-image: none !important;
  border-radius: 8px !important;
}

:where(.friend-row, .activity-card, .game-library-grid article, .nitro-plan-grid article, .shop-product-card, .quest-card):hover {
  border-color: color-mix(in srgb, #0060ff 52%, var(--ui-border)) !important;
  transform: none !important;
}

.commerce-filters button, .friends-header nav button {
  color: var(--ui-muted) !important;
  background: none !important;
  border-radius: 5px !important;
}

.commerce-filters button.active, .friends-header nav button.active {
  background: var(--ui-active) !important;
  color: var(--ui-text) !important;
  box-shadow: inset 0 -3px #0060ff !important;
}

.quest-progress > i {
  background: #0060ff !important;
}

.context-menu, .notification-popover, .search-filter-popover, .search-results, .server-menu-popover, .pinned-messages-panel, .toast {
  border: 1px solid var(--ui-border) !important;
  background: var(--surface-side) !important;
  color: var(--ui-text) !important;
  box-shadow: var(--ui-shadow) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background-image: none !important;
  border-radius: 8px !important;
}

.notification-popover > div > :is(a, button) {
  width: 100%;
  color: var(--ui-text);
  text-align: start;
  background: none;
  border: 0;
  border-radius: 0;
  gap: 10px;
  padding: 11px 12px;
  text-decoration: none;
  display: flex;
}

.notification-popover > div > :is(a, button):hover {
  background: var(--ui-hover);
}

.notification-popover > div > .unread {
  background: #0060ff14;
  border-inline-start: 3px solid #0060ff;
}

.notification-popover header, .search-filter-popover header, .search-results header {
  border-color: var(--ui-border) !important;
  background: var(--surface-main) !important;
}

.context-menu button:hover, .server-menu-popover button:hover {
  background: var(--ui-hover) !important;
  color: var(--ui-text) !important;
}

.toast {
  border-inline-start: 3px solid #0060ff !important;
}

.settings-backdrop, .modal-backdrop, .admin-modal-backdrop, .nested-modal {
  -webkit-backdrop-filter: blur(3px) !important;
  backdrop-filter: blur(3px) !important;
  background: #000000a8 !important;
}

.settings-window, .custom-modal, .create-server-modal, .modal, .admin-modal, .nested-modal > section, .profile-modal, .user-profile-popout {
  border: 1px solid var(--ui-border) !important;
  background: var(--surface-main) !important;
  box-shadow: var(--shadow-float) !important;
  background-image: none !important;
  border-radius: 10px !important;
}

.settings-window > aside, .custom-modal > header, .custom-modal > footer, .modal > header, .modal > footer, .modal-actions {
  background: var(--surface-side) !important;
  border-color: var(--ui-border) !important;
}

.settings-window > main, .settings-window > main > header, .settings-scroll {
  background: var(--surface-main) !important;
}

.settings-form > section, .settings-form .field-label, .settings-form .range-field, .settings-form .toggle-row, .settings-info-grid article, .account-identity-card, .connection-card, .developer-details article, .permission-list > div, .role-list > div, .member-role {
  background: var(--surface-side) !important;
  border-color: var(--ui-border) !important;
  box-shadow: none !important;
  background-image: none !important;
}

.marketing-site, .site-footer, .auth-modern {
  background: var(--surface-rail) !important;
}

.site-header {
  background: color-mix(in srgb, var(--surface-rail) 92%, transparent) !important;
}

.feature-card, .voice-visual, .app-preview, .content-surface, .download-grid article, .contact-cards article, .contact-form, .rules-grid article, .faq-list details {
  border: 1px solid var(--ui-border) !important;
  background: var(--surface-side) !important;
  box-shadow: none !important;
  background-image: none !important;
}

.cta-section {
  background: #08285f !important;
  border: 1px solid #1454bd !important;
}

.admin-shell, .admin-main, .admin-content {
  background: var(--surface-main) !important;
}

.admin-sidebar, .admin-panel, .admin-stats article, .server-admin-card, .report-card, .admin-welcome, .automod-hero {
  background: var(--surface-side) !important;
  border-color: var(--ui-border) !important;
  box-shadow: none !important;
  background-image: none !important;
}

.channel-loading-bar {
  height: 2px !important;
  box-shadow: none !important;
  background: #0060ff !important;
}

@media (max-width: 1100px) {
  .app-shell, .app-shell.members-collapsed {
    grid-template-columns: 64px 240px minmax(0, 1fr) !important;
  }

  .direct-shell, .direct-shell.has-conversation, .direct-shell.friends-mode {
    grid-template-columns: 64px 250px minmax(0, 1fr) !important;
  }
}

@media (max-width: 760px) {
  .app-shell, .app-shell.members-collapsed, .direct-shell, .direct-shell.has-conversation, .direct-shell.friends-mode {
    grid-template-columns: 56px minmax(0, 1fr) !important;
  }

  .xcord-feature-header {
    min-height: 68px !important;
    padding: 8px 10px !important;
  }

  .xcord-feature-header p {
    display: none;
  }

  .xcord-header-art {
    width: 46px !important;
    height: 46px !important;
  }

  .notification-popover, .search-filter-popover, .search-results {
    width: auto !important;
    max-width: none !important;
    position: fixed !important;
    inset-inline: 8px !important;
  }

  .notification-popover {
    max-height: calc(100dvh - 80px);
    overflow: auto;
    top: 64px !important;
  }

  .custom-modal, .create-server-modal, .modal, .admin-modal {
    border-radius: 14px 14px 0 0 !important;
  }
}

@media (max-width: 480px) {
  .xcord-feature-header h1 {
    font-size: 17px !important;
  }

  .commerce-scroll, .nitro-home-scroll {
    padding: 12px !important;
  }

  .shop-products, .quest-grid, .commerce-summary {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

:root {
  --control-height: 42px;
  --control-bg: #24262b;
  --control-hover: #2b2e34;
  --control-border: #45484f;
  --focus-ring: 0 0 0 3px #0060ff33;
}

html[data-theme="light"] {
  --control-bg: #fff;
  --control-hover: #f4f5f7;
  --control-border: #c9ccd1;
}

:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]), textarea, select) {
  min-height: var(--control-height);
  font: inherit;
  line-height: 1.5;
  border: 1px solid var(--control-border) !important;
  background: var(--control-bg) !important;
  color: var(--text) !important;
  box-shadow: none !important;
  background-image: none !important;
  border-radius: 8px !important;
}

:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]), textarea) {
  padding: 9px 12px !important;
}

:where(select) {
  cursor: pointer;
  padding: 8px 12px !important;
}

:where(textarea) {
  resize: vertical;
}

:where(input, textarea, select):hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--control-border) 55%, var(--text)) !important;
}

:where(input, textarea, select):focus {
  box-shadow: var(--focus-ring) !important;
  border-color: #0060ff !important;
  outline: none !important;
}

:where(input, textarea)::placeholder {
  opacity: 1;
  color: color-mix(in srgb, var(--muted) 76%, transparent) !important;
}

:where(label) {
  color: var(--text);
}

:where(button) {
  font-family: inherit;
}

:where(.secondary-action, .button-ghost, .modal-actions > button, .settings-window button:not(.primary-button):not(.danger-button):not(.settings-logout), .admin-toolbar > button) {
  border: 1px solid var(--control-border) !important;
  background: var(--control-bg) !important;
  color: var(--text) !important;
  box-shadow: none !important;
  background-image: none !important;
  border-radius: 8px !important;
}

:where(.secondary-action, .button-ghost, .modal-actions > button, .settings-window button:not(.primary-button):not(.danger-button):not(.settings-logout), .admin-toolbar > button):hover:not(:disabled) {
  border-color: color-mix(in srgb, #0060ff 46%, var(--control-border)) !important;
  background: var(--control-hover) !important;
  color: var(--text) !important;
}

.language-switcher {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 9px;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  display: inline-grid;
}

.language-switcher button {
  min-height: 32px;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 5px 10px;
}

.language-switcher button.active {
  color: #fff;
  background: #0060ff;
}

.language-switcher.compact button {
  min-height: 28px;
  padding: 3px 8px;
  font-size: 12px;
}

.settings-backdrop {
  padding: 18px !important;
}

.settings-window {
  direction: rtl;
  overflow: hidden;
  grid-template-columns: 278px minmax(0, 1fr) !important;
  width: min(1180px, 100vw - 36px) !important;
  height: min(820px, 100dvh - 36px) !important;
}

.settings-window > aside {
  min-width: 0;
  border-inline-end: 1px solid var(--line) !important;
  background: var(--surface-side) !important;
  padding: 18px 12px !important;
}

.settings-window > aside nav {
  gap: 3px;
}

.settings-window > aside nav button {
  text-align: start;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 8px 11px !important;
}

.settings-window > aside nav button.active {
  box-shadow: inset -3px 0 #0060ff !important;
}

html[dir="ltr"] .settings-window {
  direction: ltr;
}

html[dir="ltr"] .settings-window > aside {
  border-inline-end: 1px solid var(--line) !important;
}

html[dir="ltr"] .settings-window > aside nav button.active {
  box-shadow: inset 3px 0 #0060ff !important;
}

.settings-window > main {
  min-width: 0;
}

.settings-window > main > header {
  min-height: 82px;
  border-bottom: 1px solid var(--line) !important;
  padding: 12px 22px !important;
}

.settings-scroll {
  padding: 24px clamp(16px, 4vw, 42px) 50px !important;
}

.settings-form {
  width: min(100%, 760px);
  margin-inline: auto;
  gap: 18px !important;
}

.section-title {
  min-height: 72px;
  border-radius: 10px !important;
  padding: 12px !important;
}

.section-title-art {
  object-fit: contain;
  width: 54px !important;
  height: 54px !important;
}

.toggle-row, .setting-row {
  min-height: 66px;
  border-radius: 9px !important;
  padding: 12px 14px !important;
}

.save-bar {
  z-index: 4;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-main) 94%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 10px;
  margin-top: 8px;
  padding: 12px;
  position: sticky;
  bottom: 0;
}

.context-menu, .server-menu-popover, .notification-popover, .search-filter-popover, .search-results {
  overflow: hidden;
  padding: 6px !important;
}

:where(.context-menu, .server-menu-popover) button {
  min-height: 38px;
  border-radius: 6px !important;
}

:where(.context-menu, .server-menu-popover) hr {
  border: 0;
  border-top: 1px solid var(--line);
}

.admin-shell {
  color: var(--text);
}

.admin-sidebar {
  border-inline-end: 1px solid var(--line) !important;
}

.admin-topbar {
  border-bottom: 1px solid var(--line) !important;
  background: var(--surface-main) !important;
}

.admin-content {
  padding: clamp(14px, 2.4vw, 30px) !important;
}

.admin-panel, .admin-stats article, .admin-toolbar, .report-card, .monitor-grid article {
  border: 1px solid var(--line) !important;
  background: var(--surface-side) !important;
  box-shadow: none !important;
  background-image: none !important;
  border-radius: 10px !important;
}

.admin-toolbar {
  padding: 12px !important;
}

.admin-table > header, .audit-table > header {
  color: var(--muted);
  background: var(--surface-raised) !important;
}

.admin-table > article:hover, .audit-table > article:hover {
  background: var(--control-hover) !important;
}

.admin-toggle {
  border: 1px solid var(--control-border) !important;
  background: var(--control-bg) !important;
}

.admin-toggle.on {
  background: #0060ff !important;
  border-color: #0060ff !important;
}

html[data-theme="light"] :where(.server-rail, .channel-sidebar, .direct-sidebar, .member-sidebar, .content-column, .direct-content, .settings-window, .custom-modal, .context-menu, .notification-popover, .admin-panel) {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

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

@media (max-width: 860px) {
  .settings-backdrop {
    padding: 0 !important;
  }

  .settings-window {
    border: 0 !important;
    border-radius: 0 !important;
    grid-template-columns: 230px minmax(0, 1fr) !important;
    width: 100vw !important;
    height: 100dvh !important;
  }

  .settings-scroll {
    padding-inline: 14px !important;
  }

  .admin-content {
    padding: 12px !important;
  }
}

@media (max-width: 620px) {
  .settings-window {
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }

  .settings-window > aside {
    padding-inline: 7px !important;
  }

  .settings-window > aside :where(small, span:not(.avatar), b) {
    font-size: 0 !important;
  }

  .settings-window > aside nav button {
    justify-content: center;
    padding-inline: 8px !important;
  }

  .settings-window > aside nav button i {
    font-size: 17px;
  }

  .settings-window > main > header {
    min-height: 68px;
    padding-inline: 12px !important;
  }

  .settings-header-art {
    width: 46px !important;
    height: 46px !important;
  }

  .settings-window > main > header h2 {
    font-size: 17px !important;
  }

  .section-title {
    align-items: flex-start;
  }

  .section-title-art {
    width: 44px !important;
    height: 44px !important;
  }

  .save-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .save-bar .primary-button {
    width: 100%;
  }

  .header-actions-site > .language-switcher {
    display: none;
  }
}

/*# sourceMappingURL=src_app_0utj313._.css.map*/