/* AkcjoPilot Runde 12 E (16.11.2026): kleiner Fuss am Handy, dichtere Listen, kleinere Abstaende am Listenende.
   Nur geladen, solange FUSS_KLEIN gilt (Abschalter: Leerdatei /apps/stockpilot/FUSS_KLEIN_AUS). Farben nur ueber vorhandene Variablen (hell und dunkel). */

/* ---- Desktop: Warnabsatz entfaellt (Link 'Zastrzezenia prawne' in der Gruppe Rechtliches), darunter die Copyright-Zeile; der Rest des Fusses bleibt */
.footer-klein .fuss-k { display: none; }
.footer-klein .fuss-k-c { display: block; margin: 14px 0 0; text-align: center; font-size: 12px; color: #8fa4b3; }
.footer-klein .fuss-alle > summary { display: none; }

@media (max-width: 820px) {
  /* Fuss: kein dunkler Block; alle Links in EINEM umbrechenden Fluss, "Wszystkie dzialy" am Ende, darunter die Copyright-Zeile */
  .footer.footer-klein { display: flex; flex-wrap: wrap; align-items: center; background: none; color: var(--k-grau); border-top: 1px solid var(--k-linie2); margin: 4px 0 0; padding: 2px 16px 4px; font-size: 12px; line-height: 1.4; }
  .footer-klein .fuss-k, .footer-klein .fuss-k-links { display: contents; }
  .footer-klein .fuss-k-links a, .footer-klein .fuss-alle > summary { display: inline-flex; align-items: center; min-height: 32px; padding: 0; margin: 0 16px 0 0; font-size: 12px; color: var(--k-grau); text-decoration: underline; }
  .footer-klein .fuss-alle { flex: 0 0 auto; margin: 0; }
  .footer-klein .fuss-alle[open] { flex: 1 0 100%; order: 8; }
  .footer-klein .fuss-alle > summary { cursor: pointer; list-style: none; }
  .footer-klein .fuss-alle > summary::-webkit-details-marker { display: none; }
  .footer-klein .fuss-alle > summary::after { content: " ▾"; text-decoration: none; margin-left: 4px; }
  .footer-klein .fuss-alle[open] > summary::after { content: " ▴"; }
  .footer-klein .fuss-k-c { display: block; flex: 1 0 100%; order: 10; margin: 0; padding: 0 0 2px; text-align: left; font-size: 12px; color: var(--k-grau); }
  /* der volle Linkbereich (alle bisherigen Fusslinks) steht zugeklappt im HTML; geoeffnet auf hellem Grund lesbar */
  #footer-gruppen-neu.footer-klein .footer-marke, #footer-gruppen-neu.footer-klein .ap-aussehen { display: none; }
  #footer-gruppen-neu.footer-klein .footer-col b { color: var(--k-text); font-size: 13px; }
  #footer-gruppen-neu.footer-klein .footer-col a { color: var(--k-text); min-height: 40px; font-size: 13px; text-decoration: none; }
  #footer-gruppen-neu.footer-klein .footer-gr { border-top: 1px solid var(--k-linie2); }
  #footer-gruppen-neu.footer-klein .footer-gr > summary::after { color: var(--k-grau); }

  /* ---- Listen der Startseiten-Reiter: dichter (Ziel 48-52 px je Zeile bei zwei Textzeilen), Zahlen rechtsbuendig mit Tabellenziffern */
  .kf .kf-zeile { min-height: 50px; padding: 5px 0; }
  .kf .kf-l b, .kf .kf-r b { line-height: 1.25; }
  .kf .kf-l small, .kf .kf-chg { line-height: 1.3; }
  .kf .kf-r { font-variant-numeric: tabular-nums; text-align: right; }
  /* Listenende: Standzeile, "Zobacz wszystko" und Fuss ohne grosse Abstaende */
  .kf .kf-hinweis, .kf .kf-stand { margin: 4px 0 0; font-size: 12px; }
  .kf .kf-alle { margin: 0; }
  .kf .kf-alle a { min-height: 40px; }
}

/* Signalseiten (Rekomendacje, Sygnaly, Signalteil der Analyse): EINE unauffaellige Kleindruckzeile, kein Symbol, nicht fett */
p.fuss-signal { margin: 10px 0 0; font-size: 12px !important; font-weight: 400; line-height: 1.45; color: var(--k-grau, var(--muted)); }
p.fuss-signal a { color: inherit; text-decoration: underline; }

/* Startseite: Erklaerblock "Was AkcjoPilot ist" am Handy hinter einem 'Wiecej' (Text bleibt im HTML) */
.st-mehr > summary { list-style: none; cursor: pointer; display: none; align-items: center; min-height: 44px; color: var(--k-akz, var(--accent)); font-weight: 600; }
.st-mehr > summary::-webkit-details-marker { display: none; }
@media (max-width: 820px) { .st-mehr > summary { display: flex; } .st-mehr > summary::after { content: " ▾"; } .st-mehr[open] > summary::after { content: " ▴"; } }
