/* =========================================================================
   Caddys NFL Tipp – Stylesheet "Flutlicht" (Version 3.0, 2026-10-05)
   ALLE Gestaltung der Seite steht in dieser Datei.
   FARBEN, SCHRIFTEN, RUNDUNGEN: nur im Block :root direkt hierunter ändern –
   alles andere verwendet ausschließlich diese Variablen.
   ========================================================================= */

/* ---------- Schriften (selbst gehostet, keine Verbindung zu Google) ---------- */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(fonts/barlow-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(fonts/barlow-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-condensed-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(fonts/barlow-condensed-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(fonts/barlow-condensed-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- FARBEN & GRUNDWERTE (hier zentral ändern) ---------- */
:root {
    color-scheme: dark;
    /* Listen-Abstaende zentral (kompakt seit 11.10.2026) - gelten fuer alle Listen und Tabellen */
    --zeile-innen:   9px 12px;   /* Innenabstand von Listenzeilen/Karten-Zeilen */
    --liste-abstand: 8px;        /* Abstand zwischen den Zeilen einer Liste */
    --zelle-innen:   6px 9px;    /* Innenabstand von Tabellenzellen */
    /* Hintergründe */
    --hintergrund:        #070D1A;   /* Seitengrund */
    --hintergrund-tief:   #050A14;   /* Kopfleiste */
    --flaeche:            #0F182C;   /* Karten */
    --flaeche-2:          #14203A;   /* Hervorhebung in Karten (Zeile, Hover, Eingabefeld) */
    --flaeche-3:          #1A2846;   /* stärkere Hervorhebung */
    --linie:              #1E2A45;   /* Rahmen und Trennlinien */
    /* Schrift */
    --text:               #EEF2F8;
    --text-2:             #C9D3E6;   /* Links, Nebentext */
    --gedaempft:          #8E9BB5;   /* Beschriftungen, Hinweise */
    /* Akzent */
    --akzent:             #F5B529;   /* Gold */
    --akzent-hell:        #FFCB52;   /* Hover */
    --auf-akzent:         #070D1A;   /* Schrift auf goldenen Flächen */
    --akzent-flaeche:     rgba(245,181,41,.12);
    --akzent-rahmen:      rgba(245,181,41,.40);
    /* Zustände / Ampel */
    --gut:                #3FCB7E;   /* Volltreffer, Erfolg */
    --mittel:             #F5B529;   /* Tendenz */
    --schlecht:           #F06464;   /* Fehltipp, Fehler, live */
    --info:               #6EA8FF;
    --gut-flaeche:        rgba(63,203,126,.12);
    --gut-rahmen:         rgba(63,203,126,.40);
    --schlecht-flaeche:   rgba(240,100,100,.12);
    --schlecht-rahmen:    rgba(240,100,100,.40);
    --info-flaeche:       rgba(110,168,255,.12);
    --neutral:            #5A6683;   /* ausgeschaltet, gesperrt */
    --auf-farbe:          #FFFFFF;   /* Schrift auf roten/grünen/grauen Flächen */
    /* Form */
    --radius:             18px;
    --radius-m:           12px;
    --radius-s:           8px;
    --schatten:           0 10px 30px rgba(0,0,0,.35);
    --schatten-overlay:   0 12px 40px rgba(0,0,0,.55);
    --abdunkeln:          rgba(3,6,14,.65);
    /* Transparente Effekte (Hover, Rahmen, Schatten, Overlay) - 11.10.2026 zentralisiert */
    --hauch-1: rgba(255,255,255,.02);
    --hauch-2: rgba(255,255,255,.05);
    --hover-hell: rgba(255,255,255,.06);
    --aktiv-hell: rgba(255,255,255,.08);
    --rahmen-hell: rgba(255,255,255,.12);
    --logo-schein: rgba(255,255,255,.45);
    --overlay-dunkel: rgba(0,0,0,.4);
    --schatten-leicht-farbe: rgba(0,0,0,.25);
    --schatten-mittel-farbe: rgba(0,0,0,.3);
    --seitenbreite:       1240px;
    --schrift:            'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --schrift-titel:      'Barlow Condensed', 'Barlow', system-ui, sans-serif;
}

/* ---------- Grundlagen ---------- */
* { box-sizing: border-box; }
html { background: var(--hintergrund); }
body { margin: 0; font-family: var(--schrift); font-size: 16px; line-height: 1.5; color: var(--text); background: var(--hintergrund); }
img { max-width: 100%; }
a { color: var(--text-2); }
a:hover { color: var(--akzent); }
h1, h2, h3, h4, h5 { color: var(--text); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
input, select, textarea, button { font-family: inherit; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], select, textarea {
    background: var(--flaeche-2); color: var(--text); border: 1px solid var(--linie); border-radius: var(--radius-s);
}
input::placeholder, textarea::placeholder { color: var(--gedaempft); }
table { border-collapse: collapse; }
th { color: var(--gedaempft); }
td, th { border-color: var(--linie); }
details summary { cursor: pointer; }
.eb { font-family: var(--schrift-titel); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gedaempft); }
.dc { font-family: var(--schrift-titel); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }

/* ---------- Kopfleiste ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--hintergrund-tief); border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: var(--seitenbreite); margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 20px; }
.kopf-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--schrift-titel); font-weight: 800; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; }
.kopf-logo:hover { color: var(--text); }
.kopf-logo-zeichen { width: 40px; height: 40px; border-radius: 10px; background: var(--akzent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kopf-logo-zeichen svg { stroke: var(--auf-akzent); }
.kopf-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.kopf-nav a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--text-2); text-decoration: none; }
.kopf-nav a:hover { background: var(--hover-hell); color: var(--text); }
.kopf-nav a.aktiv { background: var(--aktiv-hell); color: var(--text); }
.kopf-zaehler { margin-left: 6px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--schlecht); color: var(--auf-farbe); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.kopf-rechts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.kopf-knopf { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--akzent); color: var(--auf-akzent); font-weight: 700; text-decoration: none; }
.kopf-knopf:hover { background: var(--akzent-hell); color: var(--auf-akzent); }
.kopf-knopf.zweit { background: var(--hover-hell); color: var(--text); border: 1px solid var(--rahmen-hell); }
/* Benutzermenü (aufklappbar, ohne JavaScript) */
.benutzer { position: relative; }
.benutzer > summary { list-style: none; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 6px; border-radius: 12px; background: var(--hover-hell); border: 1px solid var(--rahmen-hell); color: var(--text); font-weight: 700; font-size: 15px; }
.benutzer > summary::-webkit-details-marker { display: none; }
.benutzer-kreis { width: 32px; height: 32px; border-radius: 8px; background: var(--akzent); color: var(--auf-akzent); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.benutzer-menue { position: absolute; right: 0; top: 52px; min-width: 220px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius-m); box-shadow: var(--schatten-overlay); padding: 8px; display: flex; flex-direction: column; z-index: 60; }
.benutzer-menue a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 12px; border-radius: var(--radius-s); color: var(--text-2); text-decoration: none; font-weight: 600; }
.benutzer-menue a:hover, .benutzer-menue a.aktiv { background: var(--flaeche-2); color: var(--text); }
.benutzer-menue hr { border: none; border-top: 1px solid var(--linie); margin: 6px 0; width: 100%; }
.benutzer-menue .nur-mobil { display: none; }

/* ---------- Banner ---------- */
.banner { position: relative; max-width: 1920px; margin: 0 auto; overflow: hidden; background: var(--hintergrund-tief); }
.banner img { display: block; width: 100%; height: auto; }
.banner::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to bottom, transparent, var(--hintergrund)); pointer-events: none; }

/* ---------- Seiteninhalt ---------- */
.seite { max-width: var(--seitenbreite); margin: -24px auto 48px; padding: 0 24px; position: relative; z-index: 2; display: flex; flex-direction: column; gap: 20px; }
.duo { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; align-items: start; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }

/* Karten */
.card, .panel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--schatten); min-width: 0; }
.card h3 { margin: 0 0 16px; font-family: var(--schrift-titel); font-weight: 800; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; color: var(--text); border-bottom: 1px solid var(--linie); padding-bottom: 12px; }
.card h4 { color: var(--text); }
.status-mini { font-size: .9rem; color: var(--gedaempft); }
.status-mini .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gut); margin-right: 8px; }

