/* ==========================================================================
   assets/css/ft-ios-pwa.css  --  EINE zentrale iOS-/Android-/PWA-Schicht (Welle 5179, 11.11.2026)

   Eingebunden über ft_pwa_css_tags() (includes/meta_head.php) -> damit in includes/header.php, allen Saison-Köpfen,
   admin_header.php, login.php und jeder Seite mit ft_meta_head(); Seiten mit eigenem Kopf (musik, meine_bibliothek …)
   per <link>. Steht im <head> NACH ft-ios-fix.css und gewinnt deshalb bei gleicher Spezifität.

   GRUNDSATZ: Desktop bleibt unverändert. Jede Regel hängt an einer Geräteklasse, die assets/js/ft-device.js
   (und das kleine Inline-Skript aus ft_pwa_css_tags()) am <html> setzt:
     html.ft-ios         iPhone/iPad (auch iPadOS mit Desktop-Kennung)      html.ft-android   Android
     html.ft-standalone  installierte Web-App (Startbildschirm)             html.ft-webkit    WebKit-Engine (iOS/Safari)
     html.ft-touch       grober Zeiger (Finger)                             html.ft-notch     Aussparung oben > 20 px
     html.ft-kb-open     Bildschirmtastatur offen (Eingabefeld hat Fokus)
   Variablen (ft-device.js): --ft-vh (1 % der Layout-Höhe), --ft-vis-h (sichtbare Höhe), --ft-kb (Tastaturhöhe).
   messages.php / ft-messages-v2.css bleiben außen vor (eigene Regeln, eigener Agent) -> hier nichts für .ft-page-messages.

   Verhältnis zu den älteren Dateien (nicht gelöscht):
     ft-ios-fix.css  A/B/C/E wirken nur über @supports (-webkit-touch-callout) = nur echtes iOS. Hier dieselben Regeln über
                     html.ft-ios (gleiche Werte, damit auch iOS-Simulatoren/Prüf-Browser dasselbe zeigen) -> kein Widerspruch.
                     L (Tippflächen) wird hier erweitert.  G/H/I/J/F bleiben dort.
     ft-pwa.css      lädt nur im Anzeige-Modus „standalone“ (media-Attribut). Hier: Ergänzungen (Tastatur, Bottom-Sheets,
                     Toasts, Dunkelmodus, Druck, Seiten ohne Standard-Kopf), die es dort nicht gibt.
   ========================================================================== */

/* ---- 0. Grundwerte ------------------------------------------------------- */
:root {
  --ft-sat: env(safe-area-inset-top, 0px);
  --ft-sab: env(safe-area-inset-bottom, 0px);
  --ft-sal: env(safe-area-inset-left, 0px);
  --ft-sar: env(safe-area-inset-right, 0px);
  --ft-kb: 0px;
  /* Volle Höhe: 100vh -> 100svh/100dvh, wo bekannt -> exakter JS-Wert (--ft-vh), wenn ft-device.js läuft */
  --ft-h-full: 100vh;
  --ft-h-small: 100vh;
}
@supports (height: 100dvh) {
  :root { --ft-h-full: 100dvh; --ft-h-small: 100svh; }
}
html.ft-vh-js { --ft-h-full: calc(var(--ft-vh, 1vh) * 100); }

/* Hilfsklassen (opt-in für Seiten): volle Höhe ohne iOS-Leistensprung */
.ft-h-full     { height: var(--ft-h-full); }
.ft-min-h-full { min-height: var(--ft-h-full); }
.ft-h-visible  { height: var(--ft-vis-h, var(--ft-h-full)); }

/* ---- 1. Text, Antippen, Gummiband (nur Mobilgeräte) ---------------------- */
html.ft-ios, html.ft-android {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 130, 163, .14);
}
html.ft-ios body, html.ft-android body { overscroll-behavior-x: none; }
html.ft-ios :where(a, button, [role="button"], .btn, label, summary, .ft-bottom-item, .nav-link),
html.ft-android :where(a, button, [role="button"], .btn, label, summary, .ft-bottom-item, .nav-link) {
  touch-action: manipulation; /* kein Doppeltipp-Zoom, keine 300-ms-Verzögerung */
}

/* Innere Rollbereiche: weich rollen, am Ende nicht die Seite mitziehen */
html.ft-ios :where(.dropdown-menu, .modal, .modal-body, .offcanvas-body, .table-responsive, .ft-resp-scroll,
  .overflow-auto, .overflow-y-auto, .overflow-x-auto, [class*="-scroll"], [class*="scroller"]),
html.ft-android :where(.dropdown-menu, .modal, .modal-body, .offcanvas-body, .table-responsive, .ft-resp-scroll,
  .overflow-auto, .overflow-y-auto, .overflow-x-auto, [class*="-scroll"], [class*="scroller"]) {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* ---- 2. Statusleiste in der installierten App (black-translucent) -------- */
/* Uhr/Akku sind weiß -> immer dunkel unterlegen (auch auf Seiten ohne Kopfleiste und im Dunkelmodus).
   Gleicher Wert wie ft-ios-fix.css A, aber über die Klasse (A nur hell + nur @supports). */
html.ft-standalone.ft-ios body::before {
  content: "";
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--ft-sat);
  background: #181a1b;
  z-index: 2147483000;
  pointer-events: none;
}

/* ---- 3. Kopfleiste und Seitenabstand oben (wie ft-ios-fix.css B/C, über html.ft-ios) ---- */
html.ft-ios .navbar-custom {
  height:     calc(60px + var(--ft-sat)) !important;
  min-height: calc(60px + var(--ft-sat)) !important;
  max-height: calc(60px + var(--ft-sat)) !important;
  padding-top: var(--ft-sat) !important;
}
@media (max-width: 991.98px) {
  html.ft-ios .navbar-custom { padding-bottom: 0 !important; }
  html.ft-ios body:not(.page-landing-non-fixed-navbar):not(.ft-page-messages):not(.ft-page-live):has(nav.navbar-custom.fixed-top) {
    padding-top: calc(125px + var(--ft-sat)) !important;
  }
  html.ft-ios body.ft-impersonating:not(.page-landing-non-fixed-navbar):not(.ft-page-messages):not(.ft-page-live):has(nav.navbar-custom.fixed-top) {
    padding-top: calc(163px + var(--ft-sat)) !important;
  }
  /* Kopfzeilen-Menüs unter der höheren Leiste (ft-ios-fix.css E) */
  html.ft-ios .navbar-custom .dropdown-menu.show {
    max-height: calc(var(--ft-h-full) - 90px - var(--ft-sat)) !important;
  }
}
/* Startseite/Gast-Seiten: Kopfleiste steht im Fluss ganz oben -> Bedienelemente unter der Statusleiste beginnen
   (ft-pwa.css 5c tut das nur für die Saison-Köpfe ohne ft-page-Klasse). */
