
:root {
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.05);
}


.xinyue_container {
    background: #f5f7fc;
}

/* 头部 */
.tier-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
}
.back-btn:active { transform: scale(0.96); }
.title-area h1 {
    font-size: 24px;
    font-weight: 700;
    -webkit-background-clip: text;
    background-clip: text;
}
.title-area p {
    font-size: 12px;
    color: #5b6e8c;
    margin-top: 4px;
}

/* 控制栏：品牌筛选 + 跑分软件 + 单核多核切换 */
.control-bar {
    background: white;
    border-radius: 24px;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid #eef2f8;
}
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 4px 12px;
    border-radius: 40px;
}
.filter-group label {
    font-size: 12px;
    font-weight: 500;
    color: #5b6e8c;
    white-space: nowrap;
}
.filter-select {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 6px 12px;
    font-size: 13px;
    outline: none;
    cursor: pointer;
    max-width: 50%;
}
.brand-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.brand-btn {
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}
.brand-btn.active {
    background: #6c5ce7;
    border-color: #6c5ce7;
    color: white;
}
.mode-btns {
    display: flex;
    gap: 8px;
}
.mode-btn {
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}
.mode-btn.active {
    background: #6c5ce7;
    border-color: #6c5ce7;
    color: white;
}



.metric-row {
    padding: 20px;
    background: white;
    border-radius: 24px;
}
.metric-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 14px;
    color: #2d3e50;
}
.dual-progress {
    flex-direction: column;
    gap: 5px;
    display: flex;
    max-width: 700px;
}
.progress-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}
.progress-cpu-name {
    font-size: 12px;
    line-height: 14px;
    font-weight: 500;
    width: 70px;
    text-align: right;
}
.progress-bg {
    background: #e2e8f0;
    border-radius: 10px;
    height: 30px;
    overflow: hidden;
    flex: 1;
}
.progress-fill {
    height: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    color: white;
    font-weight: 500;
    font-size: 12px;
    width: 0%;
    transition: width 0.3s;
    min-width: 50px;
    background: linear-gradient(90deg, #6c5ce7, #8b74ff);
}
.progress-item.active .progress-fill {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.score-num {
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 28px;
    color: #94a3b8;
}
.footer-note {
    margin-top: 20px;
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
}

@media (max-width: 480px) {
    .xinyue_container { padding: 16px 12px 32px; }
    .filter-row { flex-direction: column; gap: 10px; }
    .filter-group { justify-content: space-between; }
    .tier-header {justify-content: center;}
    .back-btn {display: none;}
    .cpu-list {gap: 0;}
    .card-footer {display: none;}
    .progress-cpu-name{font-size: 11px;}
}
