/* review-card.css - 评测卡片与双栏网格样式 */
.review-card {
    max-width: 1100px;
    width: 100%;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12), 0 4px 18px rgba(0, 0, 0, 0.05);
    padding: 2.5rem 2.8rem;
    transition: all 0.2s ease;
}

@media (max-width: 640px) {
    .review-card {
        padding: 1.5rem 1.2rem;
    }
}

/* 双栏网格：图片 + 结果 */
.spectrum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 0 0 2.5rem 0;
}

@media (max-width: 780px) {
    .spectrum-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.image-box {
    background: #f1f5f9;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #dcd6ed;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
}

.image-box img {
    width: 100%;
    height: auto;
    display: block;
    background: #f1f5f9;
}

.image-caption {
    padding: 0.8rem 1.2rem;
    background: #ffffff;
    font-size: 0.9rem;
    color: #334155;
    border-top: 1px solid #dcd6ed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.image-caption .file-name {
    font-weight: 600;
    color: #0f172a;
}

/* 右侧结果面板 */
.results-panel {
    background: #faf8ff;
    border-radius: 24px;
    padding: 1.2rem 1.5rem 1.8rem;
    border: 1px solid #e2daf5;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
}

.results-panel h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3a2380;
    border-bottom: 2px dotted #d5caf0;
    padding-bottom: 0.6rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid #ede8fc;
    font-size: 0.98rem;
}

.result-item:last-child {
    border-bottom: 0;
}

