:root {
  --surface-main: #313338;
  --surface-side: #2b2d31;
  --surface-rail: #1e1f22;
  --surface-card: #232428;
  --surface-input: #383a40;
  --stroke: #41434a;
  --text-main: #f2f3f5;
  --text-muted: #949ba4;
  --brand: #7785ff;
  --green: #3ba780;
}
body {
  background: var(--surface-rail);
  color: var(--text-main);
  font-family: "DM Sans", "Segoe UI", sans-serif;
}
button {
  transition:
    background 0.15s,
    color 0.15s,
    box-shadow 0.15s;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.ui-icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  display: block;
}
#app {
  grid-template-columns: 72px 252px minmax(0, 1fr) 240px;
  grid-template-rows: 34px minmax(0, 1fr);
  height: 100dvh;
  overflow: hidden;
}
.app-titlebar {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-rail);
  padding: 0 14px 0 18px;
  font-size: 11px;
  user-select: none;
}
.wordmark {
  display: flex;
  gap: 7px;
  align-items: center;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 800;
}
.wordmark > span {
  color: #9da7ff;
  font-size: 23px;
  line-height: 1;
}
.wordmark small {
  font-size: 7px;
  letter-spacing: 1px;
  color: #a8b1ff;
  border: 1px solid #7785ff40;
  border-radius: 3px;
  padding: 2px 3px;
}
#titlebar-location {
  color: #858992;
  font-size: 10px;
}
.titlebar-audio {
  color: #b8bdc9;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  font-size: 10px;
}
.titlebar-audio .ui-icon {
  width: 14px;
  height: 14px;
}
.servers {
  grid-row: 2;
  background: var(--surface-rail);
  padding: 13px 11px;
  gap: 10px;
}
.server {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #313338;
  font-size: 15px;
  color: #dbdee1;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.server:hover {
  background: #5865f2;
  border-radius: 16px;
}
.server.active {
  box-shadow: 0 4px 15px #0002;
  background: #5865f2;
}
.server.active:before {
  left: -11px;
  height: 36px;
  top: 6px;
}
.home-brand {
  background: linear-gradient(140deg, #7b89ff, #5865f2) !important;
  color: white;
  border-radius: 17px !important;
}
.home-brand .ui-icon {
  width: 29px;
  height: 29px;
  stroke-width: 2;
}
.server.add {
  color: #3db989;
  font-size: 24px;
}
.server.add:hover {
  background: #248667;
  color: white;
}
.server-line {
  background: #35363c;
  width: 32px;
  margin: 0 0 2px;
}
#server-list {
  gap: 10px;
}
.server-bottom button {
  padding: 10px;
  color: #a7acb6;
}
.sidebar {
  grid-row: 2;
  background: var(--surface-side);
  border-right: 1px solid #0002;
}
.server-header {
  height: 58px;
  flex-shrink: 0;
  padding: 12px 14px 12px 17px;
  align-items: center;
  box-shadow: 0 2px 5px #0002;
  border-bottom: 1px solid #1e1f2255;
  cursor: default;
}
.server-header-label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.server-header-label > span {
  font-size: 15px;
  letter-spacing: -0.2px;
}
.server-header-label > small {
  font-weight: 400;
  font-size: 10px;
  color: #949ba4;
}
.server-header button {
  padding: 7px;
}
.server-header button .ui-icon {
  width: 17px;
  height: 17px;
}
.channel-scroll {
  padding: 15px 8px;
  scrollbar-width: thin;
  scrollbar-color: #1e1f22 transparent;
}
.server-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #3b3d4355;
  border-radius: 0;
  margin: 0 6px 13px;
  padding: 0 0 17px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  align-items: start;
}
.invite-card-icon {
  width: 28px;
  height: 28px;
  background: #5865f225;
  color: #a6b0ff;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 17px;
}
.server-card strong {
  font-size: 11px;
  margin: 1px 0 5px;
  font-weight: 700;
}
.server-card div > span {
  font-size: 10px;
  line-height: 1.5;
  color: #949ba4;
  display: block;
}
.server-card button {
  grid-column: 1/-1;
  margin: 4px 0 0;
  background: #404249;
  border: 1px solid #4b4d56;
  text-align: center;
  font-weight: 600;
  padding: 8px;
  font-size: 11px;
  border-radius: 5px;
}
.server-card button:hover {
  background: #4b4e58;
}
.category {
  padding: 4px 6px 5px;
  font-size: 10px;
  letter-spacing: 0.4px;
  color: #949ba4;
}
.category-toggle {
  text-align: left;
  padding: 0;
  font-size: 10px;
  letter-spacing: 0.5px;
  font-weight: 700;
  flex: 1;
  color: #a3a7b0;
}
.category-toggle:hover {
  background: none;
  color: #e1e3e8;
}
.category > button:last-child {
  font-size: 16px;
  padding: 3px;
}
.category .ui-icon {
  width: 15px;
  height: 15px;
}
.voice-category {
  margin-top: 17px;
}
.channel {
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 10px;
  gap: 9px;
  margin: 1px 0;
  color: #949ba4;
  min-height: 35px;
}
.channel .symbol {
  width: 20px;
  font-size: 20px;
  color: #818894;
  display: flex;
  align-items: center;
}
.channel .symbol .ui-icon {
  width: 20px;
  height: 20px;
}
.channel:hover {
  background: #35373c;
  color: #dbdee1;
}
.channel.selected {
  background: #404249;
  color: #f2f3f5;
}
.channel.selected .symbol {
  color: #c5c9d2;
}
.channel.selected:after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aab2ff;
  margin-left: auto;
}
.voice-user {
  padding: 5px 12px 5px 38px;
  gap: 7px;
  font-size: 11px;
  color: #b0b6c0;
}
.voice-user .avatar {
  width: 23px;
  height: 23px;
  border: 2px solid transparent;
}
.voice-user.speaking .avatar {
  border-color: #3ba780;
}
.voice-user .muted .ui-icon {
  width: 13px;
  height: 13px;
}
.sidebar-tip {
  font-size: 10px;
  color: #7b8089;
  line-height: 1.7;
  padding: 26px 13px 5px;
}
.keyboard-badge {
  font-size: 7px;
  letter-spacing: 1px;
  background: #3b3d45;
  color: #a3a8b4;
  padding: 2px 4px;
  border-radius: 3px;
  margin-right: 4px;
}
.profile {
  height: 59px;
  min-height: 59px;
  padding: 8px;
  background: #232428;
  gap: 5px;
  border-top: 1px solid #3b3d4330;
}
.profile #profile-open {
  padding: 0;
  border-radius: 50%;
}
.profile .avatar {
  width: 33px;
  height: 33px;
  font-size: 11px;
}
.profile-info {
  padding-left: 2px;
}
.profile-info strong {
  font-size: 11px;
  max-width: 90px;
}
.profile-info span {
  font-size: 9px;
  color: #949ba4;
  padding-top: 2px;
}
.profile-info span:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3ba780;
  margin-right: 4px;
}
.profile button:not(#profile-open) {
  width: 27px;
  height: 31px;
  padding: 5px;
  display: grid;
  place-items: center;
}
.profile .ui-icon {
  width: 18px;
  height: 18px;
}
.profile button.off {
  background: #da373c12;
  color: #f47d88;
}
#admin-badge {
  display: none !important;
}
main {
  grid-row: 2;
  background: var(--surface-main);
}
.chat-header {
  height: 58px;
  gap: 9px;
  border-bottom: 1px solid #1e1f2233;
  padding: 0 23px;
  flex-shrink: 0;
  background: var(--surface-main);
}
.chat-header strong {
  font-size: 14px;
}
.hash {
  color: #949ba4;
}
.hash .ui-icon {
  width: 24px;
  height: 24px;
}
.channel-description {
  font-size: 11px;
  color: #969ba5;
}
.header-divider {
  background: #46484f;
  height: 20px;
  margin: 0 4px;
}
.header-actions {
  gap: 12px;
}
.header-actions button {
  padding: 5px;
  color: #b5bac1;
}
.header-actions button .ui-icon {
  width: 21px;
  height: 21px;
}
.notice {
  background: #313338;
  border-bottom: 1px solid #41434b66;
  min-height: 41px;
  padding: 8px 23px;
  gap: 12px;
  font-size: 10px;
  color: #9a9fa9;
}
.notice-status {
  color: #a9b5c9;
  letter-spacing: 0.8px;
  font-size: 8px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-dot,
.live-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  vertical-align: middle;
}
.notice > span {
  flex: 1;
}
.notice button {
  font-size: 9px;
  padding: 6px 9px;
  background: #5865f2;
}
.notice .status-dot {
  width: 5px;
  height: 5px;
}
.members {
  grid-row: 2;
  background: var(--surface-side);
  padding: 21px 14px;
  scrollbar-width: thin;
  scrollbar-color: #1e1f22 transparent;
}
.members-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.6px;
  color: #949ba4;
  margin-bottom: 23px;
}
.members-heading #member-total {
  background: #383a40;
  padding: 3px 6px;
  border-radius: 4px;
  min-width: 20px;
  text-align: center;
  color: #c3c6ce;
  font-size: 9px;
}
.member-label {
  font-size: 9px;
  letter-spacing: 0.5px;
  color: #9b9fa8;
  margin-top: 24px;
}
.member {
  padding: 8px 5px;
  gap: 9px;
}
.member .avatar {
  width: 31px;
  height: 31px;
  font-size: 11px;
}
.member strong {
  font-size: 11px;
}
.member small {
  font-size: 9px;
  line-height: 1.7;
}
.member:not(.online) {
  opacity: 0.55;
}
.members-note {
  margin-top: 30px;
  border: 1px solid #41434b;
  border-radius: 8px;
  padding: 15px;
  background: linear-gradient(135deg, #303240, #2d2f37);
}
.mini-brand {
  font-size: 29px;
  color: #a2acff;
  margin-bottom: 8px;
}
.members-note strong {
  font-size: 11px;
}
.members-note p {
  font-size: 10px;
  color: #969da9;
  line-height: 1.8;
}
.members-note button {
  border: 1px solid #4a4c59;
  background: #3d404b;
  font-size: 10px;
}
#messages {
  padding: 0 0 16px;
  scrollbar-width: thin;
  scrollbar-color: #1e1f22 transparent;
  min-height: 0;
}
.welcome {
  padding: 34px 24px 18px;
  margin: 0;
}
.welcome-icon {
  width: 52px;
  height: 52px;
  background: #41434a;
  border-radius: 16px;
  font-size: 33px;
  color: #e0e2e8;
}
.welcome h1 {
  font-size: 24px;
  letter-spacing: -0.7px;
  margin: 16px 0 8px;
}
.welcome p {
  font-size: 12px;
  color: #a0a6b0;
  margin: 0;
  line-height: 1.7;
}
.welcome-tag {
  display: none !important;
}
.welcome.has-history {
  padding-top: 28px;
  padding-bottom: 10px;
}
.welcome.has-history .welcome-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 28px;
}
.welcome.has-history h1 {
  font-size: 22px;
  margin: 12px 0 5px;
}
.date-divider {
  font-size: 9px;
  padding: 16px 23px;
  color: #a1a6b0;
}
.date-divider:before,
.date-divider:after {
  background: #46484f;
}
.message-row {
  padding: 9px 23px;
  gap: 13px;
  position: relative;
}
.message-row:hover {
  background: #2e3035;
}
.message-row .avatar {
  width: 36px;
  height: 36px;
  font-size: 12px;
  margin-top: 1px;
}
.message-meta strong {
  font-size: 12px;
  font-weight: 700;
}
.message-meta time {
  font-size: 9px;
  color: #969ba4;
}
.message-body {
  font-size: 13px;
  color: #dbdee1;
  line-height: 1.65;
  margin-top: 3px;
}
.message-body a {
  color: #6caaff;
}
.delete-message {
  padding: 3px;
}
.message-meta .delete-message .ui-icon {
  width: 13px;
  height: 13px;
}
#composer {
  background: var(--surface-input);
  border: 1px solid #42444b;
  border-radius: 8px;
  margin: 6px 20px 0;
  padding: 10px 9px;
  gap: 10px;
  min-height: 51px;
  box-shadow: 0 2px 5px #0000000a;
}
#composer button {
  padding: 4px;
  color: #b5bac1;
}
#composer button:hover {
  background: #4b4d57;
  color: #fff;
}
#composer button[type="submit"] {
  color: #a2acff;
}
#composer button .ui-icon {
  width: 20px;
  height: 20px;
}
#message {
  padding: 5px 0;
  font-size: 12px;
  color: #e0e2e8;
}
#message::placeholder {
  color: #9499a3;
}
.composer-hint {
  font-size: 8px;
  color: #969ba6;
}
.composer-hint kbd {
  font: inherit;
  border: 1px solid #555862;
  padding: 2px 3px;
  border-radius: 3px;
}
.chat-bottom {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 22px 11px;
  font-size: 8px;
  color: #8b919c;
  flex-shrink: 0;
}
.chat-bottom > .status-dot {
  width: 4px;
  height: 4px;
}
.chat-bottom > span:last-child {
  margin-left: auto;
  font-size: 8px;
}
.chat-bottom.reconnecting > .status-dot {
  background: #e6b267;
}
.avatar {
  background: #5865f2;
}
.voice-status-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.voice-status-line > div {
  flex: 1;
  min-width: 0;
}
.voice-status-line strong {
  font-size: 11px;
  color: #49c19a;
}
#voice-connected-icon {
  color: #49c19a;
}
#voice-connected-icon .ui-icon {
  width: 19px;
  height: 19px;
}
#voice-name {
  font-size: 10px;
  color: #a1aba9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#voice-panel {
  padding: 12px 10px;
  background: #25282b;
  border-top: 1px solid #36393e;
}
.voice-status-line > button {
  padding: 7px;
  color: #b5bac1;
}
.voice-status-line > button:hover {
  background: #e5536018;
  color: #ff8c98;
}
.voice-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.voice-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  background: #383b42;
  padding: 8px 6px;
  font-size: 10px;
  min-width: 0;
}
.voice-actions button .ui-icon {
  width: 16px;
  height: 16px;
}
.voice-actions button.on {
  background: #5865f2;
  color: #fff;
}
.audio-settings-shortcut {
  display: block;
  font-size: 9px;
  color: #adb5c9;
  width: 100%;
  padding: 8px 0 0;
  text-align: center;
}
.audio-settings-shortcut:hover {
  background: none;
  text-decoration: underline;
}
#call-stage {
  background: #1e1f22;
  padding: 16px 22px;
  border-bottom: 1px solid #191a1e;
  flex-shrink: 0;
  max-height: 45vh;
  overflow: auto;
}
#call-stage > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
#call-stage header > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
#call-stage-title {
  font-size: 12px;
}
#call-stage-count {
  font-size: 10px;
  color: #9299a5;
}
#call-stage header > button {
  font-size: 10px;
  color: #b3baf0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.live-dot {
  box-shadow: 0 0 8px #3ba78066;
}
#call-participants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: auto;
}
.call-member {
  height: 115px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #2b2d31;
  border: 2px solid transparent;
}
.call-member .avatar {
  width: 48px;
  height: 48px;
  font-size: 17px;
}
.call-member.speaking {
  border-color: #3ba780;
}
.call-member small {
  position: absolute;
  bottom: 9px;
  left: 10px;
  font-size: 10px;
  color: #cbd0d9;
}
.call-member .call-member-state {
  position: absolute;
  right: 9px;
  bottom: 8px;
  color: #e68d99;
}
.call-member-state .ui-icon {
  width: 13px;
  height: 13px;
}
.call-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.call-toolbar button {
  width: 39px;
  height: 37px;
  background: #383a40;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #e7e9f0;
}
.call-toolbar button.on {
  background: #5865f2;
}
.call-toolbar button.off {
  color: #fa919e;
}
.call-toolbar .hangup {
  background: #da373c;
  width: 56px;
}
.call-toolbar button .ui-icon {
  width: 19px;
  height: 19px;
}
#screen-stage {
  background: #18191c;
  padding: 15px 22px;
  max-height: 45vh;
  flex-shrink: 0;
}
#screen-stage header {
  font-size: 10px;
  color: #b5bbc7;
}
.screen-tile {
  background: #222429;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid #3d4049;
}
.screen-tile small {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 1;
  background: #141519b0;
  color: white;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 10px;
}
.screen-tile video {
  max-height: 32vh;
  border-radius: 0;
}
#toast {
  background: #292c35;
  border-color: #555b73;
  color: #f1f2f6;
  font-size: 12px;
  bottom: 24px;
  padding: 12px 18px;
  border-radius: 8px;
}
.auth {
  background:
    radial-gradient(ellipse at 18% 45%, #5865f21e, transparent 50%),
    radial-gradient(ellipse at 80% 20%, #6a5af91c, transparent 45%), #16171c;
}
.auth form {
  background: #2b2d31;
  border-color: #41434b;
  border-radius: 12px;
  padding: 32px 36px;
}
.auth .brand-mark {
  height: 42px;
  width: 42px;
  font-size: 35px;
  border-radius: 13px;
  margin-bottom: 24px;
  background: #6c79f5;
}
.auth .eyebrow {
  font-size: 8px;
  letter-spacing: 1.8px;
}
.auth h1 {
  font-size: 26px;
}
.auth .subtle {
  font-size: 12px;
  color: #a3a9b4;
}
.auth label {
  font-size: 10px;
  color: #bec3ce;
}
.auth input {
  background: #1e1f22;
  border-color: #42454d;
  padding: 12px;
  font-size: 12px;
}
.auth .primary {
  margin-top: 3px;
}
.auth .switch {
  margin-bottom: 0;
}
.auth-wordmark {
  position: absolute;
  left: 35px;
  top: 29px;
  color: #a8b0ff;
  letter-spacing: 3px;
  font-size: 16px;
  font-weight: 800;
}
.auth-wordmark span {
  display: block;
  font-size: 7px;
  color: #767d90;
  letter-spacing: 2px;
  margin: 7px 0 0 22px;
}
/* User settings */
#preferences-dialog {
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: var(--surface-main);
  color: var(--text-main);
  overflow: hidden;
}
#preferences-dialog::backdrop {
  background: #000a;
}
.preferences-shell {
  height: 100%;
  display: grid;
  grid-template-columns: 240px minmax(0, 830px);
  justify-content: center;
  background: linear-gradient(
    to right,
    var(--surface-rail) 0%,
    var(--surface-rail) 30%,
    var(--surface-main) 30%,
    var(--surface-main) 100%
  );
}
.preferences-nav {
  padding: 39px 16px 25px;
  background: var(--surface-rail);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.preferences-brand {
  font-size: 15px;
  letter-spacing: 3px;
  font-weight: 800;
  color: #aeb7ff;
  margin: 0 12px 35px;
}
.preferences-nav > p {
  font-size: 8px;
  letter-spacing: 0.7px;
  color: #858c9c;
  padding: 0 12px;
  margin: 0 0 11px;
  font-weight: 700;
}
.preferences-nav > button {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  text-align: left;
  font-size: 12px;
  color: #aeb5c4;
  border-radius: 5px;
  margin-bottom: 3px;
}
.preferences-nav > button .ui-icon {
  width: 17px;
  height: 17px;
}
.preferences-nav > button.selected {
  background: #404249;
  color: #fff;
}
.preferences-nav > button:hover {
  background: #303239;
  color: #f1f3f9;
}
.preferences-divider {
  height: 1px;
  background: #363941;
  margin: 17px 11px 12px;
}
.preferences-nav > .logout-preference {
  color: #ed8793;
}
.preferences-nav > small {
  margin: auto 12px 0;
  padding-top: 30px;
  color: #636b7d;
  font-size: 9px;
  line-height: 1.9;
  letter-spacing: 0.2px;
}
.preferences-main {
  background: var(--surface-main);
  padding: 38px 42px 70px;
  overflow-y: auto;
  scrollbar-color: #1e1f22 #313338;
  scrollbar-width: thin;
}
.preferences-header {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.preferences-header > div:first-child {
  flex: 1;
  min-width: 0;
}
.preferences-header span {
  font-size: 8px;
  letter-spacing: 1.1px;
  color: #939bb0;
  font-weight: 600;
}
.preferences-header h1 {
  font-size: 26px;
  margin: 11px 0 8px;
  letter-spacing: -0.7px;
  font-weight: 700;
}
.preferences-header p {
  font-size: 11px;
  line-height: 1.8;
  color: #a3aabb;
  margin: 0;
  max-width: 480px;
}
.preferences-close {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  position: sticky;
  top: 0;
}
.preferences-close button {
  width: 32px;
  height: 32px;
  border: 1.5px solid #626977;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 6px;
  color: #c2c8d4;
}
.preferences-close button .ui-icon {
  width: 17px;
  height: 17px;
}
.preferences-close small {
  font-size: 8px;
  color: #7f8799;
}
.preferences-callout {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid #6975ff36;
  background: linear-gradient(100deg, #5865f218, #5865f208);
  border-radius: 8px;
  margin-bottom: 28px;
}
.preferences-callout > span:first-child {
  display: grid;
  place-items: center;
  background: #717df71a;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  color: #a4b0ff;
  flex-shrink: 0;
}
.preferences-callout > span:first-child .ui-icon {
  width: 19px;
  height: 19px;
}
.preferences-callout > div {
  flex: 1;
}
.preferences-callout strong {
  font-size: 11px;
  font-weight: 600;
}
.preferences-callout p {
  font-size: 9px;
  line-height: 1.7;
  color: #9da6bc;
  margin: 5px 0 0;
}
.pill {
  font-size: 7px;
  letter-spacing: 0.6px;
  font-weight: 700;
  white-space: nowrap;
  color: #b0b9ff;
  border: 1px solid #727dff40;
  background: #6976ff14;
  padding: 5px 6px;
  border-radius: 4px;
}
.settings-section-title {
  margin: 25px 0 18px;
}
.settings-section-title > span {
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #8993aa;
  font-weight: 700;
}
.settings-section-title > h2 {
  font-size: 16px;
  letter-spacing: -0.25px;
  margin: 7px 0 0;
  font-weight: 650;
}
.device-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.setting-field > label {
  margin: 0 0 9px;
  font-size: 9px;
  letter-spacing: 0.6px;
  color: #b3bdcf;
}
.setting-field select,
#preferences-dialog select {
  border: 1px solid #4b505d;
  background: #24262c;
  color: #d9deea;
  border-radius: 5px;
  padding: 11px 12px;
  font-size: 11px;
  min-width: 0;
  width: 100%;
  outline: none;
}
.setting-field select:focus {
  border-color: #8793ff;
}
.range-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 19px 0 11px;
}
.range-heading label {
  font-size: 10px;
  font-weight: 500;
  margin: 0;
  color: #b2bdd0;
}
.range-heading output {
  font-size: 9px;
  font-weight: 600;
  color: #a9b4ff;
  background: #6978ff17;
  padding: 3px 6px;
  border-radius: 4px;
}
#preferences-dialog input[type="range"] {
  appearance: none;
  display: block;
  width: 100%;
  height: 5px;
  background: #1c1e24;
  accent-color: #7b89ff;
  border-radius: 5px;
  padding: 0;
  margin: 0;
  border: 0;
  cursor: pointer;
}
#preferences-dialog input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 8px;
  height: 18px;
  border-radius: 3px;
  background: #e1e5f0;
  box-shadow: 0 1px 5px #0005;
}
#preferences-dialog input[type="range"]::-moz-range-thumb {
  width: 8px;
  height: 18px;
  border: 0;
  border-radius: 3px;
  background: #e1e5f0;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  color: #7d879b;
  font-size: 8px;
  margin-top: 7px;
}
.device-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 19px;
  flex-wrap: wrap;
}
.secondary-button,
.icon-text-button {
  border: 1px solid #525866;
  background: #404550;
  color: #d5dbea;
  padding: 9px 12px;
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 5px;
}
.secondary-button:hover {
  background: #4b515e;
}
.icon-text-button {
  background: none;
  border: 0;
  color: #99a3b8;
  padding: 5px;
  font-size: 9px;
  font-weight: 400;
}
.icon-text-button .ui-icon,
.secondary-button .ui-icon {
  width: 14px;
  height: 14px;
}
.text-button {
  padding: 4px 0;
  font-size: 10px;
  color: #a4b0ff;
  background: none;
}
.text-button:hover {
  background: none;
  text-decoration: underline;
}
.field-help {
  font-size: 9px;
  line-height: 1.8;
  color: #8d98ae;
  margin: 11px 0 0;
}
.audio-test-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  background: #272a31;
  border: 1px solid #454b58;
  border-radius: 8px;
  padding: 18px;
  margin: 23px 0 30px;
}
.audio-test-card h3 {
  font-size: 12px;
  margin: 0 0 7px;
  font-weight: 650;
}
.audio-test-card p {
  color: #8f9bb3;
  font-size: 9px;
  margin: 0;
  line-height: 1.8;
}
.audio-test-card > .primary {
  font-size: 10px;
  align-self: center;
  padding: 9px 13px;
  background: #6978ef;
}
.mic-meter {
  grid-column: 1/-1;
  position: relative;
  background: #1b1e26;
  height: 14px;
  border-radius: 4px;
  overflow: hidden;
  margin: 1px 0 0;
}
.mic-meter > div:first-child {
  height: 100%;
  width: 0;
  background: linear-gradient(
    90deg,
    #4fac97 0%,
    #6ec6a8 65%,
    #c8d98d 90%,
    #e9b575 100%
  );
  transition: width 0.06s linear;
}
.meter-marks {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(5% - 2px),
    #272a31 calc(5% - 2px),
    #272a31 5%
  );
}
.test-bottom {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.small-check {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 9px;
  color: #a9b5ca;
  font-weight: 400;
}
.small-check > span {
  font-size: 8px;
  color: #79869d;
}
#preferences-dialog input[type="checkbox"]:not([role="switch"]) {
  display: inline-block;
  width: 13px;
  height: 13px;
  padding: 0;
  margin: 0;
  accent-color: #7e8dff;
  border: 0;
  flex-shrink: 0;
}
.input-mode-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-bottom: 19px;
}
.mode-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #454c5a;
  border-radius: 6px;
  padding: 14px 12px;
  margin: 0;
  cursor: pointer;
  min-width: 0;
}
.mode-card:has(input:checked) {
  background: #6776ed12;
  border-color: #7888e9;
}
.mode-card input {
  width: 13px;
  height: 13px;
  accent-color: #8a98ff;
  padding: 0;
  margin: 2px 0 0;
  flex-shrink: 0;
}
.mode-card strong {
  font-size: 10px;
  font-weight: 600;
  color: #d3dbeb;
}
.mode-card span {
  display: block;
  font-size: 9px;
  line-height: 1.7;
  margin-top: 5px;
  font-weight: 400;
  color: #8f9bb2;
}
#ptt-options {
  background: #272a31;
  border-radius: 6px;
  padding: 13px 15px;
  margin-bottom: 12px;
}
#ptt-options > span {
  font-size: 8px;
  letter-spacing: 0.6px;
  color: #9daac1;
}
.keybind-button {
  border: 1px solid #5e687d;
  border-bottom-width: 3px;
  border-radius: 5px;
  padding: 6px 16px;
  background: #353c4a;
  margin-left: 15px;
  font-size: 11px;
  color: #c4d0e7;
}
.setting-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid #474c5722;
}
.setting-toggle strong {
  font-size: 11px;
  color: #c7d1e3;
  font-weight: 550;
}
.setting-toggle p {
  font-size: 9px;
  line-height: 1.8;
  color: #8996af;
  margin: 6px 0 0;
}
.setting-toggle input[role="switch"] {
  appearance: none;
  display: block;
  flex-shrink: 0;
  width: 34px;
  height: 20px;
  border: 0;
  background: #535c6d;
  border-radius: 20px;
  padding: 0;
  margin: 0;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
}
.setting-toggle input[role="switch"]:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #edf1f9;
  transition: transform 0.15s;
}
.setting-toggle input[role="switch"]:checked {
  background: #7283ef;
}
.setting-toggle input[role="switch"]:checked:after {
  transform: translateX(14px);
}
.camera-preview {
  height: 220px;
  position: relative;
  background: radial-gradient(ellipse at center, #32394a, #22262f 80%);
  border: 1px solid #434c5e;
  border-radius: 8px;
  margin-top: 17px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.camera-preview video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #191c23;
}
.camera-preview video.mirror {
  transform: scaleX(-1);
}
#camera-preview-placeholder {
  text-align: center;
  color: #6c7a97;
}
#camera-preview-placeholder > span {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
#camera-preview-placeholder .ui-icon {
  width: 33px;
  height: 33px;
  stroke-width: 1.4;
}
#camera-preview-placeholder strong {
  display: block;
  font-size: 12px;
  color: #a6b3ce;
  font-weight: 500;
}
#camera-preview-placeholder p {
  font-size: 9px;
  color: #74839f;
  margin: 8px 0;
}
.preview-badge {
  position: absolute;
  bottom: 11px;
  left: 11px;
  border: 1px solid #879bce30;
  border-radius: 4px;
  background: #19223370;
  padding: 4px 6px;
  color: #889aba;
  font-size: 7px;
  letter-spacing: 0.7px;
}
.preview-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 12px;
}
.preferences-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #454d5d66;
  margin-top: 30px;
  padding-top: 20px;
}
.preferences-footer > span {
  font-size: 8px;
  color: #8b9ab3;
  display: flex;
  align-items: center;
  gap: 5px;
}
.preferences-footer .status-dot {
  width: 4px;
  height: 4px;
}
#preference-status {
  font-size: 11px;
  line-height: 1.7;
  padding: 11px 14px;
  border: 1px solid #7594cb40;
  border-radius: 6px;
  background: #688ce414;
  margin-bottom: 20px;
  color: #b9cbee;
}
#preference-status.error {
  border-color: #d4808b55;
  background: #db657214;
  color: #f4b0ba;
}
.account-banner {
  height: 105px;
  background: linear-gradient(130deg, #6675ee, #4c56a1);
  border-radius: 9px 9px 0 0;
  overflow: hidden;
}
.account-banner > span {
  font-size: 150px;
  color: #ffffff18;
  float: right;
  line-height: 0.8;
  transform: rotate(15deg);
  padding-right: 20px;
}
.account-card {
  background: #252930;
  border: 1px solid #414b5c;
  border-radius: 0 0 9px 9px;
  padding: 0 25px 25px;
}
.account-card .avatar {
  width: 65px;
  height: 65px;
  font-size: 22px;
  border: 5px solid #252930;
  transform: translateY(-25px);
  margin-bottom: -12px;
}
.account-card h2 {
  font-size: 19px;
  margin: 0;
}
.account-card > p {
  color: #8c9ab2;
  font-size: 10px;
}
.account-card dl {
  background: #20242c;
  padding: 17px;
  border-radius: 6px;
  margin: 23px 0;
}
.account-card dt {
  font-size: 8px;
  letter-spacing: 0.8px;
  color: #8392ab;
  margin: 0 0 7px;
}
.account-card dd {
  font-size: 12px;
  margin: 0 0 20px;
  color: #c8d4e6;
}
.account-card dd:last-child {
  margin: 0;
}
.account-card .primary {
  font-size: 11px;
}
.theme-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 25px 0;
}
.theme-card {
  padding: 11px;
  border: 2px solid #434b5c;
  text-align: left;
  background: #292d36;
}
.theme-card.selected {
  border-color: #8191ff;
}
.theme-card strong {
  display: block;
  font-size: 12px;
  color: #c6d3e8;
  margin: 10px 2px 6px;
}
.theme-card > span:last-child {
  font-size: 9px;
  color: #8999b6;
  line-height: 1.7;
  display: block;
}
.theme-preview {
  height: 100px;
  border-radius: 4px;
  display: block;
  position: relative;
  background: linear-gradient(
    90deg,
    #1e1f22 0 13%,
    #2b2d31 13% 38%,
    #313338 38%
  );
}
.theme-preview:before,
.theme-preview:after {
  content: "";
  position: absolute;
  left: 44%;
  right: 10%;
  top: 25%;
  height: 5px;
  background: #ffffff15;
  border-radius: 3px;
}
.theme-preview:after {
  top: 45%;
  right: 25%;
}
.theme-midnight {
  background: linear-gradient(
    90deg,
    #0c0d10 0 13%,
    #15171b 13% 38%,
    #1d2026 38%
  );
}
.about-logo {
  font-size: 65px;
  color: #9ba9ff;
  margin: 20px 0;
}
.about-card {
  background: #262b34;
  border: 1px solid #434e61;
  border-radius: 8px;
  padding: 25px;
  margin: 25px 0;
}
.about-card > strong {
  font-size: 14px;
  color: #c9d7ee;
}
.about-card p {
  color: #8c9ebc;
  line-height: 1.8;
  font-size: 12px;
}
.about-card > .pill {
  display: inline-block;
  margin-top: 10px;
}
body[data-theme="midnight"] {
  --surface-main: #1d2026;
  --surface-side: #15171b;
  --surface-rail: #0c0d10;
  --surface-card: #121419;
  --surface-input: #282c34;
  --stroke: #343a47;
}
.compact-chat .message-row {
  padding-top: 3px;
  padding-bottom: 3px;
}
.compact-chat .message-row .avatar {
  width: 29px;
  height: 29px;
  font-size: 10px;
}
.compact-chat .message-body {
  font-size: 12px;
}
.compact-chat .message-meta strong {
  font-size: 11px;
}
body[data-mirror="false"] .camera-tile#camera-self video {
  transform: none;
}
#roles-dialog {
  background: var(--surface-side);
  border-color: #50535d;
}
.settings-tabs button.selected {
  border-bottom-color: #909aff;
}
.role-editor input {
  background: #1e1f22;
  border-color: #474b55;
}
.permission-row {
  font-size: 12px;
  color: #ccd2dd;
}
body[data-theme="midnight"] #roles-dialog {
  background: var(--surface-side);
}
@media (min-width: 1600px) {
  #app {
    grid-template-columns: 72px 260px minmax(0, 1fr) 250px;
  }
  .preferences-main {
    padding-left: 48px;
    padding-right: 48px;
  }
}
@media (max-width: 1100px) {
  #app {
    grid-template-columns: 66px 235px minmax(0, 1fr);
  }
  .members {
    display: none;
  }
  .members.show {
    top: 92px;
    bottom: 0;
    background: var(--surface-side);
    width: 235px;
    z-index: 5;
  }
  .servers {
    padding-left: 9px;
    padding-right: 9px;
  }
  .server.active:before {
    left: -9px;
  }
  .notice-status {
    display: none;
  }
  .preferences-shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .preferences-nav {
    padding-left: 12px;
    padding-right: 12px;
  }
  .preferences-nav > button {
    font-size: 11px;
  }
  .preferences-main {
    padding: 30px 26px 60px;
  }
  .preferences-callout > .pill {
    display: none;
  }
  .device-actions {
    gap: 10px;
  }
  .device-actions .secondary-button {
    font-size: 9px;
  }
  .small-check > span {
    display: none;
  }
  .preferences-header h1 {
    font-size: 24px;
  }
  .preferences-header p {
    font-size: 10px;
  }
}
@media (max-width: 700px) {
  #app {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 30px minmax(0, 1fr);
  }
  .app-titlebar {
    padding: 0 12px;
  }
  .wordmark {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .wordmark > span {
    font-size: 19px;
  }
  #titlebar-location {
    display: none;
  }
  .titlebar-audio {
    font-size: 9px;
  }
  .servers {
    display: none;
  }
  .sidebar {
    top: 88px;
    bottom: 0;
    left: 0;
    width: 270px;
    z-index: 6;
    grid-row: auto;
  }
  .sidebar.show {
    display: flex;
  }
  .chat-header {
    height: 58px;
    padding: 0 14px;
    gap: 8px;
  }
  .channel-description,
  .header-divider {
    display: none;
  }
  #mobile-menu {
    display: grid;
    place-items: center;
    padding: 4px;
    color: #b8bfce;
  }
  #mobile-menu .ui-icon {
    width: 20px;
    height: 20px;
  }
  .notice {
    padding: 8px 15px;
    font-size: 9px;
    min-height: 35px;
  }
  .notice > span {
    font-size: 9px;
    line-height: 1.5;
  }
  .notice button {
    font-size: 8px;
    padding: 6px;
  }
  .members.show {
    top: 88px;
    z-index: 7;
  }
  .welcome {
    padding: 25px 18px 12px;
  }
  .welcome.has-history {
    padding: 22px 18px 10px;
  }
  .welcome h1,
  .welcome.has-history h1 {
    font-size: 22px;
  }
  .welcome p {
    font-size: 11px;
  }
  .message-row {
    padding: 9px 16px;
    gap: 10px;
  }
  .message-row .avatar {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }
  .message-body {
    font-size: 12px;
  }
  .message-meta strong {
    font-size: 11px;
  }
  #composer {
    margin: 6px 12px 0;
    padding: 9px;
  }
  .chat-bottom {
    padding-left: 14px;
    padding-right: 14px;
  }
  .chat-bottom > span:last-child {
    display: none;
  }
  .composer-hint {
    display: none;
  }
  .auth-wordmark {
    top: 25px;
    left: 22px;
    font-size: 13px;
  }
  .auth form {
    padding: 27px 25px;
  }
  .auth h1 {
    font-size: 24px;
  }
  .auth .brand-mark {
    margin-bottom: 20px;
  }
  #call-stage {
    padding: 13px 14px;
    max-height: 38vh;
  }
  #call-participants {
    grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
    gap: 7px;
  }
  .call-member {
    height: 100px;
  }
  .call-member .avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  #call-stage-title {
    font-size: 11px;
  }
  #call-stage header > button {
    font-size: 9px;
  }
  #screen-stage {
    padding: 12px 14px;
  }
  .preferences-shell {
    display: flex;
    flex-direction: column;
    background: var(--surface-main);
  }
  .preferences-nav {
    display: flex;
    flex-direction: row;
    gap: 4px;
    padding: 10px 12px;
    overflow: auto;
    flex-shrink: 0;
    border-bottom: 1px solid #404858;
  }
  .preferences-brand,
  .preferences-nav > p,
  .preferences-nav > small,
  .preferences-divider {
    display: none;
  }
  .preferences-nav > button {
    font-size: 10px;
    padding: 9px 10px;
    white-space: nowrap;
    margin: 0;
    gap: 6px;
  }
  .preferences-nav > button .ui-icon {
    width: 14px;
    height: 14px;
  }
  .preferences-nav > .logout-preference {
    display: none;
  }
  .preferences-main {
    padding: 25px 18px 45px;
    min-height: 0;
    flex: 1;
  }
  .preferences-header {
    margin-bottom: 22px;
    gap: 15px;
  }
  .preferences-header h1 {
    font-size: 24px;
  }
  .preferences-header span {
    font-size: 7px;
  }
  .preferences-header p {
    font-size: 10px;
  }
  .preferences-close button {
    width: 29px;
    height: 29px;
  }
  .preferences-close small {
    font-size: 7px;
  }
  .preferences-callout {
    padding: 12px;
    gap: 10px;
  }
  .preferences-callout strong {
    font-size: 10px;
  }
  .preferences-callout p {
    font-size: 9px;
  }
  .device-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .setting-field select {
    font-size: 12px;
  }
  .device-actions {
    gap: 12px;
  }
  .device-actions .secondary-button {
    font-size: 10px;
  }
  .field-help {
    font-size: 9px;
  }
  .audio-test-card {
    padding: 14px;
    gap: 12px;
  }
  .audio-test-card > .primary {
    font-size: 9px;
    padding: 9px;
  }
  .test-bottom {
    flex-wrap: wrap;
    gap: 9px;
  }
  .audio-test-card p {
    font-size: 9px;
  }
  .settings-section-title > h2 {
    font-size: 16px;
  }
  .input-mode-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .mode-card {
    padding: 13px;
  }
  .mode-card strong {
    font-size: 11px;
  }
  .mode-card span {
    font-size: 10px;
  }
  .setting-toggle p {
    font-size: 10px;
  }
  .setting-toggle strong {
    font-size: 12px;
  }
  .camera-preview {
    height: 190px;
  }
  .preferences-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .theme-options {
    gap: 12px;
  }
  .theme-preview {
    height: 80px;
  }
  .profile {
    height: 60px;
  }
  .profile-info strong {
    max-width: 100px;
  }
  .profile button:not(#profile-open) {
    width: 29px;
  }
  #roles-dialog {
    max-width: 96vw;
  }
  .members-note {
    display: none;
  }
}
.preferences-nav > button {
  font-size: 13px;
}
.preferences-header p {
  font-size: 12px;
}
.preferences-callout strong {
  font-size: 12px;
}
.preferences-callout p {
  font-size: 10px;
}
.setting-field > label {
  font-size: 10px;
}
.setting-field select,
#preferences-dialog select {
  font-size: 12px;
}
.range-heading label {
  font-size: 11px;
}
.field-help {
  font-size: 10px;
}
.audio-test-card h3 {
  font-size: 13px;
}
.audio-test-card p {
  font-size: 10px;
}
.setting-toggle strong {
  font-size: 12px;
}
.setting-toggle p {
  font-size: 10px;
}
.mode-card strong {
  font-size: 11px;
}
.mode-card span {
  font-size: 10px;
}
.message-body {
  font-size: 14px;
}
.message-meta strong {
  font-size: 13px;
}
.welcome.has-history h1 {
  font-size: 24px;
}
@media (max-width: 700px) {
  .preferences-nav > button {
    font-size: 10px;
  }
  .preferences-header p {
    font-size: 11px;
  }
  .preferences-callout strong {
    font-size: 11px;
  }
  .preferences-callout p {
    font-size: 10px;
  }
  .message-body {
    font-size: 13px;
  }
  .message-meta strong {
    font-size: 12px;
  }
}
.category .category-toggle {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-weight: 700;
  color: #949ba4;
  padding: 3px 0;
  display: block;
}
.category .category-toggle:hover {
  color: #e7eaf1;
  background: none;
}
.category > button:last-child {
  flex-shrink: 0;
}
.platform-card{padding:22px;margin:20px 0;background:var(--surface-raised,#24262d);border:1px solid #ffffff12;border-radius:12px}.platform-card h3{margin-top:0}.platform-card p,.platform-intro p,.platform-tiers span{color:#aeb1be;font-size:14px;line-height:1.6}.platform-tiers{display:grid;gap:12px;margin:22px 0}.platform-tiers>div{border-left:3px solid #5865f2;padding:10px 16px;background:#5865f20c}.platform-tiers strong,.platform-tiers span{display:block}.platform-tiers>div:nth-child(2){border-color:#65c8b0}.platform-tiers>div:nth-child(3){border-color:#8d91a0}.platform-policy{display:flex;align-items:center;gap:12px;margin:20px 0}.platform-policy input{width:20px;height:20px;accent-color:#5865f2}.platform-user{display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #ffffff0c}.platform-user>div{flex:1;min-width:100px}.platform-user small{display:block;color:#aeb1be;margin-top:5px}.platform-user select,.platform-search{padding:10px;background:#17181e;color:#e3e5eb;border:1px solid #ffffff20;border-radius:6px}.platform-search{width:100%;box-sizing:border-box;margin:14px 0}#platform-profile-badge{display:block;color:#a9b4ff;font-size:9px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:700px){.platform-user{flex-wrap:wrap}.platform-user>div{flex-basis:100%}.platform-user select{flex:1;min-width:0}}
.password-card label{display:block;margin:18px 0 8px;font-weight:600;font-size:13px}.password-card input{display:block;width:100%;box-sizing:border-box;padding:12px;background:#17181e;color:#e3e5eb;border:1px solid #ffffff25;border-radius:6px}.password-card .error{color:#f99b9b}.password-card input:focus{outline:2px solid #8891ff;outline-offset:2px}
.avatar>img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}.avatar{overflow:hidden}.avatar-editor{display:flex;gap:22px;align-items:center;margin:22px 0}.avatar-editor .avatar{width:88px;height:88px;min-width:88px;font-size:26px;border-radius:50%}.avatar-file-label{display:inline-block;padding:12px 18px;border-radius:6px;cursor:pointer;background:#5865f2;color:white;font-weight:600;font-size:14px}.avatar-actions{display:flex;gap:12px;align-items:center}.avatar-card .error{color:#f99b9b}.avatar-card p{overflow-wrap:anywhere}
