:root {
    --gp-orange:  #FF5F19;
    --gp-ink:     #071012;
    --gp-stroke:  rgba(255,255,255,.10);
    --gp-shadow:  var(--shadow, 0 4px 24px rgba(0,0,0,.30));
    --gp-bg:      #0B0E12;
    --gp-txt:     #EAF0FF;
    --gp-muted:   #AAB4CC;
}

/* ── PAGE ────────────────────────────────────────────────── */
.pronoPage {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: calc(100svh - 110px);
}

/* ── HERO ────────────────────────────────────────────────── */
.prHero {
    border-radius: 18px;
    border: 1px solid var(--gp-stroke);
    background: rgba(255,255,255,.06);
    box-shadow: var(--gp-shadow);
    padding: 12px;
    position: relative;
    overflow: hidden;
}

.prHero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(380px 220px at 22% 10%, rgba(110,231,255,.12), transparent 65%),
        radial-gradient(360px 220px at 90% 20%, rgba(255,211,110,.08), transparent 65%);
    pointer-events: none;
}

.prHeroTop {
    position: relative;
    z-index: 1;
}

.prTitle {
    font-family: "Black Ops One", system-ui, sans-serif;
    font-size: 46px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: .8px;
    color: var(--gp-orange);
    margin: 0;
}

.prSub {
    margin-top: 6px;
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: .35px;
    color: rgba(255,255,255,.88);
    font-size: 16px;
}

/* ── WRAP ────────────────────────────────────────────────── */
.prWrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 0;
}

