
/* = = = = = = = = = = = = = = = = = datei wettbewerb.css = = = = = = = = = = = = = = = = = = = = = = = = = */
/* Gemeinsames Stylesheet fuer Meisterschaft, Pokal, Ligacup, Euro-Trophy */


.wb-section-title {
    color: #B5BBBB;
    font-size: 1.8rem;
    text-transform: none;
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    border-bottom: .1rem solid #454e4e;
    padding-bottom: .8rem;
}

.wb-note {
    font-size: 1.3rem;
    color: #8a8a8a;
    margin: -1rem 0 2rem 0;
}

.wb-table-wrap {
    overflow-x: auto;
}

.wb-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    min-width: 36rem;
}

.wb-table th {
    text-align: left;
    color: #B5BBBB;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: .1rem;
    padding: .8rem;
    border-bottom: .2rem solid #454e4e;
    white-space: nowrap;
}

.wb-table th.wb-th-right {
    text-align: right;
}

.wb-table--dense th,
.wb-table--dense td {
    padding: .6rem .5rem;
    font-size: 1.3rem;
}

.wb-table--dense th {
    font-size: 1.05rem;
    white-space: normal;
}

.wb-table td {
    padding: .9rem .8rem;
    border-bottom: .1rem solid #2a2a2a;
    color: #D9D5D5;
    font-size: 1.5rem;
    vertical-align: middle;
}

.wb-table tbody tr:first-child td {
    background: rgba(128, 0, 0, .12);
}

.wb-table tbody tr:hover td {
    background: rgba(128, 0, 0, .18);
}

.wb-rank {
    text-align: center;
    width: 3.5rem;
    color: #8a8a8a;
}

.wb-team {
    font-weight: bold;
    color: #fff;
}

.wb-points {
    text-align: right;
    white-space: nowrap;
}

.wb-points.negative {
    color: #e05252;
    font-weight: bold;
}

.wb-delta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    text-align: center;
}

.wb-delta.up { color: #4caf50; }
.wb-delta.down { color: #e05252; }
.wb-delta.same { color: #6b6b6b; }

/* ---------- Spieltag-/Rundenbloecke (Pokal, Ligacup) ---------- */

.wb-round {
    background: #232323;
    border: .1rem solid #333;
    border-radius: .6rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.wb-round h3 {
    margin-top: 0;
    color: #B5BBBB;
    font-size: 1.6rem;
}

.wb-round .wb-table {
    margin-bottom: 0;
}

.wb-round .wb-table td {
    padding: .5rem .4rem;
    font-size: 1.4rem;
}

@media (max-width: 480px) {

    .wb-table {
        min-width: 0;
    }

    .wb-table th,
    .wb-table td {
        padding: .6rem .4rem;
        font-size: 1.3rem;
    }

    .wb-team {
        white-space: normal;
    }
}

.wb-rounds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.wb-rounds-grid .wb-round {
    margin-bottom: 0;
}

/* ---------- Einzelne Spielpaarungen (K.o.-Phase Pokal/Cup) ---------- */

.wb-match {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 0;
    border-bottom: .1rem solid #2a2a2a;
    font-size: 1.5rem;
}

.wb-match:last-child {
    border-bottom: none;
}

.wb-match-team {
    flex: 1 1 0;
    color: #D9D5D5;
}

.wb-match-team.home {
    text-align: right;
}

.wb-match-team.away {
    text-align: left;
}

.wb-match-team.winner {
    color: #fff;
    font-weight: bold;
}

.wb-match-score {
    flex: 0 0 auto;
    background: #2c2c2c;
    color: #fff;
    font-weight: bold;
    padding: .3rem 1.2rem;
    border-radius: .4rem;
    min-width: 5rem;
    text-align: center;
}

/* +  +  +  +  + +  +  +  +  +  C O D E ENDE  +  +  +  +  +  +  +  +  +  + */
