/* ============================================================
   我们 · 双人聊天室样式
   ============================================================ */

:root {
  --bg: #f8f4f0;
  --bg-grad: radial-gradient(120% 80% at 50% 0%, #fdf9f4 0%, #f5ede5 100%);
  --panel: #ffffff;
  --panel-2: #f4ede6;
  --fg: #241c19;
  --fg-dim: #93867f;
  --line: #ece2d9;
  --accent: #e85d04;
  --accent-2: #fb8b24;
  --mine-fg: #fff;
  --theirs: #ffffff;
  --shadow: 0 1px 2px rgba(80, 50, 40, .06), 0 4px 14px rgba(80, 50, 40, .05);
  --radius: 16px;
  --kb: 0px;          /* 键盘高度，JS 动态写 */
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141110;
    --bg-grad: radial-gradient(120% 80% at 50% 0%, #1b1614 0%, #12100f 100%);
    --panel: #1e1a18;
    --panel-2: #282220;
    --fg: #f3ece9;
    --fg-dim: #9b8f89;
    --line: #2e2724;
    --theirs: #241f1d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .28);
  }
}

* { box-sizing: border-box; }

/* 关键：让 hidden 属性压过 .screen / .panel 等 flex 布局 */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  /* 整页不滚动：滚动只发生在消息区，避免 iOS 键盘弹出时整页被顶走 */
  overflow: hidden;
  position: fixed;
  inset: 0;
  width: 100%;
  overscroll-behavior: none;
  /* 禁止双击缩放 / 横向拖动，纵向滚动照常 */
  touch-action: manipulation;
}

/* 消息区允许纵向滑动（上面 manipulation 已含），图片预览单独放开 */
.timeline { touch-action: pan-y; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 15px;
  color: var(--fg);
  background: var(--bg);
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }

.screen { position: fixed; inset: 0; display: flex; }

/* ------------------------------------------------ 设置 / 登录 */

.center {
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* 登录/建房间页：键盘弹起时把卡片顶上去，别被键盘盖住 */
  padding-bottom: calc(20px + var(--kb, 0px) + env(safe-area-inset-bottom));
  background: var(--bg-grad);
  overflow-y: auto;
}

.card {
  width: 100%;
  max-width: 440px;
  background: var(--panel);
  border-radius: 22px;
  padding: 26px 22px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.card.narrow { max-width: 340px; }

.logo { font-size: 34px; line-height: 1; text-align: center; }
.card h1 { font-size: 19px; text-align: center; margin: 12px 0 6px; font-weight: 650; letter-spacing: .2px; }
.muted { color: var(--fg-dim); font-size: 13px; text-align: center; margin: 0 0 18px; line-height: 1.6; }
.hint { color: var(--fg-dim); font-size: 12px; text-align: center; line-height: 1.6; margin: 14px 0 0; }
.err { color: #e04747; font-size: 13px; text-align: center; min-height: 18px; margin: 10px 0 0; }

.card label {
  display: block;
  font-size: 12px;
  color: var(--fg-dim);
  margin: 12px 0 5px;
  letter-spacing: .3px;
}

.card input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 16px; /* iOS 不缩放 */
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.card input:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(232, 93, 4, .12); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 420px) { .pair { grid-template-columns: 1fr; gap: 4px; } }

.person { padding-top: 2px; }
.person-head { margin-bottom: 4px; }
.person-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--panel-2); color: var(--fg-dim);
  letter-spacing: .5px;
}
.person-tag.me { background: rgba(232, 93, 4, .12); color: var(--accent); }

.btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .1s, opacity .15s;
}
.btn:active { transform: scale(.985); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 6px 18px rgba(232, 93, 4, .28);
}
.btn[disabled] { opacity: .55; pointer-events: none; }

.who { display: flex; gap: 10px; margin: 0 0 14px; }
.who button {
  flex: 1;
  padding: 12px 8px;
  border-radius: 14px;
  background: var(--panel-2);
  border: 1.5px solid transparent;
  font-size: 14px;
  font-weight: 500;
  transition: border-color .15s, background .15s;
}
.who button.on { border-color: var(--accent); background: rgba(232, 93, 4, .08); color: var(--accent); }

/* ------------------------------------------------ 聊天主体 */