/* ── SHELL SELECTION ─────────────────────────────────────── */
.prSelectShell {
    border-radius: 18px;
    border: 1px solid var(--gp-stroke);
    background: rgba(255,255,255,.06);
    box-shadow: var(--gp-shadow);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.prListTitle {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    letter-spacing: .4px;
    color: rgba(255,255,255,.92);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-size: 15px;
}

.prList {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── ROW MATCH ───────────────────────────────────────────── */
.prMatchRow {
    border-radius: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
}

.prMatchName {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    letter-spacing: .35px;
    color: rgba(255,255,255,.92);
    font-size: 16px;
}

.prMatchMeta {
    margin-top: 3px;
    color: rgba(255,255,255,.60);
    font-weight: 700;
    font-size: 12px;
}

/* ── BOUTON CHOISIR ──────────────────────────────────────── */
.prChoose {
    border-radius: 14px;
    padding: 10px 18px;
    border: 1px solid rgba(255,95,25,.70);
    background: rgba(255,95,25,.12);
    color: var(--gp-orange);
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .4px;
    white-space: nowrap;
    transition: background .18s ease;
}

.prChoose:hover:not(:disabled) {
    background: rgba(255,95,25,.20);
}

.prChoose:disabled {
    opacity: .5;
    pointer-events: none;
}

/* ── SHELL JEU ───────────────────────────────────────────── */
.prPlayShell {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.20);
    backdrop-filter: blur(2px);
    padding: 14px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background:
        radial-gradient(900px 600px at 20% 0%, rgba(110,231,255,.10), transparent 55%),
        radial-gradient(900px 600px at 90% 20%, rgba(255,211,110,.08), transparent 60%),
        linear-gradient(180deg, var(--bg1, #0d1419), var(--bg0, #071012));
}

/* ── TOP GRID ────────────────────────────────────────────── */
.prTopGrid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prKicker {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    letter-spacing: .45px;
    text-transform: uppercase;
    color: white;
    font-size: 12px;
}

.prBig {
    margin-top: 6px;
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    letter-spacing: .5px;
    color: var(--gp-orange);
    font-size: 22px;
    line-height: 1.15;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-shadow: 0 2px 12px rgba(255,95,25,.25);
}

.prMetaLine {
    margin-top: 3px;
    font-weight: 800;
    font-size: 12px;
    color: rgba(255,255,255,.65);
}

/* ── PROGRESSION ─────────────────────────────────────────── */
.prProg { width: 100%; }

.prProg__label {
    font-family: "Antonio", system-ui, sans-serif;
    font-style: italic;
    font-size: 13px;
    color: rgba(255,255,255,.80);
    margin: 0 0 6px 0;
    text-align: start;
}

.prProg__bar {
    position: relative;
    height: 18px;
    border-radius: 999px;
    background: #0b1416;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
    overflow: hidden;
}

.prProg__fill {
    height: 100%;
    width: 0%;
    background: var(--gp-orange);
    border-radius: 999px;
    transition: width .3s ease;
}

.prProg__badge {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gp-orange);
    color: #071012;
    font-weight: 900;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 6px;
    line-height: 1;
}

.prProg__sub {
    margin-top: 5px;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    color: rgba(255,255,255,.55);
}

.prDot { color: rgba(255,255,255,.30); }

/* ── QUESTION BOX ────────────────────────────────────────── */
@keyframes qSlideIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.prQBox {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.20);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    animation: qSlideIn .22s ease;
}

.prQTitle {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    letter-spacing: .3px;
    color: rgba(255,255,255,.96);
    font-size: 17px;
    line-height: 1.25;
    /* NB: pas de text-transform uppercase pour préserver la lisibilité des phrases longues */
}

.prQKind {
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: rgba(255,255,255,.45);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px;
    padding: 2px 7px;
    margin-bottom: 2px;
}

.prQHelp {
    color: rgba(255,255,255,.65);
    font-weight: 700;
    font-size: 12px;
    font-style: italic;
}

.prWarn {
    border-radius: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(255,95,25,.40);
    background: rgba(255,95,25,.10);
    color: rgba(255,255,255,.92);
    font-weight: 800;
    font-size: 13px;
}

/* ── EMPTY STATE ─────────────────────────────────────────── */
.prEmptyState {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 36px 20px 32px;
    border-radius: 22px;
    border: 1px solid var(--gp-stroke);
    background: rgba(255,255,255,.05);
    box-shadow: 0 4px 32px rgba(0,0,0,.25);
    text-align: center;
}

.prEmptyIcon {
    font-size: 52px;
    line-height: 1;
    filter: drop-shadow(0 0 18px rgba(255,95,25,.35));
}

.prEmptyTitle {
    font-family: "Black Ops One", system-ui, sans-serif;
    font-size: 1.55rem;
    color: #fff;
    letter-spacing: .5px;
    line-height: 1.1;
}

.prEmptyDesc {
    font-size: 14px;
    color: rgba(255,255,255,.55);
    line-height: 1.55;
    max-width: 300px;
}

.prEmptyTeamChip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 10px 16px;
    width: 100%;
    text-align: left;
}

.prEmptyTeamIcon { font-size: 20px; flex-shrink: 0; }

.prEmptyTeamName {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: rgba(255,255,255,.9);
    letter-spacing: .3px;
}

.prEmptyTeamClub {
    font-size: 12px;
    color: rgba(255,255,255,.40);
    margin-top: 2px;
}

.prEmptyBtn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 16px;
    border: none;
    background: var(--gp-orange);
    color: #fff;
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .4px;
    cursor: pointer;
    transition: opacity .18s ease, transform .12s ease;
    box-shadow: 0 4px 18px rgba(255,95,25,.30);
}

.prEmptyBtn:hover { opacity: .88; transform: translateY(-1px); }
.prEmptyBtn:active { transform: scale(.97); }

.prEmptyHint {
    font-size: 11.5px;
    color: rgba(255,255,255,.30);
    font-style: italic;
}

.prEmptyHelpBox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(255,211,110,.06);
    border: 1px solid rgba(255,211,110,.18);
    border-radius: 14px;
    padding: 12px 14px;
    text-align: left;
    width: 100%;
}

.prEmptyHelpIcon { font-size: 18px; flex-shrink: 0; padding-top: 1px; }

.prEmptyHelpTitle {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: rgba(255,211,110,.9);
    letter-spacing: .3px;
    margin-bottom: 4px;
}

