/* =====================================================================
   KHCM Community: Handy nach Entwurf A "Kopfzeile mit Auswahlblatt" (14.10.2026).
   Gehoert zu handy.js. Jede Regel gilt nur mit body.handy, der Rechner bleibt unberuehrt.
   Nutzt nur die Farben aus stil.css, damit Hell und Dunkel stimmen.
   Sichere Raender: Kopfzeile unter Dynamic Island (safe-area-inset-top),
   untere Leiste ueber der Home-Bar (safe-area-inset-bottom).
   ===================================================================== */
.h-scrim,.h-blatt,.h-vsuche{display:none}
body.handy{--h-reiter:calc(56px + env(safe-area-inset-bottom));
 --h-blatt:#0F201B;--h-goldbg:color-mix(in srgb,var(--akzent) 13%,transparent);--h-goldlinie:color-mix(in srgb,var(--akzent) 36%,transparent)}
body.handy.h-tastatur{--h-reiter:0px}
[data-theme="khc-hell"] body.handy{--h-blatt:#FBF8F1}

/* Ruhiger, fester Hintergrund statt Verlauf */
body.handy #buehne{background:var(--bg-seite)!important}
body.handy,body.handy #buehne,body.handy .geraet,body.handy .schirm{overflow:hidden}
body.handy .schirm{background:var(--bg-seite)!important}

/* ---------- Grundgeruest: Kopfzeile, Verlauf, Eingabe, Leiste ---------- */
body.handy .chat{display:flex;flex-direction:column;min-height:0;position:relative}
body.handy #ckopf{position:relative;top:auto;left:auto;transform:none;max-width:none;width:auto;height:auto;min-height:0;display:block;flex:none;margin:0;
 padding:env(safe-area-inset-top) max(8px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left));border-radius:0;background:var(--bg-seite);
 box-shadow:inset 0 -1px 0 var(--linie2);z-index:6}
body.handy #verlauf{flex:1;min-height:0;padding:2px 0 14px;overflow-y:auto;overscroll-behavior:contain}
body.handy #unten{position:relative;bottom:auto;flex:none;z-index:5}
body.handy #leiste-hinweis:not(:empty){padding:10px 0 0}
body.handy #leiste-hinweis .hleiste{margin:0 12px}

body.handy .h-zeile{height:56px;display:flex;align-items:center;gap:4px}
body.handy .h-siegel{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;margin:0 8px 0 2px;color:var(--akzent);
 box-shadow:inset 0 0 0 1px var(--h-goldlinie);background:radial-gradient(circle at 35% 30%,var(--h-goldbg),transparent 70%)}
