/* LW /play — die Startseite (Hub). E123 „/play neu gedacht" (S58).
 *
 * Eigenes Blatt, nur von public/index.html geladen. style.css trägt die
 * Spiele (Knöpfe, Karten, Rahmen); was hier steht, gilt nur für den Hub —
 * und folgt der Plattform-Regel: neutral, Haarlinien, Systemschrift, EIN
 * Akzent, keine Verläufe, kein Glow, kein Muster. „Lebhaft" kommt aus echtem
 * Inhalt (wer gerade spielt, was zuletzt lief), nicht aus Farbe.
 *
 * Ein Wächter (test/hub-e123-ui.mjs) lehnt jeden Verlauf in diesem Blatt und
 * jeden Verlauf im gerechneten Stil der Seite ab.
 */

body.hub-seite {
    /* Ein Akzent: --accent aus style.css. Für Flächen mit weißer Schrift eine
       tiefere Stufe desselben Blaus — #4f8cff trägt weißen Text nur mit 3,3:1,
       #2f6fe0 mit 4,7:1 (WCAG AA). */
    --hub-akzent: var(--accent);
    --hub-akzent-fl: #2f6fe0;
    --hub-akzent-fl-hover: #3a7bef;
    --hub-akzent-text: #8fb4ff;
    --hub-linie: rgba(255, 255, 255, .09);
    --hub-linie-stark: rgba(255, 255, 255, .17);
    --hub-flaeche: rgba(255, 255, 255, .035);
    --hub-flaeche-hover: rgba(255, 255, 255, .065);
    --hub-feld: rgba(255, 255, 255, .055);
    --hub-live: #5fd38a;
    /* Grund eines Kachelbilds, falls ein Spiel (noch) keinen eigenen hat (E123b: --gb) */
    --ic-grund: #161a22;
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Inter, Roboto, "Helvetica Neue", sans-serif;
    font-size: 15px;
}

/* Symbole: ein Satz, eine Strichstärke, Farbe = Textfarbe */
.hub-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hub-seite .gi {
    width: 18px; height: 18px; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* Nur für Vorleser; und der Sprunglink, der erst beim Tabben erscheint */
.nur-vorlesen {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hub-skip {
    position: absolute; left: 12px; top: -60px; z-index: 50;
    padding: 10px 14px; border-radius: 10px; background: var(--hub-akzent-fl); color: #fff;
    text-decoration: none; font-weight: 600;
}
.hub-skip:focus { top: 12px; }

/* Fokus sichtbar, überall gleich (Tastatur) */
.hub-seite :focus-visible { outline: 2px solid var(--hub-akzent); outline-offset: 2px; }
.hub-seite input:focus-visible { outline-offset: 0; border-color: var(--hub-akzent); }
.hub-alle:focus { outline: none; }

/* ── Rahmen ─────────────────────────────────────────────── */
.hub-seite .hub { max-width: 1180px; padding: 40px 28px 48px; }
.hub-seite .hub-head { text-align: left; margin: 0 0 22px; }
.hub-seite .hub-head h1 {
    font-size: 34px; line-height: 1.15; font-weight: 700; letter-spacing: -.022em; color: var(--text);
}
.hub-seite .hub-head p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }

/* ── Status oben: Weiterspielen, Dein Stand ───────────────── */
.hub-rejoin {
    display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px;
    margin: 0 0 10px; padding: 12px 16px; border-radius: 12px;
    color: var(--text); text-decoration: none; font-size: 14.5px; line-height: 1.4;
    background: var(--hub-flaeche); border: 1px solid rgba(95, 211, 138, .4);
}
.hub-rejoin:hover { background: var(--hub-flaeche-hover); }
.rj-punkt { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--hub-live); }
.rj-txt { min-width: 0; }
.rj-los { color: var(--hub-akzent-text); font-weight: 600; white-space: nowrap; }
.rj-los::after { content: ' ›'; }

