body {
    margin: 0;
    height: 100vh;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Inter", "Segoe UI", sans-serif;
    color: white;
}

.chrono-container {
    padding: 40px 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* structure sans enfermer */
}

/* ligne du chrono */
#display {
    display: flex;
    align-items: baseline; /* 🔥 ALIGNEMENT BAS */
    justify-content: center;
    font-size: 9.5vw;
    font-weight: 600;
    letter-spacing: 0.22em;
}

/* millisecondes intégrées */
#ms {
    font-size: 2.4vw;      /* plus grosses */
    opacity: 0.55;
    margin-left: 0.3em;
    letter-spacing: 0.08em;
}

/* boutons sobres */
.buttons {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 36px;
}

.buttons button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.buttons button:hover {
    color: white;
}
#display {
    font-variant-numeric: tabular-nums;
}

#ms {
    min-width: 3ch; /* largeur fixe pour 000–999 */
    text-align: right;
}
.buttons button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.buttons button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.buttons button:active {
    transform: scale(0.96);
}
