* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --gradient-fire: linear-gradient(135deg, #FF7A00 0%, #FF004D 50%, #7000FF 100%);
    --gold: #FFD700;
    --card: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.12);
    --muted: #907d9e;
    --text-soft: #cab5e6;
}
body {
    font-family: 'Fredoka', system-ui, sans-serif;
    background: #07030f;
    background-image:
        radial-gradient(circle at 20% 8%, rgba(178, 0, 255, 0.22), transparent 50%),
        radial-gradient(circle at 80% 92%, rgba(255, 0, 77, 0.20), transparent 50%),
        linear-gradient(180deg, #14082a 0%, #07030f 100%);
    color: #f5f0ff;
    min-height: 100dvh;
    padding: 20px;
}
#app { max-width: 480px; margin: 0 auto; }

/* ---------- Header ---------- */
.salon-header {
    display: flex; align-items: center; gap: 14px;
    padding: 8px 0 22px;
}
.btn-back {
    flex-shrink: 0;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--card);
    border: 1px solid var(--card-border);
    color: #fff; font-size: 1.15rem; text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}
.btn-back:active { transform: scale(0.92); background: rgba(255,255,255,0.14); }
.salon-spacer { width: 44px; flex-shrink: 0; }
.titles { flex: 1; text-align: center; }
.titles h1 { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: 1px; }
.titles p { color: var(--text-soft); font-size: 0.86rem; margin-top: 4px; }

/* ---------- Main ---------- */
.salon-main { display: flex; flex-direction: column; gap: 14px; }
#lobbyView, #gameView { display: flex; flex-direction: column; gap: 14px; }
.hidden { display: none !important; }

/* ---------- Carte de base ---------- */
.salon-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 18px;
}

/* ---------- Entrée de code (mode joueur sans code) ---------- */
#joinEntry {
    text-align: center;
    padding: 28px 22px;
}

/* ---------- Choix du jeu (hôte sans game= dans l'URL) ---------- */
#gameChoice { display: flex; flex-direction: column; gap: 14px; }
#gameChoice .salon-card { text-align: center; padding: 24px 22px; }
.game-choice-card {
    position: relative;
    display: flex; align-items: center; gap: 14px;
    width: 100%;
    padding: 22px 16px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    color: #fff;
    cursor: pointer;
    box-sizing: border-box;
    text-align: left;
    transition: transform 0.1s, border-color 0.15s, background 0.15s;
    font-family: inherit;
}
.game-choice-badge {
    position: absolute;
    top: -8px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}