.prEmptyHelpText {
    font-size: 12px;
    color: rgba(255,255,255,.45);
    line-height: 1.5;
}

/* ── RÉPONSES ────────────────────────────────────────────── */

/* Colonne par défaut (ChoiceChips) */
.prAnswerCol {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: auto;
    padding-right: 4px;
    min-height: 0;
}

/* YesNo : 2 gros boutons côte à côte */
.prAnswerCol--yesno {
    flex-direction: row;
    gap: 10px;
}

.prAnswerCol--yesno .prBtnFull {
    flex: 1;
    flex-direction: column;
    font-size: 20px;
    padding: 22px 14px;
    gap: 6px;
}

/* PlayerPick : grille 2 colonnes */
.prAnswerCol--players {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.prAnswerCol--players .prBtnFull {
    font-size: 13px;
    padding: 12px 10px;
    justify-content: center;
    text-align: center;
}

/* ── BOUTON RÉPONSE ──────────────────────────────────────── */
.prBtnFull {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.88);
    padding: 13px 16px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .2px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    box-shadow: inset 0 -8px 14px rgba(0,0,0,.20);
    transition: transform .08s ease, background .15s ease, border-color .15s ease;
    text-align: left;
    cursor: pointer;
}

.prBtnFull::before {
    content: "";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.22);
    background: transparent;
    transition: background .15s ease, border-color .15s ease;
}

.prBtnFull:hover:not(.is-on) {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.16);
    transform: translateY(-1px);
}

.prBtnFull:active {
    transform: translateY(0) scale(.99);
}

/* Sélectionné */
.prBtnFull.is-on {
    background: rgba(255,95,25,.14);
    border-color: rgba(255,95,25,.70);
    color: #fff;
    box-shadow:
        inset 0 -8px 14px rgba(0,0,0,.20),
        0 0 0 2px rgba(255,95,25,.15),
        0 8px 20px rgba(0,0,0,.28);
}

.prBtnFull.is-on::before {
    background: var(--gp-orange);
    border-color: var(--gp-orange);
    /* checkmark via box-shadow */
    box-shadow:
        inset 0 0 0 3px rgba(7,16,18,.90);
}

/* ── NAV ─────────────────────────────────────────────────── */
.prNav {
    display: grid;
    grid-template-columns: 54px 1fr 54px;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    flex-shrink: 0;
}

.prNavBtn {
    width: 54px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.22);
    color: rgba(255,255,255,.92);
    font-weight: 900;
    font-size: 18px;
    transition: background .15s ease;
    cursor: pointer;
}

.prNavBtn.is-primary {
    border-color: rgba(255,95,25,.75);
    background: rgba(255,95,25,.18);
    color: var(--gp-orange);
}

.prNavBtn.is-primary:hover {
    background: rgba(255,95,25,.26);
}

.prNavBtn.is-disabled {
    opacity: .30;
    pointer-events: none;
}

.prNavCenter {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    letter-spacing: .4px;
    color: rgba(255,255,255,.80);
    text-transform: uppercase;
    font-size: 16px;
    text-align: center;
}

/* ── RESULT BOX (écran de confirmation post-questionnaire) ── */
.prResultBox {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.20);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.prResultHead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.prResultTitle {
    font-family: "Black Ops One", system-ui, sans-serif;
    color: var(--gp-orange);
    font-size: 30px;
    margin: 0;
}

.prResultBackBtn {
    width: 100%;
    padding: 13px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255,95,25,.55);
    background: rgba(255,95,25,.15);
    color: var(--gp-orange);
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    font-size: 17px;
    letter-spacing: .4px;
    cursor: pointer;
    transition: background .15s ease;
}
.prResultBackBtn:hover {
    background: rgba(255,95,25,.28);
}

/* ── CONFIRMATION ────────────────────────────────────────── */

/* Bloc de confirmation : affiché à la place des résultats
   car le match n'a pas encore eu lieu. Les résultats seront
   calculés ultérieurement via la feuille de match FFBB. */
