:root {
  font-family:
    Inter,
    'Noto Sans JP',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #272938;
  background: #fff;
  font-synthesis: none;
  color-scheme: light;
  --bg: #fff;
  --surface: #f7f8fb;
  --surface-hover: #f0f1f7;
  --text: #272938;
  --muted: #747889;
  --border: #e9eaf0;
  --accent: #6858de;
  --accent-hover: #5847cd;
  --accent-soft: #eeebff;
  --success: #23846b;
  --shadow: 0 12px 48px #18182c16;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #23252f;
  --surface: #292b37;
  --surface-hover: #323442;
  --text: #eeeff5;
  --muted: #a2a6ba;
  --border: #373a48;
  --accent: #aa9dff;
  --accent-hover: #c0b6ff;
  --accent-soft: #3b3558;
  --success: #64c7a6;
  --shadow: 0 12px 48px #0005;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  height: 100dvh;
  display: flex;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  transition:
    background 0.15s,
    color 0.15s,
    box-shadow 0.15s,
    transform 0.12s;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #a295f9;
  outline-offset: 3px;
}
a {
  color: var(--accent);
}
[hidden] {
  display: none !important;
}
i[data-icon] {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
i svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  pointer-events: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 40;
  padding: 12px;
  background: var(--bg);
  border-radius: 6px;
}
.skip-link:focus {
  top: 12px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  flex-shrink: 0;
}
.icon-button:hover {
  background: var(--surface-hover);
  color: var(--text);
}
.icon-button i {
  width: 18px;
  height: 18px;
}
.workspace-rail {
  width: 68px;
  flex-shrink: 0;
  background: #11131c;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 0 15px;
  gap: 15px;
  color: #a6a9bb;
}
.workspace-logo {
  height: 36px;
  width: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  transform: rotate(-5deg);
}
.workspace-logo span {
  border-radius: 4px;
  background: #ab9cff;
}
.workspace-logo span:nth-child(2) {
  background: #d7ceff;
}
.workspace-logo span:nth-child(3) {
  background: #7463dd;
}
.workspace-logo span:last-child {
  border-radius: 4px 4px 10px 4px;
  background: #9b8aef;
}
.rail-divider {
  height: 1px;
  width: 25px;
  background: #2c2e39;
  margin: 2px 0;
}
.rail-button {
  border: 0;
  background: transparent;
  color: #9296ac;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  position: relative;
}
.rail-button:hover {
  background: #292c3e;
  color: #eeecff;
}
.rail-button.selected {
  color: #eeeaff;
  background: #6454ce;
}
.rail-button.selected:before {
  position: absolute;
  content: '';
  width: 3px;
  height: 22px;
  left: -13px;
  background: #d0c7ff;
  border-radius: 0 3px 3px 0;
}
.rail-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.rail-monogram {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #3a3d4d;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}
.sidebar {
  width: 234px;
  flex-shrink: 0;
  background: #1d1f2c;
  display: flex;
  flex-direction: column;
  color: #d8daea;
  border-right: 1px solid #282a3a;
}
.workspace-heading {
  height: 81px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.workspace-heading strong {
  display: flex;
  align-items: center;
  font-size: 20px;
  letter-spacing: -0.5px;
  gap: 9px;
  color: #fafaff;
}
.workspace-heading small {
  display: block;
  font-size: 10px;
  color: #9296ad;
  margin-top: 4px;
  letter-spacing: 0.2px;
}
.workspace-tag {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: #a5a3c7;
  background: #333044;
  padding: 3px 5px;
  border-radius: 3px;
}
.sidebar-search {
  border: 1px solid #3a3c4b;
  margin: 9px 17px 0;
  padding: 8px 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #acb0c3;
  background: #272937;
  border-radius: 6px;
  font-size: 11px;
  text-align: left;
}
.sidebar-search:hover {
  background: #323447;
}
.sidebar-search i {
  width: 15px;
  height: 15px;
}
.sidebar-search kbd {
  font-size: 9px;
  margin-left: auto;
  color: #8b8fa5;
  white-space: nowrap;
}
.section-label {
  font-size: 10px;
  font-weight: 650;
  color: #898ea7;
  letter-spacing: 0.8px;
  display: flex;
  justify-content: space-between;
  padding: 0 23px;
  margin: 30px 0 11px;
}
.section-label > span:last-child {
  font-size: 10px;
  font-weight: 400;
}
.channel {
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 24px);
  margin: 0 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  text-align: left;
  font-size: 13px;
  background: #3a345b;
  color: #f0ebff;
  font-weight: 550;
}
.channel i {
  width: 17px;
  height: 17px;
  color: #b5a6fa;
}
.channel-dot {
  margin-left: auto;
  width: 5px;
  height: 5px;
  background: #c7b7ff;
  border-radius: 50%;
}
.channel-caption {
  font-size: 10px;
  color: #85899f;
  margin: 11px 24px 0;
}
.sidebar-members {
  padding: 0 13px;
}
.member-row {
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 9px 10px;
  text-align: left;
  border-radius: 7px;
  color: #d8daea;
}
.member-row:hover {
  background: #2c2f40;
}
.member-name {
  font-weight: 550;
  font-size: 12px;
}
.member-name small {
  display: block;
  font-size: 9px;
  color: #8d92aa;
  font-weight: 400;
  margin-top: 4px;
}
.member-label {
  font-size: 8px;
  letter-spacing: 0.6px;
  color: #989bb0;
  background: #303342;
  border-radius: 3px;
  padding: 2px 4px;
  margin-left: auto;
}
.avatar {
  height: 36px;
  width: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 750;
  position: relative;
  letter-spacing: -0.5px;
  user-select: none;
}
.avatar.small {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 12px;
}
.human {
  background: #dcf0e9;
  color: #317a65;
}
.tod {
  background: #f9e6d3;
  color: #a9662c;
}
.d {
  background: #e5e1fb;
  color: #7760ba;
}
.presence {
  height: 9px;
  width: 9px;
  border-radius: 50%;
  position: absolute;
  bottom: -1px;
  right: -1px;
  background: #72778c;
  border: 2px solid #1d1f2c;
}
.presence.connected {
  background: #64c3a0;
}
.human-presence.connected {
  background: #64c3a0;
}
.sidebar-callout {
  margin: auto 20px 17px;
  padding: 19px 14px 13px;
  border: 1px solid #39394d;
  border-radius: 10px;
  background: #242535;
}
.callout-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: #37304f;
  color: #baa6ff;
  border-radius: 8px;
  margin-bottom: 12px;
}
.callout-icon i {
  width: 17px;
  height: 17px;
}
.sidebar-callout strong {
  font-size: 11px;
  color: #dcdaec;
}
.sidebar-callout p {
  font-size: 10px;
  line-height: 1.85;
  color: #9397ac;
  margin: 8px 0 15px;
}
.sidebar-callout button {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #bcb0ee;
  padding: 0;
}
.sidebar-callout button i {
  width: 14px;
  height: 14px;
}
.sidebar-footer {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  color: #7d829b;
  font-size: 8px;
  padding: 0 10px 17px;
}
.sidebar-footer i {
  width: 11px;
  height: 11px;
}
.user-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: #191b26;
  border-top: 1px solid #2b2d3b;
}
.user-bar strong {
  font-size: 11px;
  font-weight: 550;
}
.user-bar small {
  display: block;
  font-size: 9px;
  color: #8f94aa;
  margin-top: 3px;
}
.user-bar .icon-button {
  margin-left: auto;
  color: #9196ad;
}
.user-bar .icon-button:hover {
  background: #2a2d3d;
  color: #eeefff;
}
main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
  position: relative;
  background: var(--bg);
}
.room-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 81px;
  padding: 0 27px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.header-hash {
  color: var(--muted);
}
.header-hash i {
  width: 25px;
  height: 25px;
}
.header-title {
  min-width: 0;
}
.header-title h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.header-title p {
  font-size: 10px;
  color: var(--muted);
  margin: 5px 0 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.members-toggle {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--border);
  padding: 2px 0 2px 14px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.mini-avatar {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 750;
}
.members-toggle .mini-avatar + .mini-avatar {
  margin-left: -7px;
}
.members-toggle > span:last-child {
  margin-left: 6px;
}
.channel-tabs {
  height: 43px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 0 27px;
  flex-shrink: 0;
}
.tab {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
}
.tab i {
  width: 15px;
  height: 15px;
}
.tab.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.sync-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: var(--muted);
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
}
.sync-status.synced .status-dot {
  background: var(--success);
}
.sync-status.error {
  color: #c77055;
}
.notice {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 39px;
  padding: 8px 27px;
  background: var(--surface);
  font-size: 10px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
  flex-shrink: 0;
}
.notice > i {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.notice #event-status {
  flex: 1;
}
.quiet {
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--bg);
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 9px;
  white-space: nowrap;
}
.quiet:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.chat-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  position: relative;
}
.conversation-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: #b9b9c540 transparent;
  overflow-anchor: none;
}
.history-row {
  text-align: center;
}
.history-row:has(button:not([hidden])) {
  padding: 14px 0 0;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}