.result-item .label {
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-item .label i {
    width: 1.2rem;
    color: #7a5dc7;
    font-size: 0.95rem;
}

.result-item .value {
    font-weight: 600;
    font-size: 0.85rem;
}

.value .match {
    color: #15803d;
    background: #dcfce7;
    padding: 0.1rem 0.8rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 6px;
}

.value .mismatch {
    color: #b91c1c;
    background: #fee2e2;
    padding: 0.1rem 0.8rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 6px;
}

.value i.fa-check-circle {
    color: #15803d;
    margin-right: 4px;
}

.value i.fa-times-circle {
    color: #b91c1c;
    margin-right: 4px;
}
.test-report-container {
            width: 100%;
            max-width: 1200px;
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            padding: 18px 22px 20px;
        }

        .two-col-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin: 4px 0 6px;
            align-items: start;
        }

        @media (max-width: 992px) {
            .test-report-container { padding: 16px 18px 18px; }
            .two-col-layout { gap: 18px; }
        }

        @media (max-width: 768px) {
            .test-report-container { padding: 14px 16px 16px; border-radius: 12px; }
            .two-col-layout { gap: 16px; }
        }

        @media (max-width: 640px) {
            .two-col-layout { grid-template-columns: 1fr; gap: 18px; }
            .test-report-container { padding: 14px 16px 16px; }
        }

        @media (max-width: 480px) {
            body { padding: 8px 6px; }
            .test-report-container { padding: 12px 12px 14px; border-radius: 10px; }
            .two-col-layout { gap: 16px; }
        }

        /* ===== 左侧：频谱图片 ===== */
        .spectrum-section {
            display: flex;
            flex-direction: column;
            gap: 4px;
            width: 100%;
        }

        .spectrum-box {
            padding: 12px 14px 14px;
            background: #f8f5ff;
            border-radius: 10px;
            border: 1px solid #ede8f5;
            width: 100%;
        }

        .spectrum-box .spectrum-heading {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 1.0rem;
            font-weight: 600;
            color: #2d1b69;
            margin-bottom: 8px;
        }

        .spectrum-box .spectrum-heading i {
            color: #7c3aed;
            font-size: 1.0rem;
        }

        .spectrum-box .spectrum-figure {
            width: 100%;
            border-radius: 6px;
            overflow: hidden;
            border: 1px solid #ede8f5;
        }

        .spectrum-box .spectrum-figure img {
            width: 100%;
            height: auto;
            display: block;
        }

        .spectrum-box .spectrum-legend {
            display: flex;
            justify-content: center;
            gap: 20px;
            padding: 6px 6px 0;
            font-size: 0.85rem;
            flex-wrap: wrap;
        }

        .spectrum-box .spectrum-legend .legend-original {
            color: #16a34a;
        }

        .spectrum-box .spectrum-legend .legend-compressed {
            color: #dc2626;
        }

        .spectrum-box .spectrum-legend i {
            margin-right: 4px;
            font-size: 0.8rem;
        }

        .spectrum-box .spectrum-footer {
            font-size: 0.85rem;
            color: #7c3aed;
            margin-top: 6px;
            text-align: center;
            padding-top: 6px;
            border-top: 1px solid #ede8f5;
        }

        .spectrum-box .spectrum-footer i {
            font-size: 0.8rem;
            margin-right: 4px;
        }

        /* ===== 右侧：分析信息 ===== */
        .analysis-panel {
            display: flex;
            flex-direction: column;
            gap: 14px;
            width: 100%;
        }

        /* ===== 整合后的下载性能 ===== */
        .download-section {
            background: #f8f5ff;
            border-radius: 10px;
            padding: 10px 14px 12px;
            border: 1px solid #ede8f5;
            width: 100%;
        }

        .download-section .section-heading {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.85rem;
            font-weight: 600;
            color: #2d1b69;
            margin-bottom: 8px;
        }

        .download-section .section-heading i {
            color: #7c3aed;
            font-size: 0.85rem;
        }

        .download-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6px;
            width: 100%;
        }

        .download-item {
            background: #ffffff;
            border-radius: 6px;
            padding: 5px 10px 6px;
            border: 1px solid #ede8f5;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .download-item .dl-label {
            font-size: 0.80rem;
            color: #8b7aa8;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .download-item .dl-label i {
            color: #7c3aed;
            font-size: 0.6rem;
            width: 14px;
        }

        .download-item .dl-value {
            font-weight: 600;
            font-size: 0.8rem;
            color: #2d1b69;
        }

        .download-item .dl-value .dl-sub {
            font-weight: 400;
            font-size: 0.75rem;
            color: #8b7aa8;
            margin-left: 2px;
        }

        .download-item .dl-value .highlight-purple {
            color: #7c3aed;
        }

        /* ===== 音质差异 ===== */
        .audio-quality-box {
            background: #f8f5ff;
            border-radius: 10px;
            padding: 12px 16px 14px;
            border: 1px solid #ede8f5;
            width: 100%;
        }

        .audio-quality-box .audio-heading {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 1.0rem;
            font-weight: 600;
            color: #2d1b69;
            margin-bottom: 8px;
        }

        .audio-quality-box .audio-heading i {
            color: #7c3aed;
            font-size: 1.0rem;
        }

        .audio-quality-row {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 5px 0;
            border-bottom: 1px solid #ede8f5;
            font-size: 0.95rem;
            width: 100%;
        }

        .audio-quality-row:last-child {
            border-bottom: none;
        }

        .audio-quality-row .row-label {
            color: #4a3a6b;
            min-width: 58px;
            font-size: 0.75rem;
            font-weight: 500;
            flex-shrink: 0;
        }

        .audio-quality-row .row-value {
            color: #2d1b69;
            font-size: 0.75rem;
            flex: 1;
            display: flex;
            align-items: center;
            gap: 5px;
            min-width: 0;
        }

        .audio-quality-row .row-value .status-badge {
            display: inline-block;
            padding: 0 10px;
            border-radius: 8px;
            font-size: 0.70rem;
            font-weight: 600;
            line-height: 18px;
            flex-shrink: 0;
        }

        .audio-quality-row .row-value .status-badge.badge-good {
            background: #e6f7ed;
            color: #16a34a;
        }

        .audio-quality-row .row-value .status-badge.badge-ok {
            background: #fef3e2;
            color: #b45309;
        }

        .audio-quality-row .row-value .status-badge.badge-bad {
            background: #fde8e8;
            color: #dc2626;
        }

        .audio-quality-row .progress-bar {
            flex: 1;
            height: 5px;
            background: #ede8f5;
            border-radius: 8px;
            overflow: hidden;
            min-width: 30px;
        }

        .audio-quality-row .progress-bar .progress-fill {
            height: 100%;
            border-radius: 8px;
            background: linear-gradient(90deg, #7c3aed, #a78bfa);
        }

        .audio-quality-row .rating-stars {
            color: #7c3aed;
            font-size: 1.1rem;
            letter-spacing: 1px;
            min-width: 70px;
            text-align: right;
            flex-shrink: 0;
            font-weight: 400;
        }

        .audio-summary {
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid #ede8f5;
            font-size: 0.85rem;
            color: #5a4a7a;
            line-height: 1.5;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 4px 8px;
            width: 100%;
        }

        .audio-summary i {
            color: #7c3aed;
            font-size: 0.8rem;
        }

        .audio-summary strong {
            color: #2d1b69;
        }

        .audio-summary .test-device-tag {
            display: inline-block;
            background: #ede8f5;
            padding: 0 10px;
            border-radius: 8px;
            font-size: 0.7rem;
            line-height: 20px;
            color: #4a3a6b;
            flex-shrink: 0;
        }

        @media (max-width: 480px) {
            .download-grid {
                grid-template-columns: 1fr;
            }
        }
.song-info-compact {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px 20px;
            padding: 8px 12px;
            margin-bottom: 10px;
            background: #ffffff;
            border-radius: 6px;
            border: 1px solid #ede8f5;
            font-size: 0.85rem;
            color: #4a3a6b;
        }

        .song-info-compact .info-tag {
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .song-info-compact .info-tag i {
            color: #7c3aed;
            font-size: 0.75rem;
        }

        .song-info-compact .info-tag .label {
            color: #8b7aa8;
            font-weight: 400;
        }

        .song-info-compact .info-tag .value {
            color: #2d1b69;
            font-weight: 500;
        }

        .song-info-compact .info-separator {
            color: #e2d9f0;
        }
		.download-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6px;
            margin-top: 6px;
        }

        .download-stats .stat-item {
            background: #f8f5ff;
            border-radius: 6px;
            padding: 4px 10px 5px;
            border: 1px solid #ede8f5;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .download-stats .stat-item .stat-label {
            font-size: 0.75rem;
            color: #8b7aa8;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .download-stats .stat-item .stat-label i {
            color: #7c3aed;
            font-size: 0.6rem;
            width: 14px;
        }

        .download-stats .stat-item .stat-value {
            font-weight: 600;
            font-size: 0.8rem;
            color: #2d1b69;
        }

        .download-stats .stat-item .stat-value .stat-sub {
            font-weight: 400;
            font-size: 0.7rem;
            color: #8b7aa8;
            margin-left: 2px;
        }
		 .info-box {
            background: #ffffff;
            border-radius: 8px;
            border: 1px solid #ede8f5;
            padding: 10px 12px;
            margin-bottom: 10px;
        }

        .info-box:last-child {
            margin-bottom: 0;
        }

        .info-box .box-header {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.75rem;
            font-weight: 600;
            color: #7c3aed;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
        }

        .info-box .box-content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px 16px;
        }

        .info-box .box-content .info-tag {
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .info-box .box-content .info-tag i {
            color: #7c3aed;
            font-size: 0.75rem;
        }

        .info-box .box-content .info-tag .label {
            color: #8b7aa8;
            font-weight: 400;
            font-size: 0.8rem;
        }

        .info-box .box-content .info-tag .value {
            color: #2d1b69;
            font-weight: 500;
            font-size: 0.75rem;
        }

        .info-box .box-content .info-separator {
            color: #e2d9f0;
        }
