/* 评论区：头像在左，名字和时间一行，正文单独一段；不用分割线，靠留白分开。 */
#sheet .sheet-discussion { border-top: 0; margin-top: 8px; padding-top: 22px; position: relative; }
#sheet .sheet-discussion::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #ebecf0; }
#sheet .sheet-discussion h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 18px; font-size: 16px; font-weight: 800; }
#sheet .sheet-discussion h3 span { font: 600 13px var(--mono); color: var(--muted); }

#sheet .sheet-comments { display: grid; gap: 22px; margin: 0; padding: 0 0 8px; list-style: none; }
#sheet .sheet-comments li.cmt { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; padding: 0; border: 0; }

#sheet .cmt-avatar { width: 38px !important; height: 38px !important; font-size: 19px !important; border-radius: 50% !important; box-shadow: none; }
#sheet .cmt-main { min-width: 0; }
#sheet .cmt-head { display: flex; align-items: center; gap: 6px; min-height: 20px; }
#sheet .cmt-name { font-size: 13.5px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sheet .cmt-badge { flex: none; font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 17px; padding: 0 6px; border-radius: 999px; background: var(--y); color: var(--ink); }
#sheet .cmt-badge.me { background: #e8efff; color: #2f5bd3; }
#sheet .cmt-time { flex: none; font-size: 12px; color: #9a9ca5; }
#sheet .cmt-del { margin-left: auto; flex: none; padding: 2px 8px; border: 0; border-radius: 999px; background: none; color: #9a9ca5; font-size: 12px; }
#sheet .cmt-del:hover, #sheet .cmt-del:focus-visible { background: #fdecef; color: #a3162c; }
#sheet .cmt-body { margin: 5px 0 0; font-size: 14.5px; line-height: 1.75; color: #2b2d35; white-space: pre-wrap; overflow-wrap: anywhere; }

#sheet .sheet-comments li.cmt-empty { display: grid; justify-items: center; gap: 4px; padding: 26px 0 30px; border: 0; color: #a3a6ae; text-align: center; }
#sheet .cmt-empty svg { margin-bottom: 6px; opacity: .7; }
#sheet .cmt-empty b { color: #6c6f78; font-size: 14px; }
#sheet .cmt-empty span { font-size: 12.5px; }

/* 底部输入条：我的头像 + 圆角输入框 + 圆形发送键 */
#sheet form.sheet-reply { gap: 10px; padding-top: 12px; padding-bottom: 12px; border-top: 1px solid #ebecf0; background: var(--paper); }
#sheet .reply-avatar { flex: none; width: 34px !important; height: 34px !important; font-size: 17px !important; }
#sheet form.sheet-reply textarea { min-height: 40px; padding: 9px 14px; border: 0 !important; border-radius: 20px !important; background: #eef0f3 !important; font-size: 14px; line-height: 1.5; }
#sheet form.sheet-reply textarea:focus { background: #fff !important; box-shadow: 0 0 0 2px var(--ink); outline: none; }
#sheet .sheet-reply-send { flex: none; width: 40px; height: 40px; min-height: 0 !important; padding: 0 !important; border-radius: 50% !important; justify-content: center; }
#sheet .sheet-reply-send span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#sheet .sheet-reply-guest { border-top: 1px solid #ebecf0; }

@media (max-width: 620px) {
  #sheet .sheet-comments { gap: 18px; }
  #sheet .sheet-comments li.cmt { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
  #sheet .cmt-avatar { width: 34px !important; height: 34px !important; font-size: 17px !important; }
  #sheet .cmt-name { font-size: 13px; }
  #sheet .cmt-time { font-size: 11px; }
  #sheet .cmt-body { font-size: 13.5px; line-height: 1.7; }
  #sheet .reply-avatar { width: 30px !important; height: 30px !important; font-size: 15px !important; }
  #sheet form.sheet-reply textarea { font-size: 16px; } /* 低于 16px 时 iOS 会放大页面 */
  #sheet .sheet-reply-send { width: 38px; height: 38px; }
}
