body {

}

#Spielstand, #Statistik {
    background: rgba(77, 77, 103, 0.5);
}

#naechsteSpiele {
    width: 100%;
    margin: auto;
}

.bg {
    background: rgba(77, 77, 103, 0.5);
}

.spielnr {
    vertical-align: middle;
    text-align: right;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
}

.spieldatum {
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.spielort {
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.gruppe {
    vertical-align: middle;
    text-align: center;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
}

.team {
    vertical-align: middle;
    text-align: center;
}

.tv {
    vertical-align: middle;
}

#logo {
    float: right;
    margin: -10px 12px;
}

#welcome {
    margin: 10px 12px;
}

#spielverlauf {
    clear: both;
    margin: 10px 12px;
}

#tipp {
    margin: 10px 12px;
}

#spiele {
    margin: 10px 12px;
    text-align: center;
}

#Tipps tr td {
    background: rgba(77, 77, 103, 0.5);
    padding: 1px 10px;
}

.edit {
    text-align: center;
    vertical-align: middle;
}


#PunkteproSpiel {
    width: 100%;
    margin: 15px auto;
}

#PunkteproSpiel tr td {
    padding: 3px 10px;
    vertical-align: middle;
}

#PunkteproSpiel th {
    padding: 1px 10px;
    text-align: center;
    vertical-align: middle;
}

/* ===== Statistik-Karten ===== */
.stat-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.5rem 12px 1.5rem;
}

.stat-card {
    background: rgba(77, 77, 103, 0.5);
    border: 1px solid rgba(160, 160, 220, 0.35);
    border-radius: 10px;
    padding: 1rem 1.25rem 0.85rem;
    min-width: 130px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.stat-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.65);
}

.stat-card-sub {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
}

.stat-card-title {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.15rem;
}

.stat-card-main {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.2rem;
}

/* 4 Karten-Typen nebeneinander im Strafkarten-Tile */
.karten-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 0.6rem;
    margin: 0.4rem 0 0.35rem;
    width: 100%;
}

.karte-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

/* Fixe Höhe nivelliert die unterschiedlich großen SVGs */
.karte-svg {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.karte-count {
    font-size: 1.25rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.karte-avg {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.karte-label {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.2;
    text-align: center;
}

.karten-stats {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.15rem;
}