/* ═══════════════════════════════════════════════════════════════════════
 * 线报酷 · 评论区样式（生产版）
 *
 * 版本：2026-11-23  P2 轻描边卡 + Lucide 头像
 *         2026-11-26  评论图片不强制放大（小图原尺寸）/ 楼主头像改中性灰（日/夜）/ 去掉卡头细线
 *                     （徽章经站长复订保持主色实底，不随头像改灰）
 *         2026-11-28  字号档位适配：本文件全部写死 px 换 --fs-* 令牌（tokens.css 20261128a
 *                     新增 --fs-11/--fs-115 两档）——此前 cmt-s2+xb-p2 线上常挂态把
 *                     style.css 的 fscale 白名单全部压住，「字号大小」四档对评论区不生效
 *                     （站长 20261128 截图指认）。≤768 移动端 CJK ≥12px 硬闸门不受影响：
 *                     .75rem*1.2=14.4px ≥12px 恒真。
 * 挂载：<body class="xb-cmt-s2 xb-p2">
 *
 * 设计要点
 *   · 每楼一张 1px 描边卡（无阴影），楼间 8px
 *   · hover 只加深描边、不换底色 —— 比底色变化更稳，不闪不反白
 *   · 地区 = 描边 pill（border 而非 bg），卡内不与白底打架
 *   · 楼号钉右上角，退为弱化坐标
 *   · 头像：普通 users-round / 楼主 badge-check（Lucide v1.77.0 ISC）
 *   · 二级回复：淡底小卡，无左侧竖线
 *
 * 全部使用设计令牌（--surface/--text/--border/--primary/--radius/--fs-*/--fw-*），
 *   自动继承 13 套皮肤 + html.night 深色模式。
 *
 * ⚠ DOM 约束（改样式前必读）
 *   采集端把评论楼层拍平成**同级 .ul**，楼中楼只以 c-dianping（内嵌在
 *   父楼 c-neirong 里）存在，DOM 里没有父子结构。所以：
 *     .ul .ul / .ul + .ul 都不可用（前者永远选不到，后者会误伤所有 2L 之后）
 *   图片由服务端 xb_fujia_normalize() 归拢进 .c-imgs，可安全用 grid。
 * ═══════════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
 * S2 社媒回复痕 —— 小红书 / Threads / 微博评论范式
 *
 * 特征：头像 + 昵称一行（社媒的"发帖人栏"），正文紧随；
 *      回复用左侧短竖条 + 淡底小条，像"盖章"在父楼下面。
 * ═══════════════════════════════════════════════════════════════ */

body.xb-cmt-s2 .art-fujia-content .comment-list {
    padding: 0 0 4px;
}
body.xb-cmt-s2 .art-fujia-content .comment-list .title {
    padding: 13px 14px 11px;
    border-bottom: 1px solid var(--border);
}

body.xb-cmt-s2 .art-fujia-content .comment-list .ul {
    margin: 0;
    border-top: none;
    border-bottom: 1px solid var(--border);
}
body.xb-cmt-s2 .art-fujia-content .comment-list .ul:last-child {
    border-bottom: none;
}

/* 社媒行：头像与正文顶对齐，行间距略大（社交阅读节奏） */
body.xb-cmt-s2 .art-fujia-content .comment-list .li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px 14px;
    background: transparent;
    border: none;
    border-radius: 0;
}

/* ── hover：整行明显提亮，回复卡同步加深 ──
 *
 * 问题（2026-11-22 站长反馈"hover 有问题"）：
 *   1) 主题 style.min.css 里
 *        .comment-list .li:hover { background: var(--surface-2) }
 *        .comment-list .li:hover .c-dianping { background: var(--surface) }  ← 回复条变白
 *      hover 时整行变浅灰，而里面的回复条变成比父卡更亮的白块，层级反转。
 *   2) 我第一版修复用 --surface-3(#fafafa) 铺 hover 行，但卡片本身是 #fff，
 *      两者只差 5 个灰阶，肉眼几乎看不出 hover 反馈。
 *
 * 这一版：hover 行用 --surface-2(#f4f4f5)（与白卡差 11 阶，能看出），
 *   同时把回复卡提到 --surface-3(#fafafa)，保持「父深子浅」的正确层级，
 *   并且回复卡仍然可见（不像原来那样被洗成纯白）。
 */