.hub-me {
    display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text);
    margin: 0 0 10px; padding: 10px 14px; border-radius: 12px;
    background: var(--hub-flaeche); border: 1px solid var(--hub-linie);
}
.hub-me:hover { background: var(--hub-flaeche-hover); border-color: var(--hub-linie-stark); }
.hm-face {
    flex: none; width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
    display: grid; place-items: center; font-size: 19px;
    background: var(--hub-feld); border: 1px solid var(--hub-linie);
}
.hm-face img { width: 100%; height: 100%; object-fit: cover; }
.hm-txt { display: grid; gap: 0; min-width: 0; }
.hm-txt b { font-size: 15px; font-weight: 600; }
.hm-sub { font-size: 12.5px; color: var(--muted); }
.hm-nums { display: flex; gap: 18px; margin-left: auto; flex: none; }
.hm-num { display: grid; justify-items: center; font-size: 11px; color: var(--muted); line-height: 1.2; }
.hm-num b { font-size: 17px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }

/* ── Loslegen: eine Hauptaktion, Beitreten daneben ─────────── */
.hub-start { margin: 0 0 8px; }
/* Zwei Spalten: links „Raum erstellen" und darunter der Fernseher, rechts
   Beitreten mit seinem Hinweis — beide Zeilen stehen auf gleicher Höhe. Die
   Hülle des Beitreten-Teils löst sich dafür auf (display: contents). */
.hub-entry {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; align-items: start;
}
.hub-join-feld { display: contents; }
.hub-entry > .hub-neu { grid-column: 1; grid-row: 1; }
.hub-entry .hub-join { grid-column: 2; grid-row: 1; }
.hub-entry .hub-join-tipp { grid-column: 2; grid-row: 2; }
.hub-entry .hub-join-err { grid-column: 2; grid-row: 3; }
.hub-entry > .hub-tv { grid-column: 1; grid-row: 2 / span 2; justify-self: start; }
.hub-seite .hub-neu {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; margin: 0; padding: 0 18px; border: 0; border-radius: 10px;
    background: var(--hub-akzent-fl); color: #fff; font-size: 16px; font-weight: 600;
    filter: none; transition: background-color .15s;
}
.hub-seite .hub-neu:hover { background: var(--hub-akzent-fl-hover); filter: none; }
.hub-seite .hub-neu .gi { width: 18px; height: 18px; stroke-width: 2.2; }
.hub-neu-zusatz { font-weight: 400; opacity: .82; }

