* {
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(255, 0, 0, 0.25), transparent 35%),
        linear-gradient(180deg, #050505 0%, #0b0000 55%, #000 100%);
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
}

/* GATE */
#screen-gate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top, rgba(255,0,0,0.25), transparent 35%),
        linear-gradient(180deg, #050505 0%, #0b0000 55%, #000 100%);
}
#screen-gate.hidden { display: none; }
#gate-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 40px 32px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,0,0,0.2);
    border-radius: 16px;
    width: 320px;
}
#gate-box h1 { margin: 0; font-size: 36px; }
.gate-subtitle { margin: 0; color: #888; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
#gate-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,0,0,0.3);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    text-align: center;
    outline: none;
}
#gate-input:focus { border-color: #ff2a2a; }
.gate-error { color: #ff4444; font-size: 13px; min-height: 18px; }
#gate-box button {
    width: 100%;
    padding: 12px;
    background: #ff2a2a;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
}
#gate-box button:hover { background: #ff4444; }

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle, rgba(255, 0, 0, 0.12) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.25;
    pointer-events: none;
}

h1 {
    margin: 18px 0 0;
    font-size: 56px;
    letter-spacing: 6px;
    color: #ff2a2a;
    text-shadow: 0 0 20px red, 0 0 40px rgba(255, 0, 0, 0.7);
    font-style: italic;
}

h2 {
    margin-top: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ddd;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

button {
    padding: 10px 20px;
    margin: 6px;
    background: linear-gradient(135deg, #ff1a1a, #7a0000);
    color: white;
    border: 1px solid #ff3b3b;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.45);
}

button:hover {
    transform: scale(1.04);
    box-shadow: 0 0 22px rgba(255, 0, 0, 0.8);
}

input {
    padding: 11px;
    margin: 5px;
    background: #080808;
    color: white;
    border: 1px solid #a00000;
    border-radius: 8px;
}

.screen {
    display: none;
    animation: fadeIn 0.6s ease-in-out;
}

.screen.active {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* BOSS */

#boss {
    margin: 20px auto;
}

.boss-card {
    position: relative;
    width: 430px;
    margin: 25px auto;
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(40, 0, 0, 0.95), rgba(5, 5, 5, 0.95));
    border: 2px solid #ff1e1e;
    border-radius: 18px;
    box-shadow:
        0 0 25px rgba(255, 0, 0, 0.8),
        inset 0 0 25px rgba(255, 0, 0, 0.15);
    overflow: hidden;
}

.boss-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(255,0,0,0.35), transparent 45%);
    animation: pulseGlow 2.5s infinite alternate;
}

@keyframes pulseGlow {
    from { opacity: 0.45; }
    to { opacity: 0.9; }
}

.boss-card > * {
    position: relative;
    z-index: 1;
}

.boss-title {
    font-size: 16px;
    color: #ff4444;
    letter-spacing: 3px;
    font-weight: bold;
}

.boss-nom {
    margin-top: 14px;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.boss-chrono {
    margin: 16px 0;
    font-size: 52px;
    font-weight: 900;
    color: white;
    text-shadow: 0 0 20px red;
}

.boss-kcr {
    font-size: 18px;
    color: #bbb;
}

.boss-tier {
    margin-top: 12px;
    font-size: 22px;
    font-weight: bold;
}

/* PODIUM */

#podium {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 22px;
    margin: 35px auto;
}

.podium-card {
    width: 190px;
    min-height: 190px;
    padding: 18px;
    background: linear-gradient(180deg, #160000, #080808);
    border: 1px solid #8f0000;
    border-radius: 16px;
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.45);
}

.podium-card.first {
    transform: scale(1.18);
    border-color: #ff2a2a;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.9);
}

.podium-rank {
    font-size: 34px;
}

.podium-name {
    margin-top: 8px;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
}

.podium-chrono {
    margin-top: 12px;
    font-size: 26px;
    font-weight: bold;
    color: white;
}

.podium-kcr {
    margin-top: 8px;
    color: #aaa;
}

/* CLASSEMENT */

ul {
    width: 760px;
    max-width: 95%;
    margin: 25px auto;
    padding: 0;
    list-style: none;
}

li {
    margin: 10px 0;
    padding: 14px 18px;
    background: linear-gradient(90deg, rgba(80,0,0,0.85), rgba(10,10,10,0.95));
    border-left: 4px solid red;
    border-radius: 10px;
    font-size: 20px;
    text-align: left;
    box-shadow: 0 0 12px rgba(255,0,0,0.25);
    transition: 0.2s;
}

li:hover {
    transform: translateX(8px);
    box-shadow: 0 0 22px rgba(255,0,0,0.65);
}

