/* ============================================================
   PRONOSTICS — World Cup 2026 Predictions
   ============================================================ */

/* ── Auth screen ─────────────────────────────────────────── */
.prono-auth-wrap {
    display: flex;
    justify-content: center;
    padding: 32px 16px 60px;
}
.prono-auth-card {
    width: 100%;
    max-width: 440px;
    background: #0F1624;
    border-radius: 20px;
    box-shadow: 0 8px 48px rgba(0,0,0,.7), 0 0 0 1px rgba(0,212,255,.12);
    padding: 36px 32px 28px;
    text-align: center;
}
.prono-auth-logo  { font-size: 2.6rem; margin-bottom: 10px; }
.prono-auth-title { font-size: 1.3rem; font-weight: 800; color: #00D4FF; margin: 0 0 6px; letter-spacing: 1px; }
.prono-auth-sub   { font-size: .82rem; color: #5B7FA6; margin: 0 0 14px; line-height: 1.5; }

.prono-disclaimer {
    display: flex; align-items: flex-start; gap: 10px;
    background: rgba(255,180,0,.08); border: 1px solid rgba(255,180,0,.28);
    border-radius: 10px; padding: 10px 14px; margin-bottom: 20px;
    text-align: left;
}
.prono-disclaimer-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.prono-disclaimer-text { font-size: .75rem; color: #C8A84B; line-height: 1.55; }
.prono-disclaimer-text strong { color: #FFD166; font-weight: 700; }
.prono-wrap .prono-disclaimer { margin: 0 0 14px; }

.prono-auth-tabs {
    display: flex;
    background: #0a1020;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 24px;
    gap: 4px;
}
.prono-auth-tab {
    flex: 1;
    padding: 9px 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #5B7FA6;
    font-family: 'Montserrat', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s, color .18s;
}
.prono-auth-tab.active {
    background: #1a3060;
    color: #00D4FF;
}

.prono-auth-label {
    display: block;
    text-align: left;
    font-size: .72rem;
    font-weight: 700;
    color: #5B7FA6;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 7px;
}
.prono-auth-req { color: #FF3D5C; }
.prono-auth-consent {
    display: flex; align-items: flex-start; gap: 10px;
    margin: 14px 0 18px; cursor: pointer; text-align: left;
}
.prono-auth-consent input[type="checkbox"] {
    margin-top: 2px; flex-shrink: 0; width: 15px; height: 15px;
    accent-color: #FFB703; cursor: pointer;
}
.prono-auth-consent span { font-size: .72rem; color: #5B7FA6; line-height: 1.5; }
.prono-auth-consent strong { color: #FFB703; }
.prono-auth-input {
    width: 100%;
    box-sizing: border-box;
    background: #162034;
    border: 1px solid rgba(0,212,255,.2);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: .95rem;
    font-family: 'Montserrat', sans-serif;
    color: #EEF2FF;
    outline: none;
    margin-bottom: 16px;
    transition: border-color .2s;
}
.prono-auth-input:focus   { border-color: #00D4FF; }
.prono-auth-input::placeholder { color: #3A5070; }
.prono-auth-input:disabled { opacity: .5; }

.prono-auth-otp {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .25em;
}
.prono-auth-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #0078d4, #00D4FF);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    font-weight: 800;
    cursor: pointer;
    margin-bottom: 12px;
    transition: opacity .18s, transform .1s;
}
.prono-auth-btn:hover:not(:disabled) { opacity: .88; transform: translateY(-1px); }
.prono-auth-btn:disabled { opacity: .5; cursor: not-allowed; }

.prono-auth-link {
    background: none;
    border: none;
    color: #5B7FA6;
    font-size: .78rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}
/* ── Modal OTP ──────────────────────────────────────────────── */
.prono-otp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: fadeIn .18s ease;
}
@keyframes fadeIn { from { opacity:0 } to { opacity:1 } }

.prono-otp-modal {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #0F1624;
    border-radius: 20px;
    box-shadow: 0 12px 60px rgba(0,0,0,.9), 0 0 0 1px rgba(0,212,255,.2);
    padding: 38px 32px 28px;
    text-align: center;
    animation: modalIn .22s cubic-bezier(.34,1.3,.64,1);
}
@keyframes modalIn {
    from { transform: scale(.88); opacity:0 }
    to   { transform: scale(1);   opacity:1 }
}
.prono-otp-close {
    position: absolute;
    top: 14px; right: 16px;
    background: none; border: none;
    color: #3A5070; font-size: 1.1rem;
    cursor: pointer; padding: 4px 8px;
    border-radius: 6px; transition: color .15s, background .15s;
}
.prono-otp-close:hover { color: #EEF2FF; background: rgba(255,255,255,.06); }
.prono-otp-icon  { font-size: 2.2rem; margin-bottom: 12px; }
.prono-otp-title { font-size: 1.1rem; font-weight: 800; color: #00D4FF; margin: 0 0 8px; }
.prono-otp-sub   { font-size: .82rem; color: #5B7FA6; margin: 0 0 22px; line-height: 1.5; }
.prono-otp-sub strong { color: #EEF2FF; }

.prono-auth-msg {
    min-height: 24px;
    font-size: .8rem;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: left;
    transition: all .2s;
}
.prono-auth-msg:empty { padding: 0; }
.prono-auth-msg--error   { background: rgba(255,61,92,.12); color: #FF3D5C; border: 1px solid rgba(255,61,92,.25); }
.prono-auth-msg--success { background: rgba(46,204,113,.10); color: #2ecc71; border: 1px solid rgba(46,204,113,.25); }
.prono-auth-msg--info    { background: rgba(0,212,255,.08);  color: #00D4FF; border: 1px solid rgba(0,212,255,.2); }

/* ── Wrapper ─────────────────────────────────────────────── */
.prono-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px 48px;
    font-family: 'Montserrat', sans-serif;
}

/* ── Écran d'inscription ─────────────────────────────────── */
.prono-setup {
    max-width: 440px;
    margin: 40px auto;
    padding: 36px 32px;
    background: #0F1624;
    border-radius: 20px;
    box-shadow: 0 8px 48px rgba(0,0,0,.7), 0 0 0 1px rgba(0,212,255,.12);
    text-align: center;
}
.prono-setup-logo  { font-size: 2.8rem; margin-bottom: 10px; }
.prono-setup-title { font-size: 1.35rem; font-weight: 800; color: #00D4FF; margin: 0 0 6px; }
.prono-setup-sub   { font-size: .85rem; color: #5B7FA6; margin: 0 0 24px; }

.prono-setup-label {
    font-size: .75rem; font-weight: 700; color: #5B7FA6;
    text-transform: uppercase; letter-spacing: .08em;
    text-align: left; margin: 0 0 8px; display: block;
}
.prono-setup-input {
    width: 100%; box-sizing: border-box;
    background: #162034; border: 1px solid rgba(0,212,255,.25);
    border-radius: 10px; padding: 12px 16px;
    font-size: .95rem; font-family: 'Montserrat', sans-serif;
    color: #EEF2FF; outline: none; margin-bottom: 20px;
    transition: border-color .2s;
}
.prono-setup-input:focus   { border-color: #00D4FF; }
.prono-setup-input::placeholder { color: #5B7FA6; }

.prono-color-grid {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center; margin-bottom: 24px;
}
.prono-color-btn {
    width: 34px; height: 34px; border-radius: 50%;
    border: 3px solid transparent; cursor: pointer; padding: 0;
    transition: transform .15s, border-color .15s;
}
.prono-color-btn:hover  { transform: scale(1.15); }
.prono-color-btn.selected {
    border-color: #fff; transform: scale(1.2);
    box-shadow: 0 0 0 2px rgba(0,212,255,.5);
}
.prono-setup-submit {
    width: 100%; background: linear-gradient(135deg,#1A56DB,#2E70F5);
    color: #fff; border: none; border-radius: 50px;
    padding: 13px 24px; font-size: 1rem; font-weight: 800;
    font-family: 'Montserrat', sans-serif; cursor: pointer;
    letter-spacing: .04em; transition: opacity .2s, transform .1s;
}
.prono-setup-submit:hover  { opacity: .9; }
.prono-setup-submit:active { transform: scale(.97); }
.prono-setup-required { font-size: .68rem; color: #3A5070; margin: 10px 0 0; }

/* ── Barre identité (en-tête section) ───────────────────── */
.prono-identity-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; margin-bottom: 20px;
    background: linear-gradient(135deg,#0D1E3A 0%,#1A56DB 100%);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(26,86,219,.3);
}
.prono-identity-left  { display: flex; align-items: center; gap: 12px; }
.prono-identity-icon  { font-size: 1.5rem; }
.prono-identity-title { font-size: 1rem; font-weight: 800; color: #00D4FF; letter-spacing: .05em; }
.prono-identity-sub   { font-size: .72rem; color: rgba(255,255,255,.55); margin-top: 2px; }
.prono-identity-right { display: flex; align-items: center; gap: 10px; }
.prono-me-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: .85rem; color: #fff;
    border: 2px solid rgba(255,255,255,.25); flex-shrink: 0;
}
.prono-me-name {
    font-size: .85rem; font-weight: 700; color: #F0ECE3;
    max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.prono-change-btn {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px; color: #F0ECE3; padding: 5px 10px;
    cursor: pointer; font-size: .8rem; transition: background .2s;
    font-family: 'Montserrat', sans-serif;
}
.prono-change-btn:hover { background: rgba(255,255,255,.18); }

/* ── Barre de navigation interne ────────────────────────── */
.prono-nav {
    display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap;
}
.prono-nav-btn {
    padding: 8px 18px; border-radius: 50px; border: 1px solid rgba(0,212,255,.2);
    background: #0F1624; color: #5B7FA6; font-size: .82rem; font-weight: 700;
    cursor: pointer; transition: all .2s; font-family: 'Montserrat', sans-serif;
    letter-spacing: .03em;
}
.prono-nav-btn:hover     { border-color: rgba(0,212,255,.45); color: #EEF2FF; background: #162034; }
.prono-nav-btn.active    { background: #1A56DB; border-color: #1A56DB; color: #fff; }

/* ── Filtres de matchs ───────────────────────────────────── */
.prono-filters {
    display: flex; gap: 8px; margin-bottom: 20px;
    flex-wrap: wrap; align-items: center;
}
.prono-filter-label { font-size: .75rem; color: #5B7FA6; font-weight: 700; margin-right: 4px; }
.prono-filter-btn {
    padding: 6px 14px; border-radius: 50px; border: 1px solid rgba(255,255,255,.1);
    background: #162034; color: #5B7FA6; font-size: .78rem; font-weight: 700;
    cursor: pointer; transition: all .15s; font-family: 'Montserrat', sans-serif;
}
.prono-filter-btn:hover  { border-color: rgba(0,212,255,.4); color: #EEF2FF; }
.prono-filter-btn.active { background: #162034; border-color: #00D4FF; color: #00D4FF; }

/* ── Barre de progression ────────────────────────────────── */
.prono-progress-bar {
    background: #0F1624; border: 1px solid rgba(0,212,255,.12);
    border-radius: 10px; padding: 12px 18px; margin-bottom: 22px;
    display: flex; align-items: center; gap: 14px;
}
.prono-progress-text { font-size: .8rem; font-weight: 700; color: #5B7FA6; white-space: nowrap; }
.prono-progress-track {
    flex: 1; height: 6px; background: #162034; border-radius: 3px; overflow: hidden;
}
.prono-progress-fill {
    height: 100%; background: linear-gradient(90deg,#1A56DB,#00D4FF);
    border-radius: 3px; transition: width .4s ease;
}
.prono-progress-pct { font-size: .8rem; font-weight: 800; color: #00D4FF; white-space: nowrap; }

/* ── Grille de matchs ────────────────────────────────────── */
.prono-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

/* ── Carte de match ──────────────────────────────────────── */
.prono-card {
    background: #0F1624;
    border: 1px solid #1A3255;
    border-radius: 14px;
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .15s, box-shadow .15s;
}
.prono-card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.4); }

/* Haiti = cadre bleu/rouge (couleurs drapeau haïtien) */
.prono-card.haiti {
    border-color: transparent;
    background: linear-gradient(#0F1624,#0F1624) padding-box,
                linear-gradient(135deg,#003F87,#D21034) border-box;
    border: 2px solid transparent;
}
/* Match vedette = bordure dorée */
.prono-card.featured-card { border-color: rgba(255,214,0,.35); }
/* Match verrouillé = légèrement opaque */
.prono-card.locked { opacity: .85; }

/* ── En-tête de carte ────────────────────────────────────── */
.prono-card-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; background: #0B1220; border-bottom: 1px solid #1A3255;
}
.prono-card-round { font-size: .68rem; font-weight: 700; color: #5B7FA6; letter-spacing: .06em; text-transform: uppercase; }
.prono-card-badges { display: flex; gap: 5px; align-items: center; }
.prono-badge {
    font-size: .6rem; font-weight: 800; padding: 2px 7px; border-radius: 20px;
    letter-spacing: .06em; text-transform: uppercase;
}
.prono-badge.haiti    { background: rgba(0,63,135,.35); color: #6FA8FF; border: 1px solid rgba(0,63,135,.5); }
.prono-badge.featured { background: rgba(255,214,0,.15); color: #FFD700; border: 1px solid rgba(255,214,0,.3); }
.prono-badge.locked   { background: rgba(255,255,255,.08); color: #5B7FA6; border: 1px solid rgba(255,255,255,.1); }
.prono-badge.done     { background: rgba(0,230,118,.12); color: #00E676; border: 1px solid rgba(0,230,118,.3); }

/* ── Corps de carte ──────────────────────────────────────── */
.prono-card-body {
    padding: 16px 14px; display: flex; align-items: center;
    justify-content: space-between; gap: 8px; flex: 1;
}
.prono-team {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; flex: 1; min-width: 0;
}
.prono-flag  { font-size: 2rem; line-height: 1; }
.prono-team-name {
    font-size: .72rem; font-weight: 700; color: #EEF2FF;
    text-align: center; line-height: 1.2;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%;
}
.prono-score-zone {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; flex-shrink: 0;
}
.prono-score-inputs { display: flex; align-items: center; gap: 8px; }
.prono-score-sep    { font-size: 1.2rem; font-weight: 900; color: #5B7FA6; }
.prono-score-input {
    width: 46px; height: 46px;
    background: #162034; border: 2px solid #1A3255; border-radius: 10px;
    color: #EEF2FF; font-size: 1.2rem; font-weight: 900;
    text-align: center; outline: none; font-family: 'Montserrat', sans-serif;
    -moz-appearance: textfield; transition: border-color .2s;
}
.prono-score-input::-webkit-outer-spin-button,
.prono-score-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.prono-score-input:focus  { border-color: #1A56DB; background: #1C2A45; }
.prono-score-input:disabled {
    background: #0B1220; color: #3A5070; border-color: #1A2540; cursor: not-allowed;
}
.prono-lock-icon { font-size: 1.2rem; color: #5B7FA6; }

/* Résultat réel affiché après le match */
.prono-result-display {
    font-size: .65rem; font-weight: 700; color: #5B7FA6; text-align: center; margin-top: 2px;
}
.prono-result-score { color: #EEF2FF; font-size: .8rem; font-weight: 900; }

/* Indicateur de points */
.prono-points-badge {
    font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: 20px;
    letter-spacing: .04em;
}
.prono-points-badge.pts-3 { background: rgba(0,230,118,.15); color: #00E676; border: 1px solid rgba(0,230,118,.35); }
.prono-points-badge.pts-1 { background: rgba(255,214,0,.15);  color: #FFD700; border: 1px solid rgba(255,214,0,.3);  }
.prono-points-badge.pts-0 { background: rgba(255,61,92,.1);   color: #FF3D5C; border: 1px solid rgba(255,61,92,.25); }

/* ── Pied de carte ───────────────────────────────────────── */
.prono-card-foot {
    padding: 10px 14px; border-top: 1px solid #1A3255;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.prono-card-info  { font-size: .65rem; color: #5B7FA6; line-height: 1.4; }
.prono-card-info strong { color: #8B9CB6; }

.prono-save-btn {
    background: linear-gradient(135deg,#1A56DB,#2E70F5);
    border: none; border-radius: 8px; color: #fff; padding: 7px 14px;
    font-size: .78rem; font-weight: 800; cursor: pointer;
    font-family: 'Montserrat', sans-serif; white-space: nowrap;
    transition: opacity .2s, transform .1s, background .2s;
    flex-shrink: 0;
}
.prono-save-btn:hover   { opacity: .9; }
.prono-save-btn:active  { transform: scale(.95); }
.prono-save-btn:disabled { opacity: .4; cursor: not-allowed; }
.prono-save-btn.saved   {
    background: linear-gradient(135deg,#00A855,#00E676); pointer-events: none;
}
.prono-save-btn.saving  { opacity: .6; pointer-events: none; }

/* ── Classement ──────────────────────────────────────────── */
.prono-lb-wrap  { max-width: 680px; margin: 0 auto; }
.prono-lb-title {
    font-size: 1.1rem; font-weight: 900; color: #00D4FF; margin: 0 0 16px;
    display: flex; align-items: center; gap: 10px;
}
.prono-lb-table { width: 100%; border-collapse: collapse; }
.prono-lb-table th {
    font-size: .68rem; font-weight: 800; color: #5B7FA6;
    text-transform: uppercase; letter-spacing: .07em;
    padding: 8px 12px; text-align: left;
    border-bottom: 1px solid #1A3255;
}
.prono-lb-table th.right { text-align: right; }
.prono-lb-row { transition: background .15s; }
.prono-lb-row:hover td { background: #0F1A2E; }
.prono-lb-row td {
    padding: 11px 12px; border-bottom: 1px solid rgba(26,50,85,.5);
    font-size: .85rem; color: #EEF2FF;
}
.prono-lb-row td.right { text-align: right; }

.prono-lb-rank {
    font-size: .95rem; font-weight: 900; width: 36px;
    text-align: center; color: #5B7FA6;
}
.prono-lb-medal { font-size: 1.2rem; }
.prono-lb-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: .72rem; color: #fff;
    border: 2px solid rgba(255,255,255,.15); flex-shrink: 0;
    vertical-align: middle; margin-right: 8px;
}
.prono-lb-name   { font-weight: 700; color: #EEF2FF; }
.prono-lb-pts    { font-size: 1rem; font-weight: 900; color: #00D4FF; }
.prono-lb-exact  { font-size: .78rem; color: #00E676; font-weight: 700; }
.prono-lb-correct{ font-size: .78rem; color: #FFD700; font-weight: 700; }
.prono-lb-total  { font-size: .75rem; color: #5B7FA6; }

.prono-lb-empty {
    text-align: center; padding: 40px 20px;
    color: #5B7FA6; font-size: .9rem; font-style: italic;
}

/* ── Règles du jeu ───────────────────────────────────────── */
.prono-rules {
    background: #0B1220; border: 1px solid #1A3255;
    border-radius: 12px; padding: 20px 24px; margin-bottom: 22px;
}
.prono-rules h4 { font-size: .85rem; font-weight: 800; color: #00D4FF; margin: 0 0 12px; }
.prono-rules ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.prono-rules li { font-size: .8rem; color: #8B9CB6; display: flex; align-items: center; gap: 8px; }
.prono-rules li span.badge {
    font-size: .7rem; font-weight: 900; padding: 2px 8px; border-radius: 20px; flex-shrink: 0;
}

/* ── Zone Admin (résultats) ──────────────────────────────── */
.prono-admin-wrap {
    margin-top: 32px; padding: 20px;
    background: #0B1220; border: 1px solid rgba(255,61,92,.25); border-radius: 12px;
}
.prono-admin-title {
    font-size: .82rem; font-weight: 800; color: #FF3D5C; margin: 0 0 16px;
    display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .06em;
}
.prono-admin-grid { display: flex; flex-direction: column; gap: 10px; }
.prono-admin-row {
    display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap;
    padding: 10px 12px; background: #0F1624; border-radius: 8px;
}
.prono-admin-match { flex: 1; font-size: .8rem; font-weight: 700; color: #EEF2FF; min-width: 160px; }
.prono-admin-right { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.prono-admin-inputs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.prono-admin-teams {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    padding: 5px 8px; background: rgba(26,86,219,.08); border-radius: 6px;
    border: 1px solid rgba(26,86,219,.2); margin-bottom: 2px;
}
.prono-admin-team-input {
    height: 30px; background: #162034; border: 1px solid #1e4a80; border-radius: 6px;
    color: #93b4f7; font-size: .72rem; padding: 0 8px; outline: none; width: 150px;
}
.prono-admin-team-input::placeholder { color: #2A4060; }
.prono-admin-team-save-btn {
    height: 30px; padding: 0 10px; background: rgba(26,86,219,.3);
    border: 1px solid rgba(26,86,219,.5); border-radius: 6px;
    color: #93b4f7; font-size: .72rem; font-weight: 700; cursor: pointer;
}
.prono-admin-team-save-btn:hover { background: rgba(26,86,219,.5); color: #fff; }
.prono-admin-bonus-inputs { display: flex; gap: 6px; flex-wrap: wrap; }
.prono-admin-bonus {
    height: 32px; background: #162034; border: 1px solid #1A3255; border-radius: 7px;
    color: #EEF2FF; font-size: .72rem; font-weight: 700;
    font-family: 'Montserrat', sans-serif; outline: none;
    padding: 0 8px; -moz-appearance: textfield; width: 80px;
}
.prono-admin-bonus::-webkit-outer-spin-button,
.prono-admin-bonus::-webkit-inner-spin-button { -webkit-appearance: none; }
.prono-admin-bonus::placeholder { color: #2A3A50; font-size: .62rem; }
.prono-admin-motm { width: 160px; }
.prono-admin-score {
    width: 40px; height: 36px; text-align: center;
    background: #162034; border: 1px solid #1A3255; border-radius: 7px;
    color: #EEF2FF; font-size: 1rem; font-weight: 900;
    font-family: 'Montserrat', sans-serif; outline: none;
    -moz-appearance: textfield;
}
.prono-admin-score::-webkit-outer-spin-button,
.prono-admin-score::-webkit-inner-spin-button { -webkit-appearance: none; }
.prono-admin-save-btn {
    background: #FF3D5C; border: none; border-radius: 7px; color: #fff;
    padding: 7px 12px; font-size: .75rem; font-weight: 800; cursor: pointer;
    font-family: 'Montserrat', sans-serif; transition: opacity .2s;
}
.prono-admin-save-btn:hover  { opacity: .85; }
.prono-admin-result { font-size: .75rem; color: #00E676; font-weight: 700; margin-left: 4px; }

/* ── Admin predictions list ──────────────────────────────── */
.prono-admin-preds-section {
    margin-top: 28px;
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 20px;
}
.prono-admin-preds-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
    font-size: .78rem; font-weight: 800; color: #1A56DB;
    text-transform: uppercase; letter-spacing: .06em;
}
.prono-admin-preds-load-btn {
    background: rgba(26,86,219,.25); border: 1px solid rgba(26,86,219,.5);
    border-radius: 7px; color: #93b4f7; padding: 5px 12px;
    font-size: .72rem; font-weight: 700; cursor: pointer;
    font-family: 'Montserrat', sans-serif; transition: background .2s;
}
.prono-admin-preds-load-btn:hover   { background: rgba(26,86,219,.45); color: #fff; }
.prono-admin-preds-load-btn:disabled { opacity: .5; cursor: default; }
.prono-admin-emp-row {
    background: #0F1624; border-radius: 9px; margin-bottom: 6px;
    overflow: hidden; border: 1px solid rgba(255,255,255,.05);
}
.prono-admin-emp-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; cursor: pointer; font-size: .82rem; color: #EEF2FF;
    transition: background .15s;
}
.prono-admin-emp-header:hover { background: rgba(255,255,255,.04); }
.prono-admin-emp-pts {
    font-size: .88rem; font-weight: 900; color: #FFB703;
}
.prono-admin-emp-chevron {
    font-size: .65rem; color: #3A5070; transition: transform .2s;
}
.prono-admin-emp-detail {
    border-top: 1px solid rgba(255,255,255,.05);
}
.prono-admin-pred-row:nth-child(even) { background: rgba(255,255,255,.025); }

/* ── Bouton admin discret ────────────────────────────────── */
.prono-admin-toggle {
    margin-top: 30px; text-align: center;
}
.prono-admin-toggle-btn {
    background: none; border: 1px solid rgba(255,255,255,.08);
    border-radius: 6px; color: #2A3A50; padding: 4px 12px;
    font-size: .65rem; cursor: pointer; font-family: 'Montserrat', sans-serif;
    transition: all .2s;
}
.prono-admin-toggle-btn:hover { color: #FF3D5C; border-color: rgba(255,61,92,.3); }

/* ── Podium des gagnants ─────────────────────────────────── */
.prono-podium {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #0C1625 0%, #0F2040 100%);
    border: 1px solid rgba(255,214,0,.22);
    border-radius: 16px; padding: 22px 20px 14px;
    margin-bottom: 24px; text-align: center;
}
.prono-podium::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg,transparent,#FFD700,#FFA500,#FFD700,transparent);
}
.prono-podium-title {
    font-size: .7rem; font-weight: 800; color: #FFD700;
    text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px;
}
.prono-podium-stage {
    display: flex; align-items: flex-end; justify-content: center;
    gap: 12px; margin-bottom: 10px;
}
.prono-podium-place {
    display: flex; flex-direction: column; align-items: center;
    gap: 5px; flex: 1; max-width: 180px;
}
.prono-podium-crown {
    font-size: 1.5rem; line-height: 1;
    animation: prono-crown 1.2s ease-in-out infinite;
}
@keyframes prono-crown {
    0%,100% { transform: translateY(0) rotate(-5deg); }
    50%      { transform: translateY(-5px) rotate(5deg); }
}
.prono-podium-avatar {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: .95rem; color: #fff;
    border: 3px solid rgba(255,255,255,.2);
}
.place-1 .prono-podium-avatar {
    width: 66px; height: 66px; font-size: 1.15rem;
    border-color: rgba(255,214,0,.65);
    box-shadow: 0 0 22px rgba(255,214,0,.35), 0 0 0 4px rgba(255,214,0,.1);
}
.place-2 .prono-podium-avatar { border-color: rgba(192,192,192,.55); }
.place-3 .prono-podium-avatar { border-color: rgba(205,127,50,.55); }

.prono-podium-name {
    font-size: .75rem; font-weight: 700; color: #EEF2FF;
    max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.place-1 .prono-podium-name { font-size: .88rem; color: #fff; }

.prono-podium-pts { font-size: .8rem; font-weight: 900; color: #5B7FA6; }
.place-1 .prono-podium-pts { font-size: .95rem; color: #FFD700; }
.place-2 .prono-podium-pts { color: #C0C0C0; }
.place-3 .prono-podium-pts { color: #CD7F32; }

.prono-podium-block {
    width: 100%; padding: 6px 0; text-align: center;
    font-size: .75rem; font-weight: 900; border-radius: 6px 6px 0 0;
    margin-top: 4px; letter-spacing: .04em;
}
.place-1 .prono-podium-block {
    background: rgba(255,214,0,.14); color: #FFD700;
    border: 1px solid rgba(255,214,0,.3); border-bottom: none;
    font-size: .85rem; padding: 8px 0;
}
.place-2 .prono-podium-block {
    background: rgba(192,192,192,.1); color: #C0C0C0;
    border: 1px solid rgba(192,192,192,.2); border-bottom: none;
}
.place-3 .prono-podium-block {
    background: rgba(205,127,50,.1); color: #CD7F32;
    border: 1px solid rgba(205,127,50,.2); border-bottom: none;
}
.prono-podium-sub  { font-size: .68rem; color: #3A5070; margin-top: 4px; }
.prono-podium-tie-note { font-size: .72rem; color: #FFD700; margin-top: 6px; font-style: italic; }

/* Champion final (après tournoi) */
.prono-champion-wrap {
    text-align: center; padding: 10px 0 4px;
}
.prono-champion-label {
    display: inline-block; background: rgba(255,214,0,.12);
    border: 1px solid rgba(255,214,0,.4); border-radius: 20px;
    font-size: .7rem; font-weight: 900; color: #FFD700;
    padding: 3px 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px;
}

/* Podium vide */
.prono-podium-empty-msg {
    padding: 16px 0; font-size: .85rem; color: #5B7FA6; font-style: italic;
}

/* ── Responsive ──────────────────────────────────────────── */
/* ── Bonus predictions section ────────────────────────────── */
.prono-bonus-section {
    padding: 10px 14px 0;
    border-top: 1px solid #1A3255;
    background: rgba(11,18,32,.5);
}
.prono-bonus-title {
    font-size: .65rem; font-weight: 800; color: #FFB703;
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px;
}
.prono-bonus-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px;
}
.prono-bonus-field {
    display: flex; flex-direction: column; gap: 3px; cursor: default;
}
.prono-bonus-field span {
    font-size: .63rem; font-weight: 700; color: #5B7FA6; white-space: nowrap;
}
.prono-bonus-wide { grid-column: 1 / -1; }
.prono-bonus-input {
    background: #0F1624; border: 1px solid #1A3255; border-radius: 6px;
    color: #EEF2FF; font-size: .82rem; font-weight: 700;
    padding: 5px 8px; font-family: 'Montserrat', sans-serif;
    outline: none; transition: border-color .2s; -moz-appearance: textfield;
}
.prono-bonus-input::-webkit-outer-spin-button,
.prono-bonus-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.prono-bonus-input:focus { border-color: #FFB703; }
.prono-bonus-input::placeholder { color: #2A3A50; }
.prono-bonus-text { width: 100%; box-sizing: border-box; }
.prono-bonus-hint {
    font-size: .6rem; color: #2A3A50; font-style: italic;
    padding-bottom: 10px; line-height: 1.4;
}

/* ── Bonus locked view (after match kicked off) ────────────── */
.prono-bonus-locked {
    padding: 8px 14px; border-top: 1px solid #1A3255;
    font-size: .63rem; color: #5B7FA6; line-height: 1.7;
    background: rgba(11,18,32,.5);
    display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
}
.prono-bonus-locked strong { color: #8B9CB6; }
.prono-bonus-sep { color: #2A3A50; margin: 0 2px; }

/* ── Per-match winner ──────────────────────────────────────── */
.prono-match-winner {
    padding: 8px 14px; border-top: 1px solid rgba(255,214,0,.2);
    font-size: .68rem; font-weight: 700; color: #8B9CB6;
    background: linear-gradient(90deg, rgba(255,214,0,.05), transparent);
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.prono-winner-pts {
    display: inline-block; background: rgba(255,214,0,.12); color: #FFD700;
    border: 1px solid rgba(255,214,0,.3); border-radius: 20px;
    font-size: .62rem; font-weight: 900; padding: 1px 7px; margin-left: 4px;
}

/* ── Historique des pronostics (admin) ───────────────────── */
.prono-admin-hist-wrap { margin-top: 8px; }
.prono-admin-hist-btn {
    background: none; border: 1px solid rgba(255,255,255,.07);
    border-radius: 6px; color: #3A5070; padding: 4px 10px;
    font-size: .65rem; font-weight: 700; cursor: pointer;
    font-family: 'Montserrat', sans-serif; transition: all .15s;
}
.prono-admin-hist-btn:hover { color: #93b4f7; border-color: rgba(147,180,247,.3); }
.prono-admin-hist-body { margin-top: 6px; }
.prono-admin-hist-table {
    width: 100%; border-collapse: collapse; font-size: .72rem;
}
.prono-admin-hist-table th {
    padding: 4px 10px; text-align: left; color: #3A5070;
    font-size: .62rem; text-transform: uppercase; letter-spacing: .05em;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.prono-admin-hist-table td {
    padding: 5px 10px; color: #8B9CB6;
    border-bottom: 1px solid rgba(255,255,255,.03);
}
.prono-admin-hist-table tr:last-child td { border-bottom: none; }
.prono-admin-hist-table tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.prono-hist-loading,
.prono-hist-empty {
    padding: 8px 4px; font-size: .72rem; color: #3A5070; font-style: italic;
}

/* ── Admin API sync section ──────────────────────────────── */
.prono-admin-api-section {
    margin-top: 28px;
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 20px;
}

/* ── Admin chat history ──────────────────────────────────── */
.prono-admin-chat-section {
    margin-top: 28px;
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 20px;
}
.prono-admin-chat-table {
    width: 100%; border-collapse: collapse; font-size: .72rem;
    margin-top: 8px;
}
.prono-admin-chat-table th {
    padding: 5px 10px; text-align: left; color: #3A5070;
    font-size: .62rem; text-transform: uppercase; letter-spacing: .05em;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
}
.prono-admin-chat-table td {
    border-bottom: 1px solid rgba(255,255,255,.03);
    vertical-align: middle;
}
.prono-admin-chat-table tr:last-child td { border-bottom: none; }
.prono-admin-chat-del td { background: rgba(255,61,92,.04); }
.prono-chat-del-badge {
    display: inline-block; padding: 2px 7px;
    background: rgba(255,61,92,.12); border: 1px solid rgba(255,61,92,.25);
    border-radius: 4px; color: #FF6B6B; font-size: .65rem; white-space: nowrap;
}

/* ── Weapon picker ───────────────────────────────────────────*/
.prono-weapon-section {
    margin: 18px 0 16px;
    text-align: left;
}
.prono-weapon-label {
    font-size: .8rem;
    font-weight: 700;
    color: #8BA3C0;
    margin-bottom: 10px;
    letter-spacing: .5px;
}
.prono-weapon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.prono-weapon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 6px 8px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .18s, background .18s, transform .12s;
    font-family: 'Montserrat', sans-serif;
}
.prono-weapon-card:hover {
    background: rgba(0,212,255,.07);
    border-color: rgba(0,212,255,.28);
    transform: translateY(-1px);
}
.prono-weapon-card.selected {
    background: rgba(0,212,255,.13);
    border-color: #00D4FF;
    box-shadow: 0 0 0 1px rgba(0,212,255,.4);
}
.prono-weapon-emoji { font-size: 1.35rem; line-height: 1; }
.prono-weapon-name  { font-size: .72rem; font-weight: 700; color: #C8DCF0; }
.prono-weapon-desc  { font-size: .6rem; color: #5B7FA6; text-align: center; line-height: 1.3; }

/* ── Responsive ──────────────────────────────────────────────*/
@media (max-width: 640px) {
    .prono-grid { grid-template-columns: 1fr; }
    .prono-identity-bar { flex-wrap: wrap; gap: 10px; }
    .prono-me-name { display: none; }
    .prono-flag { font-size: 1.6rem; }
    .prono-score-input { width: 40px; height: 40px; font-size: 1rem; }
    .prono-setup { padding: 28px 20px; }
    .prono-bonus-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
    .prono-nav { gap: 6px; }
    .prono-nav-btn { padding: 7px 12px; font-size: .76rem; }
    .prono-filter-btn { padding: 5px 10px; }
}


/* Timezone label on match cards */
.prono-tz-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(196, 164, 74, 0.7);
    background: rgba(196, 164, 74, 0.1);
    border-radius: 3px;
    padding: 1px 4px;
    letter-spacing: 0.5px;
    vertical-align: middle;
}
