/* Écran de projection : fond sombre, fort contraste, tailles calées sur la hauteur de l'écran */
.pj {
    --pj-fond: #0d1420;
    --pj-carte: #16202f;
    --pj-ligne: #1b2738;
    --pj-texte: #f3f6fa;
    --pj-doux: #9aa8bb;
    --pj-or: #f2c14e;
    --pj-argent: #c9d2dc;
    --pj-bronze: #d9925b;
    --pj-hausse: #4ade80;
    --pj-baisse: #f87171;
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 1.6vh;
    padding: 2.4vh 2.6vw;
    background: var(--pj-fond);
    color: var(--pj-texte);
    font-family: Inter, system-ui, sans-serif;
    overflow: hidden;
}

.pj--curseur-masque { cursor: none; }

.pj-message {
    margin: auto;
    max-width: 60vw;
    text-align: center;
    font-size: 3.4vh;
    color: var(--pj-doux);
}

/* En-tête */
.pj-entete {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2vw;
}

.pj-titre {
    font-size: 4.6vh;
    font-weight: 700;
    line-height: 1.1;
}

.pj-sous-titre {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2vw;
    margin-top: .6vh;
    font-size: 2.4vh;
    color: var(--pj-doux);
}

.pj-etat {
    padding: .2vh 1vw;
    border-radius: 999px;
    background: var(--pj-carte);
    color: var(--pj-texte);
}

.pj-entete__droite {
    display: flex;
    align-items: center;
    gap: 2vw;
    flex-shrink: 0;
}

.pj-chrono {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: .8vh 1.4vw;
    border-radius: 1vh;
    background: var(--pj-carte);
}

.pj-chrono__libelle { font-size: 1.8vh; color: var(--pj-doux); }
.pj-chrono__temps { font-size: 4.2vh; font-weight: 700; font-variant-numeric: tabular-nums; }
.pj-chrono--fin .pj-chrono__temps { color: var(--pj-baisse); }

.pj-heure {
    font-size: 4.2vh;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--pj-doux);
}

/* Podium, toujours visible */
.pj-podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4vw;
}

.pj-podium__carte {
    display: flex;
    align-items: center;
    gap: 1vw;
    min-width: 0;
    padding: 1.4vh 1.4vw;
    border-radius: 1.2vh;
    background: var(--pj-carte);
    border-top: .6vh solid var(--pj-medaille, var(--pj-or));
}

.pj-podium__carte--1 { --pj-medaille: var(--pj-or); }
.pj-podium__carte--2 { --pj-medaille: var(--pj-argent); }
.pj-podium__carte--3 { --pj-medaille: var(--pj-bronze); }

.pj-podium__medaille { font-size: 5vh; line-height: 1; }