html.ft-standalone body.page-landing-non-fixed-navbar[class*="ft-page-"] nav.navbar-custom:not(.fixed-top) {
  border-top: var(--ft-sat) solid #181a1b;
}
/* Seiten mit eigenem Kopf (musik, meine_bibliothek, Zahlungs-/Familien-Seiten …): ohne Standard-Kopfleiste
   den Inhalt unter der Statusleiste beginnen lassen. Rand statt Innenabstand: der eigene padding der Seite bleibt,
   ohne Aussparung (Android, Safari-Tab) ist der Rand 0 -> keine Änderung. Querformat: links/rechts ebenso. */
html.ft-standalone body:not(:has(nav.navbar-custom)):not(.ft-page-live):not(.ft-page-messages) {
  border-top: var(--ft-sat) solid transparent;
  border-left: var(--ft-sal) solid transparent;
  border-right: var(--ft-sar) solid transparent;
}

/* ---- 4. Untere Leiste (#ftBottomNav) ------------------------------------- */
@media (max-width: 991.98px) {
  /* Symbole/Beschriftung über der Home-Leiste (Inline-CSS aus includes/ft_bottom_nav.php hat das schon; hier verbindlich,
     falls eine spätere Datei padding überschreibt) */
  html.ft-standalone .ft-bottom-nav { padding-bottom: calc(6px + var(--ft-sab)) !important; }
  /* Rollbereich endet über der Leiste */
  html:is(.ft-ios, .ft-standalone) body:has(#ftBottomNav):not(.ft-page-messages):not(.ft-page-live) {
    scroll-padding-bottom: calc(84px + var(--ft-sab));
  }
}
/* Querformat auf dem Handy: niedrige Höhe -> Leiste kompakter (spart ca. 14 px) */
@media (max-width: 991.98px) and (max-height: 500px) and (orientation: landscape) {
  html:is(.ft-ios, .ft-android) .ft-bottom-item { min-height: 44px !important; padding-top: 4px !important; padding-bottom: 2px !important; }
}

/* ---- 5. Bildschirmtastatur offen: alles Feste unten weg, Eingabe frei ---- */
/* ft-device.js setzt html.ft-kb-open nur, wenn ein Eingabefeld Fokus hat UND die sichtbare Höhe deutlich kleiner wird. */
html.ft-kb-open .ft-bottom-nav,
html.ft-kb-open #ftBottomNav,
html.ft-kb-open #ftSeasonChip,
html.ft-kb-open .ft-season-chip,
html.ft-kb-open .a11y-toggle,
html.ft-kb-open #ft-ios-install-hint,
html.ft-kb-open #ftCollPicker,
html.ft-kb-open #ft-push-banner,
html.ft-kb-open .mu-player,
html.ft-kb-open #mu-player,
html.ft-kb-open #ftPwaBack {
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: none !important;
}
html.ft-kb-open body:not(.ft-page-messages) { padding-bottom: 0 !important; }
/* Bottom-Sheets/Dialoge unten: mit der Tastatur hochfahren (iOS schiebt sie sonst darunter) */
html.ft-kb-open.ft-ios :is(.offcanvas-bottom, .modal-dialog-bottom, [class*="bottom-sheet"], [class*="bottomsheet"], .ft-sheet) {
  bottom: var(--ft-kb) !important;
  max-height: calc(var(--ft-vis-h, var(--ft-h-small)) - var(--ft-sat)) !important;
}

