/* =========================================
   详情页：主体布局 (左画廊 + 右信息)
   ========================================= */
.detail-layout {
    max-width: 1200px;
    margin: 24px auto 40px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: flex-start;
}

/* --- 左侧：图片画廊 --- */
.detail-gallery {
    position: sticky;
    top: 90px; 
    max-width: 100%; 
    overflow: hidden; 
}
.gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: #120808; /* 适配红黑主题的深色底 */
    border: 1px solid var(--border-dim);
    margin-bottom: 12px;
}

.gallery-main img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-main:hover img { transform: scale(1.03); }
.gallery-badge {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 700;
    color: var(--gold); background: rgba(0,0,0,0.7); border: 1px solid rgba(255,215,0,0.3);
    backdrop-filter: blur(8px);
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    max-width: 100%; 
    width: 100%;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb-item {
    flex-shrink: 0;
    width: 72px; height: 54px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
}
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.thumb-item:hover { opacity: 0.8; }
.thumb-item.active {
    opacity: 1;
    border-color: var(--jade);
    box-shadow: 0 0 12px rgba(238,49,49,0.35);
}

/* --- 右侧：信息面板 --- */
.detail-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0; 
}
.info-header { display: flex; flex-direction: column; gap: 10px; }
.merchant-name {
    font-size: 28px; font-weight: 800; letter-spacing: -0.5px;
    color: var(--text-primary); line-height: 1.3;
    word-break: break-word;
}
.merchant-meta-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-pill {
    padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 500;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-dim);
    color: var(--text-secondary);
}
.meta-pill.area { color: var(--jade); border-color: rgba(238,49,49,0.25); background: var(--jade-dim); }
.meta-pill.status { color: #4ade80; border-color: rgba(74,222,128,0.2); background: rgba(74,222,128,0.08); }
.meta-pill.verified { color: var(--gold); border-color: rgba(255,215,0,0.2); background: var(--gold-dim); }

/* 联系卡片 */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 12px;
    padding: 16px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.card-head {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; color: var(--text-secondary);
    font-family: var(--font-mono); letter-spacing: 1px;
    padding-bottom: 8px; border-bottom: 1px dashed var(--border-dim);
}
.card-head svg, .card-head i { color: var(--jade); }

/* ★ 联系方式紧凑化 */
.contact-row {
    display: flex; 
    flex-direction: row;
    align-items: center; 
    gap: 10px;
    padding: 4px 0;
}
.contact-label {
    flex-shrink: 0; 
    width: 60px;
    color: var(--text-secondary); 
    font-size: 13px;
    font-weight: 500;
}
.contact-value {
    flex: 1; 
    display: flex; 
    flex-wrap: wrap; 
    font-family: var(--font-mono); 
    font-size: 16px; 
    font-weight: 700;
    color: var(--text-primary); 
    letter-spacing: 1.5px; 
    min-width: 0;
    line-height: 1.2;
}
.contact-value em {
    font-style: normal;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}
.copy-btn {
    flex-shrink: 0;
    padding: 0 14px; 
    height: 32px;
    border-radius: 6px;
    font-size: 12px; 
    font-weight: 700; 
    font-family: var(--font-cn);
    color: var(--jade); 
    background: var(--jade-dim);
    border: 1px solid rgba(238,49,49,0.4);
    cursor: pointer; 
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    white-space: nowrap; 
}
/* ★ 红色按钮配白字，对比度更高 */
.copy-btn:hover { background: var(--jade); color: #fff; box-shadow: 0 0 16px rgba(238,49,49,0.35); }
.copy-btn.copied { background: #4ade80; color: #000; border-color: #4ade80; }

/* 信息网格 */
.info-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.info-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex; flex-direction: column; gap: 4px;
}
.info-label {
    font-size: 11px; color: var(--text-secondary);
    font-family: var(--font-mono); letter-spacing: 0.5px;
}
.info-val {
    font-size: 13px; font-weight: 600; color: var(--text-primary);
    word-break: break-all; line-height: 1.4;
}

/* =========================================
   商家点亮 / 自助激活 专属按钮
   ========================================= */
.activate-card {
    background: linear-gradient(135deg, rgba(255,215,0,0.05), rgba(238,49,49,0.05));
    border: 1px dashed rgba(255,215,0,0.3);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.activate-icon {
    width: 48px; height: 48px;
    background: var(--gold-dim);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    box-shadow: 0 0 20px rgba(255,215,0,0.2);
}
.activate-text {
    display: flex; flex-direction: column; gap: 6px;
}
.activate-title {
    font-size: 16px; font-weight: 700; color: var(--gold);
}
.activate-desc {
    font-size: 12px; color: var(--text-secondary); line-height: 1.5;
}
.activate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 32px;
    height: 44px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    color: #000;
    background: linear-gradient(135deg, var(--gold), #ffaa00);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(255,215,0,0.3);
    letter-spacing: 1px;
}
.activate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,215,0,0.4);
}
.activate-btn:active { transform: scale(0.96); }

/* =========================================
   详情页：图文内容区 & 标签 & 上下篇
   ========================================= */
.detail-content-wrap, .detail-tags-wrap, .prev-next-nav, .bottom-recommend {
    max-width: 1200px; margin: 0 auto 32px; padding: 0 24px;
}

.content-body {
    background: var(--bg-card); border: 1px solid var(--border-dim);
    border-radius: 16px; padding: 32px; backdrop-filter: blur(12px);
    font-size: 15px; line-height: 1.8; color: var(--text-secondary);
    word-break: break-word;
}
.content-body img { 
    display: block; 
    max-width: 100%; 
    height: auto; 
    border-radius: 12px; 
    margin: 32px auto; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.4); 
}
.content-body p { margin-bottom: 20px; }
.content-body h2, .content-body h3 { color: var(--text-primary); margin: 32px 0 16px; font-size: 20px; }
.content-body a { color: var(--jade); border-bottom: 1px dashed var(--jade); }

