/* ===== 内容互动组件：顶/踩 + 收藏 + 评论 ===== */
.hh-interact{width:100%;max-width:100%;box-sizing:border-box;margin:18px 0 0;background:#fff;border:1px solid #e9f1eb;border-radius:12px;padding:14px 16px 18px;}
.hh-ivote{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end;}
.hh-ivote .hh-vbtn,.hh-ivote .hh-fav{display:inline-flex;align-items:center;gap:6px;border:1px solid #d6eade;background:#f6fbf8;color:#2c5c40;font-size:14px;padding:8px 16px;border-radius:10px;cursor:pointer;transition:all .15s;user-select:none;}
.hh-ivote .hh-vbtn .vh,.hh-ivote .hh-fav .fh{font-size:16px;line-height:1;}
.hh-ivote .hh-vbtn .vc{font-weight:700;min-width:10px;text-align:center;}
.hh-ivote .hh-vbtn:hover,.hh-ivote .hh-fav:hover{border-color:#1f8a4c;color:#1f8a4c;}
.hh-ivote .hh-vbtn.up.on{background:#e8f6ee;border-color:#1f8a4c;color:#1f8a4c;}
.hh-ivote .hh-vbtn.down.on{background:#fdeeee;border-color:#e07b7b;color:#c4453c;}
.hh-ivote .hh-fav.on{background:#fff7e6;border-color:#e6b800;color:#b8860b;}
.hh-ivote .hh-fav.on .fh{color:#f0a500;}

/* 评论区 */
.hh-comment{margin-top:16px;border-top:1px solid #eef4f0;padding-top:14px;}
.hh-cmt-head{font-size:16px;font-weight:700;color:#1c3528;margin-bottom:10px;}
.hh-cmt-head .hh-cmt-count{color:#1f8a4c;}
.hh-cmt-form{background:#f8fbf9;border:1px solid #e7f0eb;border-radius:10px;padding:10px;}
.hh-cmt-name{width:100%;box-sizing:border-box;border:1px solid #d6eade;border-radius:8px;padding:8px 10px;font-size:14px;margin-bottom:8px;background:#fff;}
.hh-cmt-input textarea{width:100%;box-sizing:border-box;border:1px solid #d6eade;border-radius:8px;padding:9px 10px;font-size:14px;resize:vertical;background:#fff;font-family:inherit;}
.hh-cmt-tools{display:flex;align-items:center;gap:8px;margin-top:8px;flex-wrap:wrap;}
.hh-cmt-tools .hh-emo{border:1px solid #d6eade;background:#fff;border-radius:8px;height:32px;padding:0 10px;font-size:15px;cursor:pointer;line-height:1;display:inline-flex;align-items:center;gap:2px;color:#3a4c41;}
.hh-cmt-tools .hh-emo:hover{border-color:#1f8a4c;}
.hh-cmt-tip{font-size:12px;color:#9aa3a0;flex:1;min-width:0;}
.hh-cmt-sub{margin-left:auto;border:none;background:#1f8a4c;color:#fff;font-size:14px;padding:8px 20px;border-radius:10px;cursor:pointer;}
.hh-cmt-sub:hover{background:#176e3c;}
.hh-cmt-sub:disabled{opacity:.6;cursor:default;}
.hh-emo-panel{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;margin-top:8px;background:#fff;border:1px solid #e7f0eb;border-radius:8px;padding:8px;max-height:150px;overflow:auto;}
.hh-emo-panel .hh-cemo{cursor:pointer;font-size:20px;text-align:center;padding:3px 0;border-radius:6px;display:flex;align-items:center;justify-content:center;min-height:26px;}
.hh-emo-panel .hh-cemo:hover{background:#f0f7f3;}
.hh-emo-panel .hh-cemo-custom img{width:22px;height:22px;object-fit:contain;border-radius:4px;}
.hh-emo-panel .hh-cemo-up{background:#eef6f0;color:#1f8a4c;font-size:18px;font-weight:700;}

/* ===== 评论图片（2026-11-08 晚改）：App 端「＋」按钮 → 聊天室同款全屏相机 ===== */
.hh-cmt-tools .hh-cmt-plus{font-size:16px;font-weight:600;line-height:1;padding:0 11px;}
.hh-cmt-tools .hh-cmt-plus:hover{background:#eef7f1;}
.hh-cmt-pics{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
.hh-cmt-pics:empty{display:none;}
.hh-cmt-pic-item{position:relative;width:64px;height:64px;border-radius:8px;overflow:hidden;border:1px solid #dfeae2;background:#f3f6f4;}
.hh-cmt-pic-item img{width:100%;height:100%;object-fit:cover;display:block;}
.hh-cmt-pic-del{position:absolute;top:0;right:0;width:20px;height:20px;padding:0;border:0;
  border-radius:0 0 0 8px;background:rgba(0,0,0,.55);color:#fff;font-size:13px;line-height:20px;cursor:pointer;}
.hh-cmt-upmsg{font-size:12px;color:#5b6f62;margin-top:6px;min-height:0;}
.hh-cmt-upmsg:empty{display:none;}
.hh-cmt-upmsg.ok{color:#1f8a4c;}
.hh-cmt-upmsg.err{color:#c0392b;}

/* 评论列表 */
.hh-cmt-list{margin-top:14px;}
.hh-cmt-empty{color:#9aa3a0;font-size:14px;text-align:center;padding:18px 0;}
.hh-cmt{padding:14px 0;border-bottom:1px solid #f1f6f3;}
.hh-cmt-row{display:flex;gap:12px;align-items:flex-start;}
.hh-cmt-ava{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:0 0 34px;background:#eef4f0;border:1px solid #fff;box-shadow:0 0 0 1px #e2ece6;transition:transform .15s;}
.hh-cmt:hover .hh-cmt-ava{transform:scale(1.04);}
.hh-cmt-main{flex:1;min-width:0;}
.hh-cmt-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;line-height:1.5;}
.hh-cmt-nick{font-weight:400;color:#9aa3a0;font-size:16px;}
.hh-cmt-anon{background:#eef1f3;color:#7a8a86;font-size:11px;padding:1px 6px;border-radius:8px;}
.hh-cmt-replyto{color:#1f8a4c;font-size:12px;}
.hh-cmt-time{color:#a3b0a8;font-size:12px;margin-left:2px;}
.hh-cmt-loc{display:inline-flex;align-items:center;gap:2px;color:#2f7fb8;font-size:12px;background:#eaf4fb;border:1px solid #cfe6f5;padding:1px 8px;border-radius:10px;text-decoration:none;cursor:pointer;}
.hh-cmt-loc:hover{background:#dcefff;border-color:#a9d6f0;}
.hh-cmt-text{font-size:15px;line-height:1.65;color:#22302a;margin:5px 0 0;word-break:break-word;white-space:pre-wrap;}
.hh-emoji{display:inline-block;width:20px;height:20px;vertical-align:-4px;margin:0 1px;object-fit:contain;}
.hh-cmt-imgs{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
.hh-cmt-imgs a{width:88px;height:88px;border-radius:8px;overflow:hidden;display:block;background:#f3f6f4;}
.hh-cmt-imgs img{width:100%;height:100%;object-fit:cover;}
.hh-cmt-actions{display:flex;align-items:center;gap:8px;margin-top:8px;}
.hh-cmt-actions button{background:#f4f8f5;border:1px solid #e6efe9;border-radius:14px;color:#5b6b62;font-size:12.5px;cursor:pointer;padding:4px 12px;display:inline-flex;align-items:center;gap:4px;transition:all .15s;}
.hh-cmt-actions .hh-cv:hover{background:#e8f3ec;color:#1f8a4c;}
.hh-cmt-actions .hh-cv.up.on{background:#e8f6ee;border-color:#1f8a4c;color:#1f8a4c;font-weight:600;}
.hh-cmt-actions .hh-cv.down.on{background:#fdeeee;border-color:#e07b7b;color:#c4453c;font-weight:600;}
.hh-cmt-actions .hh-creply:hover{background:#e8f3ec;color:#1f8a4c;border-color:#bfe0cd;}
.hh-cmt-actions .hh-cdel{margin-left:auto;color:#c25b4a;border-color:#f0dcd8;background:#fdf5f4;}
.hh-cmt-actions .hh-cdel:hover{background:#fbeae8;color:#b3372c;border-color:#e7b8b2;}
/* 回复：向下堆叠（不向右缩进），仅以左侧色条与浅底表示层级 */
.hh-cmt-children{margin-top:10px;padding-left:14px;border-left:3px solid #e6f1ea;}
/* 仅首层回复缩进；深层回复不再叠加缩进，避免嵌套过深冲出右边界 */
.hh-cmt-children .hh-cmt-children{margin-left:0;padding-left:0;border-left:none;}
.hh-cmt-reply{margin-left:0;background:#fafcfb;border:1px solid #eef3f0;border-radius:10px;padding:10px 12px;}
.hh-cmt-reply .hh-cmt-ava{width:30px;height:30px;flex:0 0 30px;}
/* 二次评论：默认折叠 */
.hh-cmt-replies{margin-top:8px;}
.hh-cmt-actions .hh-cmt-toggle{background:none;border:none;color:#1f8a4c;font-size:12.5px;cursor:pointer;padding:4px 2px;display:inline-flex;align-items:center;gap:3px;font-weight:600;box-shadow:none;}
.hh-cmt-actions .hh-cmt-toggle:hover{text-decoration:underline;background:none;}
.hh-cmt-toggle .ar{font-size:10px;}
@media (max-width:600px){
  .hh-interact{padding:12px 12px 16px;border-radius:0;border-left:none;border-right:none;}
  .hh-cmt-tools .hh-cmt-tip{display:none;}
  .hh-emo-panel{grid-template-columns:repeat(7,1fr);}
  .hh-cmt-ava{width:30px;height:30px;flex:0 0 30px;}
}