/* Startseite: Kopf-Karte "Nächstes Spiel" */
.matchcard { padding: 0; overflow: hidden; }
.matchcard-kopf { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 24px; border-bottom: 1px solid var(--linie); }
.matchcard-marke { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 999px; background: var(--akzent-flaeche); color: var(--akzent); font-family: var(--schrift-titel); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.matchcard-marke::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--akzent); }
.matchcard-uhr { margin-left: auto; display: flex; align-items: baseline; gap: 6px; }
.matchcard-uhr .dc { font-size: 26px; color: var(--akzent); }
.matchcard-uhr small { color: var(--gedaempft); font-weight: 600; margin-right: 6px; }
.match { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 32px 24px; }
.match .tm { display: flex; align-items: center; gap: 16px; }
.match .tm.heim { justify-content: flex-end; text-align: right; }
.match .tm .dc { font-size: 48px; line-height: 1; }
.match .tm img { width: 72px; height: 72px; object-fit: contain; }
.match-tipp { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.match-tipp form { display: flex; align-items: center; gap: 12px; }
.match-tipp .sc { width: 96px; height: 104px; text-align: center; font-family: var(--schrift-titel); font-weight: 800; font-size: 64px; color: var(--text); background: var(--hintergrund); border: 2px solid var(--akzent); border-radius: 16px; box-shadow: 0 0 0 6px var(--akzent-flaeche); padding: 0; -moz-appearance: textfield; }
.match-tipp .sc::-webkit-outer-spin-button, .match-tipp .sc::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.match-tipp .doppelpunkt { font-family: var(--schrift-titel); font-weight: 800; font-size: 48px; color: var(--gedaempft); }
.match-hinweis { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--gut); }
.match-hinweis.offen { color: var(--akzent); }
.matchcard-fuss { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 24px; border-top: 1px solid var(--linie); background: var(--hauch-1); color: var(--gedaempft); font-size: 14px; }
.matchcard-fuss .rechts { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.sr-nur { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Startseite: Dein Stand + Saisontabelle */
.stand-platz { display: flex; align-items: baseline; gap: 16px; margin: 6px 0 14px; }
.stand-platz .dc:first-child { font-size: 72px; line-height: .9; color: var(--akzent); }
.stand-platz .punkte { font-family: var(--schrift-titel); font-weight: 800; font-size: 28px; }
.stand-platz small { display: block; color: var(--gedaempft); font-weight: 600; }
.stand-hinweis { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-m); background: var(--akzent-flaeche); border: 1px solid var(--akzent-rahmen); margin-bottom: 16px; font-size: 15px; }
.stand-hinweis span { color: var(--text-2); }
.stand-balken { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--flaeche-2); margin-bottom: 12px; }
.stand-balken span { width: var(--anteil, 0%); }
.stand-balken .v { background: var(--gut); } .stand-balken .t { background: var(--mittel); } .stand-balken .f { background: var(--schlecht); }
.stand-zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.stand-zahlen .dc { font-size: 28px; }
.trow { display: grid; grid-template-columns: 44px 1fr 140px 64px; gap: 10px; align-items: center; padding: var(--zeile-innen); border-radius: var(--radius-m); color: var(--text); text-decoration: none; }
.trow.ich { background: var(--akzent-flaeche); border: 1px solid var(--akzent-rahmen); }
.trow .dc { font-size: 22px; }
.trow .platz { color: var(--gedaempft); }
.trow .pkt { text-align: right; }
.trow .leiste { height: 8px; border-radius: 999px; background: var(--flaeche-2); overflow: hidden; }
.trow .leiste span { display: block; width: var(--anteil, 0%); height: 100%; background: var(--akzent); border-radius: 999px; }
.du-marke { font-size: 11px; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: var(--akzent); color: var(--auf-akzent); margin-left: 6px; vertical-align: middle; }
.karte-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.karte-kopf .dc { font-size: 22px; }
.karte-kopf a { color: var(--akzent); font-weight: 700; text-decoration: none; }
.neu-liste { display: flex; flex-direction: column; gap: 10px; }
.neu-eintrag { display: flex; align-items: center; gap: 10px; padding: var(--zeile-innen); }
.neu-eintrag b { color: var(--text); }
.neu-eintrag span { color: var(--text-2); }
.neu-eintrag a { margin-left: auto; color: var(--akzent); font-weight: 700; text-decoration: none; white-space: nowrap; }
.ampel-klein { display: inline-flex; gap: 4px; }
.ampel-klein i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.ampel-klein i:nth-child(1) { background: var(--gut); } .ampel-klein i:nth-child(2) { background: var(--mittel); } .ampel-klein i:nth-child(3) { background: var(--schlecht); }

/* Startseite für Gäste: Anmeldung */
.gast { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 20px; align-items: start; }
.gast h1 { font-family: var(--schrift-titel); font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 5vw, 56px); line-height: 1; margin: 0 0 14px; }
.gast h1 .accent { color: var(--akzent); }
.gast p { color: var(--text-2); }

/* Anmeldeformular (Startseite für Gäste) */
.login-form label { display: block; font-size: .85rem; color: var(--gedaempft); font-weight: 600; margin: 12px 0 4px; }
.login-form input { width: 100%; padding: 11px 12px; font-size: 1rem; }
.login-form input:disabled { cursor: not-allowed; color: var(--gedaempft); }
.login-form label.login-merken { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .9rem; color: var(--text-2); cursor: pointer; }
.login-form label.login-merken input { width: auto; margin: 0; padding: 0; accent-color: var(--akzent); }
.login-btn { width: 100%; margin-top: 16px; min-height: 48px; border: none; border-radius: 12px; background: var(--akzent); color: var(--auf-akzent); font-weight: 700; font-size: 1rem; cursor: pointer; }
.login-btn:hover { background: var(--akzent-hell); }
.login-btn:disabled { background: var(--neutral); color: var(--auf-farbe); cursor: not-allowed; }
.register-hint { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--linie); font-size: .9rem; color: var(--gedaempft); text-align: center; }
.register-hint a, .link-akzent { color: var(--akzent); font-weight: 700; text-decoration: none; }
.link-gedaempft { color: var(--gedaempft); text-decoration: none; }
.coming-soon { display: inline-block; background: var(--akzent-flaeche); color: var(--akzent); font-size: .72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 4px; }