/* ---- 6. Bottom-Sheets, Dialoge, Toasts mit sicheren Rändern -------------- */
@media (max-width: 991.98px) {
  html:is(.ft-ios, .ft-standalone) :is(.offcanvas-bottom, [class*="bottom-sheet"], [class*="bottomsheet"], .ft-sheet) {
    padding-bottom: max(12px, var(--ft-sab));
    max-height: calc(var(--ft-h-full) - var(--ft-sat) - 12px);
  }
  html:is(.ft-ios, .ft-standalone) .offcanvas:is(.offcanvas-start, .offcanvas-end) {
    padding-top: var(--ft-sat); padding-bottom: var(--ft-sab);
    height: var(--ft-h-full);
  }
  /* Dialoge: nie unter Statusleiste/Home-Leiste */
  html:is(.ft-ios, .ft-standalone) .modal { padding-top: var(--ft-sat); padding-bottom: var(--ft-sab); }
  html:is(.ft-ios, .ft-standalone) .modal-dialog-scrollable { height: calc(var(--ft-h-full) - var(--ft-sat) - var(--ft-sab) - 1rem); }
  html:is(.ft-ios, .ft-standalone) .modal-dialog-scrollable .modal-content { max-height: calc(var(--ft-h-full) - var(--ft-sat) - var(--ft-sab) - 1rem); }
  html:is(.ft-ios, .ft-standalone) .modal-fullscreen .modal-header,
  html:is(.ft-ios, .ft-standalone) .modal-fullscreen-sm-down .modal-header,
  html:is(.ft-ios, .ft-standalone) .modal-fullscreen-md-down .modal-header,
  html:is(.ft-ios, .ft-standalone) .modal-fullscreen-lg-down .modal-header { padding-top: calc(1rem + var(--ft-sat)); }
  html:is(.ft-ios, .ft-standalone) .modal-fullscreen .modal-footer,
  html:is(.ft-ios, .ft-standalone) .modal-fullscreen-sm-down .modal-footer,
  html:is(.ft-ios, .ft-standalone) .modal-fullscreen-md-down .modal-footer,
  html:is(.ft-ios, .ft-standalone) .modal-fullscreen-lg-down .modal-footer { padding-bottom: calc(.75rem + var(--ft-sab)); }
  html:is(.ft-ios, .ft-standalone) .modal-fullscreen,
  html:is(.ft-ios, .ft-standalone) .modal-fullscreen-sm-down,
  html:is(.ft-ios, .ft-standalone) .modal-fullscreen-md-down { margin: 0; }
  html:is(.ft-ios, .ft-standalone) .modal:has(.modal-fullscreen, .modal-fullscreen-sm-down, .modal-fullscreen-md-down, .modal-fullscreen-lg-down) { padding-top: 0; padding-bottom: 0; }
  /* Toasts/Hinweise oben bzw. unten über Notch/Leiste */
  html:is(.ft-ios, .ft-standalone) .toast-container.top-0,
  html:is(.ft-ios, .ft-standalone) .toast-container[class*="top-"] { top: var(--ft-sat) !important; }
  html:is(.ft-ios, .ft-standalone) .toast-container.bottom-0,
  html:is(.ft-ios, .ft-standalone) .toast-container[class*="bottom-"] { bottom: calc(76px + var(--ft-sab)) !important; }
  html:is(.ft-ios, .ft-standalone) body:not(:has(#ftBottomNav)) .toast-container[class*="bottom-"] { bottom: var(--ft-sab) !important; }
  /* Musik-Spieler (musik.php, eigener Kopf): Steuerung über der Home-Leiste */
  html:is(.ft-ios, .ft-standalone) .mu-player { padding-bottom: calc(10px + var(--ft-sab)) !important; }
  /* Saison-Chip über der unteren Leiste (ft-season.css nutzt env direkt; hier einheitlich) */
  html:is(.ft-ios, .ft-standalone) body:has(#ftBottomNav) .ft-season-chip { bottom: calc(80px + var(--ft-sab)); }
  /* „App installieren“-Hinweis (footer.php): schmal, über der Leiste, nicht über Eingaben */
  html.ft-ios #ft-ios-install-hint { max-width: 520px; margin: 0 auto; }
  /* Bedienhilfe-Lasche (includes/a11y_toolbar.php): auf dem Handy schmaler, ragt weniger in den Inhalt */
  html:is(.ft-ios, .ft-android) body .a11y-toggle:not([aria-expanded="true"]) { min-width: 44px !important; width: 44px !important; height: 48px !important; }
  html:is(.ft-ios, .ft-android) body .a11y-toggle:not([aria-expanded="true"]) i { flex-basis: 42px; width: 42px; font-size: 20px; }
}

/* ---- 7. Eingaben >= 16 px auf iOS (sonst zoomt Safari beim Antippen) ----- */
@media (max-width: 991.98px) {
  html.ft-ios :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]):not([type="file"]):not([type="color"]), select, textarea, [contenteditable="true"]) {
    font-size: max(16px, 1em);
  }
}

/* ---- 8. Tippziele >= 44 px, Schrift >= 12 px (nur Finger, nur Mobil) ----- */
@media (max-width: 991.98px) and (pointer: coarse) {
  html:is(.ft-ios, .ft-android) :is(.btn:not(.btn-link), .btn-close, .page-link, .ftui-btn, .ftui-chip) { min-height: 44px; }
  html:is(.ft-ios, .ft-android) :is(.btn-close, .page-link) { min-width: 44px; }
  html:is(.ft-ios, .ft-android) :is(.form-check-input[type="checkbox"], .form-check-input[type="radio"]) { width: 1.35em; height: 1.35em; }
  /* Seiten aus der Messung 11.11. */
  html:is(.ft-ios, .ft-android) .ev-tabs a { min-height: 44px; display: inline-flex; align-items: center; }                    /* events */
  html:is(.ft-ios, .ft-android) .mu-t { min-width: 44px; height: 44px; }                                                      /* musik */
  html:is(.ft-ios, .ft-android) .ft-st-tab, html:is(.ft-ios, .ft-android) #stUpload { min-height: 44px; }                    /* storage */
  html:is(.ft-ios, .ft-android) .ftc-avlink { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; } /* anrufe */
  html:is(.ft-ios, .ft-android) .ftui-list__title { display: inline-flex; align-items: center; min-height: 44px; }
  html:is(.ft-ios, .ft-android) #ftGroupShareBtn, html:is(.ft-ios, .ft-android) .knopf { min-height: 44px; }
  html:is(.ft-ios, .ft-android) .btn-check + .btn { min-height: 44px; display: inline-flex; align-items: center; }           /* tour */
  /* Kleinschrift */
  html:is(.ft-ios, .ft-android) :is(.ft-story-name, .notif-group-header, .balance-label, .stat-label, .ft-help-cat-badge, .sec-badge, .ft-bottom-label) { font-size: max(12px, 1em) !important; }
  html:is(.ft-ios, .ft-android) .notification-item .time, html:is(.ft-ios, .ft-android) .notif-item .time { font-size: max(12px, 1em); }
}

/* ---- 9. -webkit-backdrop-filter: Messung 11.11. ohne Befund (jede Datei hat das Paar; ft-ios-fix.css I ergänzt den Rest).
        Hier bewusst nichts, damit Safari am Mac (html.ft-webkit) unverändert bleibt. */

