
@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Ubuntu:wght@400;700&display=swap');

body {
    margin: 0;
    background: transparent;
    overflow: hidden;
    font-family: 'Ubuntu', 'Noto Color Emoji', sans-serif;
}
#message {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0, 0, 0, 0.7); /* par défaut */
    color: white;
    padding: 10px 20px 10px 20px;
    border-radius: 12px;
    font-size: 20px;
    opacity: 0;
    white-space: nowrap;
    transition: all 0.6s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    position: relative; /* pour placer le badge interne */
    width:fit-content;
}

#message .round-badge {
    position: absolute;
    top: -10px;
    left: 10px;
    background: #444; /* par défaut */
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.visible {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0);
}

.winner {
    color: #00ff99;
    font-weight: bold;
}

.loser {
    color: #ed3b3b;
    font-weight: bold;
}

.upset {
    color: #ffc107;
    font-weight: bold;
}

small {
    font-size: 14px;
    color: #ccc;
    margin-left: 4px;
}

/* Couleurs de fond dynamiques */
.toast-upset {
    background: #a83232; /* rouge foncé pour les upsets */
}

.toast-dq {
    background: #555; /* gris neutre pour DQ */
}

.toast-winner {
    background: #004d40; /* vert foncé winner side */
}

.toast-loser {
    background: #880e4f; /* rouge foncé loser side */
}
.score-display {
    font-weight: bold;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px 6px;
    margin-left: 8px;
    font-size: 16px;
}