/* Gäste-Infos (So funktioniert's) */
.hero-card { text-align: center; padding: 40px 30px; }
.hero-card .eyebrow { display: inline-block; background: var(--akzent-flaeche); color: var(--akzent); padding: 5px 14px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.hero-card h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0 0 14px; font-weight: 800; }
.hero-card h1 .accent { color: var(--akzent); }
.hero-card p { color: var(--gedaempft); max-width: 560px; margin: 0 auto; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillar .icon { font-size: 1.5rem; margin-bottom: 8px; }
.pillar h4 { margin: 0 0 6px; font-size: 1rem; }
.pillar p { margin: 0; font-size: .9rem; color: var(--gedaempft); }
.chain { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; font-weight: 700; }
.chain .node { background: var(--flaeche-2); border: 1px solid var(--linie); padding: 8px 14px; border-radius: 10px; }
.chain .arrow { color: var(--akzent); }
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.step { text-align: center; border: 1px solid var(--linie); border-radius: 12px; padding: 16px 10px; background: var(--flaeche-2); }
.step .num { width: 30px; height: 30px; background: var(--akzent); color: var(--auf-akzent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 8px; font-size: .9rem; }
.step h5 { margin: 0 0 4px; font-size: .9rem; }
.step p { margin: 0; font-size: .8rem; color: var(--gedaempft); }

/* ---------- Knöpfe ---------- */
.btn-send { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; background: var(--akzent); color: var(--auf-akzent); border: none; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none; }
.btn-send:hover { background: var(--akzent-hell); color: var(--auf-akzent); }
.btn-send:disabled { background: var(--neutral); color: var(--auf-farbe); cursor: not-allowed; }
.btn-cancel { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: transparent; color: var(--text-2); border: 1px solid var(--linie); padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; }
.btn-cancel:hover { background: var(--flaeche-2); color: var(--text); }
.btn-zweit { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--hauch-2); border: 1px solid var(--linie); color: var(--text); font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-zweit:hover { background: var(--flaeche-2); color: var(--text); }

/* ---------- Formulare ---------- */
.form-grid { display: grid; grid-template-columns: 170px 1fr; gap: 12px 16px; align-items: start; }
.form-grid label { font-size: .92rem; font-weight: 600; padding-top: 10px; color: var(--text-2); }
.form-grid input[type="text"], .form-grid input[type="email"], .form-grid input[type="password"], .form-grid textarea { width: 100%; padding: 10px 12px; font-size: .95rem; }
.form-grid textarea { resize: vertical; }
.form-actions { grid-column: 2; display: flex; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.form-errors { background: var(--schlecht-flaeche); border: 1px solid var(--schlecht-rahmen); color: var(--schlecht); border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; }
.form-errors ul { margin: 6px 0 0; padding-left: 18px; }
.form-success { text-align: center; padding: 20px 0; }
.form-success .check { font-size: 2.4rem; margin-bottom: 10px; color: var(--gut); }

/* ---------- Laufende Spiele (inc/common.php) ---------- */
.laufend-liste { display: flex; flex-direction: column; gap: var(--liste-abstand); }
.laufend-zeile { display: grid; grid-template-columns: 22px minmax(72px,1fr) 44px minmax(72px,1fr) 22px auto; align-items: center; column-gap: 8px; row-gap: 2px; border: 1px solid var(--linie); background: var(--flaeche-2); border-radius: 10px; padding: var(--zeile-innen); min-width: 0; }
.laufend-zeile .team-logo { width: 22px; height: 22px; object-fit: contain; min-width: 0; }
.laufend-zeile .team-name { font-weight: 600; font-size: .88rem; line-height: 1.2; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.laufend-zeile .team-name.heim { text-align: left; }
.laufend-zeile .team-name.auswaerts { text-align: right; }
.laufend-zeile .vs { color: var(--gedaempft); font-size: .8rem; text-align: center; }
.laufend-zeile .ergebnis { text-align: center; font-family: var(--schrift-titel); font-weight: 800; font-size: 1.05rem; color: var(--text); white-space: nowrap; }
.laufend-zeile .eigener-tipp { grid-column: 1 / -1; font-size: .82rem; color: var(--gedaempft); margin-top: 0; }
.laufend-zeile .eigener-tipp b { color: var(--text); }

.laufend-badge.beendet { background: var(--gut-flaeche); color: var(--gut); }
.laufend-badge.verzoegert { background: var(--akzent-flaeche); color: var(--akzent); }
.news-titel { margin: 0 0 8px; font-size: .9rem; color: var(--akzent); }
.news-titel.mit-abstand { margin-top: 16px; }

/* Team-Logos: feiner heller Schein, damit dunkle Logos auf dunklem Grund erkennbar bleiben */
img[src*="images/teams/"] { filter: drop-shadow(0 0 1.5px var(--logo-schein)); }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--linie); margin-top: 24px; }
.site-footer-innen { max-width: var(--seitenbreite); margin: 0 auto; padding: 22px 24px 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: .9rem; color: var(--gedaempft); }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover, .site-footer a.aktiv { color: var(--akzent); }
.site-footer-empfehlungen { margin-left: auto; }
.site-footer-empfehlungen a { color: var(--text-2); }

/* ---------- Leiste unten (nur Handy) ---------- */
.tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--hintergrund-tief); border-top: 1px solid var(--linie); padding-bottom: env(safe-area-inset-bottom, 0px); }
.tabbar a, .tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 58px; font-size: 11px; font-weight: 600; color: var(--gedaempft); text-decoration: none; background: none; border: none; cursor: pointer; font-family: inherit; }
.tabbar a.aktiv, .tabbar a:hover, .tabbar button:hover { color: var(--akzent); }
.tabbar svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 960px) {
    .kopf-nav { display: none; }
    .kopf-logo-text { display: none; }
    .tabbar { display: flex; }
    body { padding-bottom: 76px; }
    .benutzer-menue .nur-mobil { display: flex; }
    .seite { padding: 0 14px; margin-top: -12px; }
    .duo, .trio, .gast { grid-template-columns: 1fr; }
    .match { grid-template-columns: 1fr; text-align: center; padding: 22px 16px; gap: 16px; }
    .match .tm, .match .tm.heim { justify-content: center; text-align: center; flex-direction: column; gap: 8px; }
    .match .tm.heim { flex-direction: column-reverse; }
    .match .tm .dc { font-size: 40px; }
    .match .tm img { width: 56px; height: 56px; }
    .match-tipp .sc { width: 72px; height: 80px; font-size: 48px; }
    .matchcard-uhr { margin-left: 0; }
    .trow { grid-template-columns: 32px 1fr 64px; }
    .trow .leiste { display: none; }
    .form-grid { grid-template-columns: 1fr; }
    .form-actions { grid-column: 1; }
    .pillars { grid-template-columns: 1fr; }
    .site-footer-empfehlungen { margin-left: 0; }
}
@media (max-width: 480px) {
    .laufend-zeile { grid-template-columns: 20px 1fr auto 1fr 20px; grid-template-areas: "hlogo hname vs aname alogo" "badge badge badge badge badge"; }
    .laufend-zeile .team-logo.heim { grid-area: hlogo; }
    .laufend-zeile .team-name.heim { grid-area: hname; }
    .laufend-zeile .vs, .laufend-zeile .ergebnis { grid-area: vs; }
    .laufend-zeile .team-name.auswaerts { grid-area: aname; }
    .laufend-zeile .team-logo.auswaerts { grid-area: alogo; }
    .laufend-zeile .laufend-badge { grid-area: badge; justify-self: start; }
    .stand-zahlen { grid-template-columns: repeat(2, 1fr); }
}
/* Admin-Seiten (inc/admmenu.php) */
.adm-menue { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.adm-menue button { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--linie); background: var(--flaeche-2); color: var(--text); font-weight: 600; cursor: pointer; }
.adm-menue button.aktiv { background: var(--akzent); color: var(--auf-akzent); border-color: var(--akzent); }

