/* ── Turniere + Teams auf der Website (Block W1 · BAUPLAN-TURNIERE) ──────────────────────────────────────────────
   Gemeinsame Bausteine aller W1-Seiten (turniere, meine-turniere, teams, team, serie). Quelle: Website-Figma
   YRUirscc0yHUgTS69n5bDU „✅ Fertig“ — Final A 135:1856 + Final B 163:3452, Spec 179:6767/138:2592, Bausteine W0 118:251.
   Nur Client-Tokens aus style.css (:root). Praefix `tw-`; seitenspezifisches in tw-<seite>.css.
   Raster: 1280 Inhalt = Liste | Haarlinie | rechte Spalte 400 (40 Innenabstand je Seite der Haarlinie).
   Brueche wie W0: ≤ 1080 einspaltig (rechte Spalte unter den Inhalt), ≤ 600 Tabelle → Liste, Seitenrand 16. */

/* ── Seite ── */
.tw-main { max-width: 1440px; margin: 0 auto; padding: calc(72px + 48px) 80px 96px; position: relative; }
.tw-main.liste { padding-top: calc(72px + 64px); padding-bottom: 120px; }
/* Glow blutet links bis an den Fensterrand (nicht nur bis an die 1440er-Kante von main) und laeuft vor der Fusszeile weich aus. */
.tw-main.liste::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: calc(50% - 50vw); pointer-events: none; z-index: -1;
    background: radial-gradient(1200px 960px at -240px 92%, rgba(124, 92, 255, .1), rgba(124, 92, 255, 0) 70%);
    -webkit-mask-image: linear-gradient(#000 calc(100% - 200px), transparent); mask-image: linear-gradient(#000 calc(100% - 200px), transparent); }

.tw-zurueck { display: inline-flex; gap: 6px; align-items: center; font: 500 13px/16px var(--font-brand); color: var(--w45);
    text-decoration: none; }
.tw-zurueck:hover { color: var(--w100); }

/* Seitenkopf (W0 „Seitenkopf“): Titel 40 SemiBold + Statuszeile mit Punkt, Steuerung rechts */
.tw-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.tw-kopf-t { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tw-h1 { font: 600 40px/1.25 var(--font-brand); color: var(--w100); margin: 0; overflow-wrap: anywhere; }
.tw-status { display: flex; align-items: center; gap: 8px; font: 400 14px/18px var(--font-brand); color: var(--w70); }
.tw-status .tw-punkt { background: var(--gruen); }
.tw-status.ruhend .tw-punkt { background: var(--w25); }
.tw-kopf-steuer { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Turnier-Kopf (Detail, Figma 135:1966): ← Events · Titel 40 + Status-Chip … Reiter rechts · Zeile 2 */
.tw-tkopf { display: flex; flex-direction: column; gap: 10px; }
.tw-tkopf-z1 { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.tw-tkopf-z1 .tw-h1 { flex: 0 1 auto; }
.tw-tkopf-z1 .tw-reiter { margin-left: auto; }
.tw-tkopf-z2 { font: 400 14px/20px var(--font-brand); color: var(--w70); overflow-wrap: anywhere; }
.tw-tkopf-z2 a { color: inherit; }

/* Zweispaltiger Rumpf: Inhalt | Haarlinie | rechte Spalte 400 */
.tw-rumpf { display: grid; grid-template-columns: minmax(0, 1fr) 1px 400px; align-items: start; margin-top: 32px; }
.tw-rumpf.liste { margin-top: 40px; }
.tw-links { min-width: 0; padding-right: 40px; display: flex; flex-direction: column; gap: 40px; }
.tw-vline { align-self: stretch; background: var(--w08); }
.tw-rechts { min-width: 0; padding-left: 40px; display: flex; flex-direction: column; gap: 32px; }
.tw-rumpf.voll { grid-template-columns: minmax(0, 1fr); }
.tw-rumpf.voll .tw-links { padding-right: 0; }

/* ── Text ── */
.tw-cap { font: 600 11px/14px var(--font-brand); letter-spacing: .66px; text-transform: uppercase; color: var(--w45); margin: 0; }
.tw-cap.hell { color: var(--w100); letter-spacing: 1.1px; }
.tw-cap .leise { font: 400 12px/14px var(--font-brand); letter-spacing: 0; text-transform: none; color: var(--w45); }
.tw-abschnitt { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tw-text { font: 400 15px/24px var(--font-brand); color: var(--w70); margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.tw-klein { font: 400 13px/18px var(--font-brand); color: var(--w45); margin: 0; }
/* Design-QoL T3: Freitext des Veranstalters (TW.textAbsaetze) — Absaetze, Listen, Unterueberschriften; Farbe/Schrift erbt vom Behaelter */
.tw-ta { white-space: normal; overflow-wrap: anywhere; }
.tw-ta > * { margin: 0; }
.tw-ta > * + * { margin-top: 12px; }
.tw-ta > .h { font-weight: 700; font-size: 1em; color: var(--ta-h, var(--w100)); }
.tw-ta > * + .h { margin-top: 20px; }
.tw-ta > .h + * { margin-top: 6px; }
.tw-ta ul { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.tw-ta li::marker { color: var(--ta-punkt, var(--w45)); }
.tw-mini { font: 400 12px/16px var(--font-brand); color: var(--w45); margin: 0; }
.tw-link { font: 500 14px/18px var(--font-brand); color: var(--violett-text); text-decoration: none; background: none;
    border: 0; padding: 0; cursor: pointer; }
.tw-link:hover { color: var(--w100); }
.tw-h2 { font: 600 18px/24px var(--font-brand); color: var(--w100); margin: 0; }
.tw-h3 { font: 600 16px/20px var(--font-brand); color: var(--w100); margin: 0; }
.tw-zahl { font-variant-numeric: tabular-nums; }
.tw-amber { color: var(--gold2); }
.tw-gruen { color: var(--gruen); }

/* ── Punkt ── */
.tw-punkt { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 6px; background: currentColor; display: inline-block; }

/* ── Chip (Figma Turnier/Chip 144:2956): Fuellung = Ton 14 %, Punkt + Text = Ton ── */
.tw-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
    font: 600 12px/15px var(--font-brand); color: var(--w45); background: rgba(255, 255, 255, .14); flex: 0 0 auto; }
.tw-chip[data-ton="gruen"] { color: var(--gruen); background: rgba(140, 198, 63, .14); }
.tw-chip[data-ton="amber"] { color: var(--gold2); background: rgba(232, 180, 80, .14); }
.tw-chip[data-ton="violett"] { color: var(--violett-text); background: rgba(184, 168, 255, .14); }
.tw-chip[data-ton="gold"] { color: var(--gold2); background: rgba(232, 180, 80, .14); }
.tw-chip[data-ton="rot"] { color: var(--red); background: rgba(255, 123, 123, .12); }
.tw-chip svg { width: 12px; height: 12px; flex: 0 0 12px; }

/* ── Knoepfe (W0 Button/Primary 58:5 · Outline 58:7): 40 hoch, r8, 14 Medium ── */
.tw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px;
    border-radius: 8px; border: 1px solid var(--w12); background: transparent; color: var(--w100); cursor: pointer;
    font: 500 14px/1 var(--font-brand); text-decoration: none; white-space: nowrap; flex: 0 0 auto;
    transition: background-color .15s ease, border-color .15s ease; }
.tw-btn:hover { background: var(--w06); border-color: var(--w25); color: var(--w100); }
.tw-btn.prim { background: var(--violett-knopf); border-color: var(--violett-knopf); }
.tw-btn.prim:hover { background: var(--violett-knopf-hover); border-color: var(--violett-knopf-hover); }
.tw-btn.ok { border-color: rgba(140, 198, 63, .45); color: var(--gruen); }
.tw-btn.warn { border-color: rgba(232, 180, 80, .45); color: var(--gold2); }
.tw-btn.breit { width: 100%; }
.tw-btn.klein { height: 32px; padding: 0 12px; font-size: 13px; }
.tw-btn.gross { height: 44px; }
.tw-btn[disabled], .tw-btn.aus { opacity: .45; cursor: not-allowed; pointer-events: none; }
.tw-btn.laedt { opacity: .7; cursor: progress; pointer-events: none; }
.tw-btn svg { width: 16px; height: 16px; flex: 0 0 16px; }
.tw-btn:focus-visible, .tw-seg button:focus-visible, .tw-reiter button:focus-visible, .tw-link:focus-visible,
.tw-klick:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Umschalter / Reiter (W0 Umschalter 120:1677): aussen Rand Weiss 8 %, r10, p3 · Reiter 28, r7 ── */
.tw-seg, .tw-reiter { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--w08); border-radius: 10px;
    background: transparent; flex: 0 0 auto; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tw-seg::-webkit-scrollbar, .tw-reiter::-webkit-scrollbar { display: none; }
.tw-seg { padding: 4px; }
.tw-seg button, .tw-seg a, .tw-reiter button, .tw-reiter a { height: 28px; padding: 0 12px; border-radius: 7px; border: 0;
    background: transparent; color: var(--w70); cursor: pointer; font: 500 13px/28px var(--font-brand); white-space: nowrap;
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.tw-seg button, .tw-seg a { padding: 0 14px; }
.tw-seg button:hover, .tw-reiter button:hover, .tw-seg a:hover { color: var(--w100); }
.tw-seg [aria-pressed="true"], .tw-seg .an, .tw-reiter [aria-selected="true"] { background: var(--w08); color: var(--w100); font-weight: 600; }
.tw-reiter .n { color: var(--w45); font-weight: 500; }

/* Auswahl (W0 119:1856): wie Formfeld, Chevron rechts; in Kopfzeilen 40 hoch, r10 */
.tw-auswahl { position: relative; display: inline-flex; align-items: center; }
.tw-auswahl select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 34px 0 14px; border-radius: 10px;
    border: 1px solid var(--w08); background: transparent; color: var(--w100); font: 500 13px/1 var(--font-brand); cursor: pointer; }
.tw-auswahl select:focus-visible { outline: none; border-color: var(--w45); }
.tw-auswahl select option { background: var(--erhoeht); color: var(--w100); }
.tw-auswahl::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; margin-top: -5px;
    border-right: 1.6px solid var(--w70); border-bottom: 1.6px solid var(--w70); transform: rotate(45deg); pointer-events: none; }
.tw-auswahl.feld select { width: 100%; border-radius: 8px; background: var(--w03); font-size: 14px; }
.tw-auswahl.feld { display: flex; }

/* ── Formfeld A (W0): Weiss 3 % + Rand 8 %, Fokus Rand 45 % ── */
.tw-feld { width: 100%; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--w08); background: var(--w03);
    color: var(--w100); font: 500 14px/1 var(--font-brand); box-sizing: border-box; }
textarea.tw-feld { height: auto; min-height: 96px; padding: 10px 12px; line-height: 20px; resize: vertical; font-weight: 400; }
.tw-feld::placeholder { color: var(--w45); }
.tw-feld:focus, .tw-feld:focus-visible { outline: none; border-color: var(--w45); }
.tw-feld-l { display: flex; flex-direction: column; gap: 8px; }

/* Haekchen (W0 119:1880): 18 × 18, r5, aus Rand Weiss 25 % (1,5), an violett-knopf + Haken Weiss */
.tw-haken { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; background: none; border: 0; padding: 0;
    text-align: left; color: var(--w100); font: 500 14px/18px var(--font-brand); }
.tw-haken .kasten { width: 18px; height: 18px; flex: 0 0 18px; border-radius: 5px; border: 1.5px solid var(--w25);
    display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; margin-top: 0; }
.tw-haken[aria-checked="true"] .kasten { background: var(--violett-knopf); border-color: var(--violett-knopf); }
.tw-haken .kasten svg { width: 12px; height: 12px; opacity: 0; }
.tw-haken[aria-checked="true"] .kasten svg { opacity: 1; }
.tw-haken small { display: block; font: 400 12px/16px var(--font-brand); color: var(--w45); margin-top: 2px; }
.tw-haken:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ── Team-Logo (Figma Turnier/Team-Logo 144:2972): Tag auf Teamfarbe (Fuellung 16 %, Rand 50 %, Radius 25 %) ── */
.tw-logo { --tf: 168, 144, 248; --gr: 40px; width: var(--gr); height: var(--gr); flex: 0 0 var(--gr); border-radius: 25%;
    display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; overflow: hidden;
    background: rgba(var(--tf), .16); border: 1px solid rgba(var(--tf), .5); color: rgb(var(--tf));
    font: 700 calc(var(--gr) * .34)/1 var(--font-brand); letter-spacing: .02em; text-transform: uppercase; }
.tw-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tw-logo.bild { background: var(--erhoeht); border-color: var(--w08); }
.tw-logo.marke img { width: 62%; height: 62%; margin: auto; object-fit: contain; }   /* Nachzug 19.10.: Markenzeichen des Hubs (logo-mark.svg) */
.tw-logo.s22 { --gr: 22px; } .tw-logo.s24 { --gr: 24px; } .tw-logo.s28 { --gr: 28px; } .tw-logo.s32 { --gr: 32px; } .tw-logo.s40 { --gr: 40px; }
.tw-logo.s48 { --gr: 48px; } .tw-logo.s56 { --gr: 56px; } .tw-logo.s72 { --gr: 72px; } .tw-logo.s80 { --gr: 80px; }

/* Avatar (Beschwoerer-Icon, eckig 10 % wie BRAND) */
.tw-ava { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 7px; object-fit: cover; background: var(--erhoeht); display: block; }
.tw-ava.s20 { width: 20px; height: 20px; flex-basis: 20px; border-radius: 5px; }
.tw-ava.s24 { width: 24px; height: 24px; flex-basis: 24px; border-radius: 6px; }
.tw-ava.s32 { width: 32px; height: 32px; flex-basis: 32px; border-radius: 8px; }
.tw-ava.s40 { width: 40px; height: 40px; flex-basis: 40px; border-radius: 10px; }
.tw-rolle-ic { width: 16px; height: 16px; flex: 0 0 16px; opacity: .7; }

/* ── Balken (Plaetze) ── */
.tw-bar { height: 4px; border-radius: 2px; background: var(--w08); overflow: hidden; width: 120px; }
.tw-bar i { display: block; height: 100%; background: var(--gruen); border-radius: 2px; }
.tw-bar.voll i { background: var(--w45); }
.tw-bar.dick { height: 6px; border-radius: 3px; width: 100%; }

/* ── Panel / Karte (Fläche, Rand 9 %, r12) — Kasten = klickbar (BRAND) ── */
.tw-panel { background: var(--flaeche); border: 1px solid var(--border); border-radius: 12px; padding: 18px; box-sizing: border-box;
    min-width: 0; }
.tw-panel.stark { border-color: var(--border2); border-radius: 14px; padding: 22px; }
.tw-panel.violett { background: var(--w04); border: 1.5px solid var(--violett); }
.tw-klick { cursor: pointer; text-decoration: none; color: inherit; display: block; }
a.tw-panel:hover, .tw-panel.tw-klick:hover { border-color: var(--w25); }

/* Kennzahl-Kacheln (Figma 135:1991) */
.tw-kz { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tw-kz > div { background: var(--flaeche); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px;
    display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tw-kz .w { font: 600 18px/23px var(--font-brand); color: var(--w100); overflow-wrap: anywhere; }
.tw-kz .u { font: 400 13px/17px var(--font-brand); color: var(--w45); overflow-wrap: anywhere; }

/* Listenzeile mit Haarlinie unten */
.tw-zeile { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--w06); min-width: 0; }
.tw-zeile:last-child { border-bottom: 0; }
.tw-zeile .wachsen { flex: 1 1 auto; min-width: 0; }
.tw-name { font: 500 14px/18px var(--font-brand); color: var(--w100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-name.du { color: var(--violett-text); }

/* Hinweis-Kasten (Amber = Handlung/Warnung, Violett = Info) */
.tw-hinweis { border-radius: 10px; padding: 10px 12px; font: 400 13px/18px var(--font-brand); color: var(--w70);
    background: var(--w04); display: flex; gap: 10px; align-items: flex-start; }
.tw-hinweis.amber { color: var(--gold2); background: rgba(232, 180, 80, .1); }
.tw-hinweis.violett { color: var(--violett-text); background: rgba(184, 168, 255, .1); }
.tw-hinweis.gruen { color: var(--gruen); background: rgba(140, 198, 63, .1); }
.tw-hinweis svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 1px; }
.tw-hinweis b { color: inherit; font-weight: 600; }

/* Haarlinie */
.tw-haar { height: 1px; background: var(--border); border: 0; margin: 0; width: 100%; }

/* ── Leer / Laden (W0: Skelett statt Spinner, Leer/Fehler als Zeile IN der Liste) ── */
/* ── Clip-Karte (Profil S3 · Partie S4): 16:9-Bild mit Play + Dauer, Titel 15, Zeile 12 — Klassen bleiben `pf-` (S3) ── */
.pf-clips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pf-clip { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pf-clip-bild { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; border: 1px solid var(--border); overflow: hidden;
    background: var(--erhoeht) center 20% / cover no-repeat; display: block; }
.pf-clip-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,18,0) 0%, rgba(13,13,18,.1) 60%, rgba(13,13,18,.75) 100%); }
a.pf-clip-bild:hover { border-color: var(--w25); }
.pf-play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; z-index: 1;
    background: rgba(13,13,18,.55); border: 1px solid rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; }
.pf-dauer { position: absolute; right: 10px; bottom: 10px; z-index: 1; padding: 3px 7px; border-radius: 6px; background: rgba(13,13,18,.75);
    font: 600 12px/15px var(--font-brand); color: var(--w100); }
.pf-clip h3 { margin: 0; font: 600 15px/19px var(--font-brand); color: var(--w100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-clip p { margin: 0; font: 400 12px/15px var(--font-brand); color: var(--w45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tw-leer { padding: 28px 0; display: flex; flex-direction: column; gap: 8px; max-width: 64ch; }
.tw-leer b { font: 600 16px/20px var(--font-brand); color: var(--w100); }
.tw-leer p { font: 400 14px/21px var(--font-brand); color: var(--w70); margin: 0; }
.tw-leer .tw-btn { align-self: flex-start; margin-top: 8px; }
.tw-skel { border-radius: 8px; background: linear-gradient(90deg, var(--w04) 0%, var(--w08) 50%, var(--w04) 100%);
    background-size: 200% 100%; animation: tw-skel 1.4s ease-in-out infinite; }
@keyframes tw-skel { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .tw-skel { animation: none; } }

/* ── Dialog (Figma 137:2778): Erhoeht, Rand 15 %, r16, p28, Schatten schatten/menue; 430 = Bottom-Sheet (M5) ── */
.tw-ov { position: fixed; inset: 0; z-index: 2000; background: rgba(5, 6, 9, .72); display: flex; align-items: flex-start;
    justify-content: center; padding: 140px 16px 40px; overflow-y: auto; overscroll-behavior: contain; }
.tw-ov[hidden] { display: none; }
.tw-dlg { width: 600px; max-width: 100%; background: var(--erhoeht); border: 1px solid var(--border2); border-radius: 16px;
    padding: 28px; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 20px; box-sizing: border-box; }
.tw-dlg.schmal { width: 480px; }
.tw-dlg-kopf { display: flex; gap: 12px; align-items: flex-start; }
.tw-dlg-kopf > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tw-dlg-kopf h2 { font: 700 22px/28px var(--font-brand); color: var(--w100); margin: 0; overflow-wrap: anywhere; }
.tw-dlg-kopf p { font: 400 14px/18px var(--font-brand); color: var(--w55); margin: 0; }
.tw-dlg-zu { background: none; border: 0; color: var(--w45); cursor: pointer; width: 28px; height: 28px; border-radius: 6px;
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; font-size: 16px; }
.tw-dlg-zu:hover { color: var(--w100); background: var(--w06); }
.tw-dlg-zu:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tw-dlg-fuss { display: flex; gap: 10px; align-items: center; padding-top: 20px; border-top: 1px solid var(--w08); }
.tw-dlg-fuss p { flex: 1 1 auto; margin: 0; font: 400 12px/16px var(--font-brand); color: var(--w55); }
.tw-dlg-fehler { border-radius: 10px; padding: 10px 12px; font: 400 13px/18px var(--font-brand); color: var(--gold2);
    background: rgba(232, 180, 80, .1); }
.tw-dlg-fehler b { display: block; font-weight: 600; margin-bottom: 2px; }
body.tw-ov-auf { overflow: hidden; }
html:has(body.tw-ov-auf) { overflow: hidden; }     /* klassische Scrollleiste: sonst ist das Bottom-Sheet 15 px schmaler */

/* ── Toast (W0: unten rechts, 340, stapelt, 4 s; Problem bleibt bis ×; Warnung Amber wie Client D1) ── */
.tw-toasts { position: fixed; right: 24px; bottom: 24px; z-index: 2100; display: flex; flex-direction: column; gap: 10px;
    width: 340px; max-width: calc(100vw - 32px); pointer-events: none; }
.tw-toast { pointer-events: auto; background: var(--erhoeht); border: 1px solid var(--border2); border-radius: 12px;
    padding: 12px 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); display: flex; gap: 10px; align-items: flex-start;
    font: 400 13px/18px var(--font-brand); color: var(--w70); }
.tw-toast b { display: block; font: 600 14px/18px var(--font-brand); color: var(--w100); margin-bottom: 2px; }
.tw-toast.warn { border-color: rgba(232, 180, 80, .45); }
.tw-toast.warn b { color: var(--gold2); }
.tw-toast.ok { border-color: rgba(140, 198, 63, .45); }
.tw-toast > div { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.tw-toast button { background: none; border: 0; color: var(--w45); cursor: pointer; font-size: 14px; padding: 0 2px; }

/* ═══ Schaufenster (BAUPLAN-WEBSITE SF3 · Figma 301:15188, 📘 343:20434) — Bausteine fuer SF3–SF6 (TW.sf.*) ═══
   Buehne = Splash (Data Dragon „centered“) mit Alpha-Maske 100 % → 100 % (55 %) → 30 % (85 %) → 0, Abdunklung links +
   unten, keine Naht. Hero: Kicker 12/600 · Titel 64/700 · Zeile 18 · Host 14 · Team-Logos 22 · Kennzahlen 22/600 + 11/600. */
.tw-sf-buehne { position: absolute; left: 0; right: 0; top: 72px; height: 588px; z-index: -1; overflow: hidden; pointer-events: none;
    background: var(--tw-sf-bild, none) center 18% / cover no-repeat;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.3) 85%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.3) 85%, transparent 100%); }
.tw-sf-buehne[hidden] { display: none; }
.tw-sf-buehne::before, .tw-sf-buehne::after { content: ""; position: absolute; inset: 0; }
.tw-sf-buehne::before { background: linear-gradient(90deg, rgba(12,13,17,.92) 0%, rgba(12,13,17,.6) 40%, rgba(12,13,17,.12) 70%, rgba(12,13,17,.35) 100%); }
.tw-sf-buehne::after { background: linear-gradient(180deg, rgba(12,13,17,.25) 0%, rgba(12,13,17,.12) 45%, rgba(12,13,17,.8) 100%); }
.tw-sf-buehne.kompakt { height: 488px; }
.tw-sf-buehne.flach { height: 428px; }
/* Ohne Cover (kein Bild / blockiert): violetter Schimmer statt schwarzem Loch */
.tw-sf-buehne.ohne { background: linear-gradient(180deg, rgba(var(--tw-sf-ton, 117,85,251),.28) 0%, rgba(var(--tw-sf-ton, 117,85,251),.1) 55%, rgba(var(--tw-sf-ton, 117,85,251),0) 100%); }
.tw-sf-buehne.ohne::before, .tw-sf-buehne.ohne::after { display: none; }
/* TK3 Ticket-Seite (Spec E): Cover unscharf 42 % + Abdunklung, Glanz in der Farbe des Ticket-Zustands (Figma S-*: „Bühne · Glanz“) */
.tw-sf-buehne.unscharf { height: 708px; background: none; -webkit-mask-image: none; mask-image: none; }
.tw-sf-buehne.unscharf::before { inset: -60px; background: var(--tw-sf-bild, none) center 20% / cover no-repeat; filter: blur(40px); opacity: .42; }
.tw-sf-buehne.unscharf::after { background: radial-gradient(500px 210px at 50% 56%, rgba(var(--tw-sf-glanz, 124,92,255), .16), transparent 72%),
    linear-gradient(180deg, rgba(12,13,17,.55) 0%, rgba(12,13,17,.55) 55%, #0c0d11 100%); }
.tw-sf-buehne.unscharf.ohne::before, .tw-sf-buehne.unscharf.ohne::after { display: block; }
.tw-sf-buehne.unscharf.ohne::before { background: none; }

.tw-sf-hero { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.tw-sf-kick { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; margin-bottom: 14px; min-height: 23px; }
.tw-sf-kicker { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/15px var(--font-brand); letter-spacing: 1.2px;
    text-transform: uppercase; color: var(--w55); text-decoration: none; }
a.tw-sf-kicker:hover { color: var(--w100); }
.tw-sf-kicker svg { width: 12px; height: 12px; }
.tw-sf-kick .tw-chip { padding: 4px 10px; }
.tw-sf-titel { margin: 0; font: 700 64px/1.22 var(--font-brand); color: var(--w100); letter-spacing: -.01em; overflow-wrap: anywhere;
    text-shadow: 0 2px 24px rgba(12,13,17,.45); }
.tw-sf-unter { margin: 8px 0 0; font: 400 18px/24px var(--font-brand); color: var(--w70); overflow-wrap: anywhere; }
.tw-sf-absage { margin: 8px 0 0; font: 400 14px/20px var(--font-brand); color: var(--gold2); overflow-wrap: anywhere; }
.tw-sf-host { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; margin: 18px 0 0; font: 400 14px/18px var(--font-brand);
    color: var(--w55); min-width: 0; }
.tw-sf-host .tw-logo { margin-right: 2px; }
.tw-sf-host b { font-weight: 600; color: var(--w100); overflow-wrap: anywhere; }
.tw-sf-host b a { color: inherit; text-decoration: none; }
.tw-sf-host b a:hover { color: var(--violett-text); }
.tw-sf-host .tw-chip { padding: 3px 10px; }
.tw-sf-teams { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin: 14px 0 0; background: none; border: 0; padding: 0;
    color: inherit; text-align: left; min-width: 0; font: inherit; }
button.tw-sf-teams { cursor: pointer; border-radius: 8px; }
button.tw-sf-teams:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.tw-sf-teams .logos { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.tw-sf-teams .logos > span { display: inline-flex; }
.tw-sf-teams .satz { font: 500 13px/16px var(--font-brand); color: var(--w70); overflow-wrap: anywhere; }
button.tw-sf-teams:hover .satz { color: var(--w100); }
.tw-sf-fuss { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-top: 36px; min-width: 0; }
.tw-sf-hero.kompakt .tw-sf-fuss { margin-top: 22px; }
.tw-sf-knoepfe { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-left: auto; }
.tw-sf-knoepfe .tw-btn { height: 40px; }
.tw-sf-knoepfe .tw-btn.status { border-color: var(--w25); }
.tw-sf-knoepfe .tw-btn.status.gut svg { color: var(--gruen); }

/* Kennzahlen-Leiste (Muster K2): Wert 22/600, Label 11/600 + 8 %, Trenner Weiss 12 % */
.tw-sf-kz { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px 0; margin: 0; min-width: 0; }
.tw-sf-kz-e { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 0 24px; min-width: 0;
    border-left: 1px solid var(--w12); }
.tw-sf-kz-e:first-child { padding-left: 0; border-left: 0; }
.tw-sf-kz dt { font: 600 11px/14px var(--font-brand); letter-spacing: .88px; text-transform: uppercase; color: var(--w45); margin: 0; white-space: nowrap; }
.tw-sf-kz dd { margin: 0; font: 600 22px/28px var(--font-brand); color: var(--w100); overflow-wrap: anywhere; max-width: 340px; }
.tw-sf-kz dd a { color: inherit; text-decoration: none; }
.tw-sf-kz dd a:hover { color: var(--violett-text); }
.tw-sf-kz-e.gruen dd { color: var(--gruen); }
.tw-sf-kz-e.gold dd, .tw-sf-kz-e.amber dd, .tw-sf-kz dd .eilig { color: var(--gold2); }
.tw-sf-kz-e.rot dd { color: var(--red); }
.tw-sf-kz.klein dd { font-size: 17px; line-height: 22px; }
.tw-sf-kz.klein .tw-sf-kz-e { padding: 0 16px; }
.tw-sf-kz.klein .tw-sf-kz-e:first-child { padding-left: 0; }

/* Reiter unter dem Hero (Unterstrich, Figma 329:17733): 13/500, aktiv Weiss 600 + 2 px Linie */
.tw-sf-reiter { display: flex; gap: 4px; border-bottom: 1px solid var(--w08); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tw-sf-reiter::-webkit-scrollbar { display: none; }
.tw-sf-reiter button { position: relative; height: 40px; padding: 0 12px; border: 0; background: none; cursor: pointer; white-space: nowrap;
    font: 500 13px/40px var(--font-brand); color: var(--w70); display: inline-flex; align-items: center; gap: 5px; }
.tw-sf-reiter button:hover { color: var(--w100); }
.tw-sf-reiter button[aria-selected="true"] { color: var(--w100); font-weight: 600; }
.tw-sf-reiter button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: var(--violett-text); border-radius: 2px; }
.tw-sf-reiter .n { font-size: 11px; line-height: 11px; color: var(--w45); align-self: flex-start; margin-top: 11px; }
.tw-sf-reiter button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 6px; }

/* Glas-Chip auf dem Splash (Grund 72 %) */
.tw-sf-glas { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: rgba(12,13,17,.72);
    font: 600 12px/15px var(--font-brand); color: var(--w45); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.tw-sf-glas.violett { color: var(--violett-text); }


.tw-sf-live-t:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Daumen 160×90 (Verlauf-Zeile + Partner-Cups ueberschreiben die Groesse) */
.tw-sf-daumen { width: 160px; height: 90px; border-radius: 10px; background: var(--erhoeht) center 20% / cover no-repeat; display: block; }

/* Live-Karte (305:15372): Rand Gruen, Bild 600 links · rechts Runde + Partien (46 hoch, r10) */
.tw-sf-live { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); border-radius: 14px; overflow: hidden; cursor: pointer;
    border: 1px solid rgba(140,198,63,.45); background: linear-gradient(90deg, rgba(140,198,63,.05), rgba(140,198,63,0) 60%), var(--flaeche); min-width: 0; }
.tw-sf-live:hover { border-color: rgba(140,198,63,.75); }
.tw-sf-live-bild { position: relative; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px 28px;
    box-sizing: border-box; background: var(--erhoeht) center 20% / cover no-repeat; }
.tw-sf-live-bild::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,13,17,.25) 0%, rgba(12,13,17,0) 40%, rgba(12,13,17,.85) 100%); }
.tw-sf-live-bild > * { position: relative; }
.tw-sf-live-bild .oben { display: flex; gap: 6px; flex-wrap: wrap; }
.tw-sf-live-bild .oben .tw-chip { background: rgba(12,13,17,.72); }
.tw-sf-live-bild .unten { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tw-sf-live-t { font: 700 32px/40px var(--font-brand); color: var(--w100); text-decoration: none; overflow-wrap: anywhere; }
.tw-sf-live-bild .unten p { margin: 0; font: 400 14px/18px var(--font-brand); color: var(--w70); overflow-wrap: anywhere; }
.tw-sf-live-r { display: flex; flex-direction: column; gap: 4px; padding: 24px 28px; min-width: 0; }
.tw-sf-live-r > .tw-cap { margin-bottom: 14px; }
.tw-sf-live-p { display: flex; flex-direction: column; gap: 4px; }
.tw-sf-lp { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(70px, auto); gap: 12px; align-items: center;
    padding: 10px 12px; border-radius: 10px; min-width: 0; }
.tw-sf-lp.du { background: rgba(124,92,255,.1); }
.tw-sf-lp .s { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.tw-sf-lp .s.r { justify-content: flex-start; }
.tw-sf-lp .s .n { font: 600 14px/18px var(--font-brand); color: var(--w70); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tw-sf-lp .s.sieg .n { color: var(--w100); }
.tw-sf-lp .s.leer .n { color: var(--w45); font-weight: 500; }
.tw-sf-lp .st { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; background: var(--w06);
    font: 700 14px/18px var(--font-brand); color: var(--w70); font-variant-numeric: tabular-nums; }
.tw-sf-lp .st i { font-style: normal; font-weight: 500; color: var(--w45); }
.tw-sf-lp .st b.g { color: var(--gruen); }
.tw-sf-lp .z { font: 500 12px/15px var(--font-brand); color: var(--w45); text-align: right; white-space: nowrap; }
.tw-sf-lp .z.an { color: var(--gruen); }
.tw-sf-live-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 14px;
    font: 400 12px/15px var(--font-brand); color: var(--w45); }
.tw-sf-live-f .tw-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }

/* Sieger-Karte (305:15674): Gold-Schimmer 16 % → 0 (60 %), Rand Gold 25 %, r14, p20 */
.tw-sf-sieger { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 14px; text-decoration: none; min-width: 0;
    background: linear-gradient(180deg, rgba(232,176,74,.16) 0%, rgba(232,176,74,0) 60%), var(--flaeche); border: 1px solid rgba(232,176,74,.25); }
.tw-sf-sieger:hover { border-color: rgba(232,176,74,.55); }
.tw-sf-sieger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tw-sf-sieger .oben { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tw-sf-sieger .oben .tw-logo { border-radius: 12px; }
.tw-sf-sieger .pokal { width: 28px; height: 28px; border-radius: 8px; background: rgba(232,176,74,.16); color: var(--gold2);
    display: inline-flex; align-items: center; justify-content: center; }
.tw-sf-sieger b { font: 700 18px/23px var(--font-brand); color: var(--w100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-sf-sieger .won { font: 500 13px/16px var(--font-brand); color: var(--gold); overflow-wrap: anywhere; }
.tw-sf-sieger .z { font: 400 12px/15px var(--font-brand); color: var(--w45); overflow-wrap: anywhere; }

/* Band (Spielabend / Du-Leiste-Form): Gruen 4 % + Rand Gruen 30 %, r12 */
.tw-sf-band { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 15px 20px; border-radius: 12px; min-width: 0;
    background: rgba(140,198,63,.05); border: 1px solid rgba(140,198,63,.3); font: 400 14px/18px var(--font-brand); color: var(--w70); }
.tw-sf-band .tw-punkt { background: var(--gruen); }
.tw-sf-band .tw-punkt.an { box-shadow: 0 0 0 4px rgba(140,198,63,.18); }
.tw-sf-band b { font-weight: 600; color: var(--w100); }
.tw-sf-band > span { min-width: 0; overflow-wrap: anywhere; }
.tw-sf-band .tw-link { margin-left: auto; color: var(--gruen); display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
.tw-sf-band .tw-link:hover { color: var(--w100); }

/* Leer-Karte: gestrichelt Weiss 15 %, r14, p32 */
.tw-sf-leer { border: 1px dashed var(--w14); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tw-sf-leer .kick { margin: 0; font: 600 12px/15px var(--font-brand); letter-spacing: .4px; text-transform: uppercase; color: var(--violett-text); }
.tw-sf-leer h2 { margin: 0; font: 700 22px/28px var(--font-brand); color: var(--w100); overflow-wrap: anywhere; }
.tw-sf-leer p { margin: 0; font: 400 14px/20px var(--font-brand); color: var(--w70); max-width: 72ch; overflow-wrap: anywhere; }
.tw-sf-leer .kn { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.tw-sf-leer.durch { border: 1px solid var(--w08); background: var(--flaeche); }   /* Nachzug 19.10.: Hub-Leerkarte */

/* Host-Band (305:15744): Splash rechts, Verlauf von links, r16, p48 */
.tw-sf-hostband { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    padding: 45px 48px; border-radius: 16px; border: 1px solid var(--w08); overflow: hidden; min-width: 0;
    background: linear-gradient(90deg, rgba(12,13,17,.94) 0%, rgba(12,13,17,.72) 45%, rgba(12,13,17,.35) 100%),
                url("https://ddragon.leagueoflegends.com/cdn/img/champion/centered/Jayce_0.jpg") 70% 25% / cover no-repeat, var(--flaeche); }
.tw-sf-hostband .txt { display: flex; flex-direction: column; gap: 10px; max-width: 560px; min-width: 0; }
.tw-sf-hostband .kick { margin: 0; font: 600 12px/15px var(--font-brand); letter-spacing: 1.2px; text-transform: uppercase; color: var(--violett-text); }
.tw-sf-hostband h2 { margin: 0; font: 700 34px/42px var(--font-brand); color: var(--w100); overflow-wrap: anywhere; }
.tw-sf-hostband .txt > p:not(.kick) { margin: 0; font: 400 16px/24px var(--font-brand); color: var(--w70); }
.tw-sf-hostband .kn { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tw-sf-hostband .rechts { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; margin-left: auto; min-width: 0; }
.tw-sf-hostband .logos { display: flex; gap: 8px; }
.tw-sf-hostband .logos .tw-logo { border-radius: 12px; }
.tw-sf-hostband .rechts p { margin: 0; font: 500 13px/16px var(--font-brand); color: var(--w70); text-align: right; }

/* Abschnittskopf der Schaufenster-Listen: Cap 11/600 + Zahl · Link rechts */
.tw-sf-abkopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.tw-sf-abkopf h2 { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 11px/14px var(--font-brand); letter-spacing: 1.1px;
    text-transform: uppercase; color: var(--w45); }
.tw-sf-abkopf h2 .tw-punkt { background: var(--w45); }
.tw-sf-abkopf h2.live .tw-punkt { background: var(--gruen); }
.tw-sf-abkopf .tw-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; background: none; border: 0; padding: 0; cursor: pointer; }
.tw-sf-abkopf .tw-link svg { width: 12px; height: 12px; }

/* ═══ Schaufenster SF4 (T2 307:15474 · T3 308:15653 · Team-Karte 303:15255) — Bild-Zeile, Verlauf, Team-Karte, Rangliste ═══ */
.tw-sf-titelz { display: flex; align-items: center; gap: 20px; min-width: 0; }
.tw-sf-titelz .tw-logo { flex: 0 0 auto; border-radius: 16px; }

/* Bild-Zeile (Coming up): r14, Bild 200 links, Rand 8 % · amber (Kapitaen muss handeln) · violett (Partie laeuft) */
.tw-sf-bz { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-radius: 14px; overflow: hidden; background: var(--flaeche);
    border: 1px solid var(--w08); min-width: 0; }
.tw-sf-bz[data-tw-sf-href] { cursor: pointer; }
.tw-sf-bz[data-tw-sf-href]:hover { border-color: var(--w25); }
.tw-sf-bz.amber { border-color: rgba(232,180,80,.55); background: linear-gradient(90deg, rgba(232,180,80,.05), rgba(232,180,80,0) 60%), var(--flaeche); }
.tw-sf-bz.violett { border-color: rgba(124,92,255,.55); background: linear-gradient(90deg, rgba(124,92,255,.08), rgba(124,92,255,0) 60%), var(--flaeche); }
.tw-sf-bz.gruen { border-color: rgba(140,198,63,.45); }
.tw-sf-bz > .bild { display: block; min-height: 128px; background: var(--erhoeht) center 20% / cover no-repeat; }
.tw-sf-bz > .k { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 18px; min-width: 0; }
.tw-sf-bz .kick { margin: 0; font: 600 11px/14px var(--font-brand); letter-spacing: .88px; text-transform: uppercase; color: var(--violett-text);
    overflow-wrap: anywhere; }
.tw-sf-bz .tz { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; min-width: 0; }
.tw-sf-bz-t { font: 700 18px/23px var(--font-brand); color: var(--w100); text-decoration: none; overflow-wrap: anywhere; min-width: 0; }
a.tw-sf-bz-t:hover, .tw-sf-bz[data-tw-sf-href]:hover .tw-sf-bz-t { color: var(--violett-text); }
a.tw-sf-bz-t:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.tw-sf-bz .z { margin: 0; font: 400 13px/17px var(--font-brand); color: var(--w55); overflow-wrap: anywhere; }
.tw-sf-bz .f { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin-top: auto; padding-top: 10px; min-width: 0; }
.tw-sf-bz .f > .t { font: 400 13px/18px var(--font-brand); color: var(--w70); min-width: 0; overflow-wrap: anywhere; }
.tw-sf-bz .f > .t:empty { display: none; }
.tw-sf-bz .f > .akt { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; min-width: 0; }
.tw-sf-bz .f > .akt .tw-btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* Verlauf-Zeile (History): Pokal 36 · Daumen 64×36 · Titel/Unterzeile | Platz/Bilanz, Haarlinie 6 % */
.tw-sf-vz { display: grid; grid-template-columns: 36px 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0;
    border-bottom: 1px solid var(--w06); text-decoration: none; min-width: 0; }
.tw-sf-vz:hover b { color: var(--violett-text); }
.tw-sf-vz:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.tw-sf-vz .pk { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--w06); color: var(--w45); }
.tw-sf-vz.gold .pk { background: rgba(232,176,74,.16); color: var(--gold2); }
.tw-sf-vz.silber .pk { background: rgba(255,255,255,.1); color: var(--w100); }
.tw-sf-vz.bronze .pk { background: rgba(205,127,50,.16); color: #D9955A; }
.tw-sf-vz .tw-sf-daumen { width: 64px; height: 36px; border-radius: 6px; }
.tw-sf-vz .t, .tw-sf-vz .r { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tw-sf-vz .r { align-items: flex-end; text-align: right; }
.tw-sf-vz b { font: 600 15px/19px var(--font-brand); color: var(--w100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-sf-vz small { font: 400 12px/15px var(--font-brand); color: var(--w45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-sf-vz small.z { white-space: normal; overflow-wrap: anywhere; color: var(--w55); }
.tw-sf-vz .r b { color: var(--w70); }
.tw-sf-vz.gold .r b { color: var(--gold2); }
.tw-sf-vz.silber .r b { color: var(--w100); }
.tw-sf-vz.bronze .r b { color: #D9955A; }

/* Team-Karte (303:15255): r14, Kopf 84 in Teamfarbe (Verlauf 28 % → 0), Avatare 28, Rollen-Chips Gruen, Zahlen | Knopf */
.tw-sf-tk { display: flex; flex-direction: column; min-width: 0; border-radius: 14px; background: var(--flaeche); border: 1px solid var(--w08);
    overflow: hidden; cursor: pointer; transition: border-color .15s ease; }
.tw-sf-tk:hover { border-color: var(--w25); }
.tw-sf-tk > .kopf { display: flex; align-items: center; gap: 14px; padding: 18px 20px; min-width: 0;
    background: linear-gradient(90deg, rgba(var(--tf), .28) 0%, rgba(var(--tf), .08) 70%, rgba(var(--tf), 0) 100%); }
.tw-sf-tk > .kopf .tw-logo { flex: 0 0 auto; border-radius: 12px; }
.tw-sf-tk .n { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tw-sf-tk-t { font: 700 18px/23px var(--font-brand); color: var(--w100); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-sf-tk:hover .tw-sf-tk-t { color: var(--w100); text-decoration: underline; text-underline-offset: 3px; }
.tw-sf-tk-t:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.tw-sf-tk .n small { font: 400 12px/15px var(--font-brand); color: var(--w55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-sf-tk > .k { display: flex; flex-direction: column; gap: 14px; padding: 16px 20px 20px; flex: 1 1 auto; min-width: 0; }
.tw-sf-tk .m { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; font: 400 12px/15px var(--font-brand); color: var(--w55); }
.tw-sf-tk .m .tw-chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-sf-tk .f { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; min-width: 0; }
.tw-sf-tk .f .z { font: 400 13px/17px var(--font-brand); color: var(--w70); min-width: 0; overflow-wrap: anywhere; }
.tw-sf-tk .f .akt { display: inline-flex; flex: 0 0 auto; max-width: 60%; }
.tw-sf-tk .f .akt .tw-btn, .tw-sf-tk .f .akt > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-sf-tk .f .akt > span { font: 500 12px/15px var(--font-brand); color: var(--w45); }
.tw-sf-avas { display: flex; gap: 2px; flex-wrap: wrap; min-height: 28px; }
.tw-sf-avas .tw-ava { width: 28px; height: 28px; border-radius: 50%; }
.tw-sf-rollen { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.tw-sf-rollen .l { font: 400 12px/15px var(--font-brand); color: var(--w55); margin-right: 2px; }
.tw-sf-rolle { display: inline-flex; padding: 3px 9px; border-radius: 999px; background: rgba(140,198,63,.14); border: 1px solid rgba(140,198,63,.3);
    font: 600 11px/14px var(--font-brand); color: var(--gruen); white-space: nowrap; }

/* Plus-Karte (Create a team): gestrichelt 15 %, mittig, Plus in Violett */
.tw-sf-plus { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 200px; padding: 24px;
    border: 1px dashed var(--w14); border-radius: 14px; background: none; cursor: pointer; text-align: center; color: var(--w70);
    font: 400 13px/18px var(--font-brand); min-width: 0; }
.tw-sf-plus:hover { border-color: rgba(124,92,255,.6); background: rgba(124,92,255,.04); }
.tw-sf-plus:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tw-sf-plus .p { width: 36px; height: 36px; border-radius: 10px; background: rgba(124,92,255,.16); color: var(--violett-text);
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.tw-sf-plus b { font: 600 16px/20px var(--font-brand); color: var(--w100); }
.tw-sf-plus > span:last-child { max-width: 320px; }
.tw-sf-plus.aus { opacity: .5; cursor: not-allowed; }

/* Form (W/L) + Rangliste (Top teams): Zeile 52, # · Team · Cups · Titles · Matches · Win rate · Form, eigene Zeile violett */
.tw-sf-form { display: inline-flex; gap: 4px; }
.tw-sf-form i { font: 700 10px/14px var(--font-brand); font-style: normal; padding: 2px 5px; border-radius: 4px; min-width: 10px; text-align: center; }
.tw-sf-form i.w { background: rgba(140,198,63,.16); color: var(--gruen); }
.tw-sf-form i.l { background: rgba(232,64,87,.16); color: #F0707F; }
.tw-sf-rl { display: flex; flex-direction: column; min-width: 0; }
.tw-sf-rl-z { display: grid; grid-template-columns: 32px minmax(0, 1fr) 72px 72px 110px 90px 170px; gap: 16px; align-items: center;
    padding: 10px 0; border-bottom: 1px solid var(--w06); text-decoration: none; color: var(--w70); font: 500 14px/18px var(--font-brand); min-width: 0; }
.tw-sf-rl-z.kopf { padding: 0 0 10px; font: 600 11px/14px var(--font-brand); letter-spacing: .88px; text-transform: uppercase; color: var(--w45); }
a.tw-sf-rl-z:hover .tm b { color: var(--violett-text); }
a.tw-sf-rl-z:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.tw-sf-rl-z.du { background: rgba(124,92,255,.08); border-radius: 8px; }
.tw-sf-rl-z .r { text-align: right; justify-content: flex-end; }
.tw-sf-rl-z .rang { font-weight: 600; color: var(--w70); padding-left: 4px; }
.tw-sf-rl-z.eins .rang { color: var(--gold2); }
.tw-sf-rl-z .tm { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tw-sf-rl-z .tm b { font: 600 15px/19px var(--font-brand); color: var(--w100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tw-sf-rl-z .tm .tw-chip { flex: 0 1000 auto; min-width: 40px; overflow: hidden; text-overflow: ellipsis; }
.tw-sf-rl-z .gold { color: var(--gold2); }
.tw-sf-rl-z .q { color: var(--w100); font-weight: 600; }
.tw-sf-rl-z > :last-child { display: flex; justify-content: flex-end; padding-right: 4px; }

/* Drei Schritte (T2-Gast): je Karte r14, Rand 8 %, Nummer violett */
.tw-sf-schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tw-sf-schritte li { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 14px; background: var(--flaeche); border: 1px solid var(--w08); min-width: 0; }
.tw-sf-schritte .nr { font: 700 13px/16px var(--font-brand); color: var(--violett-text); margin-bottom: 4px; }
.tw-sf-schritte b { font: 700 18px/23px var(--font-brand); color: var(--w100); }
.tw-sf-schritte p { margin: 0; font: 400 14px/20px var(--font-brand); color: var(--w70); overflow-wrap: anywhere; }

/* ── Feste Leiste unten (M1: Handlung bleibt erreichbar) — nur ≤ 1080 sichtbar ── */
.tw-leiste, .tw-leiste[hidden] { display: none; }

/* ── Brueche ── */
@media (max-width: 1280px) {
    .tw-main { padding-left: 48px; padding-right: 48px; }
}
@media (max-width: 1080px) {
    .tw-main { padding-left: 32px; padding-right: 32px; }
    .tw-rumpf { grid-template-columns: minmax(0, 1fr); }
    .tw-links { padding-right: 0; }
    .tw-vline { display: none; }
    .tw-rechts { padding-left: 0; padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--w08); }
    .tw-kz { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tw-tkopf-z1 .tw-reiter { margin-left: 0; order: 3; width: 100%; }
    .tw-leiste:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; gap: 12px; align-items: center;
        padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--erhoeht); border-top: 1px solid var(--border2); }
    .tw-leiste .stand { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
    .tw-leiste .stand b { font: 600 15px/19px var(--font-brand); color: var(--w100); }
    .tw-leiste .stand span { font: 400 12px/15px var(--font-brand); color: var(--w45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    body.tw-mit-leiste { padding-bottom: 76px; }
}
@media (max-width: 600px) {
    .tw-main { padding: calc(72px + 32px) 16px 72px; }
    .tw-main.liste { padding-top: calc(72px + 32px); padding-bottom: 72px; }
    .tw-h1 { font-size: 28px; line-height: 35px; }
    .tw-kopf { align-items: flex-start; }
    .tw-kopf-steuer { width: 100%; }
    .tw-reiter, .tw-seg { width: 100%; }
    .tw-reiter button, .tw-reiter a, .tw-seg button, .tw-seg a { flex: 1 0 auto; justify-content: center; }
    .tw-rumpf { margin-top: 24px; }
    .tw-links { gap: 24px; }
    .tw-kz { gap: 10px; }
    .tw-kz > div { padding: 14px; }
    .tw-ov { padding: 0; align-items: flex-end; }
    .tw-dlg, .tw-dlg.schmal { width: 100%; border-radius: 16px 16px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
        max-height: 92vh; overflow-y: auto; border-bottom: 0; }
    .tw-dlg-fuss { flex-wrap: wrap; }
    .tw-dlg-fuss p { flex-basis: 100%; }
    .tw-dlg-fuss .tw-btn { flex: 1 1 0; }
    .tw-toasts { right: 16px; left: 16px; width: auto; bottom: 16px; }
    body.tw-mit-leiste .tw-toasts { bottom: 92px; }
}

/* ── Schaufenster: Brueche (≤ 1080 Live-Karte gestapelt, ≤ 600 = 430-Fassung M-T1/M-D1) ── */
@media (max-width: 1280px) {
    .tw-sf-daumen { width: 128px; height: 72px; }
}
@media (max-width: 1080px) {
    .tw-sf-rl-z { grid-template-columns: 28px minmax(0, 1fr) 56px 56px 96px 72px; }
    .tw-sf-rl-z > :last-child { display: none; }
    .tw-sf-titel { font-size: 52px; }
    .tw-sf-live { grid-template-columns: minmax(0, 1fr); }
    .tw-sf-live-bild { min-height: 200px; }
}
@media (max-width: 860px) {
    .tw-sf-hostband { padding: 32px 28px; }
    .tw-sf-hostband .rechts { align-items: flex-start; margin-left: 0; }
    .tw-sf-hostband .rechts p { text-align: left; }
}
@media (max-width: 600px) {
    .tw-sf-buehne { height: 388px; }
    .tw-sf-buehne.kompakt { height: 368px; }
    .tw-sf-buehne.flach { height: 348px; }
    .tw-sf-kick { margin-bottom: 10px; }
    .tw-sf-kicker { font-size: 11px; letter-spacing: 1px; }
    .tw-sf-titel { font-size: 34px; line-height: 40px; }
    .tw-sf-hero .tw-sf-unter { font-size: 16px; line-height: 22px; }
    .tw-sf-host { margin-top: 14px; font-size: 13px; }
    .tw-sf-fuss { margin-top: 24px; gap: 20px; }
    .tw-sf-kz { gap: 14px 24px; }
    .tw-sf-kz-e { padding: 0; border-left: 0; }
    .tw-sf-kz dd { font-size: 20px; line-height: 26px; }
    .tw-sf-knoepfe { width: 100%; margin-left: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
    .tw-sf-knoepfe > :first-child:nth-last-child(n+3), .tw-sf-knoepfe > :only-child { grid-column: 1 / -1; }
    .tw-sf-knoepfe .tw-btn { width: 100%; }
    .tw-sf-live-bild { padding: 20px 24px; min-height: 168px; }
    .tw-sf-live-t { font-size: 26px; line-height: 32px; }
    .tw-sf-live-r { padding: 20px 16px 20px; }
    .tw-sf-lp { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "a st" "b st" "z z"; gap: 6px 12px; padding: 10px 12px; background: var(--w03); }
    .tw-sf-lp .s { justify-content: flex-end; flex-direction: row-reverse; }
    .tw-sf-lp .s:first-child { grid-area: a; }
    .tw-sf-lp .s.r { grid-area: b; flex-direction: row; }
    .tw-sf-lp .st { grid-area: st; flex-direction: column; gap: 2px; padding: 6px 10px; }
    .tw-sf-lp .st i { display: none; }
    .tw-sf-lp .z { grid-area: z; text-align: left; }
    .tw-sf-sieger { padding: 16px; }
    .tw-sf-sieger .oben { margin-bottom: 8px; }
    .tw-sf-sieger b { font-size: 16px; line-height: 20px; }
    .tw-sf-band { padding: 14px 16px; }
    .tw-sf-band .tw-link { margin-left: 0; }
    .tw-sf-leer { padding: 24px 20px; }
    .tw-sf-leer .kn .tw-btn { flex: 1 1 auto; }
    .tw-sf-hostband { padding: 28px 20px; background-position: 0 0, 60% 0, 0 0; }
    .tw-sf-hostband h2 { font-size: 26px; line-height: 32px; }
    .tw-sf-hostband .kn .tw-btn { flex: 1 1 auto; }
    /* SF4 (M-T2/M-T3): Bild-Zeile gestapelt (Bild 128 oben), Verlauf ohne Daumen, Rangliste # · Team · Win rate, Schritte untereinander */
    .tw-sf-titelz { gap: 14px; }
    .tw-sf-titelz .tw-logo { --gr: 56px; border-radius: 12px; }
    .tw-sf-bz { grid-template-columns: minmax(0, 1fr); }
    .tw-sf-bz > .bild { min-height: 0; height: 128px; }
    .tw-sf-bz > .k { padding: 16px 16px 16px; }
    .tw-sf-bz .f { flex-direction: column; align-items: stretch; }
    .tw-sf-bz .f > .akt { margin-left: 0; justify-content: stretch; }
    .tw-sf-bz .f > .akt .tw-btn { flex: 1 1 auto; }
    .tw-sf-vz { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; }
    .tw-sf-vz .tw-sf-daumen { display: none; }
    .tw-sf-vz .pk { width: 32px; height: 32px; }
    .tw-sf-vz .r { max-width: 46vw; }
    .tw-sf-tk > .kopf { padding: 16px; }
    .tw-sf-tk > .k { padding: 14px 16px 16px; }
    .tw-sf-plus { min-height: 150px; }
    .tw-sf-rl-z { grid-template-columns: 24px minmax(0, 1fr) 56px; gap: 12px; }
    .tw-sf-rl-z > .c { display: none; }
    .tw-sf-rl-z > :last-child { display: none; }
    .tw-sf-rl-z .tm { gap: 10px; }
    .tw-sf-rl-z .tm .tw-logo { --gr: 28px; }
    .tw-sf-schritte { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .tw-sf-schritte li { padding: 18px 20px; }
}
/* SF4: Daumen/Bild ohne Cover (Altdaten) — leiser Violett-Schimmer statt leerem Kasten */
.tw-sf-daumen:not([style]), .tw-sf-bz > .bild:not([style]) { background: linear-gradient(135deg, rgba(124,92,255,.2), rgba(124,92,255,.04)), var(--erhoeht); }

/* ═══ Schaufenster SF5 (P1 309:16004 · P1-1 333:18163 · PS 334:19197 · P2 310:16313 · Partner-Karte 303:15188) ═══
   Partner-Karte (Raster), Top-Partner (zweigeteilt), Werbe-Band, Raster-Helfer. Bausteine in tw-kern.js (TW.sf.partner*). */
/* Raster der Schaufenster-Seiten: 3 | 2 Spalten (≤ 1080 zwei, ≤ 600 eine) */
.tw-sf-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; min-width: 0; }
.tw-sf-raster.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Partner-Karte (303:15188): r14, Kopf 150 mit Banner (Verlauf unten 92 %), Koerper p20 */
.tw-sf-pa { display: flex; flex-direction: column; min-width: 0; border-radius: 14px; background: var(--flaeche); border: 1px solid var(--w08);
    overflow: hidden; transition: border-color .15s ease; }
.tw-sf-pa[data-tw-sf-href] { cursor: pointer; }
.tw-sf-pa[data-tw-sf-href]:hover { border-color: var(--w25); }
.tw-sf-pa-kopf { position: relative; height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 20px 18px;
    box-sizing: border-box; background: linear-gradient(135deg, rgba(124,92,255,.24), rgba(124,92,255,.04)) center 22% / cover no-repeat, var(--erhoeht); }
.tw-sf-pa-kopf[style] { background-color: var(--erhoeht); background-position: center 22%; background-size: cover; }
.tw-sf-pa-kopf::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,13,17,.1) 0%, rgba(12,13,17,.88) 100%); }
.tw-sf-pa-kopf > * { position: relative; }
.tw-sf-pa-kopf .oben { display: flex; gap: 6px; flex-wrap: wrap; }
.tw-sf-pa-kopf .oben .tw-chip { padding: 3px 8px; font-size: 11px; line-height: 14px; background-color: rgba(12,13,17,.72); }   /* kompakt im Raster */
.tw-sf-pa-kopf .m { display: flex; align-items: center; gap: 14px; margin-top: auto; min-width: 0; }
.tw-sf-pa-kopf .tw-logo { border-radius: 12px; flex: 0 0 auto; }
.tw-sf-pa .n, .tw-sf-pt .n { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tw-sf-pa-t { font: 700 20px/25px var(--font-brand); color: var(--w100); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.tw-sf-pa-t:hover, .tw-sf-pa[data-tw-sf-href]:hover .tw-sf-pa-t { color: var(--violett-text); }
.tw-sf-pa-t:focus-visible, .tw-sf-pt-t:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.tw-sf-pa .n small { font: 400 12px/15px var(--font-brand); color: var(--w55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-sf-pa-k { display: flex; flex-direction: column; gap: 16px; padding: 20px; flex: 1 1 auto; min-width: 0; }
.tw-sf-pa-k .b, .tw-sf-pt-r .b { margin: 0; font: 400 14px/21px var(--font-brand); color: var(--w70); overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tw-sf-pa-k .kn, .tw-sf-pt-r .kn { display: flex; align-items: center; gap: 10px 20px; flex-wrap: wrap; margin-top: auto; }
.tw-sf-pa-k .kn .tw-link, .tw-sf-pt-r .kn .tw-link { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; }
.tw-sf-pa-k .kn .tw-link svg, .tw-sf-pt-r .kn .tw-link svg { width: 12px; height: 12px; }
/* Kennzahlen der Karte: drei gleiche Spalten ohne Trenner (Figma 303:15188), Label kuerzt statt umzubrechen */
.tw-sf-pa .tw-sf-kz { display: grid; grid-template-columns: repeat(3, max-content); justify-content: start; gap: 8px 24px; }
.tw-sf-pa .tw-sf-kz-e { padding: 0; border-left: 0; }
/* Label wie Figma 303:15188: 10/600, +0.8 — einzeilig, nie ellipsiert (3 Spalten passen ab 320 px Kartenbreite) */
.tw-sf-pa .tw-sf-kz dt { font-size: 10px; line-height: 13px; letter-spacing: .8px; }
.tw-sf-pa .tw-sf-kz dd { font-size: 18px; line-height: 23px; }
/* Status-Leiste: Naechstes Violett · Live Gruen · nichts geplant leise */
.tw-sf-pa-st { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 8px 12px; box-sizing: border-box; border-radius: 8px;
    background: rgba(124,92,255,.1); color: var(--violett-text); font: 500 13px/17px var(--font-brand); text-decoration: none; min-width: 0; }
.tw-sf-pa-st > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-sf-pa-st b { font-weight: 600; }
.tw-sf-pa-st svg { flex: 0 0 auto; width: 14px; height: 14px; }
a.tw-sf-pa-st:hover { background: rgba(124,92,255,.18); }
.tw-sf-pa-st.live { background: rgba(140,198,63,.1); color: var(--gruen); }
.tw-sf-pa-st.live .tw-punkt { background: var(--gruen); box-shadow: 0 0 0 3px rgba(140,198,63,.18); }
a.tw-sf-pa-st.live:hover { background: rgba(140,198,63,.16); }
.tw-sf-pa-st.leer { background: var(--w04); color: var(--w45); }
.tw-sf-pa-st:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Top-Partner (P1 „Top partner“ / P1-1 „Hosting here“): r16, Gold-Rand 30 %, links Splash, rechts p36 */
.tw-sf-pt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-width: 0; border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(232,176,74,.32); background: linear-gradient(90deg, rgba(232,176,74,.04), rgba(232,176,74,0) 60%), var(--flaeche); }
.tw-sf-pt.hub { border-color: rgba(232,176,74,.26); }
.tw-sf-pt-bild { position: relative; min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px 32px;
    box-sizing: border-box; background: linear-gradient(135deg, rgba(124,92,255,.26), rgba(124,92,255,.05)) center 20% / cover no-repeat, var(--erhoeht); }
.tw-sf-pt-bild[style] { background-color: var(--erhoeht); background-position: center 20%; background-size: cover; }
.tw-sf-pt-bild::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,13,17,.2) 0%, rgba(12,13,17,.05) 40%, rgba(12,13,17,.85) 100%); }
.tw-sf-pt-bild > * { position: relative; }
.tw-sf-pt-bild .oben { display: flex; gap: 6px; flex-wrap: wrap; }
.tw-sf-pt-bild .oben .tw-chip { background-color: rgba(12,13,17,.72); }
.tw-sf-pt-bild .unten { display: flex; align-items: center; gap: 16px; min-width: 0; }
.tw-sf-pt-bild .tw-logo { border-radius: 16px; flex: 0 0 auto; font-size: 24px; }
.tw-sf-pt-t { font: 700 32px/40px var(--font-brand); color: var(--w100); text-decoration: none; overflow-wrap: anywhere; }
a.tw-sf-pt-t:hover { color: var(--violett-text); }
.tw-sf-pt .n small { font: 400 14px/18px var(--font-brand); color: var(--w70); overflow-wrap: anywhere; }
.tw-sf-pt-r { display: flex; flex-direction: column; gap: 20px; padding: 32px 36px; min-width: 0; }
.tw-sf-pt-r .b { font-size: 15px; line-height: 23px; }
.tw-sf-pt-r .cups { display: flex; flex-direction: column; gap: 8px; }
.tw-sf-pt-cup { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 14px 8px 10px; border-radius: 10px;
    background: var(--w04); text-decoration: none; color: var(--violett-text); min-width: 0; }
.tw-sf-pt-cup:hover { background: var(--w06); }
.tw-sf-pt-cup:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tw-sf-pt-cup .tw-sf-daumen { width: 64px; height: 36px; border-radius: 6px; }
.tw-sf-pt-cup .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tw-sf-pt-cup b { font: 600 14px/18px var(--font-brand); color: var(--w100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-sf-pt-cup small { font: 400 12px/15px var(--font-brand); color: var(--w45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-sf-pt-cup svg { width: 14px; height: 14px; }

/* Werbe-Band (P1 „Your community next?“): r16, Splash rechts, Verlauf von links, p48 */
.tw-sf-werbe { position: relative; padding: 48px; border-radius: 16px; border: 1px solid var(--w08); overflow: hidden; min-width: 0;
    background: linear-gradient(90deg, rgba(12,13,17,.95) 0%, rgba(12,13,17,.7) 38%, rgba(12,13,17,.12) 100%),
                var(--tw-sf-werbe, none) 70% 22% / cover no-repeat, var(--flaeche); }
.tw-sf-werbe .txt { display: flex; flex-direction: column; gap: 10px; max-width: 560px; min-width: 0; }
.tw-sf-werbe .kick { margin: 0; font: 600 12px/15px var(--font-brand); letter-spacing: 1.2px; text-transform: uppercase; color: var(--violett-text); }
.tw-sf-werbe h2 { margin: 0; font: 700 34px/42px var(--font-brand); color: var(--w100); overflow-wrap: anywhere; }
.tw-sf-werbe .txt > p:not(.kick) { margin: 0; font: 400 16px/24px var(--font-brand); color: var(--w70); }
.tw-sf-werbe .kn { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
/* Nachzug 19.10. (H2): rechte Spalte im Band — Logo + leiser Satz, unten rechts */
.tw-sf-werbe.mit-rechts { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.tw-sf-werbe .rechts { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: 0 1 260px; min-width: 0; text-align: right; }
.tw-sf-werbe .rechts p { margin: 0; font: 400 13px/18px var(--font-brand); color: var(--w70); }

@media (max-width: 1080px) {
    .tw-sf-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .tw-sf-pt { grid-template-columns: minmax(0, 1fr); }
    .tw-sf-pt-bild { min-height: 260px; }
}
@media (max-width: 600px) {
    .tw-sf-raster, .tw-sf-raster.n2 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .tw-sf-pa-kopf { height: 150px; padding: 14px 16px 16px; }
    .tw-sf-pa-k { padding: 18px 16px; gap: 14px; }
    .tw-sf-pt .tw-sf-kz { gap: 12px 24px; }
    /* schmale Karte (430, P2-Beispiel in der Feld-Karte): Labels brechen um statt abgeschnitten zu werden */
    .tw-sf-pa .tw-sf-kz { grid-template-columns: repeat(3, minmax(0, auto)); justify-content: space-between; gap: 8px 14px; }
    .tw-sf-pa .tw-sf-kz dt { white-space: normal; }
    .tw-sf-pt-bild { min-height: 200px; padding: 20px 20px 18px; }
    .tw-sf-pt-bild .tw-logo { --gr: 64px; font-size: 20px; }
    .tw-sf-pt-t { font-size: 26px; line-height: 32px; }
    .tw-sf-pt-r { padding: 22px 20px 24px; gap: 18px; }
    .tw-sf-werbe { padding: 28px 20px; background: linear-gradient(180deg, rgba(12,13,17,.55) 0%, rgba(12,13,17,.92) 70%),
                   var(--tw-sf-werbe, none) 60% 0 / cover no-repeat, var(--flaeche); }
    .tw-sf-werbe h2 { font-size: 26px; line-height: 32px; }
    .tw-sf-werbe .kn .tw-btn { flex: 1 1 auto; }
    .tw-sf-werbe.mit-rechts { flex-direction: column; align-items: stretch; }
    .tw-sf-werbe .rechts { flex: 0 0 auto; }
}

/* ═══ Turnier-Ticket (BAUPLAN-TICKET TK3 · Figma TK1 416:23437: Set Turnier/Ticket 419:25845, 📘 Spec 431:30828) — TW.sf.ticket ═══
   Masse in Figma-Pixeln: --u = 1 Figma-Pixel, waechst/schrumpft mit der Spalte (Container-Einheit, ohne Unterstuetzung 1px).
   Liegend: Haupt 820 + Abschnitt 240 = 1060 × 400 in einer Reserve 1120 × 440 (der abgerissene Abschnitt ragt hinaus).
   ≤ 760: Pass 382 × (500 + 190), Reserve 734. Farben je Zustand = Set 419:25845 (Haupt #181a20, matt = Werte 55 %, grau = Out/
   Abgesagt mit Cover in Graustufen, Gold/Silber/Bronze = Verlauf + Glanz). Bewegung (Spec D) faellt bei reduzierter Bewegung weg. */
.tw-sf-ticket { container-type: inline-size; width: 100%; max-width: 1120px; margin: 0 auto; }
.tw-sf-ticket .tk { --u: 1px; position: relative; width: calc(1060 * var(--u)); height: calc(400 * var(--u)); margin: calc(20 * var(--u)) calc(30 * var(--u)); font-family: var(--font-brand);
    --tk-bg: 24, 26, 32; --tk-txt: #fff; --tk-titel: #fff; --tk-lbl: rgba(255,255,255,.45); --tk-sitz: #b8a8ff; --tk-fein: rgba(255,255,255,.55);
    --tk-stub-txt: #fff; --tk-stub-leise: rgba(255,255,255,.7); }
@supports (width: 1cqw) { .tw-sf-ticket .tk { --u: calc(100cqw / 1120); } }
.tw-sf-ticket .tk-haupt { position: absolute; left: 0; top: 0; width: calc(820 * var(--u)); height: calc(400 * var(--u)); box-sizing: border-box; overflow: hidden;
    border-radius: calc(20 * var(--u)) calc(6 * var(--u)) calc(6 * var(--u)) calc(20 * var(--u)); box-shadow: 0 calc(14 * var(--u)) calc(30 * var(--u)) rgba(0,0,0,.55); }
/* Kerben (Betreiber 20.10., Figma TK3-Nachzug 455:27850): Halbkreise r 14 AUSGESTANZT — Flaeche + Rand liegen auf ::before mit Maske,
   die Buehne scheint durch. Schatten/Glanz bleiben am Element (sie liegen ausserhalb des Kastens, nie in der Kerbe). */
.tw-sf-ticket .tk { --tk-kr: calc(14 * var(--u)); --tk-haupt-bg: rgb(var(--tk-bg)); --tk-stub-bg: linear-gradient(180deg, rgba(124,92,255,.95), #4b2fd6);
    --tk-stub-rand: 1px solid rgba(255,255,255,.08);
    --tk-kerben-h: radial-gradient(circle var(--tk-kr) at 100% 0, #0000 98%, #000), radial-gradient(circle var(--tk-kr) at 100% 100%, #0000 98%, #000);
    --tk-kerben-s: radial-gradient(circle var(--tk-kr) at 0 0, #0000 98%, #000), radial-gradient(circle var(--tk-kr) at 0 100%, #0000 98%, #000); }
.tw-sf-ticket .tk-haupt::before, .tw-sf-ticket .tk-stub::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-sizing: border-box; pointer-events: none;
    -webkit-mask-composite: source-in; mask-composite: intersect; }
.tw-sf-ticket .tk-haupt::before { border: 1px solid rgba(255,255,255,.08); background: var(--tk-haupt-bg); -webkit-mask: var(--tk-kerben-h); mask: var(--tk-kerben-h); }
.tw-sf-ticket .tk-stub::before { border: var(--tk-stub-rand); background: var(--tk-stub-bg); -webkit-mask: var(--tk-kerben-s); mask: var(--tk-kerben-s); }
.tw-sf-ticket .tk-stub-in { position: relative; }
.tw-sf-ticket .tk-cover { position: absolute; left: 0; top: 0; width: calc(260 * var(--u)); height: 100%; background: center 22% / cover no-repeat rgba(255,255,255,.03); }
.tw-sf-ticket .tk-cover::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(var(--tk-bg), 0) 0%, rgba(var(--tk-bg), .25) 65%, rgb(var(--tk-bg)) 100%); }
.tw-sf-ticket .tk.grau .tk-cover { filter: grayscale(1) brightness(.8); }
.tw-sf-ticket .tk-inhalt { position: absolute; left: calc(290 * var(--u)); top: calc(34 * var(--u)); width: calc(530 * var(--u)); display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
/* Runde 2 (Betreiber 20.10. „generell kein Pill-Design“): der Chip ist Text in Versalien (+ Punkt bei Live/Check-in), keine Pille */
.tw-sf-ticket .tk-chip { display: inline-flex; align-items: center; gap: calc(7 * var(--u)); padding: 0; box-sizing: border-box;
    font: 700 max(10.5px, calc(12 * var(--u)))/1.2 var(--font-brand); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
    color: #b8a8ff; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.tw-sf-ticket .tk-chip i { width: calc(6 * var(--u)); height: calc(6 * var(--u)); border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.tw-sf-ticket .tk-chip.ton-gruen { color: #b6e07a; }
.tw-sf-ticket .tk-chip.ton-teal { color: #8fd9cf; }
.tw-sf-ticket .tk-chip.ton-rot { color: #ff8a92; }
.tw-sf-ticket .tk-chip.ton-grau { color: rgba(255,255,255,.7); }
.tw-sf-ticket .tk-chip.ton-gold { color: #f3d68b; }
.tw-sf-ticket .tk-chip.ton-silber { color: #eef2f7; }
.tw-sf-ticket .tk-chip.ton-bronze { color: #f0bd8c; }
.tw-sf-ticket .z-spielt .tk-chip i { animation: tk-puls 1.6s ease-in-out infinite; }
.tw-sf-ticket .tk-titel { margin: calc(12 * var(--u)) 0 0; max-width: calc(510 * var(--u)); font: 900 calc(56 * var(--u))/1 var(--font-brand); letter-spacing: -.01em; text-transform: uppercase;
    color: var(--tk-titel); overflow-wrap: anywhere; }
.tw-sf-ticket .tk-titel span { display: block; }
.tw-sf-ticket .tk-titel .z2 { line-height: 1.036; color: transparent; -webkit-text-stroke: calc(1.6 * var(--u)) var(--tk-titel); }
.tw-sf-ticket .tk-titel.lang { font-size: calc(46 * var(--u)); }
.tw-sf-ticket .tk-titel.xlang { font-size: calc(38 * var(--u)); }
.tw-sf-ticket .tk-fakten { display: flex; gap: calc(36 * var(--u)); margin: calc(26 * var(--u)) 0 0; max-width: calc(530 * var(--u)); min-width: 0; }
/* Zu breit? Nur Namen (Inhaber, Team, Preis) werden gekuerzt — Datum, Uhrzeit, Platz bleiben ganz */
.tw-sf-ticket .tk-fakt { min-width: 0; flex: 0 0 auto; }
.tw-sf-ticket .tk-fakt.name { flex: 0 1 auto; }
.tw-sf-ticket .tk-fakt dt { margin: 0; font: 600 max(9px, calc(10 * var(--u)))/1.3 var(--font-brand); letter-spacing: .14em; text-transform: uppercase; color: var(--tk-lbl); white-space: nowrap; }
.tw-sf-ticket .tk-fakt dd { margin: calc(6 * var(--u)) 0 0; display: flex; align-items: center; gap: calc(8 * var(--u)); min-width: 0; font: 700 max(14px, calc(20 * var(--u)))/1.25 var(--font-brand); color: var(--tk-txt); }
.tw-sf-ticket .tk-fakt dd span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; max-width: calc(210 * var(--u)); }
.tw-sf-ticket .tk-fakt.sitz dd { color: var(--tk-sitz); }
.tw-sf-ticket .tk .tk-logo { --gr: calc(22 * var(--u)); flex: 0 0 auto; }
.tw-sf-ticket .tk-zeile { margin: calc(24 * var(--u)) 0 0; max-width: calc(470 * var(--u)); font: 600 max(9.5px, calc(11 * var(--u)))/1.27 var(--font-brand); letter-spacing: .08em; text-transform: uppercase; color: var(--tk-fein);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Design-QoL T4: ganze Teile, hoechstens zwei Zeilen — was in die dritte umbricht, ist weg (der Preis steht zuletzt). Den
   Trennpunkt traegt jedes Teil links vor sich; am Zeilenanfang liegt er im Rand (-1em) und wird mit abgeschnitten. */
.tw-sf-ticket .tk-zeile.teile { display: block; max-height: calc(2 * 1.27em); }
.tw-sf-ticket .tk-zl { display: flex; flex-wrap: wrap; margin-left: -1em; }
.tw-sf-ticket .tk-zl > span { position: relative; box-sizing: border-box; max-width: 100%; padding-left: 1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-sf-ticket .tk-zl > span::before { content: "·"; position: absolute; left: 0; width: 1em; text-align: center; }
.tw-sf-ticket .tk-code { margin-top: calc(14 * var(--u)); display: flex; align-items: center; gap: calc(18 * var(--u)); }
.tw-sf-ticket .tk-strich { width: calc(190 * var(--u)); height: calc(34 * var(--u)); fill: rgba(255,255,255,.85); flex: 0 0 auto; }
.tw-sf-ticket .tk-code span { font: 500 max(9.5px, calc(11 * var(--u)))/1.27 var(--font-brand); letter-spacing: .16em; color: var(--tk-fein); white-space: nowrap; }

/* Abschnitt (Stub) */
.tw-sf-ticket .tk-stub { position: absolute; left: calc(820 * var(--u)); top: 0; width: calc(240 * var(--u)); height: calc(400 * var(--u)); box-sizing: border-box; display: flex; align-items: center;
    justify-content: center; text-align: center; transform-origin: 0 0; border-radius: calc(6 * var(--u)) calc(20 * var(--u)) calc(20 * var(--u)) calc(6 * var(--u));
    box-shadow: 0 calc(14 * var(--u)) calc(30 * var(--u)) rgba(0,0,0,.5); color: var(--tk-stub-txt);
    -webkit-user-select: none; user-select: none; }
.tw-sf-ticket .tk-stub-in { display: flex; flex-direction: column; align-items: center; width: calc(192 * var(--u)); min-width: 0; }
.tw-sf-ticket .tk-stub .l { margin: 0; font: 600 max(9px, calc(10 * var(--u)))/1.3 var(--font-brand); letter-spacing: .16em; text-transform: uppercase; color: var(--tk-stub-leise); }
.tw-sf-ticket .tk-stub .g { margin: calc(8 * var(--u)) 0 0; font: 900 calc(52 * var(--u))/1.2 var(--font-brand); text-transform: uppercase; color: var(--tk-stub-txt); overflow-wrap: anywhere; max-width: 100%; }
.tw-sf-ticket .tk-stub .u { margin: calc(8 * var(--u)) 0 0; font: 600 max(11.5px, calc(14 * var(--u)))/1.28 var(--font-brand); color: var(--tk-stub-txt); overflow-wrap: anywhere; }
.tw-sf-ticket .tk-stub .h { margin: calc(8 * var(--u)) 0 0; font: 400 max(10.5px, calc(12 * var(--u)))/1.33 var(--font-brand); color: var(--tk-stub-leise); overflow-wrap: anywhere; }
.tw-sf-ticket .tk-stub .h .tw-zahl { color: inherit; font: inherit; }
.tw-sf-ticket .tk-stub .g svg { width: .8em; height: .8em; stroke-width: 3; }
.tw-sf-ticket .tk-stub .nur-s, .tw-sf-ticket .tk .nur-s { display: none; }
.tw-sf-ticket .tk-knopf { margin-top: calc(10 * var(--u)); display: inline-flex; align-items: center; justify-content: center; gap: calc(8 * var(--u)); height: max(32px, calc(38 * var(--u))); padding: 0 calc(18 * var(--u)); box-sizing: border-box;
    border: 0; border-radius: calc(8 * var(--u)); background: #0c0d11; color: #fff; font: 600 max(12px, calc(14 * var(--u)))/1 var(--font-brand); cursor: pointer; white-space: nowrap; }
.tw-sf-ticket button.tk-knopf:hover { background: #1a1c23; }
.tw-sf-ticket button.tk-knopf:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tw-sf-ticket .tk-knopf kbd { font: 500 max(9px, calc(10 * var(--u)))/1 var(--font-brand); color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.25); border-radius: calc(4 * var(--u)); padding: calc(3 * var(--u)) calc(6 * var(--u)); }
.tw-sf-ticket .tk-kader { display: flex; margin-top: calc(8 * var(--u)); }
.tw-sf-ticket .tk .tk-kader .tk-ava { width: calc(30 * var(--u)); height: calc(30 * var(--u)); flex: 0 0 calc(30 * var(--u)); border-radius: 50%; border: calc(2 * var(--u)) solid #2f7f77; margin-left: calc(-8 * var(--u)); box-sizing: border-box; }
.tw-sf-ticket .tk .tk-kader .tk-ava:first-child { margin-left: 0; }
.tw-sf-ticket .s-abreissen .tk-stub .g { font-size: calc(44 * var(--u)); }
.tw-sf-ticket .s-abreissen .tk-stub .g.lang { font-size: calc(32 * var(--u)); }
/* Pfeil + Wort nie getrennt; darf ueber die 192er Textspalte hinaus (zentriert, der Abschnitt ist 240 breit) */
.tw-sf-ticket .s-abreissen .tk-stub .g.nur-l { white-space: nowrap; }
.tw-sf-ticket .s-team.art-solo .tk-stub .g { font-size: calc(34 * var(--u)); }
.tw-sf-ticket .s-team.art-team .tk-stub .g { font-size: calc(40 * var(--u)); }
.tw-sf-ticket .s-gold .tk-stub .g, .tw-sf-ticket .s-medaille .tk-stub .g { text-transform: none; }
.tw-sf-ticket .tk-pfeil { width: .78em; height: .78em; vertical-align: -.02em; margin-right: .12em; }
.tw-sf-ticket .s-grund .tk-stub .g { font: 700 calc(20 * var(--u))/calc(25 * var(--u)) var(--font-brand); text-transform: none; }
.tw-sf-ticket .s-kapitaen .tk-stub .g { font: 900 calc(28 * var(--u))/calc(32 * var(--u)) var(--font-brand); text-transform: none; }
.tw-sf-ticket .s-warte { --tk-stub-bg: rgba(124,92,255,.08); --tk-stub-rand: calc(1.5 * var(--u)) dashed rgba(124,92,255,.8); }
.tw-sf-ticket .s-abreissen, .tw-sf-ticket .s-kapitaen { --tk-stub-bg: linear-gradient(180deg, #8cc63f, #4f7a1a); }
.tw-sf-ticket .s-abreissen .tk-stub::after, .tw-sf-ticket .s-kapitaen .tk-stub::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: 0 0 calc(28 * var(--u)) rgba(140,198,63,1); opacity: .6; }
.tw-sf-ticket .s-abreissen .tk-stub::after { animation: tk-atmen 2.4s ease-in-out infinite; }
.tw-sf-ticket .s-abreissen .tk-stub { cursor: grab; touch-action: pan-y; }
.tw-sf-ticket .s-abreissen .tk-stub.zieht { cursor: grabbing; }
.tw-sf-ticket .s-abreissen .tk-stub.zieht::after, .tw-sf-ticket .s-abreissen .tk-stub.reisst::after { animation: none; opacity: .7; }
.tw-sf-ticket .s-abreissen .tk-stub:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tw-sf-ticket .s-abreissen .tk-stub:hover .tk-knopf { background: #1a1c23; }
.tw-sf-ticket .tk-stub.reisst { filter: brightness(.62) saturate(.9); }
.tw-sf-ticket .s-abgerissen { --tk-stub-bg: linear-gradient(180deg, #4f7a1a, #2a4210); }
.tw-sf-ticket .s-abgerissen .tk-stub { transform: translate(calc(34 * var(--u)), calc(6 * var(--u))) rotate(6deg); }
.tw-sf-ticket .s-team, .tw-sf-ticket .s-live { --tk-stub-bg: linear-gradient(180deg, #5fb0a6, #1d4f4a); }
.tw-sf-ticket .s-bilanz, .tw-sf-ticket .s-grund, .tw-sf-ticket .z-checkin_verpasst { --tk-stub-bg: #22242b; }
.tw-sf-ticket .tk-stub.zieht ~ .tk-perf, .tw-sf-ticket .tk-stub.reisst ~ .tk-perf { border-color: rgba(255,255,255,.75); }

/* Design-QoL 46 (Figma 786:51251 T-1…T-6): Ticket in Vereinsfarbe — `.vf` + `--tk-vf` (RGB-Tripel) / `--tk-vf-d` (38 % dunkler) setzt
   TW.sf.ticket aus ticket.veranstalter.farbe. Nur die VIOLETTEN Rollen wechseln: Abschnitt-Verlauf der Standard-Abschnitte (zeit, countdown;
   dunkel oben → Farbe unten wie T-1), gestrichelter Standby-Rand, Chip im Ton violett. Gruen (Check-in), Teal (live), Medaillen und Grau bleiben,
   die Sitzzahl bleibt violett (T-1). `.vf-tinte` (TW.kontrast: helle Farbe wie Mint/Silber) = dunkle Schrift auf dem Abschnitt. */
.tw-sf-ticket .tk.vf:is(.s-zeit, .s-countdown) { --tk-stub-bg: linear-gradient(180deg, rgb(var(--tk-vf-d)), rgb(var(--tk-vf))); }
.tw-sf-ticket .tk.vf.s-warte { --tk-stub-bg: rgba(var(--tk-vf), .08); --tk-stub-rand: calc(1.5 * var(--u)) dashed rgba(var(--tk-vf), .8); }
.tw-sf-ticket .tk.vf .tk-chip.ton-violett { color: rgb(var(--tk-vf)); }
.tw-sf-ticket .tk.vf.vf-tinte:is(.s-zeit, .s-countdown) { --tk-stub-txt: #1a1b22; --tk-stub-leise: rgba(26,27,34,.72); }
.tw-sf-ticket .tk.vf.vf-tinte:is(.s-zeit, .s-countdown) .tk-stub .h [data-tw-bis] { color: inherit; }
/* Vereinslogo im Ticket-Kicker (Design-QoL 46): seit 45 SF.hostLogo — `.tw-logo.verein` / `.tw-sf-etikett` am Dateiende */

/* Matt (Check-in verpasst, Out, Abgesagt) · Grau (Out ohne Medaille, Abgesagt) · Medaillen (TK3: Silber + Bronze wie Gold) */
.tw-sf-ticket .tk.matt { --tk-txt: rgba(255,255,255,.55); --tk-titel: rgba(255,255,255,.55); --tk-sitz: rgba(255,255,255,.55); }
.tw-sf-ticket .tk.grau { --tk-bg: 22, 23, 29; }
.tw-sf-ticket .tk.med-gold { --tk-bg: 58, 42, 12; --tk-titel: #f3e3b5; --tk-txt: #f3e3b5; --tk-sitz: #f3e3b5; --tk-lbl: rgba(226,194,122,.85); --tk-fein: rgba(243,227,181,.6);
    --tk-stub-txt: #2a1e06; --tk-stub-leise: rgba(42,30,6,.7); }
.tw-sf-ticket .tk.med-silber { --tk-bg: 31, 35, 43; --tk-titel: #e9edf3; --tk-txt: #e9edf3; --tk-sitz: #e9edf3; --tk-lbl: rgba(201,209,220,.85); --tk-fein: rgba(233,237,243,.6);
    --tk-stub-txt: #16191f; --tk-stub-leise: rgba(22,25,31,.7); }
.tw-sf-ticket .tk.med-bronze { --tk-bg: 43, 26, 16; --tk-titel: #f5dcc4; --tk-txt: #f5dcc4; --tk-sitz: #f5dcc4; --tk-lbl: rgba(217,149,90,.85); --tk-fein: rgba(245,220,196,.6);
    --tk-stub-txt: #1f120a; --tk-stub-leise: rgba(31,18,10,.7); }
.tw-sf-ticket .tk.med-gold { --tk-haupt-bg: linear-gradient(135deg, #3a2a0c 0%, #6b5220 35%, #b89648 50%, #6b5220 65%, #2a1e06 100%); --tk-stub-bg: linear-gradient(180deg, #f3d68b, #a8782a); }
.tw-sf-ticket .tk.med-gold .tk-haupt { box-shadow: 0 0 calc(48 * var(--u)) rgba(226,194,122,.45); }
.tw-sf-ticket .tk.med-silber { --tk-haupt-bg: linear-gradient(135deg, #1f232b 0%, #464d59 35%, #9aa3b1 50%, #464d59 65%, #16191f 100%); --tk-stub-bg: linear-gradient(180deg, #eef2f7, #8b95a4); }
.tw-sf-ticket .tk.med-silber .tk-haupt { box-shadow: 0 0 calc(48 * var(--u)) rgba(201,209,220,.45); }
.tw-sf-ticket .tk.med-bronze { --tk-haupt-bg: linear-gradient(135deg, #2b1a10 0%, #5a3720 35%, #a8703f 50%, #5a3720 65%, #1f120a 100%); --tk-stub-bg: linear-gradient(180deg, #f0bd8c, #a35f2c); }
.tw-sf-ticket .tk.med-bronze .tk-haupt { box-shadow: 0 0 calc(48 * var(--u)) rgba(217,149,90,.45); }
.tw-sf-ticket .tk.med-gold .tk-stub { box-shadow: 0 0 calc(48 * var(--u)) rgba(226,194,122,.45); }
.tw-sf-ticket .tk.med-silber .tk-stub { box-shadow: 0 0 calc(48 * var(--u)) rgba(201,209,220,.45); }
.tw-sf-ticket .tk.med-bronze .tk-stub { box-shadow: 0 0 calc(48 * var(--u)) rgba(217,149,90,.45); }
.tw-sf-ticket .tk.glanz .tk-haupt::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-110%);
    background: linear-gradient(105deg, transparent 30%, rgba(255,240,200,.32) 50%, transparent 70%); animation: tk-glanz 2.2s ease-out .3s 1 both; }

/* Stempel: rechtsbuendig verankert (waechst nach links, R-4 „Ausgeschieden“), „knallt“ einmal je Zustand und Besuch */
.tw-sf-ticket .tk-stempel-anker { position: absolute; right: calc(22 * var(--u)); top: calc(229 * var(--u)); display: flex; justify-content: flex-end; pointer-events: none; }
.tw-sf-ticket .tk-stempel { --st: 140, 198, 63; display: flex; flex-direction: column; align-items: center; padding: calc(9 * var(--u)) calc(19 * var(--u)) calc(10 * var(--u)); box-sizing: border-box;
    border: calc(3 * var(--u)) solid rgba(var(--st), .9); border-radius: calc(8 * var(--u)); background: rgba(var(--st), .08); color: rgb(var(--st)); transform: rotate(9deg); }
.tw-sf-ticket .tk-stempel b { font: 900 calc(28 * var(--u))/calc(35 * var(--u)) var(--font-brand); text-transform: uppercase; white-space: nowrap; }
.tw-sf-ticket .tk-stempel small { font: 700 max(8.5px, calc(10 * var(--u)))/1.3 var(--font-brand); letter-spacing: .06em; text-transform: uppercase; opacity: .85; white-space: nowrap; }
.tw-sf-ticket .tk-stempel.st-verpasst { --st: 185, 188, 203; }
.tw-sf-ticket .tk-stempel.st-champion { --st: 226, 194, 122; }
.tw-sf-ticket .tk-stempel.st-ausgeschieden, .tw-sf-ticket .tk-stempel.st-abgesagt { --st: 237, 87, 97; }
.tw-sf-ticket .tk-stempel.st-silber { --st: 201, 209, 220; }
.tw-sf-ticket .tk-stempel.st-bronze { --st: 217, 149, 90; }
.tw-sf-ticket .tk-stempel.knall { animation: tk-knall 180ms cubic-bezier(.34, 1.56, .64, 1) both; }

/* Perforation + Kerben */
.tw-sf-ticket .tk-perf { position: absolute; left: calc(819 * var(--u)); top: calc(14 * var(--u)); width: 0; height: calc(372 * var(--u)); border-left: calc(2 * var(--u)) dashed rgba(255,255,255,.3); pointer-events: none; }

@keyframes tk-puls { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes tk-atmen { 0%, 100% { opacity: .45; } 50% { opacity: .7; } }
@keyframes tk-knall { from { transform: scale(1.4) rotate(14deg); opacity: 0; } to { transform: rotate(9deg); opacity: 1; } }
@keyframes tk-glanz { to { transform: translateX(110%); } }
@keyframes tk-blende { from { opacity: 0; } to { opacity: 1; } }

/* ≤ 760: Pass senkrecht (Figma 430 · M-S-*), Abschnitt unten, keine Kippung — nicht im Ticket-Album (TK15: immer liegend) */
@media (max-width: 760px) {
    .tw-sf-ticket:not(.album) { max-width: 382px; }
    .tw-sf-ticket:not(.album) .tk { width: calc(382 * var(--u)); height: calc(690 * var(--u)); margin: 0 0 calc(44 * var(--u)); }
    @supports (width: 1cqw) { .tw-sf-ticket:not(.album) .tk { --u: calc(100cqw / 382); } }
    .tw-sf-ticket:not(.album) .tk-haupt { width: calc(382 * var(--u)); height: calc(500 * var(--u)); border-radius: calc(22 * var(--u)) calc(22 * var(--u)) calc(6 * var(--u)) calc(6 * var(--u)); box-shadow: 0 calc(12 * var(--u)) calc(28 * var(--u)) rgba(0,0,0,.5); }
    .tw-sf-ticket:not(.album) .tk-cover { width: 100%; height: calc(220 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk-cover::after { background: linear-gradient(180deg, rgba(var(--tk-bg), 0) 0%, rgba(var(--tk-bg), .2) 50%, rgb(var(--tk-bg)) 100%); }
    .tw-sf-ticket:not(.album) .tk-inhalt { left: calc(24 * var(--u)); top: calc(20 * var(--u)); width: calc(334 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk-titel { margin-top: calc(130 * var(--u)); max-width: calc(334 * var(--u)); font-size: calc(40 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk-titel .z2 { line-height: 1.05; -webkit-text-stroke-width: calc(1.3 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk-titel.lang { font-size: calc(34 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk-titel.xlang { font-size: calc(28 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk-fakten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: calc(16 * var(--u)) 0; margin-top: calc(22 * var(--u)); width: calc(334 * var(--u)); max-width: none; }
    .tw-sf-ticket:not(.album) .tk-fakt dd { margin-top: calc(5 * var(--u)); font-size: calc(18 * var(--u)); line-height: calc(23 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk-zeile { margin-top: calc(20 * var(--u)); max-width: calc(334 * var(--u)); line-height: calc(16 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk-zeile.teile { max-height: calc(32 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk-code { margin-top: calc(16 * var(--u)); gap: calc(16 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk-strich { width: calc(160 * var(--u)); height: calc(30 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk-stub { left: 0; top: calc(500 * var(--u)); width: calc(382 * var(--u)); height: calc(190 * var(--u)); border-radius: calc(6 * var(--u)) calc(6 * var(--u)) calc(22 * var(--u)) calc(22 * var(--u)); box-shadow: 0 calc(12 * var(--u)) calc(28 * var(--u)) rgba(0,0,0,.45); }
    .tw-sf-ticket:not(.album) .tk-stub-in { width: calc(334 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk-stub .g { margin-top: calc(7 * var(--u)); font-size: calc(44 * var(--u)); }
    .tw-sf-ticket:not(.album) .s-abreissen .tk-stub .g, .tw-sf-ticket:not(.album) .s-live .tk-stub .g { font-size: calc(26 * var(--u)); line-height: calc(33 * var(--u)); }
    .tw-sf-ticket:not(.album) .s-abreissen .tk-stub .g.lang { font-size: calc(24 * var(--u)); line-height: calc(30 * var(--u)); }
    .tw-sf-ticket:not(.album) .s-team.art-solo .tk-stub .g { font-size: calc(30 * var(--u)); }
    .tw-sf-ticket:not(.album) .s-team.art-team .tk-stub .g { font-size: calc(34 * var(--u)); }
    .tw-sf-ticket:not(.album) .s-kapitaen .tk-stub .g { font-size: calc(24 * var(--u)); line-height: calc(28 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk-knopf { height: calc(36 * var(--u)); margin-top: calc(7 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk .tk-kader .tk-ava { width: calc(28 * var(--u)); height: calc(28 * var(--u)); flex-basis: calc(28 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk .nur-l { display: none; }
    .tw-sf-ticket:not(.album) .tk span.nur-s { display: inline; }
    .tw-sf-ticket:not(.album) .tk p.nur-s { display: block; }
    .tw-sf-ticket:not(.album) .s-abreissen .tk-stub { touch-action: none; }
    .tw-sf-ticket:not(.album) .s-abgerissen .tk-stub { transform: translate(calc(6 * var(--u)), calc(20 * var(--u))) rotate(3deg); }
    .tw-sf-ticket:not(.album) .tk-perf { left: calc(21 * var(--u)); top: calc(499 * var(--u)); width: calc(340 * var(--u)); height: 0; border-left: 0; border-top: calc(2 * var(--u)) dashed rgba(255,255,255,.3); }
    .tw-sf-ticket:not(.album) .tk { --tk-kerben-h: radial-gradient(circle var(--tk-kr) at 0 100%, #0000 98%, #000), radial-gradient(circle var(--tk-kr) at 100% 100%, #0000 98%, #000);
          --tk-kerben-s: radial-gradient(circle var(--tk-kr) at 0 0, #0000 98%, #000), radial-gradient(circle var(--tk-kr) at 100% 0, #0000 98%, #000); }
    .tw-sf-ticket:not(.album) .tk-stempel-anker { right: calc(13 * var(--u)); top: calc(401 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk-stempel { padding: calc(8 * var(--u)) calc(17 * var(--u)) calc(9 * var(--u)); }
    .tw-sf-ticket:not(.album) .tk-stempel b { font-size: calc(24 * var(--u)); line-height: calc(30 * var(--u)); }
}
/* ── Ticket-Album im Profil (BAUPLAN-TICKET TK15 · Figma 658:56936, Baustein Album-Ticket 659:56937) ──
   Andenken: dasselbe Ticket, nie bedienbar, immer liegend; vergangene (`weg`) mit abgerissenem Abschnitt (versetzt, 4°).
   Klein (Raster 2 Spalten ≈ 0,55; 430 ≈ 0,35): Kleingedrucktes faellt weg, Fakten etwas groesser, damit sie lesbar bleiben. */
.tw-sf-ticket.album { max-width: none; margin: 0; }
.tw-sf-ticket.album .tk { margin: calc(10 * var(--u)) calc(60 * var(--u)) calc(30 * var(--u)) 0; }
.tw-sf-ticket.album .tk-zeile { display: none; }
.tw-sf-ticket.album .tk-fakten { margin-top: calc(26 * var(--u)); }
.tw-sf-ticket.album .tk-fakt dd { font-size: max(11px, calc(22 * var(--u))); }
.tw-sf-ticket.album .tk-fakt dt { font-size: max(7.5px, calc(12 * var(--u))); }
.tw-sf-ticket.album .tk-chip { font-size: max(8.5px, calc(13 * var(--u))); }
.tw-sf-ticket.album .tk-code span { font-size: max(7.5px, calc(12 * var(--u))); }
.tw-sf-ticket.album .tk-stub .l { font-size: max(7.5px, calc(11 * var(--u))); }
.tw-sf-ticket.album .tk-stub .u { font-size: max(9px, calc(16 * var(--u))); }
.tw-sf-ticket.album .tk-stub .h { font-size: max(8px, calc(13 * var(--u))); }
.tw-sf-ticket.album .tk-stempel small { font-size: max(7px, calc(10 * var(--u))); }
.tw-sf-ticket.album .s-abreissen .tk-stub::after, .tw-sf-ticket.album .z-spielt .tk-chip i { animation: none; }
.tw-sf-ticket.album .s-abreissen .tk-stub { cursor: inherit; }
.tw-sf-ticket.album.weg .tk-stub { transform: translate(calc(16 * var(--u)), calc(10 * var(--u))) rotate(4deg); transform-origin: 0 0; }
.tw-sf-ticket.album.weg .tk-perf { display: none; }
.tw-sf-ticket.album .s-abreissen .tk-stub .g { font-size: calc(34 * var(--u)); line-height: 1.1; white-space: nowrap; }
/* Je kleiner, desto weniger Fakten (der Stempel braucht den Platz rechts): Raster 1440 ≈ 620 → 3, 1112 ≈ 480 und Handy → 2 */
@container (max-width: 700px) { .tw-sf-ticket.album.weg .tk-fakt:nth-child(n+4) { display: none; } }
@container (max-width: 580px) { .tw-sf-ticket.album.weg .tk-fakt:nth-child(n+3) { display: none; } }
@container (max-width: 480px) {
    .tw-sf-ticket.album .tk-fakt:nth-child(n+3) { display: none; }
    .tw-sf-ticket.album .tk-fakt dd { font-size: max(11px, calc(30 * var(--u))); }
    .tw-sf-ticket.album .tk-stempel small { display: none; }
}
/* W2-7 (Figma 618:51906 F-1/G-1): Vorschau-Ticket mit Kleingedrucktem (Album-Form, nie bedienbar) */
.tw-sf-ticket.album.mit-zeile .tk-zeile { display: block; }
/* schmal: das Format steht auch im Kleingedruckten — der naechste Platz bleibt sichtbar (Figma F-1) */
@container (max-width: 680px) { .tw-sf-ticket.album.mit-zeile .tk-fakt:nth-child(3) { display: none; } }
@container (max-width: 480px) { .tw-sf-ticket.album.mit-zeile .tk-zeile { display: none; } }
/* W2-5 Wallet (/meine-turniere): Andenken wie das Album — kein Griff, kein Atmen, Wischen bleibt der Seite —, ≤ 760 aber als Pass */
.tw-sf-ticket.wallet { margin: 0; }
.tw-sf-ticket.wallet .s-abreissen .tk-stub::after { animation: none; }
.tw-sf-ticket.wallet .s-abreissen .tk-stub { cursor: inherit; touch-action: pan-y; }
.tw-sf-ticket.wallet .s-abreissen .tk-stub .g { font-size: calc(34 * var(--u)); line-height: 1.1; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
    .tw-sf-ticket .z-spielt .tk-chip i, .tw-sf-ticket .s-abreissen .tk-stub::after, .tw-sf-ticket .tk.glanz .tk-haupt::after { animation: none; }
    .tw-sf-ticket .tk.glanz .tk-haupt::after { display: none; }
    .tw-sf-ticket .tk-stempel.knall { animation: tk-blende 200ms ease-out both; transform: rotate(9deg); }
    .tw-sf-ticket .tk-stub.reisst { filter: none; opacity: .55; }
}

/* ═════════ Bordkarte (BAUPLAN-TICKET TK4 · Figma 461:31184 PC-1…PC-12, Komponente Turnier/Bordkarte 470:32165) ═════════
   Mini-Ticket: Haupt (Flaeche, Rand 8 %, r12 links) + Abschnitt 80 (Label + Sitz in Klappteilen) hinter der Perforation.
   Abschnitt gruen = an Bord, violett = du, grau = noch nicht, gestrichelt = Standby/Warteliste/Ersatzbank. Spieler 112 hoch,
   Team 148 (Kader-Reihe), ≤ 600 Spieler kompakt 84 (Avatar 32, Status unter dem Namen, Abschnitt 72). Keine Pillen. */
.tw-sf-bk-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tw-sf-bk-raster.team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tw-sf-bk { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 80px; min-height: 112px; min-width: 0;
    color: inherit; text-decoration: none; }
.tw-sf-bk[hidden] { display: none; }
.tw-sf-bk.team { min-height: 148px; }
.tw-sf-bk .h { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 10px; align-items: start;
    min-width: 0; padding: 16px; box-sizing: border-box; background: var(--erhoeht); border: 1px solid var(--w08); border-right: 0; border-radius: 12px 0 0 12px; }
.tw-sf-bk.du .h { border-color: rgba(124, 92, 255, .6); }
.tw-sf-bk .bild { width: 40px; height: 40px; display: block; }
.tw-sf-bk .bild .tw-ava { width: 40px; height: 40px; flex-basis: 40px; border-radius: 50%; }
.tw-sf-bk .bild .tw-logo { --gr: 40px; }
.tw-sf-bk .t { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-top: 2px; }
.tw-sf-bk .t b { font: 700 15px/19px var(--font-brand); color: var(--w100); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-sf-bk .t b a { color: inherit; text-decoration: none; }
.tw-sf-bk .t b a:hover { text-decoration: underline; }
.tw-sf-bk .t > span { font: 400 12px/15px var(--font-brand); color: var(--w55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-sf-bk .t > span .leise { font-style: normal; color: var(--w25); }   /* T6: „GDR private“ an derselben Stelle, gedimmt */
.tw-sf-bk.t-standby .t b, .tw-sf-bk.anonym .t b { color: var(--w70); }
.tw-sf-bk .st { grid-column: 1 / -1; grid-row: 3; align-self: end; margin-top: 12px; min-width: 0;
    font: 700 10px/13px var(--font-brand); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .4);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-sf-bk .st.s-gruen { color: var(--gruen); }
.tw-sf-bk .st .p { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.tw-sf-bk .st.s-violett { color: var(--violett-text); }
.tw-sf-bk .st.s-amber { color: #e8b450; }
.tw-sf-bk.team .h { grid-template-rows: auto auto 1fr auto; }
.tw-sf-bk.team .st { grid-row: 4; }
.tw-sf-bk .kader { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; gap: 6px; margin-top: 16px; min-width: 0; overflow: hidden; }
.tw-sf-bk .kader em { font: 600 12px/15px var(--font-brand); font-style: normal; color: var(--w45); margin-left: 2px; }
.tw-sf-bk-ava { position: relative; display: block; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; }
.tw-sf-bk-ava .tw-ava { border-radius: 50%; }
.tw-sf-bk-ava.aus .tw-ava { opacity: .35; }
.tw-sf-bk-ava .pk { position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%; background: var(--gruen);
    box-shadow: 0 0 0 2px var(--erhoeht); }
a.tw-sf-bk-ava:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Abschnitt + Perforation */
.tw-sf-bk .a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
    border-radius: 0 12px 12px 0; background: #22242b; box-sizing: border-box; }
.tw-sf-bk .a::before { content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; border-left: 1.5px dashed rgba(255, 255, 255, .3); }
.tw-sf-bk.t-gruen .a { background: linear-gradient(180deg, #4f7a1a, #2b420f); }
.tw-sf-bk.t-violett .a { background: linear-gradient(180deg, rgba(125, 92, 255, .95), #4a2ed6); }
.tw-sf-bk.t-standby .a { background: rgba(255, 255, 255, .03); border: 1px dashed rgba(255, 255, 255, .25); border-left: 0; }
.tw-sf-bk .a .l { font: 700 9px/11px var(--font-brand); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.tw-sf-bk .a .z { display: inline-flex; align-items: center; gap: 3px; perspective: 200px; }
.tw-sf-bk .a .z i { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 30px; box-sizing: border-box;
    border: 1px solid var(--w08); border-radius: 4px; background: #060709; font: 700 18px/1 var(--font-brand); font-style: normal; color: var(--w100);
    font-variant-numeric: tabular-nums; }
.tw-sf-bk .a .z i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .7); }
.tw-sf-bk .a .z em { font: 700 15px/1 var(--font-brand); font-style: normal; color: var(--w55); }
.tw-sf-bk .a .z i.neu { animation: bk-klapp 420ms cubic-bezier(.3, .7, .4, 1) both; animation-delay: calc(var(--n, 0) * 60ms); }
@keyframes bk-klapp { 0% { transform: rotateX(0); } 45% { transform: rotateX(-90deg); } 55% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
.tw-sf-bk.blass .h, .tw-sf-bk.blass .a { opacity: .55; }
a.tw-sf-bk:hover .h { background: #1d2027; }
a.tw-sf-bk:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 12px; }
.tw-sf-bk .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Freier Pass (Leerzustand) */
.tw-sf-bk.frei { max-width: 590px; min-height: 132px; grid-template-columns: minmax(0, 1fr) 96px; }
.tw-sf-bk.frei .h { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; grid-template-rows: auto; padding: 20px;
    background: rgba(255, 255, 255, .02); border: 1px dashed rgba(255, 255, 255, .2); border-right: 0; }
.tw-sf-bk.frei .bild { width: 44px; height: 44px; }
.tw-sf-bk.frei .bild i { display: block; width: 44px; height: 44px; box-sizing: border-box; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .25); }
.tw-sf-bk.frei .t b { font-size: 18px; line-height: 23px; white-space: normal; }
.tw-sf-bk.frei .t > span { font-size: 14px; line-height: 19px; white-space: normal; }
.tw-sf-bk.frei .a { background: rgba(255, 255, 255, .02); border: 1px dashed rgba(255, 255, 255, .2); border-left: 0; }
.tw-sf-bk.frei .a .l { color: var(--w55); }
.tw-sf-bk.frei .a .z i { color: var(--w55); }
@media (max-width: 1112px) {
    .tw-sf-bk-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tw-sf-bk-raster.team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .tw-sf-bk-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tw-sf-bk-raster.team { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .tw-sf-bk-raster, .tw-sf-bk-raster.team { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .tw-sf-bk.spieler { min-height: 84px; grid-template-columns: minmax(0, 1fr) 72px; }
    .tw-sf-bk.spieler .h { grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: auto auto; padding: 12px; column-gap: 10px; }
    .tw-sf-bk.spieler .bild, .tw-sf-bk.spieler .bild .tw-ava { width: 32px; height: 32px; flex-basis: 32px; }
    .tw-sf-bk.spieler .t { gap: 2px; padding-top: 0; }
    .tw-sf-bk.spieler .t b { font-size: 14px; line-height: 18px; }
    .tw-sf-bk.spieler .st { grid-column: 2; grid-row: 2; margin-top: 8px; }
    .tw-sf-bk.spieler .a { gap: 7px; }
    .tw-sf-bk.spieler .a .z i { width: 18px; height: 26px; font-size: 16px; }
    .tw-sf-bk.frei { min-height: 112px; grid-template-columns: minmax(0, 1fr) 80px; }
    .tw-sf-bk.frei .h { padding: 16px; column-gap: 12px; }
    .tw-sf-bk.frei .t b { font-size: 16px; line-height: 20px; }
    .tw-sf-bk.frei .t > span { font-size: 13px; line-height: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .tw-sf-bk .a .z i.neu { animation: tk-blende 200ms ease-out both; }
}

/* ── Teilen-Dialog mit Share-Bild (BAUPLAN-TICKET TK7 · Figma 573:47434 D-1…D-4) ───────────────────────────────────────
   Breit: Kacheln Story 169 × 300 + Post 240 × 300, darunter der Link und die Link-Vorschau klein; Gast: die Link-Vorschau gross.
   ≤ 600 (Bottom-Sheet): Text-Reiter (keine Pillen), EIN Bild, „Share image“ + „Save“. Bilder blenden erst nach dem Laden ein. */
.tw-tk7 { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tw-tk7-l { margin: 0; font: 700 11px/14px var(--font-brand); letter-spacing: .12em; text-transform: uppercase; color: var(--w45); }
.tw-tk7-bilder { display: flex; gap: 16px; align-items: stretch; }
.tw-tk7-k { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.tw-tk7.pers .tw-tk7-k.a-story { width: 169px; }
.tw-tk7.pers .tw-tk7-k.a-post { width: 240px; }
.tw-tk7.pers .tw-tk7-k.a-og { display: none; }
.tw-tk7.gast .tw-tk7-k { width: 100%; }
.tw-tk7-k .bx, .tw-tk7-og { position: relative; }
.tw-tk7-k .bx { width: 100%; border-radius: 10px; overflow: hidden; background: var(--w06); border: 1px solid var(--w08); box-sizing: border-box; }
.tw-tk7-k img, .tw-tk7-og img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s ease; }
.tw-tk7-k img.da, .tw-tk7-og img.da { opacity: 1; }
.tw-tk7-k .fehlt { display: none; position: absolute; inset: 0; margin: 0; padding: 16px; align-items: center; justify-content: center;
    text-align: center; font: 400 13px/18px var(--font-brand); color: var(--w55); }
.tw-tk7-k.weg .fehlt { display: flex; }
.tw-tk7-k.weg img { display: none; }
.tw-tk7-k.weg .kn { display: none; }      /* kaputtes Bild: nichts zu speichern oder zu teilen */
.tw-tk7-k figcaption { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.tw-tk7-k figcaption b { font: 600 14px/18px var(--font-brand); color: var(--w100); }
.tw-tk7-k figcaption span { font: 400 12px/16px var(--font-brand); color: var(--w55); }
.tw-tk7-k .kn { margin-top: auto; padding-top: 10px; display: flex; gap: 10px; }      /* Knoepfe beider Kacheln auf einer Linie */
.tw-tk7.gast .tw-tk7-k figcaption { display: none; }      /* Gast: die Ueberschrift „Link preview“ steht schon darueber */
.tw-tk7.pers .tw-tk7-k .kn .tw-btn { width: 100%; }
.tw-tk7 .kurz, .tw-tk7 .nur-s, .tw-tk7-reiter { display: none; }
.tw-tk7-link { display: flex; gap: 10px; min-width: 0; }
.tw-tk7-link .tw-feld { flex: 1 1 auto; min-width: 0; font-weight: 400; font-size: 13px; color: var(--w70); text-overflow: ellipsis; }
.tw-tk7-og { display: flex; gap: 12px; align-items: center; }
.tw-tk7-og img { flex: 0 0 160px; width: 160px; height: 84px; border-radius: 6px; border: 1px solid var(--w08); box-sizing: border-box; background: var(--w06); }
.tw-tk7-og.weg { display: none; }
.tw-tk7-og p { margin: 0; font: 400 13px/18px var(--font-brand); color: var(--w55); }
@media (max-width: 600px) {
    .tw-tk7 .nur-b { display: none; }
    .tw-tk7-reiter { display: flex; gap: 24px; }
    .tw-tk7-reiter button { background: none; border: 0; padding: 0 0 6px; cursor: pointer; font: 500 15px/19px var(--font-brand); color: var(--w55);
        border-bottom: 2px solid transparent; }
    .tw-tk7-reiter button[aria-selected="true"] { font-weight: 600; color: var(--w100); border-bottom-color: #7c5cff; }
    .tw-tk7-reiter button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
    .tw-tk7-k, .tw-tk7.pers .tw-tk7-k.a-story, .tw-tk7.pers .tw-tk7-k.a-post, .tw-tk7.pers .tw-tk7-k.a-og { display: none; width: 100%; }
    .tw-tk7-k.an, .tw-tk7.pers .tw-tk7-k.an { display: flex; }
    .tw-tk7-k.a-story .bx { width: 216px; margin: 0 auto; }
    .tw-tk7-k.a-post .bx { width: 300px; max-width: 100%; margin: 0 auto; }
    .tw-tk7-k figcaption { display: none; }
    .tw-tk7-k .kn { padding-top: 16px; }
    .tw-tk7-k.mit-teilen .nur-s { display: inline-flex; flex: 1 1 auto; }
    .tw-tk7-k.mit-teilen .kn .tw-btn[data-tw-tk7-speichern] { width: auto; flex: 0 0 auto; }
    .tw-tk7-k.mit-teilen .lang { display: none; }
    .tw-tk7-k.mit-teilen .kurz { display: inline; }
    .tw-tk7-k:not(.mit-teilen) .kn .tw-btn { width: 100%; }
    .tw-tk7-link .lang { display: none; }
    .tw-tk7-link .kurz { display: inline; }
}

/* ── Coupons „Bring with you“ / „Before you board“ (Figma Turnier/Coupon 421:23716) — TK3 Overview + TK11-A Boarding-Check (aus tw-turniere.css) ── */
.tw-tk-cp { --cp: 140, 198, 63; display: flex; align-items: center; gap: 14px; min-height: 70px; padding: 16px 20px; box-sizing: border-box; border-radius: 12px;
    border: 1.5px dashed rgba(var(--cp), .55); background: rgba(var(--cp), .04); min-width: 0; }
.tw-tk-cp.offen, .tw-tk-cp.optional { --cp: 124, 92, 255; border-color: rgba(124,92,255,.6); }
.tw-tk-cp.fehlt { --cp: 237, 87, 97; border-color: rgba(237,87,97,.6); }
.tw-tk-cp .sym svg { width: 14px; height: 14px; stroke-width: 3.2; }
.tw-tk-cp .sym { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(var(--cp), .18); color: rgb(var(--cp)); font: 900 14px/1 var(--font-brand); }
.tw-tk-cp .t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tw-tk-cp .t b { font: 700 16px/20px var(--font-brand); color: var(--w100); overflow-wrap: anywhere; }
.tw-tk-cp .t small { font: 400 13px/16px var(--font-brand); color: var(--w55); overflow-wrap: anywhere; }
.tw-tk-cp .weg { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; font: 600 13px/16px var(--font-brand); color: var(--violett-text); text-decoration: none; }
.tw-tk-cp .weg:hover { color: var(--w100); }
.tw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ═════════ W2-7 · Kurze Tafel-Zeile unter einem Ticket (SF.tafelKurz · Figma 618:51906 F-1 „YOUR GATE“, G-1 „BOARDING“) ═════════
   Zeit + Cup in Klappschrift (Barlow Condensed = BRAND-Ausnahme Tafel), rechts EIN Wort. Die Klappblaetter (.tw-tk-ks) stehen seit
   W2-7b als Baustein unten in dieser Datei (Tafel-Zeile). Blattgroesse schrumpft mit der Breite. */
.tw-sf-tz { --font-tafel: 'Barlow Condensed', 'Outfit', sans-serif; --ks-w: 15px; --ks-h: 26px; --ks-fs: 21px;
    display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px 18px; box-sizing: border-box;
    border: 1px solid rgba(124,92,255,.45); border-radius: 10px; background: rgba(12,13,17,.78); }
.tw-sf-tz .zeit .tw-tk-ks { color: #f3e3b5; }
.tw-sf-tz .cup { min-width: 0; overflow: hidden; }
.tw-sf-tz .cup .tw-tk-ks { color: var(--w100); }
.tw-sf-tz .wort { margin-left: auto; padding-left: 4px; flex: 0 0 auto; font: 600 15px/18px var(--font-tafel); letter-spacing: .12em; text-transform: uppercase;
    color: rgba(255,255,255,.75); white-space: nowrap; }
.tw-sf-tz.t-violett .wort { color: var(--violett-text); }
.tw-sf-tz.t-amber .wort { color: #f5b84a; }
.tw-sf-tz.t-gruen .wort { color: #b6e07a; }
.tw-sf-tz.t-grau .wort { color: rgba(255,255,255,.4); }
@media (max-width: 1280px) { .tw-sf-tz { --ks-w: 13px; --ks-h: 22px; --ks-fs: 18px; gap: 10px; } }
@media (max-width: 600px) {
    .tw-sf-tz { --ks-w: clamp(8px, calc((100vw - 32px - 40px - 96px) / 21 - 2px), 12px); --ks-h: calc(var(--ks-w) * 1.72); --ks-fs: calc(var(--ks-w) * 1.43);
        gap: 8px; padding: 10px 12px; }
    .tw-sf-tz .wort { font-size: 12px; line-height: 15px; letter-spacing: .08em; }
}

/* ═════════ Tafel-Zeile = Baustein (TW.sf.tafelZeile/tafelKopf/tafelTag in tw-kern) — W2-7b aus tw-turniere.css hierher ═════════
   EINE Stelle fuer /turniere (Abflughalle), Cup-Baukasten, Partnerseiten (+ Hub) und /meine-turniere. Klappblaetter .tw-tk-ks (auch die
   Detail-Abflugtafel), Barlow Condensed = BRAND-Ausnahme Tafel. Raster: TIME 150 · CUP 400 · HOST · SEATS 130 · STATUS 220. */
.tw-tk-ks { display: inline-flex; gap: 2px; perspective: 200px; vertical-align: middle; color: inherit; }
.tw-tk-ks i { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; box-sizing: border-box;
    width: var(--ks-w); height: var(--ks-h); border-radius: 2.5px; background: linear-gradient(180deg, #24252b 0, #1c1d22 50%, #141519 50%, #0f1013 100%);
    box-shadow: 0 1.5px 1.5px rgba(0, 0, 0, .7); font: 600 var(--ks-fs)/1 var(--font-tafel); font-style: normal; color: inherit; overflow: hidden; }
.tw-tk-ks i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .95);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
/* Design-QoL T1 (24.10.): Leerblatt DUNKLER als der Tafelgrund (vorher hell, opacity .55) — durchscheinendes Schwarz, damit es auf
   jedem Grund (Seite, „mein“-Zeile, Kurz-Zeile ueber dem Cover) zuruecktritt; die Falz bleibt als Andeutung. */
.tw-tk-ks i.l { background: linear-gradient(180deg, rgba(0, 0, 0, .38) 0, rgba(0, 0, 0, .38) 50%, rgba(0, 0, 0, .5) 50%, rgba(0, 0, 0, .5) 100%);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .03); }
.tw-tk-ks i.l::after { background: rgba(0, 0, 0, .55); box-shadow: none; }
@keyframes tk-klapp { 0% { transform: rotateX(0); } 45% { transform: rotateX(-90deg); } 55% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
.tw-l-tf { --font-tafel: 'Barlow Condensed', 'Outfit', sans-serif; --ks-w: 16px; --ks-h: 27px; --ks-fs: 22px;
    list-style: none; margin: 16px 0 0; padding: 0; }
.tw-l-tz > a, .tw-l-tz > .tw-l-tz-in, .tw-l-tz.kopf, .tw-l-tz.leer, .tw-l-tz.skel { display: grid; grid-template-columns: 150px 400px minmax(0, 1fr) 130px 220px;
    align-items: center; min-height: 54px; padding: 12px 0; box-sizing: border-box; position: relative; color: inherit; text-decoration: none; }
.tw-l-tz { border-top: 1px solid var(--w06); }
.tw-l-tz[hidden], .tw-l-tk[hidden] { display: none; }
.tw-l-tz.kopf { min-height: 0; padding: 14px 0 12px; border-top: 0; }
.tw-l-tz.kopf span { font: 600 15px/18px var(--font-tafel); letter-spacing: .12em; text-transform: uppercase; color: var(--w45); }
.tw-l-tk { padding: 14px 0 10px; border-top: 1px solid var(--w06); font: 600 15px/18px var(--font-tafel); letter-spacing: .12em; text-transform: uppercase;
    color: var(--violett-text); }
.tw-l-tz > a:hover { background: rgba(255,255,255,.04); }
.tw-l-tz > a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.tw-l-tz .pf { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--w45); opacity: 0; transition: opacity .15s; display: flex; }
.tw-l-tz > a:hover .pf, .tw-l-tz > a:focus-visible .pf { opacity: 1; }
.tw-l-tz .host { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding-right: 16px; }
.tw-l-tz .host b { font: 600 17px/20px var(--font-tafel); color: var(--w100); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-l-tz .host small { font: 400 15px/18px var(--font-tafel); color: var(--w45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-l-tz .st { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; min-width: 0; }
.tw-l-tz .pkt { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.tw-l-tz .zeit .tw-tk-ks { color: #f3e3b5; }
.tw-l-tz .cup .tw-tk-ks { color: var(--w100); }
.tw-l-tz .sitz .tw-tk-ks { color: rgba(255,255,255,.75); }
.tw-l-tz .st { color: rgba(255,255,255,.75); }
.tw-l-tz.t-amber .st { color: #f5b84a; }
.tw-l-tz.t-gruen .st { color: #b6e07a; }
.tw-l-tz.t-violett .st { color: var(--violett-text); }
.tw-l-tz.t-grau .st { color: rgba(255,255,255,.4); }
.tw-l-tz.mein { background: rgba(124,92,255,.1); }
.tw-l-tz.mein .cup .tw-tk-ks { color: var(--violett-text); }
.tw-l-tz.gelandet > a { opacity: .45; }
.tw-l-tz.gelandet > a:hover { opacity: .8; }
/* Design-QoL T7 (d): der Hero-Cup noch einmal in der Tafel (nur /turniere, < 3 Cups) — gedimmt, Hinweis „↑ above“ statt Pfeil */
.tw-l-tz.oben > a { opacity: .5; }
.tw-l-tz.oben > a:hover, .tw-l-tz.oben > a:focus-visible { opacity: .85; }
.tw-l-tz.oben .pf { display: none; }
.tw-l-tz .oben-hw { display: none; }
.tw-l-tz.oben .oben-hw { display: flex; align-items: center; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    font: 600 14px/16px var(--font-tafel); letter-spacing: .1em; text-transform: uppercase; color: var(--w45); white-space: nowrap; }
.tw-l-tz.leer .tw-tk-ks { color: rgba(255,255,255,.35); }
.tw-l-tz.leer .host small { white-space: normal; }
.tw-l-tz.nix { display: flex; align-items: center; gap: 12px; padding: 18px 0; font: 400 15px/19px var(--font-brand); color: var(--w55); }
.tw-l-tz.nix[hidden] { display: none; }
/* Klappen (Spec 7): erstes Zeichnen zeilenweise (je Blatt 40 ms, hoechstens 600 ms je Zeile), danach nur die Status-Zelle */
.tw-l-tf.erst .tw-l-tz .tw-tk-ks i { animation: tk-klapp 420ms cubic-bezier(.3, .7, .4, 1) both;
    animation-delay: calc(min(var(--n, 0) * 40ms, 600ms) + var(--r, 0) * 70ms); }
.tw-l-tz.klapp .st .tw-tk-ks i { animation: tk-klapp 420ms cubic-bezier(.3, .7, .4, 1) both; animation-delay: calc(var(--n, 0) * 40ms); }
@media (prefers-reduced-motion: reduce) {
    .tw-l-tf.erst .tw-l-tz .tw-tk-ks i, .tw-l-tz.klapp .st .tw-tk-ks i { animation: none; }
}
/* 1112 (H-6): Veranstalter · Format unter dem Cup-Namen */
@media (max-width: 1180px) {
    .tw-l-tf { --ks-w: 14px; --ks-h: 24px; --ks-fs: 20px; }
    .tw-l-tz > a, .tw-l-tz > .tw-l-tz-in, .tw-l-tz.kopf, .tw-l-tz.leer, .tw-l-tz.skel { grid-template-columns: 110px calc(21 * (var(--ks-w) + 2px) + 24px) 1fr 100px 196px;
        grid-template-areas: "zeit cup . sitz st" "zeit host . sitz st"; row-gap: 6px; }
    .tw-l-tz .zeit { grid-area: zeit; } .tw-l-tz .cup { grid-area: cup; } .tw-l-tz .host { grid-area: host; }
    .tw-l-tz .sitz { grid-area: sitz; } .tw-l-tz .st { grid-area: st; }
    .tw-l-tz.kopf .host { display: none; }
    .tw-l-tz .host { flex-direction: row; gap: 8px; align-items: baseline; }
    .tw-l-tz .host small::before { content: "· "; }
}
@media (max-width: 960px) {
    .tw-l-tz > a, .tw-l-tz > .tw-l-tz-in, .tw-l-tz.kopf, .tw-l-tz.leer, .tw-l-tz.skel { grid-template-columns: 96px minmax(0, 1fr) 96px 180px; grid-template-areas: "zeit cup sitz st" "zeit host sitz st"; }
    .tw-l-tf { --ks-w: 12px; --ks-h: 21px; --ks-fs: 17px; }
}
/* ≤ 760 (M-1): je Abflug drei Zeilen (Zeit + Cup · Host · Format · Status + Plaetze) */
@media (max-width: 760px) {
    .tw-l-tf { --ks-w: clamp(9px, calc((100vw - 32px - 14px) / 26 - 2px), 12px); --ks-h: calc(var(--ks-w) * 1.72); --ks-fs: calc(var(--ks-w) * 1.43); }
    .tw-l-tz.kopf { display: none; }
    .tw-l-tz > a, .tw-l-tz > .tw-l-tz-in, .tw-l-tz.leer, .tw-l-tz.skel { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "zeit cup cup" "host host host" "st st sitz";
        column-gap: 8px; row-gap: 8px; padding: 14px 0; }
    .tw-l-tz .host { display: block; padding-right: 0; font: 400 14px/18px var(--font-brand); color: var(--w55); }
    .tw-l-tz .host b, .tw-l-tz .host small { display: inline; font: inherit; color: inherit; white-space: normal; }
    .tw-l-tz .host small::before { content: " · "; }
    .tw-l-tz .host b:empty + small::before, .tw-l-tz .host small:empty::before { content: none; }
    .tw-l-tz .sitz { justify-self: end; }
    .tw-l-tz .pf { display: none; }
    .tw-l-tz.oben .oben-hw { position: static; transform: none; grid-area: host; justify-self: end; align-self: center; font-size: 13px; }
    .tw-l-tk { font-size: 14px; padding: 14px 0 8px; }
}
/* Design-QoL T2 (25.10.): ≤ 600 je Abflug ZWEI Zeilen — oben Zeit + Cup (Klappschrift), unten Status + Plaetze direkt nebeneinander
   (ohne Leerblaetter), dahinter das Format als kurzer Text, wenn Platz ist. Der Host-Satz faellt weg (steht im Ticket); Gelandet:
   der Sieger-Satz bleibt, Veranstalter · Teams faellt weg. Flex mit Umbruch (::before = Zeilenwechsel) statt Raster, damit der
   Cup direkt an der Zeit steht. Vorgelesen wird weiter der ganze Satz (aria-label). */
@media (max-width: 600px) {
    .tw-l-tz > a, .tw-l-tz > .tw-l-tz-in, .tw-l-tz.leer:not([hidden]), .tw-l-tz.skel { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 8px; }
    .tw-l-tz > a::before, .tw-l-tz > .tw-l-tz-in::before, .tw-l-tz.leer::before, .tw-l-tz.skel::before { content: ""; order: 2; flex: 0 0 100%; height: 0; }
    .tw-l-tz .zeit { order: 0; flex: 0 0 auto; }
    .tw-l-tz .cup { order: 1; flex: 1 1 0; min-width: 0; overflow: hidden; }
    .tw-l-tz .st { order: 3; flex: 0 0 auto; }
    .tw-l-tz .sitz { order: 4; flex: 0 0 auto; justify-self: auto; }
    .tw-l-tz .host { order: 5; flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .tw-l-tz.oben .oben-hw { order: 6; flex: 0 0 auto; }
    .tw-l-tz .host b, .tw-l-tz .host small { white-space: nowrap; }
    .tw-l-tz .host b, .tw-l-tz .host small::before { display: none; }
    .tw-l-tz.gelandet .host b { display: inline; }
    .tw-l-tz.gelandet .host small { display: none; }
    .tw-l-tz .st .tw-tk-ks i.l, .tw-l-tz .sitz .tw-tk-ks i.l { display: none; }
    .tw-l-tz.leer .host small { white-space: normal; }
    .tw-l-tz.leer .host { white-space: normal; flex-basis: 100%; }
}

/* ═════════ Podest Top 3 = Baustein (TW.sf.podest; IS3 Rangliste W-R1 286:14321, Design-QoL 41 Startseite 764:51904) — aus lb-rangliste.css
   hierher: #2 · #1 erhoeht · #3, Splash = Banner der Person, Band oben in Platzfarbe. `.kompakt` (Startseite) = eckige Splash-Bloecke
   (BRAND §4, wie die Plakat-Streifen), Platz gross oben links, Main unter dem Namen, keine Bilanz; 430 drei schmale Bloecke nebeneinander. ═════════ */
.tw-sf-podest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.19fr) minmax(0, 1fr); gap: 16px; align-items: end; transition: opacity .15s; }
.tw-sf-podest.n1 { grid-template-columns: minmax(0, 520px); justify-content: center; }
.tw-sf-podest.n2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.19fr); }
.tw-sf-pd { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 268px; overflow: hidden;
    border: 1px solid var(--w08); border-radius: 12px; background: var(--erhoeht); color: var(--w100); text-decoration: none;
    box-sizing: border-box; padding: 24px; isolation: isolate; --pd: var(--w25); }
.tw-sf-pd.p1 { height: 312px; --pd: var(--gold); }
.tw-sf-pd.p2 { --pd: #c9ccd6; }
.tw-sf-pd.p3 { --pd: #c8743c; }
.tw-sf-pd::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2; background: var(--pd); }
.tw-sf-pd .bild { position: absolute; inset: 0; z-index: -2; background: center 22% / cover no-repeat; }
.tw-sf-pd::after { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(12, 13, 17, .25) 0%, rgba(12, 13, 17, .35) 38%, rgba(12, 13, 17, .92) 78%, rgba(12, 13, 17, .97) 100%); }
.tw-sf-pd.ohne .bild { background: radial-gradient(520px 260px at 50% 0%, rgba(124, 92, 255, .22), rgba(124, 92, 255, 0) 70%); }
a.tw-sf-pd:hover { border-color: var(--w25); }
a.tw-sf-pd:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tw-sf-pd .oben { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tw-sf-pd .oben .nr { font: 700 14px/18px var(--font-brand); color: var(--pd); }
.tw-sf-pd .main { font: 500 12px/16px var(--font-brand); color: var(--w70); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-sf-pd .unten { display: flex; flex-direction: column; gap: 18px; }
.tw-sf-pd .wer { display: flex; align-items: center; gap: 14px; min-width: 0; }
.tw-sf-pd .ava.tw-ava { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 10px; border: 1.5px solid var(--w45); }
.tw-sf-pd.p1 .ava.tw-ava { width: 56px; height: 56px; flex-basis: 56px; }
.tw-sf-pd .wer .t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tw-sf-pd .wer b { font: 600 22px/1.2 var(--font-brand); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-sf-pd.p1 .wer b { font-size: 28px; }
.tw-sf-pd .wer .rg { display: inline-flex; align-items: center; gap: 6px; font: 400 13px/16px var(--font-brand); color: var(--w70); }
.tw-sf-pd .zahl { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tw-sf-pd .zahl .g { display: inline-flex; align-items: baseline; gap: 8px; }
.tw-sf-pd .zahl .g b { font: 700 32px/1 var(--font-brand); }
.tw-sf-pd.p1 .zahl .g b { font-size: 36px; }
.tw-sf-pd .zahl .g small { font: 600 12px/1 var(--font-brand); letter-spacing: .06em; color: var(--w45); }
.tw-sf-pd .zahl .rest { display: inline-flex; align-items: baseline; gap: 14px; font: 500 13px/16px var(--font-brand); color: var(--w70);
    white-space: nowrap; font-variant-numeric: tabular-nums; }
.tw-sf-podest.lade .tw-sf-pd { border: 0; }
.tw-sf-podest.lade .tw-sf-pd::before, .tw-sf-podest.lade .tw-sf-pd::after { display: none; }
/* kompakt (Startseite 764:51904): 200 × 300, #1 232 × 350, Band 4, „#2“ 36 px in Platzfarbe, Avatar 36, Name 18/24, Main als Tafel-Kapitaelchen */
.tw-sf-podest.kompakt { --font-tafel: 'Barlow Condensed', 'Outfit', sans-serif; grid-template-columns: minmax(0, 200fr) minmax(0, 232fr) minmax(0, 200fr); gap: 14px; }
.tw-sf-podest.kompakt .tw-sf-pd { height: 300px; border: 0; border-radius: 0; padding: 14px 16px 18px; }
.tw-sf-podest.kompakt .tw-sf-pd.p1 { height: 350px; }
.tw-sf-podest.kompakt .tw-sf-pd::before { height: 4px; }
.tw-sf-podest.kompakt .tw-sf-pd::after { background: linear-gradient(180deg, rgba(12, 13, 17, .1) 0%, rgba(12, 13, 17, .2) 40%, rgba(12, 13, 17, .9) 76%, rgba(12, 13, 17, .98) 100%); }
.tw-sf-podest.kompakt .oben .nr { font: 900 36px/36px var(--font-brand); letter-spacing: -.02em; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.tw-sf-podest.kompakt .unten { gap: 10px; }
.tw-sf-podest.kompakt .wer { flex-direction: column; align-items: flex-start; gap: 4px; }
.tw-sf-podest.kompakt .ava.tw-ava { width: 36px; height: 36px; flex-basis: 36px; border-radius: 8px; border-color: var(--w25); }
.tw-sf-podest.kompakt .tw-sf-pd.p1 .ava.tw-ava { width: 36px; height: 36px; flex-basis: 36px; }
.tw-sf-podest.kompakt .wer b { font: 700 18px/23px var(--font-brand); white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tw-sf-podest.kompakt .tw-sf-pd.p1 .wer b { font-size: 24px; line-height: 29px; }
.tw-sf-podest.kompakt .main { font: 600 11px/14px var(--font-tafel); letter-spacing: .14em; text-transform: uppercase; color: var(--w70); }
.tw-sf-podest.kompakt .zahl { justify-content: flex-start; }
.tw-sf-podest.kompakt .zahl .g b { font: 900 28px/32px var(--font-brand); }
.tw-sf-podest.kompakt .tw-sf-pd.p1 .zahl .g b { font-size: 34px; line-height: 38px; }
.tw-sf-podest.kompakt .zahl .g small { font: 600 11px/14px var(--font-tafel); letter-spacing: .14em; }
/* ≤ 960 (ISZ): Podest wie 430 — #1 volle Reihe, #2/#3 halb (dreispaltig schnitt die Zahlenzeile ab); kompakt bleibt dreispaltig */
@media (max-width: 960px) {
    .tw-sf-podest:not(.kompakt) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
    .tw-sf-podest:not(.kompakt) .tw-sf-pd.p1 { grid-column: 1 / -1; order: -1; }
    .tw-sf-podest.n2:not(.kompakt) .tw-sf-pd.p2 { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .tw-sf-podest:not(.kompakt) { gap: 8px; }
    .tw-sf-podest:not(.kompakt) .tw-sf-pd { height: 186px; padding: 14px; }
    .tw-sf-podest:not(.kompakt) .tw-sf-pd.p1 { height: 216px; padding: 18px; }
    .tw-sf-podest:not(.kompakt) .unten { gap: 10px; }
    .tw-sf-podest:not(.kompakt) .wer { gap: 10px; }
    .tw-sf-podest:not(.kompakt) .ava.tw-ava { width: 32px; height: 32px; flex-basis: 32px; border-radius: 8px; }
    .tw-sf-podest:not(.kompakt) .tw-sf-pd.p1 .ava.tw-ava { width: 44px; height: 44px; flex-basis: 44px; }
    .tw-sf-podest:not(.kompakt) .wer b { font-size: 15px; }
    .tw-sf-podest:not(.kompakt) .tw-sf-pd.p1 .wer b { font-size: 22px; white-space: normal; }
    .tw-sf-podest:not(.kompakt) .wer .rg { font-size: 11px; }
    /* kompakt (M-1 765:51813): 124 × 200, #1 134 × 236 */
    .tw-sf-podest.kompakt { gap: 8px; }
    .tw-sf-podest.kompakt .tw-sf-pd { height: 200px; padding: 10px 10px 12px; }
    .tw-sf-podest.kompakt .tw-sf-pd.p1 { height: 236px; }
    .tw-sf-podest.kompakt .oben .nr { font-size: 26px; line-height: 26px; }
    .tw-sf-podest.kompakt .ava.tw-ava, .tw-sf-podest.kompakt .tw-sf-pd.p1 .ava.tw-ava { width: 28px; height: 28px; flex-basis: 28px; border-radius: 6px; }
    .tw-sf-podest.kompakt .wer b, .tw-sf-podest.kompakt .tw-sf-pd.p1 .wer b { font-size: 14px; line-height: 18px; }
    .tw-sf-podest.kompakt .main { font-size: 9px; line-height: 12px; letter-spacing: .1em; }
    .tw-sf-podest.kompakt .zahl .g b, .tw-sf-podest.kompakt .tw-sf-pd.p1 .zahl .g b { font-size: 22px; line-height: 26px; }
    .tw-sf-podest.kompakt .zahl .g small { font-size: 9px; line-height: 12px; }
}

/* ═════════ Zeitungsseite „The GDN Box Score“ (TW.sf.ausgabeTeaser; Design-QoL 41 · Figma 764:51695, Paket D fuellt den Aufmacher) ═════════
   Papier Creme wie Rueckseite/Aushang, Tinte #1a1b22, Doppellinie unter dem Masthead, Rubriken-Zeile, dann Seite = Aufmacher | Spalte.
   Barlow Condensed fuer Masthead-Nebentexte, Rubriken, Stand-Tabelle und Stempel (BRAND-Ausnahme, s. BRAND.md). Leicht gedreht wie das
   Aushang-Papier (−0,6°), ≤ 760 gerade und einspaltig. */
.tw-sf-ztg { --ztg-papier: #efe9dc; --ztg-tinte: #1a1b22; --ztg-leise: rgba(26, 27, 34, .6); --ztg-linie: rgba(26, 27, 34, .22); --ztg-violett: #5a3fd9;
    --ztg-tafel: 'Barlow Condensed', 'Outfit', sans-serif; position: relative; padding: 30px 40px 40px; box-sizing: border-box; min-width: 0;
    background: var(--ztg-papier); color: var(--ztg-tinte); transform: rotate(-.6deg); box-shadow: 0 22px 40px rgba(0, 0, 0, .5), 0 2px 0 rgba(0, 0, 0, .25); }
.tw-sf-ztg::before { content: ""; position: absolute; left: 40px; right: 40px; top: 30px; height: 1px; background: var(--ztg-tinte); }
.tw-sf-ztg-masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 14px 0 12px; margin-top: 4px;
    border-top: 3px solid var(--ztg-tinte); border-bottom: 1px solid var(--ztg-tinte); }
.tw-sf-ztg-masthead .l, .tw-sf-ztg-masthead .r { font: 600 11px/14px var(--ztg-tafel); letter-spacing: .14em; text-transform: uppercase; color: var(--ztg-leise); min-width: 0; }
.tw-sf-ztg-masthead .r { text-align: right; }
.tw-sf-ztg-masthead h2 { margin: 0; font: 900 clamp(26px, 3.9vw, 54px)/1.05 var(--font-brand); letter-spacing: -.02em; text-transform: uppercase;
    color: var(--ztg-tinte); text-align: center; white-space: nowrap; }
.tw-sf-ztg-rub { margin: 0; padding: 10px 0; text-align: center; border-bottom: 2px solid var(--ztg-tinte);
    font: 600 11px/14px var(--ztg-tafel); letter-spacing: .16em; text-transform: uppercase; color: var(--ztg-leise); }
.tw-sf-ztg-seite { display: grid; grid-template-columns: minmax(0, 746fr) minmax(0, 348fr); gap: 30px; padding-top: 22px; }
.tw-sf-ztg-seite .haupt, .tw-sf-ztg-seite .spalte { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.tw-sf-ztg.teaser .tw-sf-ztg-seite { grid-template-columns: minmax(0, 700fr) minmax(0, 394fr); }
/* Aufmacher (Paket D): Schlagzeile, Vorspann, Foto entsaettigt, Bildzeile, Box-Score-Tabelle als `fuss` */
.tw-sf-ztg-auf h3 { margin: 0; font: 800 36px/1.25 var(--font-brand); letter-spacing: -.01em; overflow-wrap: anywhere; }
.tw-sf-ztg-auf .t { margin: 8px 0 0; font: 400 16px/23px var(--font-brand); }
.tw-sf-ztg-auf .foto { margin-top: 18px; aspect-ratio: 743 / 288; background: center 25% / cover no-repeat #8a877f; filter: grayscale(1) contrast(1.05); }
.tw-sf-ztg-auf .bt { margin: 8px 0 0; font: 600 10px/13px var(--ztg-tafel); letter-spacing: .14em; text-transform: uppercase; color: var(--ztg-leise); }
/* Programm = dunkler Kasten auf dem Papier (Figma 764:51745): Kicker violett, Titel, Zeile, Gaeste, Zusage-Knopf */
.tw-sf-ztg-prog { background: var(--ztg-tinte); color: #fff; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tw-sf-ztg-prog .k { margin: 0; font: 600 11px/14px var(--ztg-tafel); letter-spacing: .16em; text-transform: uppercase; color: var(--violett-text); }
.tw-sf-ztg-prog h3 { margin: 2px 0 0; font: 700 22px/28px var(--font-brand); color: #fff; overflow-wrap: anywhere; }
.tw-sf-ztg-prog .z { margin: 0; font: 400 14px/18px var(--font-brand); color: rgba(255, 255, 255, .72); }
.tw-sf-ztg-prog .g { font: 400 13px/17px var(--font-brand); color: rgba(255, 255, 255, .55); }
.tw-sf-ztg-prog .kn { margin-top: 10px; display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center; }
.tw-sf-ztg-prog .kn .st-meld { border: 0; padding: 4px 0 0; color: rgba(255, 255, 255, .7); }
.tw-sf-ztg-prog.gross { padding: 26px 30px 30px; gap: 8px; }
.tw-sf-ztg-prog.gross h3 { font-size: 34px; line-height: 40px; }
.tw-sf-ztg-prog.gross .z { font-size: 16px; line-height: 22px; }
.tw-sf-ztg-prog.gross .g { font-size: 15px; line-height: 20px; }
/* Stand (Tabelle in Tinte, gepunktete Fuehrungslinie) + „Season bisher“ */
.tw-sf-ztg-stand .k, .tw-sf-ztg-bisher .k { margin: 0 0 4px; padding-top: 12px; border-top: 2px solid var(--ztg-tinte);
    font: 600 11px/14px var(--ztg-tafel); letter-spacing: .16em; text-transform: uppercase; color: var(--ztg-leise); }
.tw-sf-ztg-stand ol { list-style: none; margin: 0; padding: 0; }
.tw-sf-ztg-stand li { border-bottom: 1px dashed var(--ztg-linie); }
.tw-sf-ztg-stand li > a, .tw-sf-ztg-stand li > .zeile { display: flex; align-items: baseline; gap: 10px; min-height: 30px; padding: 6px 0; color: inherit; text-decoration: none; }
.tw-sf-ztg-stand .nr { flex: 0 0 24px; font: 600 13px/16px var(--ztg-tafel); letter-spacing: .06em; color: var(--ztg-violett); }
.tw-sf-ztg-stand .nr.gold { color: #9a6a12; }
.tw-sf-ztg-stand .nr.silber { color: #6e7380; }
.tw-sf-ztg-stand .nr.bronze { color: #a0562b; }
.tw-sf-ztg-stand .n { font: 600 15px/18px var(--font-brand); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-sf-ztg-stand i { flex: 1 1 12px; min-width: 12px; border-bottom: 1.5px dotted var(--ztg-linie); transform: translateY(-4px); }
.tw-sf-ztg-stand .w { font: 600 17px/18px var(--ztg-tafel); font-variant-numeric: tabular-nums; }
.tw-sf-ztg-stand a:hover .n { color: var(--ztg-violett); }
.tw-sf-ztg-bisher .t { margin: 0; font: 400 15px/21px var(--font-brand); }
.tw-sf-ztg-stempel { position: absolute; right: 60px; bottom: 26px; transform: rotate(-4deg); padding: 6px 12px; border: 2px solid #c9474f; color: #c9474f;
    font: 600 12px/16px var(--ztg-tafel); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 1080px) {
    .tw-sf-ztg-seite, .tw-sf-ztg.teaser .tw-sf-ztg-seite { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .tw-sf-ztg { padding: 20px 20px 26px; transform: none; }
    .tw-sf-ztg::before { left: 20px; right: 20px; top: 20px; }
    .tw-sf-ztg-masthead { grid-template-columns: minmax(0, 1fr); gap: 6px; text-align: center; padding: 10px 0; }
    .tw-sf-ztg-masthead h2 { white-space: normal; font-size: 30px; }
    .tw-sf-ztg-masthead .r { text-align: center; }
    .tw-sf-ztg-prog.gross { padding: 18px; }
    .tw-sf-ztg-prog.gross h3 { font-size: 26px; line-height: 32px; }
    .tw-sf-ztg-auf h3 { font-size: 26px; }
    .tw-sf-ztg-stempel { right: 20px; bottom: 10px; }
}

/* ── Design-QoL 44 · Vereinsheim (Figma 786:51251): Tafelzeile Kennzahlen (.tw-sf-tkz, Komponente 786:51463) + Pokalschrank
   (.tw-sf-pokal, Komponente 786:51353) — Bausteine fuer Vereinsheim (44), Vereinswand (45), Konsole-Kopf (48). Barlow Condensed =
   BRAND-Ausnahme Tafel. Papier (#efe8d6) ist in Paket B NUR am Pokal-Etikett erlaubt. ───────────────────────────────────── */
.tw-sf-tkz { --font-tafel: 'Barlow Condensed', 'Outfit', sans-serif; --ks-w: 14px; --ks-h: 22px; --ks-fs: 14px; display: flex; align-items: center;
    flex-wrap: wrap; gap: 8px 12px; margin: 0; }
.tw-sf-tkz.gross { --ks-w: 20px; --ks-h: 30px; --ks-fs: 20px; gap: 10px 16px; }
.tw-sf-tkz .e { display: flex; align-items: center; gap: 8px; margin: 0; }
.tw-sf-tkz dd { position: relative; margin: 0; display: inline-flex; }
.tw-sf-tkz dt { font: 600 12px/1.3 var(--font-tafel); letter-spacing: .1em; text-transform: uppercase; color: var(--w70); }
.tw-sf-tkz.gross dt { font-size: 13px; }
.tw-sf-tkz .tr { font: 600 14px/1 var(--font-tafel); font-style: normal; color: rgba(255, 255, 255, .35); }
.tw-sf-tkz.gross .tr { font-size: 20px; }
.tw-sf-tkz .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tw-sf-pokal { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px 20px;
    padding: 14px 20px 10px; }
.tw-sf-pokal::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: #262a35;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .6); }
.tw-sf-pokal-e { position: relative; display: flex; align-items: flex-end; min-width: 0; }
.tw-sf-pokal-e::after { content: ""; position: absolute; left: -10px; right: -10px; bottom: -10px; height: 10px; background: #262a35; }
.tw-sf-pokal-e .p { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; width: 100%; min-height: 86px; box-sizing: border-box;
    padding: 12px 14px; background: #efe8d6; color: #1a1b22; text-decoration: none; filter: drop-shadow(0 6px 7px rgba(0, 0, 0, .45));
    transform: rotate(1.2deg); transform-origin: 50% 100%; }
.tw-sf-pokal-e:nth-child(3n+2) .p { transform: rotate(-.8deg); } .tw-sf-pokal-e:nth-child(3n+3) .p { transform: rotate(.6deg); }
a.tw-sf-pokal-e .p:hover, .tw-sf-pokal-e a.p:hover { filter: drop-shadow(0 8px 9px rgba(0, 0, 0, .55)); }
.tw-sf-pokal-e .k { display: flex; align-items: center; gap: 8px; font: 600 10px/1.3 var(--font-tafel, 'Barlow Condensed', sans-serif); letter-spacing: .1em;
    text-transform: uppercase; color: rgba(26, 27, 34, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-sf-pokal-e .med { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; background: #c89b3c; box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .25); }
.tw-sf-pokal-e .med.silber { background: #b9c2d0; } .tw-sf-pokal-e .med.bronze { background: #b86b2c; }
.tw-sf-pokal-e .p > .k { padding-left: 20px; position: relative; }
.tw-sf-pokal-e .p > .med { position: absolute; left: 14px; top: 13px; }
.tw-sf-pokal-e b { font: 900 18px/1.3 var(--font-brand); letter-spacing: -.005em; color: #1a1b22; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-sf-pokal-e .z { font: 400 12px/1.3 var(--font-brand); color: rgba(26, 27, 34, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-sf-pokal-e.leer .p { background: transparent; border: 1px dashed rgba(239, 232, 214, .35); filter: none; transform: none; min-height: 0; }
.tw-sf-pokal-e.leer .p > .k { padding-left: 0; color: var(--w50, rgba(255, 255, 255, .5)); letter-spacing: .12em; }
.tw-sf-pokal-e.leer b { font: 600 14px/1.3 var(--font-brand); color: var(--w70); }
@media (max-width: 600px) {
    .tw-sf-pokal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; padding: 12px 10px 10px; }
    .tw-sf-pokal-e::after { left: -8px; right: -8px; }
    .tw-sf-pokal-e .p { padding: 10px 12px; min-height: 78px; }
    .tw-sf-pokal-e b { font-size: 15px; }
    .tw-sf-tkz.gross { --ks-w: 14px; --ks-h: 22px; --ks-fs: 14px; gap: 8px 12px; }
    .tw-sf-tkz.gross dt { font-size: 12px; } .tw-sf-tkz.gross .tr { font-size: 14px; }
}

/* ── Design-QoL 45 · Vereinslogo nach Figma L-0 782:51254 (SF.hostLogo, KEIN Wappen): Bild freigestellt (contain, keine Kachel),
   dunkles Logo auf Papier-Etikett, Kuerzel-Kachel wie TW.logo (ab 4 Zeichen kleiner), Groessen bis 160. Steht am Dateiende, damit
   es die Kachel-Regeln der Aufrufer (Radius, Hintergrund) schlaegt; `overflow: visible` → ein Radius schneidet das Bild nie an. ── */
.tw-logo.s20 { --gr: 20px; } .tw-logo.s64 { --gr: 64px; } .tw-logo.s96 { --gr: 96px; } .tw-logo.s120 { --gr: 120px; } .tw-logo.s160 { --gr: 160px; }
.tw-logo.k4 { font-size: calc(var(--gr) * .26); letter-spacing: 0; }
.tw-logo.bild.verein { background: none; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
.tw-logo.verein img { width: 100%; height: 100%; object-fit: contain; }
.tw-logo.marke.verein img { width: 100%; height: 100%; }
.tw-logo.bild.verein.tw-sf-etikett { background: #efe8d6; padding: calc(var(--gr) * .09); transform: rotate(-3deg); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.tw-logo.bild.verein.tw-sf-etikett.s20, .tw-logo.bild.verein.tw-sf-etikett.s22, .tw-logo.bild.verein.tw-sf-etikett.s24,
.tw-logo.bild.verein.tw-sf-etikett.s28 { transform: none; padding: 2px; filter: none; }
@media (prefers-reduced-motion: reduce) { .tw-logo.bild.verein.tw-sf-etikett { transform: none; } }

/* tafelKurz zweizeilig (Vereinswand „Naechster Cup“, Figma 788:51570): kein Kasten, Klappblaetter klein, Cup-Name in Tafel-Schrift */
.tw-sf-tz.zwei { --ks-w: 13px; --ks-h: 22px; --ks-fs: 15px; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0; border: 0;
    border-radius: 0; background: none; }
.tw-sf-tz.zwei .z1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.tw-sf-tz.zwei .z1 .tw-tk-ks { color: var(--w100); }
.tw-sf-tz.zwei .wort { margin-left: 4px; padding-left: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 16px; }
.tw-sf-tz.zwei .pkt { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.tw-sf-tz.zwei .n { font: 600 15px/18px var(--font-tafel); letter-spacing: .08em; text-transform: uppercase; color: var(--w100);
    max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) { .tw-sf-tz.zwei { --ks-w: 12px; --ks-h: 20px; --ks-fs: 14px; padding: 0; } }

/* Pokalschrank leer (o.leer): EIN Satz auf dem Brett, kein Etikett */
.tw-sf-pokal.leer { display: block; padding: 4px 0 18px; }
.tw-sf-pokal-satz { margin: 0; font: 400 13px/18px var(--font-brand); color: var(--w45); }