body.xb-cmt-s2 .art-fujia-content .comment-list .li:hover {
    background: var(--surface-2);
}
body.xb-cmt-s2 .art-fujia-content .comment-list .li:hover .c-dianping,
body.xb-cmt-s2 .art-fujia-content .comment-list .li:hover .c-yingyong {
    background: var(--surface-3);
    box-shadow: none;
}

/* ── 头像：两枚固定 icon（普通用户 / 楼主） ──
 *
 * 2026-11-22 第二版（站长要求"换一套"）。
 *
 * 第一版是「单人轮廓 + 楼主加小圆点」，问题：两枚图形几乎一样，
 * 在 32px 尺寸下那个 2px 的点太小，扫读时区分不出来。
 *
 * 这一版改成**语义不同**的两枚图形：
 *   普通用户 = 单人 bust（头 + 肩，中立语义）
 *   楼主     = 单人 bust + **底部实心横条**（"楼主/主持人"的座位感），
 *              并用主色实心底 + 白色线条反向配色，色块面积差异一眼可辨
 * 这样即使不看颜色、只看剪影，也能分辨（对色弱友好）。
 *
 * 仍用 data-URI SVG：无额外请求、跟 CSS 一起到、单文件自包含。
 * ⚠ data-URI 里 currentColor 不生效（独立文档），深色模式必须另写一套。
 */
body.xb-cmt-s2 .art-fujia-content .comment-list .pingluntoux,
body.xb-cmt-s2 .art-fujia-content .comment-list .louzhutoux {
    flex: none;
    float: none;
    width: 32px;
    height: 32px;
    margin: 0;
    border-radius: 50%;
    /* 普通用户：浅灰底 + 深灰线条的 bust 剪影 */
    background-color: var(--surface-2);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23818188' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='16' cy='12' r='4.6'/%3E%3Cpath d='M7.4 25.4c0-4.6 3.9-7.4 8.6-7.4s8.6 2.8 8.6 7.4'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
    /* 隐藏昵称首字文本节点：
       采集端会在头像 span 里塞一个首字（`<span class="pingluntoux">张</span>`），
       服务端归一化也会 append 首字。必须藏掉，否则文字叠在图标上。
       用 font-size:0 + color:transparent：文本仍在 DOM 里（读屏可读），
       视觉完全不可见，也不会像 text-indent:-9999px 那样破坏圆形裁剪。 */
    color: transparent;
    font-size: 0;
    line-height: 0;
    box-shadow: inset 0 0 0 1px var(--border);
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}
/* 楼主：主色实心 + 白色 bust + **底部实心横条**
 *
 * 底部横条是这一版的关键：它把"人像"变成"坐在台后的人"，即主持/楼主语义。
 * 剪影上就与普通用户（纯 bust，无横条）区分开，不依赖颜色也能认出来（色弱友好）。
 * 位置在 viewBox 0 0 32 32 内，横条 y=27.4、宽 12、居中，远离圆周边缘，
 * 不会被 overflow:hidden 裁掉。 */
body.xb-cmt-s2 .art-fujia-content .comment-list .louzhutoux,
body.xb-cmt-s2 .art-fujia-content .comment-list .pingluntoux.lzav {
    /* 2026-11-26 随徽章一起改灰：--primary 在默认 zinc 皮肤是纯黑，改 --text-2 中性灰 */
    background-color: var(--text-2);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='16' cy='11.4' r='4.4'/%3E%3Cpath d='M7.6 23.6c0-4.4 3.8-7 8.4-7s8.4 2.6 8.4 7'/%3E%3C/g%3E%3Crect x='10' y='26.2' width='12' height='2.4' rx='1.2' fill='%23ffffff'/%3E%3C/svg%3E");
    box-shadow: none;
    color: transparent;
}

/* 夜间楼主头像：--text-2 反转为浅灰底，白色线条会糊掉，换深色线条
   （此前 --primary 夜间=#fafafa 白底 + 白线图标本就近乎不可见，这里一并修正） */
html.night body.xb-cmt-s2 .art-fujia-content .comment-list .louzhutoux,
html.night body.xb-cmt-s2 .art-fujia-content .comment-list .pingluntoux.lzav {
    background-color: var(--text-2);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%2318181b' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='16' cy='11.4' r='4.4'/%3E%3Cpath d='M7.6 23.6c0-4.4 3.8-7 8.4-7s8.4 2.6 8.4 7'/%3E%3C/g%3E%3Crect x='10' y='26.2' width='12' height='2.4' rx='1.2' fill='%2318181b'/%3E%3C/svg%3E");
}