.detail-tags {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    padding: 20px 0; border-top: 1px solid var(--border-dim); border-bottom: 1px solid var(--border-dim);
}
.tags-label {
    font-family: var(--font-mono); font-size: 12px; font-weight: 700;
    color: var(--jade); letter-spacing: 1px; margin-right: 4px;
}
.detail-tags a {
    padding: 6px 14px; border-radius: 6px; font-size: 13px;
    color: var(--text-secondary); background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-dim); transition: all 0.3s;
}
.detail-tags a:hover { color: var(--jade); border-color: var(--jade); background: var(--jade-dim); }

.prev-next-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.pn-item {
    background: var(--bg-card); border: 1px solid var(--border-dim);
    border-radius: 12px; padding: 18px 20px;
    transition: all 0.3s; overflow: hidden;
}
.pn-item:hover { border-color: rgba(238,49,49,0.35); background: rgba(238,49,49,0.04); }
.pn-item a {
    display: flex; flex-direction: column; gap: 8px;
    color: var(--text-secondary); font-size: 14px;
}
.pn-item a:hover { color: var(--text-primary); }
.pn-item span { 
    font-size: 11px; color: var(--jade); font-family: var(--font-mono); 
    letter-spacing: 1px; font-weight: 600;
}
.pn-next { text-align: right; }
.pn-next a { align-items: flex-end; }

/* =========================================
   详情页：底部推荐 & 新闻列表
   ========================================= */
.bottom-recommend { display: flex; flex-direction: column; gap: 40px; }
.rec-block { display: flex; flex-direction: column; gap: 20px; }