/* HISTORIQUE */

#historique {
    margin: 25px auto;
    padding: 18px;
    width: 420px;
    max-width: 95%;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid red;
    border-radius: 14px;
    box-shadow: 0 0 16px rgba(255, 0, 0, 0.35);
}

/* BADGES */

.bronze {
    color: #cd7f32;
    font-weight: bold;
}

.silver {
    color: #c0c0c0;
    font-weight: bold;
}

.gold {
    color: #ffd700;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
}

.elite {
    color: #ff2a2a;
    font-weight: bold;
    text-shadow: 0 0 10px red;
}

.legende {
    color: #ffb000;
    font-weight: bold;
    text-shadow: 0 0 14px orange;
}

.boss-avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: auto;
}

.boss-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid red;
    object-fit: cover;
    box-shadow: 0 0 20px red;
}

.crown {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
}

.boss-label {
    margin-top: 8px;
    font-size: 14px;
    color: #ff4444;
    letter-spacing: 2px;
}

.podium-avatar-wrapper {
    width: 90px;
    height: 90px;
    margin: 8px auto 12px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, red, #390000);
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.75);
}

.podium-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #111;
    object-fit: cover;
}

.podium-card {
    position: relative;
    overflow: hidden;
}

.podium-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.28), transparent 45%);
    opacity: 0.55;
    z-index: 0;
}

.podium-card > * {
    position: relative;
    z-index: 1;
}

.podium-card.first .podium-avatar-wrapper {
    width: 110px;
    height: 110px;
    box-shadow: 0 0 26px rgba(255, 0, 0, 1);
}

.podium-card.first .podium-name {
    color: white;
    text-shadow: 0 0 14px red;
}

.main-leaderboard {
    width: 900px;
    max-width: 95%;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.main-title {
    font-size: 46px;
    margin-top: 0;
}

.circuit-name {
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ccc;
    margin-top: -18px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: color 0.2s;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.circuit-name:hover {
    color: #ff2a2a;
}

/* ── MENU CIRCUIT ── */
#circuit-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

#circuit-menu.visible {
    display: flex;
}

#circuit-menu-box {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 24px 32px;
    min-width: 300px;
    text-align: center;
}

.circuit-menu-titre {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 16px;
}

#circuit-menu-liste button {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #2a2a2a;
    color: #ddd;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 14px 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: color 0.2s, background 0.2s;
}

#circuit-menu-liste button:last-child {
    border-bottom: none;
}

#circuit-menu-liste button:hover {
    color: #fff;
    background: #2a2a2a;
}

#circuit-menu-liste button.actif {
    color: #ff2a2a;
    font-weight: bold;
}

.main-boss-card {
    position: relative;
    width: 460px;
    margin: 20px auto 35px;
    padding: 25px;
    border: 2px solid red;
    border-radius: 18px;
    background: radial-gradient(circle at center, rgba(255,0,0,0.35), #080000 65%);
    box-shadow: 0 0 35px rgba(255,0,0,0.9);
}

.main-boss-rank {
    position: absolute;
    top: 14px;
    left: 18px;
    font-size: 65px;
    font-weight: 900;
    color: #ddd;
    line-height: 1;
}

.main-avatar-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    margin: auto;
}

.main-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid red;
    box-shadow: 0 0 30px red;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    user-select: none;
}

.main-crown {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 42px;
}

.main-boss-name {
    margin-top: 18px;
    font-size: 34px;
    font-weight: 900;
    text-transform: uppercase;
}

.main-boss-label {
    margin: 10px auto;
    padding: 6px 18px;
    width: fit-content;
    border: 1px solid red;
    color: #ff5555;
    letter-spacing: 2px;
}

.main-boss-time {
    font-size: 54px;
    font-weight: 900;
    text-shadow: 0 0 18px red;
}

.main-boss-kcr {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 10px auto 6px;
    color: #bbb;
    font-size: 20px;
    font-weight: bold;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.main-boss-kcr .kcr-badge {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 18px;
    transform: none !important;
    margin-right: 0;
}

.main-boss-kcr .kcr-number {
    width: auto;
    text-align: left;
}

#main-top2-3 {
    width: 760px;
    max-width: 95%;
    margin: 0 auto 20px;
}

.main-runner-card {
    display: grid;
    grid-template-columns: 50px 54px 1fr 170px 140px;
    align-items: center;
    gap: 16px;
    margin: 14px 0;
    padding: 12px 18px;
    border: 1px solid #9b0000;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(120,0,0,0.8), rgba(10,10,10,0.95));
    box-shadow: 0 0 18px rgba(255,0,0,0.45);
}

