.section--stats .stats__empty-state {
    margin: 10px 0;
}

.section--stats .stats__center-line {
    text-align: center;
}

.section--stats .stats__compat-progress {
    display: none !important;
}

.section--stats .stats__secondary-progress {
    margin-top: 15px;
}

.section--stats .stats-mini-card--full {
    grid-column: 1 / -1;
}

.section--stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.section--stats .stats-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--card-bg) 98%, white),
            var(--card-bg)
        );
    border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.03),
        0 2px 8px rgba(0, 0, 0, 0.025);
    text-align: center;
}

.section--stats .stats-card::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.75;
}

.section--stats .stats-card__icon {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.section--stats .stats-card__icon--orange {
    color: #f97316;
}

.section--stats .stats-card__icon--purple {
    color: #7c3aed;
}

.section--stats .stats-card__label {
    font-size: 0.92rem;
    color: var(--text-sub);
    margin-bottom: 8px;
    font-weight: 700;
}

.section--stats .stats-card__value {
    font-size: 1.95rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}

.section--stats .stats-card__value--orange {
    color: #f97316;
}

.section--stats .stats-card__value--purple {
    color: #7c3aed;
}

.section--stats .progress-track {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-color) 92%, white);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.section--stats .progress-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.25s ease;
    box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 20%, transparent);
}

.section--stats .stats-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.section--stats .stats-mini-card {
    background: color-mix(in srgb, var(--bg-color) 92%, white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
}

.section--stats .stats-mini-card__label {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 8px;
    font-weight: 700;
}

.section--stats .stats-mini-card__value {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
}

.section--stats .stats-smart-box {
    margin-top: 15px;
    padding: 14px;
    border-radius: var(--radius-md);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--accent) 8%, var(--card-bg)),
            var(--card-bg)
        );
    border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
}

.section--stats .stats-smart-box__title {
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.section--stats .stats-smart-box__text {
    color: var(--text-main);
    line-height: 1.7;
}

.section--stats .stats-subprogress {
    margin-top: 15px;
}

.section--stats .stats-subprogress__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.section--stats .stats-subprogress__label {
    font-weight: 700;
    color: var(--text-main);
}

.section--stats .stats-subprogress__value {
    color: var(--text-sub);
    font-weight: 700;
}

@media (max-width: 560px) {
    .section--stats .stats-grid,
    .section--stats .stats-panel-grid {
        grid-template-columns: 1fr;
    }

    .section--stats .stats-card__value {
        font-size: 1.7rem;
    }
}