/* ======================================================================
   Aus den Seiten hierher verschoben (2026-10-05): ehemals <style>-Bloecke
   ====================================================================== */

/* ----- aus inc/chat_widget.php ----- */
#chat-knopf { position: fixed; right: 18px; bottom: 18px; z-index: 900; background: var(--flaeche-3); color: var(--auf-farbe); border: 2px solid var(--akzent); border-radius: 30px; padding: 10px 16px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px var(--schatten-leicht-farbe); }
#chat-knopf .chat-neu { display: none; background: var(--schlecht); color: var(--auf-farbe); border-radius: 10px; padding: 1px 7px; margin-left: 6px; font-size: .75rem; }
#chat-fenster { position: fixed; right: 18px; bottom: 74px; z-index: 901; width: 340px; max-width: calc(100vw - 24px); height: 460px; max-height: calc(100vh - 110px); background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; box-shadow: 0 8px 30px var(--schatten-mittel-farbe); display: none; flex-direction: column; overflow: hidden; }
#chat-fenster.offen { display: flex; }
#chat-kopf { background: var(--flaeche-3); color: var(--auf-farbe); padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
#chat-kopf button { background: none; border: none; color: var(--auf-farbe); font-size: 1.1rem; cursor: pointer; }
#chat-liste { flex: 1; overflow-y: auto; padding: 10px; background: var(--flaeche-2); font-size: .85rem; }
.chat-msg { margin: 0 0 8px; max-width: 85%; }
.chat-msg .chat-blase { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; padding: 6px 9px; white-space: pre-wrap; word-wrap: break-word; }
.chat-msg.eigen { margin-left: auto; }
.chat-msg.eigen .chat-blase { background: var(--akzent-flaeche); border-color: var(--akzent); }
.chat-msg .chat-meta { font-size: .7rem; color: var(--gedaempft); margin: 0 4px 2px; display: flex; gap: 6px; }
.chat-msg .chat-meta b { color: var(--text); }
.chat-msg .chat-del { background: none; border: none; color: var(--schlecht); cursor: pointer; font-size: .7rem; padding: 0; }
#chat-form { display: flex; gap: 6px; padding: 8px; border-top: 1px solid var(--linie); }
#chat-text { flex: 1; resize: none; height: 38px; border: 1px solid var(--linie); border-radius: 8px; padding: 8px; font: inherit; font-size: .85rem; }
#chat-form button { background: var(--akzent); border: none; border-radius: 8px; padding: 0 14px; font-weight: 700; cursor: pointer; }
#chat-hinweis { font-size: .72rem; color: var(--schlecht); padding: 0 10px 6px; display: none; }

/* ----- aus inc/common.php ----- */
    /* Waagerecht liegende Ampel hinter dem eigenen Tipp */
    .tipp-ampel { display:inline-flex; align-items:center; gap:4px; margin-left:8px;
                  padding:3px 5px; background:var(--flaeche-3); border-radius:10px;
                  vertical-align:middle; line-height:0; }
    .tipp-ampel .ampel-lampe { width:9px; height:9px; border-radius:50%;
                  background:var(--neutral); box-shadow:inset 0 1px 1px var(--abdunkeln); }
    .tipp-ampel .ampel-lampe.rot.an   { background:var(--schlecht); box-shadow:0 0 6px var(--schlecht); }
    .tipp-ampel .ampel-lampe.gelb.an  { background:var(--mittel); box-shadow:0 0 6px var(--mittel); }
    .tipp-ampel .ampel-lampe.gruen.an { background:var(--gut); box-shadow:0 0 6px var(--gut); }
    