/* 深色模式下普通头像的描边色提亮（浅灰图标在深底上会糊）
 * 楼主头像吃 --primary，深色下自动变白底，不需要单独适配。 */
html.night body.xb-cmt-s2 .art-fujia-content .comment-list .pingluntoux,
html.night body.xb-cmt-s2 .art-fujia-content .comment-list .louzhutoux:not(.lzav) {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23b4b4bb' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='16' cy='12' r='4.6'/%3E%3Cpath d='M7.4 25.4c0-4.6 3.9-7.4 8.6-7.4s8.6 2.8 8.6 7.4'/%3E%3C/g%3E%3C/svg%3E");
}
body.xb-cmt-s2 .art-fujia-content .comment-list .clbody {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 0;
}

/* 发帖人栏 */
body.xb-cmt-s2 .art-fujia-content .comment-list .cinfo {
    display: flex;
    align-items: baseline;
    gap: 0 7px;
    flex-wrap: wrap;
    min-height: 19px;
}
body.xb-cmt-s2 .art-fujia-content .comment-list .cinfo::after {
    content: none;
}
body.xb-cmt-s2 .art-fujia-content .comment-list .clbody .author,
body.xb-cmt-s2 .art-fujia-content .comment-list .clbody .author a {
    font-size: var(--fs-13);
    font-weight: var(--fw-600);
    color: var(--text-2);            /* 社媒范式里昵称是"灰蓝"，正文才是黑的 */
    line-height: 1.4;
}
body.xb-cmt-s2 .art-fujia-content .comment-list .c-time {
    font-size: var(--fs-12);
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
}
/* 地区：淡底 chip（2026-11-22 第三版）
 *
 * 为什么前两版都不行：
 *   第一版纯文字 12px + var(--text-3)：**亮色下 --text-2 与 --text-3 是同一个
 *     值 #71717a**（主题令牌的既有问题），所以靠换变量提不深；12px 灰字在白卡上
 *     对比度约 4.5:1，属临界，站长反馈"看不清"。
 *   第二版用 ::before 画 "·" 分隔点：字符基线在 inline-flex + baseline 下与中文
 *     对不齐，实测点明显偏上（截图可见）。
 *
 * 这一版：
 *   1. 做成淡底 chip —— 用背景块给文字造边界，比提高字色更有效，也不破坏
 *      「信息密度高、颜色克制」的社媒范式观感；
 *   2. 字色用 var(--text-body)（#3f3f46，比 #71717a 深两档），对比度提到约 7:1；
 *   3. 去掉字符分隔点（chip 自带边界，不需要点，也就不存在对齐问题）。
 *   4. hover 时整行是 --surface-2，chip 必须换底色否则会"溶"进背景。
 */
body.xb-cmt-s2 .art-fujia-content .comment-list .c-ip {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 6px;
    box-sizing: border-box;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-size: var(--fs-115);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    /* 与昵称基线对齐：chip 是块级化的行内元素，靠 translateY 微调而非 baseline */
    transform: translateY(1px);
}
/* 清掉前两版遗留的字符分隔点 */
body.xb-cmt-s2 .art-fujia-content .comment-list .c-ip::before {
    content: none;
}
/* hover 时行背景变 --surface-2，chip 换成白底 + 描边才不至于消失 */
body.xb-cmt-s2 .art-fujia-content .comment-list .li:hover .c-ip {
    background: var(--surface);
    box-shadow: 0 0 0 1px var(--border);
}
/* 楼号：社媒弱化到几乎不可见（社媒本来没有楼层概念） */
body.xb-cmt-s2 .art-fujia-content .comment-list .cmt-fl {
    margin-left: auto;
    flex: none;
    font-size: var(--fs-12);
    color: var(--text-3);
    opacity: .75;
    font-variant-numeric: tabular-nums;
}

