/* /Components/Anmeldeformular.razor.rz.scp.css */
/* ---------- Anmeldeseite ----------
   1:1 übernommen aus HG.HGVerwaltung / HG.HGEvents (.login-* in deren app.css):
   dunkler HG-Verlauf, Karte mit Balken und mittigem Wappen (3x / 0,85 / 1,15). */

.login-page[b-91x2b1i7ex] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(180deg, #0B1424 0%, #082B54 45%, #0E55A1 100%);
    padding: 1.5rem;
}

.login-card[b-91x2b1i7ex] {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

/* CI-Signatur im Login: HG-Balken mit mittigem Wappen (3x / 0,85 / 1,15). */
.login-brand[b-91x2b1i7ex] {
    position: relative;
    height: 132px;
    margin: 0 -2rem 1rem;
}

.login-balken[b-91x2b1i7ex] {
    position: absolute;
    left: 0;
    right: 0;
    top: 37px;
    height: 44px;
    background: var(--primary);
}

.login-wappen[b-91x2b1i7ex] {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 132px;
    width: auto;
}

.login-title[b-91x2b1i7ex] {
    text-align: center;
    margin: 0;
    font-size: 1.5rem;
    font-weight: var(--font-weight-medium);
    color: var(--foreground);
}

.login-subtitle[b-91x2b1i7ex] {
    text-align: center;
    margin: 0 0 1.5rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.login-fieldset[b-91x2b1i7ex] {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.login-field[b-91x2b1i7ex] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.form-label[b-91x2b1i7ex] {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--foreground);
}

/* 16px Schrift: kein Auto-Zoom beim Antippen auf iOS (die Geschwister haben 14px). */
.form-input[b-91x2b1i7ex] {
    width: 100%;
    min-width: 0;
    height: 2.75rem;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.25;
    color: var(--foreground);
    background-color: var(--input-background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.15s ease;
}

.form-input:focus[b-91x2b1i7ex] {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.checkbox-label[b-91x2b1i7ex] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--foreground);
}

/* Checkbox HG-gebrandet wie in HG.HGVerwaltung. */
.checkbox-label input[type="checkbox"][b-91x2b1i7ex] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--input-background);
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.checkbox-label input[type="checkbox"][b-91x2b1i7ex]::before {
    content: "";
    width: 0.62rem;
    height: 0.62rem;
    transform: scale(0);
    transition: transform 0.12s ease-in-out;
    background-color: #ffffff;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.checkbox-label input[type="checkbox"]:checked[b-91x2b1i7ex] { background-color: var(--primary); border-color: var(--primary); }
.checkbox-label input[type="checkbox"]:checked[b-91x2b1i7ex]::before { transform: scale(1); }
.checkbox-label input[type="checkbox"]:hover[b-91x2b1i7ex] { border-color: var(--primary); }

.login-btn[b-91x2b1i7ex] {
    width: 100%;
    margin-top: 1rem;
}

.login-btn:hover[b-91x2b1i7ex] {
    background-color: color-mix(in srgb, var(--primary) 88%, #000);
}

.login-btn:disabled[b-91x2b1i7ex] { opacity: 1; }
.login-btn-spinner[b-91x2b1i7ex] { display: none; }
.login-btn.is-loading[b-91x2b1i7ex] { pointer-events: none; opacity: 0.85; }
.login-btn.is-loading .login-btn-spinner[b-91x2b1i7ex] { display: inline-flex; }

.icon-sm[b-91x2b1i7ex] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.spin[b-91x2b1i7ex] { animation: spin-b-91x2b1i7ex 0.8s linear infinite; }

@keyframes spin-b-91x2b1i7ex {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .spin[b-91x2b1i7ex] { animation: none; opacity: 0.6; }
}

.login-error[b-91x2b1i7ex] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    margin-bottom: 1rem;
    background-color: #fee2e2;
    color: #991b1b;
    font-size: 0.875rem;
    border-radius: var(--radius);
}

.login-hint[b-91x2b1i7ex] {
    text-align: center;
    margin: 1rem 0 0;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.login-footer[b-91x2b1i7ex] {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.6875rem;
    color: #ffffff;
    opacity: 0.72;
    line-height: 1.6;
}

.login-version[b-91x2b1i7ex] {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}
/* /Components/EreignisTimeline.razor.rz.scp.css */
.tl[b-gwfzjutnn8] {
    position: relative;
    padding: 2px 0;
}

/* durchgehende Mittelachse (Zeitstrahl) */
.tl[b-gwfzjutnn8]::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: var(--line);
}

/* ---------- Abschnitts-Trenner ---------- */
.tl-trenner[b-gwfzjutnn8] {
    position: relative;
    text-align: center;
    margin: 16px 0 12px;
    z-index: 1;
}
.tl-trenner span[b-gwfzjutnn8] {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-family: var(--schrift-mono);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 12px;
}

/* ---------- Spielstand-Block (Halbzeit / Endstand): groß, mittig, maskiert die Achse ---------- */
.tl-summe[b-gwfzjutnn8] {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin: 16px 0;
}
.tl-summe-label[b-gwfzjutnn8] {
    background: var(--background);
    padding: 0 8px;
    font-size: 0.64rem;
    color: var(--muted-foreground);
}
.tl-summe-score[b-gwfzjutnn8] {
    font-family: var(--schrift-kopf);
    font-weight: 700;
    font-size: 1.65rem;
    line-height: 1;
    color: var(--hg-navy);
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    background: var(--background);
    padding: 2px 12px;
}
.tl-summe-score .hg[b-gwfzjutnn8] { color: var(--primary); }
.tl-summe-score .trenn[b-gwfzjutnn8] { color: var(--muted-foreground); margin: 0 3px; font-weight: 400; }
.tl-summe-ende .tl-summe-score[b-gwfzjutnn8] { font-size: 1.95rem; }
.tl-summe-ende .tl-summe-label[b-gwfzjutnn8] { color: var(--primary); letter-spacing: 0.12em; }

/* ---------- Ereignis-Zeile ---------- */
.tl-ev[b-gwfzjutnn8] {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 10px;
    margin: 9px 0;
    z-index: 1;
    animation: tl-auf-b-gwfzjutnn8 0.26s ease both;
}
@keyframes tl-auf-b-gwfzjutnn8 {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .tl-ev[b-gwfzjutnn8] { animation: none; }
}

.tl-seite[b-gwfzjutnn8] { min-width: 0; display: flex; }
.tl-links[b-gwfzjutnn8] { justify-content: flex-end; }
.tl-rechts[b-gwfzjutnn8] { justify-content: flex-start; }

/* ---------- Aktions-Karte: Name (umbrechend) neben Nummer+Stand (fixiert die Höhe) ---------- */
.tl-karte[b-gwfzjutnn8] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 11px;
    background: var(--paper-2);
    width: 100%;
    transition: background-color 0.15s ease;
}
/* Name steht außen, Nummer + Stand zur Achse hin:
   heim (linke Spalte, Achse rechts) -> [Name | Meta]; gast (Achse links) -> [Meta | Name]. */
.tl-heim .tl-karte[b-gwfzjutnn8] { border-right: 3px solid var(--muted-foreground); }
.tl-gast .tl-karte[b-gwfzjutnn8] { flex-direction: row-reverse; border-left: 3px solid var(--muted-foreground); }

/* HG hervorgehoben: zarter Blauton + blaue Kante zur Achse */
.tl-hg .tl-karte[b-gwfzjutnn8] { background: var(--accent); }
.tl-hg.tl-heim .tl-karte[b-gwfzjutnn8] { border-right-color: var(--primary); }
.tl-hg.tl-gast .tl-karte[b-gwfzjutnn8] { border-left-color: var(--primary); }

.tl-ev:hover .tl-karte[b-gwfzjutnn8] { background: color-mix(in srgb, var(--accent) 60%, #fff); }
.tl-hg.tl-ev:hover .tl-karte[b-gwfzjutnn8] { background: color-mix(in srgb, var(--primary) 14%, #fff); }

/* Name: bricht auf maximal zwei Zeilen um, danach "...". Die Nummer-/Stand-Spalte
   gibt die Zeilenhöhe vor, deshalb wird die Karte durch den Umbruch nicht höher. */
.tl-name[b-gwfzjutnn8] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--foreground);
    line-height: 1.2;
    overflow-wrap: anywhere;
    max-height: 2.4em; /* höchstens zwei Zeilen, danach abgeschnitten */
    overflow: hidden;
}
.tl-heim .tl-name[b-gwfzjutnn8] { text-align: left; }
.tl-gast .tl-name[b-gwfzjutnn8] { text-align: right; }

/* Nummer + Icon (oben) und Stand/Chip (unten) - zwei Zeilen zur Achse hin */
.tl-meta[b-gwfzjutnn8] { flex: none; display: flex; flex-direction: column; gap: 3px; }
.tl-heim .tl-meta[b-gwfzjutnn8] { align-items: flex-end; }
.tl-gast .tl-meta[b-gwfzjutnn8] { align-items: flex-start; }
.tl-meta-top[b-gwfzjutnn8] { display: inline-flex; align-items: center; gap: 5px; }
.tl-fuss[b-gwfzjutnn8] { display: inline-flex; align-items: center; gap: 5px; }

.tl-icon[b-gwfzjutnn8] { width: 15px; height: 15px; flex: none; }
.tl-icon-hg[b-gwfzjutnn8] { color: var(--primary); }
.tl-icon-geg[b-gwfzjutnn8] { color: var(--muted-foreground); }
.tl-icon-amber[b-gwfzjutnn8] { color: #a76f00; }
.tl-slash[b-gwfzjutnn8] { stroke: var(--destructive); stroke-width: 2.2; stroke-linecap: round; }
.tl-card-gelb[b-gwfzjutnn8] { color: #e6b000; }
.tl-card-rot[b-gwfzjutnn8] { color: #d23b31; }
.tl-card-blau[b-gwfzjutnn8] { color: #1f6fd6; }

/* Trikotnummer prominent, in Mannschaftsfarbe */
.tl-nr[b-gwfzjutnn8] {
    flex: none;
    font-family: var(--schrift-mono);
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--muted-foreground);
}
.tl-hg .tl-nr[b-gwfzjutnn8] { color: var(--primary); }

/* laufender Stand am Tor, HG-Zahl blau */
.tl-stand[b-gwfzjutnn8] {
    font-family: var(--schrift-mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted-foreground);
    letter-spacing: 0.01em;
}
.tl-stand .hg[b-gwfzjutnn8] { color: var(--primary); }
.tl-sep[b-gwfzjutnn8] { margin: 0 1px; opacity: 0.6; }

/* kleines 7m-Abzeichen am verwandelten Siebenmeter */
.tl-badge[b-gwfzjutnn8] {
    font-family: var(--schrift-mono);
    font-size: 0.56rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 1px 4px;
    line-height: 1.5;
}
.tl-badge-7m[b-gwfzjutnn8] { background: var(--hg-navy); color: #fff; font-size: 0.6rem; padding: 1px 5px; }

/* Status-Chips (Strafen, Karten, verworfener 7m) */
.tl-chip[b-gwfzjutnn8] {
    font-family: var(--schrift-mono);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 1px 6px;
    line-height: 1.5;
}
.tl-chip-amber[b-gwfzjutnn8] { background: #ffe9c7; color: #8a4b00; }
.tl-chip-gelb[b-gwfzjutnn8] { background: #fff3bf; color: #6b5200; }
.tl-chip-rot[b-gwfzjutnn8] { background: #fde7e7; color: #a3271f; }
.tl-chip-blau[b-gwfzjutnn8] { background: var(--accent); color: var(--primary); }
.tl-chip-neutral[b-gwfzjutnn8] { background: var(--muted); color: var(--muted-foreground); }

/* ---------- Auszeit (Team-Timeout): schlanker Marker quer über die Achse ---------- */
.tl-auszeit[b-gwfzjutnn8] {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 11px 0;
    z-index: 1;
}
.tl-auszeit-pill[b-gwfzjutnn8] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--muted);
    color: var(--muted-foreground);
    font-size: 0.62rem;
    padding: 3px 11px;
}
.tl-auszeit-icon[b-gwfzjutnn8] { width: 11px; height: 11px; flex: none; opacity: 0.8; }

/* ---------- Mitte: Spielzeit-Marke als Knoten auf der Achse ---------- */
.tl-mitte[b-gwfzjutnn8] { display: flex; justify-content: center; }
.tl-zeit[b-gwfzjutnn8] {
    font-family: var(--schrift-mono);
    font-size: 0.72rem;
    font-weight: 500;
    min-width: 52px;
    text-align: center;
    padding: 6px 9px;
    line-height: 1;
    letter-spacing: 0.02em;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--muted-foreground);
}
/* HG-Tor hebt die Zeitmarke blau hervor */
.tl-zeit-hg[b-gwfzjutnn8] { border-color: var(--primary); color: var(--primary); }

/* ---------- Kleine Geräte: enger setzen + Schrift verkleinern (mehr lesbare Namen) ---------- */
@media (max-width: 34rem) {
    .tl-ev[b-gwfzjutnn8] { column-gap: 7px; }
    .tl-karte[b-gwfzjutnn8] { padding: 6px 8px; gap: 7px; }
    .tl-name[b-gwfzjutnn8] { font-size: 0.84rem; }
    .tl-nr[b-gwfzjutnn8] { font-size: 0.78rem; }
    .tl-stand[b-gwfzjutnn8] { font-size: 0.72rem; }
    .tl-icon[b-gwfzjutnn8] { width: 13px; height: 13px; }
    .tl-zeit[b-gwfzjutnn8] { min-width: 44px; padding: 5px 6px; font-size: 0.66rem; }
}
@media (max-width: 23rem) {
    .tl-karte[b-gwfzjutnn8] { padding: 5px 7px; }
    .tl-name[b-gwfzjutnn8] { font-size: 0.78rem; }
    .tl-nr[b-gwfzjutnn8] { font-size: 0.72rem; }
    .tl-icon[b-gwfzjutnn8] { width: 12px; height: 12px; }
    .tl-zeit[b-gwfzjutnn8] { min-width: 38px; padding: 5px 4px; }
}

/* Von Handball360 anonymisierte Person ohne Zuordnung im Spielbericht */
.tl-name-anonym[b-gwfzjutnn8] { color: var(--muted-foreground); font-style: italic; font-weight: 400; }
/* /Components/Spielerliste.razor.rz.scp.css */
.sl + .sl[b-0xo2l2xfez] { margin-top: 1.25rem; }

.sl-kopf[b-0xo2l2xfez] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 6px;
    margin-bottom: 4px;
    border-bottom: 2px solid var(--border);
}
.sl-kopf.sl-hg[b-0xo2l2xfez] { border-bottom-color: var(--primary); }

.sl-mann[b-0xo2l2xfez] {
    font-family: var(--schrift-kopf);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: 0.95rem;
    color: var(--hg-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sl-tab[b-0xo2l2xfez] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.sl-tab td[b-0xo2l2xfez] {
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.sl-tab tr:last-child td[b-0xo2l2xfez] { border-bottom: none; }

.sl-nr[b-0xo2l2xfez] {
    width: 2.1rem;
    font-family: var(--schrift-mono);
    font-size: 0.8rem;
    color: var(--muted-foreground);
    text-align: right;
    padding-right: 0.6rem !important;
}

.sl-name[b-0xo2l2xfez] { width: auto; }
.sl-sname[b-0xo2l2xfez] { color: var(--foreground); }
.sl-alter[b-0xo2l2xfez] {
    margin-left: 0.4rem;
    font-size: 0.68rem;
    color: var(--muted-foreground);
}

.sl-7m[b-0xo2l2xfez] {
    width: 1%;
    white-space: nowrap;
    text-align: right;
    font-size: 0.68rem;
    color: var(--muted-foreground);
    padding-left: 0.4rem !important;
}

.sl-tore[b-0xo2l2xfez] {
    width: 1.8rem;
    text-align: right;
    font-weight: var(--font-weight-medium);
    font-variant-numeric: tabular-nums;
    color: var(--primary);
}

/* ---------- Disziplinar: 2-Minuten (ggf. mehrfach) + Karten ---------- */
.sl-disz[b-0xo2l2xfez] {
    width: 1%;
    white-space: nowrap;
    text-align: right;
    padding-left: 0.5rem !important;
}
.sl-marker[b-0xo2l2xfez] { display: inline-flex; align-items: center; gap: 4px; }
.sl-2min[b-0xo2l2xfez] {
    font-family: var(--schrift-mono);
    font-size: 0.66rem;
    background: #ffe9c7;
    color: #8a4b00;
    padding: 1px 4px;
}
.sl-karte[b-0xo2l2xfez] { display: inline-block; width: 9px; height: 13px; flex: none; }
.sl-karte-gelb[b-0xo2l2xfez] { background: #e6b000; }
.sl-karte-rot[b-0xo2l2xfez] { background: #d23b31; }
.sl-karte-blau[b-0xo2l2xfez] { background: #1f6fd6; }

/* ---------- Offizielle (können Gelb und 2-Min erhalten) ---------- */
.sl-off[b-0xo2l2xfez] { margin-top: 0.85rem; }
.sl-off-titel[b-0xo2l2xfez] {
    display: block;
    font-size: 0.64rem;
    color: var(--muted-foreground);
    margin-bottom: 0.35rem;
}
.sl-off-zeile[b-0xo2l2xfez] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.24rem 0;
    font-size: 0.82rem;
    border-bottom: 1px solid var(--border);
}
.sl-off-zeile:last-child[b-0xo2l2xfez] { border-bottom: none; }
.sl-off-rolle[b-0xo2l2xfez] {
    flex: none;
    min-width: 5.5rem;
    font-size: 0.62rem;
    color: var(--muted-foreground);
}
.sl-off-name[b-0xo2l2xfez] {
    flex: 1;
    min-width: 0;
    color: var(--foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sl-off-zeile .sl-marker[b-0xo2l2xfez] { flex: none; }
/* /Components/Torkurve.razor.rz.scp.css */
.tk-legende[b-4vlbslojio] {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--muted-foreground);
    margin-bottom: 0.7rem;
}
.tk-leg[b-4vlbslojio] { display: inline-flex; align-items: center; }
.tk-leg strong[b-4vlbslojio] {
    margin-left: 0.35rem;
    font-family: var(--schrift-mono);
    font-weight: 500;
    color: var(--foreground);
}

.tk-dot[b-4vlbslojio] {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 6px;
}
.tk-dot-hg[b-4vlbslojio] { background: var(--primary); }
.tk-dot-geg[b-4vlbslojio] { background: var(--muted-foreground); }

.tk-svg[b-4vlbslojio] {
    display: block;
    width: 100%;
    height: 168px;
    overflow: visible;
}

/* ---------- Interaktion: Fadenkreuz + Tooltip (Hover/Touch) ---------- */
.tk-plot[b-4vlbslojio] { position: relative; }
.tk-hit[b-4vlbslojio] {
    position: absolute;
    inset: 0;
    z-index: 4;
    cursor: crosshair;
    touch-action: pan-y;
}
.tk-cross[b-4vlbslojio] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    margin-left: -0.5px;
    background: color-mix(in srgb, var(--primary) 55%, transparent);
    pointer-events: none;
    z-index: 2;
}
.tk-hdot[b-4vlbslojio] {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 9999px;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 2px #fff;
    pointer-events: none;
    z-index: 3;
}
.tk-hdot-hg[b-4vlbslojio] { background: var(--primary); }
.tk-hdot-geg[b-4vlbslojio] { background: var(--muted-foreground); }
.tk-tip[b-4vlbslojio] {
    position: absolute;
    top: 2px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    background: var(--hg-navy);
    color: #fff;
    padding: 3px 9px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
}
.tk-tip-min[b-4vlbslojio] {
    font-family: var(--schrift-mono);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, .72);
    letter-spacing: 0.04em;
}
.tk-tip-score[b-4vlbslojio] {
    font-family: var(--schrift-mono);
    font-weight: 500;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
}
.tk-tip-score .hg[b-4vlbslojio] { color: var(--hg-gelb); }
.tk-tip-sep[b-4vlbslojio] { color: rgba(255, 255, 255, .5); margin: 0 1px; }

.tk-grid[b-4vlbslojio] { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tk-hz[b-4vlbslojio] {
    stroke: var(--border);
    stroke-width: 1;
    stroke-dasharray: 2 3;
    vector-effect: non-scaling-stroke;
}

.tk-gap[b-4vlbslojio] { fill: var(--primary); opacity: 0.1; }

.tk-linie-hg[b-4vlbslojio] {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2.4;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
.tk-linie-geg[b-4vlbslojio] {
    fill: none;
    stroke: var(--muted-foreground);
    stroke-width: 1.6;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.tk-end-hg[b-4vlbslojio] { fill: var(--primary); }
.tk-end-geg[b-4vlbslojio] { fill: var(--muted-foreground); }

.tk-achse[b-4vlbslojio] {
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    margin-top: 0.35rem;
}

.tk-note[b-4vlbslojio] {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    color: var(--muted-foreground);
    text-align: center;
}
.tk-note strong[b-4vlbslojio] { color: var(--primary); font-weight: var(--font-weight-medium); }
/* /Pages/Home.razor.rz.scp.css */
.ms-kopf[b-i1yne7e6iu] { margin: 2px 0 18px; }
.ms-eyebrow[b-i1yne7e6iu] { font-size: 0.7rem; margin: 0 0 5px; }
.ms-kopf h1[b-i1yne7e6iu] { font-size: 1.7rem; }

.ms-gruppe[b-i1yne7e6iu] { margin-bottom: 20px; }
.ms-gruppe:last-of-type[b-i1yne7e6iu] { margin-bottom: 8px; }
.ms-gruppe .block-titel[b-i1yne7e6iu] { font-size: 0.95rem; margin-bottom: 0.7rem; }

.ms-liste[b-i1yne7e6iu] { display: flex; flex-direction: column; gap: 10px; }

.ms-karte[b-i1yne7e6iu] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 13px;
    padding: 11px 14px;
    color: inherit;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.ms-karte:hover[b-i1yne7e6iu] {
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
    background: color-mix(in srgb, var(--accent) 45%, #fff);
}

.ms-badge[b-i1yne7e6iu] {
    width: 42px;
    height: 42px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--schrift-mono);
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.ms-badge-herren[b-i1yne7e6iu] { background: var(--primary); color: #fff; }
.ms-badge-damen[b-i1yne7e6iu] { background: var(--hg-navy); color: #fff; }
.ms-badge-jugend[b-i1yne7e6iu] {
    background: var(--accent);
    color: var(--primary);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 28%, transparent);
}
.ms-badge-top[b-i1yne7e6iu] { background: var(--hg-gelb); color: var(--hg-navy); }
.ms-badge-top svg[b-i1yne7e6iu] { width: 22px; height: 22px; }

/* Hervorgehobener Einstieg "Letzte Spiele" über den Gruppen */
.ms-top[b-i1yne7e6iu] { margin-bottom: 20px; }

.ms-text[b-i1yne7e6iu] { min-width: 0; display: flex; flex-direction: column; }
.ms-name[b-i1yne7e6iu] {
    font-family: var(--schrift-kopf);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: 1rem;
    color: var(--hg-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ms-liga[b-i1yne7e6iu] { font-size: 0.76rem; color: var(--muted-foreground); margin-top: 1px; }

.ms-chevron[b-i1yne7e6iu] { font-size: 1.4rem; color: var(--muted-foreground); line-height: 1; padding-left: 2px; }

.ms-fuss[b-i1yne7e6iu] { margin-top: 18px; text-align: center; font-size: 0.64rem; color: var(--muted-foreground); }

/* Lade- und Fehlerzustand der Mannschaftsliste */
.ms-hinweis[b-i1yne7e6iu] { padding: 22px 18px; text-align: center; color: var(--muted-foreground); margin-bottom: 20px; }
.ms-hinweis p[b-i1yne7e6iu] { margin: 0 0 10px; }
.ms-hinweis p:last-child[b-i1yne7e6iu] { margin-bottom: 0; }
/* /Pages/LetzteSpiele.razor.rz.scp.css */
.ls-zurueck[b-5dulec25jg] {
    display: inline-block;
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ls-kopf[b-5dulec25jg] { margin: 2px 0 16px; }
.ls-kopf h1[b-5dulec25jg] { font-size: 1.6rem; }
.ls-kopf p[b-5dulec25jg] { margin: 4px 0 0; font-size: 0.72rem; }

.ls-liste[b-5dulec25jg] { display: flex; flex-direction: column; gap: 10px; }

.ls-karte[b-5dulec25jg] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: inherit;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.ls-karte:hover[b-5dulec25jg] {
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
    background: color-mix(in srgb, var(--accent) 45%, #fff);
}

.ls-datum[b-5dulec25jg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
    min-width: 34px;
}
.ls-tag[b-5dulec25jg] { font-size: 0.6rem; color: var(--muted-foreground); }
.ls-md[b-5dulec25jg] { font-family: var(--schrift-mono); font-size: 0.9rem; font-weight: 500; }

.ls-mitte[b-5dulec25jg] { min-width: 0; }
.ls-zeile[b-5dulec25jg] { display: flex; align-items: center; gap: 7px; }
.ls-team[b-5dulec25jg] {
    flex: none;
    font-family: var(--schrift-mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 2px 5px;
}
.ls-team-herren[b-5dulec25jg] { background: var(--primary); color: #fff; }
.ls-team-damen[b-5dulec25jg] { background: var(--hg-navy); color: #fff; }
.ls-team-jugend[b-5dulec25jg] {
    background: var(--accent);
    color: var(--primary);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 28%, transparent);
}

.ls-geg[b-5dulec25jg] {
    font-size: 0.98rem;
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ls-sub[b-5dulec25jg] { font-size: 0.72rem; color: var(--muted-foreground); margin-top: 2px; }

.ls-rechts[b-5dulec25jg] { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ls-erg[b-5dulec25jg] {
    font-family: var(--schrift-kopf);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--hg-navy);
    font-variant-numeric: tabular-nums;
}

.ls-leer[b-5dulec25jg] { padding: 28px 18px; text-align: center; color: var(--muted-foreground); margin-bottom: 10px; }
/* /Pages/Spielbericht.razor.rz.scp.css */
.zurueck[b-pm3n5wombz] {
    display: inline-block;
    font-family: var(--schrift-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    margin-bottom: 12px;
}

.leer[b-pm3n5wombz] { padding: 28px 18px; text-align: center; color: var(--muted-foreground); }

/* ---------- Anzeigetafel (Hero, CI: Navy->Blau + Wappen-Watermark) ---------- */
.tafel[b-pm3n5wombz] {
    position: relative;
    overflow: hidden;
    border: none;
    padding: 16px 18px 13px;
    margin-bottom: 14px;
    background: linear-gradient(150deg, var(--hg-ink) 0%, var(--hg-navy) 52%, var(--primary) 155%);
    color: #fff;
}
/* Wappen-Watermark steht immer hinter der HG-Mannschaft:
   HG heim -> links, HG gast -> rechts (Klasse an .tafel). */
.tafel[b-pm3n5wombz]::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 195px;
    background: url("/hg-logo-weiss.svg") no-repeat center / contain;
    opacity: 0.1;
    pointer-events: none;
}
.tafel-hg-heim[b-pm3n5wombz]::before { left: -38px; right: auto; }
.tafel-hg-gast[b-pm3n5wombz]::before { right: -38px; left: auto; }
.tafel-inhalt[b-pm3n5wombz] { position: relative; }

.tafel-kopf[b-pm3n5wombz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.tafel-wett[b-pm3n5wombz] {
    color: var(--hg-gelb);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tafel-score[b-pm3n5wombz] {
    display: grid;
    /* minmax(0,1fr) statt 1fr: die Namensspalten bleiben exakt gleich breit,
       auch bei langen/unbrechbaren Namen -> das Ergebnis steht immer mittig. */
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin: 4px 0 13px;
}

.mann[b-pm3n5wombz] { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.mann-name[b-pm3n5wombz] {
    font-family: var(--schrift-kopf);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: 0.92rem;
    text-align: center;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.72);
    overflow-wrap: anywhere;
    hyphens: auto;
}
.mann-hg .mann-name[b-pm3n5wombz] { color: #fff; }

.ergebnis[b-pm3n5wombz] {
    font-family: var(--schrift-kopf);
    font-weight: 700;
    font-size: 2.9rem;
    line-height: 1;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 0 8px;
}
.ergebnis .trenn[b-pm3n5wombz] { color: rgba(255, 255, 255, 0.45); }
.ergebnis .sieg[b-pm3n5wombz] { color: var(--hg-gelb); }

/* Enge Geräte: Ergebnis kompakter, damit die Namen mehr Platz behalten. */
@media (max-width: 24rem) {
    .mann-name[b-pm3n5wombz] { font-size: 0.82rem; }
    .ergebnis[b-pm3n5wombz] { font-size: 2.4rem; padding: 0 4px; gap: 4px; }
    .tafel-score[b-pm3n5wombz] { gap: 6px; }
}

.tafel-fuss[b-pm3n5wombz] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    row-gap: 2px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.78);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 10px;
}
/* beide Teile jeweils zusammenhalten - Datum/Uhrzeit bricht als Ganzes um, nie vor "Uhr" */
.tafel-fuss span[b-pm3n5wombz] { white-space: nowrap; }

/* ---------- Spielort ---------- */
.ort[b-pm3n5wombz] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 14px;
}
.ort-icon[b-pm3n5wombz] { width: 24px; height: 24px; flex: none; color: var(--primary); }
.ort-text[b-pm3n5wombz] { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ort-name[b-pm3n5wombz] { font-weight: var(--font-weight-medium); color: var(--foreground); }
.ort-adresse[b-pm3n5wombz] { font-size: 0.8rem; color: var(--muted-foreground); }
.ort-route[b-pm3n5wombz] { flex: none; }

/* ---------- Abschnitte ---------- */
.abschnitt[b-pm3n5wombz] { padding: 14px 16px; margin-bottom: 14px; }

/* ---------- Eintragungen im Bericht ---------- */
.eintraege[b-pm3n5wombz] { list-style: none; margin: 0; padding: 0; }
/* Überschrift des Eintrags (Art) über dem Text - Texte aus dem Bericht sind mehrzeilig. */
.eintraege li[b-pm3n5wombz] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}
.eintraege li:last-child[b-pm3n5wombz] { border-bottom: none; }
.eintrag-zeit[b-pm3n5wombz] { flex: none; color: var(--primary); font-size: 0.75rem; }
.eintrag-text[b-pm3n5wombz] { color: var(--foreground); white-space: pre-line; }

/* ---------- Spielleitung (unauffällig) ---------- */
.leitung[b-pm3n5wombz] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1rem;
    margin: 2px 0 16px;
    font-size: 0.8rem;
    color: var(--muted-foreground);
}
.leitung .mono[b-pm3n5wombz] { margin-right: 0.35rem; font-size: 0.64rem; }

/* ---------- PDF ---------- */
.pdf[b-pm3n5wombz] {
    margin-top: 2px;
    gap: 0.75rem;
    justify-content: flex-start;
    padding: 0.8rem 1rem;
    text-align: left;
}
.pdf-icon[b-pm3n5wombz] { width: 22px; height: 22px; flex: none; }
.pdf-text[b-pm3n5wombz] { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; line-height: 1.2; }
.pdf-titel[b-pm3n5wombz] { font-weight: var(--font-weight-medium); }
.pdf-sub[b-pm3n5wombz] { font-size: 0.72rem; font-weight: 400; opacity: 0.85; }
.pdf-pfeil[b-pm3n5wombz] { width: 18px; height: 18px; flex: none; opacity: 0.9; }
.pdf-hinweis[b-pm3n5wombz] {
    text-align: center;
    font-size: 0.66rem;
    color: var(--muted-foreground);
    margin: 8px 0 4px;
    text-transform: none;
    letter-spacing: 0;
}

/* ---------- Desktop: mehrspaltige Detailseite (Mobile unverändert) ----------
   .sb-grid ist auf Mobile "display:contents" - die beiden Abschnitte fließen also
   ganz normal untereinander wie bisher. Erst ab Desktop-Breite wird daraus ein
   zweispaltiges Raster (Aufstellung | Minutenprotokoll). */
.sb-grid[b-pm3n5wombz] { display: contents; }

@media (min-width: 64rem) {
    .sb-grid[b-pm3n5wombz] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1.25rem;
        align-items: start;
    }
    /* min-width:0, damit breite Inhalte (Torkurve, Timeline) die Spalte nicht sprengen. */
    .sb-grid > .abschnitt[b-pm3n5wombz] { min-width: 0; }

    /* Hero und schmale Blöcke mittig begrenzen; Spielverlauf, Raster und die
       Eintragungen nutzen die volle Breite. So wirkt die Anzeigetafel nicht über die
       ganze Spalte zerzogen, während die Eintragungen die Breite beider Spalten füllen. */
    .tafel[b-pm3n5wombz],
    .ort[b-pm3n5wombz],
    .leitung[b-pm3n5wombz] {
        max-width: 42rem;
        margin-left: auto;
        margin-right: auto;
    }
    /* PDF-Button bleibt bewusst schmal (untereinander mit den übrigen Blöcken). */
    .pdf[b-pm3n5wombz],
    .pdf-hinweis[b-pm3n5wombz] {
        max-width: 22.5rem;
        margin-left: auto;
        margin-right: auto;
    }
}
/* /Pages/Spielplan.razor.rz.scp.css */
.sp-zurueck[b-p3glm664mn] {
    display: inline-block;
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sp-leer[b-p3glm664mn] { padding: 28px 18px; text-align: center; color: var(--muted-foreground); }

.sp-kopf[b-p3glm664mn] { margin: 2px 0 16px; }
.sp-kopf h1[b-p3glm664mn] { font-size: 1.6rem; }
.sp-kopf p[b-p3glm664mn] { margin: 4px 0 0; font-size: 0.72rem; }

.sp-liste[b-p3glm664mn] { display: flex; flex-direction: column; gap: 10px; }

.sp-karte[b-p3glm664mn] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: inherit;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.sp-karte:hover[b-p3glm664mn] {
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
    background: color-mix(in srgb, var(--accent) 45%, #fff);
}

.sp-datum[b-p3glm664mn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
    min-width: 34px;
}
.sp-tag[b-p3glm664mn] { font-size: 0.6rem; color: var(--muted-foreground); }
.sp-md[b-p3glm664mn] {
    font-family: var(--schrift-mono);
    font-size: 0.9rem;
    font-weight: 500;
}

.sp-mitte[b-p3glm664mn] { min-width: 0; }
.sp-gegner[b-p3glm664mn] { display: flex; align-items: center; gap: 7px; }
.sp-ha[b-p3glm664mn] {
    font-size: 0.56rem;
    color: var(--primary);
    background: var(--accent);
    padding: 2px 5px;
    flex-shrink: 0;
}
.sp-geg-name[b-p3glm664mn] {
    font-size: 0.98rem;
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sp-wett[b-p3glm664mn] { font-size: 0.72rem; color: var(--muted-foreground); margin-top: 2px; }

.sp-rechts[b-p3glm664mn] { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.sp-erg[b-p3glm664mn] {
    font-family: var(--schrift-kopf);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--hg-navy);
    font-variant-numeric: tabular-nums;
}

.sp-fuss[b-p3glm664mn] {
    margin-top: 16px;
    text-align: center;
    font-size: 0.64rem;
    color: var(--muted-foreground);
}