.main-runner-info {
    text-align: left;
    display: flex;
    align-items: center;
}

.main-rank {
    font-size: 34px;
    color: #ddd;
    font-weight: bold;
}

.main-small-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid red;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    user-select: none;
}

.main-runner-name {
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
}

.main-runner-kcr {
    display: grid;
    grid-template-columns: 30px 50px 20px;
    justify-content: end;
    align-items: center;
    justify-content: end;
    gap: 8px;
    width: 100%;
    justify-self: end;
    text-align: right;
    color: #bbb;
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.main-runner-time {
    width: 140px;
    text-align: right;
    font-size: 24px;
    font-weight: bold;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;;
}

#main-top10 {
    width: 100%;
    will-change: transform;
}

.main-row {
    display: grid;
    grid-template-columns: 50px 54px 1fr 170px 140px;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    margin: 0;
    border-bottom: 1px solid rgba(255,0,0,0.35);
    background: rgba(10,10,10,0.75);
}

.main-row-rank {
    font-size: 24px;
    color: red;
    font-weight: bold;
    text-align: center;
}

.main-row-name {
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 20px;
    text-transform: uppercase;
    min-width: 0;
}

.main-row-kcr {
    display: grid;
    grid-template-columns: 30px 40px 20px;
    align-items: center;
    justify-content: end;
    text-align: right;
    gap: 8px;
    width: 100%;
}

.main-row-time {
    text-align: right;
    font-size: 22px;
    font-weight: bold;
    white-space: nowrap;
}

.main-row-avatar {
    justify-self: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid red;
    box-shadow: 0 0 10px rgba(255,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    user-select: none;
}

#main-scroll-window {
    width: 760px;
    max-width: 95%;
    flex: 1;
    margin: 10px auto 0;
    overflow: hidden;
    position: relative;
    overscroll-behavior: none;
    touch-action: pan-x;
}

.kcr-scroll-window {
    width: 760px;
    max-width: 95%;
    flex: 1;
    margin: 10px auto 0;
    overflow: hidden;
    position: relative;
    overscroll-behavior: none;
    touch-action: pan-x;
}

.kcr-card {
    display: grid;
    grid-template-columns: 50px 54px 1fr 170px;
    align-items: center;
    gap: 16px;
    margin: 14px 0;
    padding: 12px 18px;
    border: 1px solid #9b0000;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(120,0,0,0.8), rgba(10,10,10,0.95));
    box-shadow: 0 0 18px rgba(255,0,0,0.45);
}

.kcr-row-item {
    display: grid;
    grid-template-columns: 50px 54px 1fr 170px;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    margin: 0;
    border-bottom: 1px solid rgba(255,0,0,0.35);
    background: rgba(10,10,10,0.75);
}

#kcr-cards,
#kcr-rows {
    width: 100%;
    will-change: transform;
}

.admin-panel {
    margin: 30px auto;
    padding: 25px;
    width: 650px;
    max-width: 95%;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid red;
    border-radius: 18px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.45);
}

.admin-form {
    margin-top: 25px;
}

.karts-associes-list {
    margin: 14px 0 0;
    text-align: left;
}

.karts-titre {
    font-size: 13px;
    color: #ff5555;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.karts-vide {
    font-size: 13px;
    color: #555;
    margin: 6px 0;
}

.kart-associe-row {
    padding: 6px 10px;
    margin: 4px 0;
    border-radius: 6px;
    font-size: 14px;
}

.kart-row-cliquable {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s;
}

.kart-row-cliquable:hover {
    background: rgba(255,0,0,0.18);
}

.kart-annuler {
    font-size: 14px;
    opacity: 0.5;
    padding: 2px 6px;
    border-radius: 4px;
    transition: opacity 0.15s;
}

.kart-row-cliquable:hover .kart-annuler {
    opacity: 1;
    color: #ff4444;
}

.kart-actif {
    background: rgba(255,0,0,0.08);
    border-left: 3px solid #ff2a2a;
    color: #fff;
}

.kart-prochain {
    background: rgba(243,156,18,0.08);
    border-left: 3px solid #f39c12;
    color: #f39c12;
}

.karts-titre-prochain {
    color: #f39c12;
    margin-top: 14px;
}

.mapping-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.btn-admin-mapping {
    opacity: 0.3;
    font-size: 12px;
    padding: 6px 12px;
}

.btn-admin-mapping:hover {
    opacity: 1;
}

.avatar-upload-label {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px dashed #a00000;
    background: rgba(255,0,0,0.08);
    cursor: pointer;
    margin: 10px auto;
    font-size: 13px;
    color: #ff5555;
    gap: 6px;
    transition: border-color 0.2s, background 0.2s;
    overflow: hidden;
}