.pj-podium__joueur {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.pj-podium__nom {
    display: flex;
    align-items: center;
    gap: .6vw;
    font-size: 3vh;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pj-podium__club {
    font-size: 1.9vh;
    color: var(--pj-doux);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pj-podium__pts {
    font-size: 4vh;
    font-weight: 700;
    color: var(--pj-medaille);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pj-podium__pts small { font-size: 2vh; font-weight: 500; }

/* Résultat final : podium à marches (2e, 1er, 3e), ex æquo sur la même marche, puis les récompenses */
.pj-final { display: flex; flex-direction: column; gap: 1.4vh; }

.pj-final__marches {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 1.4vw;
    width: min(100%, 120vh);
    margin: 0 auto;
}

.pj-final__marche { display: flex; flex-direction: column; min-width: 0; }
.pj-final__marche--1 { --pj-medaille: var(--pj-or); }
.pj-final__marche--2 { --pj-medaille: var(--pj-argent); }
.pj-final__marche--3 { --pj-medaille: var(--pj-bronze); }

.pj-final__joueurs { display: flex; flex-direction: column; gap: .8vh; padding-bottom: 1vh; }

.pj-final__joueur {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    text-align: center;
    line-height: 1.15;
}

.pj-final__medaille { font-size: 3.6vh; line-height: 1; }
.pj-final__marche--1 .pj-final__medaille { font-size: 4.6vh; }

.pj-final__nom {
    max-width: 100%;
    font-size: 2.8vh;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.pj-final__nom .pj-num { margin-right: .4vw; vertical-align: middle; }

.pj-final__marche--1 .pj-final__nom { font-size: 3.4vh; }
.pj-final__club { max-width: 100%; font-size: 1.8vh; color: var(--pj-doux); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pj-final__valeur { font-size: 3.4vh; font-weight: 800; color: var(--pj-medaille); font-variant-numeric: tabular-nums; }
.pj-final__valeur small { font-size: 1.8vh; font-weight: 500; }
.pj-final__detail { font-size: 1.8vh; color: var(--pj-doux); font-variant-numeric: tabular-nums; }

.pj-final__socle {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: .8vh;
    border-radius: 1.2vh 1.2vh 0 0;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--pj-medaille) 45%, var(--pj-carte)), var(--pj-carte));
    border-top: .6vh solid var(--pj-medaille);
    font-size: 3.4vh;
    font-weight: 800;
    line-height: 1;
}

.pj-final__socle small { font-size: 2vh; font-weight: 700; }
.pj-final__marche--1 .pj-final__socle { height: 9vh; }
.pj-final__marche--2 .pj-final__socle { height: 6.5vh; }
.pj-final__marche--3 .pj-final__socle { height: 4.5vh; }

.pj-recompenses { display: flex; flex-wrap: wrap; justify-content: center; gap: .8vh 1vw; }

.pj-recompense {
    display: inline-flex;
    align-items: baseline;
    gap: .6vw;
    padding: .6vh 1.2vw;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    background: var(--pj-carte);
    font-size: 2vh;
}

.pj-recompense__libelle { font-weight: 700; color: var(--pj-or); }
.pj-recompense--dernier .pj-recompense__libelle { color: var(--pj-doux); }

/* Colonnes optionnelles du tableau : détail des manches, self et plus grosse main */
.pj-centre { display: flex; justify-content: center; align-items: baseline; text-align: center; font-variant-numeric: tabular-nums; }
.pj-muet { color: var(--pj-doux); }
.pj-centre small { font-size: .7em; }

.pj-manche {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 80%;
    padding: .2vh .4vw;
    border-radius: .6vh;
    background: color-mix(in srgb, var(--pj-place, var(--pj-doux)) 18%, transparent);
    line-height: 1.05;
}

.pj-manche b { color: var(--pj-place, var(--pj-texte)); font-size: .9em; }
.pj-manche small { color: var(--pj-doux); font-size: .6em; }
.pj-manche--1 { --pj-place: #4ade80; }
.pj-manche--2 { --pj-place: #a3d9a5; }
.pj-manche--3 { --pj-place: var(--pj-or); }
.pj-manche--4 { --pj-place: var(--pj-argent); }

.pj-badge {
    display: inline-block;
    margin-left: .4vw;
    padding: 0 .5vw;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: var(--pj-doux);
    font-size: .6em;
    font-weight: 700;
    vertical-align: middle;
}

.pj-badge--or { background: color-mix(in srgb, var(--pj-or) 22%, transparent); color: var(--pj-or); }

/* Tableau paginé, sur deux colonnes au-delà de 12 joueurs */
.pj-tableau {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4vw;
    animation: pj-apparition .6s ease-out;
}

.pj-tableau--deux { grid-template-columns: 1fr 1fr; }

@keyframes pj-apparition {
    from { opacity: 0; transform: translateY(1.5vh); }
    to { opacity: 1; transform: none; }
}

.pj-colonne {
    display: flex;
    flex-direction: column;
    gap: .5vh;
    min-width: 0;
}

.pj-ligne {
    display: grid;
    grid-template-columns: 3.6vw 4.2vw minmax(0, 1fr) 5.6vw 5.4vw 4vw;
    align-items: center;
    gap: .8vw;
    flex: 0 1 6.2vh;
    min-height: 0;
    padding: 0 1vw;
    border-radius: .8vh;
    background: var(--pj-ligne);
    font-size: 2.6vh;
}

.pj-ligne--entete {
    flex: 0 0 auto;
    padding-block: .4vh;
    background: none;
    font-size: 1.7vh;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--pj-doux);
}

.pj-ligne--podium { box-shadow: inset .5vw 0 0 var(--pj-medaille); }
.pj-ligne--1 { --pj-medaille: var(--pj-or); }
.pj-ligne--2 { --pj-medaille: var(--pj-argent); }
.pj-ligne--3 { --pj-medaille: var(--pj-bronze); }

.pj-rang { font-weight: 700; font-size: 3vh; }

.pj-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.4vh;
    padding: .2vh .5vw;
    border-radius: .6vh;
    background: rgba(255, 255, 255, .1);
    font-size: .8em;
    font-weight: 600;
    color: var(--pj-doux);
}

.pj-joueur {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
}

.pj-joueur__nom { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.pj-joueur__club { font-size: .62em; color: var(--pj-doux); overflow: hidden; text-overflow: ellipsis; }

.pj-droite { text-align: right; font-variant-numeric: tabular-nums; }
.pj-pts { font-weight: 700; }
.pj-score { color: var(--pj-doux); }

.pj-evol { font-size: .8em; font-weight: 600; text-align: right; }
.pj-evol--hausse { color: var(--pj-hausse); }
.pj-evol--baisse { color: var(--pj-baisse); }

/* Pied : page en cours et progression jusqu'à la suivante */
.pj-pied {
    display: flex;
    align-items: center;
    gap: 1.6vw;
    font-size: 1.9vh;
    color: var(--pj-doux);
}

.pj-pied > span:last-child { margin-left: auto; }

.pj-progression {
    flex: 0 0 18vw;
    height: .5vh;
    border-radius: 999px;
    background: var(--pj-ligne);
    overflow: hidden;
}

.pj-progression__barre {
    height: 100%;
    background: var(--pj-doux);
    transition: width 1s linear;
}

/* Boutons, visibles seulement quand la souris bouge */
.pj-commandes {
    position: fixed;
    right: 1.6vw;
    bottom: 5vh;
    display: flex;
    gap: .6vw;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.pj-commandes--visibles { opacity: 1; pointer-events: auto; }

.pj-commandes button {
    padding: 1vh 1.2vw;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: .8vh;
    background: var(--pj-carte);
    color: var(--pj-texte);
    font: inherit;
    font-size: 1.8vh;
    cursor: pointer;
}

.pj-commandes button:hover { background: var(--pj-ligne); }
.pj-commandes button.est-actif { border-color: var(--pj-or); color: var(--pj-or); }

/* Boutons propres au contenu (pages du classement), à gauche de ceux de la page */
.pj-commandes--gauche { right: auto; left: 1.6vw; }

/* ── Formats en rencontres ───────────────────────────────────────────── */

/* Avant le premier tirage : les équipes et leurs joueurs */
.pj-r-equipes {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: min-content;
    gap: 1.6vh 1.2vw;
    align-content: start;
    overflow: hidden;
}

.pj-r-equipe {
    padding: 1.6vh 1.2vw;
    border-radius: 1.2vh;
    background: var(--pj-carte);
}

.pj-r-equipe h3 { margin: 0 0 .8vh; font-size: 2.8vh; font-weight: 700; }
.pj-r-equipe ul { margin: 0; padding: 0; list-style: none; }
.pj-r-equipe li { font-size: 2.1vh; line-height: 1.5; color: var(--pj-doux); }
.pj-r-equipe li:first-child { color: var(--pj-texte); }

/* Pendant : rencontres du tour à gauche, classement à droite */
.pj-r-direct {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 2.4vw;
    min-height: 0;
}

.pj-r-colonne { display: flex; flex-direction: column; gap: 1.2vh; min-height: 0; }
.pj-r-titre { margin: 0; font-size: 2.6vh; font-weight: 700; color: var(--pj-or); text-transform: uppercase; letter-spacing: .08em; }
.pj-r-attente { margin: 2vh 0 0; font-size: 2.4vh; color: var(--pj-doux); }

.pj-r-rencontres { display: flex; flex-direction: column; gap: 1.1vh; }

.pj-r-rencontre {
    display: grid;
    grid-template-columns: 8vw minmax(0, 1fr) 9vw minmax(0, 1fr);
    align-items: center;
    gap: .8vw;
    padding: 1.4vh 1.2vw;
    border-radius: 1vh;
    background: var(--pj-carte);
    font-size: 2.6vh;
}

.pj-r-rencontre.est-jouee { background: var(--pj-ligne); }
.pj-r-rencontre__lieu { font-size: 1.7vh; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pj-or); }
.pj-r-rencontre__camp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.pj-r-rencontre__camp--b { text-align: right; }
.pj-r-rencontre__camp.est-gagnant { color: var(--pj-hausse); }
.pj-r-rencontre__score { text-align: center; font-size: 3vh; font-weight: 800; font-variant-numeric: tabular-nums; }
.pj-r-rencontre__score--attente { font-size: 1.9vh; font-weight: 600; color: var(--pj-doux); text-transform: uppercase; letter-spacing: .08em; }
.pj-r-rencontre__detail { grid-column: 2 / -1; text-align: center; font-size: 1.7vh; color: var(--pj-doux); }

.pj-r-classement { display: flex; flex-direction: column; gap: .6vh; }

.pj-r-ligne {
    display: grid;
    grid-template-columns: 3.6vw minmax(0, 1fr) 7vw 8vw 4.6vw;
    align-items: center;
    gap: .8vw;
    padding: 1vh 1vw;
    border-radius: .8vh;
    background: var(--pj-carte);
    font-size: 2.6vh;
}

.pj-r-ligne--entete { padding-block: .2vh; background: none; font-size: 1.7vh; color: var(--pj-doux); text-transform: uppercase; letter-spacing: .06em; }
.pj-r-classement--compact .pj-r-ligne { padding-block: .8vh; font-size: 2.3vh; }
.pj-r-place { font-size: .8em; color: var(--pj-doux); white-space: nowrap; }

@media (max-width: 900px) {
    .pj-r-direct { grid-template-columns: minmax(0, 1fr); overflow-y: auto; }
    .pj-r-equipes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Écran de la répartition (second écran, indépendant du classement) ── */

.pj-rep-couleur-1 { --pj-tc: #5b9bff; }
.pj-rep-couleur-2 { --pj-tc: #ff8a4c; }
.pj-rep-couleur-3 { --pj-tc: #4ade80; }
.pj-rep-couleur-4 { --pj-tc: #d38cff; }
.pj-rep-couleur-5 { --pj-tc: #38d0e8; }
.pj-rep-couleur-6 { --pj-tc: #ff6b9e; }
.pj-rep-couleur-7 { --pj-tc: #f2c14e; }
.pj-rep-couleur-8 { --pj-tc: #b8c0cc; }

/* Par table : une carte par table, 4 de front */
.pj-rep-tables {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* Deux rangées de tables : la carte occupe la moitié de la hauteur, même s'il n'y a qu'une rangée */
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 2vh 1.4vw;
}

.pj-rep-table {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 1.6vh;
    border-top: .7vh solid var(--pj-tc);
    background: var(--pj-carte);
    overflow: hidden;
}

.pj-rep-table__titre {
    padding: 1.2vh 1.2vw;
    background: color-mix(in srgb, var(--pj-tc) 18%, var(--pj-carte));
    color: var(--pj-tc);
    font-size: 4vh;
    font-weight: 800;
}

.pj-rep-table ul {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: 0;
    padding: 1vh 1.2vw;
    list-style: none;
}

.pj-rep-table li {
    display: flex;
    align-items: center;
    gap: .8vw;
    min-width: 0;
    font-size: 3.4vh;
}

.pj-rep-table__nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Par joueur : numéro, nom, puis la table à chaque manche */
.pj-rep-joueurs {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4vw;
    align-content: start;
}

.pj-rep-joueurs--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.pj-rep-colonne { display: flex; flex-direction: column; gap: .5vh; min-width: 0; }

.pj-rep-ligne {
    display: grid;
    grid-template-columns: 4.5vw minmax(0, 1fr) repeat(var(--pj-rep-manches, 4), minmax(3.6vw, 5vw));
    align-items: center;
    gap: .8vw;
    padding: .7vh 1vw;
    border-radius: 1vh;
    background: var(--pj-carte);
    font-size: 2.5vh;
}

.pj-rep-ligne--entete {
    background: none;
    color: var(--pj-doux);
    font-size: 1.8vh;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.pj-rep-ligne__nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }

.pj-rep-centre { display: flex; justify-content: center; }

.pj-rep-ligne--entete .pj-rep-prochaine { color: var(--pj-texte); }

.pj-rep-tablenum {
    display: inline-grid;
    place-items: center;
    min-width: 3vw;
    height: 3.6vh;
    border-radius: .8vh;
    background: color-mix(in srgb, var(--pj-tc) 22%, transparent);
    color: var(--pj-tc);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.pj-rep-prochaine .pj-rep-tablenum { outline: .25vh solid var(--pj-tc); }

.pj-rep-muet { color: var(--pj-doux); }

/* ── Pendant une manche : le compte à rebours en très grand ───────────── */
.pj-chrono-geant {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vh;
    text-align: center;
}

.pj-chrono-geant__entete {
    position: absolute;
    top: 2.4vh;
    left: 2.6vw;
    right: 2.6vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pj-chrono-geant__tournoi { font-size: 3.4vh; font-weight: 700; }

.pj-chrono-geant__manche {
    font-size: 5vh;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--pj-doux);
}

.pj-chrono-geant__temps {
    font-size: min(40vh, 26vw);
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: .01em;
    transition: color .6s;
}

.pj-chrono-geant__barre {
    width: min(80vw, 140vh);
    height: 1.4vh;
    border-radius: 999px;
    background: var(--pj-ligne);
    overflow: hidden;
}

.pj-chrono-geant__barre i {
    display: block;
    height: 100%;
    background: var(--pj-texte);
    transform-origin: left;
    transition: transform 1s linear, background .6s;
}

.pj-chrono-geant__fin { font-size: 3vh; color: var(--pj-doux); }

.pj-chrono-geant--alerte .pj-chrono-geant__temps { color: var(--pj-or); }
.pj-chrono-geant--alerte .pj-chrono-geant__barre i { background: var(--pj-or); }
.pj-chrono-geant--fin .pj-chrono-geant__temps,
.pj-chrono-geant--fini .pj-chrono-geant__temps { color: var(--pj-baisse); }
.pj-chrono-geant--fin .pj-chrono-geant__barre i { background: var(--pj-baisse); }
.pj-chrono-geant--fini .pj-chrono-geant__temps { font-size: min(22vh, 13vw); animation: pj-pulsation 1.6s ease-in-out infinite; }

/* ── Manche terminée : saisie des scores en cours, au-dessus du classement ── */
.pj-saisie {
    align-self: center;
    padding: 1.2vh 2.4vw;
    border: 1px solid color-mix(in srgb, var(--pj-or) 50%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--pj-or) 14%, transparent);
    color: var(--pj-or);
    font-size: 3.2vh;
    font-weight: 700;
    animation: pj-pulsation 3s ease-in-out infinite;
}

@keyframes pj-pulsation { 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
    .pj-saisie, .pj-chrono-geant--fini .pj-chrono-geant__temps { animation: none; }
}

/* ── Réglages des sons de l'écran ─────────────────────────────────────── */
.pj-sons {
    position: fixed;
    right: 1.6vw;
    bottom: 12vh;
    z-index: 20;
    width: min(460px, 92vw);
    max-height: 80vh;
    overflow-y: auto;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 16px;
    background: var(--pj-carte);
    color: var(--pj-texte);
    font-size: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}

.pj-sons__titre { display: flex; justify-content: space-between; align-items: center; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.pj-sons__section { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 8px; }
.pj-sons__libelle { color: var(--pj-doux); font-size: 13px; font-weight: 600; }
.pj-sons__ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pj-sons__moments { gap: 6px 14px; }
.pj-sons__case { display: inline-flex; align-items: center; gap: 6px; }
.pj-sons select, .pj-sons input[type=number], .pj-sons button {
    font: inherit;
    color: var(--pj-texte);
    background: var(--pj-ligne);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    padding: 6px 10px;
}
.pj-sons select { flex: 1; min-width: 0; }
.pj-sons input[type=number] { width: 4.2em; text-align: center; padding: 4px 6px; }
.pj-sons input[type=checkbox], .pj-sons input[type=range] { accent-color: var(--pj-or); }
.pj-sons button { cursor: pointer; }
.pj-sons button:hover { background: var(--pj-fond); }
.pj-sons__fermer { padding: 2px 10px !important; }
.pj-sons__aide { margin: 8px 0 0; color: var(--pj-doux); font-size: 12px; }

/* Le navigateur attend un clic avant de jouer un son */
.pj-son-invite {
    position: fixed;
    left: 50%;
    bottom: 2vh;
    transform: translateX(-50%);
    z-index: 30;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font: 600 14px Inter, system-ui, sans-serif;
    pointer-events: none;
}
.pj-sons button { flex-shrink: 0; white-space: nowrap; }

.pj-sons__communs { border: 0; margin: 0; padding: 0; min-width: 0; }
.pj-sons__communs:disabled { opacity: .55; }
