/* 应用化外观：去掉"这是网页"的观感
   - 界面骨架文字不选中、不出现文本光标
   - 自定义滚动条，去掉系统默认粗滚动条
   - 去掉下拉刷新的橡皮筋、去掉链接拖拽、去掉点击高亮
   - 内容区（对话正文 / 输入框）仍然正常选中复制 */

html, body { overscroll-behavior: none; -webkit-tap-highlight-color: transparent; }

/* 骨架元素不可选中 */
.bar, .top, .tabs, .tab, .panel h2, .field label, .row label, .attach, .empty h2,
button, .btn, th, .tag, .logo, .name, .who, .crow .hint {
  -webkit-user-select: none; user-select: none; cursor: default;
}
/* 输入框内的提示文字仍然可以正常选中 */
input, textarea { -webkit-user-select: text; user-select: text; cursor: auto; }

/* 链接不当成"网页链接"来拖 */
a { -webkit-user-drag: none; }
img, video { -webkit-user-drag: none; user-select: none; }

/* 细滚动条 */
* { scrollbar-width: thin; scrollbar-color: #2a3550 transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a3550; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #38466b; }
::-webkit-scrollbar-corner { background: transparent; }

/* 页面切换时不闪白 */
body { background: var(--bg); }

/* 应用顶部细边框，弱化"浏览器窗口"感 */
.bar { background: var(--panel2); }

/* ---------- 引用 ---------- */
.quote {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--panel2); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 6px 8px; margin: 0 2px 6px;
}
.quote-main { flex: 1; min-width: 0; }
.quote-tag {
  display: inline-block; font-size: 10.5px; color: var(--accent);
  border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; margin-right: 6px;
}
.quote-text {
  font-size: 12px; color: var(--muted); line-height: 1.5;
  display: inline; word-break: break-word;
}
.quote-btn {
  margin-left: 8px; padding: 1px 7px !important; font-size: 11px !important;
  opacity: .55; transition: opacity .15s;
}
.m:hover .quote-btn { opacity: 1; }
.bubble-quote {
  border-left: 3px solid var(--accent); background: var(--panel2);
  border-radius: 6px; padding: 5px 8px; margin-bottom: 6px;
  font-size: 12px; color: var(--muted); white-space: pre-wrap; word-break: break-word;
}
/* ---------- 发布文案 ---------- */
.reply-text { white-space: pre-wrap; word-break: break-word; }
.copy-row { margin-top: 8px; display: flex; gap: 8px; align-items: center; }
.copy-tip { font-size: 11.5px; color: var(--muted); }