/* ----- aus index.php ----- */
        .reiter-leiste { display:flex; gap:6px; margin:0 0 16px; border-bottom:2px solid var(--linie); }
        .reiter-leiste button { font-family:inherit; font-size:0.86rem; font-weight:700; cursor:pointer;
            background:none; border:none; border-bottom:3px solid transparent; margin-bottom:-2px;
            padding:8px 14px; color:var(--gedaempft); border-radius:6px 6px 0 0; }
        .reiter-leiste button:hover { color:var(--text); background:var(--flaeche-2); }
        .reiter-leiste button.aktiv { color:var(--akzent); border-bottom-color:var(--akzent); }
        
        .naechste-zeile {
            display: grid;
            grid-template-columns: 24px minmax(64px,1fr) 44px minmax(64px,1fr) 24px auto auto;
            align-items: center;
            column-gap: 8px;
            row-gap: 2px;
            border: 1px solid var(--linie);
            border-radius: 10px;
            padding: var(--zeile-innen);
            min-width: 0;
        }
        .naechste-zeile .team-logo { width: 24px; height: 24px; object-fit: contain; min-width: 0; }
        .naechste-zeile .team-name { font-weight: 600; font-size: 0.84rem; line-height: 1.25; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .naechste-zeile .team-name.heim { text-align: left; }
        .naechste-zeile .team-name.auswaerts { text-align: right; }
        .naechste-zeile .vs { color: var(--gedaempft); font-size: 0.75rem; text-align: center; }
        .laufend-badge { display: inline-block; background: var(--info-flaeche); color: var(--info); font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 2px 7px; border-radius: 999px; white-space: nowrap; } /* einzige Definition von .laufend-badge (11.10.2026) */
        .naechste-zeile .tipp-aktion .btn-send { white-space: nowrap; }
        .tipp-form { display: none; border: 1px dashed var(--linie); border-radius: 10px; padding: 12px 14px; margin: -2px 0 10px; background: var(--flaeche-2); }
        .tipp-form .tipp-eingabe { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
        .tipp-form .tipp-eingabe input[type=number] { width: 60px; text-align: center; padding: 6px; border: 1px solid var(--linie); border-radius: 6px; }
        .tipp-form .tipp-eingabe span.team-name { font-weight: 600; font-size: 0.88rem; flex: 1; }
        .tipp-form .tipp-buttons { display: flex; gap: 10px; }
        .btn-tipp-loeschen { background: none; border: 1px solid var(--schlecht); color: var(--schlecht); border-radius: 8px; padding: 8px 14px; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
        @media (max-width: 560px) {
            .naechste-zeile {
                grid-template-columns: 20px 1fr auto 1fr 20px;
                grid-template-areas:
                    "hlogo hname vs aname alogo"
                    "badge badge akt akt akt";
            }
            .naechste-zeile .team-logo.heim { grid-area: hlogo; }
            .naechste-zeile .team-name.heim { grid-area: hname; }
            .naechste-zeile .vs { grid-area: vs; }
            .naechste-zeile .team-name.auswaerts { grid-area: aname; }
            .naechste-zeile .team-logo.auswaerts { grid-area: alogo; }
            .naechste-zeile .laufend-badge { grid-area: badge; justify-self: start; }
            .naechste-zeile .tipp-aktion { grid-area: akt; justify-self: end; }
        }
        
            /* Abschnitte einer News, die einen Spieltag nennen: zugeklappt und
               aufklappbar. Die Gesamtliste bleibt bewusst immer offen. */
            .news-klapp > summary { list-style:none; cursor:pointer; font-family:inherit;
                font-size:0.9rem; font-weight:700; color:var(--akzent);
                margin:0 0 8px; display:flex; align-items:center; gap:6px; }
            .news-klapp > summary::-webkit-details-marker { display:none; }
            .news-klapp > summary::before { content:'\25B6'; font-size:0.7em; transition:transform .15s; }
            .news-klapp[open] > summary::before { transform:rotate(90deg); }
            .news-klapp > summary .anzahl { font-weight:500; color:var(--gedaempft); font-size:0.82rem; }
            

/* ----- aus mannschaften.php ----- */
            .team-gruppe { margin-top: 18px; }
            .team-gruppe:first-child { margin-top: 0; }
            .team-gruppe h4 { margin: 0 0 10px; font-size: 0.95rem; color: var(--text); }
            .team-grid { display: flex; flex-wrap: wrap; gap: 12px; }
            .team-kachel { width: 130px; background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: 10px; padding: 10px; text-align: center; }
            .team-kachel img { width: 56px; height: 56px; object-fit: contain; }
            .team-kachel .name { font-size: 0.78rem; font-weight: 600; margin-top: 6px; }
            

/* ----- aus spielregeln.php ----- */
    .regel-liste { margin:0; padding-left:20px; color:var(--text); font-size:0.92rem; line-height:1.8; }
    .punkte-tabelle { width:100%; border-collapse:collapse; font-size:0.9rem; margin-top:6px; }
    .punkte-tabelle th { text-align:left; border-bottom:2px solid var(--linie); padding:var(--zelle-innen); color:var(--gedaempft); font-size:0.76rem; text-transform:uppercase; letter-spacing:0.5px; }
    .punkte-tabelle td { padding:var(--zelle-innen); border-bottom:1px solid var(--linie); vertical-align:top; }
    .punkte-tabelle tr:nth-child(2) td { font-weight:700; background:var(--akzent-flaeche); }
    .punkte-tabelle .zeitpunkt { display:flex; align-items:center; gap:8px; font-weight:600; }
    .beispiel { border:1px solid var(--linie); border-radius:12px; padding:14px 16px; margin-top:12px; background:var(--flaeche-2); }
    .beispiel:first-child { margin-top:0; }
    .beispiel .titel { font-weight:700; font-size:0.88rem; color:var(--text); margin-bottom:6px; display:flex; align-items:center; gap:8px; }
    .beispiel p { margin:0; font-size:0.88rem; color:var(--text); line-height:1.6; }
    .beispiel .punkte { display:inline-block; margin-top:8px; padding:4px 12px; border-radius:999px; background:var(--akzent); color: var(--auf-akzent); font-weight:800; font-size:0.85rem; }
    .beispiel.null .punkte { background:var(--flaeche-3); color:var(--gedaempft); }
    

/* ----- aus spieltag.php ----- */
                .spieltag-register { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; border-bottom: 1px solid var(--linie); }
                .spieltag-register a { padding: 8px 10px; font-size: 0.85rem; font-weight: 700; text-decoration: none; color: var(--gedaempft); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
                .spieltag-register a.aktiv { color: var(--text); border-bottom-color: var(--akzent); }
                
            .spiel-liste { display: flex; flex-direction: column; gap: var(--liste-abstand); }
            /* Grid statt Flexbox: "vs" bekommt eine eigene feste Spalte, damit es
               nie mit einem auf 2 Zeilen umbrechenden Teamnamen ueberlappt. */
            .spiel-zeile {
                display: grid;
                grid-template-columns: 24px minmax(72px,1fr) 20px minmax(72px,1fr) 24px 46px 108px auto;
                align-items: center;
                column-gap: 8px;
                row-gap: 2px;
                border: 1px solid var(--linie);
                border-radius: 10px;
                padding: var(--zeile-innen);
                min-width: 0;
            }
            .spiel-zeile .team-logo { width: 24px; height: 24px; object-fit: contain; min-width: 0; }
            .spiel-zeile .team-name { font-weight: 600; font-size: 0.84rem; line-height: 1.25; min-width: 0; }
            .spiel-zeile .team-name.heim { text-align: left; }
            .spiel-zeile .team-name.auswaerts { text-align: right; }
            .spiel-zeile .vs { color: var(--gedaempft); font-size: 0.75rem; text-align: center; }
            .spiel-zeile .ergebnis { text-align: center; font-weight: 800; font-size: 0.9rem; color: var(--text); }
            .spiel-zeile .anstoss { text-align: right; font-size: 0.72rem; line-height: 1.3; color: var(--gedaempft); white-space: nowrap; }
            .spiel-zeile .anstoss .anstoss-zeit { display: block; }
            .spiel-zeile .tipp-aktion { justify-self: end; }
            .spiel-zeile .tipp-aktion .btn-send { white-space: nowrap; }
            .mein-tipp-zeile { margin: -4px 0 0; padding: 0 14px; }
            .mein-tipp-badge { display: inline-block; background: var(--akzent); color: var(--auf-akzent); font-size: 0.72rem; font-weight: 700; white-space: nowrap; padding: 3px 10px; border-radius: 999px; }
            .paarung-klick { cursor: pointer; }
            .paarung-klick:hover { text-decoration: underline; }
            img.paarung-klick:hover { opacity: 0.75; }
            .paarung-overlay { display: none; position: fixed; inset: 0; background: var(--overlay-dunkel); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
            .paarung-overlay.offen { display: flex; }
            .paarung-karte { background: var(--flaeche); border-radius: 14px; padding: 22px 24px; max-width: 420px; width: 100%; max-height: 80vh; overflow-y: auto; position: relative; box-shadow: 0 20px 50px var(--overlay-dunkel); }
            .paarung-schliessen { position: absolute; top: 10px; right: 12px; background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--gedaempft); }
            .paarung-karte h4 { margin: 0 0 4px; color: var(--text); }
            .paarung-karte .paarung-meta { color: var(--gedaempft); font-size: 0.8rem; margin: 0 0 12px; }
            .paarung-liste { list-style: none; margin: 0; padding: 0; font-size: 0.88rem; }
            .paarung-liste li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--linie); }
            .paarung-liste li:last-child { border-bottom: none; }
            .paarung-namen { color: var(--gedaempft); font-size: 0.85rem; line-height: 1.6; }
            /* Ab hier passt die 8-spaltige Zeile nicht mehr nebeneinander --
               auf zwei Reihen umbauen: oben Teams, unten Ergebnis/Anstoss/Aktion. */
            @media (max-width: 560px) {
                .spiel-zeile {
                    grid-template-columns: 20px 1fr auto 1fr 20px;
                    grid-template-areas:
                        "hlogo hname vs aname alogo"
                        "erg   erg   anst anst akt";
                    row-gap: 4px;
                }
                .spiel-zeile .team-logo.heim { grid-area: hlogo; }
                .spiel-zeile .team-name.heim { grid-area: hname; }
                .spiel-zeile .vs { grid-area: vs; }
                .spiel-zeile .team-name.auswaerts { grid-area: aname; }
                .spiel-zeile .team-logo.auswaerts { grid-area: alogo; }
                .spiel-zeile .ergebnis { grid-area: erg; text-align: left; }
                .spiel-zeile .anstoss { grid-area: anst; text-align: left; }
                .spiel-zeile .tipp-aktion { grid-area: akt; justify-self: end; }
            }
            .letzte-begegnungen { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--linie); }
            .letzte-begegnungen h5 { margin: 0 0 6px; font-size: 0.78rem; color: var(--gedaempft); font-weight: 700; }
            .letzte-begegnungen ul { list-style: none; margin: 0; padding: 0; font-size: 0.82rem; }
            .letzte-begegnungen li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; color: var(--text); }
            .letzte-begegnungen li span.datum { color: var(--gedaempft); }
            