.prConfirmBlock {
    border-radius: 16px;
    border: 1px solid rgba(255,95,25,.25);
    background: rgba(255,95,25,.06);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-height: 0;
}

.prConfirmMatch {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    letter-spacing: .4px;
    color: var(--gp-orange);
    font-size: 20px;
}

.prConfirmMeta {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.60);
}

.prConfirmCount {
    margin-top: 6px;
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    font-size: 32px;
    color: rgba(255,255,255,.92);
    letter-spacing: .3px;
}

.prConfirmNote {
    margin-top: 4px;
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,.75);
    font-style: italic;
    line-height: 1.5;
}

/* ── BADGE "TON MATCH" ───────────────────────────────────── */
.prMyMatchBadge {
    display: inline-block;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 5px;
    border: 1px solid rgba(255,95,25,.55);
    background: rgba(255,95,25,.14);
    color: var(--gp-orange);
    margin-left: 6px;
    vertical-align: middle;
}

/* ── SALARY CAP BAR ──────────────────────────────────────── */
.prSalaryCap {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 2px 0 4px;
}

.prSalaryBar {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: #0b1416;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
    overflow: hidden;
}

.prSalaryFill {
    height: 100%;
    background: var(--gp-orange);
    border-radius: 999px;
    transition: width .3s ease, background .3s ease;
}

.prSalaryFill.is-danger {
    background: #e74c3c;
}

.prSalaryMeta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 800;
    color: rgba(255,255,255,.48);
    letter-spacing: .2px;
}

/* ── ROLE CHIP (recap confirmation) ─────────────────────── */
.prRoleChip {
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.70);
    flex-shrink: 0;
}

.prRoleChip--captain {
    border-color: rgba(255,95,25,.60);
    background: rgba(255,95,25,.14);
    color: var(--gp-orange);
}

.prRoleChip--sixth {
    border-color: rgba(110,231,255,.35);
    background: rgba(110,231,255,.08);
    color: rgba(110,231,255,.85);
}

/* ── TEAM ROW (recap confirmation) ──────────────────────── */
.prTeamRow {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.prTeamName {
    font-weight: 700;
    font-size: .88em;
    color: rgba(255,255,255,.90);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prTeamVal {
    font-size: .75em;
    color: rgba(255,255,255,.45);
    font-weight: 700;
    flex-shrink: 0;
}

/* ── ROLE LEGEND ─────────────────────────────────────────── */
.prRoleLegend {
    font-size: .73em;
    opacity: .50;
    margin-top: .5rem;
    display: flex;
    gap: 1rem;
    color: rgba(255,255,255,.70);
}

/* ── SAVED CONFIRMATION ──────────────────────────────────── */
.prSavedMsg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    text-align: center;
}

.prSavedIcon {
    font-size: 2.5rem;
}

.prSavedText {
    font-weight: 700;
    font-size: 1rem;
    color: var(--gp-txt);
}

.prSavedSub {
    font-size: .82rem;
    color: var(--gp-muted);
    line-height: 1.5;
}

/* ── RECAP BOARD ─────────────────────────────────────────── */
.prRow {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .82rem;
    color: rgba(255,255,255,.55);
}

.prRow.is-user {
    color: var(--gp-txt);
}

.prRank  { width: 28px; font-weight: 800; color: var(--gp-orange); }
.prName  { flex: 1; font-weight: 600; }
.prScore { font-weight: 800; font-size: .9rem; }

/* ── SKELETON LOADER ─────────────────────────────────────── */
@keyframes skShimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}

.prSkeleton {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px;
}

.prSk {
    border-radius: 12px;
    background: linear-gradient(90deg,
        rgba(255,255,255,.05) 25%,
        rgba(255,255,255,.10) 50%,
        rgba(255,255,255,.05) 75%);
    background-size: 800px 100%;
    animation: skShimmer 1.4s infinite linear;
}

.prSk--match  { height: 64px; }
.prSk--bar    { height: 18px; border-radius: 999px; }

.prSk--card   {
    background: rgba(255,255,255,.04);
    animation: none;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.07);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prSk--line   { height: 14px; }
