/* ============================================================
   评论区样式 —— 100% 复刻子比主题（Zibll）评论区
   结构：#postcomments > ol.commentlist > li.comment > ul.list-inline > li.comt-main
   嵌套：li.comment > ul.children
   复用 Juzi 变量体系（--classB/--minor/--background/--theme），深浅色自动适配
   ============================================================ */

#postcomments {
    /* 奇偶评论卡片配色（星语的小木屋美化版，深浅色适配） */
    --acg-color: #fff8fa;
    --acg-color2: #f8fdff;
    --zc-border: var(--classB, #f0f0f2);
    --zc-muted-2: var(--minor, #909399);
    --zc-muted-3: var(--minor, #b6b9c0);
    --zc-bg: var(--background, #fff);
    --zc-children-bg: var(--classA, #f7f8fa);
    --zc-radius: 8px;
    --zc-theme: var(--theme, #3b8aff);
    font-size: 14px;
}
html[data-night='night'] #postcomments {
    --acg-color: #323335;
    --acg-color2: #323335;
}

/* ===== 排序筛选栏（最新/最热 | 只看作者）===== */
#postcomments .comment-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--zc-border);
    padding-bottom: 6px;
    margin: 8px 0 5px;
    list-style: none;
}
#postcomments .comment-order-box {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
#postcomments .comment-order-box li {
    margin-right: 6px;
}
#postcomments .comment-order-box li a,
#postcomments .comment-filter .btn-only-author {
    color: var(--zc-muted-2);
    font-size: 14px;
    padding: 4px 10px;
    border-radius: var(--zc-radius);
    text-decoration: none;
    transition: all .2s;
    display: inline-block;
    cursor: pointer;
}
#postcomments .comment-order-box li.active a,
#postcomments .comment-order-box li a:hover {
    color: var(--zc-theme);
    font-weight: 600;
}
#postcomments .comment-filter .btn-only-author:hover,
#postcomments .comment-filter .btn-only-author.on {
    color: var(--zc-theme);
    background: rgba(59, 138, 255, .08);
}

/* ===== 评论列表容器 ===== */
#postcomments .commentlist,
#postcomments .commentlist ul.children {
    list-style: none;
    padding: 0;
    margin: 0;
}
/* ===== 评论卡片（1:1 还原美化版：奇粉偶蓝背景图 + 彩色边框 + 圆角卡片）===== */
#postcomments .commentlist > .comment {
    border-radius: 15px;
    border: 1px solid;
    position: relative;
    display: flow-root;
    padding: 10px;
    margin: 15px 0 0;
    background-repeat: repeat;
}
#postcomments .commentlist > .comment:first-child {
    margin-top: 0;
}
/* 第一条 + 偶数位：蓝色卡 */
#postcomments .commentlist > .comment:first-child,
#postcomments .commentlist > .comment:nth-child(even) {
    background-image: url(https://www.yykbk.com/content/uploadfile/202609/c9ae1790508056.webp);
    border-color: #71baff80;
    background-color: var(--acg-color2);
}
/* 奇数位（非第一条）：粉色卡 */
#postcomments .commentlist > .comment:nth-child(odd):not(:first-child) {
    background-image: url(https://www.yykbk.com/content/uploadfile/202609/3f1b1790508058.webp);
    border-color: #ff8bb5;
    background-color: var(--acg-color);
}

/* ===== 单条评论主体 ===== */
#postcomments .comment .list-inline {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}
#postcomments .comment .list-inline > .comt-main {
    width: 100%;
    padding: 0;
}
#postcomments .comment-header {
    font-size: 15px;
    position: relative;
    margin-bottom: 10px;
}
#postcomments .author-box {
    display: flex;
    align-items: center;
}
#postcomments .commentlist > .comment > .list-inline .author-box {
    align-items: flex-start;
}