/* ---- 10. Dunkelmodus ohne weiße Blitzer ---------------------------------- */
/* (a) Vor dem Laden des <body> (Systemfarbe dunkel): dunkle Leinwand statt weißem Blitz */
@media (prefers-color-scheme: dark) {
  html:is(.ft-ios, .ft-android):not(:has(> body)) { background-color: #18191a; color-scheme: dark; }
}
/* (b) Dunkelmodus der Seite: Leinwand (Gummiband-Rand, Tastatur-Lücke) dunkel, Formular-Bedienelemente dunkel */
html:is(.ft-ios, .ft-android):has(> body.dark-mode) { background-color: #18191a; color-scheme: dark; }
/* (c) Helle Flächen aus der Messung 11.11. (Dunkelmodus, nur Mobil) */
@media (max-width: 991.98px) {
  html:is(.ft-ios, .ft-android, .ft-standalone) body.dark-mode :is(.ev-tabs, .empty-state) {
    background: #242526 !important; color: #e4e6eb; box-shadow: 0 1px 3px rgba(0,0,0,.35);
  }
  html:is(.ft-ios, .ft-android, .ft-standalone) body.dark-mode .ev-tabs a { color: #d4d6d8; }
  html:is(.ft-ios, .ft-android, .ft-standalone) body.dark-mode .ev-tabs a.active { color: #fff; }
  html:is(.ft-ios, .ft-android, .ft-standalone) body.dark-mode .card:not([class*="bg-"]):not([class*="text-bg-"]):not([style*="background"]) {
    background-color: #242526; color: #e4e6eb; border-color: rgba(255,255,255,.08);
  }
}

/* ---- 11. Druck: Geräte-Bedienelemente aus ---------------------------------- */
@media print {
  .ft-bottom-nav, #ftBottomNav, .ft-season-chip, .a11y-toggle, .a11y-panel, #ft-ios-install-hint, #ftPwaBack,
  #ft-push-banner, #ftCollPicker, .mu-player { display: none !important; }
  html.ft-standalone.ft-ios body::before { display: none !important; }
  html:is(.ft-ios, .ft-android, .ft-standalone) body { padding-top: 0 !important; padding-bottom: 0 !important; }
}

/* ==========================================================================
   12. SEITEN (Welle 5179, Messung 11.11.) -- Befunde je Seite, nur Mobil / Gerätklassen. Desktop unverändert.
   ========================================================================== */

/* ---- 12.1 Saison-Chip (ft-season.css, 33 Seiten): auf dem Handy nur noch ein Emoji-Knopf ------------------------
   Vorher: breite Leiste (Gruß/Countdown + ×) über der unteren Leiste -> verdeckte 3-7 Tippziele je Seite.
   Jetzt: kompakter runder Knopf; Text bleibt für Screenreader (visuell versteckt), Karte (Details, Ausblenden) öffnet per Tipp.
   Ist die Karte offen, erscheinen Text und × wie bisher. */
@media (max-width: 991.98px) {
  html:is(.ft-ios, .ft-android, .ft-standalone) .ft-season-chip:not(:has(.ft-season-card:not([hidden]))) {
    grid-template-columns: auto;
    width: 48px; max-width: 48px; border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0,0,0,.28);
  }
  html:is(.ft-ios, .ft-android, .ft-standalone) .ft-season-chip:not(:has(.ft-season-card:not([hidden]))) .ft-season-chip__main {
    padding: 0; min-width: 48px; min-height: 48px; justify-content: center; border-radius: 50%;
  }
  html:is(.ft-ios, .ft-android, .ft-standalone) .ft-season-chip:not(:has(.ft-season-card:not([hidden]))) .ft-season-chip__close { display: none; }
  html:is(.ft-ios, .ft-android, .ft-standalone) .ft-season-chip:not(:has(.ft-season-card:not([hidden]))) .ft-season-chip__line {
    position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  html:is(.ft-ios, .ft-android, .ft-standalone) .ft-season-chip .ft-season-chip__close { min-width: 44px; }
  /* Karte offen: nie höher als der sichtbare Bereich */
  html:is(.ft-ios, .ft-android, .ft-standalone) .ft-season-chip .ft-season-card {
    max-height: calc(var(--ft-vis-h, var(--ft-h-full)) - 180px - var(--ft-sat)); overflow-y: auto; overscroll-behavior: contain;
  }
}

/* ---- 12.2 Seiten mit eigenem Kopf (musik, meine_bibliothek): Tippziele, Spieler, Eingaben -------------------- */
@media (max-width: 991.98px) and (pointer: coarse) {
  html:is(.ft-ios, .ft-android) :is(.bib-nav a, .fuss a, footer a, .knopf, .leise-knopf, a.leise-knopf) {
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  }
  html:is(.ft-ios, .ft-android) .bib-nav a { padding-left: 10px; padding-right: 10px; }
  html:is(.ft-ios, .ft-android) #inhalt :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]), select) { min-height: 44px; box-sizing: border-box; }
  html:is(.ft-ios, .ft-android) #inhalt input[type="checkbox"], html:is(.ft-ios, .ft-android) #inhalt input[type="radio"] { width: 24px; height: 24px; }
  html:is(.ft-ios, .ft-android) #mu-seek, #mu-vol { min-height: 44px; }
  html:is(.ft-ios, .ft-android) .mu-t { min-width: 44px; min-height: 44px; }
}
/* Inhalt von musik/meine_bibliothek im Hoch- und Querformat nie unter dem Spieler: Platz unten */
@media (max-width: 991.98px) {
  html:is(.ft-ios, .ft-standalone) body.musik { padding-bottom: calc(110px + var(--ft-sab)); }
}

/* ---- 12.3 Weitere Tippziele (anrufe, notifications, tour, saved_posts, home, profil, Ankündigungen) ------------ */
@media (max-width: 991.98px) and (pointer: coarse) {
  html:is(.ft-ios, .ft-android) :is(.btn-link.btn-sm, .btn-link.p-0, .btn-link.p-1, .btn-sm.btn-light.rounded-circle, .btn.btn-sm.btn-outline-secondary, .btn.btn-sm.btn-outline-danger, .ftui-btn--icon):not(.comment-meta > *) { /* (W5219) Textknöpfe der Kommentarzeile ausgenommen (Wörter brachen sonst mitten im Wort) */
    min-width: 44px; min-height: 44px;
  }
  html:is(.ft-ios, .ft-android) .ft-announce button { min-width: 44px; min-height: 44px; }
  html:is(.ft-ios, .ft-android) :is(.post-author-link, .post-author-name, .ft-post-permalink, .profil-biolink, .profil-username) {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  html:is(.ft-ios, .ft-android) a.ms-2.btn-sm, html:is(.ft-ios, .ft-android) a.position-relative.d-inline-block { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  /* Kleinschrift: mindestens 12 px */
  html:is(.ft-ios, .ft-android) :is(.time, .ft-comp-act span, .ft-st-badge, #ftVaultBadge, .payout-stat-label, .count-badge, .trust-badge, .ft-story-name) { font-size: max(12px, 1em) !important; }
  html:is(.ft-ios, .ft-android) :is(small, .small) { font-size: max(12px, .875em); }
}

/* ---- 12.4 Dunkelmodus: weiße Flächen -------------------------------------------------------------------------- */
/* pages.php: Platzhalter-Titelbild (#eee inline) */
@media (max-width: 991.98px) {
  html:is(.ft-ios, .ft-android, .ft-standalone) body.dark-mode div[style*="background-color: #eee"],
  html:is(.ft-ios, .ft-android, .ft-standalone) body.dark-mode div[style*="background-color:#eee"] { background-color: #2f3133 !important; }
}
/* Anmeldeseite (eigener Stil, kein body.dark-mode): bei dunklem System auch die Karte dunkel */
@media (prefers-color-scheme: dark) {
  html:is(.ft-ios, .ft-android) .login-wrapper .login-card { background: #1f2123; color: #e4e6eb; box-shadow: 0 12px 32px rgba(0,0,0,.45); }
  html:is(.ft-ios, .ft-android) .login-wrapper .login-card :is(label, .form-text, small, a:not(.btn)) { color: #c9ccd0; }
  html:is(.ft-ios, .ft-android) .login-wrapper .login-card .form-control { background: #2a2c2e; color: #f1f2f4; border-color: #4a4d50; }
  html:is(.ft-ios, .ft-android) .login-wrapper .login-card .form-floating > label { color: #aeb2b6; }
  html:is(.ft-ios, .ft-android) .login-wrapper .trust-badge { background: #2a2c2e; color: #c9ccd0; border-color: #3d4043; }
  html:is(.ft-ios, .ft-android) .login-wrapper { color-scheme: dark; }
}

/* ---- 12.5 live.php: Hero-Karte bei offener Tastatur kompakt (Kopf unter der Statusleiste misst ohne Befund) ----------------------------------- */
@media (max-width: 991.98px) {
  html.ft-kb-open .ft-lh-hero { margin-bottom: 12px; padding-top: 20px; padding-bottom: 20px; }
  html.ft-kb-open .ft-lh-hero .ft-lh-sub { display: none; }
}


/* ---- 12.6 live.php (Hub): Ankündigung/Hero beginnen unter der Statusleiste (Kopfleiste ist dort ausgeblendet) ---- */
@media (max-width: 991.98px) {
  html.ft-standalone body.ft-page-live main#main-content > .ft-announce:first-child { margin-top: calc(10px + var(--ft-sat)) !important; }
  html.ft-standalone body.ft-page-live .ft-livehub:first-child { padding-top: calc(24px + var(--ft-sat)); }
}

/* ---- 12.7 meine_bibliothek.php: Seite ohne JavaScript (CSP script-src 'none') -> nur CSS, kein ft-device.js ---------
   Statt html.ft-standalone / html.ft-ios gilt hier der Anzeigemodus bzw. die Bildschirmbreite + grober Zeiger. */
@media (display-mode: standalone) and (max-width: 991.98px) {
  body.ft-nojs { border-top: env(safe-area-inset-top, 0px) solid transparent; border-left: env(safe-area-inset-left, 0px) solid transparent; border-right: env(safe-area-inset-right, 0px) solid transparent; }
  body.ft-nojs::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: env(safe-area-inset-top, 0px); background: #181a1b; z-index: 2147483000; pointer-events: none; }
  body.ft-nojs { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 991.98px) and (pointer: coarse) {
  body.ft-nojs :is(.bib-nav a, footer a, .knopf, a.leise-knopf) { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
  body.ft-nojs .bib-nav a { padding-left: 10px; padding-right: 10px; }
  body.ft-nojs :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select) { min-height: 44px; box-sizing: border-box; font-size: max(16px, 1em); }
}

/* ---- 12.8 live.php (Hub): drei Knöpfe nebeneinander sind auf schmalen Geräten zu eng (iPhone SE: 41 px breit) ----- */
@media (max-width: 600px) and (pointer: coarse) {
  html:is(.ft-ios, .ft-android) .ft-lh-golive-btns { flex-wrap: wrap; gap: 8px; }
  /* (W5185) flex-basis nur in der Knopf-Reihe: in Spalten-Flex (Live-Chat-Leerzustand) machte 140px die .ft-pill 140 px HOCH */
  html:is(.ft-ios, .ft-android) .ft-lh-golive-btns > :is(.ft-lh-btn-live, .ft-lh-btn-screen, .ft-pill) { flex: 1 1 140px; }
  html:is(.ft-ios, .ft-android) :is(.ft-lh-btn-live, .ft-lh-btn-screen, .ft-pill) { min-height: 44px; }
}

/* ---- 12.9 Avatar-Links in Listen (find_friends, friends …): 40 px -> Tippfläche 44 px ohne Layout-Sprung ------------- */
@media (max-width: 991.98px) and (pointer: coarse) {
  html:is(.ft-ios, .ft-android) a.position-relative.me-3:has(> img) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-right: 0.5rem !important; }
}

/* ---- 12.10 live.php Bühne (Zuschauer/Sender, ?stream_id=…) auf iPhone/Android (W5185) ----------------------------------
   Messung 11.11. (iPhone 13 PWA): Hinweis-Banner (.ft-announce) und App-Installieren-Hinweis lagen ÜBER der Bühne und
   schoben sie 167 px nach unten -> Chat-Eingabe und Geschenk-Knopf unterhalb des Bildschirms; Chat-Eingabe im
   Home-Indikator-Bereich; Timer überlappt die Kopf-Karte; Kopf-Chips < 44 px; im Querformat Knöpfe unter der Aussparung.
   Nur Darstellung — Stream-Schlüssel, Rechte, Münzen, Handler unverändert. Hub (live.php ohne stream_id) siehe 12.5/12.6/12.8. */
@media (max-width: 991.98px) {
  /* (a) Bühne beginnt oben am Bildschirm: Banner/Installier-Hinweis nur auf dem Hub und allen anderen Seiten */
  html:is(.ft-ios, .ft-android) body.ft-page-live main#main-content:has(.main-wrapper) > .ft-announce { display: none !important; }
  html:is(.ft-ios, .ft-android) body.ft-page-live:has(.main-wrapper) #ft-ios-install-hint { display: none !important; }
  /* (b) Chat-Eingabe: Home-Indikator-Abstand kommt schon aus ft-live-mobile.css (margin-bottom 8px + safe-area);
         bei offener Tastatur liegt der Home-Indikator unter der Tastatur -> Zusatzabstand weg */
  html.ft-kb-open body.ft-page-live .chat-section > .p-3.border-top > .input-group { margin-bottom: 8px !important; }
  /* Eingabezeile war 100 % + Rand breit -> Senden-Knopf ragte 12 px aus dem Bildschirm (rechts abgeschnitten) */
  html:is(.ft-ios, .ft-android) body.ft-page-live .chat-section > .p-3.border-top > .input-group { width: auto !important; max-width: 100% !important; flex-wrap: nowrap; }
  /* (c) Unten verankerte Leisten/Knöpfe der Bühne um den Home-Indikator anheben (margin wirkt bei bottom-Verankerung) —
         sonst rutscht die angehobene Chat-Eingabe unter die Zuschauer-Leiste */
  html:is(.ft-ios, .ft-android) body.ft-page-live:has(.main-wrapper) :is(.ft-viewer-bar, .ft-ctl-bar, #streamerControls, .ft-gift-quick-btn, .reactions-bar, #ftRolesBarV2) { margin-bottom: var(--ft-sab) !important; }
  html.ft-kb-open body.ft-page-live:has(.main-wrapper) :is(.ft-viewer-bar, .ft-ctl-bar, #streamerControls, .ft-gift-quick-btn, .reactions-bar, #ftRolesBarV2) { margin-bottom: 0 !important; }
}
/* (d) Tippziele >= 44 px in der Kopf-Karte (Glocke, Verwarnen/Mod-Pillen, Zuschauer/Herz-Zähler, Sende-Zustand, Griff) */
@media (max-width: 991.98px) and (pointer: coarse) {
  html:is(.ft-ios, .ft-android) body.ft-page-live .video-section :is(#ftLiveBell, .ft-staff-pill, #ftLwHealth, a.badge, #viewerBadge[role="button"], #likeBadge[role="button"], .ft-viewer-cap) {
    min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  }
  html:is(.ft-ios, .ft-android) body.ft-page-live .ft-stream-handle { min-width: 44px !important; }
  html:is(.ft-ios, .ft-android) body.ft-page-live .chat-section :is(#chatInput, #chatSendBtn) { min-height: 44px !important; height: 44px !important; }
  html:is(.ft-ios, .ft-android) body.ft-page-live .chat-section .ft-pill { min-height: 44px; }
  html:is(.ft-ios, .ft-android) body.ft-page-live .ftRoles-btn { min-width: 44px; min-height: 44px; }
  html:is(.ft-ios, .ft-android) body.ft-page-live .reactions-bar > button,
  html:is(.ft-ios, .ft-android) body.ft-page-live .ft-gift-quick-btn { min-width: 44px; min-height: 44px; }
}
/* (e) Querformat in der installierten App: Bühne/Chat/feste Knöpfe neben der Aussparung (links/rechts) */
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  html.ft-standalone body.ft-page-live :is(.video-section, .chat-section) { left: var(--ft-sal) !important; right: var(--ft-sar) !important; width: auto !important; }
  html.ft-standalone body.ft-page-live :is(#ftSeasonChip, .ft-viewer-bar, .ft-ctl-bar, #streamerControls) { margin-left: var(--ft-sal) !important; }
  html.ft-standalone body.ft-page-live .ft-viewer-bar { margin-right: var(--ft-sar) !important; }
  html.ft-standalone body.ft-page-live .chat-section .ft-pill { min-height: 44px; }
  html.ft-standalone body.ft-page-live :is(#a11y-toggle, .ft-stream-handle) { margin-right: var(--ft-sar) !important; }
}
/* ---- Ende 12.10 (W5185) ---- */

/* ==========================================================================
   13. ANDROID (Welle 5185): Chrome-Tab + installierte Web-App auf Android, Hinweis „Die FriendsTime-App für Android“
   Alles hängt an html.ft-android (ft-device.js / Inline-Skript) -> iOS und Desktop unverändert.
   Gemessen (Pixel 7, Chromium): Statusleisten-Farbe wich von der Kopfleiste ab (#181a1b gegen #141617, live.php gegen
   Schwarz) -> gleicht ft-device.js 3a an. Untere Leiste über der Gestenleiste und Tastatur: ohne Befund.
   ========================================================================== */
/* ---- 13.1 Ziehen zum Neuladen im Browser-Tab ----------------------------------------------------------------------
   css/ft-mobile-pro.css schaltet es mit html{overscroll-behavior-y:none} auf JEDER Mobilbreite ab, gemeint war laut
   Kommentar dort nur die installierte Web-App. Im Chrome-Tab auf Android wieder zulassen; in der installierten App,
   im Messenger, auf der Live-Bühne, bei offenem Dialog und offener Tastatur bleibt es aus. */
html.ft-android:not(.ft-standalone):not(.ft-kb-open):not(:has(body:is(.ft-page-messages, .ft-page-live, .modal-open))) {
  overscroll-behavior-y: auto;
}
/* ---- 13.2 Tastatur in Chrome Android (>= 108): die Layout-Höhe bleibt, die Tastatur liegt ÜBER der Seite ------------
   Unten angeheftete Bögen mit Eingabefeld fahren mit hoch. --ft-kb-ov = überdeckter Teil (0, wenn der Browser die
   Layout-Höhe selbst verkleinert -> dann keine doppelte Verschiebung). */
html.ft-kb-open.ft-android :is(.offcanvas-bottom, [class*="bottom-sheet"], [class*="bottomsheet"], .ft-sheet) {
  bottom: var(--ft-kb-ov, 0px) !important;
  max-height: calc(var(--ft-vis-h, var(--ft-h-small)) - var(--ft-sat)) !important;
}
/* ---- 13.3 Querformat mit Kamera-Aussparung/Gestenrand: untere Leiste seitlich einrücken ---------------------------- */
@media (max-width: 991.98px) and (orientation: landscape) {
  html.ft-android .ft-bottom-nav { padding-left: max(4px, var(--ft-sal)) !important; padding-right: max(4px, var(--ft-sar)) !important; }
}
/* ---- 13.4 Hinweis „Die FriendsTime-App für Android“ (ft-device.js 3b) ------------------------------------------------
   Nur Android-Browser/-Web-App, nie in der APK (html.ft-inapp), nie iOS/Desktop. Schmale Zeile über der unteren Leiste
   (Abstand setzt das Skript), verschwindet bei Tastatur, Dialog und im Druck. */
@media (min-width: 992px) { html.ft-android .ft-app-hint { display: none !important; } }
@media (max-width: 991.98px) {
  html.ft-android:not(.ft-inapp):not(.ft-ios) .ft-app-hint {
    display: flex; align-items: center; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--ft-sab));
    max-width: 440px; margin-inline: auto; box-sizing: border-box;
    padding: 4px 2px 4px 10px;
    background: #fff; color: #1c1e21;
    border: 1px solid rgba(0, 0, 0, .1); border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .16);
    font-size: 14px; line-height: 1.25;
    z-index: 1029; /* unter Kopfleiste (1030), Dialogen und Menüs */
  }
  html.ft-android:not(.ft-inapp):not(.ft-ios):is(.ft-dark-pre, :has(body.dark-mode)) .ft-app-hint {
    background: #242526; color: #e4e6eb; border-color: rgba(255, 255, 255, .14); box-shadow: 0 6px 20px rgba(0, 0, 0, .5);
  }
  html.ft-android .ft-app-hint__ic {
    flex: none; width: 28px; height: 28px; border-radius: 8px; background: #00728f; color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; line-height: 1;
  }
  html.ft-android .ft-app-hint__ic::before { content: "\2193"; }
  html.ft-android .ft-app-hint__tx { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
  html.ft-android .ft-app-hint__go {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0 14px; border-radius: 10px;
    background: #00728f; color: #fff !important; font-weight: 600; text-decoration: none !important; white-space: nowrap;
  }
  html.ft-android .ft-app-hint__go:focus-visible, html.ft-android .ft-app-hint__x:focus-visible { outline: 2px solid #36e0ee; outline-offset: 2px; }
  html.ft-android .ft-app-hint__x {
    flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px;
    background: transparent; color: inherit; opacity: .75; font-size: 24px; line-height: 1; cursor: pointer;
  }
  html.ft-android.ft-kb-open .ft-app-hint,
  html.ft-android:has(body.modal-open) .ft-app-hint { display: none !important; }
}
@media print { html.ft-android .ft-app-hint { display: none !important; } }
/* ---- Ende 13 (W5185 Android) ---- */

/* ==== BEGIN 13 REST (W5185) ====================================================================================
   13 REST. RESTBEFUNDE (Welle 5185, 11.11.2026) aus w5179/VERGLEICH.md -- ohne Anrufe / Live / Android (eigene Abschnitte).
   Nur Darstellung, nur Mobilbreite bzw. Geräteklassen; Desktop unverändert. Keine Logik, keine Sperrzonen-Dateien.
   Nachmessung: C:/Claude/ios_pruefung/audit_rest.js + dark_rest.js, Bericht C:/Claude/w5185/rest_bericht.md
   =============================================================================================================== */

/* ---- 13R.1 Drei-Spalten-Seiten (home, pages, events, friends …): Inhalt 24 px zu hoch --------------------------------
   Ursache: ft-premium.min.css setzt mobil `.col-mid { margin-top: 0 !important }`, die Zeile `.row.g-4` behält aber
   margin-top -24 px bzw. -16 px (Bootstrap-Gutter g-4/g-3). Folge: Inhalt rutscht 11 px unter die Kopfleiste (Pixel: „Inhalt unter fester
   Kopfleiste“) und über die Ankündigung (.ft-announce) -> Überschrift/Stories lagen auf dem Banner.
   Lösung: Bootstrap-Ausgleich für die mittlere Spalte wiederherstellen (Zeile -24, Spalte +24 = 0). */
@media (max-width: 991.98px) {
  html:is(.ft-ios, .ft-android, .ft-standalone) body .row > .col-mid { margin-top: var(--bs-gutter-y, 0) !important; }
}

/* ---- 13R.2 Dunkelmodus: restliche helle Flächen / unlesbarer Text ------------------------------------------------- */
@media (max-width: 991.98px) {
  /* events.php: Suchleiste war weiß mit schwarzem Feld darin */
  html:is(.ft-ios, .ft-android, .ft-standalone) body.dark-mode .search-bar { background: #242526 !important; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
  html:is(.ft-ios, .ft-android, .ft-standalone) body.dark-mode .search-bar input { background: transparent !important; color: #e4e6eb !important; }
  html:is(.ft-ios, .ft-android, .ft-standalone) body.dark-mode .search-bar input::placeholder { color: #9aa0a6; opacity: 1; }
  html:is(.ft-ios, .ft-android, .ft-standalone) body.dark-mode .search-bar > i { color: #9aa0a6; }
  /* settings.php: „Zurück zum Menü“ (weiße Pille) */
  html:is(.ft-ios, .ft-android, .ft-standalone) body.dark-mode #settingsBackToMenu { background: #242526; color: #e4e6eb; border-color: #3a3b3c; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
  /* pages.php u. a.: .btn-outline-dark = dunkle Schrift auf dunkler Karte („Verwalten“ war unsichtbar) */
  html:is(.ft-ios, .ft-android, .ft-standalone) body.dark-mode .btn-outline-dark:not(:hover):not(:active):not(.active) { color: #e4e6eb; border-color: #6b7075; }
}
/* Anmeldeseite bei dunklem System (nur Optik der Karte, keine Anmelde-Logik): schwebende Beschriftung hatte weißes
   Polster, „Angemeldet bleiben“ / „Passwort vergessen?“ / Symbole waren dunkel auf dunkel (.text-muted !important). */
@media (prefers-color-scheme: dark) {
  html:is(.ft-ios, .ft-android) .login-wrapper .login-card .form-floating > label::after { background-color: transparent !important; }
  html:is(.ft-ios, .ft-android) .login-wrapper .login-card :is(.form-check-label, .text-muted, a.text-muted) { color: #c9ccd0 !important; }
  html:is(.ft-ios, .ft-android) .login-wrapper .login-card .form-floating > label :is(i, .text-muted) { color: #aeb2b6 !important; }
  html:is(.ft-ios, .ft-android) .login-wrapper a.trust-badge { color: #c9ccd0 !important; }
}

/* ---- 13R.3 Tippziele >= 44 px ------------------------------------------------------------------------------------- */
@media (max-width: 991.98px) and (pointer: coarse) {
  /* home: „Erstellen“ in der Stories-Leiste (38 px breit, brach um) */
  html:is(.ft-ios, .ft-android) .ft-stories-strip a.ms-2 { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
  /* group_view: Teilen-Knopf 40 px breit */
  html:is(.ft-ios, .ft-android) #ftGroupShareBtn { min-width: 44px; }
  /* Chatkopf: Name-Link 20 px hoch -> Tippfläche 44 px ohne Höhenänderung des Kopfes */
  html:is(.ft-ios, .ft-android) a.ft-m2-peer__name { display: inline-block; padding-block: 13px; margin-block: -13px; }
  /* musik: Datei-Auswahl 25 px hoch */
  html:is(.ft-ios, .ft-android) body.musik input[type="file"] { min-height: 44px; }
  /* Anmeldung: Zeile „Angemeldet bleiben“ ganz antippbar (Beschriftung 44 px hoch) */
  html:is(.ft-ios, .ft-android) .login-wrapper .form-check-label { display: inline-block; padding-block: 11px; margin-block: -11px; }
}

/* ---- 13R.4 Kleinschrift >= 12 px (hilfe, sicherheit, impressum, datenschutz) ------------------------------------- */
@media (max-width: 991.98px) {
  html:is(.ft-ios, .ft-android) :is(.ft-help-meta dt, .sec-table th, .lp-meta span) { font-size: 12px; }
  /* stories.php: „● LIVE“-Marke (10,4 px) und Zuschauerzahl (11,2 px) an Story-Kreisen */
  html:is(.ft-ios, .ft-android) .story-chip :is(.story-chip-ring > span, .small) { font-size: 12px !important; }
}

/* ---- 13R.5 Reiter-Leisten mit Querrollen (group_view, marketplace): keine sichtbare Rollleiste -------------------- */
@media (max-width: 991.98px) and (pointer: coarse) {
  html:is(.ft-ios, .ft-android) ul.nav:is(.nav-tabs, .nav-pills) { scrollbar-width: none; -ms-overflow-style: none; }
  html:is(.ft-ios, .ft-android) ul.nav:is(.nav-tabs, .nav-pills)::-webkit-scrollbar { display: none; }
}

/* ---- 13R.6 Bedienhilfe-Lasche und Saison-Knopf ragen weniger in den Inhalt ---------------------------------------
   Lasche: 10 px über den Rand hinausgeschoben (sichtbar 34 px, Tippfläche bleibt 44x48). Saison-Knopf: 44 statt 48 px
   und näher am Rand. `translate` ist unabhängig von vorhandenen transform-Animationen. */
@media (max-width: 991.98px) {
  html:is(.ft-ios, .ft-android) body .a11y-toggle:not([aria-expanded="true"]) { translate: 10px 0; }
  html:is(.ft-ios, .ft-android)[dir="rtl"] body .a11y-toggle:not([aria-expanded="true"]) { translate: -10px 0; }
  html:is(.ft-ios, .ft-android, .ft-standalone) .ft-season-chip:not(:has(.ft-season-card:not([hidden]))) { width: 44px; max-width: 44px; translate: -6px 0; }
  html:is(.ft-ios, .ft-android, .ft-standalone)[dir="rtl"] .ft-season-chip:not(:has(.ft-season-card:not([hidden]))) { translate: 6px 0; }
  html:is(.ft-ios, .ft-android, .ft-standalone) .ft-season-chip:not(:has(.ft-season-card:not([hidden]))) .ft-season-chip__main { min-width: 44px; min-height: 44px; }
}

/* ---- 13R.7 Feste Leisten <= 25 % der Höhe in der installierten App ------------------------------------------------
   Kopf (60 + Statusleiste) + untere Leiste (72 + Home-Leiste) = 25,2 % (iPhone 13) -> Einträge flacher (weiter >= 44 px hoch), Leiste oben 2 statt 6 px Innenabstand. */
@media (max-width: 991.98px) {
  html.ft-standalone .ft-bottom-item { padding-top: 5px !important; padding-bottom: 5px !important; }
  html.ft-standalone .ft-bottom-nav { padding-top: 2px !important; }
}
/* musik auf kleinen Geräten (iPhone SE): Spieler 26 % der Höhe -> kompakter */
@media (max-width: 819.98px) and (max-height: 600px) {
  html:is(.ft-ios, .ft-standalone) .mu-player { padding-top: 4px !important; padding-bottom: calc(4px + var(--ft-sab)) !important; gap: 0 !important; }
}
/* ==== ENDE 13 REST (W5185) ==== */

/* ==== BEGIN 13A ABSCHLUSS (W5185) ===============================================================================
   Messung C:/Claude/ios_pruefung/audit_abschluss.js: von den 39 „verdeckten Tippzielen“ (REST) lagen alle bis auf eins
   bei Listeneinträgen, die beim Seitenstart unter der festen unteren Leiste stehen und beim Rollen frei werden
   (Seitenende/Messenger-Liste haben Abstand) – kein Bedienfehler. Echt verdeckt war nur: */
/* ---- 13A.1 Messenger: Ankündigung samt „Schliessen“ liegt unsichtbar UNTER dem Messenger (fest, z 1000) ------------
   Gewöhnliche Ankündigungen dort ausblenden (sie erscheinen auf allen anderen Seiten). Notfall- und feste Hinweise
   bleiben unangetastet. */
@media (max-width: 991.98px) {
  html:is(.ft-ios, .ft-android) body.ft-page-messages .ft-announce:not(.ft-announce--emergency):not(.ft-announce--sticky) { display: none !important; }
}
/* ==== ENDE 13A ABSCHLUSS (W5185) ==== */

/* (px44/W5219 robust 17.11.) Kommentar-Aktionszeile: Text nie mitten im Wort umbrechen; Buttons fliessen in Reihen. web+PWA+iOS+Android. */
.comment-meta{flex-wrap:wrap !important;row-gap:.15rem;column-gap:.6rem !important}
.comment-meta>*{flex:0 0 auto !important;min-width:-webkit-max-content !important;min-width:max-content !important;white-space:nowrap !important}
.comment-meta .btn,.comment-meta .btn-link{white-space:nowrap !important;width:auto !important}
