/* Toujours inclure les bordures dans les dimensions */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Empêche les débordements horizontaux */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    touch-action: manipulation;
}

/* Images responsives */
img {
    max-width: 100%;
    height: auto;
}

/* Champs de saisie */
input,
select,
button,
textarea {
    max-width: 100%;
    font: inherit;
}

body {
    background: #121212;
    color: white;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

#app {
    width: min(100%, 1100px);
    margin: auto;
    padding: clamp(32px, 4vw, 56px) 16px 16px;
}

h1 {

    text-align: center;

}

button {

    display: block;

    width: min(90%, 500px);

    margin: 20px auto;

    padding: 16px;

    border: 1px solid rgba(255, 255, 255, .24);

    border-radius: 16px;

    background: linear-gradient(135deg, #2d73ff 0%, #6754ef 100%);

    color: white;

    font-size: 22px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .16),
        0 8px 20px rgba(0, 0, 0, .26);

    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;

}

button:hover {

    filter: brightness(1.08);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .22),
        0 10px 24px rgba(0, 0, 0, .30);

    transform: translateY(-1px);

}

button:active {

    transform: scale(.98);

    box-shadow:
        inset 0 2px 5px rgba(0, 0, 0, .20),
        0 4px 10px rgba(0, 0, 0, .20);

}

.nav {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

    margin-top: 20px;

}

.nav button {

    width: 60px;

    margin: 0;

}

.cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.jourTitre {

    border: 1px solid rgba(171, 199, 255, .72);

    border-radius: 14px;

    background: linear-gradient(135deg, #2D73FF, #6754EF);

    color: white;

    padding: 12px;

    font-weight: 800;

    font-size: clamp(11px, 2.5vw, 16px);

    letter-spacing: .045em;

    text-align: center;

    text-shadow: 0 1px 5px rgba(17, 31, 94, .45);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .24),
        0 6px 14px rgba(45, 115, 255, .2);

}

.caseVide {

    background: #1F1F1F;

    border-radius: 14px;

    min-height: clamp(70px, 12vw, 140px);

}

.jour {

    background: #1F1F1F;

    border-radius: 14px;

    color: white;

    min-height: 140px;

    padding: 10px;

}

.event {

    display: flex;
    align-items: center;
    justify-content: center;

    height: 24px;

    padding: 0 6px;

    margin-top: 5px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 11px;

    font-weight: 600;

    border-radius: 8px;

    background: #64B5F6 !important;

    color: white;

}

.event.eventSeanceTerminee {
    background: linear-gradient(135deg, #1FA968, #16764B) !important;
    border: 1px solid rgba(167, 255, 204, .5);
    box-shadow: 0 4px 10px rgba(31, 169, 104, .26);
}


.enteteExo {

    display: flex;

    align-items: center;

    min-width: 0;

    max-width: 100%;

    gap: 14px;

    margin-bottom: 18px;

}

/* ===========================
   PUMPPILOT - HEADER
=========================== */

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 45px 20px 20px;
}

.logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
}

.headerTexte {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}


.titreApp {
    margin: 0;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    color: white;
    line-height: 1;
}

@media (max-width: 768px) {

    #app {
        padding: 40px;
    }

    .header {
        grid-template-columns: 80px 1fr 80px;
        padding: 15px;
    }

    .logo {
        width: 70px;
        height: 70px;
    }

    .cal {
        gap: 4px;
    }

    .jour,
    .caseVide {
        min-height: 75px;
        padding: 5px;
    }

    button {
        font-size: 16px;
        padding: 12px;
    }

    .titreApp {
        letter-spacing: 0;
    }
}

.btnBase {
    display: flex;
    justify-content: center;
    align-items: center;

    width: min(90%, 500px);
    height: 64px;

    margin: 12px auto;

    border: none;
    border-radius: 18px;

    color: white;
    font-size: 22px;
    font-weight: 700;

    cursor: pointer;
    transition: .2s;

    box-shadow: 0 6px 15px rgba(0, 0, 0, .18);
}

.btnBase:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

.btnBase:active {
    transform: scale(.98);
}

.btnBleu {
    background: linear-gradient(135deg, #2d73ff 0%, #6754ef 100%);
}

.btnRouge {
    background: #e53935;
}

.btnPrincipal {
    display: block;
    width: min(90%, 500px);
    margin: 20px auto 12px auto;
    padding: 18px 24px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 16px;
}

.titrePage {

    text-align: center;

    font-size: clamp(26px, 4vw, 34px);

    font-weight: 800;

    color: white;

    margin-bottom: 70px;

    line-height: 1.2;

}

.champFormulaire {

    display: block;

    width: 100%;

    max-width: 100%;

    height: 58px;

    margin: 0 auto 18px auto;

    padding: 0 18px;

    border: none;

    border-radius: 16px;

    background: #1F1F1F;

    color: white;

    font-size: 20px;

    font-weight: 600;

    text-align: center;

    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, .05),
        0 4px 12px rgba(0, 0, 0, .30);

}

.champFormulaire::placeholder {

    color: #BFC6D0;

}

.champFormulaire:focus {

    outline: none;

    border: 2px solid #2d73ff;

}

label {

    display: block;

    margin: 0 0 8px 0;

    font-size: 22px;

    font-weight: 700;

}

.btnContinuer,


