/* Spielfeld in Aufstellung-Karte */
.aufstellung-spielfeld{
    position:relative;
    height:220px;
    border-radius:12px;
    background:#e9efe9; /* neutraler Grundton */
    overflow:hidden;
    transition:background 0.4s ease;
	
	--feld-linie: rgba(255,255,255,0.65);
}

/* genügend Spieler */
.aufstellung-spielfeld-ok{
    background:#a9d6a9; /* elegantes helles Grün */
}

/* zu wenige Spieler */
.aufstellung-spielfeld-wenig{
    background:#e3a8a8; /* dezentes Rot */
}

/* Mittellinie */

/* Mittellinie SENKRECHT */
.aufstellung-mittellinie{
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;         /* Breite der Linie */
    height: 100%;       /* volle Höhe des Spielfelds */
    background: var(--feld-linie);
    z-index: 1;         /* sicherstellen, dass sie über Hintergrund liegt */
}

/* Mittelkreis */

.aufstellung-mittelkreis{
    position:absolute;
    left:50%;
    top:50%;
    width:70px;
    height:70px;
    border:2px solid rgba(255,255,255,0.6);
    border-radius:50%;
    transform:translate(-50%,-50%);
}

/* Strafräume */

.aufstellung-strafraum-links{
    position:absolute;
    left:0;
    top:50%;
    width:60px;
    height:120px;
    border:2px solid rgba(255,255,255,0.6);
    border-left:none;
    transform:translateY(-50%);
}

.aufstellung-strafraum-rechts{
    position:absolute;
    right:0;
    top:50%;
    width:60px;
    height:120px;
    border:2px solid rgba(255,255,255,0.6);
    border-right:none;
    transform:translateY(-50%);
}

/* Tore */

.aufstellung-tor-links{
    position:absolute;
    left:-8px;
    top:50%;
    width:8px;
    height:40px;
    border:2px solid rgba(255,255,255,0.6);
    border-right:none;
    transform:translateY(-50%);
}

.aufstellung-tor-rechts{
    position:absolute;
    right:-8px;
    top:50%;
    width:8px;
    height:40px;
    border:2px solid rgba(255,255,255,0.6);
    border-left:none;
    transform:translateY(-50%);
}

/* Spieler */
.aufstellung-spieler {
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 13px;
    color: white;
}

.aufstellung-spieler-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.aufstellung-spieler-name {
    margin-top: 4px;
    font-size: 11px;
    color: #333;
}

/* Linke Mannschaft: dunkles Blau */
.aufstellung-spieler[data-side="links"] .aufstellung-spieler-icon {
    background: #0d3b66;   /* schönes dunkles Blau */
    color: white;          /* weiße Zahl */
}

/* Rechte Mannschaft: Gelb */
.aufstellung-spieler[data-side="rechts"] .aufstellung-spieler-icon {
	background: #F2C94C;
	color: black;
}

/* Stadion-Anzeigetafel */
.aufstellung-scoreboard {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    padding: 6px 14px;
    border-radius: 6px;
    text-align: center;
    z-index: 20;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* Hauptanzeige (z.B. 5:4) */
.scoreboard-main {
    font-size: 20px;
    font-weight: bold;
    color: #F2C94C; /* deine Vereins-Gelb */
    letter-spacing: 2px;
    text-shadow: 0 0 6px rgba(242,201,76,0.8);
}

/* Untertitel (mit/ohne Bier) */
.scoreboard-sub {
    font-size: 11px;
    color: #F2C94C;
    opacity: 0.9;
    margin-top: -2px;
    letter-spacing: 1px;
}

/* Anzahl der fehlenden Spieler */
.spieler-count {
    text-align: center;
    color: #4f48d4; /* dein schönes Vereins-Blau */
    font-weight: 600; /* optional: etwas kräftiger */
}