/* 楼主徽标：社媒风格的小实心角标 */
body.xb-cmt-s2 .art-fujia-content .comment-list .level-louzu {
    display: inline-flex;
    align-items: center;
    height: 16px;
    margin-left: 5px;
    padding: 0 5px;
    /* 2026-11-26 复订：徽章保持主色实底（站长「楼主勋章不要灰色」——灰色只用于头像） */
    background: var(--primary);
    color: var(--on-primary);
    border-radius: 3px;
    font-size: var(--fs-11);
    font-weight: var(--fw-600);
    line-height: 1;
    transform: translateY(-1px);
}

/* 正文：社媒的字号偏大、行距偏松 */
body.xb-cmt-s2 .art-fujia-content .comment-list .c-neirong {
    margin-top: 5px;
    font-size: var(--fs-15);
    line-height: 1.62;
    color: var(--text-body);
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

/* 图片：社媒式自适应网格
 *
 * 这里用服务端新加的 .c-imgs 容器（xb_fujia_normalize 把散落 img 收进去了），
 * 所以不再是"文本 + 图"混排，可以放心用 grid。
 *
 * 社媒惯例（小红书/微博）：
 *   1 张 → 大图，最宽 62%，保持原比例（不裁切，让用户看到全貌）
 *   2 张 → 并排两列
 *   3+ 张 → 三列方格，正方形裁切（视觉整齐）
 * 兼容：老数据没有 .c-imgs（尚未重渲染/历史 HTML），退回 inline 流也不会崩。 */
body.xb-cmt-s2 .art-fujia-content .comment-list .c-imgs {
    display: grid;
    gap: 5px;
    margin-top: 8px;
    /* 三列是上限；同时用一个总宽上限，避免宽屏下图片被拉得过大
       （2026-11-22 实测：不设上限时双图会各自撑到 400px+，视觉过重） */
    grid-template-columns: repeat(3, minmax(0, 112px));
    justify-content: start;
    max-width: 100%;
}
body.xb-cmt-s2 .art-fujia-content .comment-list .c-imgs img {
    display: block;
    /* 2026-11-26 站长反馈「评论区的图片不应该强制放大」：
       表情包等小图（如赚吧 20×20 表情）此前被 width:100% 拉到轨道满宽（单图 260px，放大 13 倍）。
       改为 width:auto + max-width:100% —— 小图按原始尺寸显示、大图才收缩；轨道
       minmax(0,Npx) 随内容收缩，小图不会留空格子。多图的方形裁切只对被约束的大图生效。 */
    width: auto;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin: 0;
    vertical-align: top;
    background: var(--surface-2);
}
/* 单图：大图预览，不裁切（保持原比例，给一个合理上限，不占满全宽） */
body.xb-cmt-s2 .art-fujia-content .comment-list .c-imgs:has(img:only-child) {
    grid-template-columns: minmax(0, 260px);
}
body.xb-cmt-s2 .art-fujia-content .comment-list .c-imgs img:only-child {
    aspect-ratio: auto;
    max-height: 300px;
    object-fit: contain;
    background: var(--surface-3);
    border-radius: var(--radius-lg);
}
/* 双图：两列 */
body.xb-cmt-s2 .art-fujia-content .comment-list .c-imgs:has(img:nth-last-child(2):first-child) {
    grid-template-columns: repeat(2, minmax(0, 112px));
}
/* 四图：2×2 更整齐（比 3+1 好看） */
body.xb-cmt-s2 .art-fujia-content .comment-list .c-imgs:has(img:nth-last-child(4):first-child) {
    grid-template-columns: repeat(2, minmax(0, 112px));
}

/* 兼容老数据：没有 .c-imgs 时（历史 HTML）退回行内流，不破坏可读性 */
body.xb-cmt-s2 .art-fujia-content .comment-list .c-neirong.xb-cmtthumbs {
    display: block;
    margin-top: 5px;
}
body.xb-cmt-s2 .art-fujia-content .comment-list .c-neirong.xb-cmtthumbs > img {
    display: inline-block;
    /* 2026-11-26 同上：width 定宽会把小表情拉大，改 auto + 上限 */
    width: auto;
    max-width: 108px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 0 6px 6px 0;
    vertical-align: top;
}

/* ── 二级回复：淡底小卡片 ──
 *
 * 2026-11-22 按站长要求去掉左侧竖线（原来 ::before 画一条 2px 的线）。
 * 层次改由「缩进的淡底卡 + 与父楼 8px 间距」表达，不再依赖竖线。
 * 纯底色对比在深浅两套皮肤下都稳定，也不会与卡片描边打架。 */
body.xb-cmt-s2 .art-fujia-content .comment-list .c-dianping {
    margin: 8px 0 0;
    padding: 8px 11px;
    background: var(--surface-2);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-2);
    font-size: var(--fs-13);
    line-height: 1.58;
}
body.xb-cmt-s2 .art-fujia-content .comment-list .c-dianping + .c-dianping {
    margin-top: 5px;
}
body.xb-cmt-s2 .art-fujia-content .comment-list .dianpingming,
body.xb-cmt-s2 .art-fujia-content .comment-list .huifuming {
    font-weight: var(--fw-600);
    color: var(--text-body);
    margin-right: 6px;
}
body.xb-cmt-s2 .art-fujia-content .comment-list .dianpingshijian,
body.xb-cmt-s2 .art-fujia-content .comment-list .huifushijian {
    font-size: var(--fs-12);
    color: var(--text-3);
}
body.xb-cmt-s2 .art-fujia-content .comment-list .dianpingneirong,
body.xb-cmt-s2 .art-fujia-content .comment-list .huifuneirong {
    margin-top: 2px;
    color: var(--text-2);
}
/* 引用块：社媒"转发原文"淡底块 */
body.xb-cmt-s2 .art-fujia-content .comment-list .c-yingyong {
    margin-top: 8px;
    padding: 8px 10px;
    background: var(--surface-3);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-3);
    font-size: var(--fs-13);
}