.news-list-simple {
    background: var(--bg-card); border: 1px solid var(--border-dim);
    border-radius: 16px; padding: 8px; backdrop-filter: blur(12px);
}
.news-simple-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: 10px;
    transition: all 0.3s;
}
.news-simple-item:hover { background: rgba(255,255,255,0.03); }
.news-dot {
    flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
    background: var(--jade); box-shadow: 0 0 8px var(--jade);
}
.news-simple-title {
    flex: 1; font-size: 14px; color: var(--text-primary);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news-simple-date {
    flex-shrink: 0; font-size: 12px; color: var(--text-secondary);
    font-family: var(--font-mono);
}

/* =========================================
   详情页响应式适配
   ========================================= */
@media(max-width:900px) {
    .detail-layout { grid-template-columns: 1fr; gap: 20px; }
    .detail-gallery { position: static; top: auto; }
}

@media(max-width:768px) {
    .detail-layout, .detail-content-wrap, .detail-tags-wrap, .prev-next-nav, .bottom-recommend {
        padding: 0 16px; margin-bottom: 24px;
    }
    
    .merchant-name { font-size: 22px; }
    .meta-pill { font-size: 11px; padding: 3px 10px; }
    
    .contact-card { padding: 12px; gap: 4px; }
    .contact-row { 
        flex-direction: row !important;
        align-items: center; 
        gap: 8px;
        padding: 6px 0;
        border-bottom: 1px dashed var(--border-dim);
    }
    .contact-row:last-child { border-bottom: none; }
    .contact-label { width: 50px; font-size: 12px; }
    .contact-value { 
        font-size: 14px;
        letter-spacing: 0.5px; 
    }
    .copy-btn { 
        width: auto !important;
        min-width: 50px;
        height: 28px; 
        font-size: 11px; 
        padding: 0 10px;
    }
    
    .info-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .info-item { padding: 8px 10px; }
    .info-label { font-size: 10px; }
    .info-val { font-size: 12px; }
    
    .content-body { padding: 20px 16px; font-size: 14px; }
    .content-body img { margin: 20px auto; border-radius: 8px; }
    
    .prev-next-nav { grid-template-columns: 1fr; gap: 10px; }
    
    .bottom-recommend { gap: 28px; }
    .news-simple-item { padding: 12px; }
    .news-simple-title { font-size: 13px; }

    #backTop {
        bottom: calc(80px + env(safe-area-inset-bottom)) !important;
        bottom: calc(80px + constant(safe-area-inset-bottom)) !important;
    }
}

@media(max-width:380px) {
    .detail-layout, .detail-content-wrap, .detail-tags-wrap, .prev-next-nav, .bottom-recommend {
        padding: 0 12px;
    }
    .thumb-item { width: 60px; height: 45px; }
    .merchant-name { font-size: 20px; }
    .info-grid { grid-template-columns: 1fr; }
}

/* =========================================
   移动端底部悬浮联系栏
   ========================================= */
.mobile-contact-bar {
    display: none; 
}

@media(max-width:768px) {
    .mobile-contact-bar {
        display: block;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 1100;
        background: rgba(13, 6, 6, 0.92); /* 适配红黑底色 */
        backdrop-filter: blur(20px) saturate(1.6);
        -webkit-backdrop-filter: blur(20px) saturate(1.6);
        border-top: 1px solid var(--border-dim);
        padding-bottom: env(safe-area-inset-bottom);
        padding-bottom: constant(safe-area-inset-bottom); 
        box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
    }

    .mobile-contact-inner {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        max-width: 600px;
        margin: 0 auto;
    }

    .mobile-contact-btn {
        flex: 1; 
        height: 44px; 
        border-radius: 10px;
        font-size: 14px;
        font-weight: 700;
        font-family: var(--font-cn);
        letter-spacing: 0.5px;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-decoration: none;
        transition: all 0.2s ease;
        white-space: nowrap;
        -webkit-tap-highlight-color: transparent; 
    }

    .mobile-contact-btn.call {
        background: var(--jade);
        color: #fff; /* ★ 红底配白字 */
        box-shadow: 0 0 16px rgba(238,49,49,0.3);
    }
    .mobile-contact-btn.call:active {
        transform: scale(0.96);
        box-shadow: 0 0 8px rgba(238,49,49,0.5);
    }

    .mobile-contact-btn.wechat,
    .mobile-contact-btn.qq {
        background: rgba(255,255,255,0.06);
        color: var(--text-primary);
        border: 1px solid var(--border-dim);
    }
    .mobile-contact-btn.wechat:active,
    .mobile-contact-btn.qq:active {
        background: rgba(255,255,255,0.12);
        border-color: rgba(255,255,255,0.2);
        transform: scale(0.96);
    }

    .mobile-contact-btn.copied {
        background: #4ade80 !important;
        color: #000 !important;
        border-color: #4ade80 !important;
    }
}