.prSk--lg     { height: 20px; width: 75%; }
.prSk--btn    { height: 48px; border-radius: 10px; }

/* ── MATCH BANNER (quiz header) ──────────────────────────── */
.prMatchBanner {
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    text-align: center;
}

/* Layout 3 lignes (équipe1 / vs / équipe2) pour afficher entièrement les
   longs noms d'équipes FFBB (ex: "BASKET CLUB DU PAYS DE FAYENCE"). */
.prMB__vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.prMB__team {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: .4px;
    color: #fff;
    line-height: 1.2;
    text-align: center;
    word-break: break-word;
    max-width: 100%;
}

.prMB__sep {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    font-size: 13px;
    color: var(--gp-orange);
    text-transform: uppercase;
    letter-spacing: .5px;
    flex-shrink: 0;
}

.prMB__meta {
    margin-top: 5px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.45);
    letter-spacing: .2px;
}

/* ── PROGRESS HEADER + DOTS ──────────────────────────────── */
.prProg__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.prProg__dots {
    display: flex;
    gap: 5px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.prProg__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    transition: background .2s ease, transform .2s ease;
    flex-shrink: 0;
}

.prProg__dot.is-done {
    background: var(--gp-orange);
}

.prProg__dot.is-cur {
    background: rgba(255,95,25,.55);
    transform: scale(1.35);
    box-shadow: 0 0 6px rgba(255,95,25,.45);
}

/* ── QUESTION NUMBER ─────────────────────────────────────── */
.prQNum {
    display: inline-block;
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .5px;
    color: var(--gp-orange);
    text-transform: uppercase;
    margin-bottom: 6px;
    opacity: .80;
}

/* ── ANSWER BUTTON: check icon ───────────────────────────── */
/* Suppress old ::before pseudo-circle — replaced by prBtnFull__check span */
.prBtnFull::before { display: none !important; }

.prBtnFull__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.20);
    background: transparent;
    font-size: 12px;
    font-weight: 900;
    color: transparent;
    flex-shrink: 0;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.prBtnFull.is-on .prBtnFull__check {
    background: var(--gp-orange);
    border-color: var(--gp-orange);
    color: #fff;
}

.prBtnFull__label {
    flex: 1;
    text-align: left;
}

/* ── SCOREBOARD RING ─────────────────────────────────────── */
.prScoreBoard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 0 16px;
}

.prScoreBoard__ring {
    position: relative;
    width: 100px;
    height: 100px;
}

.prRing {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.prRing__bg {
    fill: none;
    stroke: rgba(255,255,255,.08);
    stroke-width: 7;
}

.prRing__arc {
    fill: none;
    stroke: var(--gp-orange);
    stroke-width: 7;
    stroke-linecap: round;
    transition: stroke-dasharray .6s cubic-bezier(.34,1.56,.64,1);
}

.prScoreBoard__inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.prScoreBoard__val {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    font-size: 32px;
    line-height: 1;
    color: var(--gp-orange);
}

.prScoreBoard__denom {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: rgba(255,255,255,.35);
    line-height: 1;
}

.prScoreBoard__label {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    font-weight: 700;
    text-align: center;
}

.prXpBadge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(255,95,25,.15);
    border: 1px solid rgba(255,95,25,.40);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    color: var(--gp-orange);
    letter-spacing: .3px;
}

/* ── RESULT MATCH SUBTITLE ───────────────────────────────── */
/* Wrap autorisé pour afficher entièrement les longs noms d'équipes
   (ex: "BASKET CLUB DU PAYS DE FAYENCE vs ..."). */
.prResultMatch {
    font-family: "Antonio", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.40);
    letter-spacing: .3px;
    margin-top: 2px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
}

/* ── SCORE DETAIL LIST ───────────────────────────────────── */
.prScoreDetail {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 20px;
}

.prScoreRow {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
}

.prScoreRow.is-ok {
    background: rgba(76,175,80,.09);
    border-color: rgba(76,175,80,.22);
}