body.xb-cmt-s2 .art-fujia-content .no-comment {
    padding: 26px 16px;
    color: var(--text-3);
}



/* ═══════════════════════════════════════════════════════════════
 * P2 轻描边卡
 *
 * 思路：每楼一张极轻描边的卡（1px border，无阴影），楼间 8px。
 *       hover 只加深描边不换底色 —— 比底色变化更"工具感"、更稳定。
 *       地区用描边 chip（border 而非 bg），在卡内不抢底色。
 * 气质：结构清楚、有边界感。适合楼数多、需要逐条扫读的帖子。
 * ═══════════════════════════════════════════════════════════════ */

body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list {
    padding: 2px 14px 12px;
}
/* ⚠ P2 模式下必须去掉外层评论容器的描边与圆角
 *
 * 主题 style.min.css 有：
 *   .art-fujia .kuangxian { box-shadow: var(--shadow-ring); border-radius: var(--radius-control);
 *                           padding: .5em 1em !important }
 * 而 P2 是「每楼一张描边卡」——外层再套一圈描边就变成**双层边框**，
 * 且那圈边框与上方 .xb-crumbs 的 border-bottom 在视觉上重合，
 * 看起来像"一条横线和圆角矩形叠在一起"（2026-11-23 站长截图指认）。
 *
 * padding 那条带 !important，必须同权重 + !important 才能覆盖。 */