@media(max-width:380px) {
    .mobile-contact-inner { gap: 6px; padding: 8px 12px; }
    .mobile-contact-btn { 
        height: 40px; 
        font-size: 12px; 
        border-radius: 8px; 
    }
}

@media(max-width:768px) {
    body::after {
        content: '';
        display: block;
        height: calc(64px + env(safe-area-inset-bottom));
    }
}

/* =========================================
   ★ Tab 切换区
   ========================================= */
.detail-tabs-section {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 24px;
}
.tabs-header { margin-bottom: 0; border-bottom: 1px solid var(--border-dim); }
.tabs-nav { display: flex; gap: 0; }
.tab-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 28px; font-size: 15px; font-weight: 600;
    color: var(--text-secondary); background: transparent;
    border: none; border-bottom: 2px solid transparent;
    cursor: pointer; transition: all 0.3s ease;
    font-family: var(--font-cn); position: relative;
}
.tab-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.02); }
.tab-btn.active {
    color: var(--jade); border-bottom-color: var(--jade);
    background: linear-gradient(to top, rgba(238,49,49,0.08), transparent);
}
.tab-btn svg, .tab-btn i { flex-shrink: 0; }
.tab-badge {
    font-size: 10px; font-weight: 700; font-family: var(--font-mono);
    padding: 1px 7px; border-radius: 10px; line-height: 1.4;
    background: var(--jade-dim); color: var(--jade);
    border: 1px solid rgba(238,49,49,0.25);
}

.tab-panel { display: none; animation: tabFadeIn 0.35s ease; }
.tab-panel.active { display: block; }
@keyframes tabFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   ★ 评论列表 & 表单容器
   ========================================= */
.review-list { min-height: 120px; }
.review-empty {
    text-align: center; padding: 60px 20px;
    color: var(--text-secondary); opacity: 0.5;
}
.review-empty svg, .review-empty i { margin-bottom: 16px; opacity: 0.3; }
.review-empty p { font-size: 14px; }

.review-item {
    padding: 20px 0; border-bottom: 1px solid var(--border-dim);
}
.review-item:last-child { border-bottom: none; }
.review-item-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.review-user { display: flex; align-items: center; gap: 10px; }
.review-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--jade-dim); color: var(--jade);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.review-nickname { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.review-stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; }
.review-date { font-size: 12px; color: var(--text-secondary); font-family: var(--font-mono); }
.review-content { font-size: 14px; line-height: 1.8; color: var(--text-secondary); word-break: break-word; }

/* =========================================
   ★ 评论表单
   ========================================= */