.avatar-upload-label:hover {
    border-color: #ff2a2a;
    background: rgba(255,0,0,0.18);
}

.avatar-preview {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
}

.admin-page {
    display: none;
}

body.admin-mode .admin-page {
    position: fixed;
    inset: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mapping-page {
    display: none;
}

body.mapping-mode .mapping-page {
    position: fixed;
    inset: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body.admin-mode .public-screen {
    display: none !important;
}

body.admin-mode .admin-page {
    display: block;
    background: #050505;
}

body.mapping-mode .public-screen {
    display: none !important;
}

body.mapping-mode .mapping-page {
    display: block;
}

#qr-code {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 100;
    opacity: 0.65;
    padding: 6px;
    width: 120px;
    height: 120px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 0, 0, 0.35);
    border-radius: 8px;
    transition: opacity 0.2s;
    overflow: hidden;
}

#qr-code canvas, #qr-code img {
    width: 108px !important;
    height: 108px !important;
}

#qr-code:hover {
    opacity: 1;
}

body.admin-mode #qr-code,
body.mapping-mode #qr-code {
    display: none;
}

@media (max-width: 600px) {
    #qr-code {
        width: 58px;
        height: 58px;
        padding: 3px;
        top: 8px;
        right: 26px;
    }

    #qr-code canvas, #qr-code img {
        width: 52px !important;
        height: 52px !important;
    }
}


#btn-associer {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 999;
    font-size: 16px;
    padding: 12px 26px;
    opacity: 1;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(255,0,0,0.6);
}

body.admin-mode #btn-associer,
body.mapping-mode #btn-associer {
    display: none;
}

#admin-access {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 999;
    opacity: 0.35;
}

#admin-access:hover {
    opacity: 1;
}

/* ── Inscription ── */
.inscription-circuit {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff2a2a;
    margin: 0 0 12px;
    text-align: center;
    cursor: pointer;
}

.inscription-circuit:hover {
    color: #ff6666;
}

/* ── Inscription circuits ── */
#inscription-circuits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
}
.inscription-loading {
    color: #555;
    font-size: 13px;
    padding: 20px 0;
    text-align: center;
}
.inscription-circuit-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    gap: 12px;
}
.inscription-circuit-card.inscrit {
    border-color: rgba(255,42,42,0.25);
    background: rgba(255,42,42,0.05);
}
.inscription-circuit-nom {
    font-size: 13px;
    color: #ccc;
    text-align: left;
    flex: 1;
}
.btn-inscription-circuit {
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    border: 1px solid rgba(255,42,42,0.5);
    background: transparent;
    color: #ff4444;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}
.btn-inscription-circuit:hover { background: rgba(255,42,42,0.12); }
.btn-inscription-circuit.inscrit {
    border-color: rgba(0,200,100,0.4);
    color: #00cc66;
}
.btn-inscription-circuit.inscrit:hover { background: rgba(0,200,100,0.08); }
.inscription-circuit-nb { font-size: 11px; color: #555; margin-left: 6px; }
.inscription-circuit-card { cursor: pointer; }
.inscription-circuit-card:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); }
.inscription-circuit-card.inscrit:hover { border-color: rgba(255,42,42,0.4); background: rgba(255,42,42,0.09); }
.btn-retour-circuits {
    background: transparent;
    border: none;
    color: #888;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 0 12px;
    letter-spacing: 1px;
    align-self: flex-start;
}
.btn-retour-circuits:hover { color: #fff; }
.inscription-circuit-titre {
    font-size: 14px;
    color: #ff2a2a;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 10px;
    text-align: left;
}

/* ── Liste inscrits ── */
.liste-inscrits {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inscrit-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid #2a2a2a;
}

.inscrit-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}

.inscrit-nom {
    flex: 1;
    font-weight: bold;
    color: #fff;
    text-align: left;
}

.inscrit-kart {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    font-weight: bold;
    transition: opacity 0.2s;
}

.inscrit-kart.assigne {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

.inscrit-kart.attente {
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid #3498db;
    color: #3498db;
}

.inscrit-kart:hover {
    opacity: 0.7;
}

.inscrit-readonly {
    cursor: default;
    opacity: 0.45;
    pointer-events: none;
}

.inscrit-suppr {
    color: #444;
    cursor: pointer;
    font-size: 16px;
    padding: 4px 6px;
    transition: color 0.2s;
}

.inscrit-suppr:hover {
    color: #e74c3c;
}

.inscrits-vide {
    color: #555;
    font-style: italic;
    text-align: center;
    margin: 20px 0;
}

#controls {
    position: fixed;
    right: 15px;
    bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
}