body.xb-cmt-s2.xb-p2 .art-fujia-content .kuangxian {
    box-shadow: none;
    border-radius: 0;
    padding: 0 !important;
}
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .ul {
    border-bottom: none;
    margin: 0 0 8px;
}
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .ul:last-child {
    margin-bottom: 0;
}
/* 2026-11-26 站长反馈「不应该有一条细线」：标题行 border-bottom 与第一张评论卡
   顶边实测间距 0px（完全贴合），一条贯穿直线压在圆角卡上缘＝视觉上是多余的细线。
   P2「每楼一卡」设计里卡头与列表靠留白分隔即可，去掉这条线。 */
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .title {
    border-bottom: none;
}
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .li {
    padding: 13px 14px;
    gap: 11px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .16s ease;
}
/* hover：不换底色，只把描边推深一档 + 极轻投影，避免整块闪 */
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .li:hover {
    background: var(--surface);
    border-color: var(--border-strong);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .li:hover .c-dianping,
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .li:hover .c-yingyong {
    background: var(--surface-2);
    box-shadow: none;
}

/* 头像 30px，卡内略收 */
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .pingluntoux,
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .louzhutoux {
    width: 30px;
    height: 30px;
    background-size: 20px 20px;
}

body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .clbody .author,
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .clbody .author a {
    font-size: var(--fs-135);
    color: var(--text);
}
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .c-time {
    font-size: var(--fs-115);
}

/* 地区：描边 chip（1px border + 透明底），卡内不与白底打架 */
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .c-ip {
    display: inline-flex;
    align-items: center;
    height: 17px;
    padding: 0 6px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    box-shadow: none;
    transform: none;
    color: var(--text-2);
    font-size: var(--fs-11);
    line-height: 1;
}
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .c-ip::before {
    content: none;
}
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .li:hover .c-ip {
    border-color: var(--border-strong);
    background: transparent;
    box-shadow: none;
}

/* 楼号：钉右上角，弱化为坐标 */
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .cinfo {
    position: relative;
    padding-right: 30px;
}
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .cmt-fl {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    font-size: var(--fs-11);
    opacity: .6;
    letter-spacing: .03em;
}

body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .c-neirong {
    margin-top: 6px;
    font-size: var(--fs-14);
    line-height: 1.66;
}

/* 回复卡：卡内再嵌一层，描边比父卡更淡 */
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .c-dianping {
    margin-top: 9px;
    padding: 8px 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .c-dianping + .c-dianping {
    margin-top: 6px;
}


/* ═══════════════════════════════════════════════════════════════
 * 头像（Lucide sparkle / sparkles）
 *
 * 普通 = sparkle（单颗星），楼主 = sparkles（星 + 小十字 + 圆点）。
 * 两者同族：主星形状完全一致，楼主版多两个装饰元素 ——
 * 扫读时不会误以为是两种东西，但"元素多寡"一眼可辨身份。
 * ═══════════════════════════════════════════════════════════════ */
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .pingluntoux,
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .louzhutoux {
    flex: none;
    float: none;
    width: 32px;
    height: 32px;
    margin: 0;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    /* 隐藏昵称首字：采集端会把首字塞进头像 span，服务端归一化也会 append。
       用 font-size:0 + color:transparent —— 文本仍在 DOM 里（读屏可读），
       视觉完全不可见；不用 text-indent 是因为会破坏圆形裁剪。 */
    color: transparent;
    font-size: 0;
    line-height: 0;
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    box-sizing: border-box;
}
/* 普通评论：浅灰底 + 灰线 sparkle（单星） */
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .pingluntoux {
    background-color: var(--surface-2);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23818188' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z'/%3E%3C/svg%3E");
}
/* 楼主：中性灰实底 + 白线 sparkles（星 + 小十字 + 圆点）——2026-11-26 改灰（原 --primary 纯黑） */
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .louzhutoux,
body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .pingluntoux.lzav {
    background-color: var(--text-2);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z'/%3E%3Cpath d='M20 2v4'/%3E%3Cpath d='M22 4h-4'/%3E%3Ccircle cx='4' cy='20' r='2'/%3E%3C/svg%3E");
}
/* 夜间楼主头像（P2）：浅灰底换深色线条，同 S2 的夜间修正 */
html.night body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .louzhutoux,
html.night body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .pingluntoux.lzav {
    background-color: var(--text-2);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z'/%3E%3Cpath d='M20 2v4'/%3E%3Cpath d='M22 4h-4'/%3E%3Ccircle cx='4' cy='20' r='2'/%3E%3C/svg%3E");
}
/* 深色模式：普通头像线条提亮（#818188 → #b4b4bb）。
   楼主吃 --primary，深色下自动反转成浅底深线，无需单独适配。 */
html.night body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .pingluntoux:not(.lzav) {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4b4bb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z'/%3E%3C/svg%3E");
}

/* ═══════════════════════════════════════════════════════════════
 * 「只看楼主」空结果提示
 *
 * 场景：豆瓣买组等帖子楼主从不参与评论，点「只看楼主」后
 *   chakanlouzhu()（xb-extra.min.js）把所有 .ul 加 .hide，
 *   页面只剩一个空白评论卡，用户以为坏了。
 *
 * 方案：纯 CSS，:has() 判断「全部 .ul 都带 hide」→ 用 ::after 显示提示。
 *   不加 body 前缀，因为这是功能兜底而非风格，任何版本都该生效。
 * 兼容：Chrome 105+ / Safari 15.4+ / FF 121+；不支持时退回空白卡（不比原来差）。
 * ═══════════════════════════════════════════════════════════════ */
@supports selector(:has(*)) {
    .art-fujia-content .comment-list:has(.ul.hide):not(:has(.ul:not(.hide)))::after {
        content: "本条线报的楼主还没有参与评论，暂无可筛选的楼层。";
        display: block;
        padding: 26px 16px;
        text-align: center;
        color: var(--text-3, #71717a);
        font-size: var(--fs-13, 13px);
        line-height: 1.7;
    }
}
/* ═══════════════════════════════════════════════════════════════
 * 移动端（≤768px）
 * ═══════════════════════════════════════════════════════════════ */
@media screen and (max-width: 768px) {
    body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list {
        padding: 2px 10px 10px;
    }
    body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .li {
        padding: 11px 12px;
    }
    body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .cinfo {
        padding-right: 26px;
    }
    /* 头像 28px，图标等比缩 */
    body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .pingluntoux,
    body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .louzhutoux {
        width: 28px;
        height: 28px;
        background-size: 18px 18px;
    }
    /* 正文不小于 13px（CJK 可读下限） */
    body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .c-neirong {
        font-size: var(--fs-13);
    }
    /* 图片在窄屏改用两列，避免单图过宽 */
    body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .c-imgs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    body.xb-cmt-s2.xb-p2 .art-fujia-content .comment-list .li {
        transition: none;
    }
}
/* ═══════════════════════════════════════════════════════════════
 * 本站评论区（交流板块 #commentbox）—— 与抓取评论区同款 P2 卡片
 *
 * 2026-11-26 站长令：站内「交流板块」评论列表统一成抓取评论区的 P2 样式。
 * 与抓取评论的 DOM 差异（模板 comment.php 已同步把时间/IP/点赞收进 .cinfo）：
 *   · 头像是真实 <img class="fl">（保留真人头像，不用 sparkle 占位图）
 *   · 正文在 .p（非 .c-neirong）；配图由 [img]…[/img] 经 comment.js 前端转 <img>
 *   · 楼中楼是 .ul 真嵌套（抓取侧是拍平同级，站内可用 .ul .ul 精确选中）
 *   · 站内原生无楼号 → CSS 计数器按顶层 .ul 补「NL」，嵌套回复不显示
 * 卡头「交流板块/已有N条评论」（.xb-crumbs）与发帖表单（.compost）保持不动。
 * ═══════════════════════════════════════════════════════════════ */

/* 内层列表去双环：#commentbox 外卡保留（同抓取区 .post-comment 外卡），
   .comment-list 自带的 ring+圆角会与外卡叠成双线，去掉 */
body.xb-cmt-s2.xb-p2 #commentbox .comment-list {
    box-shadow: none;
    border-radius: 0;
    padding: 2px 0 0;
    counter-reset: xbcmtno;
}
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .title {
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 0 11px;
}

/* 楼层计数器：只对顶层 .ul +1，嵌套回复不计数 */
body.xb-cmt-s2.xb-p2 #commentbox .comment-list > .ul { counter-increment: xbcmtno; }

/* 每楼一卡（同 P2） */
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .ul {
    border-top: none;
    margin: 0 0 8px;
}
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .ul:last-child { margin-bottom: 0; }
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .16s ease;
}
/* hover：同 P2，只描边推深一档，不换底色 */
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .li:hover {
    background: var(--surface);
    border-color: var(--border-strong);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

/* 头像：真实头像圆卡 30px（> img.fl 只打头像，不吃正文配图） */
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .li > img.fl {
    flex: none;
    float: none;
    width: 30px;
    height: 30px;
    max-width: none;
    max-height: none;
    border-radius: 50%;
    object-fit: cover;
    background: var(--surface-2);
    box-shadow: 0 0 0 1px var(--border);
    box-sizing: border-box;
}

body.xb-cmt-s2.xb-p2 #commentbox .comment-list .clbody {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 0;
}

/* 发帖人栏：昵称 + 时间 + （管理员可见的 IP）+ 点赞，回复与楼号钉行尾 */
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .cinfo {
    display: flex;
    align-items: baseline;
    gap: 0 7px;
    flex-wrap: wrap;
    min-height: 19px;
    height: auto;
}
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .clbody .author,
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .clbody .author a {
    font-size: var(--fs-135);
    font-weight: var(--fw-600);
    color: var(--text);
    line-height: 1.4;
}
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .c-time {
    font-size: var(--fs-115);
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
}
/* IP 仅管理员可见：空串隐藏，有值渲染成描边 chip（同抓取区口径） */
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .c-ip:empty { display: none; }
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .c-ip {
    display: inline-flex;
    align-items: center;
    height: 17px;
    padding: 0 6px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-2);
    font-size: var(--fs-11);
    line-height: 1;
}
/* @回复：行尾（楼号更靠右，见下方 ::after） */
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .reply-a {
    margin-left: auto;
    font-size: var(--fs-12);
    opacity: .6;
}
/* 楼号：CSS 计数器补齐，行尾最右（同 P2「弱化坐标」）；嵌套回复不显示。
   ⚠ 主题 .clearfix:after 基础规则带 visibility:hidden + height:0 —— cinfo 也挂 clearfix，
   必须显式翻回，否则 content 赢了 cascade 也照样隐形（20261126 实测踩中）。 */
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .cinfo::after {
    content: counter(xbcmtno) "L";
    visibility: visible;
    height: auto;
    margin-left: 9px;
    font-size: var(--fs-11);
    color: var(--text-3);
    opacity: .6;
    font-variant-numeric: tabular-nums;
    letter-spacing: .03em;
}
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .ul .ul .cinfo::after { content: none; }
/* 游客态无 @回复（20261130 登录分支隐藏）时楼号需自行靠右：
   ::after 先前靠 .reply-a 的 margin-left:auto 被推到行尾，缺了它就落在点赞数后面。 */
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .cinfo:not(:has(.reply-a))::after {
    margin-left: auto;
}