/* ===== 头像 ===== */
#postcomments .avatar-img {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    --this-size: 40px;
    width: var(--this-size);
    height: var(--this-size);
    margin-right: 15px;
}
#postcomments .avatar-img .avatar,
#postcomments .avatar-img img {
    width: 100%;
    height: 100%;
    border-radius: 100px;
    display: inline-block;
    object-fit: cover;
    overflow: hidden;
    transition: all .2s;
}
#postcomments .children .avatar-img {
    --this-size: 26px;
    vertical-align: 2px;
    margin-right: 8px;
}

/* ===== 昵称行 ===== */
#postcomments name {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
    row-gap: 2px;
    column-gap: 4px;
}
#postcomments .comment-header .author-box a.text-ellipsis,
#postcomments .comt-nick {
    color: var(--main, #37475f);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    margin-right: 2px;
    flex-shrink: 0;
}
#postcomments .children .comment-header .comt-nick {
    font-size: 14px;
}
#postcomments .comt-nick:hover {
    color: var(--zc-theme);
}
#postcomments name .badg,
#postcomments .comment-header .badg {
    margin-right: 0;
    flex-shrink: 0;
}
/* 会员/成长等级徽章（jz-lv-badge 渐变小徽章） */
#postcomments .jz-lv-badge {
    flex-shrink: 0;
}
/* 靓号徽章（nice-id-badge）：评论区缩小版，防长数字撑破昵称行 */
#postcomments .nice-id-badge {
    flex-shrink: 0;
    font-size: 11px !important;
    line-height: 1.5;
    padding: 1px 6px !important;
    margin: 0 !important;
    border-radius: 4px !important;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}
/* 子比 Lv 徽章（等级/勋章/靓号统一小徽章风格） */
#postcomments .badg {
    border-radius: 4px;
    display: inline-block;
    border: 1px solid var(--zc-border);
    vertical-align: middle;
    padding: .3em .6em;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    color: var(--zc-muted-2);
    background: var(--zc-bg);
}
#postcomments .badg.badg-author {
    color: #34c759;
    border-color: rgba(52, 199, 89, .35);
    background: rgba(52, 199, 89, .06);
}
#postcomments .badg.badg-top {
    color: var(--zc-theme);
    border-color: rgba(59, 138, 255, .35);
    background: rgba(59, 138, 255, .06);
}
#postcomments .badg.badg-adopt {
    color: #ff9f43;
    border-color: rgba(255, 159, 67, .35);
    background: rgba(255, 159, 67, .06);
}
#postcomments .badg.badg-floor {
    color: var(--zc-muted-2);
    border-color: transparent;
    background: transparent;
    padding-left: 0;
}
/* ===== 楼层徽章美化（沙发金/板凳蓝/地板青/第N楼灰）===== */
#postcomments .badg.badg-floor {
    padding: 2px 8px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    border-color: transparent;
    background: transparent;
    color: var(--zc-muted-2);
}
#postcomments .badg.badg-floor.floor-sofa {
    background: linear-gradient(135deg, #ff9f43, #ff6b81) !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(255, 138, 76, .35);
    padding-left: 0;
}
#postcomments .badg.badg-floor.floor-bench {
    background: linear-gradient(135deg, #4facfe, #2997f7) !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(41, 151, 247, .3);
}
#postcomments .badg.badg-floor.floor-floor {
    background: linear-gradient(135deg, #43e97b, #38f9d7) !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(56, 201, 176, .3);
}
#postcomments .badg.badg-floor.floor-n {
    background: rgba(136, 136, 136, .12) !important;
    color: var(--zc-muted-2) !important;
}
/* 私信小按钮（图标+文字，子比风格） */
#postcomments .jz-msg-inline-btn {
    display: inline-flex;
    align-items: center;
    color: var(--zc-theme, #3b8aff);
    font-size: 11px;
    line-height: 1.4;
    margin-left: 2px;
    cursor: pointer;
    text-decoration: none;
    padding: 1px 7px;
    border-radius: 4px;
    background: rgba(59, 138, 255, .08);
    border: 1px solid rgba(59, 138, 255, .22);
    transition: all .2s;
    flex-shrink: 0;
}
#postcomments .jz-msg-inline-btn:hover {
    color: #fff;
    background: var(--zc-theme, #3b8aff);
    border-color: var(--zc-theme, #3b8aff);
}
#postcomments .jz-msg-inline-btn i {
    font-size: 12px;
    margin-right: 2px;
}