/* ----- aus spieltage.php ----- */
            .spieltage-tabelle { width:100%; border-collapse:collapse; font-size:0.9rem; }
            .spieltage-tabelle th { text-align:left; border-bottom:2px solid var(--linie); padding:var(--zelle-innen); color:var(--gedaempft); font-size:0.8rem; text-transform:uppercase; white-space:nowrap; }
            .spieltage-tabelle td { padding:var(--zelle-innen); border-bottom:1px solid var(--linie); white-space:nowrap; }
            .spieltage-tabelle tr.zeile-letztes td { background: var(--gut-flaeche); }
            .spieltage-tabelle tr.zeile-naechstes td { background: var(--info-flaeche); }
            @media (max-width: 480px) {
                .spieltage-tabelle { font-size: 0.8rem; }
                .spieltage-tabelle th, .spieltage-tabelle td { padding: 4px; }
            }
            

/* ----- aus spieltagergebnisse.php ----- */
            .erg-tabelle { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
            .erg-tabelle th, .erg-tabelle td { padding: var(--zelle-innen); text-align: center; border-bottom: 1px solid var(--linie); }
            .erg-tabelle th { color: var(--gedaempft); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; }
            .erg-tabelle td.name { text-align: left; font-weight: 600; }
            .erg-tabelle td.punkte { font-weight: 800; color: var(--akzent); font-size: 1rem; }
            

/* ----- aus tabelle.php ----- */
            .tg-register { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; border-bottom: 1px solid var(--linie); }
            .tg-register a { padding: 8px 10px; font-size: 0.85rem; font-weight: 700; text-decoration: none; color: var(--gedaempft); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
            .tg-register a.aktiv { color: var(--text); border-bottom-color: var(--akzent); }
            
            /* Auf der Tabellenseite die Seitenspalten schmaler/das Layout breiter machen,
               damit die 8-spaltige Saisontabelle ohne horizontales Scrollen passt --
               NUR ab der Breite, ab der die Seitenspalten ueberhaupt noch nebeneinander
               stehen (siehe @media(max-width:900px) in style.css, die auf 1 Spalte
               umschaltet). Ohne dieses min-width waeren die festen 170px/210px auch auf
               dem Handy aktiv und wuerden die Seite sprengen. */
            @media (min-width: 901px) {
                body:has(.tab-tabelle) .layout { max-width: 1400px; grid-template-columns: 170px minmax(0, 1fr) 210px; }
            }
            .tab-tabelle { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
            .tab-tabelle th, .tab-tabelle td { padding: var(--zelle-innen); text-align: center; border-bottom: 1px solid var(--linie); }
            .tab-tabelle th { color: var(--gedaempft); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; }
            .tab-tabelle td.name { text-align: left; font-weight: 600; }
            .tab-tabelle td.platz { font-weight: 800; color: var(--text); }
            .tab-tabelle td.punkte { font-weight: 800; color: var(--akzent); font-size: 1rem; }
            .tab-tabelle tr:first-child td.platz { color: var(--akzent); }
            .tab-pager { display: flex; justify-content: center; gap: 6px; margin: 16px 0 0; flex-wrap: wrap; }
            .tab-pager a, .tab-pager span { display: inline-block; min-width: 30px; padding: 6px 8px; text-align: center; border-radius: 8px; font-size: 0.85rem; font-weight: 700; text-decoration: none; }
            .tab-pager a { background: var(--flaeche-2); color: var(--text); border: 1px solid var(--linie); }
            .tab-pager a:hover { background: var(--linie); }
            .tab-pager span.aktiv { background: var(--akzent); color: var(--auf-akzent); }
            .tab-tabelle td.name a { color: var(--text); text-decoration: none; cursor: pointer; }
            .tab-tabelle td.name a:hover { color: var(--akzent); text-decoration: underline; }
            .tab-tabelle td.name .aufklapp-pfeil { display: inline-block; font-size: 0.7rem; color: var(--gedaempft); margin-left: 4px; transition: transform 0.15s; }
            .tab-tabelle tr.details-offen td.name .aufklapp-pfeil { transform: rotate(90deg); }
            .spieler-details { display: none; background: var(--flaeche-2); }
            .spieler-details.offen { display: table-row; }
            .spieler-details td { padding: var(--zeile-innen); }
            .details-tabelle { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
            .details-tabelle th { text-align: left; color: var(--gedaempft); font-size: 0.68rem; text-transform: uppercase; padding: var(--zelle-innen); border-bottom: 1px solid var(--linie); }
            .details-tabelle td { padding: var(--zelle-innen); border-bottom: 1px solid var(--linie); }
            .details-tabelle td.punkte-zelle { text-align: center; font-weight: 700; white-space: nowrap; }
            .punkte-volltreffer { color: var(--gut); }
            .punkte-tendenz { color: var(--info); }
            .punkte-fehl { color: var(--schlecht); }
            .punkte-offen { color: var(--gedaempft); font-weight: 400; }
            

/* ----- aus tippgemeinschaften.php ----- */
        .btn-x-entfernen {
            width: 18px; height: 18px; padding: 0; border-radius: 50%; border: 1px solid var(--schlecht-rahmen);
            background: var(--schlecht-flaeche); color: var(--schlecht); font-size: 0.78rem; line-height: 1; font-weight: 700;
            cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
        }
        .btn-x-entfernen:hover { background: var(--schlecht); color: var(--auf-farbe); border-color: var(--schlecht); }
    


/* ======================================================================
   Ehemals style="..." direkt an Elementen (2026-10-05). Klasse st-NN = gleiche Angaben; :not(#_) gibt ihnen Vorrang wie frueher dem style-Attribut (JS-Aenderungen am Element gewinnen weiterhin).
   ====================================================================== */
.st-01:not(#_) { margin-top: 10px; } /* adm.ergebnisse.php <div>, adm.saisondaten.php <div> */
.st-02:not(#_) { display: none; } /* adm.ergebnisse.php <form>, adm.saisondaten.php <form>, index.php <form> */
.st-03:not(#_) { background: var(--flaeche-2); padding: 10px; max-width: 800px; white-space: pre-wrap; } /* adm.ergebnisse.php <pre>, adm.saisondaten.php <pre> */
.st-04:not(#_) { border-collapse: collapse; } /* adm.grid.php <table> */
.st-05:not(#_) { width: 70px; display: inline-block; } /* anmeldung.php <input>, kontakt.php <input> */
.st-06:not(#_) { color: var(--gedaempft); } /* anmeldung.php <p>, bestaetigen.php <p>, einstellungen.php <p> … */
.st-07:not(#_) { margin-top: 14px; } /* anmeldung.php <a>, bestaetigen.php <a>, kontakt.php <a> … */
.st-08:not(#_) { color: var(--gedaempft); font-size: 0.92rem; margin-top: 0; } /* anmeldung.php <p>, einstellungen.php <p>, index.php <p> … */
.st-09:not(#_) { position: absolute; left: -9999px; top: -9999px; } /* anmeldung.php <div> */
.st-10:not(#_) { margin: 8px 0 0; } /* bestaetigen.php <p>, passwort-neu.php <p> */
.st-11:not(#_) { padding: 12px 16px; } /* einstellungen.php <div> */
.st-12:not(#_) { font-size: 1.4rem; margin-bottom: 4px; } /* einstellungen.php <div> */
.st-13:not(#_) { width: 90px; display: inline-block; } /* einstellungen.php <input> */
.st-14:not(#_) { border-color: var(--schlecht-rahmen); } /* einstellungen.php <div>, index.php <div> */
.st-15:not(#_) { color: var(--schlecht); } /* einstellungen.php <h3>, index.php <h3> */
.st-16:not(#_) { color: var(--gedaempft); font-size: 0.88rem; margin-top: 0; } /* einstellungen.php <p> */
.st-17:not(#_) { max-width: 220px; } /* einstellungen.php <input> */
.st-18:not(#_) { background: var(--schlecht); color: var(--auf-farbe); } /* einstellungen.php <button> */
.st-19:not(#_) { color: var(--akzent); font-weight: 700; text-decoration: none; } /* impressum.php <a>, inc/layout.php <a>, spieltag.php <a> */
.st-20:not(#_) { display: flex; align-items: center; justify-content: space-between; gap: 10px; } /* inc/common.php <h3>, spieltag.php <h3>, spieltage.php <h3> … */
.st-21:not(#_) { padding: 5px 12px; font-size: 0.72rem; flex-shrink: 0; } /* inc/common.php <button>, index.php <button>, spieltag.php <button> … */
.st-22:not(#_) { display: none; background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; font-size: 0.86rem; } /* inc/common.php <div>, spieltag.php <div>, spieltage.php <div> … */
.st-23:not(#_) { margin: 0 0 8px; } /* inc/common.php <h4>, index.php <h4>, spieltag.php <h4> … */
.st-24:not(#_) { margin: 0; color: var(--gedaempft); } /* inc/common.php <p>, index.php <p>, spieltag.php <p> … */
.st-25:not(#_) { color: var(--gedaempft); font-size: 0.78rem; margin: 12px 0 0; } /* inc/common.php <p> */
.st-26:not(#_) { margin-bottom: 16px; } /* inc/common.php <form>, spieltagergebnisse.php <form> */
.st-27:not(#_) { font-size: 0.82rem; font-weight: 600; color: var(--gedaempft); margin-right: 8px; } /* inc/common.php <label>, spieltagergebnisse.php <label> */
.st-28:not(#_) { color: var(--schlecht); font-weight: 700; } /* inc/layout.php <span> */
.st-29:not(#_) { margin: 0 0 14px; font-weight: 700; } /* inc/layout.php <p> */
.st-30:not(#_) { width: 100%; text-align: center; box-sizing: border-box; } /* inc/layout.php <a> */
.st-31:not(#_) { margin-bottom: 12px; padding: 10px 12px; font-size: 0.8rem; } /* inc/layout.php <div> */
.st-32:not(#_) { margin: 10px 0 0; font-size: 0.8rem; } /* inc/layout.php <p> */
.st-33:not(#_) { color: var(--gedaempft); text-decoration: none; } /* inc/layout.php <a> */
.st-34:not(#_) { color: var(--akzent); } /* inc/layout.php <span> */
.st-35:not(#_) { font-size: 0.75rem; opacity: 0.75; } /* inc/layout.php <span> */
.st-36:not(#_) { margin: 0 0 10px; } /* index.php <p>, tippgemeinschaften.php <h4> */
.st-37:not(#_) { padding-bottom: 14px; } /* index.php <div> */
.st-38:not(#_) { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; } /* index.php <h3> */
.st-39:not(#_) { display: none; background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: 10px; padding: 14px 16px; margin-top: 14px; font-size: 0.86rem; } /* index.php <div> */
.st-40:not(#_) { margin: 0 0 10px; color: var(--gedaempft); } /* index.php <p> */
.st-41:not(#_) { margin: 0 0 12px; font-size: 0.78rem; font-weight: 700; color: var(--gedaempft); } /* index.php <p> */
.st-42:not(#_) { padding: 8px 14px; font-size: 0.82rem; } /* index.php <button>, spieltag.php <button> */
.st-43:not(#_) { text-align: right; } /* index.php <span>, spieltag.php <span>, spieltage.php <th> */
.st-44:not(#_) { padding: 8px 16px; font-size: 0.82rem; } /* index.php <button>, spieltag.php <button> */
.st-45:not(#_) { margin: 0 0 8px; font-size: 0.9rem; color: var(--akzent); } /* index.php <h4> */
.st-46:not(#_) { color: var(--gedaempft); font-size: 0.92rem; margin: 0; } /* index.php <p> */
.st-47:not(#_) { color: var(--gedaempft); font-size: 0.85rem; margin-top: 0; } /* index.php <p> */
.st-48:not(#_) { margin-top: 10px; font-size: 0.85rem; color: var(--gedaempft); } /* index.php <div> */
.st-49:not(#_) { background: var(--flaeche-2); padding: 10px; margin-top: 12px; white-space: pre-wrap; font-size: 0.82rem; } /* index.php <pre> */
.st-50:not(#_) { overflow-x: auto; } /* spielregeln.php <div>, spieltage.php <div>, spieltagergebnisse.php <div> … */
.st-51:not(#_) { color: var(--gedaempft); font-weight: 400; } /* spielregeln.php <span> */
.st-52:not(#_) { color: var(--gedaempft); font-size: 0.88rem; margin: 14px 0 0; } /* spielregeln.php <p> */
.st-53:not(#_) { margin: 0 0 8px; color: var(--gedaempft); } /* spieltag.php <p>, tabelle.php <p>, tippgemeinschaften.php <p> */
.st-54:not(#_) { display: none; color: var(--schlecht); font-size: 0.8rem; margin-top: 6px; } /* spieltag.php <div> */
.st-55:not(#_) { margin: 0 0 8px; font-weight: 700; } /* spieltag.php <p> */
.st-56:not(#_) { margin-top: 8px; } /* spieltag.php <p>, tippgemeinschaften.php <form> */
.st-57:not(#_) { margin-top: 16px; } /* spieltag.php <p> */
.st-58:not(#_) { color: var(--akzent); font-weight: 700; text-decoration: none; white-space: nowrap; } /* spieltage.php <a> */
.st-59:not(#_) { text-align: left; } /* spieltagergebnisse.php <th>, tabelle.php <th> */
.st-60:not(#_) { color: var(--gedaempft); margin: 0; } /* tabelle.php <p> */
.st-61:not(#_) { color: var(--gedaempft); font-size: 0.78rem; margin: 14px 0 0; } /* tabelle.php <p> */
.st-62:not(#_) { margin: 14px 0 8px; } /* tippgemeinschaften.php <h4> */
.st-63:not(#_) { margin-bottom: 12px; padding: 10px 12px; font-size: 0.85rem; } /* tippgemeinschaften.php <div> */
.st-64:not(#_) { background: var(--gut-flaeche); border: 1px solid var(--gut-rahmen); color: var(--gut); border-radius: 10px; padding: 10px 12px; font-size: 0.85rem; margin-bottom: 12px; } /* tippgemeinschaften.php <div> */
.st-65:not(#_) { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; } /* tippgemeinschaften.php <div> */
.st-66:not(#_) { border: 1px solid var(--linie); border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; } /* tippgemeinschaften.php <div> */
.st-67:not(#_) { display: flex; gap: 8px; } /* tippgemeinschaften.php <div> */
.st-68:not(#_) { display: inline; } /* tippgemeinschaften.php <form> */
.st-69:not(#_) { padding: 6px 14px; font-size: 0.8rem; } /* tippgemeinschaften.php <button> */
.st-70:not(#_) { padding: 6px 14px; } /* tippgemeinschaften.php <button> */
.st-71:not(#_) { display: flex; flex-direction: column; gap: 16px; } /* tippgemeinschaften.php <div> */
.st-72:not(#_) { border: 1px solid var(--linie); border-radius: 10px; padding: 14px 16px; } /* tippgemeinschaften.php <div> */
.st-73:not(#_) { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; } /* tippgemeinschaften.php <div> */
.st-74:not(#_) { margin: 0; font-size: 1rem; } /* tippgemeinschaften.php <h5> */
.st-75:not(#_) { cursor: help; } /* tippgemeinschaften.php <span> */
.st-76:not(#_) { color: var(--gedaempft); font-weight: 400; font-size: 0.82rem; } /* tippgemeinschaften.php <span> */
.st-77:not(#_) { color: var(--akzent); font-weight: 700; text-decoration: none; font-size: 0.85rem; } /* tippgemeinschaften.php <a> */
.st-78:not(#_) { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; font-size: 0.85rem; color: var(--gedaempft); } /* tippgemeinschaften.php <div> */
.st-79:not(#_) { display: flex; align-items: center; gap: 6px; } /* tippgemeinschaften.php <div> */
.st-80:not(#_) { color: var(--akzent); font-weight: 600; } /* tippgemeinschaften.php <span> */
.st-81:not(#_) { padding: 2px 10px; font-size: 0.72rem; } /* tippgemeinschaften.php <button> */
.st-82:not(#_) { display: inline; line-height: 0; } /* tippgemeinschaften.php <form> */
.st-83:not(#_) { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; align-items: center; } /* tippgemeinschaften.php <form> */
.st-84:not(#_) { padding: 6px 10px; border: 1px solid var(--linie); border-radius: 8px; font-size: 0.85rem; } /* tippgemeinschaften.php <input> */
.st-85:not(#_) { margin: 10px 0 0; font-size: 0.78rem; color: var(--gedaempft); } /* tippgemeinschaften.php <p> */
.st-86:not(#_) { margin: 28px 0 10px; } /* tippgemeinschaften.php <h4> */
.st-87:not(#_) { width: 100%; border-collapse: collapse; font-size: 0.88rem; } /* tippgemeinschaften.php <table> */
.st-88:not(#_) { text-align: left; padding: 8px 10px; border-bottom: 2px solid var(--linie); color: var(--gedaempft); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.5px; } /* tippgemeinschaften.php <th> */
.st-89:not(#_) { padding: 8px 10px; border-bottom: 1px solid var(--linie); } /* tippgemeinschaften.php <td> */
.st-90:not(#_) { color: var(--gedaempft); font-size: 0.78rem; } /* tippgemeinschaften.php <span> */
.st-91:not(#_) { background: none; border: none; padding: 0; color: var(--akzent); font-weight: 700; font-size: inherit; cursor: pointer; text-decoration: underline; } /* tippgemeinschaften.php <button> */
.st-92:not(#_) { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; } /* tippgemeinschaften.php <form> */
.st-93:not(#_) { display: block; font-size: 0.8rem; font-weight: 600; color: var(--gedaempft); margin-bottom: 4px; } /* tippgemeinschaften.php <label> */
.st-94:not(#_) { padding: 8px 10px; border: 1px solid var(--linie); border-radius: 8px; } /* tippgemeinschaften.php <input> */
.st-95:not(#_) { padding: 9px 18px; } /* tippgemeinschaften.php <button> */


/* ======================================================================
   Schluss: Anpassungen, die nach den Seitenregeln stehen muessen
   ====================================================================== */
#chat-form button { color: var(--auf-akzent); }
#chat-knopf { box-shadow: var(--schatten); }
@media (max-width: 960px) { #chat-knopf { bottom: 86px; } #chat-fenster { bottom: 150px; } }

/* Caddys NFL Club: Claude-Empfehlung (11.10.2026) */
.letzte-begegnungen li.ki-zeile { font-weight: 600; }
.letzte-begegnungen li.ki-begruendung { display: block; font-size: 0.76rem; color: var(--gedaempft); font-style: italic; padding: 0 0 6px; border-bottom: 1px dotted var(--linie); margin-bottom: 4px; }
.ki-bewertung { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 9px; font-size: 0.72rem; font-weight: 600; vertical-align: middle; white-space: nowrap; }
.ki-bewertung.ki-voll { background: var(--gut-flaeche); color: var(--gut); }
.ki-bewertung.ki-tendenz { background: var(--akzent-flaeche); color: var(--akzent); }
.ki-bewertung.ki-daneben { background: var(--schlecht-flaeche); color: var(--schlecht); }
.ki-club-kasten { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--linie); font-size: 0.86rem; }
.ki-club-kasten .ki-club-bilanz { display: block; margin-top: 4px; color: var(--gedaempft); }