/* 正文：同 .c-neirong 的 P2 口径 */
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .clbody .p {
    margin-top: 6px;
    font-size: var(--fs-14);
    line-height: 1.66;
    color: var(--text-body);
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}
/* 正文配图（[img]…[/img] 转出的 <img>）：不强制放大也不压成 45px 小点，
   原尺寸展示、上限 260px、描边圆角，与抓取区 .c-imgs 口径一致；表情图（.expression）不动 */
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .p img:not(.expression) {
    display: inline-block;
    width: auto;
    height: auto;
    max-width: min(260px, 100%);
    /* 20261128 round56（站长令：评论区同款超高图也要限制）：超高配图限高，
       口径对齐抓取区单图 300px contain；宽高双约束自动等比缩，点图走 Fancybox */
    max-height: 300px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin: 0 6px 6px 0;
    vertical-align: top;
    background: var(--surface-2);
}

/* 楼中楼：真嵌套 .ul → 缩进对齐正文（头像 30 + gap 11），淡底小卡（同 P2 c-dianping） */
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .ul .ul {
    margin: 8px 0 0 41px;
}
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .ul .ul .li {
    padding: 8px 11px;
    gap: 9px;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
}
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .ul .ul .li:hover {
    background: var(--surface-2);
    border-color: var(--border-strong);
    box-shadow: none;
}
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .ul .ul .li > img.fl {
    width: 24px;
    height: 24px;
}
body.xb-cmt-s2.xb-p2 #commentbox .comment-list .ul .ul .clbody .p { font-size: var(--fs-135); }

