/* ── WTT Frontend Bracket Widget ──────────────────────────────────────────── */

.wtt-fe-bracket-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    --wtt-cols: 1; /* wird per JS überschrieben */
}

/* ── Bracket als Grid ────────────────────────────────────────────────────── */
/* CSS Custom Property steuert die Spaltenanzahl.
   Kein inline-Style auf dem Grid selbst → Browser kann fluid neu berechnen. */
.wtt-fe-bracket {
    display: grid;
    grid-template-columns: repeat(var(--wtt-cols, 1), minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.wtt-fe-round {
    display: flex;
    flex-direction: column;
    min-width: 0;       /* Grid-Item darf schrumpfen */
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.wtt-fe-round-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #64748b;
    text-align: center;
    padding: 0 10px 12px;
}

.wtt-fe-matches {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-around;
    gap: 10px;
    padding: 0 8px;
}

/* ── Match ───────────────────────────────────────────────────────────────── */
.wtt-fe-match {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.07);
}

.wtt-fe-match--done {
    border-color: #d1fae5;
}

.wtt-fe-match--bye {
    opacity: .7;
}

/* ── Slot ────────────────────────────────────────────────────────────────── */
.wtt-fe-slot {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 13px;
    border-bottom: 1px solid #e2e8f0;
    min-height: 36px;
    background: #ffffff;
}

.wtt-fe-slot:last-of-type {
    border-bottom: none;
}

.wtt-fe-slot--row1 { background: #ffffff; }
.wtt-fe-slot--row2 { background: #fffbeb; }

.wtt-fe-slot--winner {
    background: #f0fdf4 !important;
    font-weight: 600;
}

.wtt-fe-slot--bye {
    color: #94a3b8;
    font-style: italic;
}

/* Spieler-Bereich */
.wtt-fe-slot__player {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* Avatar im Bracket-Slot */
.wtt-fe-slot__avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid #e2e8f0;
    background: #f1f5f9;
}

.wtt-fe-slot__name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    color: #1e293b;
    min-width: 0;
}

.wtt-fe-slot--winner .wtt-fe-slot__name {
    color: #166534;
}

.wtt-fe-slot__seed {
    font-size: 10px;
    color: #16a34a;
    font-weight: 700;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Satzergebnisse */
/* Häkchen + Scores – rechtsbündig */
.wtt-fe-slot__right {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

.wtt-fe-slot__scores {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.wtt-fe-slot__score-val {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    width: 16px;
    text-align: center;
}

/* LK – direkt hinter Name/Seed */
.wtt-fe-slot__lk {
    font-size: 10px;
    color: #94a3b8;
    white-space: nowrap;
    flex-shrink: 0;
}

.wtt-fe-slot__win-icon {
    color: #16a34a;
    font-weight: 900;
    font-size: 13px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    display: inline-block;
}
.wtt-fe-slot__win-icon--empty {
    visibility: hidden;
}

/* ── Podest ──────────────────────────────────────────────────────────────── */
.wtt-fe-podest {
    margin-bottom: 28px;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid #e2e8f0;
}

.wtt-fe-podest__places {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.wtt-fe-podest__place {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 12px 16px;
    border-right: 1px solid #e2e8f0;
    text-align: center;
}

.wtt-fe-podest__place:last-child {
    border-right: none;
}

.wtt-fe-podest__place--gold   { background: #fef9c3; }
.wtt-fe-podest__place--silver { background: #f1f5f9; }
.wtt-fe-podest__place--bronze { background: #ffedd5; }

.wtt-fe-podest__medal {
    font-size: 36px;
    margin-bottom: 8px;
    line-height: 1;
}

.wtt-fe-podest__rank {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #64748b;
    margin-bottom: 6px;
}

.wtt-fe-podest__name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.wtt-fe-podest__shared {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

/* ── Notice ──────────────────────────────────────────────────────────────── */
.wtt-fe-notice {
    padding: 16px 20px;
    background: #f8fafc;
    border: 1.5px dashed #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    font-size: 14px;
    text-align: center;
}

/* ── Responsive: Podest auf Mobile ───────────────────────────────────────── */
@media ( max-width: 768px ) {    .wtt-fe-podest__places {
        grid-template-columns: 1fr;
    }

    .wtt-fe-podest__place {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        flex-direction: row;
        text-align: left;
        gap: 12px;
        padding: 14px 16px;
    }

    .wtt-fe-podest__medal {
        font-size: 28px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .wtt-fe-podest__place:last-child {
        border-bottom: none;
    }
}

/* ── Veranstaltungs-Widget ───────────────────────────────────────────────── */
.wtt-fe-event { width: 100%; }
.wtt-fe-event__header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.wtt-fe-event__logo { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.wtt-fe-event__header-info { flex: 1; min-width: 0; }
.wtt-fe-event__title { font-size: 24px; font-weight: 800; color: #0f172a; margin: 0 0 6px; }
.wtt-fe-event__meta { font-size: 13px; color: #64748b; margin-bottom: 8px; }
.wtt-fe-event__desc { font-size: 14px; color: #475569; margin: 0; line-height: 1.5; }
.wtt-fe-event__tournaments { display: flex; flex-direction: column; gap: 28px; }
.wtt-fe-event__tournament { border: 1.5px solid #e2e8f0; border-radius: 12px; overflow: hidden; background: #fff; }
.wtt-fe-event__tournament-header { padding: 14px 18px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.wtt-fe-event__tournament-title { font-size: 16px; font-weight: 700; margin: 0 0 4px; color: #0f172a; }
.wtt-fe-event__tournament-meta { font-size: 12px; color: #64748b; }
.wtt-fe-event__tournament .wtt-fe-bracket-wrap { padding: 16px; }

@media ( max-width: 768px ) {
    .wtt-fe-event__header { flex-direction: column; }
    .wtt-fe-event__logo { width: 60px; height: 60px; }
}

/* ── Ergebnisliste ───────────────────────────────────────────────────────── */
.wtt-fe-results {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    font-size: 13px;
}
.wtt-fe-results__head {
    display: grid;
    grid-template-columns: 120px 1fr 1fr 120px;
    padding: 8px 14px;
    background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #475569;
    gap: 10px;
}
.wtt-fe-results__row {
    display: grid;
    grid-template-columns: 120px 1fr 1fr 120px;
    padding: 9px 14px;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}
.wtt-fe-results__row:last-child { border-bottom: none; }
.wtt-fe-results__row--odd  { background: #ffffff; }
.wtt-fe-results__row--even { background: #f8fafc; }
.wtt-fe-results__winner    { color: #166534; font-weight: 700; }
.wtt-fe-results__score     { color: #1e293b; font-weight: 700; font-variant-numeric: tabular-nums; }
.wtt-fe-results__badge {
    display: inline-block;
    background: #e2e8f0; color: #64748b;
    border-radius: 4px; padding: 2px 7px;
    font-size: 10px; font-weight: 700;
    white-space: nowrap;
}
.wtt-fe-results__col-round  { }
.wtt-fe-results__col-player { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wtt-fe-results__col-score  { }

@media ( max-width: 600px ) {
    .wtt-fe-results__head,
    .wtt-fe-results__row { grid-template-columns: 90px 1fr 80px; }
    .wtt-fe-results__col-player:last-of-type { display: none; }
}

/* ── Setzliste ───────────────────────────────────────────────────────────── */
.wtt-fe-seedings {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    font-size: 13px;
    max-width: 480px;
}
.wtt-fe-seedings__head {
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #475569;
}
.wtt-fe-seedings__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 16px;
    border-bottom: 1px solid #e2e8f0;
}
.wtt-fe-seedings__row:last-child { border-bottom: none; }
.wtt-fe-seedings__row--odd  { background: #ffffff; }
.wtt-fe-seedings__row--even { background: #f8fafc; }
.wtt-fe-seedings__num {
    width: 26px; height: 26px;
    background: #f0fdf4; color: #16a34a;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 12px;
    flex-shrink: 0;
}
.wtt-fe-seedings__name { flex: 1; font-weight: 500; color: #1e293b; }
.wtt-fe-seedings__lk   { font-size: 11px; color: #64748b; font-weight: 600; }

/* ── Podest (Frontend-Variante mit wtt-fe- Klassen) ─────────────────────── */
.wtt-fe-podest {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}
.wtt-fe-podest__header {
    padding: 14px 20px;
    background: linear-gradient(135deg, #1e3a2f, #166534);
    display: flex; align-items: center; gap: 10px;
}
.wtt-fe-podest__header-title { font-size: 16px; font-weight: 800; color: #fff; margin: 0; }
.wtt-fe-podest__places { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.wtt-fe-podest__place {
    display: flex; flex-direction: column; align-items: center;
    padding: 24px 12px 20px; text-align: center;
    border-right: 1px solid #e2e8f0;
}
.wtt-fe-podest__place:last-child { border-right: none; }
.wtt-fe-podest__place--gold   { background: linear-gradient(180deg,#fffbeb,#fef9c3); }
.wtt-fe-podest__place--silver { background: linear-gradient(180deg,#f8fafc,#f1f5f9); }
.wtt-fe-podest__place--bronze { background: linear-gradient(180deg,#fff7ed,#ffedd5); }
.wtt-fe-podest__medal  { font-size: 40px; margin-bottom: 10px; line-height: 1; }
.wtt-fe-podest__rank   { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: #64748b; margin-bottom: 6px; }
.wtt-fe-podest__name   { font-size: 14px; font-weight: 700; color: #0f172a; line-height: 1.3; }
.wtt-fe-podest__lk     { font-size: 11px; color: #94a3b8; margin-top: 4px; }

@media ( max-width: 600px ) {
    .wtt-fe-podest__places { grid-template-columns: 1fr; }
    .wtt-fe-podest__place  { border-right: none; border-bottom: 1px solid #e2e8f0; flex-direction: row; gap: 12px; padding: 12px 16px; text-align: left; }
    .wtt-fe-podest__place:last-child { border-bottom: none; }
    .wtt-fe-podest__medal  { font-size: 28px; margin-bottom: 0; }
}

/* Noch nicht ermittelter Spieler */
.wtt-fe-slot__name--bye     { color: #94a3b8; font-style: italic; }
.wtt-fe-slot__name--pending { color: #cbd5e1; font-style: italic; }

/* ── Responsive Bracket Navigation ──────────────────────────────────────── */
.wtt-fe-bracket-nav {
    display: none; /* wird per JS auf Mobile eingeblendet */
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0 14px;
}
.wtt-fe-bracket-nav__btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #1e293b;
    transition: background .15s, border-color .15s;
    flex-shrink: 0;
}
.wtt-fe-bracket-nav__btn:hover:not(:disabled) {
    background: #f0fdf4;
    border-color: #16a34a;
    color: #16a34a;
}
.wtt-fe-bracket-nav__btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}
.wtt-fe-bracket-nav__label {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

/* Mobile: eine Runde auf voller Breite – Spaltenanzahl per JS gesetzt */
@media ( max-width: 768px ) {
    .wtt-fe-round-label {
        text-align: left;
        padding: 0 0 12px;
        border-bottom: 2px solid #e2e8f0;
        margin-bottom: 12px;
    }
    .wtt-fe-matches {
        gap: 10px;
        padding: 0;
    }
    .wtt-fe-match {
        width: 100%;
    }
}

/* ── Teilnehmerliste ─────────────────────────────────────────────────────── */
.wtt-fe-plist {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    font-size: 13px;
}

.wtt-fe-plist__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #475569;
}

.wtt-fe-plist__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border-bottom: 1px solid #e2e8f0;
}
.wtt-fe-plist__row:last-child { border-bottom: none; }
.wtt-fe-plist__row--odd  { background: #ffffff; }
.wtt-fe-plist__row--even { background: #f8fafc; }

/* Spalten */
.wtt-fe-plist__col-avatar { flex-shrink: 0; width: 36px; display: flex; align-items: center; justify-content: center; }
.wtt-fe-plist__col-name   { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; }
.wtt-fe-plist__col-lk     { flex-shrink: 0; min-width: 60px; text-align: right; }

/* Avatar */
.wtt-fe-plist__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 1.5px solid #e2e8f0;
}
.wtt-fe-plist__avatar--placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1.5px solid #e2e8f0;
}

/* Name & Setzung */
.wtt-fe-plist__name {
    font-weight: 500;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wtt-fe-plist__seed {
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
    background: #f0fdf4;
    border-radius: 10px;
    padding: 1px 7px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* LK */
.wtt-fe-plist__lk {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

/* ── Ergebnis-Eintragung ─────────────────────────────────────────────────── */
.wtt-fe-entry-bar {
    display: flex; justify-content: center; align-items: center;
    gap: 12px; padding: 16px 0 4px; flex-wrap: wrap;
}
.wtt-fe-entry-btn {
    background: #166534; color: #fff; border: none; border-radius: 8px;
    padding: 10px 22px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: background .15s;
}
.wtt-fe-entry-btn:hover { background: #14532d; }
.wtt-fe-entry-btn--exit {
    background: transparent; color: #64748b;
    border: 1.5px solid #e2e8f0; margin-left: 8px;
}
.wtt-fe-entry-btn--exit:hover { background: #f1f5f9; }
.wtt-fe-entry-active { font-size: 13px; font-weight: 600; color: #16a34a; }
.wtt-fe-match--enterable { cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.wtt-fe-match--enterable:hover { border-color: #16a34a !important; box-shadow: 0 0 0 3px rgba(22,163,74,.15); }

/* Auth-Overlay */
.wtt-fe-auth-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.55);
    z-index: 99999; display: flex; align-items: center;
    justify-content: center; padding: 20px;
    animation: wttFadeIn .15s ease;
}
@keyframes wttFadeIn { from{opacity:0} to{opacity:1} }
.wtt-fe-auth-modal {
    background: #fff; border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    width: 100%; max-width: 400px; padding: 28px 24px 24px;
    position: relative; animation: wttSlideUp .2s ease;
}
@keyframes wttSlideUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
.wtt-fe-auth-modal__close {
    position: absolute; top: 14px; right: 16px;
    background: none; border: none; font-size: 18px;
    cursor: pointer; color: #94a3b8;
}
.wtt-fe-auth-modal__close:hover { color: #1e293b; }
.wtt-fe-auth-modal__title { font-size: 18px; font-weight: 800; margin: 0 0 18px; color: #0f172a; }
.wtt-fe-auth-tabs { display: flex; border-bottom: 2px solid #e2e8f0; margin-bottom: 20px; }
.wtt-fe-auth-tab {
    background: none; border: none; padding: 8px 16px;
    font-size: 13px; font-weight: 600; color: #64748b; cursor: pointer;
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: color .15s, border-color .15s;
}
.wtt-fe-auth-tab:hover { color: #1e293b; }
.wtt-fe-auth-tab--active { color: #166534; border-bottom-color: #16a34a; }
.wtt-fe-auth-hint { font-size: 13px; color: #64748b; margin: 0 0 14px; line-height: 1.5; }
.wtt-fe-auth-input {
    width: 100%; padding: 10px 14px; border: 1.5px solid #e2e8f0;
    border-radius: 8px; font-size: 14px; margin-bottom: 10px;
    box-sizing: border-box; outline: none; transition: border-color .15s;
}
.wtt-fe-auth-input:focus { border-color: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.1); }
.wtt-fe-auth-error {
    background: #fef2f2; color: #dc2626; border: 1.5px solid #fecaca;
    border-radius: 6px; padding: 8px 12px; font-size: 13px; margin-bottom: 10px;
}
.wtt-fe-auth-submit {
    display: block; width: 100%; background: #166534; color: #fff;
    border: none; border-radius: 8px; padding: 11px; font-size: 14px;
    font-weight: 700; cursor: pointer; text-align: center; text-decoration: none;
    transition: background .15s; box-sizing: border-box;
}
.wtt-fe-auth-submit:hover:not(:disabled) { background: #14532d; }
.wtt-fe-auth-submit:disabled { opacity: .6; cursor: not-allowed; }
.wtt-fe-auth-submit--wp { background: #2271b1; margin-top: 8px; }
.wtt-fe-auth-submit--wp:hover { background: #135e96; }
.wtt-fe-auth-submit--ghost {
    background: transparent; color: #64748b;
    border: 1.5px solid #e2e8f0; width: auto;
}
.wtt-fe-auth-submit--ghost:hover { background: #f1f5f9; }

/* Ergebnis-Modal */
.wtt-fe-result-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.55);
    z-index: 99999; display: flex; align-items: center;
    justify-content: center; padding: 20px;
}
.wtt-fe-result-modal {
    background: #fff; border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
}
.wtt-fe-result-modal__header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 20px 14px; border-bottom: 1.5px solid #e2e8f0;
}
.wtt-fe-result-modal__header h3 { margin: 0; font-size: 17px; font-weight: 700; }
.wtt-fe-result-modal__header button {
    background: none; border: none; font-size: 18px; cursor: pointer; color: #94a3b8;
}
.wtt-fe-result-modal__players {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 20px; background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0; flex-wrap: wrap;
}
.wtt-fe-result-modal__player {
    flex: 1; font-size: 14px; font-weight: 600; text-align: center;
    padding: 8px 10px; border-radius: 8px; border: 1.5px solid #e2e8f0; min-width: 120px;
}
.wtt-fe-result-modal__vs { font-size: 12px; font-weight: 700; color: #94a3b8; }
.wtt-fe-result-modal__sets { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.wtt-fe-modal-set { display: flex; align-items: center; gap: 12px; }
.wtt-fe-modal-set__label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px; color: #64748b; width: 80px; flex-shrink: 0;
}
.wtt-fe-modal-set__inputs { display: flex; gap: 6px; flex: 1; }
.wtt-fe-modal-score, .wtt-fe-modal-tb {
    width: 60px; padding: 7px 8px; border: 1.5px solid #e2e8f0;
    border-radius: 6px; font-size: 15px; font-weight: 700;
    text-align: center; outline: none; transition: border-color .15s;
}
.wtt-fe-modal-score:focus, .wtt-fe-modal-tb:focus {
    border-color: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.1);
}
.wtt-fe-modal-tb { font-size: 12px; font-weight: 400; color: #64748b; width: 48px; }
.wtt-fe-result-modal__winner {
    margin: 0 20px 4px; padding: 10px 14px;
    background: #f0fdf4; color: #166534;
    border: 1.5px solid #d1fae5; border-radius: 8px;
    font-size: 14px; font-weight: 600;
}
.wtt-fe-result-modal__actions {
    display: flex; justify-content: space-between; align-items: center;
    gap: 10px; padding: 14px 20px 18px; border-top: 1.5px solid #e2e8f0;
}

/* ── OPS Modal Frontend ──────────────────────────────────────────────────── */
.wtt-fe-ops-info {
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
}
.wtt-fe-ops-info p {
    margin: 0 0 12px;
    font-size: 13px;
    color: #475569;
}
.wtt-fe-ops-serve-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 0;
}
.wtt-fe-ops-serve-row__name { flex: 1; color: #1e293b; }
.wtt-fe-ops-serves-count    { font-size: 12px; color: #94a3b8; }

/* Kategorie-Badges */
.wtt-fe-ops-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.wtt-fe-ops-cat--beginner { background: #dbeafe; color: #1e40af; }
.wtt-fe-ops-cat--advanced { background: #dcfce7; color: #166534; }
.wtt-fe-ops-cat--top      { background: #fef9c3; color: #854d0e; }

/* Gewinner-Buttons */
.wtt-fe-ops-winner-btns {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wtt-fe-ops-winner-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    margin: 0 0 4px;
}
.wtt-fe-ops-winner-btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s, transform .1s, box-shadow .15s;
    color: #1e293b;
    text-align: center;
}
.wtt-fe-ops-winner-btn:hover {
    border-color: #16a34a;
    background: #f0fdf4;
    color: #166534;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22,163,74,.15);
}
.wtt-fe-ops-winner-btn:disabled { opacity: .6; cursor: not-allowed; }

/* Saving-Indikator */
.wtt-fe-ops-saving {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 32px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
}
.wtt-spinner--green {
    display: inline-block;
    width: 36px; height: 36px;
    border: 3px solid #d1fae5;
    border-top-color: #16a34a;
    border-radius: 50%;
    animation: wttSpin .7s linear infinite;
}
@keyframes wttSpin { to { transform: rotate(360deg); } }