body.handy .h-siegel svg.i{width:18px;height:18px}
body.handy .h-ttl{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;min-height:44px;border-radius:10px;padding:0 4px;color:var(--txt)}
body.handy button.h-ttl:active{opacity:.7}
body.handy .h-t{display:flex;align-items:center;gap:5px;max-width:100%;font-size:17px;font-weight:600;letter-spacing:-.01em;color:var(--txt-hell)}
body.handy .h-tn{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.handy .h-hash{color:var(--txt3);font-weight:500}
body.handy .h-t svg.h-pf{width:13px;height:13px;color:var(--akzent);stroke-width:2.6}
body.handy .h-s{font-size:12px;color:var(--txt3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
body.handy .h-ib{flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:22px;color:var(--txt2)}
body.handy .h-ib:active{background:var(--bg-hover)}
body.handy .h-ib svg.i{width:22px;height:22px;stroke-width:1.8}
body.handy .h-zur{width:38px;margin-left:-4px;color:var(--akzent)}
body.handy .h-zur svg.i{width:24px;height:24px;stroke-width:2.2}
body.handy .h-seg{display:flex;margin:0 4px 10px;padding:2px;border-radius:10px;background:var(--karte);box-shadow:inset 0 0 0 1px var(--linie2)}
body.handy .h-seg button{flex:1;height:32px;border-radius:8px;font-size:13px;font-weight:500;color:var(--txt2);text-align:center}
body.handy .h-seg button.on{background:var(--bg-seite);color:var(--akzent);box-shadow:0 1px 3px rgba(0,0,0,.25)}

/* Untere Leiste ueber der Home-Bar */
body.handy #reiter{display:grid;grid-template-columns:repeat(5,1fr);margin:0;border-radius:0;border:0;height:var(--h-reiter);
 padding:6px max(4px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(4px,env(safe-area-inset-left));
 background:var(--bg-seite);box-shadow:inset 0 1px 0 var(--linie2);position:relative;z-index:49}
body.handy.h-tastatur #reiter{display:none}
body.handy #reiter button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;position:relative;min-height:44px;padding-top:2px;font-size:10.5px;font-weight:500;color:var(--txt3)}
body.handy #reiter button.on{color:var(--akzent)}
body.handy #reiter svg.i{width:25px;height:25px;stroke-width:1.6}
body.handy .h-bd{position:absolute;top:-2px;left:50%;margin-left:6px;min-width:17px;height:17px;padding:0 5px;border-radius:9px;background:var(--akzent);color:var(--akzent-ink);font-size:10.5px;font-weight:700;line-height:17px;text-align:center}
body.handy .h-bd[hidden]{display:none}

/* Hinweis unten ueber der Leiste */
body.handy #toast{bottom:calc(var(--h-reiter) + 74px);max-width:calc(100% - 32px);white-space:normal;text-align:center;border-radius:14px;z-index:60}

/* ---------- Nachrichten im Kanal: flach wie im Entwurf ---------- */
body.handy .werkzeug{display:none!important}
body.handy .nachricht{grid-template-columns:36px minmax(0,1fr);gap:10px;margin:0;width:auto;max-width:none;padding:8px 12px 8px 14px}
body.handy .nachricht .bild{width:36px;height:36px;font-size:14px}
body.handy .nachricht .kopfzeile{align-items:center;gap:7px;padding-right:34px;min-height:22px}
body.handy .nachricht .kopfzeile .name{font-size:15px}
body.handy .nachricht .zeit{font-size:12px}
body.handy .nachricht .inhalt{margin-top:2px;font-size:15px!important;line-height:1.42!important}
body.handy .reaktion.mehr{display:grid;place-items:center;position:absolute;top:4px;right:6px;width:36px;height:30px;padding:0;border-radius:9px;background:none;box-shadow:none;color:var(--txt3);font-size:15px;letter-spacing:.06em}
body.handy .nachricht .leiste{gap:6px;margin-top:7px}
body.handy .nachricht .reaktion:not(.mehr){height:30px;padding:0 10px;border-radius:15px;font-size:13px;background:var(--karte);box-shadow:inset 0 0 0 1px var(--linie)}
body.handy .nachricht .reaktion .z{font-weight:600;color:var(--txt2);font-size:12.5px}
body.handy .nachricht .reaktion.an{background:var(--h-goldbg);box-shadow:inset 0 0 0 1px var(--h-goldlinie);color:var(--akzent)}
body.handy .nachricht .reaktion.an .z{color:var(--akzent)}
body.handy .faden{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 4px;color:var(--akzent);font-size:13.5px;font-weight:550}
body.handy .faden::before{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .25s}
body.handy .faden[aria-expanded="true"]::before{transform:rotate(45deg)}
body.handy .antworten{margin:4px 0 0;padding-left:12px;border-left:2px solid var(--linie)}
body.handy .antwort{grid-template-columns:30px 1fr}
body.handy .aeing{align-items:flex-end;gap:8px}
body.handy .aeing textarea{min-height:40px;padding:9px 14px;border-radius:20px}
body.handy .aeing button{min-height:40px;padding:0 4px}
body.handy .antwort .bild{width:30px;height:30px;font-size:12px}
body.handy .neulinie{margin:10px 14px}
body.handy .wlinfo,body.handy .karte{margin-left:12px;margin-right:12px}
body.handy .wlinfo{margin-top:10px;border-radius:14px}
body.handy .bildanhang img{max-height:300px}

/* Chart-Streifen: kleines Bild links, Symbol und Quelle, TradingView rechts. Ein Tipp irgendwo oeffnet die Lichtbox. */
body.handy .lkchart{position:relative;display:flex;align-items:center;width:100%;max-width:100%;min-height:56px;padding:7px 12px 7px 7px;border-radius:12px;margin-top:8px;
 background:var(--karte);box-shadow:inset 0 0 0 1px var(--linie)}
body.handy .lkgross{position:static;flex:0 0 66px;width:66px;height:44px;border-radius:8px;overflow:hidden}
body.handy .lkgross::after{content:"";position:absolute;inset:0;border-radius:12px}
body.handy .lkgross img{width:66px;height:44px;object-fit:cover;object-position:50% 40%}
body.handy .lkgross:hover img{transform:none}
body.handy .lklupe{display:none}
body.handy .lkleiste{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"s a" "q a";align-items:center;column-gap:10px;row-gap:1px;padding:0 0 0 11px;border-left:0}
body.handy .lksym{grid-area:s;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.handy .lkquelle{grid-area:q;font-size:12px}
body.handy .lkleiste .sp{display:none}
body.handy .lkaus{grid-area:a;position:relative;z-index:1;font-size:12.5px;padding:8px 0;opacity:1}

/* Eingabe: Leiste ueber dem Verlauf, rundes Feld, goldener Senden-Knopf */
body.handy #unten .eingabe{margin:0;width:auto;max-width:none;border-radius:0;gap:6px;align-items:flex-end;
 padding:8px max(10px,env(safe-area-inset-right)) 8px max(10px,env(safe-area-inset-left));background:var(--bg-seite);box-shadow:inset 0 1px 0 var(--linie2)}
body.handy #unten .eingabe textarea{min-height:40px;padding:9px 16px;border-radius:20px;background:var(--bg-eingabe);box-shadow:inset 0 0 0 1px var(--linie);font-size:16px;line-height:1.35;align-self:flex-end}
body.handy #unten .eingabe textarea:focus{box-shadow:inset 0 0 0 1px var(--akzent)}
body.handy #unten .eingabe .ib{width:40px;height:40px;min-width:40px;flex:none;border-radius:50%}
body.handy #unten .eingabe .ib svg.i{width:21px;height:21px}
body.handy #unten .eingabe .ib:last-child{background:var(--akzent);color:var(--akzent-ink)}
body.handy #unten .eingabe .ib.mikro{width:40px;height:40px}
body.handy #unten .eingabe .vorl{height:40px;line-height:40px;padding:0 4px}
body.handy #unten .eingabe.aufnahme{align-items:center}
body.handy #unten .schloss{margin:0;width:auto;max-width:none;border-radius:0;justify-content:center;min-height:52px;padding:8px 16px;background:var(--bg-seite);box-shadow:inset 0 1px 0 var(--linie2);font-size:13.5px;color:var(--txt3)}
body.handy #unten .emeldung{margin:6px 14px 4px;width:auto}
body.handy .aeing textarea,body.handy .bearbeiten textarea,body.handy #auftext,body.handy .fenster input,body.handy .fenster textarea,body.handy .fenster select,
body.handy #pnText,body.handy #pnSuche,body.handy #pnNeuSuche{font-size:16px}   /* unter 16 px zoomt das iPhone beim Antippen */

/* ---------- Seiten: Heute, Watchlist, Ich, Mitglieder ---------- */
body.handy .h-seite{padding:4px 0 28px}
body.handy .h-sec{padding:20px 16px 4px}
body.handy .h-sec h3{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:0 0 10px;font:600 13px var(--f-ui);letter-spacing:.06em;text-transform:uppercase;color:var(--txt3)}
body.handy .h-sec h3 span{display:inline-flex;align-items:center}
body.handy .h-sec h3 small{font-size:12px;text-transform:none;letter-spacing:0;font-weight:400}
body.handy .h-karten{display:flex;flex-direction:column;gap:8px}
body.handy .h-karte{width:100%;display:flex;align-items:center;gap:12px;min-height:56px;padding:13px 14px;border-radius:16px;text-align:left;color:var(--txt);background:var(--karte);box-shadow:inset 0 0 0 1px var(--linie2);transition:transform .15s}
body.handy .h-karte:active{transform:scale(.985)}
body.handy .h-grow{flex:1;min-width:0;display:block}
body.handy .h-kz{display:flex;align-items:baseline;gap:8px;min-width:0}
body.handy .h-sym{font-weight:650;font-size:16px;color:var(--txt-hell)}
body.handy .h-wer{font-weight:600;color:var(--txt-hell)}
body.handy .h-kt{display:block;font-size:14.5px;font-weight:600;color:var(--txt-hell);margin-top:2px}
body.handy .h-tm{font-size:12px;color:var(--txt3);white-space:nowrap}
body.handy .h-rechts{margin-left:auto}
body.handy .h-sub{display:block;font-size:13px;color:var(--txt2);margin-top:1px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body.handy svg.h-chev{width:16px;height:16px;color:var(--txt3);flex:none;stroke-width:2}
body.handy .h-dot{width:7px;height:7px;border-radius:50%;background:var(--akzent);flex:none;display:inline-block;align-self:center}
body.handy .h-cnt{min-width:22px;height:22px;padding:0 7px;border-radius:11px;background:var(--h-goldbg);color:var(--akzent);font-size:12.5px;font-weight:650;display:inline-grid;place-items:center;flex:none}
body.handy .h-liste{background:var(--karte);box-shadow:inset 0 0 0 1px var(--linie2);border-radius:16px;overflow:hidden}
body.handy .h-li{width:100%;display:flex;align-items:center;gap:12px;min-height:50px;padding:0 14px;text-align:left;color:var(--txt);border-bottom:1px solid var(--linie2)}
body.handy .h-li:last-child{border-bottom:0}
body.handy button.h-li:active{background:var(--bg-hover)}
body.handy .h-li .h-grow{padding:10px 0}
body.handy .h-n{display:block;font-size:15px;color:var(--txt)}
body.handy .h-zusatz{font-size:13px;color:var(--txt3)}
body.handy .h-li svg.h-ico{width:20px;height:20px;color:var(--txt2);flex:none}
body.handy .h-ruhig{padding:22px 18px;text-align:center;color:var(--txt3);font-size:14px}
body.handy .h-ruhig.h-gross{padding:50px 24px}
body.handy .h-ruhig svg.i{width:30px;height:30px;color:var(--h-goldlinie);display:block;margin:0 auto 10px}
body.handy .h-ruhig b{display:block;color:var(--txt2);font-weight:600;margin-bottom:3px;font-size:15px}
body.handy .h-gold{color:var(--akzent)}
body.handy .h-mark{background:var(--h-goldbg);color:var(--akzent);border-radius:3px;padding:0 1px}

body.handy .h-suche{display:flex;align-items:center;gap:8px;height:38px;margin:10px 0 2px;padding:0 12px;border-radius:12px;background:var(--bg-eingabe);box-shadow:inset 0 0 0 1px var(--linie2);color:var(--txt3)}
body.handy .h-suche:focus-within{box-shadow:inset 0 0 0 1px var(--h-goldlinie)}
body.handy .h-suche svg.i{width:17px;height:17px;flex:none}
body.handy .h-suche input{flex:1;min-width:0;height:100%;border:0;background:none;outline:none;font-size:16px;color:var(--txt);-webkit-appearance:none;appearance:none}
body.handy .h-suche input::placeholder{color:var(--txt3)}
body.handy .h-suche input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
body.handy .h-suche-kopf{margin:0 4px 10px}

body.handy .h-gruppe{margin:14px 16px 0}
body.handy .h-ghead{width:100%;display:flex;align-items:center;gap:8px;min-height:40px;padding:0 2px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--txt3);font-weight:600}
body.handy .h-ghead svg.i{width:13px;height:13px;stroke-width:2.4;transition:transform .25s}
body.handy .h-ghead[aria-expanded="false"] svg.i{transform:rotate(-90deg)}
body.handy .h-gc{margin-left:auto;font-weight:500;letter-spacing:0;text-transform:none}
body.handy .h-wsym{display:flex;align-items:center;gap:7px;font-weight:600;font-size:15.5px;color:var(--txt-hell)}
body.handy .h-sub.h-gold{display:flex;align-items:center;gap:6px;color:var(--akzent)}
body.handy svg.h-lock{width:14px;height:14px;color:var(--txt3);flex:none}

body.handy .h-profil{width:100%;display:flex;align-items:center;gap:14px;padding:18px 16px 4px;text-align:left;color:var(--txt)}
body.handy .h-profil .bild{width:62px;height:62px;font-size:24px}
body.handy .h-pn{display:block;font-size:21px;font-weight:650;color:var(--txt-hell)}
body.handy .h-pr{display:flex;align-items:center;gap:8px;margin-top:3px}
body.handy .h-pr .h-sub{margin:0}
body.handy .h-schalter{width:51px;height:31px;border-radius:16px;background:var(--linie);position:relative;flex:none;transition:background .25s}
body.handy .h-schalter::after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#F4EEE0;box-shadow:0 2px 4px rgba(0,0,0,.3);transition:transform .28s cubic-bezier(.3,1.3,.5,1)}
body.handy [aria-checked="true"]>.h-schalter{background:var(--akzent)}
body.handy [aria-checked="true"]>.h-schalter::after{transform:translateX(20px)}
body.handy .h-hd{display:flex;padding:2px;border-radius:9px;background:var(--bg-eingabe);box-shadow:inset 0 0 0 1px var(--linie2)}
body.handy .h-hd button{height:30px;padding:0 13px;border-radius:7px;font-size:13px;color:var(--txt2)}
body.handy .h-hd button.on{background:var(--bg-seite);color:var(--akzent);box-shadow:0 1px 3px rgba(0,0,0,.2)}
body.handy .h-li.h-ab{justify-content:center;color:var(--txt2)}
body.handy .h-mli .bild{width:36px;height:36px;font-size:14px;position:relative;overflow:visible}
body.handy .h-mli.an .bild::after{content:"";position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border-radius:50%;background:var(--online);box-shadow:0 0 0 2px var(--bg-seite)}

/* ---------- Blaetter von unten ---------- */
body.handy .h-scrim{display:block;position:absolute;inset:0;z-index:54;background:rgba(1,6,5,.62);opacity:0;pointer-events:none}
[data-theme="khc-hell"] body.handy .h-scrim{background:rgba(14,32,25,.32)}
body.handy .h-scrim.auf{pointer-events:auto}
body.handy .h-blatt{display:flex;flex-direction:column;position:absolute;left:0;right:0;bottom:0;z-index:55;visibility:hidden;will-change:transform;transform:translate3d(0,110%,0);
 background:var(--h-blatt);border-radius:14px 14px 0 0;box-shadow:0 -10px 40px rgba(0,0,0,.45),inset 0 1px 0 var(--linie);outline:none}
body.handy .h-blatt.sicht{visibility:visible}
body.handy .h-blatt.h-kanaele{top:calc(env(safe-area-inset-top) + 10px)}
body.handy .h-blatt.h-aktion{max-height:calc(100% - env(safe-area-inset-top) - 40px)}
body.handy .h-griffzone{flex:none;padding:7px 16px 6px;touch-action:none;cursor:grab}
body.handy .h-griff{width:38px;height:5px;border-radius:3px;background:var(--linie);margin:0 auto 10px}
body.handy .h-bkopf{display:flex;align-items:baseline;justify-content:space-between;min-height:30px}
body.handy .h-bkopf b{font-size:17px;font-weight:650;color:var(--txt-hell)}
body.handy .h-bkopf small{font-size:12.5px;color:var(--txt3)}
body.handy .h-bliste{flex:1;min-height:0;overflow-y:auto;padding:0 12px calc(env(safe-area-inset-bottom) + 24px);touch-action:none;overscroll-behavior:contain;scrollbar-width:none}
body.handy .h-blatt.voll .h-bliste{touch-action:pan-y}
body.handy .h-blabel{display:flex;justify-content:space-between;gap:10px;margin:16px 6px 6px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--txt3);font-weight:600}
body.handy .h-blabel .h-gold{letter-spacing:0;text-transform:none}
body.handy .h-kli{width:100%;display:flex;align-items:center;gap:10px;min-height:48px;padding:4px 10px;border-radius:12px;text-align:left;color:var(--txt)}
body.handy .h-kli:active{background:var(--bg-hover)}
body.handy .h-kli.akt{background:var(--h-goldbg)}
body.handy .h-kli.akt .h-kn{color:var(--akzent)}
body.handy .h-kli.zu .h-grow{opacity:.55}
body.handy .h-hs{width:16px;flex:none;text-align:center;font-size:16px;color:var(--txt3);display:grid;place-items:center}
body.handy .h-kn{display:block;font-size:15.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.handy .h-kt{display:block;font-size:12px;color:var(--txt3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.handy .h-zuletzt{display:flex;gap:8px}
body.handy .h-zuletzt button{flex:1;min-width:0;min-height:58px;display:flex;flex-direction:column;justify-content:center;padding:8px 10px;border-radius:14px;text-align:left;color:var(--txt);background:var(--karte);box-shadow:inset 0 0 0 1px var(--linie2)}
body.handy .h-zuletzt .h-kn{font-size:14px;font-weight:550}
body.handy .h-zuletzt .h-kt{display:flex;align-items:center;gap:5px;font-size:11.5px}
body.handy .h-zuletzt .h-kt>span:first-child{overflow:hidden;text-overflow:ellipsis}
body.handy .h-z{margin-left:auto;color:var(--akzent);font-weight:650}
body.handy .h-legende{display:grid;gap:6px;margin:22px 6px 4px;padding-top:12px;border-top:1px solid var(--linie2);font-size:12px;color:var(--txt3)}
body.handy .h-legende div{display:flex;align-items:center;gap:8px}
body.handy .h-legende svg.i{width:14px;height:14px;color:var(--akzent)}

body.handy .h-avor{padding:2px 18px 10px;font-size:13px;color:var(--txt3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.handy .h-ainhalt{padding:0 10px calc(env(safe-area-inset-bottom) + 10px);overflow-y:auto}
body.handy .h-reak{display:flex;gap:6px;padding:0 0 10px}
body.handy .h-reak button{flex:1;display:grid;place-items:center;text-align:center;height:46px;border-radius:14px;font-size:21px;background:var(--karte);box-shadow:inset 0 0 0 1px var(--linie2);color:var(--akzent)}
body.handy .h-reak button.an{background:var(--h-goldbg);box-shadow:inset 0 0 0 1px var(--h-goldlinie)}
body.handy .h-akg{margin-bottom:8px;border-radius:14px;overflow:hidden;background:var(--karte);box-shadow:inset 0 0 0 1px var(--linie2)}
body.handy .h-akg button{width:100%;min-height:54px;display:flex;align-items:center;gap:12px;padding:0 16px;font-size:16px;text-align:left;color:var(--txt);border-bottom:1px solid var(--linie2)}
body.handy .h-akg button:last-child{border-bottom:0}
body.handy .h-akg button:active{background:var(--bg-hover)}
body.handy .h-akg svg.i{width:20px;height:20px;color:var(--txt2)}
body.handy .h-akg .h-rot,body.handy .h-akg .h-rot svg.i{color:var(--warn)}
body.handy .h-akg .h-ab{justify-content:center;font-weight:600}

/* ---------- Suche im Vollbild ---------- */
body.handy .h-vsuche{display:none;position:absolute;inset:0;z-index:58;flex-direction:column;padding-top:env(safe-area-inset-top);background:var(--bg-seite)}
body.handy .h-vsuche.auf{display:flex;animation:hvs .28s cubic-bezier(.2,.8,.2,1)}
@keyframes hvs{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
body.handy .h-skopf{display:flex;align-items:center;gap:6px;padding:8px max(12px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left))}
body.handy .h-skopf .h-suche{flex:1;height:40px;margin:0}
body.handy .h-abb{min-height:44px;padding:0 6px;font-size:15.5px;color:var(--akzent)}
body.handy .h-serg{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:0 16px calc(env(safe-area-inset-bottom) + 40px)}
body.handy .h-treffer{width:100%;display:flex;align-items:flex-start;gap:10px;min-height:48px;padding:10px 4px;text-align:left;color:var(--txt);border-bottom:1px solid var(--linie2)}
body.handy .h-treffer:active{background:var(--bg-hover)}
body.handy .h-treffer .h-hs{padding-top:2px}
body.handy .h-tk{display:block;font-size:12px;color:var(--txt3)}
body.handy .h-tx{display:block;font-size:14.5px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}

/* ---------- Private Nachrichten als Reiter, ueber der unteren Leiste ---------- */
body.handy .pn-scrim{display:none!important}
body.handy .pn-insel:not(.offen){visibility:hidden!important;pointer-events:none!important}
body.handy .pn-insel.offen,body.handy .pn-offen{height:calc(100vh - var(--h-reiter));height:calc(100dvh - var(--h-reiter))}
@supports (height:100svh){body.handy .pn-insel.offen,body.handy .pn-offen{height:calc(100svh - var(--h-reiter))}}
body.handy .pn-insel.offen{background-color:var(--bg-seite);-webkit-backdrop-filter:none;backdrop-filter:none}
body.handy .pn-chat{background:var(--bg-seite)}
body.handy .pn-lkopf .pn-nur-handy{display:none!important}
body.handy .pn-unten{padding:6px 10px 10px}
body.handy .pn-lscroll{padding-bottom:16px}

@media (prefers-reduced-motion:reduce){body.handy .h-vsuche.auf{animation:none}}