.btnContinuer {

    display: block;

    width: 100%;

    max-width: 100%;

    height: 64px;

    margin: 20px auto 0;

    border: none;

    border-radius: 18px;

    font-size: 22px;

    font-weight: 700;

    cursor: pointer;

    transition: .2s;

    box-shadow: 0 6px 15px rgba(0, 0, 0, .18);

    background: linear-gradient(135deg, #2d73ff 0%, #6754ef 100%);

    color: white;
}


.btnContinuer:hover,
.btnSupprimer:hover {

    transform: translateY(-2px);

    box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

.btnContinuer:active,
.btnSupprimer:active {

    transform: scale(.98);
}

.btnSupprimer {

    display: block;

    width: 100%;

    max-width: 100%;

    height: 64px;

    margin: 12px auto 0 auto;

    border: none;

    border-radius: 18px;

    background: #e53935;

    color: white;

    font-size: 22px;

    font-weight: 700;

    cursor: pointer;

    transition: .2s;

    box-shadow: 0 6px 15px rgba(0, 0, 0, .18);

}

.pageEdition {

    width: 100%;

    max-width: 560px;

    margin: 40px auto;

    padding: 0 18px;

}

.infosSeance {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 42px;
    margin: 56px 0 36px;
}

.zoneTags {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 8px;

    margin: 15px auto 20px auto;

    width: min(95%, 900px);

}

.tagMuscle {

    width: auto !important;

    margin: 0;

    padding: 6px 11px;

    background: #1F1F1F;

    color: white;

    border: 2px solid transparent;

    border-radius: 999px;

    font-size: 12px;

    font-weight: 600;

    min-height: 34px;

    transition: .2s;

    cursor: pointer;

}

.tagMuscle:hover {

    border-color: #2d73ff;

}

.tagActif {
    border-color: rgba(194, 210, 255, .94) !important;
    background: #FFFFFF !important;
    color: #5C5BEF !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .88),
        0 0 15px rgba(94, 106, 255, .42) !important;

}

.listeExercices {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px;

    width: min(95%, 900px);

    margin: 0 auto 30px auto;

}

.boutonExercice {

    height: 68px;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 8px;

    line-height: 1.15;

    font-size: 17px;

    font-weight: 700;

}

input[type="date"],
input[type="time"] {

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    line-height: 58px;

}

.ligneDateHeure {

    display: grid;

    width: 100%;

    gap: 14px;

    grid-template-columns: minmax(0, 1fr) minmax(100px, 0.62fr);

    align-items: flex-start;

}

.ligneDateHeure>div {

    min-width: 0;

    width: auto;

}

input[type="date"],
input[type="time"] {

    width: 100%;

    max-width: 100%;

    min-width: 0;

    box-sizing: border-box;

}

.btnCompte {
    display: block;
    width: fit-content;
    max-width: 90%;
    margin: 0 auto 18px;
    padding: 11px 18px;
    border: 1px solid rgba(126, 173, 255, .75);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(45, 115, 255, .24), rgba(108, 77, 255, .20));
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
    color: white;
    font-size: clamp(13px, 3.5vw, 16px);
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btnCompte:hover {
    background: linear-gradient(135deg, rgba(45, 115, 255, .42), rgba(108, 77, 255, .36));
    box-shadow: 0 10px 26px rgba(45, 115, 255, .2);
    transform: translateY(-1px);
}

.btnCompte:active,
.pageCompte button:active {
    transform: scale(.98);
}

.actionsAccueil {
    display: grid;
    grid-template-columns:
        minmax(120px, 1.8fr)
        minmax(52px, .85fr)
        minmax(52px, .85fr);
    align-items: center;
    justify-content: center;
    width: min(90%, 500px);
    gap: clamp(8px, 2.5vw, 12px);
    margin: 0 auto 18px;
}

.accueil .header {
    padding-bottom: clamp(34px, 7vw, 48px);
}

.accueil .actionsAccueil {
    margin-bottom: 30px;
}

.accueil .btnDemarrerSeance {
    position: relative;
    margin: 0 auto 30px;
    border-color: rgba(149, 239, 180, .7);
    background: linear-gradient(135deg, #1FA968, #147849);
    box-shadow:
        inset 0 1px 0 rgba(231, 255, 240, .2),
        0 12px 28px rgba(23, 152, 92, .3);
}

.indicateurLive {
    position: absolute;
    top: 50%;
    right: clamp(10px, 3vw, 16px);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .2);
    color: #FFF4F4;
    font-size: .58em;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1;
    transform: translateY(-50%);
}

.indicateurLive i {
    width: .65em;
    height: .65em;
    border-radius: 50%;
    background: #FF4A4A;
    box-shadow: 0 0 8px rgba(255, 74, 74, .9);
}

.accueil .btnCreerSeance {
    margin: 0 auto 12px;
}

/* Parcours de séance en direct. */
.pageDemarrageSeance {
    text-align: center;
    margin-top: 24px;
}

.pageDemarrageSeance .titrePage {
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .pageDemarrageSeance {
        margin-top: 8px;
    }
}

/* Palette d'actions : bleu-violet par défaut, vert pour valider, rouge pour supprimer. */
button {
    background: linear-gradient(135deg, #2D73FF, #6754EF);
    color: white;
}

.btnSupprimer,
.btnSupprimerSeance,
.btnSupprimerExo,
.btnSupprimerSerie,
.btnSupprimerCompte,
.btnSupprimerLive,
.btnTerminerLive {
    border-color: rgba(255, 158, 158, .58) !important;
    background: linear-gradient(135deg, #E24A46, #A92137) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .16),
        0 10px 23px rgba(178, 36, 55, .28) !important;
    color: white !important;
}

.btnTerminerLive {
    display: block;
    width: min(90%, 500px);
    min-height: 56px;
    margin: 14px auto 0;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: clamp(18px, 4.5vw, 21px);
    font-weight: 800;
}

/* Les actions qui valident ou enregistrent une information utilisent le vert. */
.btnValiderAction,
.btnContinuer,
.btnValiderModal {
    border-color: rgba(145, 245, 181, .72) !important;
    background: linear-gradient(135deg, #20AE6A, #137746) !important;
    box-shadow:
        inset 0 1px 0 rgba(235, 255, 241, .24),
        0 12px 28px rgba(23, 152, 92, .32) !important;
}

.sousTitreDemarrage {
    max-width: 430px;
    margin: 0 auto 30px;
    color: #C3CBD8;
    font-size: clamp(15px, 3.8vw, 17px);
    line-height: 1.45;
}

.choixDemarrage,
.carteSeanceProgrammee {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-height: 112px;
    margin: 14px auto;
    padding: 18px;
    border: 1px solid rgba(157, 184, 255, .38);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(42, 55, 92, .96), rgba(27, 29, 47, .98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .11), 0 12px 28px rgba(0, 0, 0, .22);
    color: white;
    text-align: left;
}

.choixDemarrage.choixLive {
    border-color: rgba(126, 231, 168, .56);
    background: linear-gradient(135deg, rgba(30, 142, 84, .9), rgba(20, 92, 62, .98));
}

.pageDemarrageSeance .choixDemarrage {
    margin-block: 17px;
}

.pageDemarrageSeance .titrePage + .choixDemarrage {
    margin-top: 30px;
}

.pageDemarrageSeance .choixDemarrage + .btnModeInvite {
    margin-top: 30px;
}

.iconeChoixDemarrage {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .15);
    color: #A9C9FF;
}

.iconeChoixDemarrage svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.choixLive .iconeChoixDemarrage {
    color: #FF5A5A;
    text-shadow: 0 0 10px rgba(255, 74, 74, .85);
}

.choixDemarrage span:nth-child(2),
.carteSeanceProgrammee {
    min-width: 0;
}

.choixDemarrage strong,
.carteSeanceProgrammee strong {
    display: block;
    font-size: clamp(15px, 4.7vw, 20px);
    line-height: 1.18;
}

.choixDemarrage strong {
    white-space: nowrap;
    letter-spacing: -.025em;
}

.choixDemarrage small,
.carteSeanceProgrammee small {
    display: block;
    margin-top: 5px;
    color: #C4CDDC;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.choixDemarrage b,
.carteSeanceProgrammee b {
    color: #D7E4FF;
    font-size: 30px;
    font-weight: 400;
    line-height: .7;
}

.listeSeancesProgrammees {
    margin: 0 auto 24px;
}

.pageSeancesFavorites .listeSeancesProgrammees {
    margin-top: 32px;
}

.pageSeancesProgrammees .listeSeancesProgrammees {
    margin-top: 32px;
}

.pageLivePreparation .titrePage {
    margin-bottom: 32px;
}

.carteSeanceProgrammee {
    display: block;
    padding-right: 48px;
}

.carteSeanceProgrammee b {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
}

.dateSeanceProgrammee {
    display: block;
    margin-bottom: 7px;
    color: #9FBCFF;
    font-size: 13px;
    font-weight: 800;
}

.etatVideDemarrage {
    padding: 30px 20px;
    border: 1px dashed rgba(165, 184, 220, .38);
    border-radius: 20px;
    background: rgba(29, 31, 45, .62);
    color: #C6CFDC;
}

.etatVideDemarrage span,
.etatVideDemarrage strong {
    display: block;
}

.etatVideDemarrage span {
    margin-bottom: 10px;
    color: #9FBCFF;
    font-size: 30px;
}

.etatVideDemarrage strong { color: white; font-size: 18px; }
.etatVideDemarrage p { margin: 10px 0 0; line-height: 1.45; }

.etatVideProgrammee {
    display: grid;
    min-height: 132px;
    place-items: center;
    padding: 28px 22px;
    text-align: center;
}

.etatVideProgrammee strong {
    font-size: clamp(22px, 5.8vw, 28px);
    line-height: 1.2;
}

.pageConfigurationLive .titrePage {
    overflow-wrap: anywhere;
}

.pageConfigurationLive .champFormulaire {
    margin-bottom: 16px;
}

.objectifCardioFixeLive {
    margin: 0 0 16px;
    color: #C7D0DE;
    font-weight: 600;
}

.optionLivePoidsDuCorps {
    margin: -4px 0 18px;
}

.poidsSeriesLive {
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}

.poidsSeriesLive legend {
    margin-bottom: 10px;
}

.grillePoidsSeriesLive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.champPoidsSerieLive span {
    display: block;
    margin-bottom: 6px;
    color: #C7D0DE;
    font-size: 13px;
    font-weight: 600;
}

.pageConfigurationLive .champPoidsSerieLive .champFormulaire {
    margin-bottom: 0;
}

.ligneReposLive { margin: 2px 0 20px; }

.btnGoLive {
    border-color: rgba(145, 245, 181, .72) !important;
    background: linear-gradient(135deg, #20AE6A, #137746) !important;
    box-shadow: inset 0 1px 0 rgba(235, 255, 241, .24), 0 13px 28px rgba(23, 152, 92, .32) !important;
}

.pageRecapSeance {
    text-align: center;
}

.pageRecapSeance .titrePage {
    margin-bottom: 26px;
}

.recapEntete {
    margin: 0 auto 18px;
    padding: 18px;
    border: 1px solid rgba(141, 175, 255, .4);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(40, 49, 81, .94), rgba(25, 28, 44, .98));
}

.recapEntete strong,
.recapEntete span {
    display: block;
}

.recapEntete strong {
    color: white;
    font-size: clamp(19px, 5vw, 24px);
    overflow-wrap: anywhere;
}

.recapEntete span {
    margin-top: 7px;
    color: #B7C9F8;
    font-size: 14px;
    font-weight: 700;
}

.recapEntete .indicateurFavoriRecap {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin: 9px auto 0;
    color: #FFE09A;
}

.indicateurFavoriRecap svg {
    width: 22px;
    height: 22px;
    fill: #F5B92D;
    stroke: #FFE7A8;
    stroke-linejoin: round;
    stroke-width: 1.5;
    filter: drop-shadow(0 2px 6px rgba(225, 166, 36, .38));
}

.listeRecapExercices {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.recapExercice {
    padding: 16px;
    border: 1px solid rgba(173, 188, 222, .23);
    border-radius: 17px;
    background: rgba(31, 34, 49, .78);
}

.recapExercice > strong {
    display: block;
    margin-bottom: 10px;
    color: white;
    font-size: 17px;
}

.recapExercice > div {
    display: grid;
    gap: 6px;
    color: #C2CDDE;
    font-size: 14px;
    font-weight: 600;
}

.pageRecapSeance .btnModeInvite {
    display: block;
    width: min(78%, 380px);
    min-height: 48px;
    margin: 22px auto 0;
    padding: 12px 16px;
    border-color: rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: #25272D;
    color: #C7CFDC;
    font-size: clamp(14px, 3.8vw, 16px);
    font-weight: 700;
}

.pageLiveActive {
    text-align: center;
}

#chronoSeanceLive {
    position: fixed !important;
    z-index: 2147483647 !important;
    top: calc(10px + env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 2px solid rgba(127, 244, 174, .78);
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, #315E54, #152A27 70%);
    box-shadow:
        inset 0 1px 0 rgba(238, 255, 245, .18),
        0 9px 24px rgba(11, 74, 47, .34),
        0 0 0 4px rgba(31, 169, 104, .12);
    color: white;
    pointer-events: none;
    visibility: visible !important;
    opacity: 1 !important;
}

#chronoSeanceLive span {
    align-self: end;
    margin-bottom: -4px;
    color: #A8F2C5;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

#chronoSeanceLive strong {
    align-self: start;
    margin-top: -3px;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.04em;
}

.badgeLiveActif,
.badgeReposLive {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 5px auto 11px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 142, 142, .5);
    border-radius: 999px;
    background: rgba(125, 29, 38, .32);
    color: #FFB0B0;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.badgeLiveActif i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF4A4A;
    box-shadow: 0 0 10px rgba(255, 74, 74, .9);
}

.pageLiveActive .titrePage {
    margin-bottom: 16px;
    font-size: clamp(33px, 9vw, 44px);
}

.numeroExerciceLive {
    margin: 0 0 3px;
    color: #9FBCFF;
    font-size: clamp(11px, 3.2vw, 14px);
    font-weight: 900;
    letter-spacing: .11em;
}

.progressionLive {
    margin-bottom: 17px;
    color: #AAC7FF;
    font-size: clamp(18px, 5.2vw, 22px);
    font-weight: 900;
    letter-spacing: -.02em;
}

.carteSerieLive {
    display: grid;
    place-items: center;
    min-height: 142px;
    margin: 0 auto 26px;
    padding: 25px 18px;
    border: 1px solid rgba(139, 174, 255, .46);
    border-radius: 24px;
    background: linear-gradient(145deg, #242C49, #171A29);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 34px rgba(0, 0, 0, .28);
}

.carteSerieLive strong {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 92px;
    margin: 0;
    color: white;
    font-size: clamp(27px, 8vw, 37px);
    line-height: 1.12;
    text-align: center;
    overflow-wrap: anywhere;
}

.btnFinishLive {
    border-color: rgba(255, 190, 116, .76) !important;
    background: linear-gradient(135deg, #ED8A2F, #BE4B22) !important;
    box-shadow: inset 0 1px 0 rgba(255, 240, 219, .22), 0 13px 28px rgba(210, 99, 34, .29) !important;
}

.energieGo {
    position: fixed;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    overflow: hidden;
}

.energieGo span {
    position: absolute;
    color: #FFFFFF;
    font-size: clamp(15px, 5.2vw, 28px);
    font-weight: 950;
    font-style: italic;
    letter-spacing: .04em;
    text-shadow: 0 3px 14px rgba(45, 115, 255, .9), 0 0 24px rgba(103, 84, 239, .75);
    opacity: 0;
    animation: energieGoPop 1.35s cubic-bezier(.16, .84, .25, 1) infinite;
}

.energieGoUn { top: 13%; left: 7%; transform: rotate(-16deg); animation-delay: -.15s !important; }
.energieGoDeux { top: 19%; right: 6%; transform: rotate(13deg); animation-delay: -.48s !important; }
.energieGoTrois { top: 33%; left: 3%; transform: rotate(11deg); animation-delay: -.92s !important; }
.energieGoQuatre { top: 36%; right: 3%; transform: rotate(-10deg); animation-delay: -.28s !important; }
.energieGoCinq { top: 48%; left: 8%; transform: rotate(-4deg); animation-delay: -.72s !important; }
.energieGoSix { top: 51%; right: 7%; transform: rotate(9deg); animation-delay: -1.1s !important; }
.energieGoSept { top: 62%; left: 4%; transform: rotate(-12deg); animation-delay: -.38s !important; }
.energieGoHuit { top: 66%; right: 4%; transform: rotate(13deg); animation-delay: -.84s !important; }
.energieGoNeuf { top: 75%; left: 14%; transform: rotate(8deg); animation-delay: -.06s !important; }
.energieGoDix { top: 78%; right: 9%; transform: rotate(-8deg); animation-delay: -.61s !important; }
.energieGoOnze { top: 27%; left: 40%; transform: rotate(-5deg); animation-delay: -1.23s !important; }
.energieGoDouze { top: 71%; left: 38%; transform: rotate(5deg); animation-delay: -.55s !important; }

.energieGoDeux,
.energieGoSept,
.energieGoOnze { color: #B8CBFF; }

.energieGoQuatre,
.energieGoHuit,
.energieGoDouze { color: #B8F7D1; }

.energieGoSix,
.energieGoDix { color: #FFD18B; }

@keyframes energieGoPop {
    0% { opacity: 0; scale: .35; }
    18% { opacity: 1; scale: 1.16; }
    48% { opacity: 1; scale: 1; }
    70% { opacity: 0; scale: 1.28; }
    100% { opacity: 0; scale: .35; }
}

@media (prefers-reduced-motion: reduce) {
    .energieGo { display: none; }
}

.btnFavori {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    min-height: 42px;
    margin: 0;
    padding: 0;
    border-color: rgba(186, 199, 226, .34);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #CDD4E0;
}

.btnFavori svg {
    width: 20px;
    height: 20px;
    fill: transparent;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.btnFavori.actif {
    border-color: rgba(255, 214, 115, .76);
    background: linear-gradient(135deg, rgba(187, 131, 24, .42), rgba(94, 61, 14, .38));
    color: #FFE09A;
    box-shadow: inset 0 1px 0 rgba(255, 245, 205, .18), 0 8px 20px rgba(192, 136, 28, .2);
}

.btnFavori.actif svg {
    fill: #F5B92D;
    stroke: #FFE7A8;
}

.btnFavori + .btnPrincipal {
    margin-top: 28px !important;
}

.enteteTitreSeance {
    position: relative;
    width: min(100%, 560px);
    margin: 0 auto;
}

.enteteTitreSeance .titrePage {
    padding-inline: 48px;
}

.enteteTitreSeance .btnFavori {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.pageLiveActive .btnModeInvite,
.btnSupprimerLive {
    display: block;
    width: min(78%, 380px);
    min-height: 48px;
    margin: 12px auto 0;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: clamp(14px, 3.8vw, 16px);
    font-weight: 700;
}

.pageLiveActive .btnGoLive + .btnModeInvite {
    margin-top: 30px;
}

.pageLiveActive .btnModeInvite {
    border-color: rgba(255, 255, 255, .12);
    background: #25272D;
    color: #C7CFDC;
}

.btnSupprimerLive {
    border-color: rgba(255, 156, 156, .56);
    background: linear-gradient(135deg, #DE4242, #A92438);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 22px rgba(178, 36, 55, .25);
    color: white;
}

.pageReposLive { padding-top: 42px; }

.badgeReposLive {
    border-color: rgba(170, 196, 255, .48);
    background: rgba(68, 95, 173, .23);
    color: #BFD2FF;
}

.cadranReposLive {
    display: grid;
    place-items: center;
    width: min(62vw, 255px);
    aspect-ratio: 1;
    margin: 6px auto 24px;
    border: 8px solid #5E84FF;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #323E6B, #171A2B 68%);
    box-shadow: 0 0 0 7px rgba(91, 128, 255, .12), 0 18px 40px rgba(0, 0, 0, .34);
}

.cadranReposLive strong {
    color: white;
    font-size: clamp(39px, 13vw, 59px);
    letter-spacing: -.045em;
}

.pageReposLive p { margin: 0 0 25px; color: #C7D0DE; }

.iconeFinLive {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin: 20px auto 22px;
    border: 1px solid rgba(139, 239, 178, .75);
    border-radius: 50%;
    background: linear-gradient(135deg, #20AE6A, #137746);
    box-shadow: 0 12px 28px rgba(23, 152, 92, .3);
    color: white;
    font-size: 35px;
    font-weight: 900;
}

.pageFinLive {
    position: relative;
    overflow: hidden;
}

.iconeFinCelebration {
    position: relative;
    z-index: 2;
    animation: entreeCelebration .65s cubic-bezier(.2, 1.5, .5, 1) both;
}

.feuArtificeFin {
    position: relative;
    width: min(100%, 430px);
    height: 180px;
    margin: 0 auto -120px;
    pointer-events: none;
}

.fuseeFeu {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    opacity: 0;
    animation: explosionFeu 1.8s ease-out infinite;
}

.fuseeFeuUn {
    top: 58px;
    left: 22%;
    color: #FFCF4A;
    animation-delay: 0s;
}

.fuseeFeuDeux {
    top: 28px;
    left: 51%;
    color: #72F2A7;
    animation-delay: .55s;
}

.fuseeFeuTrois {
    top: 65px;
    left: 79%;
    color: #8CA9FF;
    animation-delay: 1.05s;
}

@keyframes explosionFeu {
    0% {
        opacity: 0;
        transform: scale(.25);
        box-shadow: 0 0 currentColor;
    }
    12% { opacity: 1; }
    58% {
        opacity: 1;
        transform: scale(1);
        box-shadow:
            0 -52px currentColor,
            37px -37px currentColor,
            52px 0 currentColor,
            37px 37px currentColor,
            0 52px currentColor,
            -37px 37px currentColor,
            -52px 0 currentColor,
            -37px -37px currentColor,
            19px -47px #FF6B8B,
            47px -19px #FF6B8B,
            19px 47px #FF6B8B,
            -47px 19px #FF6B8B;
    }
    100% {
        opacity: 0;
        transform: scale(1.22);
        box-shadow:
            0 -68px transparent,
            48px -48px transparent,
            68px 0 transparent,
            48px 48px transparent,
            0 68px transparent,
            -48px 48px transparent,
            -68px 0 transparent,
            -48px -48px transparent;
    }
}

@keyframes entreeCelebration {
    from { opacity: 0; transform: scale(.35) rotate(-18deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
    .fuseeFeu,
    .iconeFinCelebration {
        animation: none;
    }

    .fuseeFeu { opacity: .7; }
}

.actionsAccueil .btnCompte {
    display: grid;
    place-items: center;
    width: 100%;
    max-width: none;
    min-height: 48px;
    margin: 0;
    padding: 8px 4px;
    font-size: clamp(10px, 2.8vw, 14px);
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.actionsAccueil .btnCompte:not(.btnMinuteur):not(.btnStats):not(.btnPremium) {
    white-space: nowrap;
    overflow-wrap: normal;
}

.btnMinuteur,
.btnStats,
.btnPremium {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 44px;
    padding: 8px;
}

.btnMinuteur svg,
.btnStats svg,
.btnPremium svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.btnStats svg .barreStats {
    fill: currentColor;
    stroke: none;
}

.btnPremium {
    border-color: rgba(255, 220, 125, .82) !important;
    background: linear-gradient(135deg, #D89D21, #8C5810) !important;
    box-shadow: inset 0 1px 0 rgba(255, 245, 196, .4), 0 8px 20px rgba(202, 143, 23, .3) !important;
    color: #FFF9DE;
}

.btnPremium svg {
    stroke-width: 1.8;
}

.pagePremium {
    text-align: center;
}

.pagePremium > p {
    margin: -12px auto 30px;
    color: #D8D0BB;
}

.listePremium {
    display: grid;
    gap: 12px;
    text-align: left;
}

.listePremium article {
    display: grid;
    gap: 5px;
    padding: 17px;
    border: 1px solid rgba(255, 215, 121, .2);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(91, 64, 21, .5), rgba(31, 31, 31, .94));
}

.listePremium strong { color: #FFE7A0; font-size: 18px; }
.listePremium span { color: #CFC5AD; font-size: 14px; }

.pageStats {
    max-width: 650px;
}

.sousTitreStats {
    margin: 4px auto 34px;
    color: #BFC6D0;
    text-align: center;
}

.profilStats {
    margin: 0 0 18px;
    padding: 17px;
    border: 1px solid rgba(150, 181, 255, .22);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(47, 57, 91, .7), rgba(31, 31, 31, .94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .09),
        0 8px 18px rgba(0, 0, 0, .22);
}

.enteteProfilStats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 17px;
}

.enteteProfilStats h3 {
    margin: 0;
    color: white;
    font-size: clamp(20px, 5vw, 24px);
    font-weight: 800;
    text-shadow: 0 4px 14px rgba(103, 87, 255, .28);
}

.btnModifierProfil {
    width: auto;
    min-height: 38px;
    margin: 0;
    padding: 8px 13px;
    border-color: rgba(173, 199, 255, .52);
    border-radius: 12px;
    background: linear-gradient(135deg, #2d73ff, #8b58ff);
    color: white;
    font-size: 14px;
    font-weight: 700;
}

.infosProfilStats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.infosProfilStats div {
    min-width: 0;
}

.infosProfilStats span {
    display: block;
    margin-bottom: 5px;
    color: #BFC6D0;
    font-size: clamp(11px, 3vw, 13px);
    font-weight: 600;
}

.infosProfilStats strong {
    display: block;
    overflow-wrap: anywhere;
    color: white;
    font-size: clamp(13px, 3.8vw, 17px);
    line-height: 1.2;
}

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

.carteStat {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 116px;
    padding: 17px;
    border: 1px solid rgba(150, 181, 255, .18);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(47, 57, 91, .62), rgba(31, 31, 31, .94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 8px 18px rgba(0, 0, 0, .22);
}

.carteStat span {
    color: #BFC6D0;
    font-size: clamp(12px, 3.4vw, 14px);
    font-weight: 600;
    line-height: 1.25;
}

.carteStat strong {
    margin-top: 13px;
    color: white;
    font-size: clamp(17px, 4.6vw, 22px);
    font-weight: 800;
    line-height: 1.16;
    overflow-wrap: anywhere;
    text-shadow: 0 4px 14px rgba(103, 87, 255, .26);
}

.pageStats .btnModeInvite {
    display: block;
    width: min(78%, 380px);
    margin: 28px auto 0;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: #25272d;
    color: #BFC6D0;
    font-size: clamp(14px, 3.8vw, 16px);
    font-weight: 600;
}

.ongletsStats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 10px 0 30px;
    padding: 5px;
    border: 1px solid rgba(150, 181, 255, .15);
    border-radius: 17px;
    background: rgba(255, 255, 255, .05);
}

.ongletsStats button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 8px 4px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    color: #AEB6C4;
    font-size: clamp(11px, 3.2vw, 14px);
    font-weight: 700;
    line-height: 1.1;
    overflow-wrap: anywhere;
    white-space: normal;
}

.ongletsStats button.actif {
    border-color: rgba(175, 201, 255, .5);
    background: linear-gradient(135deg, #2d73ff, #8b58ff);
    box-shadow: 0 7px 18px rgba(64, 95, 255, .3);
    color: white;
}

.sectionPoids {
    margin-top: 20px;
    padding: 17px;
    border: 1px solid rgba(150, 181, 255, .22);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(47, 57, 91, .7), rgba(31, 31, 31, .94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 8px 18px rgba(0, 0, 0, .22);
}

.graphiquePoids {
    display: block;
    width: 100%;
    height: auto;
    margin: 8px 0 16px;
    overflow: visible;
}

.grilleGraphique {
    fill: none;
    stroke: rgba(196, 210, 255, .16);
    stroke-width: 1;
}

.courbePoids {
    fill: none;
    stroke: #8b72ff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
    filter: drop-shadow(0 4px 8px rgba(96, 90, 255, .5));
}

.pointPoids {
    fill: #F4F7FF;
    stroke: #715EFF;
    stroke-width: 3;
    transition: r .18s ease, fill .18s ease, filter .18s ease;
}

.pointPoidsInteractif {
    cursor: pointer;
    outline: none;
}

.zonePointPoids {
    fill: transparent;
}

.pointPoidsInteractif:hover .pointPoids,
.pointPoidsInteractif:focus .pointPoids {
    fill: #FFF;
    filter: drop-shadow(0 0 7px rgba(135, 112, 255, .95));
    r: 7px;
}

.graphiquePoids text {
    fill: #9DA7B8;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
}

.graphiqueVide {
    display: grid;
    place-items: center;
    min-height: 150px;
    margin: 8px 0 16px;
    padding: 18px;
    border: 1px dashed rgba(173, 199, 255, .25);
    border-radius: 16px;
    color: #BFC6D0;
    font-size: 14px;
    text-align: center;
}

.listeMesuresPoids {
    display: grid;
    gap: 8px;
}

.mesurePoids {
    display: grid;
    grid-template-columns: 1fr auto 34px;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .06);
}

.mesurePoids span { color: #BFC6D0; font-size: 14px; }
.mesurePoids strong { color: white; font-size: 16px; }
.mesurePoids button {
    width: 34px;
    min-height: 34px;
    margin: 0;
    padding: 0;
    border-color: rgba(255, 151, 151, .36);
    border-radius: 10px;
    background: rgba(204, 59, 70, .22);
    color: #FFD1D1;
    font-size: 21px;
    line-height: 1;
}

.noteMetabolisme {
    margin: 19px 0 0;
    color: #9DA7B8;
    font-size: 13px;
    font-style: italic;
    text-align: center;
}

.tropheesVide {
    padding: 48px 22px;
    border: 1px solid rgba(150, 181, 255, .2);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(47, 57, 91, .55), rgba(31, 31, 31, .94));
    text-align: center;
}

.tropheesVide > div { font-size: 50px; }
.tropheesVide h3 { margin: 15px 0 8px; color: white; font-size: 24px; }
.tropheesVide p { margin: 0; color: #BFC6D0; }

.grilleTrophees {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.tropheeVerrouille {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    background:
        radial-gradient(circle at 35% 28%, rgba(120, 128, 160, .15), transparent 32%),
        linear-gradient(145deg, #24262D, #101116);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .06),
        inset 0 -12px 18px rgba(0, 0, 0, .25),
        0 8px 18px rgba(0, 0, 0, .28);
    color: #7D8490;
    font-size: clamp(27px, 8vw, 42px);
    font-weight: 800;
    text-shadow: 0 3px 10px rgba(0, 0, 0, .65);
}

@media (max-width: 360px) {
    .grilleStats {
        grid-template-columns: 1fr;
    }

    .infosProfilStats {
        grid-template-columns: 1fr;
    }
}

/* Évite le décalage horizontal sur PC quand un onglet change la hauteur de page. */
@media (min-width: 769px) {
    html {
        scrollbar-gutter: stable;
    }
}

.minuteurReposModal {
    position: relative;
    width: min(92vw, 430px);
    padding-top: 38px;
    text-align: center;
}

.fermerMinuteur {
    position: absolute;
    top: 13px;
    right: 13px;
    display: grid;
    place-items: center;
    width: 36px;
    min-height: 36px;
    margin: 0;
    padding: 0;
    border-color: rgba(255, 255, 255, .17);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: white;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
}

.cadranMinuteur {
    --progression: 0deg;
    display: grid;
    place-items: center;
    width: min(54vw, 220px);
    aspect-ratio: 1;
    margin: 0 auto 28px;
    padding: 10px;
    border-radius: 50%;
    background: conic-gradient(#2d73ff 0deg, #8b58ff var(--progression), rgba(255, 255, 255, .10) var(--progression), rgba(255, 255, 255, .10) 360deg);
    box-shadow: 0 0 30px rgba(88, 87, 255, .22);
}

.cadranMinuteurInterieur {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #1F1F1F;
    box-shadow: inset 0 1px 8px rgba(0, 0, 0, .42);
}

.cadranMinuteur strong {
    color: white;
    font-size: clamp(36px, 11vw, 50px);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.045em;
    line-height: 1;
}

.reglageMinuteur {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: 10px;
    margin: 0 auto;
}

.reglageMinuteur label {
    margin: 0;
    color: #BFC6D0;
    font-size: 14px;
    text-align: left;
}

.reglageMinuteur>span {
    padding-bottom: 12px;
    color: #A976FF;
    font-size: 28px;
    font-weight: 800;
}

.reglageMinuteur input {
    width: 100%;
    height: 52px;
    margin-top: 7px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: #2A2A2A;
    color: white;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.actionsMinuteur {
    margin-top: 24px;
}

.pageCompte .titrePage {
    margin-bottom: 28px;
}

.emailCompte {
    margin: 0 auto 28px;
    text-align: center;
    color: #BFC6D0;
    overflow-wrap: anywhere;
}

.statutSynchronisation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 30px;
    padding: 9px 13px;
    border: 1px solid rgba(92, 217, 151, .28);
    border-radius: 999px;
    background: rgba(43, 137, 87, .14);
    color: #BDECCF;
    font-size: clamp(13px, 3.6vw, 15px);
    font-weight: 700;
}

.statutSynchronisation span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5CDB91;
    box-shadow: 0 0 10px rgba(92, 219, 145, .75);
}

.statutSynchronisation.horsLigne {
    border-color: rgba(255, 178, 89, .3);
    background: rgba(130, 83, 30, .16);
    color: #FFD39D;
}

.statutSynchronisation.horsLigne span {
    background: #FFB259;
    box-shadow: 0 0 10px rgba(255, 178, 89, .7);
}

.btnSupprimerCompte {
    display: block;
    width: min(90%, 500px);
    min-height: 56px;
    margin: 30px auto 0;
    padding: 14px 20px;
    border: 1px solid rgba(255, 150, 150, .5);
    border-radius: 16px;
    background: linear-gradient(135deg, #c83b46, #9e2632);
    color: white;
    font-size: clamp(16px, 4vw, 19px);
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(180, 35, 51, .27);
}

.texteAlerteCompte {
    margin: -10px auto 30px;
    color: #FFD1D1;
    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.5;
    text-align: center;
}

.pageCommunication {
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 96px);
}

.pageCommunication .titrePage {
    margin-bottom: clamp(30px, 6vh, 54px);
}

.formCommunication {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.pageCommunication .blocChamp {
    width: 100%;
}

.blocMessageCommunication {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-top: 18px;
}

.enteteMessageCommunication {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.enteteMessageCommunication span {
    color: #AAB6CD;
    font-size: 13px;
    font-weight: 700;
}

#messageCommunication {
    flex: 1;
    width: 100%;
    min-height: clamp(190px, 32dvh, 390px);
    margin-top: 10px;
    padding: 16px;
    resize: none;
    line-height: 1.5;
}

.actionsCommunication {
    margin-top: 28px;
}

.actionsCommunication .btnContinuer,
.actionsCommunication .btnModeInvite {
    width: 100%;
    margin: 0;
}

.actionsCommunication .btnModeInvite {
    margin-top: 12px;
}

.ecranDemarrage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: clamp(28px, 7vh, 56px);
}

.pageCompte button {
    position: relative;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.pageCompte .btnContinuer {
    margin-top: 26px;
    border: 1px solid rgba(160, 193, 255, .6);
    background: linear-gradient(135deg, #2d73ff, #6754ef);
    box-shadow: 0 12px 28px rgba(45, 115, 255, .34);
}

.pageCompte .btnPrincipal {
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .09);
    box-shadow: none;
}

.ecranDemarrage .btnPrincipal {
    border-color: rgba(160, 193, 255, .6);
    background: linear-gradient(135deg, #2d73ff, #6754ef);
    box-shadow: 0 12px 28px rgba(45, 115, 255, .34);
}

.ecranDemarrage .btnContinuer,
.ecranDemarrage .btnPrincipal {
    width: 100%;
    max-width: 100%;
    height: 64px;
    min-height: 64px;
    padding: 0 18px;
    box-sizing: border-box;
    font-size: 22px;
}

@media (max-width: 768px) {
    .ecranDemarrage .btnContinuer,
    .ecranDemarrage .btnPrincipal {
        height: 52px;
        min-height: 52px;
        font-size: 18px;
    }
}

.pageCompte .btnModeInvite {
    width: min(78%, 380px);
    margin: 30px auto 0;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: #25272d;
    color: #BFC6D0;
    font-size: clamp(14px, 3.8vw, 16px);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
}

.pageCompte button:hover {
    transform: translateY(-2px);
}

.pageCompte .btnModeInvite:hover {
    background: #30333b;
    color: white;
}

.pageMonCompte .btnContinuer,
.pageMonCompte .btnPrincipal,
.pageMonCompte .btnSupprimerCompte,
.pageMonCompte .btnModeInvite {
    width: 100%;
    max-width: 100%;
    min-height: 64px;
    height: 64px;
    margin: 12px auto 0;
    padding: 0 18px;
    box-sizing: border-box;
}

.pageMonCompte .btnModifierMotDePasse {
    border-color: rgba(160, 193, 255, .62) !important;
    background: linear-gradient(135deg, #2D73FF, #6754EF) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        0 10px 24px rgba(45, 115, 255, .28) !important;
}

@media (max-width: 768px) {
    .pageMonCompte .btnContinuer,
    .pageMonCompte .btnPrincipal,
    .pageMonCompte .btnSupprimerCompte,
    .pageMonCompte .btnModeInvite {
        min-height: 52px;
        height: 52px;
    }
}

.titreDemarrage {
    margin: 0 0 clamp(38px, 8vh, 64px);
    color: white;
    font-size: clamp(34px, 10vw, 48px);
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.ligneDateHeure input[type="date"],
.ligneDateHeure input[type="time"] {
    padding-inline: 8px;
    font-size: clamp(14px, 3.2vw, 20px);
}

/* ===== Séance - v1 ===== */


.grilleExercices {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 420px));
    justify-content: center;
    gap: 28px;
    margin: 40px auto;
}

.exo {

    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 16px;
    background: #1F1F1F;
    border-radius: 18px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .25);

}

.exo h3 {

    margin: 0;

    font-size: 22px;

    font-weight: 700;

    flex: 1 1 auto;

    min-width: 0;

    line-height: 1.25;

    overflow-wrap: anywhere;

    word-break: break-word;

}

.exo>.btnAjouterSerie {
    width: 100%;
}

.btnFavoriExercice {
    flex-shrink: 0;
}

.actionsSerie {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin-top: 16px;
}

.actionsSerie .btnAjouterSerie {
    flex: 1 1 auto;
    width: auto;
    margin: 0;
}

.btnDupliquerSerie {
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    width: 52px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
}

.btnDupliquerSerie svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media(max-width:768px) {
    .grilleExercices {
        grid-template-columns: 1fr;
    }
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 1;
    cursor: pointer;
}

.btnSupprimerSeance {

    display: block;

    width: min(90%, 500px);

    height: 64px;

    margin: 12px auto 0 auto;

    border: none;

    border-radius: 18px;

    background: #e53935;

    color: white;

    font-size: 22px;

    font-weight: 700;

    cursor: pointer;

    transition: .2s;

    box-shadow: 0 6px 15px rgba(0, 0, 0, .18);

}

.btnSupprimerExo {

    width: 32px !important;

    height: 32px !important;

    min-width: 32px;

    padding: 0;

    margin: 0 0 0 auto;

    display: flex;

    justify-content: center;

    align-items: center;

    background: #e53935 !important;

    color: white;

    border: none;

    border-radius: 8px;

    font-size: 21px;

    font-weight: 700;

    line-height: 1;

    cursor: pointer;

    flex-shrink: 0;

    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);

}

.ligneSerie {

    display: flex;

    align-items: center;

    gap: 12px;

    margin: 12px 0;

}

.texteSerie {

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #2A2A2A;

    border-radius: 12px;

    padding: 12px 16px;

    font-size: 20px;

    font-weight: 600;

}

.tempsSerie {

    color: #FFFFFF;

    font-weight: 500;

}

.btnSupprimerSerie {

    width: 26px;

    height: 26px;

    min-width: 26px;

    padding: 0;

    margin: 0;

    border: none;

    border-radius: 8px;

    background: #e53935;

    color: white;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 17px;

    font-weight: 700;

    line-height: 1;

    cursor: pointer;

    flex-shrink: 0;

    box-shadow: 0 3px 8px rgba(0, 0, 0, .25);

}

.btnAjouterSerie {

    display: flex;

    justify-content: center;

    align-items: center;

    width: 88%;

    height: 48px;

    margin: 16px auto 0;

    padding: 0 16px;

    border: none;

    border-radius: 12px;

    background: linear-gradient(135deg, #2d73ff 0%, #6754ef 100%);

    color: white;

    font-size: 18px;

    font-weight: 700;

    line-height: 1;

    white-space: nowrap;

    cursor: pointer;

}

/* ===========================
   MODALE AJOUT DE SÉRIE
=========================== */

.overlayModal {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .75);

    display: flex;

    justify-content: center;

    align-items: center;

    z-index: 9999;

}

.fenetreModal {

    width: min(92vw, 520px);

    background: #1F1F1F;

    border-radius: 22px;

    padding: 28px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, .45);

}

.fenetreModal h2 {

    margin: 0 0 24px;

    text-align: center;

    font-size: 30px;

    font-weight: 800;

}

.champModal {

    width: 100%;

    height: 58px;

    margin-bottom: 20px;

    border: none;

    border-radius: 14px;

    background: #2A2A2A;

    color: white;

    text-align: center;

    font-size: 20px;

    font-weight: 600;

    padding: 0 16px;

}

.champModal:focus {

    outline: 2px solid #2d73ff;

}

.champModal:disabled {
    background: #181818;
    color: #7f8792;
    cursor: not-allowed;
    opacity: .7;
}

.optionPoidsDuCorps {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -4px 0 18px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.optionPoidsDuCorps input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #2d73ff;
}

.actionsModal {

    display: flex;

    gap: 14px;

    margin-top: 28px;

}

.actionsModal>button {

    flex: 1;

    margin: 0;

}

.btnAnnulerModal {

    background: #555;

}

.btnValiderModal {

    background: linear-gradient(135deg, #2d73ff 0%, #6754ef 100%);

}

/* ===========================
   RESPONSIVE MOBILE
   =========================== */

html {
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100dvh;
}

.cal,
.grilleExercices,
.listeExercices {
    min-width: 0;
}

.cal {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.jour,
.caseVide,
.event,
.texteSerie {
    min-width: 0;
}

@media (max-width: 768px) {

    #app {
        padding:
            calc(32px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    }

    button,
    input,
    select,
    textarea {
        font-size: 16px;
    }

    button {
        min-height: 44px;
    }

    .header {
        padding: 16px 0 12px;
    }

    .headerTexte {
        gap: 12px;
    }

    .logo {
        width: 52px;
        height: 52px;
    }

    .titreApp {
        font-size: clamp(28px, 9vw, 38px);
    }

    .nav {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 8px;
        margin-top: 16px;
    }

    .nav button {
        width: 44px;
        min-height: 44px;
        padding: 0;
    }

    .nav h2 {
        min-width: 0;
        margin: 0;
        font-size: clamp(18px, 5vw, 24px);
        text-align: center;
    }

    .cal {
        gap: 4px;
    }

    .jourTitre {
        padding: 8px 2px;
        border-radius: 9px;
        font-size: clamp(10px, 3vw, 13px);
    }

    .jour,
    .caseVide {
        min-height: 76px;
        padding: 5px;
        border-radius: 10px;
    }

    .jour>div:first-child {
        font-size: 13px;
    }

    .event {
        height: 22px;
        padding: 0 4px;
        margin-top: 3px;
        border-radius: 6px;
        font-size: 9px;
    }

    .pageEdition {
        margin: 16px auto;
        padding: 0;
    }

    .titrePage {
        margin: 12px 0 32px;
        font-size: clamp(25px, 8vw, 32px);
    }

    .champFormulaire,
    .champModal {
        height: 52px;
        margin-bottom: 14px;
        font-size: 16px;
    }

    label {
        font-size: 17px;
    }

    .btnPrincipal,
    .btnContinuer,
    .btnSupprimer,
    .btnSupprimerSeance {
        width: 100%;
        min-height: 52px;
        height: auto;
        margin-inline: auto;
        padding: 14px 16px;
        font-size: 18px;
    }

    .infosSeance {
        flex-wrap: wrap;
        gap: 8px 14px;
        margin: 28px 0;
        font-size: 17px !important;
    }

    .listeExercices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .boutonExercice {
        width: 100%;
        height: 60px;
        margin: 0;
        padding: 8px;
        font-size: 15px;
    }

    .grilleExercices {
        gap: 16px;
        margin: 24px auto;
    }

    .exo {
        padding: 14px;
        border-radius: 14px;
    }

    .exo h3 {
        font-size: 19px;
    }

    .ligneSerie {
        gap: 8px;
    }

    .ligneSerie strong {
        font-size: 14px;
        white-space: nowrap;
    }

    .texteSerie {
        gap: 8px;
        padding: 10px 12px;
        font-size: 16px;
    }

    .tempsSerie {
        white-space: nowrap;
    }

    .btnSupprimerSerie {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }

    .btnAjouterSerie {
        width: 100%;
        min-height: 48px;
        margin-top: 12px;
        font-size: 16px;
    }

    .actionsSerie {
        margin-top: 12px;
    }

    .overlayModal {
        align-items: flex-start;
        overflow-y: auto;
        padding:
            max(16px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    }

    .fenetreModal {
        width: 100%;
        max-height: calc(100dvh - 32px);
        margin: auto;
        padding: 20px 16px;
        overflow-y: auto;
        border-radius: 18px;
    }

    .fenetreModal h2 {
        margin-bottom: 18px;
        font-size: 25px;
    }

    .actionsModal {
        gap: 10px;
        margin-top: 18px;
    }

    .actionsModal>button {
        width: auto;
        min-width: 0;
        padding-inline: 8px;
        font-size: 15px;
    }
}

@media (max-width: 420px) {

    .ligneDateHeure {
        grid-template-columns: minmax(0, 1fr) minmax(92px, 0.58fr);
        gap: 10px;
    }

    .ligneDateHeure>div {
        min-width: 0;
    }

    .jour,
    .caseVide {
        min-height: 66px;
        padding: 4px;
    }

    .event {
        font-size: 8px;
    }

    .texteSerie {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

/* Échelle mobile homogène : du petit smartphone aux grands écrans Pro Max. */
@media (max-width: 768px) {

    #app {
        width: min(100%, 430px);
        padding-inline: clamp(16px, 4vw, 22px);
        padding-top: calc(clamp(28px, 7vw, 36px) + env(safe-area-inset-top));
        padding-bottom: calc(clamp(24px, 6vw, 32px) + env(safe-area-inset-bottom));
    }

    .header {
        padding-block: clamp(14px, 4vw, 20px);
    }

    .cal {
        gap: clamp(3px, 1vw, 5px);
    }

    .jourTitre {
        padding: clamp(6px, 2vw, 9px) 2px;
    }

    .jour,
    .caseVide {
        min-height: clamp(68px, 18vw, 76px);
        padding: clamp(4px, 1.3vw, 6px);
    }

    .event {
        height: clamp(20px, 5vw, 22px);
        font-size: clamp(8px, 2.3vw, 10px);
    }

    .champFormulaire,
    .champModal {
        height: clamp(50px, 13vw, 54px);
        padding-inline: clamp(12px, 4vw, 18px);
    }

    .btnPrincipal,
    .btnContinuer,
    .btnSupprimer,
    .btnSupprimerSeance {
        min-height: clamp(50px, 13vw, 56px);
        padding-block: clamp(12px, 3.5vw, 15px);
    }

    .exo {
        padding: clamp(12px, 4vw, 16px);
    }

    .fenetreModal {
        width: min(100%, 430px);
        padding: clamp(16px, 5vw, 22px);
    }
}

/* Accueil : sépare le calendrier de la navigation du mois. */
.cal {
    margin-top: clamp(20px, 5vw, 36px);
}

.nav button {
    border: 1px solid rgba(180, 207, 255, .85);
    border-radius: 16px;
    background: linear-gradient(135deg, #2d73ff, #6754ef);
    font-size: clamp(24px, 6vw, 30px);
    font-weight: 800;
    line-height: 1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .24),
        0 8px 18px rgba(45, 115, 255, .28);
}

/* Titres de l'interface : style commun, hors identité PumpPilot. */
.titrePage,
.fenetreModal h2 {
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -.035em;
    text-shadow: 0 5px 20px rgba(45, 115, 255, .18);
}

.titrePage::after,
.fenetreModal h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 48px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2d73ff, #8b72ff);
    box-shadow: 0 3px 10px rgba(69, 111, 255, .5);
    transform: translateX(-50%);
}

.nav h2 {
    color: #EEF4FF;
    font-weight: 800;
    letter-spacing: -.02em;
    text-shadow: 0 3px 14px rgba(45, 115, 255, .2);
}

.exo h3 {
    color: #F5F8FF;
    font-weight: 750;
    letter-spacing: -.015em;
}

/* Signature PumpPilot et dégradé commun aux titres. */
.titreApp,
.titreDemarrage {
    letter-spacing: -.055em;
    text-shadow: 0 6px 24px rgba(64, 98, 255, .22);
}

.btnSupprimerModal {
    border-color: rgba(255, 158, 158, .58) !important;
    background: linear-gradient(135deg, #E24A46, #A92137) !important;
}

.actionsModalTrois {
    gap: 9px;
}

.accueil .titreApp,
.titreDemarrage {
    font-size: clamp(42px, 11vw, 56px);
}

.titrePremium {
    margin-bottom: 30px;
    font-size: clamp(42px, 11vw, 56px);
    letter-spacing: -.055em;
    white-space: nowrap;
}

.titreAppPump {
    color: #FFFFFF;
    filter: drop-shadow(0 4px 12px rgba(102, 78, 255, .35));
}

.titreAppPilot {
    display: inline-block;
    margin-left: .01em;
    background: linear-gradient(100deg, #2d73ff 0%, #8b58ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 12px rgba(102, 78, 255, .35));
}

.titrePage,
.fenetreModal h2,
.nav h2,
.exo h3 {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: #FFFFFF;
    filter: drop-shadow(0 4px 12px rgba(102, 78, 255, .35));
}

.titrePage,
.fenetreModal h2 {
    padding-bottom: 0;
}

.titrePage::after,
.fenetreModal h2::after {
    content: none;
}

/* Actions de l'écran de création / modification d'une séance. */
.pageEdition:not(.pageCompte)>.btnContinuer {
    border-color: rgba(160, 193, 255, .6);
    background: linear-gradient(135deg, #2d73ff, #6754ef);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        0 12px 28px rgba(45, 115, 255, .34);
}

.pageEdition:not(.pageCompte)>.btnSupprimer {
    border-color: rgba(255, 158, 158, .52);
    background: linear-gradient(135deg, #e53935, #a82135);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .15),
        0 12px 28px rgba(190, 39, 56, .28);
}

/* Finition commune : aucune action ne déroge au langage visuel des boutons. */
button {
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        0 8px 20px rgba(0, 0, 0, .28);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

button:hover {
    filter: brightness(1.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .25),
        0 11px 24px rgba(0, 0, 0, .32);
    transform: translateY(-1px);
}

button:active {
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, .24),
        0 4px 10px rgba(0, 0, 0, .20);
    transform: scale(.98);
}

.titreAppPremium {
    display: inline-block;
    font-size: .5em;
    color: #FFD36B;
    text-shadow: 0 4px 14px rgba(222, 166, 38, .36);
}

/* Deux échelles communes : signature PumpPilot et titres d'écrans. */
.titreApp,
.titreDemarrage,
.titrePremium {
    font-size: clamp(42px, 11vw, 56px) !important;
}

.titrePage:not(.titrePremium),
.fenetreModal h2 {
    font-size: clamp(28px, 7.5vw, 36px) !important;
}

/* Retour tactile visuel : pression courte puis léger rebond. */
@media (prefers-reduced-motion: no-preference) {
    button {
        transition:
            transform .24s cubic-bezier(.34, 1.56, .64, 1),
            box-shadow .18s ease,
            filter .18s ease;
    }

    button:active {
        transform: scale(.94);
        transition-duration: .08s;
    }
}

@media (prefers-reduced-motion: no-preference) {
    body.secousseRepos #app,
    body.secousseRepos #modalMinuteurRepos {
        animation: secousseFinRepos .52s cubic-bezier(.36, .07, .19, .97) infinite;
    }

    @keyframes secousseFinRepos {
        0%, 100% { transform: translateX(0); }
        15% { transform: translateX(-7px) rotate(-.2deg); }
        30% { transform: translateX(7px) rotate(.2deg); }
        45% { transform: translateX(-5px) rotate(-.15deg); }
        60% { transform: translateX(5px) rotate(.15deg); }
        75% { transform: translateX(-2px); }
        90% { transform: translateX(2px); }
    }
}

.alerteFinRepos {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(5, 7, 13, .35);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.carteAlerteFinRepos {
    width: min(100%, 390px);
    padding: 30px 24px 24px;
    border: 1px solid rgba(164, 190, 255, .52);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(37, 47, 78, .98), rgba(26, 27, 42, .98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        0 22px 65px rgba(0, 0, 0, .56),
        0 0 34px rgba(90, 89, 255, .24);
    text-align: center;
}

.iconeAlerteFinRepos {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border: 1px solid rgba(183, 211, 255, .78);
    border-radius: 50%;
    background: linear-gradient(135deg, #2d73ff, #8b58ff);
    box-shadow: 0 9px 24px rgba(74, 94, 255, .42);
    color: white;
    font-size: 30px;
    font-weight: 800;
}

.carteAlerteFinRepos h2 {
    margin: 0;
    color: white;
    font-size: clamp(24px, 7vw, 31px);
    font-weight: 800;
    line-height: 1.16;
    text-shadow: 0 4px 16px rgba(113, 104, 255, .35);
}

.carteAlerteFinRepos p {
    margin: 12px 0 26px;
    color: #C7CDD9;
    font-size: 16px;
}

.carteAlerteFinRepos .btnValiderModal {
    width: 100%;
    min-height: 60px;
    margin: 0;
    border-color: rgba(176, 202, 255, .65);
    background: linear-gradient(135deg, #2d73ff, #8b58ff);
    box-shadow: 0 12px 28px rgba(64, 95, 255, .35);
    font-size: 21px;
}

@media (max-height: 600px) and (orientation: landscape) {

    #app {
        padding-top: calc(12px + env(safe-area-inset-top));
    }

    .header {
        padding-block: 8px;
    }

    .titrePage {
        margin-bottom: 20px;
    }
}

/* Date + heure : largeur totale identique aux champs et boutons du formulaire. */
@media (max-width: 768px) {

    .ligneDateHeure {
        display: flex;
        width: 100%;
        gap: clamp(14px, 4vw, 18px);
        margin-inline: auto;
    }

    .ligneDateHeure>div:first-child {
        flex: 1 1 0;
        width: 0;
    }

    .ligneDateHeure>div:last-child {
        flex: 0 0 clamp(88px, 24vw, 104px);
        width: clamp(88px, 24vw, 104px);
    }

    .ligneDateHeure input[type="date"],
    .ligneDateHeure input[type="time"] {
        min-width: 0 !important;
        padding-inline: 2px;
        font-size: clamp(11px, 2.8vw, 14px);
        overflow: hidden;
    }

    .ligneDateHeure input[type="date"]::-webkit-datetime-edit,
    .ligneDateHeure input[type="time"]::-webkit-datetime-edit,
    .ligneDateHeure input[type="date"]::-webkit-datetime-edit-fields-wrapper,
    .ligneDateHeure input[type="time"]::-webkit-datetime-edit-fields-wrapper {
        padding: 0;
    }

    .ligneDateHeure input[type="date"]::-webkit-calendar-picker-indicator,
    .ligneDateHeure input[type="time"]::-webkit-calendar-picker-indicator {
        width: 14px;
        margin: 0;
        padding: 0;
    }
}

/* Finition des actions non destructives et non validantes. */
.btnModeInvite,
.btnAnnulerModal,
.btnModifierRecap,
.nav button,
.boutonExercice,
.btnAjouterSerie,
.btnDupliquerSerie,
.tagMuscle:not(.tagActif),
.btnPrincipal:not(.btnDemarrerSeance):not(.btnGoLive):not(.btnFinishLive):not(.btnValiderAction) {
    border-color: rgba(160, 193, 255, .62) !important;
    background: linear-gradient(135deg, #2D73FF, #6754EF) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        0 10px 24px rgba(45, 115, 255, .28) !important;
    color: white !important;
}

/* Géométrie commune des actions textuelles. Les icônes, tags et contrôles
   compacts gardent volontairement leurs dimensions propres. */
.pageEdition > .btnPrincipal,
.pageEdition > .btnContinuer,
.pageEdition > .btnModeInvite,
.pageEdition > .btnSupprimerCompte,
.pageEdition > .btnSupprimerLive,
.pageEdition > .btnTerminerLive,
.actionsCommunication > .btnContinuer,
.actionsCommunication > .btnModeInvite {
    width: 100%;
    max-width: 100%;
    min-height: 64px;
    height: 64px;
    margin: 12px auto 0;
    padding: 0 18px;
    box-sizing: border-box;
    font-size: clamp(16px, 4vw, 19px);
}

@media (max-width: 768px) {
    .pageEdition > .btnPrincipal,
    .pageEdition > .btnContinuer,
    .pageEdition > .btnModeInvite,
    .pageEdition > .btnSupprimerCompte,
    .pageEdition > .btnSupprimerLive,
    .pageEdition > .btnTerminerLive,
    .actionsCommunication > .btnContinuer,
    .actionsCommunication > .btnModeInvite {
        min-height: 52px;
        height: 52px;
    }
}