#controls button {
    opacity: 0.35;
}

#controls button:hover {
    opacity: 1;
}

.nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,0,0,0.4);
    color: #ff3333;
    font-size: 48px;
    line-height: 1;
    width: 48px;
    height: 80px;
    padding: 0;
    border-radius: 8px;
    opacity: 0.3;
    cursor: pointer;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    opacity: 1;
    box-shadow: 0 0 18px rgba(255,0,0,0.6);
}

.nav-arrow-left { left: 6px; }
.nav-arrow-right { right: 6px; }

body.admin-mode .nav-arrow,
body.mapping-mode .nav-arrow {
    display: none;
}

@media (max-width: 600px) {
    .nav-arrow { display: none; }
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 12px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 900;
    border: 2px solid currentColor;
    box-shadow: 0 0 12px currentColor;
    vertical-align: middle;
}

.rank-badge.bronze {
    color: #cd7f32;
    background: radial-gradient(circle, rgba(205,127,50,0.35), #120804);
}

.rank-badge.silver {
    color: #c0c0c0;
    background: radial-gradient(circle, rgba(192,192,192,0.35), #111);
}

.rank-badge.gold {
    color: #ffd700;
    background: radial-gradient(circle, rgba(255,215,0,0.35), #1a1200);
}

.rank-badge.elite {
    color: #ff2a2a;
    background: radial-gradient(circle, rgba(255,42,42,0.35), #150000);
}

.rank-badge.legende {
    color: #ffb000;
    background: radial-gradient(circle, rgba(255,176,0,0.45), #1a0800);
}

.kcr-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 34px;
    height: 34px;
    min-width: 34px;
    margin-right: 8px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 900;
    border: 2px solid currentColor;
    box-shadow: 0 0 12px currentColor;
    transform: translateX(12px);
    animation: none;
}

.kcr-badge.bronze {
    color: #cd7f32;
    background: rgba(205,127,50,0.2);
}

.kcr-badge.silver {
    color: #c0c0c0;
    background: rgba(192,192,192,0.2);
}

.kcr-badge.gold {
    color: #ffd700;
    background: rgba(255,215,0,0.2);
}

.kcr-badge.elite {
    color: #ff2a2a;
    background: rgba(255,0,0,0.2);
}

.kcr-badge.legende {
    color: #ffb000;
    background: rgba(255,176,0,0.25);
}

.kcr-number {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.main-runner-card .kcr-badge {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 18px;
}

.kcr-number {
    text-align: right;
    font-variant-numeric: tabular-nums;
    width: 100%;
}

.kcr-label {
    text-align: left;
    color: #bbb;
    font-size: 14px;
    letter-spacing: 1px;
}

.main-small-avatar {
    justify-self: center;
    width: 54px;
    height: 54px;
}

.main-avatar {
    box-shadow: 0 0 30px red, 0 0 60px rgba(255,0,0,0.5);
}

@keyframes scrollRanking {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(var(--scroll-distance));
    }
}

[data-updated="true"] {
    animation: rowGlowLoop 2.4s ease-in-out infinite;
    outline: 2px solid #ff0000;
}

[data-updated="true"] .kcr-badge {
    animation: badgePulse 1.2s ease-in-out infinite;
}

@keyframes rowGlowLoop {
    0% {
        box-shadow: 0 0 18px rgba(255,0,0,0.45);
        background: rgba(20,0,0,0.85);
    }

    50% {
        box-shadow: 0 0 34px red, inset 0 0 18px red;
        background: rgba(255,0,0,0.42);
    }

    100% {
        box-shadow: 0 0 18px rgba(255,0,0,0.45);
        background: rgba(20,0,0,0.85);
    }
}

@keyframes badgePulse {
    0% {
        transform: translateX(12px) scale(1);
    }

    50% {
        transform: translateX(12px) scale(1.18);
    }

    100% {
        transform: translateX(12px) scale(1);
    }
}

[data-updated="true"] {
    animation: rowGlowLoop 2.4s ease-in-out infinite;
}

.main-row:not([data-updated]) .kcr-badge {
    animation: none !important;
    animation: badgePulse 1.2s ease-in-out infinite;
}

@media (max-width: 600px) {
    h1 {
        font-size: 26px;
        margin: 8px 0 0;
        letter-spacing: 2px;
    }

    .main-title {
        font-size: 18px;
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .circuit-name {
        font-size: 11px;
        letter-spacing: 2px;
        margin-top: 4px;
        margin-bottom: 6px;
    }

    .main-boss-card {
        width: 62%;
        padding: 12px 10px;
        margin: 6px auto 10px;
    }

    .main-boss-rank {
        font-size: 42px;
        top: 10px;
        left: 12px;
    }

    .main-avatar-wrap {
        width: 80px;
        height: 80px;
    }

    .main-crown {
        font-size: 22px;
        top: -16px;
    }

    .main-boss-name { font-size: 20px; margin-top: 10px; }
    .main-boss-time { font-size: 32px; }
    .main-boss-label { font-size: 11px; padding: 4px 10px; }
    .main-boss-kcr { font-size: 13px; }

    #main-top2-3 {
        width: 96%;
        margin-bottom: 8px;
    }

    .main-runner-card {
        grid-template-columns: 28px 36px 1fr 80px 72px;
        gap: 6px;
        padding: 7px 8px;
        margin: 5px 0;
        border-radius: 10px;
    }

    .main-rank { font-size: 20px; }

    .main-small-avatar {
        width: 36px;
        height: 36px;
    }

    .main-runner-name { font-size: 13px; }

    .main-runner-time {
        font-size: 15px;
        width: 72px;
    }

    .main-runner-kcr {
        grid-template-columns: 22px 30px 14px;
        font-size: 13px;
        gap: 3px;
    }

    #main-scroll-window,
    .kcr-scroll-window {
        width: 96%;
        margin: 6px auto 0;
    }

    .kcr-card {
        grid-template-columns: 28px 36px 1fr 80px;
        gap: 6px;
        padding: 7px 8px;
        margin: 5px 0;
        border-radius: 10px;
    }

    .kcr-row-item {
        grid-template-columns: 28px 36px 1fr 80px;
        gap: 6px;
        padding: 7px 8px;
    }

    .main-row {
        grid-template-columns: 28px 36px 1fr 80px 72px;
        gap: 6px;
        padding: 7px 8px;
    }

    .main-row-rank { font-size: 16px; }
    .main-row-name { font-size: 13px; }
    .main-row-time { font-size: 14px; }

    .main-row-avatar {
        width: 32px;
        height: 32px;
    }

    .main-row-kcr {
        grid-template-columns: 22px 28px 14px;
        gap: 3px;
    }

    .kcr-badge, .main-runner-card .kcr-badge {
        width: 22px;
        height: 22px;
        min-width: 22px;
        font-size: 11px;
        transform: translateX(6px);
    }

    .main-boss-kcr .kcr-badge {
        width: 22px;
        height: 22px;
        min-width: 22px;
        font-size: 11px;
        transform: none !important;
        margin-right: 0;
    }

    .kcr-number { font-size: 13px; }
    .kcr-label { font-size: 10px; }

    .rank-badge {
        width: 22px;
        height: 22px;
        font-size: 11px;
        margin-right: 6px;
    }

    @keyframes badgePulse {
        0%   { transform: translateX(6px) scale(1); }
        50%  { transform: translateX(6px) scale(1.18); }
        100% { transform: translateX(6px) scale(1); }
    }
}

/* ── Avatar connecté (coin haut gauche) ── */
#user-corner {
    position: fixed;
    top: 18px;
    left: 20px;
    z-index: 100;
}

#user-corner > div {
    cursor: pointer;
}

.user-corner-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 900;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    user-select: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    object-fit: cover;
}

.user-corner-avatar:hover {
    border-color: #ff2a2a;
    box-shadow: 0 0 14px rgba(255, 0, 0, 0.6);
}

body.admin-mode #user-corner,
body.mapping-mode #user-corner {
    display: none;
}