.review-form-wrap {
    margin-top: 32px; padding: 28px;
    background: var(--bg-card); border: 1px solid var(--border-dim);
    border-radius: 12px;
}
.review-form-title {
    font-size: 16px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.review-form-title::before {
    content: ''; width: 3px; height: 16px;
    background: var(--jade); border-radius: 2px;
}
.review-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rating-label { font-size: 14px; color: var(--text-secondary); flex-shrink: 0; }
.star-selector { display: flex; gap: 4px; }
.star-selector .star {
    font-size: 24px; color: #333; cursor: pointer;
    transition: color 0.2s, transform 0.15s; user-select: none;
}
.star-selector .star.active { color: var(--gold); }
.star-selector .star:hover { transform: scale(1.2); }

.review-textarea {
    width: 100%; min-height: 100px; padding: 14px 16px;
    background: rgba(0,0,0,0.3); border: 1px solid var(--border-dim);
    border-radius: 8px; color: var(--text-primary); font-size: 14px;
    font-family: var(--font-cn); line-height: 1.7; resize: vertical;
    outline: none; transition: border-color 0.3s; margin-bottom: 16px;
}
.review-textarea:focus { border-color: var(--jade); }
.review-textarea::placeholder { color: rgba(255,255,255,0.2); }

.review-form-row { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.review-input {
    flex: 1; min-width: 140px; padding: 12px 14px;
    background: rgba(0,0,0,0.3); border: 1px solid var(--border-dim);
    border-radius: 8px; color: var(--text-primary); font-size: 14px;
    outline: none; transition: border-color 0.3s;
}
.review-input:focus { border-color: var(--jade); }
.review-input::placeholder { color: rgba(255,255,255,0.2); }
.review-captcha-img {
    height: 44px; border-radius: 6px; cursor: pointer;
    border: 1px solid var(--border-dim); flex-shrink: 0;
}

.review-submit-btn {
    padding: 12px 36px; background: var(--jade); color: #fff; /* ★ 红底白字 */
    border: none; border-radius: 8px; font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all 0.3s; letter-spacing: 1px;
}
.review-submit-btn:hover { box-shadow: 0 0 20px rgba(238,49,49,0.45); transform: translateY(-2px); }
.review-submit-btn:disabled { background: #333; color: #666; cursor: not-allowed; box-shadow: none; transform: none; }

@media(max-width: 768px) {
    .detail-tabs-section { padding: 0 16px; margin-bottom: 28px; }
    .tab-btn { padding: 12px 18px; font-size: 14px; }
    .review-form-wrap { padding: 20px 16px; }
    .review-form-row { flex-direction: column; align-items: stretch; }
    .review-input { min-width: auto; }
    .review-captcha-img { width: 100%; height: 40px; object-fit: cover; }
}

/* =========================================
   ★ Tab 面板间距修复 & SDCMS 原生评论兼容
   ========================================= */
#panel-review {
    padding-top: 28px;
}

.sdcms-comment-wrap {
    max-width: 100%;
}

/* =========================================
   ★ 评论列表区 (.comment) - 暗黑卡片化
   ========================================= */
.comment {
    overflow: hidden;
    clear: both;
    margin-bottom: 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.comment .face {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
}
.comment .face img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--border-dim);
    object-fit: cover;
    background: var(--bg-card);
}

.comment .text {
    flex: 1;
    min-width: 0;
    margin-left: 0 !important;
    border: 1px solid var(--border-dim);
    border-radius: 10px;
    background: var(--bg-card);
    position: relative;
    transition: border-color 0.3s;
}
.comment .text:hover {
    border-color: rgba(255,255,255,0.15);
}
.comment .text .div {
    padding: 16px 18px;
}
.comment .text .div .icon { display: none !important; }

.comment .text .div .base {
    font-family: var(--font-cn);
    color: var(--jade);
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px dashed var(--border-dim);
    line-height: 22px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.comment .text .div .base span {
    float: none !important;
    color: var(--text-secondary);
    font-size: 12px;
    font-family: var(--font-mono);
    font-weight: 400;
}

.comment .text .div .content {
    line-height: 1.8;
    color: var(--text-primary);
    font-size: 14px;
    word-break: break-word;
}

/* 管理员回复 - 内嵌卡片风格 */
.comment .text .div .reply {
    font-family: var(--font-cn);
    margin-top: 14px;
    padding: 12px 14px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
    background: rgba(238, 49, 49, 0.05); /* ★ 红色系管理员回复底色 */
    border-radius: 6px;
    border: none !important;
}
.comment .text .div .reply strong {
    color: var(--gold); /* 保留金色标识管理员身份 */
    font-weight: 600;
    margin-right: 4px;
}

/* =========================================
   ★ 发表评论区 (.commentadd)
   ========================================= */
.comment-form-header {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 36px 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-dim);
    display: flex;
    align-items: center;
    gap: 8px;
}
.comment-form-header::before {
    content: '';
    width: 3px;
    height: 16px;
    background: var(--jade);
    border-radius: 2px;
    flex-shrink: 0;
}

.commentadd {
    margin: 0 !important;
    clear: both;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.commentadd .face {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
}
.commentadd .face img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--border-dim);
    object-fit: cover;
}

.commentadd .text {
    flex: 1;
    min-width: 0;
    margin-left: 0 !important;
}
.commentadd .text .div {
    padding: 0 !important;
    margin-bottom: 14px;
}