.chat {
  /* 容器永远撑满整屏；键盘弹起时用 padding-bottom 把输入框顶到键盘上方。
     这样不依赖 iOS 对"可视高度"的算法，也不会出现半截空白。 */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: var(--kb, 0px);
  box-sizing: border-box;
  flex-direction: column;
  background: var(--bg-grad);
  overflow: hidden;
  transition: padding-bottom .12s ease-out;
}

.topbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  /* 用纯色而不是毛玻璃：老浏览器上 backdrop-filter / color-mix 不支持时会漏出消息 */
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.avatar {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #fb8b24, #e85d04);
  user-select: none;
}
.avatar[data-hue="1"] { background: linear-gradient(135deg, #8fc9e8, #4f8fc0); }
.avatar[data-hue="2"] { background: linear-gradient(135deg, #b6a4f0, #7a63c9); }
.avatar[data-hue="3"] { background: linear-gradient(135deg, #f0c48f, #d99a4e); }

.peer-meta { flex: 1; min-width: 0; }
.peer-name { font-size: 15px; font-weight: 600; line-height: 1.25; }
.peer-status { font-size: 11.5px; color: var(--fg-dim); line-height: 1.3; }
.peer-status.typing { color: var(--accent); }

.icon-btn {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 19px; line-height: 1;
  color: var(--fg-dim);
  transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--panel-2); color: var(--fg); }
.icon-btn:active { background: var(--panel-2); }

.menu {
  position: absolute;
  top: calc(100% - 4px);
  right: 12px;
  width: 190px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(60, 40, 30, .16);
  z-index: 30;
}
.menu-item {
  display: flex; align-items: center; gap: 9px;
  width: 100%; padding: 9px 10px;
  border-radius: 9px;
  font-size: 14px;
  text-align: left;
}
.menu-item:hover { background: var(--panel-2); }
.menu-item span { width: 18px; text-align: center; font-size: 14px; }
.menu-item em { flex: 1; font-style: normal; }
.sw {
  width: 30px; height: 17px; border-radius: 999px;
  background: var(--line); position: relative; transition: background .18s;
}
.sw::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #fff; transition: transform .18s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.sw[data-on="1"] { background: var(--accent); }
.sw[data-on="1"]::after { transform: translateX(13px); }

/* ------------------------------------------------ 消息列表 */

.timeline {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.timeline::-webkit-scrollbar { width: 6px; height: 6px; }
.timeline::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.timeline::-webkit-scrollbar-thumb:hover { background: var(--fg-dim); }
.timeline::-webkit-scrollbar-track { background: transparent; }

.timeline-pad { height: 4px; }

.load-more {
  display: block;
  margin: 6px auto 12px;
  padding: 6px 14px;
  font-size: 12.5px;
  color: var(--fg-dim);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.day {
  text-align: center;
  font-size: 11.5px;
  color: var(--fg-dim);
  margin: 14px 0 10px;
}
.day span {
  background: var(--panel);
  padding: 3px 10px;
  border-radius: 999px;
}

.row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 0 12px;
  margin-top: 10px;
  animation: pop .18s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.row.me { flex-direction: row-reverse; }
.row.grouped { margin-top: 3px; }
.row .spacer { width: 36px; flex: 0 0 36px; }
.avatar.ghost { visibility: hidden; }

.col { display: flex; flex-direction: column; max-width: min(76%, 560px); min-width: 0; }
.row.me .col { align-items: flex-end; }

.bubble {
  padding: 9px 13px;
  border-radius: 18px 18px 18px 6px;
  background: var(--theirs);
  box-shadow: var(--shadow);
  font-size: 15px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.row.me .bubble {
  border-radius: 18px 18px 6px 18px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: var(--mine-fg);
  box-shadow: 0 2px 10px rgba(232, 93, 4, .22);
}
.bubble.plain {
  background: none;
  box-shadow: none;
  padding: 0;
  color: inherit;
}
.bubble .text { white-space: pre-wrap; }
.bubble .text.big-emoji { font-size: 34px; line-height: 1.25; letter-spacing: 2px; }
.bubble a { color: inherit; text-decoration: underline; text-underline-offset: 2px; opacity: .95; }

.deleted { font-size: 12.5px; color: var(--fg-dim); font-style: italic; }

.meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--fg-dim);
  margin: 3px 4px 0;
  line-height: 1.2;
  min-height: 13px;
}
.meta .read { color: var(--accent); }

/* 媒体 */
.media-grid {
  display: grid;
  gap: 3px;
  margin: 2px 0;
  max-width: 300px;
}
.bubble .media-grid:first-child { margin: -2px 0; }
.media-grid.n1 { grid-template-columns: 1fr; }
.media-grid.n2 { grid-template-columns: 1fr 1fr; }
.media-grid.n3 { grid-template-columns: repeat(3, 1fr); }

.media-item {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel-2);
  cursor: zoom-in;
  aspect-ratio: 1;
}
.media-grid.n1 .media-item { aspect-ratio: auto; }
/* 单张图按原比例显示：height 必须显式 auto，否则 iOS Safari 在 grid 里会算成 0 高度 */
.media-grid.n1 .media-item img {
  width: auto;
  height: auto;
  max-height: 300px;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}
.media-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-item video { width: 100%; display: block; border-radius: 12px; }

/* 图片加载失败时的兜底：给一个可点的入口，而不是空白 */
.img-failed { display: grid; place-items: center; min-height: 120px; }
.img-fail {
  display: inline-block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  text-align: center;
  line-height: 1.5;
}

.bubble.has-media { padding: 4px; }
.bubble.has-media .text { padding: 6px 9px 7px; }
.bubble.has-media.only-media { padding: 3px; }

.file-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  min-width: 190px;
  text-decoration: none;
  color: inherit;
}
.file-ico {
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 18px;
  background: var(--panel-2);
}
.file-info { min-width: 0; flex: 1; }
.file-name {
  font-size: 13.5px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 200px;
}
.file-size { font-size: 11.5px; color: var(--fg-dim); margin-top: 1px; }
.row.me .file-size { color: rgba(255, 255, 255, .7); }

.stickers-duo { display: flex; flex-wrap: wrap; gap: 4px; max-width: 260px; }
img.sticker {
  width: 108px; height: 108px;
  object-fit: contain;
  cursor: pointer;
  border-radius: 10px;
  transition: transform .12s;
}
img.sticker:active { transform: scale(.94); }

.audio-item { min-width: 210px; padding: 6px 4px; }

.jump {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 96px;
  padding: 7px 14px;
  font-size: 12.5px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--accent);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(60, 40, 30, .12);
  z-index: 15;
}

/* ------------------------------------------------ 输入区 */

.staging {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  overflow-x: auto;
  background: var(--panel);
  border-top: 1px solid var(--line);
}
.stage {
  position: relative;
  width: 60px; height: 60px; flex: 0 0 60px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel-2);
  display: grid; place-items: center;
  font-size: 11px; color: var(--fg-dim);
}
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage .bar {
  position: absolute; left: 0; bottom: 0; height: 3px;
  background: var(--accent); width: 0%;
  transition: width .2s;
}

.composer {
  flex: 0 0 auto;
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}
.composer-row { display: flex; align-items: flex-end; gap: 4px; }

#input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: var(--panel-2);
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 16px;
  line-height: 1.45;
  resize: none;
  outline: none;
  max-height: 132px;
  overflow-y: auto;
}
#input::placeholder { color: var(--fg-dim); }

.send {
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 3px 12px rgba(232, 93, 4, .3);
  margin-bottom: 1px;
  transition: opacity .15s, transform .1s;
}
.send[disabled] { opacity: .4; box-shadow: none; }
.send:not([disabled]):active { transform: scale(.93); }

/* ------------------------------------------------ 表情面板 */

.panel {
  flex: 0 0 auto;
  height: calc(258px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-top: 1px solid var(--line);
  animation: slide-up .16s ease-out;
}
@keyframes slide-up {
  from { height: calc(0px + env(safe-area-inset-bottom)); opacity: .4; }
  to { height: calc(258px + env(safe-area-inset-bottom)); opacity: 1; }
}

/* 表情面板打开时，它自己承担底部安全区，输入区就不用再留白 */
.chat.panel-open .composer { padding-bottom: 8px; }

.panel-tabs { display: flex; gap: 2px; padding: 6px 8px 0; flex: 0 0 auto; }
.panel-tabs button {
  padding: 6px 13px;
  font-size: 13px;
  color: var(--fg-dim);
  border-radius: 9px 9px 0 0;
}
.panel-tabs button.active { color: var(--accent); font-weight: 600; }

.panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 10px calc(14px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
  gap: 2px;
  align-content: start;
  scrollbar-width: thin;
}
.panel-body .cat {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--fg-dim);
  padding: 8px 2px 2px;
}
.emoji-btn {
  font-size: 23px;
  line-height: 1;
  padding: 6px 0;
  border-radius: 8px;
  text-align: center;
}
.emoji-btn:hover { background: var(--panel-2); }

.sticker-grid {
  grid-column: 1 / -1;   /* 面板本身是 grid，这里要横跨整行 */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 6px;
  align-content: start;
}
.sticker-cell {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--panel-2);
  overflow: hidden;
}
.sticker-cell img { width: 100%; height: 100%; object-fit: contain; }
.sticker-cell .del {
  position: absolute;
  top: 2px; right: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity .15s;
}
.sticker-cell:hover .del { opacity: 1; }
.sticker-add {
  display: grid; place-items: center;
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  color: var(--fg-dim);
  font-size: 12px;
  aspect-ratio: 1;
  background: none;
  gap: 2px;
}
.sticker-add b { font-size: 20px; font-weight: 400; line-height: 1; }
.empty-stickers {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--fg-dim);
  font-size: 12.5px;
  padding: 20px 10px;
  line-height: 1.7;
}