@media (max-width: 600px) {
    #user-corner {
        left: 26px;
        top: 8px;
        transform: none;
    }

    .user-corner-avatar {
        width: 58px;
        height: 58px;
        font-size: 18px;
    }
}

/* ── MODAL CONNEXION ── */
#login-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

#login-modal.visible {
    display: flex;
}

#login-box {
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 28px 24px;
    width: 300px;
    text-align: center;
    animation: fadeIn 0.2s ease;
}

.login-tabs {
    display: flex;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
}

.login-tab {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #777;
    font-size: 11px;
    padding: 10px;
    box-shadow: none;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s, background 0.2s;
}

.login-tab.active {
    background: #1a1a1a;
    color: #ff2a2a;
}

.login-tab:hover {
    transform: none;
    box-shadow: none;
    color: #ff5555;
    background: #141414;
}

#login-box input {
    width: 100%;
    margin: 6px 0;
    display: block;
}

.login-error {
    color: #ff4444;
    font-size: 12px;
    min-height: 18px;
    margin: 4px 0 8px;
}

/* ── PROFIL CARD ── */
#profil-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

#profil-modal.visible {
    display: flex;
}

#profil-card {
    background: #090912;
    border: 1px solid #1e1e2e;
    border-radius: 16px;
    width: 290px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.8);
    animation: fadeIn 0.2s ease;
}