.prScoreRow.is-ko {
    background: rgba(244,67,54,.07);
    border-color: rgba(244,67,54,.18);
}

.prScoreRow__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
    flex-shrink: 0;
}

.prScoreRow.is-ok .prScoreRow__badge {
    background: rgba(76,175,80,.20);
    border: 1.5px solid rgba(76,175,80,.55);
    color: #81C784;
}

.prScoreRow.is-ko .prScoreRow__badge {
    background: rgba(239,83,80,.14);
    border: 1.5px solid rgba(239,83,80,.45);
    color: #EF9A9A;
}

.prScoreRow__body { flex: 1; min-width: 0; }

.prScoreRow__prompt {
    font-size: 11px;
    color: rgba(255,255,255,.45);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prScoreRow__answer {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: .2px;
}

.prScoreRow.is-ok .prScoreRow__answer { color: #81C784; }
.prScoreRow.is-ko .prScoreRow__answer { color: #EF9A9A; }

/* ── SECTION HISTORIQUE PERMANENTE ───────────────────────────────────────── */
.prHistorySection {
    margin-top: 24px;
    border-radius: 18px;
    border: 1px solid var(--gp-stroke);
    background: rgba(255,255,255,.04);
    overflow: hidden;
}

.prHistoryHeader {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px 10px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.prHistoryHeader__title {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: rgba(255,255,255,.70);
    flex: 1;
}

.prHistoryHeader__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255,95,25,.18);
    border: 1px solid rgba(255,95,25,.35);
    font-size: 11px;
    font-weight: 900;
    color: var(--gp-orange);
    padding: 0 6px;
}

/* ── Pagination historique (flèches + page courante) ──────────────────────── */
.prHistoryNav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.prHistoryNav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.85);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: background .15s, border-color .15s, opacity .15s;
}

.prHistoryNav__btn:hover:not(:disabled) {
    background: rgba(255,95,25,.18);
    border-color: rgba(255,95,25,.45);
    color: var(--gp-orange);
}

.prHistoryNav__btn:disabled {
    opacity: .25;
    cursor: default;
}

.prHistoryNav__page {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .5px;
    color: var(--gp-orange);
    padding: 0 6px;
    min-width: 38px;
    text-align: center;
}

.prHistoryNav__sep {
    color: rgba(255,255,255,.30);
    margin: 0 2px;
    font-weight: 700;
}

.prHistoryEmpty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 16px;
    font-size: 13px;
    color: rgba(255,255,255,.35);
    text-align: center;
}

.prHistoryEmpty__icon { font-size: 2rem; opacity: .5; }

.prHistoryList {
    display: flex;
    flex-direction: column;
}

/* ── CARD HISTORIQUE ─────────────────────────────────────── */
.prHCard {
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.prHCard:last-child { border-bottom: none; }

.prHCard__header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
    text-align: left;
    transition: background .15s ease;
}
.prHCard__header:hover { background: rgba(255,255,255,.03); }
.prHCard.is-open .prHCard__header { background: rgba(255,255,255,.03); }

.prHCard__meta { flex: 1; min-width: 0; }

.prHCard__title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prHCard__date {
    font-size: 11px;
    color: rgba(255,255,255,.38);
    margin-top: 2px;
}

.prHCard__score {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    font-size: 16px;
    color: var(--gp-orange);
    flex-shrink: 0;
    /* white-space:nowrap empêche "0" et "/8" de se séparer en 2 lignes sur petits écrans */
    white-space: nowrap;
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
}

.prHCard__scoreVal {
    font-size: 18px;
}

.prHCard__scoreMax {
    font-size: 12px;
    color: rgba(255,255,255,.30);
}

/* XP gagné sur ce pronostic (badge à droite du score) */
.prHCard__xp {
    margin-left: 8px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(110,231,255,.14);
    color: #6EE7FF;
    font-family: system-ui, sans-serif;
    font-weight: 700;
    font-size: 11px;
    white-space: nowrap;
}

.prHCard__pending {
    font-size: 14px;
    flex-shrink: 0;
    opacity: .70;
}