.game-choice-badge i { font-size: 0.65rem; }
.badge-group {
    background: linear-gradient(135deg, #FF7A00 0%, #FF004D 100%);
}
.badge-duo {
    background: linear-gradient(135deg, #FFD700 0%, #FF8A00 100%);
    color: #2a1500;
}
.game-choice-card:active { transform: scale(0.985); }
.game-choice-card:hover { border-color: rgba(255, 215, 0, 0.45); background: rgba(255, 215, 0, 0.06); }
.game-choice-icon {
    font-size: 2rem;
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.game-choice-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.game-choice-title { font-weight: 800; font-size: 1.05rem; }
.game-choice-sub { font-size: 0.82rem; color: #cab5e6; line-height: 1.35; overflow-wrap: anywhere; }
.game-choice-arrow {
    color: #FFD700;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
}
.salon-big-icon {
    font-size: 2.4rem;
    background: var(--gradient-fire);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 10px;
}
.salon-title { font-size: 1.3rem; font-weight: 900; text-transform: uppercase; margin-bottom: 6px; }
.salon-subtitle { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 16px; }
.salon-form { display: flex; flex-direction: column; gap: 10px; }
.salon-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 14px;
    color: #fff;
    font-family: 'Fredoka', monospace;
    font-size: 1.6rem;
    font-weight: 900;
    text-align: center;
    letter-spacing: 6px;
    text-transform: uppercase;
}
.salon-input::placeholder { color: #5a4868; letter-spacing: 6px; }
.salon-input:focus { outline: none; border-color: var(--gold); }
.salon-submit {
    background: var(--gradient-fire);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-family: inherit;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.salon-submit:active { transform: scale(0.98); }

/* ---------- Code de la partie (gros affichage) ---------- */
.code-card { text-align: center; padding: 22px 18px; }
.code-label {
    color: var(--muted);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.code-value {
    font-family: 'Fredoka', monospace;
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: 10px;
    background: var(--gradient-fire);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 12px;
}
.copy-code {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--card-border);
    color: #fff;
    border-radius: 10px;
    padding: 8px 14px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
    transition: background 0.15s;
}
.copy-code:active { background: rgba(255, 255, 255, 0.16); }
.copy-code i { color: var(--gold); }

/* ---------- QR ---------- */
.qr-card { text-align: center; padding: 18px; }
.qr-label {
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.qr-label i { color: var(--gold); }
.qr-img {
    width: 200px; height: 200px;
    background: #fff;
    padding: 10px;
    border-radius: 14px;
    margin: 0 auto;
    display: block;
}
.qr-hint {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

/* ---------- Liste des joueurs ---------- */
.players-card { padding: 14px 18px 16px; }
.players-title {
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 8px;
}
.players-title i { color: var(--gold); font-size: 0.85rem; }
.players-count {
    margin-left: auto;
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold);
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}
.players-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.player-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    animation: playerEnter 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes playerEnter {
    from { opacity: 0; transform: translateY(-6px) scale(0.95); }
    to { opacity: 1; transform: none; }
}
.player-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--gradient-fire);
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 0.78rem; color: #fff;
    flex-shrink: 0;
}
.player-avatar.has-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
    box-shadow: inset 0 0 0 2px rgba(255, 215, 0, 0.45);
}
.player-avatar.is-admin {
    box-shadow: inset 0 0 0 2px rgba(0, 229, 255, 0.55), 0 0 12px rgba(0, 229, 255, 0.35);
}
.player-avatar.has-image.is-admin {
    box-shadow: inset 0 0 0 2px rgba(0, 229, 255, 0.65), 0 0 12px rgba(0, 229, 255, 0.4);
}
.player-admin-tag {
    background: linear-gradient(135deg, #00E5FF 0%, #7000FF 100%);
    color: #fff;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.4px;
    display: inline-flex; align-items: center; gap: 4px;
}
.player-admin-tag i { font-size: 0.58rem; }
.player-name { flex: 1; font-weight: 700; font-size: 0.95rem; }
.player-host-tag {
    background: linear-gradient(135deg, #FFD700, #FF8A00);
    color: #1a0e00;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}
.players-empty {
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
    padding: 8px 0;
}

/* ---------- Boutons start / leave ---------- */
.salon-start {
    background: var(--gradient-fire);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 16px;
    font-family: inherit;
    font-weight: 900;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 6px 0 #3a0052;
    transition: transform 0.1s, box-shadow 0.1s, opacity 0.15s;
}
.salon-start:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 2px 0 #3a0052; }
.salon-start:disabled { opacity: 0.4; cursor: default; box-shadow: none; }
.salon-hint {
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
    line-height: 1.4;
}
.salon-leave {
    background: transparent;
    color: var(--muted);
    border: 1px solid rgba(144, 125, 158, 0.4);
    border-radius: 14px;
    padding: 12px;
    font-family: inherit;
    font-size: 0.92rem;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 4px;
}
.salon-leave:active { color: #fff; border-color: rgba(255, 255, 255, 0.4); }

/* ---------- Loader / erreurs ---------- */
.salon-loading {
    text-align: center; padding: 40px 20px;
}
.salon-spinner {
    width: 38px; height: 38px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    margin: 0 auto 14px;
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { color: var(--text-soft); font-size: 0.92rem; }
.salon-error { color: #ff7a93; font-size: 0.88rem; margin-top: 8px; text-align: center; min-height: 1.2em; }
.global-error {
    background: rgba(255, 0, 77, 0.10);
    border: 1px solid rgba(255, 0, 77, 0.35);
    border-radius: 12px;
    padding: 12px 14px;
}

/* ============================================================
   JEU : IMPOSTEUR MULTI
   ============================================================ */

/* Carte de rôle (chaque joueur voit la sienne) */
.role-card {
    text-align: center;
    padding: 24px 22px;
    position: relative;
    overflow: hidden;
}
.role-card.is-imposteur {
    background: linear-gradient(160deg, rgba(255, 0, 77, 0.20), rgba(112, 0, 255, 0.10));
    border-color: rgba(255, 0, 77, 0.45);
    box-shadow: 0 0 28px rgba(255, 0, 77, 0.20);
}
.role-card.is-citoyen {
    background: linear-gradient(160deg, rgba(0, 229, 255, 0.18), rgba(112, 0, 255, 0.08));
    border-color: rgba(0, 229, 255, 0.40);
}
.role-game-name {
    color: var(--muted);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.role-game-name i { color: var(--gold); }
.role-label {
    color: var(--text-soft);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.role-icon {
    font-size: 4rem;
    line-height: 1;
    margin: 0 auto 10px;
}
.role-name {
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.role-card.is-imposteur .role-name { color: #ff7a93; }
.role-card.is-citoyen .role-name { color: #5ce0ff; }

.role-word-label {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.role-word {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700, #FF8A00);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    margin-bottom: 14px;
    letter-spacing: 1px;
}
.role-instruction {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 18px;
}
.role-seen-btn {
    background: var(--gradient-fire);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px 22px;
    font-family: inherit;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
}
.role-seen-btn:active { transform: scale(0.97); }

/* Phase discussion */
.discussion-card { text-align: center; padding: 24px 22px; }
.discussion-icon {
    font-size: 2.8rem;
    background: var(--gradient-fire);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 10px;
}
.discussion-title {
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.discussion-text {
    color: var(--text-soft);
    line-height: 1.5;
    font-size: 0.95rem;
    margin-bottom: 18px;
}
.discussion-text strong { color: #fff; }
.show-role-again-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    border-radius: 12px;
    padding: 10px 16px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    margin-right: 8px;
    display: inline-flex; align-items: center; gap: 8px;
}
.show-role-again-btn:active { background: rgba(255, 255, 255, 0.14); }
.reveal-btn {
    background: linear-gradient(135deg, #FFD700, #FF8A00);
    color: #1a0e00;
    border: none;
    border-radius: 12px;
    padding: 10px 18px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.35);
}
.reveal-btn:active { transform: scale(0.97); }

/* Révélation */
.reveal-card {
    text-align: center;
    padding: 26px 22px;
    background: linear-gradient(160deg, rgba(255, 215, 0, 0.12), rgba(255, 138, 0, 0.06));
    border-color: rgba(255, 215, 0, 0.45);
}
.reveal-icon {
    font-size: 3rem;
    color: #ff7a93;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 14px rgba(255, 0, 77, 0.4));
}
.reveal-label {
    color: var(--text-soft);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.reveal-name {
    font-size: 2.4rem;
    font-weight: 900;
    color: #ff7a93;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    line-height: 1;
}
.reveal-word-label {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.reveal-word {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700, #FF8A00);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}
.new-round-btn {
    background: var(--gradient-fire);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px 22px;
    font-family: inherit;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
}
.new-round-btn:active { transform: scale(0.97); }
.reveal-hint {
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 8px;
}

/* ============================================================
   SETUP (hôte) + ATTENTE (non-hôte)
   ============================================================ */
.setup-card { padding: 20px; }
.setup-title {
    font-size: 1.05rem; font-weight: 800;
    margin-bottom: 14px;
    display: flex; align-items: center; gap: 8px;
}
.setup-title i { color: var(--gold); }
.setup-row {
    display: flex; flex-direction: column; gap: 8px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.setup-row:first-of-type { border-top: none; padding-top: 0; }
.setup-row.toggle-row { flex-direction: row; align-items: center; justify-content: space-between; }
.setup-label {
    font-size: 0.92rem; font-weight: 700; color: var(--text-soft);
    display: flex; flex-direction: column; gap: 2px;
}
.setup-sub { font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.setup-segmented {
    display: flex; gap: 4px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    padding: 4px;
}
.setup-opt {
    flex: 1;
    background: transparent; border: none;
    color: var(--text-soft);
    font-family: inherit; font-size: 0.86rem; font-weight: 700;
    padding: 9px 10px;
    border-radius: 9px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.setup-opt small { font-size: 0.65rem; font-weight: 600; opacity: 0.75; }
.setup-opt.is-active {
    background: linear-gradient(135deg, #FF7A00, #FF004D);
    color: #fff;
    box-shadow: 0 3px 10px rgba(255, 0, 77, 0.3);
}
.setup-opt:disabled { opacity: 0.4; cursor: not-allowed; }
.setup-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.setup-switch input { opacity: 0; width: 0; height: 0; }
.setup-slider {
    position: absolute; inset: 0; cursor: pointer;
    background: rgba(255, 255, 255, 0.15); border-radius: 999px; transition: 0.2s;
}
.setup-slider::before {
    content: ""; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px;
    background: #fff; border-radius: 50%; transition: 0.2s;
}
.setup-switch input:checked + .setup-slider { background: linear-gradient(135deg, #FFD700, #FF8A00); }
.setup-switch input:checked + .setup-slider::before { transform: translateX(20px); }

.setup-start {
    margin-top: 8px;
    background: var(--gradient-fire);
    color: #fff; border: none; border-radius: 14px;
    padding: 14px;
    font-family: inherit; font-weight: 900; font-size: 1rem;
    text-transform: uppercase; letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 6px 0 #3a0052;
}
.setup-start:active { transform: translateY(4px); box-shadow: 0 2px 0 #3a0052; }

.setup-waiting { text-align: center; padding: 26px 20px; }
.setup-waiting-icon {
    font-size: 2.4rem; color: var(--gold);
    margin-bottom: 10px; display: block;
    animation: spin 1.8s linear infinite;
}
.setup-waiting h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; text-transform: uppercase; }
.setup-waiting p { color: var(--text-soft); font-size: 0.9rem; }

/* ============================================================
   VOTE
   ============================================================ */
.vote-card { padding: 18px; }
.vote-title {
    font-size: 1.05rem; font-weight: 800;
    text-align: center;
    margin-bottom: 4px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.vote-title i { color: var(--gold); }
.vote-sub { text-align: center; color: var(--text-soft); font-size: 0.88rem; margin-bottom: 14px; }
.vote-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.vote-option {
    display: flex; align-items: center; gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.vote-option:active { transform: scale(0.985); }
.vote-option:hover { border-color: var(--gold); }
.vote-option.is-my-vote {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(255, 138, 0, 0.08));
}
.vote-option.is-disabled {
    opacity: 0.5; pointer-events: none;
}
.vote-option-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--gradient-fire);
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 0.78rem; color: #fff;
    flex-shrink: 0;
}
.vote-option-avatar.has-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
    box-shadow: inset 0 0 0 2px rgba(255, 215, 0, 0.45);
}
.vote-option-name { flex: 1; font-weight: 700; font-size: 0.95rem; }
.vote-option-count {
    background: rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.78rem; font-weight: 900;
    color: var(--gold);
}
.vote-status {
    color: var(--text-soft); font-size: 0.85rem;
    text-align: center; margin-bottom: 8px;
}
.vote-hint {
    color: var(--gold-light, #fff3a3);
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 8px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.conclude-vote-btn {
    margin-top: 4px;
    background: linear-gradient(135deg, #FFD700, #FF8A00);
    color: #1a0e00;
    border: none; border-radius: 12px;
    padding: 12px 18px;
    font-family: inherit; font-size: 0.95rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.35);
}
.conclude-vote-btn:active { transform: scale(0.97); }

/* ============================================================
   REVEAL (enrichie : rôles + mots)
   ============================================================ */
.reveal-outcome {
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FFD700, #FF8A00);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.reveal-voted-label {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.reveal-roles {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 12px;
    text-align: left;
}
.reveal-role-row {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    font-size: 0.92rem;
}
.reveal-role-tag {
    margin-left: auto;
    font-size: 0.7rem; font-weight: 900; letter-spacing: 0.5px;
    padding: 2px 9px; border-radius: 999px;
}
.reveal-role-tag.is-imposteur { background: linear-gradient(135deg, #FF004D, #7000FF); color: #fff; }
.reveal-role-tag.is-misterwhite { background: rgba(255, 255, 255, 0.95); color: #1a0e00; }
.reveal-role-tag.is-citoyen { background: rgba(0, 229, 255, 0.18); color: #5ce0ff; }
.reveal-words {
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 14px;
}
.reveal-words strong { color: var(--gold); }
