/* includes/comments.php */
/* 内容评测与点评：统一分割线，简洁风格 */
.comments-blocks {
    display: flex;
    flex-direction: column;
    gap: 12px !important;
    --divider: 1px solid var(--border-color);
}
html[data-theme="dark"] .comments-blocks,
[data-theme="dark"] .comments-blocks {
    --divider: 1px solid rgba(148,163,184,0.25);
}
.review-eval-section,
.review-list-section { margin: 0; }
/* 内容评测 - 单一块，外框与内部分割线统一 */
[data-theme="light"] .review-eval-section,
[data-theme=""] .review-eval-section,
:root:not([data-theme]) .review-eval-section {
    background: var(--bg-card);
    border-radius: 6px;
    padding: 20px 24px 16px;
    border: var(--divider);
}
html[data-theme="dark"] .review-eval-section,
[data-theme="dark"] .review-eval-section {
    background: var(--bg-card);
    border-radius: 6px;
    padding: 20px 24px 16px;
    border: var(--divider);
}
.review-eval-header {
    font-size: 16px;
    font-weight: 700;
    margin: -20px -24px 14px -24px;
    padding: 10px 22px 10px;
    border-bottom: var(--divider);
    border-radius: 6px 6px 0 0;
    color: #1e293b;
    letter-spacing: -0.02em;
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.06));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
html[data-theme="dark"] .review-eval-header,
[data-theme="dark"] .review-eval-header {
    color: #f1f5f9;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(129, 140, 248, 0.08));
    border-bottom-color: rgba(148, 163, 184, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.review-eval-header::before {
    content: '⭐';
    font-size: 17px;
    line-height: 1;
}
.review-eval-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 0 24px;
    align-items: start;
}
.review-eval-grid .review-stats {
    border-left: var(--divider);
    padding-left: 24px;
    min-width: 0;
}
@media(max-width:900px){
    .review-eval-grid{grid-template-columns:1fr}
    .review-eval-grid .review-stats { border-left: none; padding-left: 0; border-top: var(--divider); padding-top: 16px; margin-top: 16px; min-width: unset; }
}
.star-rows-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    margin-bottom: 2px;
}
@media(max-width:500px){ .star-rows-grid { grid-template-columns: 1fr; } }
@media(max-width:600px){.bar-chart-grid{grid-template-columns:repeat(2,1fr)}}
.review-form {
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
}
html[data-theme="dark"] .review-form,
[data-theme="dark"] .review-form { background: transparent !important; }
html[data-theme="dark"] .review-form label,
[data-theme="dark"] .review-form label { color: #cbd5e1; }
html[data-theme="dark"] .review-form input[type=text],
html[data-theme="dark"] .review-form textarea,
[data-theme="dark"] .review-form input[type=text],
[data-theme="dark"] .review-form textarea {
    background: #0f172a !important;
    border-color: rgba(148,163,184,0.35);
    color: #f1f5f9;
}
html[data-theme="dark"] .review-form input::placeholder,
html[data-theme="dark"] .review-form textarea::placeholder,
[data-theme="dark"] .review-form input::placeholder,
[data-theme="dark"] .review-form textarea::placeholder { color: #94a3b8; }
html[data-theme="dark"] .review-form .hint,
[data-theme="dark"] .review-form .hint { background: rgba(220,38,38,0.2); color: #fca5a5; }
html[data-theme="dark"] .logged-nickname,
[data-theme="dark"] .logged-nickname { background: rgba(99,102,241,0.2); color: #a5b4fc; }
.review-form .row { margin-bottom: 2px; }
.review-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 2px;
}
.review-form input[type=text] {
    width: 100%;
    max-width: 220px;
    padding: 8px 12px;
    border: none;
    border-bottom: var(--divider);
    border-radius: 0;
    font-size: 14px;
    background: transparent;
    transition: border-color .2s;
}
.review-form input[type=text]:focus {
    outline: none;
    border-bottom-color: var(--accent-color, #6366f1);
}
.nickname-captcha-inline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nickname-captcha-inline label { margin: 0; }
.nickname-captcha-inline .captcha-inline-label { margin-left: 8px; }
.logged-nickname { font-weight: 600; color: var(--accent-color, #6366f1); padding: 4px 0; background: none; font-size: 14px; }
.nickname-captcha-inline input[name="nickname"] { max-width: 160px; margin: 0; }
.nickname-captcha-inline input[name="captcha"] { width: 90px; margin: 0; }
.captcha-inline-img { flex-shrink: 0; }
.star-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.star-rows-grid .star-row label { flex: 0 0 72px; margin: 0; font-size: 13px; }
.star-row label { flex: 0 0 90px; margin: 0; }
.star-row .stars { display: flex; gap: 6px; }
.star-btn {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 24px;
    color: #cbd5e1;
    padding: 0;
    line-height: 1;
    transition: color .2s, transform .15s;
}
.star-btn:hover { color: #fbbf24; transform: scale(1.1); }
.star-btn.active { color: #f59e0b; }
.review-form .hint {
    font-size: 12px;
    color: var(--text-muted);
    margin: 4px 0 8px;
    padding: 0;
    background: none;
    border: none;
}
.review-form .row.comment-textarea-row { width: 100%; max-width: 100%; }
.review-form textarea {
    width: 100%;
    max-width: 100%;
    min-height: 72px;
    padding: 10px 12px;
    border: var(--divider);
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    resize: vertical;
    background: transparent;
    transition: border-color .2s;
}
.review-form textarea:focus {
    outline: none;
    border-color: var(--accent-color, #6366f1);
}
.review-submit {
    padding: 12px 28px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 2px;
    box-shadow: 0 4px 14px rgba(249,115,22,0.35);
    transition: transform .2s, box-shadow .2s;
}
.review-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}
.review-stats {
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
}
html[data-theme="dark"] .review-stats,
[data-theme="dark"] .review-stats { background: transparent !important; }
html[data-theme="dark"] .review-stats-title,
[data-theme="dark"] .review-stats-title { color: #e2e8f0; }
.review-stats-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.06));
    border-radius: 6px;
    border-left: 4px solid var(--accent-color, #6366f1);
    letter-spacing: 0.02em;
}
html[data-theme="dark"] .review-stats-title,
[data-theme="dark"] .review-stats-title {
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.1));
    border-left-color: #818cf8;
}
.bar-item-box .score-num {
    font-size: 16px;
    font-weight: 700;
    display: block;
    text-align: center;
    margin-bottom: 4px;
    color: var(--text-primary);
}
html[data-theme="dark"] .bar-item-box .score-num,
[data-theme="dark"] .bar-item-box .score-num { color: #f1f5f9; }
.bar-chart-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 2px;
}
.bar-item-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 6px 10px;
    background: transparent;
    border: none;
    border-radius: 0;
}
html[data-theme="dark"] .bar-item-box,
[data-theme="dark"] .bar-item-box { background: transparent !important; }
html[data-theme="dark"] .bar-item-box .label,
[data-theme="dark"] .bar-item-box .label { color: #94a3b8; }
.bar-wrap {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 2px;
    background: rgba(0,0,0,0.06);
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}
html[data-theme="dark"] .bar-wrap,
[data-theme="dark"] .bar-wrap { background: rgba(255,255,255,0.08); }
.bar-item-box .bar {
    width: 100%;
    min-height: 6px;
    border-radius: 6px 6px 0 0;
    transition: height .4s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 -1px 4px rgba(0,0,0,0.08);
}
.bar-item-box .label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}
.vote-btns-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 2px;
    flex-wrap: nowrap;
}
.vote-btns-wrap .vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-input, #f8fafc);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-muted);
    transition: color .2s, background .2s, border-color .2s;
    white-space: nowrap;
}
html[data-theme="dark"] .vote-btns-wrap .vote-btn,
[data-theme="dark"] .vote-btns-wrap .vote-btn { background: rgba(30,41,59,0.6) !important; border-color: rgba(148,163,184,0.3); color: #94a3b8; }
.vote-btns-wrap .vote-btn .vote-icon { font-size: 18px; }
.vote-btns-wrap .vote-btn .vc-approve,
.vote-btns-wrap .vote-btn .vc-oppose { font-weight: 700; }
.vote-btns-wrap .vote-btn.approve { color: #64748b; }
.vote-btns-wrap .vote-btn.approve .vc-approve { color: #10b981; }
.vote-btns-wrap .vote-btn.approve:hover {
    border-color: #6ee7b7;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
}
.vote-btns-wrap .vote-btn.oppose { color: #64748b; }
.vote-btns-wrap .vote-btn.oppose .vc-oppose { color: #64748b; }
.vote-btns-wrap .vote-btn.oppose:hover {
    border-color: #fca5a5;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
}
.vote-btns-wrap .vote-btn.oppose:hover .vc-oppose { color: #dc2626; }
.review-list-section {
    background: var(--bg-card);
    border-radius: 6px;
    padding: 18px 24px 16px;
    border: var(--divider);
}
html[data-theme="dark"] .review-list-section,
[data-theme="dark"] .review-list-section {
    background: var(--bg-card) !important;
    border: var(--divider);
}
html[data-theme="dark"] .review-list-header,
[data-theme="dark"] .review-list-header { color: #f1f5f9; }
.review-list-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
    padding-bottom: 12px;
    border-bottom: var(--divider);
    flex-wrap: wrap;
}
.review-list-header {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    color: #1e293b;
}
.review-filters { display: flex; gap: 8px; margin-bottom: 0; flex-shrink: 0; }
.review-filters { gap: 8px; }
.review-filters a {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid transparent;
    transition: all .2s;
}
.review-filters a:hover { color: var(--text-primary); }
.review-filters a.active {
    background: var(--accent-color, #6366f1);
    color: #fff;
    border-color: transparent;
}
html[data-theme="dark"] .review-filters a,
[data-theme="dark"] .review-filters a { background: transparent !important; color: #94a3b8; }
html[data-theme="dark"] .review-filters a.active { background: var(--accent-color) !important; color: #fff; }
/* 网友点评：顶栏 + 倒序序号 + 四维度 + 底部元数据（参考经典点评站版式） */
.netizen-review-bar {
    font-size: 16px;
    font-weight: 700;
    color: #334155;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 10px 14px;
    margin: -6px -24px 12px;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 0.02em;
}
html[data-theme="dark"] .netizen-review-bar,
[data-theme="dark"] .netizen-review-bar {
    color: #e2e8f0;
    background: linear-gradient(180deg, rgba(30,41,59,0.95), rgba(15,23,42,0.9));
    border-bottom-color: rgba(148,163,184,0.25);
}
.review-list-sub {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
/* 单条点评：标题 + 四维度 + 评价正文 + 元数据 整体线框 */
.c-card.netizen-review-card {
    border: var(--divider) !important;
    border-radius: 8px;
    padding: 12px 14px 14px !important;
    margin-bottom: 12px;
    background: color-mix(in srgb, var(--bg-card) 93%, transparent);
    box-sizing: border-box;
}
html[data-theme="dark"] .c-card.netizen-review-card,
[data-theme="dark"] .c-card.netizen-review-card {
    background: color-mix(in srgb, var(--bg-card) 82%, transparent);
    border-color: rgba(148, 163, 184, 0.32) !important;
}
.comment-list .c-card.netizen-review-card:last-child {
    margin-bottom: 0;
}
.netizen-review-card { padding-top: 0; padding-bottom: 0; }
.netizen-review-title-line {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 6px;
    color: #1d4ed8;
}
html[data-theme="dark"] .netizen-review-title-line,
[data-theme="dark"] .netizen-review-title-line { color: #60a5fa; }
.netizen-review-title-line .netizen-rank {
    font-size: 22px;
    font-weight: 800;
    margin-right: 4px;
}
/* 四维度：单行横排（标签+星+分），低占位；宽屏可四列一行 */
.netizen-review-scores {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px 8px;
    margin: 2px 0 6px;
    align-items: stretch;
    /* 四维度整体外围线框（继承 .comments-blocks 的 --divider） */
    border: var(--divider);
    border-radius: 8px;
    padding: 8px 10px;
    box-sizing: border-box;
    background: color-mix(in srgb, var(--bg-card) 90%, transparent);
}
html[data-theme="dark"] .netizen-review-scores,
[data-theme="dark"] .netizen-review-scores {
    background: color-mix(in srgb, var(--bg-card) 75%, transparent);
    border-color: rgba(148, 163, 184, 0.32);
}
@media (max-width: 900px) {
    .netizen-review-scores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
    .netizen-review-scores { grid-template-columns: 1fr; }
}
.netizen-score-item {
    --ns-accent: #6366f1;
    --ns-accent-soft: rgba(99, 102, 241, 0.1);
    padding: 3px 6px 3px 7px;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-left: 2px solid var(--ns-accent);
    background: linear-gradient(135deg, var(--ns-accent-soft), rgba(255, 255, 255, 0.45));
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px 6px;
    min-width: 0;
    min-height: 0;
}
html[data-theme="dark"] .netizen-score-item,
[data-theme="dark"] .netizen-score-item {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(15, 23, 42, 0.35));
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: none;
}
.netizen-score-item.dim-1 { --ns-accent: #f97316; --ns-accent-soft: rgba(249, 115, 22, 0.12); }
.netizen-score-item.dim-2 { --ns-accent: #10b981; --ns-accent-soft: rgba(16, 185, 129, 0.12); }
.netizen-score-item.dim-3 { --ns-accent: #0ea5e9; --ns-accent-soft: rgba(14, 165, 233, 0.12); }
.netizen-score-item.dim-4 { --ns-accent: #6366f1; --ns-accent-soft: rgba(99, 102, 241, 0.12); }
html[data-theme="dark"] .netizen-score-item.dim-1,
[data-theme="dark"] .netizen-score-item.dim-1 { --ns-accent-soft: rgba(249, 115, 22, 0.14); }
html[data-theme="dark"] .netizen-score-item.dim-2,
[data-theme="dark"] .netizen-score-item.dim-2 { --ns-accent-soft: rgba(16, 185, 129, 0.14); }
html[data-theme="dark"] .netizen-score-item.dim-3,
[data-theme="dark"] .netizen-score-item.dim-3 { --ns-accent-soft: rgba(14, 165, 233, 0.14); }
html[data-theme="dark"] .netizen-score-item.dim-4,
[data-theme="dark"] .netizen-score-item.dim-4 { --ns-accent-soft: rgba(99, 102, 241, 0.14); }
.netizen-score-label {
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 1 auto;
    max-width: 5.5em;
}
html[data-theme="dark"] .netizen-score-label,
[data-theme="dark"] .netizen-score-label { color: #e2e8f0; }
.netizen-score-stars {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-size: 9px;
    line-height: 1;
    letter-spacing: -2px;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}
.netizen-score-stars .ns-star {
    color: #cbd5e1;
    text-shadow: none;
}
.netizen-score-stars .ns-star.on {
    color: #f59e0b;
    text-shadow: 0 0 0 rgba(245, 158, 11, 0.35);
}
html[data-theme="dark"] .netizen-score-stars .ns-star,
[data-theme="dark"] .netizen-score-stars .ns-star { color: #475569; }
html[data-theme="dark"] .netizen-score-stars .ns-star.on,
[data-theme="dark"] .netizen-score-stars .ns-star.on { color: #fbbf24; }
.netizen-score-badge {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 800;
    color: var(--ns-accent);
    background: rgba(255, 255, 255, 0.88);
    padding: 1px 5px;
    border-radius: 4px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    line-height: 1.2;
}
html[data-theme="dark"] .netizen-score-badge,
[data-theme="dark"] .netizen-score-badge {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(148, 163, 184, 0.2);
}
.netizen-score-item.is-empty .netizen-score-stars { opacity: 0.45; }
.netizen-score-item.is-empty .netizen-score-badge { color: #94a3b8; border-style: dashed; }
.netizen-review-body {
    font-size: 14px;
    line-height: 1.65;
    color: #334155;
    margin: 4px 0 10px;
    padding-left: 2px;
}
html[data-theme="dark"] .netizen-review-body,
[data-theme="dark"] .netizen-review-body { color: #cbd5e1; }
.netizen-review-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #64748b;
    padding-top: 4px;
    border-top: 1px solid rgba(148,163,184,0.35);
    margin-top: 2px;
}
html[data-theme="dark"] .netizen-review-footer,
[data-theme="dark"] .netizen-review-footer { color: #94a3b8; border-top-color: rgba(148,163,184,0.2); }
.netizen-review-meta { flex: 1; min-width: 0; line-height: 1.6; }
.netizen-review-meta .meta-label { color: #64748b; }
html[data-theme="dark"] .netizen-review-meta .meta-label,
[data-theme="dark"] .netizen-review-meta .meta-label { color: #94a3b8; }
.netizen-review-cta {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    white-space: nowrap;
}
.netizen-review-cta:hover { text-decoration: underline; }
html[data-theme="dark"] .netizen-review-cta,
[data-theme="dark"] .netizen-review-cta { color: #60a5fa; }
.netizen-review-actions { margin-top: 8px; }
.c-card {
    background: transparent;
    border-radius: 0;
    padding: 14px 0;
    margin-bottom: 0;
    border: none;
    border-bottom: var(--divider);
}
.c-card:last-child { border-bottom: none; }
/* 网友点评卡片：全框，不受「仅底部线」与 last-child 去底边影响 */
.c-card.netizen-review-card:last-child {
    border-bottom: var(--divider) !important;
}
html[data-theme="dark"] .c-card:not(.netizen-review-card),
[data-theme="dark"] .c-card:not(.netizen-review-card) { background: transparent !important; }
.c-header { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.c-av { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; background: #e2e8f0; }
html[data-theme="dark"] .c-av,
[data-theme="dark"] .c-av { background: #334155; }
.c-name { font-weight: 600; font-size: 13px; }
html[data-theme="dark"] .c-name,
[data-theme="dark"] .c-name { color: #e2e8f0; }
.c-meta { font-size: 11px; color: #94a3b8; }
.c-content { font-size: 14px; line-height: 1.65; color: #334155; margin-top: 2px; }
html[data-theme="dark"] .c-content,
[data-theme="dark"] .c-content { color: #cbd5e1; }
.c-content-box {
    margin-top: 6px;
    padding: 0 0 0 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    border-left: 3px solid var(--accent-color, #6366f1);
}
html[data-theme="dark"] .c-content-box,
[data-theme="dark"] .c-content-box { background: transparent !important; }
.c-content-box .c-content-label { font-weight: 600; color: #6366f1; }
.c-content-box .c-content-text { font-size: 14px; line-height: 1.65; color: #334155; margin-top: 2px; }
html[data-theme="dark"] .c-content-box .c-content-text,
[data-theme="dark"] .c-content-box .c-content-text { color: #cbd5e1; }
.c-stars-small { display: flex; gap: 2px; font-size: 13px; color: #f59e0b; margin-top: 2px; }
/* 抖音式扁平回复 */
.replies-dy { margin-top: 2px; }
.reply-card-dy {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 2px 0;
    border-bottom: var(--divider);
}
[data-theme="dark"] .reply-card-dy { border-bottom: var(--divider); }
.reply-card-dy:last-child { border-bottom: none; }
.reply-card-dy .c-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
}
.reply-card-dy .c-header .reply-body { flex: 1; min-width: 0; }
.reply-card-dy .c-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
}
.reply-card-dy .reply-to-nick {
    color: #6366f1;
    font-weight: 500;
    font-size: 13px;
}
.reply-card-dy .reply-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 2px;
}
.reply-card-dy .c-meta { margin: 0; font-size: 12px; color: #94a3b8; }
.reply-btn-dy {
    background: none;
    border: none;
    color: #6366f1;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
}
.reply-btn-dy:hover { text-decoration: underline; }
.reply-card-dy .reply-form { margin-top: 2px; margin-left: 40px; }
.expand-replies-btn {
    background: none;
    border: none;
    color: #6366f1;
    font-size: 13px;
    cursor: pointer;
    padding: 2px 0;
    margin-top: 2px;
}
.expand-replies-btn:hover { text-decoration: underline; }
.replies-more-wrap { margin-top: 0; }
.reply-form {
    display: none;
    margin-top: 10px;
    padding: 12px 0 0;
    background: transparent;
    border: none;
    border-radius: 0;
    border-top: var(--divider);
}
html[data-theme="dark"] .reply-form,
[data-theme="dark"] .reply-form { background: transparent !important; }
.reply-form.active { display: block; }
.reply-form textarea {
    width: 100%;
    min-height: 72px;
    padding: 10px 0;
    border: none;
    border-bottom: var(--divider);
    border-radius: 0;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    background: transparent;
    box-sizing: border-box;
    transition: border-color .2s;
}
.reply-form textarea:focus { outline: none; border-bottom-color: var(--accent-color, #6366f1); }
.reply-form textarea::placeholder { color: #94a3b8; }
html[data-theme="dark"] .reply-form textarea,
[data-theme="dark"] .reply-form textarea {
    background: transparent !important;
    border-bottom-color: rgba(148,163,184,0.35);
    color: #f1f5f9;
}
.reply-form .reply-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
}
.reply-form .reply-actions button[type="button"] {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: color .2s;
}
html[data-theme="dark"] .reply-form .reply-actions button[type="button"],
[data-theme="dark"] .reply-form .reply-actions button[type="button"] {
    background: transparent !important;
    color: #94a3b8;
}
.reply-form .reply-actions button[type="button"]:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}
.reply-form .reply-actions button[type="submit"] {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.reply-form .reply-actions button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(99,102,241,0.4);
}
.c-pagi { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
.c-pagi a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    background: transparent;
    color: var(--text-secondary);
    border: none;
    transition: color .2s, background .2s;
}
html[data-theme="dark"] .c-pagi a,
[data-theme="dark"] .c-pagi a { background: transparent !important; color: #94a3b8; }
.c-pagi a:hover { color: var(--accent-color, #6366f1); }
.c-pagi a.active { background: transparent; color: var(--accent-color, #6366f1); font-weight: 600; }
.c-alert {
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 14px;
    border: none;
}
.c-alert-success { background: rgba(16,185,129,0.12); color: #059669; }
.c-alert-error { background: rgba(220,38,38,0.1); color: #dc2626; }
html[data-theme="dark"] .c-alert-success,
[data-theme="dark"] .c-alert-success { background: rgba(16,185,129,0.25); color: #6ee7b7; }
html[data-theme="dark"] .c-alert-error,
[data-theme="dark"] .c-alert-error { background: rgba(220,38,38,0.25); color: #fca5a5; }
.more-reviews {
    display: block;
    text-align: center;
    margin-top: 2px;
    color: #6366f1;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.more-reviews:hover { text-decoration: underline; }
.review-empty-msg { text-align: center; padding: 24px 12px; color: #9ca3af; font-size: 14px; }
html[data-theme="dark"] .review-empty-msg,
[data-theme="dark"] .review-empty-msg { color: #94a3b8; }

/* 操作提示 Toast */
.toast-wrap {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    pointer-events: none;
}
.toast-msg {
    padding: 14px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    animation: toastIn 0.35s ease;
    margin-bottom: 2px;
    max-width: 90vw;
    text-align: center;
    line-height: 1.5;
}
.toast-msg.success { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }
.toast-msg.error { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; }
.toast-msg.info { background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff; }
@keyframes toastIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 详情页网友点评区：恢复横向结构线（继承 .comments-blocks 的 --divider） */
body.page-detail .review-list-header-row {
    border-bottom: var(--divider) !important;
    padding-bottom: 12px;
}
body.page-detail .netizen-review-bar {
    margin: 0 0 12px !important;
    background: transparent !important;
    border-bottom: var(--divider) !important;
}
html[data-theme="dark"] body.page-detail .netizen-review-bar,
[data-theme="dark"] body.page-detail .netizen-review-bar {
    background: transparent !important;
    border-bottom: var(--divider) !important;
}
/* 四维度条目保留描边与左侧色条，便于内容页区分维度（勿再全局 border:none） */
body.page-detail .netizen-score-item {
    box-shadow: none !important;
}
body.page-detail .netizen-review-footer {
    border-top: var(--divider) !important;
}
