.elch-liveticker {
    font-family: inherit;
    color: var(--elch-text, #2c3338);
    width: 100%;
    box-sizing: border-box;
}

.elch-lt-event-name {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--elch-accent, #0b3d91);
}

.elch-lt-last-update {
    font-size: 0.85em;
    color: #7a828c;
    margin-top: -10px;
    margin-bottom: 16px;
}

.elch-lt-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.elch-lt-courts-grid {
    display: grid;
    grid-template-columns: repeat(var(--elch-court-columns, 4), minmax(180px, 1fr));
    justify-items: stretch;
    align-items: stretch;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .elch-lt-courts-grid {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
}

@media (max-width: 480px) {
    .elch-lt-courts-grid {
        grid-template-columns: 1fr;
    }
}

.elch-lt-waitlist-title {
    font-weight: 700;
    color: var(--elch-accent, #0b3d91);
    margin-bottom: 10px;
    font-size: 1.05em;
}

.elch-lt-waitlist-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    counter-reset: elch-wl-counter;
}

/* Warteliste rechts: eigene Spalte, Liste einspaltig */
.elch-lt-waitlist-right .elch-lt-main {
    flex-direction: row;
    align-items: flex-start;
}

.elch-lt-waitlist-right .elch-lt-waitlist {
    width: var(--elch-waitlist-width, 280px);
    flex-shrink: 0;
}

.elch-lt-waitlist-right .elch-lt-waitlist-list {
    grid-template-columns: 1fr;
}

@media (max-width: 700px) {
    .elch-lt-waitlist-right .elch-lt-main {
        flex-direction: column;
    }

    .elch-lt-waitlist-right .elch-lt-waitlist {
        width: auto;
    }

    .elch-lt-waitlist-right .elch-lt-waitlist-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .elch-lt-waitlist-list {
        grid-template-columns: 1fr;
    }
}

.elch-lt-waitlist-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--elch-card-bg, #ffffff);
    border: 1px solid var(--elch-border, #d7dde5);
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 600;
    color: var(--elch-text, #2c3338);
}

.elch-lt-waitlist-item::before {
    content: counter(elch-wl-counter);
    counter-increment: elch-wl-counter;
    color: #9aa3ad;
    font-weight: 400;
    min-width: 18px;
    flex-shrink: 0;
}

.elch-lt-waitlist-names {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

.elch-lt-court {
    border: 1px solid var(--elch-border, #d7dde5);
    border-radius: 10px;
    padding: 14px 16px;
    background: var(--elch-card-bg, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    color: var(--elch-text, #2c3338);
    width: 100%;
    box-sizing: border-box;
}

.elch-lt-court-number {
    font-weight: 700;
    color: var(--elch-accent, #0b3d91);
    margin-bottom: 6px;
    font-size: 1.05em;
    letter-spacing: 0.02em;
}

.elch-lt-names {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.elch-lt-vs {
    color: #9aa3ad;
    font-weight: 400;
    font-size: 0.85em;
}

.elch-lt-logo {
    height: 18px !important;
    width: auto !important;
    max-width: 18px !important;
    vertical-align: middle;
    margin-right: 5px;
    object-fit: contain;
}

.elch-lt-heim,
.elch-lt-gast {
    display: inline-flex;
    align-items: center;
}

.elch-lt-sets {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.elch-lt-set {
    flex: 1 1 0;
    max-width: 220px;
    text-align: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 12px 8px;
    font-size: 1.6em;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.elch-lt-status-label {
    display: inline-block;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 2px 8px;
    border-radius: 999px;
}

.elch-lt-status-frei .elch-lt-status-label {
    background: #eef2f8;
    color: #5f6b7a;
}

.elch-lt-status-laeuft .elch-lt-status-label {
    background: #e2f2e5;
    color: #1d7a34;
}

.elch-lt-status-beendet .elch-lt-status-label {
    background: #f5e9e0;
    color: #a35a1d;
}
