.rang-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #1a1206; background: #c0733a; white-space: nowrap; }
.rang-bronze { background: #a87345; } .rang-argent { background: #c3ccd6; } .rang-or { background: #f2c94c; }
.rang-platine { background: #7fd6d0; } .rang-diamant { background: #7ab8ff; } .rang-maitre { background: #c58cff; } .rang-grand-maitre { background: #ff7a6b; }
#classe-bloc { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
#classe-bloc button { font-size: 16px; padding: 10px; }
#classe-menu { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 22px; font-size: 13px; }
.discret { opacity: .75; font-size: 13px; }
#classement.ecran, #finclasse.ecran { z-index: 30; }
#hud-rang { position: fixed; top: calc(8px + env(safe-area-inset-top)); right: 12px; z-index: 5; font-size: 12px; display: flex; gap: 6px; align-items: center; background: rgba(0,0,0,.38); padding: 3px 10px; border-radius: 999px; pointer-events: none; }
#finclasse .promo { color: #5ee08a; font-weight: 800; font-size: 22px; margin: 4px 0; }
#finclasse .relegation { color: #ff7a6b; font-weight: 800; font-size: 18px; margin: 4px 0; }
#finclasse .gain { color: #5ee08a; } #finclasse .perte { color: #ff7a6b; }
.classe-place { margin: 8px 0; font-size: 16px; }
.classe-barre { height: 10px; border-radius: 6px; background: rgba(255,255,255,.14); overflow: hidden; margin: 8px 0; }
.classe-barre span { display: block; height: 100%; width: 0; background: linear-gradient(#f4d58d, #c98a2b); transition: width 1.2s ease-out; }
.classe-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.classe-table th, .classe-table td { padding: 4px 6px; border-bottom: 1px solid rgba(255,255,255,.15); }
.classe-table tr.moi { background: rgba(244,213,141,.18); }
#classement-liste { max-height: 55vh; overflow: auto; }