/* ------------------------------------------------ 灯箱 / 提示 */

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, .92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-bar {
  display: flex; gap: 14px; margin-top: 18px;
}
.lightbox-bar a, .lightbox-bar button {
  color: #fff;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  text-decoration: none;
  border: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%);
  max-width: 80vw;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(30, 24, 22, .92);
  color: #fff;
  font-size: 13px;
  z-index: 200;
  animation: toast-in .2s ease-out;
  text-align: center;
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* 桌面端：收窄居中，更像一个应用 */
@media (min-width: 720px) {
  .chat {
    max-width: 780px;
    margin: 0 auto;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    box-shadow: 0 0 60px rgba(60, 40, 30, .06);
  }
  .row { padding: 0 22px; }
  .jump { bottom: 104px; }
  .topbar { padding-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------ 房间设置面板 */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(30, 22, 16, .38);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sheet-card {
  width: 100%;
  max-width: 440px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--panel);
  border-radius: 20px 20px 0 0;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 44px rgba(60, 40, 30, .2);
  animation: sheet-up .18s ease-out;
  scrollbar-width: thin;
}
@keyframes sheet-up {
  from { transform: translateY(18px); opacity: .5; }
  to { transform: none; opacity: 1; }
}

@media (min-width: 720px) {
  .sheet { align-items: center; padding: 24px; }
  .sheet-card { border-radius: 20px; }
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.sheet-head h2 { font-size: 16px; margin: 0; font-weight: 650; }

.field-label { display: block; font-size: 12px; color: var(--fg-dim); margin: 14px 0 6px; }

.field-row { display: flex; gap: 8px; }
.field-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: 11px;
  padding: 9px 12px;
  font-size: 16px;
  outline: none;
}
.field-row input:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(232, 93, 4, .12); }