#profil-tier-stripe {
    height: 5px;
    width: 100%;
}

.profil-body {
    padding: 22px 20px 18px;
}

#profil-avatar-wrap {
    width: 88px;
    height: 88px;
    margin: 0 auto 14px;
    position: relative;
}

.profil-avatar-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.2s;
}

#profil-avatar-wrap:hover .profil-avatar-overlay {
    opacity: 1;
}

#profil-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 900;
    color: white;
    overflow: hidden;
}

#profil-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#profil-name {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-top: 18px;
    margin-bottom: 0;
}

#profil-kcr-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 6px auto 6px;
}

#profil-kcr-block .kcr-arc-wrap {
    margin: 0;
}

.profil-divider {
    height: 1px;
    background: #1e1e2e;
    margin: 12px 0;
}

.profil-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.profil-stat {
    background: #0f0f1a;
    border-radius: 8px;
    padding: 10px 6px;
    border: 1px solid #1e1e2e;
}

.profil-stat-value {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
}

.profil-stat-label {
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #555;
    margin-top: 3px;
}

#profil-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

.profil-btn-deconnexion {
    background: transparent;
    border: 1px solid #444;
    color: #aaa;
    font-size: 11px;
    padding: 7px 18px;
    margin: 0;
    box-shadow: none;
    letter-spacing: 1px;
    width: 100%;
}

.profil-btn-deconnexion:hover {
    background: #1a1a1a;
    color: #fff;
    box-shadow: none;
    transform: none;
}

.profil-btn-supprimer {
    background: transparent;
    border: 1px solid #5a0000;
    color: #e74c3c;
    font-size: 11px;
    padding: 7px 18px;
    margin: 0;
    box-shadow: none;
    letter-spacing: 1px;
    width: 100%;
}

.profil-btn-supprimer:hover {
    background: rgba(231,76,60,0.15);
    box-shadow: none;
    transform: none;
}

.profil-btn-annuler {
    background: transparent;
    border: 1px solid #333;
    color: #777;
    font-size: 11px;
    padding: 7px 18px;
    margin: 0;
    box-shadow: none;
    flex: 1;
}

.profil-btn-annuler:hover {
    background: #1a1a1a;
    color: #ccc;
    box-shadow: none;
    transform: none;
}

.profil-suppr-msg {
    font-size: 11px;
    color: #aaa;
    margin: 0 0 6px;
    letter-spacing: 0.5px;
}

.profil-suppr-btns {
    display: flex;
    gap: 6px;
}

#profil-actions input {
    width: 100%;
    margin: 0 0 2px;
    font-size: 12px;
    padding: 8px;
}

.profil-body > button {
    background: transparent;
    border: 1px solid #2a2a2a;
    color: #666;
    font-size: 11px;
    padding: 7px 18px;
    margin-top: 4px;
    letter-spacing: 1px;
    box-shadow: none;
}

.profil-body > button:hover {
    background: #1a1a1a;
    color: #ccc;
    box-shadow: none;
    transform: none;
}

/* ── Lignes / cartes cliquables ── */
.main-boss-card[data-pilot],
.main-runner-card[data-pilot],
.kcr-card[data-pilot] {
    cursor: pointer;
    transition: box-shadow 0.15s;
}

.main-boss-card[data-pilot]:hover {
    box-shadow: 0 0 50px rgba(255,0,0,1);
}

.main-runner-card[data-pilot]:hover,
.kcr-card[data-pilot]:hover {
    box-shadow: 0 0 28px rgba(255,0,0,0.75);
}

.main-row[data-pilot],
.kcr-row-item[data-pilot] {
    cursor: pointer;
    transition: background 0.15s;
}

.main-row[data-pilot]:hover,
.kcr-row-item[data-pilot]:hover {
    background: rgba(255,0,0,0.1);
}

/* ── Inscription user info ── */
.mapping-user-info {
    font-size: 12px;
    color: #888;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mapping-username {
    color: #ff5555;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-deconnexion {
    background: transparent;
    border: 1px solid #333;
    color: #666;
    font-size: 10px;
    padding: 4px 8px;
    margin: 0;
    box-shadow: none;
    letter-spacing: 0;
}

.btn-deconnexion:hover {
    transform: none;
    box-shadow: none;
    color: #ff4444;
    border-color: #ff4444;
    background: transparent;
}

/* ── Liste utilisateurs admin ── */
.user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    margin: 4px 0;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}