/* ===== 点赞（子比 action-comment-like）===== */
#postcomments .action-comment-like {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 10px;
    color: var(--zc-muted-2);
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    transition: color .2s;
}
#postcomments .action-comment-like:hover,
#postcomments .action-comment-like.liked {
    color: #ff6b81;
}
#postcomments .action-comment-like svg {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    fill: currentColor;
}
#postcomments .action-comment-like.liked svg {
    animation: zcLove .6s ease;
}
@keyframes zcLove {
    0% { transform: scale(1); }
    40% { transform: scale(1.35); }
    70% { transform: scale(.92); }
    100% { transform: scale(1); }
}

/* ===== 内容区 ===== */
#postcomments .comment-footer {
    position: relative;
}
#postcomments .commentlist > .comment > .list-inline .comment-footer {
    margin-left: 55px;
    margin-top: -25px;
}
#postcomments .children .comment-footer {
    margin-left: 34px;
    margin-top: -12px;
}
#postcomments .comment-content {
    word-wrap: break-word;
    white-space: pre-wrap;
    color: var(--main, #37475f);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
}
/* 评论内代码块（工具栏「代码」插入） */
#postcomments .comment-content pre.jz-code-block {
    white-space: normal;
    background: #282c34;
    color: #abb2bf;
    border-radius: 8px;
    padding: 12px 14px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.6;
    margin: 8px 0;
    max-width: 100%;
}
#postcomments .comment-content pre.jz-code-block code {
    font-family: Consolas, Monaco, 'Courier New', monospace;
    white-space: pre;
    color: inherit;
    background: transparent;
    padding: 0;
}
/* 评论内图片（工具栏「图片」插入） */
#postcomments .comment-content img.jz-comment-img {
    border-radius: 6px;
    margin: 6px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
#postcomments .comment-content img {
    max-width: 260px;
    max-height: 350px;
    display: block;
    width: auto;
    height: auto;
    border-radius: var(--zc-radius);
    margin: 6px 0;
}

/* ===== 底部 meta 行（时间 + 楼层 + 回复 + 更多）===== */
#postcomments .comt-meta {
    font-size: 12px;
    color: var(--zc-muted-2);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
#postcomments .comt-meta > span:not(:empty) {
    margin-right: 10px;
    vertical-align: middle;
}
#postcomments .comt-meta a {
    color: inherit;
}
#postcomments .comt-meta .reply-link a,
#postcomments .comt-meta .reply-link {
    color: var(--zc-muted-2);
    cursor: pointer;
    font-size: 12px;
    transition: color .2s;
}
#postcomments .comt-meta .reply-link:hover {
    color: var(--zc-theme);
}
#postcomments .comt-meta .comt-author {
    cursor: default;
}

/* ===== 更多操作下拉（编辑/删除）===== */
#postcomments .jz-comment-more {
    position: relative;
    display: inline-block;
}
#postcomments .jz-cm-more-btn {
    cursor: pointer;
    color: var(--zc-muted-3);
    letter-spacing: 1px;
    padding: 0 4px;
    font-size: 14px;
    line-height: 1;
}
#postcomments .jz-cm-more-btn:hover {
    color: var(--zc-muted-2);
}
#postcomments .jz-cm-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--zc-bg);
    border: 1px solid var(--zc-border);
    border-radius: var(--zc-radius);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .1);
    padding: 4px 0;
    min-width: 96px;
    z-index: 99;
    margin-top: 4px;
}
#postcomments .jz-comment-more.open .jz-cm-dropdown {
    display: block;
}
#postcomments .jz-cm-dropdown .jz-cm-act {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 14px;
    font-size: 13px;
    color: var(--zc-muted-2);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}