.commentadd .text .div textarea {
    width: 100% !important;
    min-height: 120px !important;
    padding: 16px 18px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-family: var(--font-cn) !important;
    line-height: 1.8 !important;
    resize: vertical;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}
.commentadd .text .div textarea::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}
.commentadd .text .div textarea:focus {
    border-color: var(--jade) !important;
    background: rgba(0, 0, 0, 0.65) !important;
    box-shadow: 0 0 0 3px var(--jade-dim), 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.commentadd .text > span {
    color: var(--text-secondary) !important;
    font-size: 12px !important;
    line-height: 20px !important;
    height: 20px !important;
    display: block !important;
    margin-bottom: 14px;
    white-space: nowrap;
}

.commentadd .text > span * {
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.commentadd .text > span #commentlen {
    color: var(--jade) !important;
    font-family: var(--font-mono);
    font-weight: 600;
}

.commentadd .input {
    margin: 0 !important;
    font-size: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.commentadd .input .ip {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    outline: none !important;
    font-size: 13px !important;
    width: 150px;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}
.commentadd .input .ip::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}
.commentadd .input .ip:focus {
    border-color: var(--jade) !important;
    background: rgba(0, 0, 0, 0.65) !important;
    box-shadow: 0 0 0 3px var(--jade-dim) !important;
}

.commentadd .input img {
    height: 44px !important;
    border-radius: 8px !important;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    vertical-align: middle;
    transition: border-color 0.3s;
}
.commentadd .input img:hover {
    border-color: var(--jade) !important;
}

.commentadd .input .send {
    float: none !important;
    border: none !important;
    background: var(--jade) !important;
    color: #fff !important; /* ★ 红底白字 */
    padding: 12px 32px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s !important;
    letter-spacing: 1px;
    width: auto !important;
    vertical-align: middle;
}
.commentadd .input .send:hover {
    box-shadow: 0 0 20px rgba(238, 49, 49, 0.5) !important;
    transform: translateY(-2px);
}

.ctitle { display: none !important; }
.p10 { display: none !important; }
#comment_staus { margin-top: 10px; color: var(--text-secondary); font-size: 13px; }

/* =========================================
   ★ 移动端适配 (评论表单)
   ========================================= */
@media(max-width: 768px) {
    #panel-review { 
        padding-top: 20px; 
    }
    
    .comment, .commentadd {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch !important;
    }
    
    .comment .face, .commentadd .face {
        width: 36px !important;
        height: 36px !important;
        align-self: flex-start;
    }
    
    .comment .text .div { 
        padding: 14px !important; 
    }
    
    .commentadd .text {
        width: 100% !important;
        margin-left: 0 !important;
    }
    .commentadd .text .div textarea {
        min-height: 100px !important;
        padding: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .commentadd .input {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
    }
    
    .commentadd .input .ip { 
        width: 100% !important; 
        max-width: none !important;
        box-sizing: border-box !important;
    }
    
    .commentadd .input img {
        width: 100% !important;
        height: 44px !important;
        object-fit: cover;
        display: block;
    }
    
    .commentadd .input .send {
        width: 100% !important;
        padding: 14px !important;
        text-align: center !important;
        box-sizing: border-box !important;
        float: none !important;
        margin: 0 !important;
    }
}

/* =========================================
   ★ 平台免责与交易提醒
   ========================================= */
.platform-disclaimer {
    margin-top: 4px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-dim);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-secondary);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.platform-disclaimer:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.1);
}

.platform-disclaimer .disclaimer-icon {
    flex-shrink: 0;
    margin-top: 2px;
    width: 14px;
    height: 14px;
    color: var(--jade);
    opacity: 0.6;
}

.platform-disclaimer .disclaimer-text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.platform-disclaimer .disclaimer-text strong {
    color: var(--text-primary);
    font-weight: 600;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .platform-disclaimer {
        padding: 8px 12px;
        font-size: 11px;
        gap: 6px;
        margin-top: 2px;
    }
    .platform-disclaimer .disclaimer-icon {
        width: 12px;
        height: 12px;
        margin-top: 1px;
    }
}