.stats-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 16px;
}

.stats-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 28px;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
}

.stat-card {
    background: #1b1b1b;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    transition: transform .2s ease, box-shadow .2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,.45);
}

.stat-header {
    font-size: 1.1rem;
    color: #cfcfcf;
    text-align: center;
    margin-bottom: 6px;
}

.stat-body {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-top: 2px;
}

.stat-sub {
    font-size: 1.05rem;
    color: #69b7ff;
    margin-top: 10px;
}

.stat-sep {
    height: 1px;
    background: linear-gradient(90deg, transparent, #2a2a2a, transparent);
    margin: 16px 0;
}

.stat-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.stat-top-title {
    font-size: .95rem;
    color: #bdbdbd;
    letter-spacing: .3px;
}

.stat-top-pct {
    font-size: .95rem;
    color: #e3e3e3;
    font-weight: 600;
}

.stat-top-name {
    font-size: 1.05rem;
    color: #fff;
    font-weight: 600;
    margin: 6px 0 10px;
}

.stat-progress {
    height: 10px;
    background: #2a2a2a;
    border-radius: 999px;
    overflow: hidden;
}

.stat-progress-bar {
    height: 100%;
    background: #69b7ff;
    border-radius: 999px;
    width: 0;
}

.stat-top-time {
    font-size: .95rem;
    color: #c9dff7;
    margin-top: 10px;
}

/* Variantes de couleur (optionnelles) */
.stat-card.day .stat-progress-bar { background: #69b7ff; }
.stat-card.month .stat-progress-bar { background: #8bd46a; }
.stat-card.year .stat-progress-bar { background: #ffd166; }

@media (max-width: 420px) {
    .stat-number { font-size: 2.5rem; }
    .stats-grid { gap: 16px; }
}

.last-wrapper {
    max-width: 1000px;
    margin: 30px auto 10px;
    padding: 0 16px;
    margin-bottom: 90px;
}

.last-title {
    text-align: center;
    font-size: 1.6rem;
    margin: 8px 0 18px;
    color: #fff;
}

.last-card-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.last-small-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
    max-height: 340px;
    background: #1b1b1b;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
    transition: transform .18s ease, box-shadow .18s ease;
    padding: 10px;
}

.last-small-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,.45);
}

.last-small-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 6px;
    line-height: 1.2;
}

.last-small-img {
    width: 100%;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.last-small-img img {
    max-width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 6px;
}

.last-small-date {
    font-size: .85rem;
    color: #9fcaff;
    margin-top: 8px;
    text-align: center;
    line-height: 1.3;
}