#postcomments .jz-cm-dropdown .jz-cm-act:hover {
    background: var(--zc-children-bg);
    color: var(--zc-theme);
}
#postcomments .jz-cm-dropdown .jz-cm-act.jz-cm-del:hover {
    color: #ff4b4b;
}

/* ===== 嵌套回复（children，1:1 还原美化版粉色卡）===== */
#postcomments .children {
    margin-left: 55px;
    margin-top: 8px;
    margin-bottom: 6px;
    border-radius: 15px;
    border: 1px solid #ff8bb5;
    background-image: url(https://www.yykbk.com/content/uploadfile/202609/3f1b1790508058.webp);
    background-color: var(--acg-color);
    position: relative;
    display: flow-root;
}
#postcomments .children .comment {
    padding: 10px 12px;
}
#postcomments .children .comment + .comment {
    border-top: 1px dashed var(--zc-border);
}
#postcomments .children .children {
    margin-left: 23px;
    margin-top: 6px;
    margin-bottom: 4px;
    border-radius: 15px;
    border: 1px solid #ff8bb5;
    background-image: url(https://www.yykbk.com/content/uploadfile/202609/3f1b1790508058.webp);
    background-color: var(--acg-color);
    position: relative;
    display: flow-root;
}
#postcomments .children .children .comment {
    padding: 8px 10px;
}
#postcomments .children .children .comment + .comment {
    border-top: 1px dashed var(--zc-border);
}
/* 嵌套中的 @回复 */
#postcomments .comt-meta .at-author {
    color: var(--zc-theme);
}

/* ===== 评论分页 ===== */
#postcomments + .page.comment-page,
#postcomments .page.comment-page {
    margin-top: 12px;
}

/* ===== 评论输入框（子比 comt 布局）===== */
/* ===== 评论输入区（1:1 子比 respond 结构）===== */
#commentform-wrap {
    --zc-border: var(--classB, #f0f0f2);
    --zc-muted-2: var(--minor, #909399);
    --zc-muted-3: var(--minor, #b6b9c0);
    --zc-bg: var(--background, #fff);
    --zc-input-bg: #f4f6f9;
    --zc-theme: var(--theme, #2997f7);
    margin-bottom: 15px;
    font-size: 14px;
}
html[data-night='night'] #commentform-wrap {
    --zc-input-bg: #26282c;
}

/* 子比工具类 */
#commentform-wrap .flex { display: flex; }
#commentform-wrap .flex.ac { align-items: center; }
#commentform-wrap .flex0 { flex-shrink: 0; }
#commentform-wrap .grow1 { flex: 1; min-width: 0; }
#commentform-wrap .mr10 { margin-right: 10px; }
#commentform-wrap .mr6 { margin-right: 6px; }
#commentform-wrap .mb10 { margin-bottom: 10px; }
#commentform-wrap .mb20 { margin-bottom: 20px; }
#commentform-wrap .text-center { text-align: center; }
#commentform-wrap .relative { position: relative; }
#commentform-wrap .text-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#commentform-wrap .muted-2-color { color: var(--zc-muted-2); }
#commentform-wrap .muted-color { color: var(--zc-muted-3); }
#commentform-wrap .pw-1em { padding-left: 1em; padding-right: 1em; }

/* 头像列（子比：宽90px + 60px头像 + 昵称） */
#commentform-wrap .comt { display: flex; align-items: flex-start; }
#commentform-wrap .comt-title {
    width: 90px;
    flex-shrink: 0;
    text-align: center;
}
#commentform-wrap .comt-title .comt-avatar {
    display: inline-block;
    margin-bottom: 10px;
}
#commentform-wrap .comt-title .comt-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
#commentform-wrap .comt-title p {
    font-size: 13px;
    color: var(--zc-muted-2);
    margin: 0;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 输入框（子比 form-control：透明边框浅灰底，聚焦蓝晕） */
#commentform-wrap .comt-box { position: relative; }
#commentform-wrap textarea.form-control {
    width: 100%;
    box-sizing: border-box;
    min-height: 100px;
    display: block;
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--zc-input-bg);
    color: var(--main, #37475f);
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
#commentform-wrap textarea.form-control:hover {
    border-color: var(--zc-theme);
    opacity: .9;
}
#commentform-wrap textarea.form-control:focus {
    border-color: var(--zc-theme);
    box-shadow: 0 0 2px 3px rgba(41, 151, 247, .15);
}
#commentform-wrap textarea.form-control::placeholder {
    color: var(--zc-muted-2);
}