.hub-join { display: flex; gap: 8px; margin: 0; }
.hub-seite #hub-code {
    flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 10px;
    background: var(--hub-feld); border: 1px solid var(--hub-linie); color: var(--text);
    font-size: 16px; letter-spacing: .14em; text-transform: uppercase;
}
.hub-seite #hub-code::placeholder { color: var(--muted); letter-spacing: normal; text-transform: none; opacity: 1; }
.hub-seite #hub-join-btn {
    flex: none; min-height: 48px; padding: 0 18px; border-radius: 10px;
    background: rgba(255, 255, 255, .09); border: 1px solid var(--hub-linie-stark); font-weight: 600;
}
.hub-seite #hub-join-btn:hover { background: rgba(255, 255, 255, .14); }
.hub-join-tipp { margin: 6px 2px 0; font-size: 12.5px; color: var(--muted); }
.hub-join-err { color: #ff8a8d; font-size: 13.5px; margin: 6px 2px 0; }

.hub-tv {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 2px;
    color: var(--muted); font-size: 14px; text-decoration: none;
}
.hub-tv:hover { color: var(--text); }
.hub-tv .gi { width: 17px; height: 17px; }

/* Crews: eine Zeile — am Handy seitlich scrollen statt umbrechen */
.hub-crews {
    display: flex; align-items: center; gap: 8px; margin: 12px 0 0;
    overflow-x: auto; scrollbar-width: none; font-size: 14px; color: var(--muted);
}
.hub-crews::-webkit-scrollbar { display: none; }
.hub-crews-label { display: inline-flex; align-items: center; gap: 6px; flex: none; margin-right: 2px; }
.hub-crew {
    display: inline-flex; align-items: stretch; flex: none;
    border: 1px solid var(--hub-linie-stark); border-radius: 999px; overflow: hidden;
}
.hub-crew a {
    display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px;
    color: var(--text); text-decoration: none; background: var(--hub-flaeche); white-space: nowrap;
}
.hub-crew a:hover { background: var(--hub-flaeche-hover); }
.hub-crew .hub-crew-go { border-left: 1px solid var(--hub-linie-stark); color: var(--hub-akzent-text); font-weight: 600; padding: 0 12px; }
.hub-crew .hub-crew-go::after { content: ' ›'; white-space: pre; }

/* ── Überschriften ─────────────────────────────────────────── */
.hub-h2 {
    font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--text);
    margin: 30px 0 12px; display: flex; align-items: baseline; gap: 8px;
}
.hub-h2-n { font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ── Was spielen wir heute? ────────────────────────────────── */
.heute-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
/* E124b-Hub: auch hier das Bild groß oben — dieselbe Einladung wie die Kacheln */
.heute-item {
    display: flex; flex-direction: column; min-width: 0; padding: 0; overflow: hidden;
    border-radius: 12px; text-decoration: none; color: var(--text);
    background: var(--hub-flaeche); border: 1px solid var(--hub-linie);
    transition: transform .18s ease-out, background-color .15s, border-color .15s;
}
.heute-item:hover { transform: translateY(-2px); background: var(--hub-flaeche-hover); border-color: var(--hub-linie-stark); }
.heute-item .gc-icon { width: 100%; height: auto; aspect-ratio: 12 / 7; border-radius: 0; outline: 0; border-bottom: 1px solid var(--hub-linie); }
.hi-txt { display: grid; min-width: 0; padding: 8px 11px 10px; }
.hi-name { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hi-grund { font-size: 12px; line-height: 1.35; color: var(--muted); }
.heute-item[data-art="live"] .hi-grund { color: var(--hub-live); }
/* „Läuft gerade": der Punkt sitzt im Bild oben rechts (in Graustufen sagt es der Text) */
.heute-item[data-art="live"] .gc-icon { position: relative; }
.heute-item[data-art="live"] .gc-icon::after {
    content: ''; position: absolute; right: 8px; top: 8px; width: 10px; height: 10px; border-radius: 50%;
    background: var(--hub-live); box-shadow: 0 0 0 2px var(--bg);
}

/* ── Suche + Filter: eine Leiste, klebt oben ───────────────── */
.hub-seite .hub-filter {
    position: sticky; top: 0; z-index: 5;
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
    margin: 0; padding: 10px 0; background: var(--bg); box-shadow: none;
}
/* Erst wenn sie klebt: Haarlinie — und die Fläche reicht bis an den Rand */
.hub-seite .hub-filter.klebt { box-shadow: 0 1px 0 var(--hub-linie), -28px 0 0 var(--bg), 28px 0 0 var(--bg); }
.hub-suche { position: relative; flex: 1 1 300px; min-width: 0; }
.hub-suche .gi { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.hub-seite #hub-search {
    width: 100%; min-height: 46px; padding: 10px 14px 10px 40px; font: inherit; font-size: 16px;
    border-radius: 10px; border: 1px solid var(--hub-linie); background: var(--hub-feld); color: var(--text);
}
.hub-seite #hub-search::placeholder { color: var(--muted); opacity: 1; }
.hub-seite .hub-chips {
    display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; flex: none;
    overflow-x: auto; scrollbar-width: none; max-width: 100%;
}
.hub-seite .hub-chips::-webkit-scrollbar { display: none; }
.hub-seite .hub-chips-label { color: var(--muted); font-size: 14px; white-space: nowrap; }
/* Spielerzahl als Segment-Schalter (wie am Mac): eine Fläche, Haarlinien dazwischen */
.hub-seg {
    display: inline-flex; flex: none; border: 1px solid var(--hub-linie-stark); border-radius: 10px; overflow: hidden;
    background: var(--hub-flaeche);
}
.hub-seite .hub-chip {
    min-height: 44px; min-width: 42px; padding: 0 12px; margin: 0;
    font: inherit; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums;
    border: 0; border-radius: 0; background: transparent; color: var(--text); cursor: pointer;
    transition: background-color .12s;
}
.hub-seg .hub-chip + .hub-chip { border-left: 1px solid var(--hub-linie); }
.hub-seite .hub-chip:hover:not(:disabled):not(.on) { background: var(--hub-flaeche-hover); }
.hub-seite .hub-chip:disabled { opacity: .4; cursor: default; }
.hub-seite .hub-chip.on { background: var(--hub-akzent-fl); color: #fff; border-color: transparent; }
.hub-seite .hub-chip:focus-visible { outline-offset: -2px; }
.hub-seite .hub-kurz {
    display: inline-flex; align-items: center; gap: 6px; flex: none; white-space: nowrap;
    border: 1px solid var(--hub-linie-stark); border-radius: 10px; background: var(--hub-flaeche);
    font-weight: 500; font-size: 14.5px;
}
.hub-seite .hub-kurz .gi { width: 16px; height: 16px; }
.hub-seite .hub-filter-out { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 14px; }
.hub-seite .hub-filter-clear {
    min-height: 32px; margin-left: 6px; padding: 0 10px; font: inherit; font-size: 13.5px;
    border-radius: 8px; border: 1px solid var(--hub-linie-stark);
    background: var(--hub-flaeche); color: var(--hub-akzent-text); cursor: pointer;
}

/* ── Sprungleiste: Kategorien ──────────────────────────────── */
.hub-sprung {
    display: flex; gap: 6px; margin: 6px 0 4px; padding: 2px 0;
    overflow-x: auto; scrollbar-width: none;
}
.hub-sprung::-webkit-scrollbar { display: none; }
@media (min-width: 601px) { .hub-sprung { flex-wrap: wrap; overflow: visible; } }
.hub-sprung a {
    flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px;
    border-radius: 999px; border: 1px solid var(--hub-linie); color: var(--text); text-decoration: none;
    font-size: 13.5px; white-space: nowrap;
}
.hub-sprung a:hover { background: var(--hub-flaeche-hover); border-color: var(--hub-linie-stark); }
.hub-sprung a span { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ── Abschnitte und Kacheln ────────────────────────────────── */
.hub-seite .hub-sec { margin-top: 26px; scroll-margin-top: calc(var(--hub-leiste, 70px) + 10px); }
.hub-seite .hub-cat {
    display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; padding: 0; border: 0;
    font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--text);
}
.hub-cat-n { font-size: 13px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }

/* E124b-Hub: Betreiber „etwas klein und verloren … vorher füllender, mit
   Spiele-Website-Charakter". Kompaktheit ist hier nicht das Ziel, Einladung
   ist es: das Bild steht wieder groß oben über die volle Kartenbreite (wie bis
   v0.83.0), aber flach — kein Verlauf, kein Schein. Am Rechner vier Spalten,
   am Handy zwei. */
.hub-seite .games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.hub-seite a.game-card { text-decoration: none; color: inherit; }
.hub-seite .game-card {
    display: flex; flex-direction: column; padding: 0; border-radius: 14px; overflow: hidden;
    background: var(--hub-flaeche); border: 1px solid var(--hub-linie);
    transition: transform .18s ease-out, background-color .15s, border-color .15s;
}
/* Ruhige Reaktion: die Kachel hebt sich um 2 px, das Bild rückt minimal näher */
.hub-seite a.game-card:hover { transform: translateY(-2px); background: var(--hub-flaeche-hover); border-color: var(--hub-linie-stark); }
.hub-seite a.game-card:active { transform: translateY(0) scale(.99); }
.hub-seite .game-card .gc-icon {
    width: 100%; height: auto; aspect-ratio: 12 / 7; border-radius: 0;
    outline: 0; border-bottom: 1px solid var(--hub-linie);
}
.hub-seite .game-card .gc-icon .gb { transition: transform .25s ease-out; }
.hub-seite a.game-card:hover .gc-icon .gb { transform: scale(1.03); }
.hub-seite .game-card > .game-body { display: flex; flex-direction: column; flex: 1; padding: 11px 14px 13px; }
/* Meta-Zeile unten bündig: Kacheln einer Reihe enden auf derselben Linie */
.hub-seite .game-card .game-meta { margin-top: auto; padding-top: 8px; }
@media (max-width: 600px) {
    /* Zwei Spalten: Bild ~170×100, darunter Titel, Satz in höchstens zwei
       Zeilen, Meta nur Spielerzahl und Dauer (die Art sagt der Abschnitt) */
    .hub-seite .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hub-seite .game-card { border-radius: 12px; }
    .hub-seite .game-card > .game-body { padding: 8px 10px 10px; }
    .hub-seite .game-card .game-title { font-size: 15px; gap: 3px 6px; }
    .hub-seite .game-card .game-sub {
        font-size: 12.5px; line-height: 1.35; margin-top: 2px;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .hub-seite .game-card .game-kennt { font-size: 11.5px; }
    .hub-seite .game-card .game-meta { gap: 2px 10px; font-size: 12px; padding-top: 6px; }
    .hub-seite .game-card .game-meta > .game-art { display: none; }
}
/* E123b: Das Kachelbild — ein erkennbares Bild des Spiels (Karten, Brett,
   Bahn …), flach, ohne Verlauf. Der Grund ist eine gedeckte Farbe je Spiel
   (unten); E124b: das Bild füllt die Fläche im Format 120×70 (Motiv + Szene).
   Dieselbe Fläche steht in „Was spielen wir heute?" (geklont). */
.gc-icon {
    flex: none; width: 120px; height: 70px; border-radius: 9px; display: block; overflow: hidden;
    background: var(--gb, var(--ic-grund)); outline: 1px solid var(--hub-linie); outline-offset: -1px;
}
.gc-icon .gb { display: block; width: 100%; height: 100%; font-family: inherit; }

/* Grund je Spiel — gedeckt, aus dem Material des Spiels (Filz, Holz, Wasser, Nacht …).
   E126a: steht nicht mehr hier, sondern in spielbilder.js (--gb an [data-spiel]),
   damit Hub und Spielwahl dieselbe Quelle haben. */

.hub-seite .game-body { flex: 1; min-width: 0; padding: 0; }
.hub-seite .game-title {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
    font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em;
}
.hub-seite .game-sub { color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.hub-seite .game-kennt { font-size: 12.5px; margin-top: 3px; color: var(--text); opacity: .86; }
.hub-seite .game-meta {
    display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 7px;
    color: var(--muted); font-size: 12.5px; opacity: 1;
}
.hub-seite .game-meta > span { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.hub-seite .game-art { color: var(--muted); }

/* Kleine Linien-Symbole in der Meta-Zeile — als Maske, damit das Zeichen im
   Text bleiben kann (Vorlesen, Suche) und trotzdem nicht als Emoji erscheint */
.sym {
    display: inline-block; flex: none; width: 13px; height: 13px; font-size: 0; overflow: hidden;
    background-color: var(--muted);
    -webkit-mask: var(--sym) center / contain no-repeat; mask: var(--sym) center / contain no-repeat;
}
.sym-person { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M4.8 20.5c0-4 3.2-7.2 7.2-7.2s7.2 3.2 7.2 7.2'/%3E%3C/svg%3E"); }
.sym-uhr { --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='13' r='7.6'/%3E%3Cpath d='M12 9v4l2.6 2M9.8 2.8h4.4'/%3E%3C/svg%3E"); }

/* Abzeichen: „Neu" als leise Kontur im Akzent, „spielen gerade" als Statuspunkt */
.hub-seite .badge { margin-left: 0; padding: 1px 7px; font-size: 11px; font-weight: 600; border-radius: 999px; letter-spacing: .01em; }
.hub-seite .badge.neu { background: transparent; color: var(--hub-akzent-text); border: 1px solid rgba(79, 140, 255, .45); }
.hub-seite .badge.live { background: transparent; color: var(--hub-live); padding: 0; font-weight: 500; font-size: 12px; }
.hub-seite .badge.live::before {
    content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
    background: var(--hub-live); margin-right: 5px; vertical-align: 1px;
}

/* ── Fuß ───────────────────────────────────────────────────── */
.hub-seite .hub-foot {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px;
    margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--hub-linie);
    text-align: left; color: var(--muted); font-size: 13px;
}
.hub-seite .hub-foot a { color: var(--hub-akzent-text); }
.hub-foot-leise { opacity: .8; }

/* ── Schmal ────────────────────────────────────────────────── */
@media (max-width: 760px) {
    .hub-entry { grid-template-columns: minmax(0, 1fr); }
    .hub-entry > .hub-neu, .hub-entry > .hub-tv, .hub-entry .hub-join, .hub-entry .hub-join-tipp, .hub-entry .hub-join-err { grid-column: 1; grid-row: auto; }
    .hub-entry .hub-join { margin-top: 10px; }
    /* Weiterspielen unter den Text, bündig mit ihm (nicht mit dem Punkt) */
    .hub-rejoin { grid-template-columns: 8px minmax(0, 1fr); }
    .rj-punkt { align-self: start; margin-top: 7px; }
    .rj-los { grid-column: 2; }
}
@media (max-width: 600px) {
    .hub-seite .hub { padding: 22px 16px 36px; }
    .hub-seite .hub-head { margin-bottom: 16px; }
    .hub-seite .hub-head h1 { font-size: 28px; }
    .hub-seite .hub-head p { font-size: 14.5px; }
    .hub-seite .hub-filter.klebt { box-shadow: 0 1px 0 var(--hub-linie), -16px 0 0 var(--bg), 16px 0 0 var(--bg); }
    .hub-seite .hub-filter { gap: 8px; padding: 8px 0; }
    .hub-suche { flex-basis: 100%; }
    .hub-seite .hub-chips { flex: 1 1 100%; gap: 6px; }
    /* Die Zeile muss in 358 px passen: das Wort „Wir sind zu" wird zum Symbol
       (es bleibt der Name der Gruppe für Vorleser), „unter 15 min" zu „≤ 15 min". */
    .hub-seite .hub-chips-label { font-size: 0; display: inline-flex; color: var(--muted); }
    .hub-seite .hub-chips-label::before {
        content: ''; width: 18px; height: 18px; background-color: currentColor;
        -webkit-mask: var(--sym) center / contain no-repeat; mask: var(--sym) center / contain no-repeat;
        --sym: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 19.5c0-3.3 2.7-6 6-6s6 2.7 6 6M15.5 4.9a3.2 3.2 0 0 1 0 6.2M17.5 13.8c2 .8 3.5 2.9 3.5 5.7'/%3E%3C/svg%3E");
    }
    .hub-seite .hub-chip { min-width: 36px; padding: 0 6px; }
    .hub-seite .hub-kurz { padding: 0 9px; gap: 5px; }
    .hm-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .hub-kurz-lang { display: none; }
    .heute-liste { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
    .heute-liste::-webkit-scrollbar { display: none; }
    .heute-item { flex: 0 0 156px; scroll-snap-align: start; }
    .hub-h2 { margin-top: 24px; font-size: 18px; }
    .hm-nums { gap: 12px; }
    .hm-num b { font-size: 15px; }
}
@media (min-width: 601px) { .hub-kurz-knapp { display: none; } }
@media (max-width: 480px) { .hub-neu-zusatz { display: none; } }
@media (max-width: 379px) {
    .hub-seite .hub-chips-label { display: none; }
    .hub-seite .hub-chip { min-width: 34px; }
    .hub-seite .hub-kurz { padding: 0 7px; }
}

/* Bewegung reduzieren: nichts gleitet, nichts blendet */
@media (prefers-reduced-motion: reduce) {
    .hub-seite *, .hub-seite *::before, .hub-seite *::after { transition: none !important; animation: none !important; }
}