.text-button:hover {
  background: var(--accent-soft);
  border-radius: 6px;
}
.text-button i {
  width: 14px;
  height: 14px;
}
.empty-state {
  padding: 48px 34px 32px;
}
.welcome-hash {
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid #8973eb12;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: var(--accent);
}
.welcome-hash i {
  width: 30px;
  height: 30px;
}
.eyebrow {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: var(--muted);
  margin: 22px 0 10px;
}
.empty-state h2 {
  font-size: 25px;
  font-weight: 720;
  letter-spacing: -1px;
  margin: 0 0 12px;
}
.empty-state p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.starter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 23px;
}
.starter-actions button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 10px;
}
.starter-actions button:hover {
  background: var(--accent-soft);
  border-color: #ac9eeb;
}
.messages {
  padding: 6px 0 24px;
}
.date-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 17px 28px 20px;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}
.date-divider:before,
.date-divider:after {
  content: '';
  height: 1px;
  background: var(--border);
  flex: 1;
}
.message {
  display: flex;
  gap: 12px;
  padding: 9px 28px;
  position: relative;
  scroll-margin-top: 20px;
  overflow-wrap: anywhere;
  border-left: 2px solid transparent;
}
.message:hover,
.message:focus-within {
  background: var(--surface);
}
.message.mentioned {
  background: #eebd5010;
  border-left-color: #c7a24a;
}
.message-content {
  min-width: 0;
  flex: 1;
}
.message-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 1px 0 5px;
  min-height: 18px;
}
.message-name {
  font-size: 12px;
  font-weight: 700;
}
.dot-badge {
  display: inline-flex;
  align-items: center;
  font-size: 7px;
  letter-spacing: 0.5px;
  padding: 2px 4px;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 3px;
  line-height: 1;
}
.message time {
  font-size: 9px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.message-text {
  font-size: 13px;
  line-height: 1.85;
  white-space: pre-wrap;
  margin: 0;
  overflow-wrap: anywhere;
}
.message-text p {
  margin: 0;
  white-space: pre-wrap;
}
.message-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.message-text code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  background: var(--surface-hover);
  padding: 2px 4px;
  border-radius: 4px;
  border: 1px solid var(--border);
  white-space: pre-wrap;
}
.message-text pre {
  padding: 12px 14px;
  margin: 8px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow-x: auto;
  white-space: pre;
  max-width: 100%;
}
.message-text pre code {
  border: 0;
  padding: 0;
  background: none;
  white-space: pre;
}
.message-text blockquote {
  margin: 7px 0;
  padding: 5px 12px;
  border-left: 3px solid #aaa1d4;
  color: var(--muted);
  background: var(--surface);
  font-size: 12px;
  border-radius: 0 5px 5px 0;
}
.mention-tag {
  display: inline;
  border: 0;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: inherit;
  font-weight: 550;
  padding: 1px 3px;
  line-height: inherit;
}
.mention-tag:hover {
  background: #d4ccff;
  color: #47379b;
}
.message-toolbar {
  display: flex;
  gap: 1px;
  position: absolute;
  right: 25px;
  top: -14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--bg);
  box-shadow: 0 2px 6px #2222;
  padding: 2px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(3px);
  transition:
    opacity 0.15s,
    transform 0.15s;
  z-index: 2;
}
.message:hover .message-toolbar,
.message:focus-within .message-toolbar {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.message-toolbar .icon-button {
  width: 29px;
  height: 27px;
  padding: 6px;
}
.message-toolbar i {
  width: 15px;
  height: 15px;
}
.reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}
.reactions:empty {
  display: none;
}
.reaction {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 7px;
  padding: 3px 7px;
  font-size: 13px;
}
.reaction span:last-child {
  font-size: 10px;
  color: var(--muted);
  font-weight: 650;
}
.reaction[aria-pressed='true'] {
  border-color: #a89ae9;
  background: var(--accent-soft);
}
.reaction[aria-pressed='true'] span:last-child {
  color: var(--accent);
}
.reaction:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.reaction-add {
  font-size: 12px;
  color: var(--muted);
  width: 28px;
  justify-content: center;
  padding: 3px;
}
.reaction-add i {
  width: 14px;
  height: 14px;
}
.composer-area {
  padding: 0 25px 12px;
  flex-shrink: 0;
}
.composer {
  border: 1px solid #dfe0e9;
  border-radius: 11px;
  background: var(--bg);
  position: relative;
  box-shadow: 0 2px 6px #16102f03;
}
.composer:focus-within {
  border-color: #a99ae4;
  box-shadow: 0 0 0 2px #8d7ad310;
}
.composer textarea {
  width: 100%;
  display: block;
  resize: none;
  min-height: 66px;
  max-height: 180px;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.8;
  padding: 16px 16px 8px;
  border-radius: 11px;
}
.composer textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}
.composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px 10px;
  gap: 8px;
}
.composer-tools {
  display: flex;
  align-items: center;
  gap: 2px;
}
.composer-tools .icon-button {
  height: 28px;
  width: 28px;
}
.toolbar-divider {
  height: 16px;
  width: 1px;
  background: var(--border);
  margin: 0 6px;
}
.send-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.character-count {
  font-size: 9px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.character-count.over-limit {
  color: #c25252;
}
.send-actions > button,
.login-row > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  background: #6858de;
  color: #fff;
  border-radius: 6px;
  padding: 8px 13px;
  font-size: 11px;
  font-weight: 550;
}
.send-actions > button:hover:not(:disabled),
.login-row > button:hover {
  background: #5746cc;
  box-shadow: 0 2px 5px #6550c733;
}
.send-actions > button:disabled {
  background: var(--surface-hover);
  color: var(--muted);
  opacity: 0.8;
}
.send-actions i {
  width: 15px;
  height: 15px;
}
.composer-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  gap: 8px;
  margin: 9px 3px 0;
  line-height: 1.5;
}
.composer-help label {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  cursor: pointer;
}
.composer-help input {
  accent-color: #7463df;
  width: 11px;
  height: 11px;
  margin: 0;
}
.quote-preview {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  padding: 9px 11px;
  margin: 0 6px;
  font-size: 10px;
  color: var(--muted);
}
.quote-preview > i {
  color: var(--accent);
  width: 16px;
  height: 16px;
}
.quote-preview > div {
  min-width: 0;
  flex: 1;
  border-left: 2px solid var(--accent);
  padding-left: 9px;
}
.quote-preview strong {
  font-size: 10px;
  color: var(--text);
}
.quote-preview p {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
  margin: 4px 0 0;
}
.quote-preview .icon-button {
  height: 24px;
  width: 24px;
}
.mention-menu {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 0;
  width: 310px;
  max-width: 100%;
  background: var(--bg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 6px;
  z-index: 8;
}
.mention-menu-heading {
  padding: 7px 8px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.5px;
}
.mention-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 11px;
}
.mention-option[aria-selected='true'] {
  background: var(--accent-soft);
}
.mention-option .avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 11px;
}
.mention-option small {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
}
.mention-option .all {
  background: var(--surface-hover);
  color: var(--muted);
}
.new-messages {
  position: absolute;
  bottom: 160px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 3;
  background: #6858de;
  color: #fff;
  border: 0;
  border-radius: 16px;
  padding: 7px 13px;
  box-shadow: 0 3px 12px #6558de33;
  font-size: 10px;
  white-space: nowrap;
}
.new-messages i {
  width: 13px;
  height: 13px;
}
.new-messages:active:not(:disabled) {
  transform: translateX(-50%) translateY(1px);
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  background: var(--surface);
}
.search-bar > i {
  width: 17px;
  height: 17px;
}
.search-bar input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
  color: var(--text);
}
.search-summary {
  padding: 10px 27px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.no-results > i {
  width: 32px;
  height: 32px;
}
.no-results h3 {
  font-size: 14px;
  color: var(--text);
  margin-top: 18px;
}
.no-results p {
  font-size: 11px;
}
.feedback {
  font-size: 11px;
  line-height: 1.6;
  color: #b35c40;
  margin: 0;
  padding: 0 27px 12px;
  flex-shrink: 0;
}
.feedback:empty {
  padding: 0;
}
.room-details {
  width: 248px;
  flex-shrink: 0;
  border-left: 1px solid var(--border);
  background: var(--surface);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.details-heading {
  height: 81px;
  flex-shrink: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
}
.details-heading .icon-button {
  width: 25px;
  height: 25px;
}
.room-identity {
  padding: 29px 20px 23px;
  text-align: center;
}
.room-identity .welcome-hash {
  margin: 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 15px;
}
.room-identity .welcome-hash i {
  width: 27px;
  height: 27px;
}
.room-identity h2 {
  font-size: 16px;
  margin: 15px 0 8px;
  letter-spacing: -0.5px;
}
.private-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 8px;
  color: var(--muted);
}
.private-badge i {
  width: 10px;
  height: 10px;
}
.room-identity p {
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted);
  margin: 15px 0 0;
}
.details-section {
  padding: 20px;
  border-top: 1px solid var(--border);
}
.details-section h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  margin: 0 0 17px;
  font-weight: 650;
}
.details-section h3 > span {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  background: var(--surface-hover);
  padding: 1px 5px;
  border-radius: 4px;
}
.detail-member {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
}
.detail-member:last-child {
  margin-bottom: 0;
}
.detail-member .avatar {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  font-size: 12px;
}
.detail-member > div {
  flex: 1;
}
.detail-member strong {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-member small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.you-tag {
  font-size: 7px;
  color: var(--muted);
  font-weight: 500;
}
.subscription-state {
  font-size: 8px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.subscription-state.connected {
  color: var(--success);
}
.detail-member > .icon-button {
  width: 24px;
  height: 24px;
}
.detail-member > .icon-button i {
  width: 14px;
  height: 14px;
}
.room-tips {
  padding: 0;
  margin: 0;
  list-style: none;
}
.room-tips li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 17px;
  color: var(--muted);
}
.room-tips i {
  height: 16px;
  width: 16px;
  color: #9a90c7;
}
.room-tips strong {
  display: block;
  font-size: 9px;
  color: var(--text);
  font-weight: 500;
}
.room-tips small {
  display: block;
  font-size: 9px;
  margin-top: 4px;
  line-height: 1.5;
}
.connection-guide-button {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 18px;
  padding: 10px 9px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 9px;
  color: var(--muted);
}
.connection-guide-button > i {
  width: 13px;
  height: 13px;
}
.connection-guide-button > i:last-child {
  margin-left: auto;
}
.connection-guide-button:hover {
  color: var(--accent);
  border-color: #ac9ee7;
}
.details-footer {
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--muted);
  text-align: center;
  margin-top: auto;
  padding: 25px 10px;
}
.login-panel {
  width: min(430px, 100%);
  margin: auto;
  padding: 32px 24px;
}
.login-avatars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}
.login-avatars .avatar {
  height: 42px;
  width: 42px;
  border-radius: 14px;
  transform: rotate(-7deg);
}
.login-avatars .avatar:nth-child(2) {
  transform: translateY(-5px) rotate(4deg);
}
.login-avatars .avatar:last-child {
  transform: rotate(-4deg);
}
.login-panel h2 {
  font-size: 30px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 18px;
}
.login-panel > p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 27px;
}
.login-panel label {
  font-size: 11px;
  font-weight: 550;
  display: block;
  margin-bottom: 10px;
}
.login-row {
  display: flex;
  gap: 8px;
}
.login-row input {
  flex: 1;
  width: 0;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  padding: 12px;
  font-size: 11px;
}
.login-row button {
  white-space: nowrap;
  padding: 11px 15px;
}
.login-row button i {
  width: 14px;
  height: 14px;
}
.form-hint {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.8;
}
.form-hint i {
  height: 11px;
  width: 11px;
}
.login-panel > .text-button {
  padding-left: 0;
  font-size: 10px;
  margin-top: 10px;
}
.login-panel .intro-mark {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 4px;
  margin-bottom: 20px;
}
.login-panel h1 {
  font-size: 25px;
}
.login-panel #connect-error {
  color: #b35c40;
}
.consent-page {
  background: var(--surface);
}
.consent-page main {
  background: transparent;
  overflow-y: auto;
  padding: 24px;
}
.consent-page .login-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  width: min(480px, 100%);
}
.consent-page .login-panel > p {
  font-size: 12px;
}
.consent-page .login-panel > a {
  display: inline-block;
  font-size: 11px;
  margin-top: 10px;
}
.consent-page .login-row {
  flex-wrap: wrap;
}
.consent-page .login-row input {
  min-width: 160px;
}
.consent-page .login-row button {
  font-size: 11px;
}
dialog {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 15px;
  padding: 0;
  box-shadow: 0 20px 90px #14142244;
  max-height: 85dvh;
  max-width: calc(100% - 32px);
  overflow: auto;
}
dialog::backdrop {
  background: #10121e99;
  backdrop-filter: blur(3px);
}
.guide-dialog {
  width: 530px;
}
.dialog-heading {
  padding: 22px 25px 17px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 2;
}
.dialog-heading .eyebrow {
  margin: 0 0 7px;
}
.dialog-heading h2 {
  font-size: 19px;
  margin: 0;
  letter-spacing: -0.4px;
}
.guide-content {
  padding: 6px 25px 24px;
}
.guide-content > section {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}
.guide-step {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10px;
  font-weight: 650;
}
.guide-content section > div {
  min-width: 0;
}
.guide-content h3 {
  font-size: 12px;
  margin: 4px 0 9px;
}
.guide-content p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 10px;
}
.guide-content .guide-note {
  font-size: 10px;
}
.copy-endpoint {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 6px;
  padding: 3px 7px;
  gap: 5px;
  margin: 10px 0;
}
.copy-endpoint code {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 10px;
}
.shortcut-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 9px;
  color: var(--muted);
  margin-top: 14px;
}
.shortcut-list kbd {
  display: inline-block;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 3px;
  padding: 2px 4px;
  margin-left: 4px;
  font-size: 9px;
}
.emoji-dialog {
  width: 320px;
}
.emoji-dialog .dialog-heading {
  padding: 15px 18px;
}
.emoji-dialog h2 {
  font-size: 14px;
}
.emoji-dialog > p {
  font-size: 10px;
  color: var(--muted);
  padding: 0 18px;
  line-height: 1.7;
}
.emoji-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  padding: 4px 18px 20px;
}
.emoji-grid button {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 23px;
  height: 44px;
}
.emoji-grid button:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: scale(1.08);
}
.emoji-grid button[aria-pressed='true'] {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  border: 1px solid var(--border);
  background: var(--text);
  color: var(--bg);
  padding: 11px 17px;
  border-radius: 8px;
  font-size: 11px;
  box-shadow: var(--shadow);
  max-width: 90vw;
}
.mobile-only {
  display: none;
}
@media (min-width: 1500px) {
  .sidebar {
    width: 250px;
  }
  .room-details {
    width: 270px;
  }
  .message {
    padding-left: 36px;
    padding-right: 36px;
  }
  .empty-state {
    padding-left: 40px;
  }
  .composer-area {
    padding-left: 33px;
    padding-right: 33px;
  }
}
@media (max-width: 1190px) {
  .room-details {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 15;
    box-shadow: -15px 0 40px #10101a20;
    width: 268px;
  }
  .sidebar {
    width: 218px;
  }
  .workspace-heading {
    padding-left: 20px;
  }
  .room-header {
    padding: 0 22px;
  }
  .room-header .header-actions {
    gap: 6px;
  }
}
@media (max-height: 760px) {
  .sidebar-callout {
    display: none;
  }
  .sidebar-footer {
    margin-top: auto;
    padding-top: 20px;
  }
  .empty-state {
    padding-top: 28px;
  }
  .login-panel {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .login-panel h2 {
    font-size: 26px;
  }
  .room-tips li {
    margin-top: 13px;
  }
  .details-section {
    padding-top: 17px;
    padding-bottom: 17px;
  }
}
@media (max-width: 760px) {
  .workspace-rail {
    width: 52px;
    padding-top: 18px;
  }
  .workspace-logo {
    width: 31px;
    height: 31px;
  }
  .rail-button {
    width: 35px;
    height: 35px;
    border-radius: 11px;
  }
  .rail-button.selected:before {
    left: -9px;
    height: 18px;
  }
  .rail-button i {
    width: 18px;
    height: 18px;
  }
  .sidebar {
    position: fixed;
    left: 52px;
    top: 0;
    bottom: 0;
    width: 240px;
    z-index: 21;
    transform: translateX(-310px);
    transition: transform 0.2s ease;
  }
  .sidebar.open {
    transform: none;
  }
  .sidebar-shade {
    position: fixed;
    inset: 0;
    background: #10121c88;
    z-index: 20;
  }
  .mobile-only {
    display: inline-flex;
  }
  .room-header {
    min-height: 66px;
    padding: 0 12px;
    gap: 8px;
  }
  .header-hash {
    display: none;
  }
  .header-title h1 {
    font-size: 14px;
  }
  .header-title p {
    font-size: 8px;
    max-width: 175px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-actions {
    gap: 3px;
  }
  .header-actions > .icon-button[data-action='guide'] {
    display: none;
  }
  .header-actions > .icon-button {
    width: 27px;
    height: 27px;
  }
  .members-toggle {
    padding-left: 7px;
  }
  .members-toggle .mini-avatar {
    width: 18px;
    height: 18px;
    font-size: 6px;
  }
  .members-toggle .mini-avatar + .mini-avatar {
    margin-left: -6px;
  }
  .members-toggle > span:last-child {
    font-size: 9px;
    margin-left: 4px;
  }
  .channel-tabs {
    padding: 0 16px;
    height: 38px;
  }
  .tab {
    font-size: 10px;
  }
  .sync-status {
    font-size: 8px;
  }
  .notice {
    padding: 7px 14px;
    font-size: 9px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .notice #event-status {
    min-width: 120px;
  }
  .notice > i {
    display: none;
  }
  .quiet {
    font-size: 8px;
    padding: 3px 5px;
  }
  .room-details {
    width: min(285px, calc(100vw - 52px));
  }
  .room-details .details-heading {
    height: 66px;
  }
  .composer-area {
    padding: 0 10px 10px;
  }
  .composer textarea {
    font-size: 12px;
    padding: 12px 12px 5px;
    min-height: 65px;
  }
  .composer-bottom {
    padding: 4px 7px 7px;
  }
  .composer-tools .icon-button {
    width: 25px;
    height: 26px;
  }
  .composer-tools .icon-button i {
    width: 16px;
    height: 16px;
  }
  .toolbar-divider {
    margin: 0 3px;
  }
  .send-actions {
    gap: 5px;
  }
  .send-actions > button {
    font-size: 10px;
    padding: 8px 9px;
    gap: 7px;
  }
  .character-count {
    display: none;
  }
  .composer-help {
    font-size: 8px;
    align-items: flex-start;
    gap: 6px;
  }
  .composer-help > span {
    max-width: 170px;
  }
  .composer-help label {
    font-size: 8px;
  }
  .message {
    padding: 9px 14px;
    gap: 9px;
  }
  .message > .avatar {
    width: 29px;
    height: 29px;
    font-size: 12px;
    border-radius: 9px;
  }
  .message-name {
    font-size: 11px;
  }
  .message time {
    font-size: 8px;
  }
  .message-text {
    font-size: 12px;
    line-height: 1.85;
  }
  .message-meta {
    gap: 6px;
  }
  .message-toolbar {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    justify-content: flex-end;
    padding: 0;
    margin-top: 4px;
  }
  .message-toolbar .icon-button {
    width: 28px;
    height: 25px;
  }
  .message-content {
    display: flex;
    flex-direction: column;
  }
  .message-toolbar {
    order: 3;
  }
  .empty-state {
    padding: 30px 20px 22px;
  }
  .empty-state h2 {
    font-size: 21px;
    line-height: 1.5;
    letter-spacing: -0.6px;
  }
  .empty-state p {
    font-size: 11px;
  }
  .empty-state .welcome-hash {
    width: 47px;
    height: 47px;
    border-radius: 14px;
  }
  .empty-state .eyebrow {
    font-size: 7px;
    letter-spacing: 1.1px;
    margin-top: 20px;
  }
  .starter-actions {
    gap: 6px;
    margin-top: 19px;
  }
  .starter-actions button {
    font-size: 9px;
    padding: 5px 7px;
  }
  .date-divider {
    margin: 14px 16px;
    font-size: 8px;
    gap: 10px;
  }
  .feedback {
    padding: 0 14px 10px;
    font-size: 10px;
  }
  .search-bar {
    padding: 8px 14px;
  }
  .search-summary {
    padding: 8px 14px;
    font-size: 10px;
  }
  .login-panel {
    padding: 25px 19px;
    max-width: 360px;
    overflow: auto;
  }
  .login-panel h2 {
    font-size: 26px;
  }
  .login-panel > p {
    font-size: 11px;
  }
  .login-row {
    flex-wrap: wrap;
  }
  .login-row input {
    min-width: 120px;
    padding: 11px;
  }
  .login-row button {
    padding: 10px;
    font-size: 10px;
  }
  .form-hint {
    font-size: 8px;
    align-items: flex-start;
  }
  .login-panel > .text-button {
    font-size: 9px;
    text-align: left;
  }
  .guide-content {
    padding: 0 17px 20px;
  }
  .dialog-heading {
    padding: 18px;
  }
  .guide-content > section {
    gap: 10px;
  }
  .guide-content p {
    font-size: 10px;
  }
  .guide-step {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }
  .guide-content h3 {
    font-size: 11px;
  }
  .dialog-heading h2 {
    font-size: 17px;
  }
  .consent-page main {
    padding: 14px;
  }
  .consent-page .login-panel {
    padding: 24px;
  }
  .new-messages {
    bottom: 150px;
  }
}
@media (max-width: 370px) {
  .members-toggle .mini-avatar {
    display: none;
  }
  .members-toggle > span:last-child:before {
    content: 'メンバー ';
    font-size: 8px;
  }
  .header-title p {
    display: none;
  }
  .send-actions > button > span {
    display: none;
  }
  .composer-tools {
    gap: 0;
  }
  .room-header {
    gap: 5px;
  }
  .login-panel h2 {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
    animation: none !important;
  }
}
/* Keep the conversation readable while grouping consecutive posts. */
.message-text {
  font-size: 14px;
  line-height: 1.8;
}
.message-name {
  font-size: 13px;
}
.composer textarea {
  font-size: 13px;
}
.message.compact {
  padding-top: 3px;
  padding-bottom: 3px;
  min-height: 28px;
}
.message.compact > .avatar {
  visibility: hidden;
  height: 0;
}
.message.compact .message-meta {
  display: none;
}
.compact-timestamp {
  position: absolute;
  top: 9px;
  left: 29px;
  font-size: 8px;
  color: var(--muted);
  opacity: 0;
  font-variant-numeric: tabular-nums;
}
.message.compact:hover .compact-timestamp,
.message.compact:focus-within .compact-timestamp {
  opacity: 1;
}
@media (max-width: 760px) {
  .message-text {
    font-size: 13px;
  }
  .message-name {
    font-size: 12px;
  }
  .composer textarea {
    font-size: 13px;
  }
  .compact-timestamp {
    left: 13px;
  }
  .composer-tools .icon-button {
    width: 28px;
    height: 32px;
  }
  .message-toolbar .icon-button {
    width: 33px;
    height: 30px;
  }
  .header-actions > .icon-button {
    width: 30px;
    height: 32px;
  }
}
/* Channels share the workspace; each retains its own timeline and draft. */
.channel-section-label {
  align-items: center;
  margin-top: 24px;
  margin-bottom: 7px;
}
.channel-section-label > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.channel-section-label #channel-count {
  font-size: 9px;
  opacity: 0.8;
}
.channel-section-label > .icon-button {
  width: 22px;
  height: 22px;
  color: #969bb2;
}
.channel-section-label > .icon-button:hover {
  background: #34364b;
  color: #eeeaff;
}
.channel-section-label > .icon-button i {
  width: 14px;
  height: 14px;
}
.channel-list {
  max-height: 26dvh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #4a4c61 transparent;
  flex-shrink: 0;
}
.channel {
  background: transparent;
  color: #afb3c8;
  font-weight: 400;
  margin-bottom: 3px;
}
.channel:hover {
  background: #2b2e40;
  color: #f0ebff;
}
.channel.active {
  background: #3a345b;
  color: #f0ebff;
  font-weight: 600;
}
.channel-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.unread-dot {
  width: 6px;
  height: 6px;
  background: #e9e0ff;
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
}
.header-title {
  flex: 1;
  overflow: hidden;
}
.header-title h1,
.header-title p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-actions {
  flex-shrink: 0;
}
.room-identity h2,
.room-identity p {
  overflow-wrap: anywhere;
}
.channel-dialog {
  width: 440px;
}
.channel-dialog form {
  padding: 22px 25px;
}
.channel-dialog label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 9px;
}
.channel-dialog label span {
  font-weight: 400;
  color: var(--muted);
  font-size: 9px;
  margin-left: 6px;
}
.channel-name-input {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0 10px;
  background: var(--surface);
}
.channel-name-input i {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.channel-name-input input {
  width: 100%;
  min-width: 0;
  padding: 11px 0;
  border: 0;
  background: transparent;
  outline: 0;
  color: var(--text);
  font-size: 13px;
}
.channel-name-input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}
.field-hint {
  font-size: 9px;
  line-height: 1.8;
  color: var(--muted);
  margin: 8px 0 23px;
}
.channel-dialog textarea {
  font-size: 12px;
  line-height: 1.8;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px;
  width: 100%;
  resize: vertical;
  max-height: 150px;
}
.channel-privacy {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  padding: 11px 12px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
}
.channel-privacy i {
  width: 18px;
  height: 18px;
}
.channel-privacy p {
  font-size: 10px;
  line-height: 1.8;
  margin: 0;
}
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}
.dialog-actions .quiet {
  padding: 9px 13px;
  font-size: 11px;
}
#channel-save {
  border: 0;
  border-radius: 6px;
  background: #6858de;
  color: #fff;
  padding: 10px 15px;
  font-size: 11px;
}
#channel-error {
  font-size: 11px;
  color: #b35c40;
  line-height: 1.7;
  margin: 0;
}
.empty-state h2 {
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  #edit-channel {
    width: 28px;
    height: 30px;
  }
  .header-actions {
    gap: 0;
  }
  .header-title p {
    max-width: 130px;
  }
  .channel-dialog form {
    padding: 20px;
  }
  .channel-list {
    max-height: 30dvh;
  }
}