/* 工具栏（子比 comt-ctrl：右侧浮动提交区 + 左侧按钮流） */
#commentform-wrap .comt-ctrl {
    position: relative;
    margin-top: 8px;
}
#commentform-wrap .comt-ctrl::after {
    content: '';
    display: block;
    clear: both;
}
#commentform-wrap .comt-tips-right {
    float: right;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}
#commentform-wrap .comt-tips-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* 子比 but 按钮（统一 inline-flex 垂直居中 + 浅灰底胶囊，hover 变蓝） */
#commentform-wrap .but {
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all .2s;
    border: 1px solid transparent;
    vertical-align: middle;
    padding: .32em .8em;
    text-align: center;
    font-weight: normal;
    line-height: 1.44;
    font-size: 13px;
    box-shadow: none;
    background: rgba(136, 136, 136, .08);
    color: #7a7f87;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
}
#commentform-wrap .but:hover {
    background: rgba(41, 151, 247, .1);
    color: #2997f7;
    border-color: rgba(41, 151, 247, .25);
}
#commentform-wrap .but i {
    font-size: 13px;
    line-height: 1;
}
#commentform-wrap .but.c-blue {
    background: rgba(41, 151, 247, .1);
    color: #2997f7;
}
#commentform-wrap .but.c-blue:hover {
    background: rgba(41, 151, 247, .18);
    color: #1f87e6;
    border-color: rgba(41, 151, 247, .35);
}
#commentform-wrap .but.c-red {
    background: rgba(255, 84, 115, .1);
    color: #ff5473;
}
#commentform-wrap .but.c-red:hover {
    background: rgba(255, 84, 115, .16);
    color: #f43b5d;
    border-color: rgba(255, 84, 115, .3);
}
#commentform-wrap .but.comment-send { font-size: 14px; }
/* 提交评论：实心蓝底白字（醒目按钮）*/
#commentform-wrap .but.comment-send {
    background: linear-gradient(135deg, #3b8aff, #2997f7) !important;
    color: #fff !important;
    border: none;
    padding: 7px 22px;
    border-radius: 6px;
    font-weight: 500;
    letter-spacing: 1px;
    box-shadow: 0 3px 8px rgba(41, 151, 247, .35);
}
#commentform-wrap .but.comment-send:hover {
    background: linear-gradient(135deg, #2997f7, #1f87e6) !important;
    box-shadow: 0 4px 12px rgba(41, 151, 247, .45);
    transform: translateY(-1px);
}
#commentform-wrap #cancel-comment-reply-link {
    display: none;
}
#commentform-wrap #cancel-comment-reply-link[style*="block"],
#commentform-wrap #cancel-comment-reply-link[style*="inline"] {
    display: inline-block !important;
}