.btn-inline {
  padding: 0 15px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.btn-inline:active { opacity: .85; }

.btn.primary.small { margin-top: 10px; padding: 10px; font-size: 14px; }

.sheet-sub {
  margin: 20px 0 8px;
  font-size: 13px;
  font-weight: 600;
}
.sheet-sub .count { color: var(--fg-dim); font-weight: 400; font-size: 12px; }

.member-list { display: flex; flex-direction: column; gap: 6px; }

.member-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 12px;
  background: var(--panel-2);
}
.member-row .avatar { width: 28px; height: 28px; flex: 0 0 28px; font-size: 12px; }
.member-row .m-name { flex: 1; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-row .m-tag { font-size: 11px; color: var(--fg-dim); padding: 2px 8px; border-radius: 999px; background: var(--panel); }
.member-row .m-del {
  font-size: 12.5px;
  color: #d9534f;
  padding: 4px 9px;
  border-radius: 8px;
}
.member-row .m-del:hover { background: rgba(217, 83, 79, .1); }

.member-row .m-ren {
  font-size: 12.5px;
  color: var(--accent);
  padding: 4px 9px;
  border-radius: 8px;
}
.member-row .m-ren:hover { background: rgba(232, 93, 4, .1); }

.hint.left { text-align: left; margin: 10px 0 0; }

/* 群聊里标注发送者 */
.sender-name {
  font-size: 11.5px;
  color: var(--fg-dim);
  margin: 0 0 3px 5px;
}
.sender-name + .bubble { margin-top: 0; }
