/* ===================== 会员互动（点赞/评论/分享） ===================== */
.ww-interact {
    margin: 24px 0 10px;
    padding: 18px 16px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
}

.ww-interact-bar {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
}

.ww-btn {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 1.4;
    color: #555;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    -webkit-transition: all .2s;
    transition: all .2s;
    white-space: nowrap;
}

.ww-btn i { font-size: 16px; color: #999; -webkit-transition: color .2s; transition: color .2s; }

.ww-btn:hover,
.ww-btn:focus { border-color: #ff8f3d; color: #ff8f3d; text-decoration: none; }
.ww-btn:hover i { color: #ff8f3d; }

.ww-btn.active {
    background: #ff8f3d;
    border-color: #ff8f3d;
    color: #fff;
}
.ww-btn.active i { color: #fff; }

.ww-btn.disabled,
.ww-share-item.disabled { opacity: .6; cursor: not-allowed; }

.ww-btn-count {
    display: inline-block;
    min-width: 20px;
    padding: 0 6px;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    background: #eee;
    color: #666;
    border-radius: 10px;
}
.ww-btn.active .ww-btn-count { background: rgba(255,255,255,.28); color: #fff; }

/* ---------------- 评论面板 ---------------- */
.ww-comment-panel {
    margin-top: 14px;
    border-top: 1px dashed #e3e3e3;
    padding-top: 14px;
}

.ww-comment-form {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.ww-comment-input,
.ww-comment-edit-input {
    -webkit-flex: 1;
    flex: 1;
    min-height: 56px;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    outline: none;
}

.ww-comment-input:focus,
.ww-comment-edit-input:focus { border-color: #ff8f3d; }

.ww-btn-submit-comment {
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    padding: 8px 18px;
    font-size: 14px;
    color: #fff;
    background: #ff8f3d;
    border: 1px solid #ff8f3d;
    border-radius: 4px;
    cursor: pointer;
}
.ww-btn-submit-comment:hover { opacity: .88; }
.ww-btn-submit-comment.disabled { opacity: .6; cursor: not-allowed; }

/* ---------------- 验证码行 ---------------- */
.ww-comment-captcha {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 10px;
    margin: -4px 0 14px;
}

.ww-captcha-input {
    width: 130px;
    padding: 7px 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}
.ww-captcha-input:focus { border-color: #ff8f3d; }

.ww-comment-captcha .captcha-img {
    height: 36px;
    width: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    vertical-align: middle;
}

.ww-comment-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.ww-comment-item:last-of-type { border-bottom: none; }

.ww-comment-head {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.ww-comment-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ff8f3d;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 26px;
    text-align: center;
    overflow: hidden;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}
.ww-comment-avatar img { width: 100%; height: 100%; object-fit: cover; }

.ww-comment-name { font-size: 13px; font-weight: 600; color: #333; }
.ww-comment-time { font-size: 12px; color: #999; }

.ww-comment-ops { margin-left: auto; }
.ww-comment-ops a {
    display: inline-block;
    margin-left: 8px;
    font-size: 13px;
    color: #999;
    text-decoration: none;
    cursor: pointer;
}
.ww-comment-ops a:hover { color: #ff8f3d; }

.ww-comment-body { font-size: 14px; line-height: 1.65; color: #444; word-break: break-word; }

.ww-comment-edit-ops { margin-top: 8px; }
.ww-comment-edit-ops a {
    display: inline-block;
    margin-right: 12px;
    font-size: 13px;
    color: #ff8f3d;
    text-decoration: none;
    cursor: pointer;
}

.ww-comment-empty {
    padding: 22px 0;
    text-align: center;
    font-size: 13px;
    color: #999;
}

.ww-comment-more { padding-top: 10px; text-align: center; }
.ww-comment-more a { font-size: 13px; color: #ff8f3d; text-decoration: none; cursor: pointer; }
.ww-comment-more a:hover { text-decoration: underline; }

/* ---------------- 分享面板 ---------------- */
.ww-share-panel {
    margin-top: 14px;
    border-top: 1px dashed #e3e3e3;
    padding-top: 14px;
}

.ww-share-title {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.ww-share-list {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
}

.ww-share-item {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 18px;
    color: #fff;
    background: #8b8b8b;
    border-radius: 50%;
    text-decoration: none;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.ww-share-item:hover { opacity: .85; text-decoration: none; color: #fff; }
.ww-share-item[data-platform="facebook"] { background: #3b5998; }
.ww-share-item[data-platform="twitter"] { background: #1da1f2; }
.ww-share-item[data-platform="linkedin"] { background: #0077b5; }
.ww-share-item[data-platform="whatsapp"] { background: #25d366; }
.ww-share-item[data-platform="pinterest"] { background: #bd081c; }
.ww-share-item[data-platform="email"] { background: #6d6d6d; }
.ww-share-item[data-platform="copy"] { background: #f2a03d; }

@media (max-width: 480px) {
    .ww-btn { padding: 7px 12px; font-size: 13px; }
}