/* 游客信息下拉（子比 dropup + dropdown-menu + line-form） */
#commentform-wrap .dropup { display: inline-block; }
#commentform-wrap .dropdown-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 250px;
    box-sizing: border-box;
    background: var(--zc-bg);
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 10px 6px rgba(0, 0, 0, .08);
    padding: 15px;
    margin-bottom: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: .3s;
    z-index: 992;
    list-style: none;
}
#commentform-wrap .dropup.open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#commentform-wrap .dropdown-menu > div > p {
    font-size: 13px;
    color: var(--zc-muted-2);
    margin: 0 0 12px;
}
#commentform-wrap .dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#commentform-wrap .line-form {
    position: relative;
    display: block;
}
#commentform-wrap .line-form-input {
    outline: 0 !important;
    border: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 2em .4em .3em;
    font-size: 14px;
    color: var(--main, #37475f);
    background: transparent !important;
    opacity: .8;
    transition: .3s;
}
#commentform-wrap .scale-placeholder {
    position: absolute;
    top: 0;
    left: 4px;
    font-size: 11px;
    color: var(--zc-muted-2);
    opacity: .6;
    pointer-events: none;
}
#commentform-wrap .abs-right {
    position: absolute;
    right: 4px;
    top: 14px;
    color: var(--zc-muted-3);
    font-size: 13px;
}
#commentform-wrap .line-form-line {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--zc-border);
    transition: .3s;
}
#commentform-wrap .line-form-input:focus ~ .line-form-line {
    background: var(--zc-theme);
}

/* 验证码（人机验证） */
#commentform-wrap .comt-verify {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--zc-muted-2);
}
#commentform-wrap .comt-verify input {
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--zc-input-bg);
    padding: 5px 10px;
    font-size: 13px;
    width: 110px;
    outline: none;
    box-sizing: border-box;
    color: var(--main, #37475f);
}
#commentform-wrap .comt-verify input:focus {
    border-color: var(--zc-theme);
}
#commentform-wrap .comt-verify img {
    vertical-align: middle;
    border-radius: 4px;
}