/* 移动端（≤768px）：同抓取区口径 */
@media screen and (max-width: 768px) {
    body.xb-cmt-s2.xb-p2 #commentbox .comment-list .li { padding: 11px 12px; }
    body.xb-cmt-s2.xb-p2 #commentbox .comment-list .li > img.fl { width: 28px; height: 28px; }
    body.xb-cmt-s2.xb-p2 #commentbox .comment-list .clbody .p { font-size: var(--fs-13); }
    body.xb-cmt-s2.xb-p2 #commentbox .comment-list .ul .ul { margin-left: 37px; }
    body.xb-cmt-s2.xb-p2 #commentbox .comment-list .ul .ul .li > img.fl { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    body.xb-cmt-s2.xb-p2 #commentbox .comment-list .li { transition: none; }
}

/* 20261128 round56 追加（站长令：所有图配网站组件圆角 + 评论区限高兜底）：
   只兜未被抓取区 .c-imgs / 站内 .p 专用规则覆盖的散图（含历史 HTML 行内流）；
   特异度低于上述专用规则，不影响 112px 方格 / 单图 300px 等既有口径；表情图与头像(.fl)除外 */
.art-fujia-content .comment-list img:not(.expression):not(.fl){max-height:300px;border-radius:var(--radius-lg)}