.prHCard__chevron {
    font-size: 10px;
    color: rgba(255,255,255,.25);
    flex-shrink: 0;
    margin-left: 2px;
}

/* ── BODY EXPANDABLE ─────────────────────────────────────── */
.prHCard__body {
    padding: 0 14px 12px;
    border-top: 1px solid rgba(255,255,255,.05);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.prHCard__bodyLabel {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: rgba(255,255,255,.28);
    padding-top: 10px;
    margin-bottom: 4px;
}

.prHCard__noDetail {
    font-size: 12px;
    color: rgba(255,255,255,.28);
    text-align: center;
    padding: 8px 0;
}

.prHCard__row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 9px;
    border: 1px solid transparent;
}
.prHCard__row.is-ok {
    background: rgba(76,175,80,.08);
    border-color: rgba(76,175,80,.20);
}
.prHCard__row.is-ko {
    background: rgba(244,67,54,.07);
    border-color: rgba(244,67,54,.16);
}

.prHCard__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
    flex-shrink: 0;
    color: rgba(255,255,255,.25);
    border: 1px solid rgba(255,255,255,.10);
}
.prHCard__badge.is-ok { background: rgba(76,175,80,.18); border-color: rgba(76,175,80,.50); color: #81C784; }
.prHCard__badge.is-ko { background: rgba(239,83,80,.14); border-color: rgba(239,83,80,.45); color: #EF9A9A; }

.prHCard__rowBody { flex: 1; min-width: 0; }

.prHCard__prompt {
    font-size: 11px;
    color: rgba(255,255,255,.40);
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prHCard__answer {
    font-family: "Antonio", system-ui, sans-serif;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .2px;
    color: rgba(255,255,255,.80);
}
.prHCard__row.is-ok .prHCard__answer { color: #81C784; }
.prHCard__row.is-ko .prHCard__answer { color: #EF9A9A; }

/* ══════════════════════════════════════════════════════════
   ONGLETS Mes Pronos / Mon Classement
   ══════════════════════════════════════════════════════════ */
.prTabs {
    display: flex;
    gap: 8px;
    margin: 4px 0 14px;
}
.prTab {
    flex: 1 1 0;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.62);
    font-family: "Antonio", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    appearance: none;
    -webkit-appearance: none;
}
.prTab.is-active {
    background: linear-gradient(135deg, rgba(255,95,25,.22), rgba(0,0,0,.25));
    border-color: rgba(255,95,25,.55);
    color: #FF5F19;
}

/* ── CLASSEMENT PRONOSTICS ── */
.prLeaderboard {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.prLbRow {
    display: grid;
    grid-template-columns: 34px 38px minmax(0,1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.09);
}
.prLbRow.is-me {
    background: rgba(255,95,25,.12);
    border-color: rgba(255,95,25,.35);
}
.prLbRank {
    font-family: "Black Ops One", system-ui, sans-serif;
    font-size: 15px;
    text-align: center;
    color: rgba(255,255,255,.7);
}
.prLbAvatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255,255,255,.08);
}
/* Placeholder « pas de photo » — même icône que la Home */
.prLbAvatar--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(180,200,210,.45);
    flex-shrink: 0;
}
.prLbAvatar--ph svg { width: 22px; height: 22px; }
.prLbInfo { min-width: 0; }
.prLbName {
    font-weight: 800;
    font-size: 14px;
    color: rgba(255,255,255,.95);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    display: flex; align-items: center; gap: 6px;
}
.prLbMe {
    font-size: 10px; font-weight: 800;
    padding: 1px 6px; border-radius: 99px;
    background: rgba(255,95,25,.25); color: #FF5F19;
}
.prLbMeta { font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.5); margin-top: 2px; }
.prLbScore {
    font-family: "Antonio", system-ui, sans-serif;
    white-space: nowrap;
    text-align: right;
}
.prLbScoreVal { font-size: 18px; font-weight: 900; color: #FF5F19; }
.prLbScoreMax { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.4); }