/* ===== OωO 表情按钮（与其他工具栏按钮同高对齐：inline-flex 垂直居中）===== */
#commentform-wrap .owo { position: relative; display: inline-flex; }
#commentform-wrap .owo .seat {
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all .2s;
    border: 1px solid transparent;
    vertical-align: middle;
    padding: .32em .8em;
    line-height: 1.44;
    font-size: 0;
    background: rgba(136, 136, 136, .08);
    color: #7a7f87;
    cursor: pointer;
    user-select: none;
}
#commentform-wrap .owo .seat::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7f87' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'/%3E%3Cline x1='9' y1='9' x2='9.01' y2='9'/%3E%3Cline x1='15' y1='9' x2='15.01' y2='9'/%3E%3C/svg%3E") no-repeat center / contain;
}
#commentform-wrap .owo .seat::after {
    content: '表情';
    font-size: 13px;
    line-height: 1.44;
}
#commentform-wrap .owo .seat:hover {
    background: rgba(41, 151, 247, .1);
    color: #2997f7;
    border-color: rgba(41, 151, 247, .25);
}
#commentform-wrap .owo .seat:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232997f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'/%3E%3Cline x1='9' y1='9' x2='9.01' y2='9'/%3E%3Cline x1='15' y1='9' x2='15.01' y2='9'/%3E%3C/svg%3E");
}
#commentform-wrap .owo .box {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 993;
    background: var(--zc-bg);
    border-radius: 8px;
    box-shadow: 0 0 10px 6px rgba(0, 0, 0, .08);
    padding: 10px;
    width: 320px;
    max-width: calc(100vw - 40px);
    margin-top: 8px;
    display: none;
}
#commentform-wrap .owo .box ul.scroll {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 210px;
    overflow-y: auto;
    font-size: 0;
}
#commentform-wrap .owo .box ul.scroll li.item {
    display: inline-block;
    cursor: pointer;
    border-radius: 4px;
    transition: .15s;
    vertical-align: top;
    font-size: 13px;
    color: var(--main, #37475f);
    padding: 2px 4px;
    /* 对抗旧 responsive.css 的 calc(100%/15) 压缩（拉伸变形根因） */
    width: auto !important;
    height: auto !important;
    flex-shrink: 0;
    box-sizing: content-box;
}
#commentform-wrap .owo .box ul.scroll li.item img {
    width: 30px !important;
    height: 30px !important;
    max-width: 30px !important;
    display: inline-block;
    border-radius: 4px;
    object-fit: contain;
}
#commentform-wrap .owo .box .bar {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--zc-border);
    height: 30px;
    align-items: center;
    flex-shrink: 0;
}
#commentform-wrap .owo .box .bar .item {
    font-size: 12px;
    color: var(--zc-muted-2);
    cursor: pointer;
    padding: 3px 10px;
    border-radius: 12px;
    transition: .15s;
    line-height: 1.4;
    flex-shrink: 0;
    white-space: nowrap;
}
#commentform-wrap .owo .box ul.scroll li.item:hover {
    background: rgba(136, 136, 136, .1);
}
#commentform-wrap .owo .box .bar .item.active,
#commentform-wrap .owo .box .bar .item:hover {
    background: rgba(41, 151, 247, .1);
    color: #2997f7;
}
/* ===== 工具栏扩展按钮（代码/图片/快捷回复，样式统一由 .but 提供）===== */
#commentform-wrap .jz-expand-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
#commentform-wrap .hide-sm {
    font-size: 13px;
}
#commentform-wrap .jz-expand-panel {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 993;
    width: 280px;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
    background: var(--zc-bg);
    border-radius: 8px;
    box-shadow: 0 0 10px 6px rgba(0, 0, 0, .08);
    padding: 14px;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: .3s;
}
#commentform-wrap .jz-expand-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#commentform-wrap .jz-expand-panel p {
    font-size: 13px;
    color: var(--zc-muted-2);
    margin: 0 0 10px;
}
#commentform-wrap .jz-expand-panel textarea,
#commentform-wrap .jz-expand-panel input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--zc-input-bg);
    color: var(--main, #37475f);
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.6;
    font-family: inherit;
    outline: none;
    resize: vertical;
    transition: border-color .2s;
}
#commentform-wrap .jz-expand-panel textarea:focus,
#commentform-wrap .jz-expand-panel input[type="text"]:focus {
    border-color: var(--zc-theme);
}
#commentform-wrap .jz-panel-foot {
    text-align: right;
    margin-top: 10px;
}
#commentform-wrap .jz-quick-list {
    max-height: 200px;
    overflow-y: auto;
}
#commentform-wrap .jz-quick-list .quick-reply-item {
    font-size: 13px;
    color: var(--main, #37475f);
    padding: 7px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: .15s;
    line-height: 1.5;
}
#commentform-wrap .jz-quick-list .quick-reply-item:hover {
    background: rgba(41, 151, 247, .08);
    color: #2997f7;
}

/* ===== 移动端适配（子比断点）===== */
@media (max-width: 768px) {
    #postcomments .commentlist > .comment > .list-inline .comment-footer {
        margin-left: 48px;
        margin-top: -14px;
    }
    #postcomments .children {
        margin-left: 0;
    }
    #postcomments .children .comment-footer {
        margin-left: 34px;
    }
    #postcomments .children .children {
        margin-left: 13px;
    }
    #commentform-wrap .owo .box ul.scroll li.item {
        width: auto;
    }
    #commentform-wrap .comt-title {
        display: none;
    }
    #postcomments .avatar-img {
        --this-size: 36px;
        margin-right: 12px;
    }
    /* 文章有效期倒计时框：手机端允许换行、缩小字号、隐藏生肖与光点 */
    .warning-box {
        white-space: normal !important;
        flex-wrap: wrap;
        padding: 8px 12px !important;
        border-radius: 14px !important;
        justify-content: center !important;
    }
    .warning-box .zodiac-left,
    .warning-box .zodiac-right,
    .warning-box > div:last-of-type {
        display: none;
    }
    .warning-box span[style*="inline-flex"] {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px !important;
    }
    .warning-box strong {
        font-size: 13px !important;
        white-space: normal !important;
    }
    .expired-hide-box {
        padding: 30px 16px !important;
    }
}