.user-nom {
    font-size: 14px;
    color: #ddd;
    text-align: left;
}

.btn-suppr-user {
    background: transparent;
    border: 1px solid #5a0000;
    color: #e74c3c;
    font-size: 11px;
    padding: 4px 10px;
    margin: 0;
    box-shadow: none;
    letter-spacing: 0;
}

.btn-suppr-user:hover {
    background: rgba(231,76,60,0.15);
    transform: none;
    box-shadow: none;
}

.user-confirm-msg {
    color: #ff5555;
}

.user-confirm-btns {
    display: flex;
    gap: 6px;
}

.btn-confirm-oui {
    background: rgba(231,76,60,0.2);
    border: 1px solid #e74c3c;
    color: #e74c3c;
    font-size: 11px;
    padding: 4px 10px;
    margin: 0;
    box-shadow: none;
}

.btn-confirm-oui:hover {
    background: rgba(231,76,60,0.4);
    transform: none;
    box-shadow: none;
}

.btn-confirm-non {
    background: transparent;
    border: 1px solid #444;
    color: #888;
    font-size: 11px;
    padding: 4px 10px;
    margin: 0;
    box-shadow: none;
}

.btn-confirm-non:hover {
    background: #2a2a2a;
    transform: none;
    box-shadow: none;
}

/* ── Bouton admin réservé au superutilisateur ── */
.btn-admin-only {
    display: none !important;
}

body.is-admin .btn-admin-only {
    display: inline-block !important;
}

/* ── Statistiques pilote ── */
.profil-btn-stats {
    background: transparent;
    border: 1px solid #333;
    color: #888;
    font-size: 11px;
    padding: 7px 18px;
    margin: 0;
    box-shadow: none;
    letter-spacing: 1px;
    width: 100%;
}

.profil-btn-stats:hover {
    background: #1a1a1a;
    color: #fff;
    box-shadow: none;
    transform: none;
}

/* ── KCR bloc cliquable ── */
.kcr-bloc-cliquable {
    cursor: pointer;
    transition: opacity 0.15s;
}

.kcr-bloc-cliquable:hover {
    opacity: 0.7;
}

.pilote-kcr-cliquable {
    cursor: pointer;
    transition: opacity 0.15s;
}

.pilote-kcr-cliquable:hover {
    opacity: 0.7;
}

/* ── Arc progression KCR ── */
.kcr-arc-wrap {
    display: flex;
    justify-content: center;
    margin: 2px 0 6px;
}

.kcr-arc-tier {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.kcr-arc-progress {
    font-size: 12px;
    color: #aaa;
    font-variant-numeric: tabular-nums;
    margin-bottom: 2px;
}

.kcr-arc-next {
    font-size: 10px;
    color: #555;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.kcr-prog-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.kcr-prog-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    opacity: 0.25;
}

.kcr-prog-dot.done {
    opacity: 0.55;
}

.kcr-prog-dot.current {
    opacity: 1;
    box-shadow: 0 0 8px currentColor;
}

.profil-btn-succes {
    background: transparent;
    border: 1px solid #2a1a00;
    color: #a06020;
    font-size: 11px;
    padding: 7px 18px;
    margin: 0;
    box-shadow: none;
    letter-spacing: 1px;
    width: 100%;
}

.profil-btn-succes:hover {
    background: rgba(255,176,0,0.08);
    color: #ffb000;
    border-color: #ffb000;
    box-shadow: none;
    transform: none;
}

.profil-succes-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #555;
    font-size: 12px;
    padding: 8px 0;
    font-style: italic;
}

.profil-stats-detail {
    grid-column: 1 / -1;
    text-align: left;
}

.profil-stats-total-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #1e1e2e;
}

.profil-stats-total-val {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
}

.profil-stats-total-lbl {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #555;
}

.profil-circuit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #111;
}

.profil-circuit-row:last-child {
    border-bottom: none;
}

.profil-circuit-name {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
    text-align: left;
    padding-right: 8px;
}

.profil-circuit-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
}

.profil-circuit-best {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.profil-circuit-nb {
    font-size: 9px;
    color: #555;
    letter-spacing: 0.5px;
}

.profil-stats-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #555;
    font-size: 12px;
    padding: 8px 0;
}

.profil-btn-retour {
    background: transparent;
    border: 1px solid #333;
    color: #888;
    font-size: 11px;
    padding: 7px 18px;
    margin: 0;
    box-shadow: none;
    letter-spacing: 1px;
    width: 100%;
}

.profil-btn-retour:hover {
    background: #1a1a1a;
    color: #fff;
    box-shadow: none;
    transform: none;
}

