/* 14.10.2026 MEEYO Chat wie WhatsApp/Snapchat: Reiter + Status-Reihe (chat_reiter.js), Anrufe (anruf.js, anruf_eingang.js),
   Kamera «Senden an …» (story_editor.js), Freunde-Karte (karte.js). Farben aus meeyo.css (--korall, --violett, --minze …). */

/* ---------- Reiter Chats · Anrufe · Communitys · Karte ---------- */
.wa-reiter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 10px; padding: 2px 0 }
.wa-reiter::-webkit-scrollbar { display: none }
.wa-reiter a { flex: 0 0 auto; white-space: nowrap; text-decoration: none; color: var(--nebel); font-weight: 700; font-size: .9rem; padding: 8px 13px; border-radius: 999px; background: var(--pflaume); border: 1px solid var(--linie); display: inline-flex; align-items: center; gap: 6px }
.wa-reiter a.an { background: var(--verlauf); color: #fff; border-color: transparent }
.wa-reiter a:focus-visible { outline: 3px solid var(--korall); outline-offset: 2px }
.wa-zahl { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--rot); color: #fff; font-size: .74rem; line-height: 20px; text-align: center }
.wa-weg { display: none !important }
.wa-klein-titel { font-size: .95rem; margin: 6px 0 8px; color: var(--milch) }

/* ---------- Status-Reihe ---------- */
.wa-status { margin: 0 0 10px }
.wa-ring { padding-bottom: 6px }
.wa-ich { position: relative; flex: 0 0 auto }
.wa-status-plus { position: absolute; left: 46px; top: 44px; width: 26px; height: 26px; border-radius: 50%; background: var(--minze); color: #0b2a1b; font-weight: 900;
  display: grid; place-items: center; text-decoration: none; border: 2px solid var(--nacht); font-size: 1rem; line-height: 1 }
.ew-ring-person.gesehen .ew-ring-kreis { background: var(--linie) }
.ew-ring-initiale img, .wa-bild img, .an-eingang-bild img, .an-bild img, .ka-punkt-bild img { width: 100%; height: 100%; object-fit: cover; border-radius: 50% }
.ew-ring-initiale { overflow: hidden }
.wa-ring-leer { align-self: center; max-width: 240px; margin: 0 }

/* ---------- Listen (Anrufe, Communitys, Senden an) ---------- */
.wa-liste { list-style: none; margin: 0; padding: 0 }
.wa-zeile { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 4px; border: 0; border-bottom: 1px solid var(--linie); background: transparent; color: var(--milch); text-align: left; text-decoration: none; font: inherit; cursor: pointer }
li.wa-zeile { cursor: default }
.wa-bild { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--pflaume-hell); font-weight: 800; overflow: hidden; color: var(--milch) }
.wa-bild-plus { background: var(--minze); color: #0b2a1b; font-size: 1.4rem }
.wa-bild-gruppe { font-size: 1.3rem }
.wa-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column }
.wa-info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.wa-zeile.verpasst .wa-info b { color: var(--rot) }
.wa-unter { color: var(--nebel); font-size: .82rem }
.wa-pfeil { font-style: normal; font-weight: 900 } .wa-pfeil.gruen { color: var(--minze) } .wa-pfeil.rot { color: var(--rot) }
.wa-anruf-knopf { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; font-size: 1.25rem; cursor: pointer; color: var(--milch) }
.wa-anruf-knopf:hover, .wa-anruf-knopf:focus-visible { background: var(--pflaume-hell) }
.wa-knopfreihe { display: flex; gap: 18px; margin: 4px 0 10px }
.wa-rund { display: flex; flex-direction: column; align-items: center; gap: 4px; background: transparent; border: 0; color: var(--milch); cursor: pointer; font: inherit }
.wa-rund > span { width: 54px; height: 54px; border-radius: 50%; background: var(--pflaume-hell); display: grid; place-items: center; font-size: 1.3rem }
.wa-rund.an > span { background: var(--verlauf) }
.wa-rund small { font-size: .78rem; color: var(--nebel) }
.wa-neu-gruppe { border-bottom: 0; margin-bottom: 4px }
.wa-neu-gruppe small { display: block; color: var(--nebel); font-size: .82rem }
.wa-leer { margin-top: 10px }
.wa-waehler .dialog-karte { max-height: 80vh; overflow-y: auto }

/* ---------- Eingehender Anruf (Vollbild) ---------- */
html.an-eingang-offen { overflow: hidden }
.an-eingang { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: calc(48px + env(safe-area-inset-top, 0px)) 20px calc(40px + env(safe-area-inset-bottom, 0px));
  background: radial-gradient(120% 80% at 50% 0%, #3a1a52 0%, #160a1c 70%); color: #fff; text-align: center }
.an-eingang-kopf { display: flex; flex-direction: column; align-items: center; gap: 10px }
.an-eingang-kopf h2 { margin: 0; font-size: 1.8rem; color: #fff }
.an-eingang-kopf p { color: #d9c9e6; margin: 0 }
.an-eingang-art { color: #d9c9e6; letter-spacing: .02em }
.an-eingang-bild, .an-bild { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; font-size: 3rem; font-weight: 800; background: var(--verlauf); color: #fff; overflow: hidden;
  box-shadow: 0 0 0 10px rgba(255,79,122,.15), 0 0 0 22px rgba(139,61,255,.08); animation: an-puls 1.6s ease-in-out infinite }
@keyframes an-puls { 50% { box-shadow: 0 0 0 16px rgba(255,79,122,.10), 0 0 0 32px rgba(139,61,255,.05) } }
@media (prefers-reduced-motion: reduce) { .an-eingang-bild, .an-bild { animation: none } }
.an-eingang-knoepfe { display: flex; gap: 64px; justify-content: center }
.an-knopf-zeile { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff }
.an-rund { width: 66px; height: 66px; border-radius: 50%; border: 0; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; background: rgba(255,255,255,.16); color: #fff }
.an-rund.gruen { background: #1fbf6a } .an-rund.rot { background: #e5484d } .an-rund.rot { transform: rotate(135deg) }
.an-rund.an { background: #fff; color: #160a1c }
.an-rund:focus-visible { outline: 3px solid #fff; outline-offset: 3px }
.an-rund[hidden] { display: none }

/* ---------- Anruf-Seite ---------- */
body.seite-anruf .fuss, body.seite-anruf .tab-leiste { display: none }
.an-voll { position: fixed; inset: 0; z-index: 60; max-width: none; padding: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  background: radial-gradient(120% 80% at 50% 0%, #3a1a52 0%, #160a1c 70%); color: #fff; overflow: hidden }
.an-fern { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; background: #000; transition: opacity .2s }
.an-fern.an { opacity: 1 }
.an-kopf { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: calc(36px + env(safe-area-inset-top, 0px)) 16px 0; text-align: center }
.an-kopf h1 { margin: 0; font-size: 1.7rem; color: #fff }
.an-art { color: #d9c9e6 }
.an-status, .an-dauer { margin: 0; color: #e8dcf2; font-variant-numeric: tabular-nums }
.an-qualitaet { margin: 4px 0 0; padding: 6px 12px; border-radius: 999px; background: rgba(255,200,87,.2); color: #ffe2a6; font-size: .85rem }
.an-voll.mit-video .an-bild { width: 56px; height: 56px; font-size: 1.4rem; animation: none; box-shadow: none }
.an-voll.mit-video .an-kopf { background: linear-gradient(rgba(0,0,0,.45), transparent); width: 100%; padding-bottom: 24px }
.an-lokal { position: absolute; z-index: 3; right: 14px; top: calc(14px + env(safe-area-inset-top, 0px)); width: 28vw; max-width: 160px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; border: 2px solid rgba(255,255,255,.6); background: #000; transform: scaleX(-1) }
.an-fehler { position: relative; z-index: 2; margin: 0 16px; background: rgba(0,0,0,.4); padding: 8px 12px; border-radius: 10px }
.an-leiste { position: relative; z-index: 2; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; padding: 18px 16px calc(28px + env(safe-area-inset-bottom, 0px)); width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,.5)) }
.an-leiste[hidden], .an-zurueck[hidden] { display: none }
.an-zurueck { position: relative; z-index: 2; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)) }

/* ---------- Kamera: Sucher, Emoji, Senden an ---------- */
.ew-sucher { position: relative; width: 100%; max-width: 480px; margin: 10px auto; aspect-ratio: 9 / 16; max-height: 72vh; border-radius: 22px; overflow: hidden; background: #000 }
.ew-sucher video { width: 100%; height: 100%; object-fit: cover } .ew-sucher video.gespiegelt { transform: scaleX(-1) }
.ew-sucher-leiste { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; align-items: center; justify-content: space-around }
.ew-ausloeser { width: 74px; height: 74px; border-radius: 50%; border: 5px solid #fff; background: rgba(255,255,255,.25); cursor: pointer }
.ew-ausloeser:active { background: #fff }
.ew-sucher-klein { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; font-size: 1.3rem; cursor: pointer }
.ew-ausloeser:focus-visible, .ew-sucher-klein:focus-within, .ew-sucher-klein:focus-visible { outline: 3px solid var(--korall); outline-offset: 3px }
.ew-emoji-wahl { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px }
.ew-emoji { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--pflaume-hell); font-size: 1.4rem; cursor: pointer }
.ew-st-emoji span { font-size: inherit; background: transparent !important }
.ew-senden-blatt { max-height: 86vh; overflow-y: auto }
.ew-senden-liste { list-style: none; margin: 0; padding: 0 }
.ew-senden-zeile { display: flex; align-items: center; gap: 12px; padding: 8px 2px; border-bottom: 1px solid var(--linie); cursor: pointer }
.ew-senden-zeile input { width: 20px; height: 20px; accent-color: var(--korall) }
.ew-senden-story { border: 1px solid var(--linie); border-radius: 14px; padding: 10px; margin-bottom: 8px }
.ew-editor-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.ew-fertig-liste { padding-left: 1.1em }

/* ---------- Freunde-Karte ---------- */
.ka-kopf { display: flex; align-items: center; gap: 10px }
.ka-kopf h1 { flex: 1 1 auto; margin: 0 }
/* 15.10. (Owner: «wie komme ich zurück aus der Karte?»): «‹ Chats» gross wie der WhatsApp-Kopf */
.ka-zurueck { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 12px 0 4px; border-radius: 999px; text-decoration: none; color: var(--milch); font-weight: 800; font-size: 1.05rem; background: var(--pflaume); border: 1px solid var(--linie) }
.ka-zurueck-pfeil { font-size: 1.9rem; line-height: 1; margin-top: -3px }
.ka-zurueck:focus-visible { outline: 3px solid var(--korall); outline-offset: 2px }
.ka-kopf h1 { font-size: 1.25rem; text-align: center }
.ka-buehne { position: relative }
.ka-pille { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 500; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 24px);
  padding: 8px 14px; border-radius: 999px; border: 0; font: inherit; font-weight: 800; font-size: .9rem; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: rgba(22,10,28,.88); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.35) }
.ka-pille-punkt { width: 10px; height: 10px; border-radius: 50%; background: #9a8fa3; flex: 0 0 auto }
.ka-pille.an .ka-pille-punkt { background: #3ddc97; box-shadow: 0 0 0 4px rgba(61,220,151,.25) }
.ka-pille.geist .ka-pille-punkt { background: #c9b8ff }
.ka-aktionen { position: absolute; right: 12px; top: 60px; z-index: 500; display: flex; flex-direction: column; gap: 8px }
.ka-rund { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--linie); background: var(--pflaume); color: var(--milch); font-size: 1.3rem; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.3); padding: 0 }
.ka-teilen-knopf { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 500; min-height: 52px; padding: 0 22px; border-radius: 999px; font-size: 1.05rem; font-weight: 800;
  box-shadow: 0 10px 24px rgba(0,0,0,.4); white-space: nowrap; max-width: calc(100% - 24px) }
.ka-teilen-knopf.leise { background: rgba(22,10,28,.88); color: #fff; border: 1px solid rgba(255,255,255,.25) }
.ka-wahl-gross label { padding: 10px; border-radius: 14px; border: 1px solid var(--linie); align-items: flex-start }
.ka-wahl-gross label:has(input:checked) { border-color: var(--korall); background: rgba(255,79,122,.08) }
.ka-wahl-gross label > span:last-child { display: flex; flex-direction: column } .ka-wahl-gross small { color: var(--nebel) }
.ka-wahl-sym { font-size: 1.3rem; width: 1.6em; text-align: center }
.ka-chips { display: flex; flex-wrap: wrap; gap: 8px }
.ka-chips label { padding: 0; cursor: pointer } .ka-chips input { position: absolute; opacity: 0; pointer-events: none }
.ka-chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--linie); font-weight: 700 }
.ka-chips input:checked + span { background: var(--verlauf); color: #fff; border-color: transparent }
.ka-chips input:focus-visible + span { outline: 3px solid var(--korall); outline-offset: 2px }
.ka-punkt.mit-avatar .ka-punkt-bild { width: 60px; height: 76px; border-radius: 0; border: 0; background: transparent; box-shadow: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,.45)) }
.ka-punkt.mit-avatar .ka-punkt-bild img { object-fit: contain; border-radius: 0 }
.ka-popup { display: flex; flex-direction: column; gap: 4px; min-width: 150px } .ka-popup .klein-knopf { margin-top: 4px }
.ka-befinden { color: var(--nebel) }
.wa-standort { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 10px 14px; border-radius: 14px; background: var(--pflaume); border: 1px solid var(--linie); color: var(--milch); text-decoration: none; font-weight: 700 }
.wa-standort.an { border-color: rgba(61,220,151,.6) } .wa-standort span:nth-child(2) { flex: 1 1 auto }
@media (max-width: 480px) { .ka-teilen-knopf { font-size: .98rem; padding: 0 16px } .ka-pille { font-size: .82rem } }
.ka-einst-knopf { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linie); background: var(--pflaume); color: var(--milch); font-size: 1.2rem; cursor: pointer }
#ka-stand { overflow: hidden; text-overflow: ellipsis }
.ka-karte { width: 100%; height: min(62vh, 560px); border-radius: 18px; overflow: hidden; border: 1px solid var(--linie); background: var(--pflaume) }
.ka-icon { background: transparent; border: 0 }
.ka-punkt { display: flex; flex-direction: column; align-items: center; gap: 2px }
.ka-punkt-bild { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--verlauf); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.35); overflow: hidden }
.ka-punkt.ich .ka-punkt-bild { border-color: var(--minze) }
.ka-punkt-name { background: rgba(22,10,28,.8); color: #fff; padding: 1px 6px; border-radius: 999px; font-size: .72rem; white-space: nowrap }
/* 15.10.: Handy meldet laenger nicht -> Pin blasser + «zuletzt vor X Min.» (freunde_karte.py Punkt 9) */
.ka-punkt.alt .ka-punkt-bild { opacity: .6; filter: grayscale(.6) }
.ka-punkt-zuletzt { background: rgba(255,255,255,.9); color: #3a2a40; padding: 0 5px; border-radius: 999px; font-size: .64rem; white-space: nowrap }
/* 15.10.: Unterwegs-Status wie Snap (freunde_karte.py Punkt 10) — kleines Symbol am Pin, Text in Liste/Popup */
.ka-punkt { position: relative }
.ka-punkt-bewegung { position: absolute; top: -4px; right: -8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; line-height: 1; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35) }
.ka-bewegung { margin: 2px 0 }
.ka-nur-handy { margin: 8px 0 0; padding: 8px 12px; border: 1px solid var(--linie); border-radius: 12px; background: var(--pflaume) }
.ka-nur-handy[hidden] { display: none }
.ka-wahl { border: 1px solid var(--linie); border-radius: 14px; padding: 8px 12px; margin: 0 0 10px; display: flex; flex-direction: column; gap: 6px }
.ka-wahl[hidden] { display: none }
.ka-wahl label { display: flex; align-items: center; gap: 8px; cursor: pointer }
.ka-freunde { list-style: none; margin: 0; padding: 0; max-height: 30vh; overflow-y: auto }
.ka-einwilligung { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem }
.ka-einwilligung[hidden] { display: none }
.ka-blatt { max-height: 90vh; overflow-y: auto }
.ka-datenschutz { margin-top: 14px }

/* ---------- Emoji-Auswahl wie WhatsApp (emoji.js) ---------- */
.emoji-tafel.emo { display: flex; flex-direction: column; background: var(--pflaume); color: var(--milch); padding: 0; gap: 0; overflow: hidden }
.emoji-tafel.emo[hidden] { display: none }
.emo-blatt { position: fixed !important; left: 0; right: 0; bottom: 0; top: auto !important; z-index: 120; width: 100% !important; max-width: 720px; margin: 0 auto;
  height: min(46vh, 380px); border-radius: 18px 18px 0 0; border: 1px solid var(--linie); border-bottom: 0; box-shadow: 0 -12px 40px rgba(0,0,0,.35);
  padding-bottom: env(safe-area-inset-bottom, 0px) }
.emo-fluss { position: static; width: 100%; height: 260px; border: 1px solid var(--linie); border-radius: 14px }
html.emo-offen body.seite-chats .chat-form, html.emo-offen body .gc-form { margin-bottom: min(46vh, 380px) }
.emo-kopf { flex: 0 0 auto; padding: 8px 10px 4px }
.emo-suche { width: 100%; border-radius: 999px; border: 1px solid var(--linie); background: var(--pflaume-hell); color: var(--milch); padding: 8px 14px; font: inherit; font-size: .95rem }
.emo-reiter { flex: 0 0 auto; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 2px 8px; border-bottom: 1px solid var(--linie) }
.emo-reiter::-webkit-scrollbar { display: none }
.emo-reiter[hidden] { display: none }
.emo-reiter-k { flex: 1 0 36px; min-width: 36px; height: 40px; padding: 0 !important; margin: 0; border: 0; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: inherit;
  font-size: 1.25rem; line-height: 36px; border-bottom: 3px solid transparent !important; cursor: pointer; opacity: .55; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif }
.emo-reiter-k.an { border-bottom-color: var(--minze) !important; opacity: 1 }
.emo-raster { flex: 1 1 auto; overflow-y: auto; padding: 4px 8px 10px; overscroll-behavior: contain }
.emo-raster[hidden] { display: none }
.emo-treffer { flex: 1 1 auto; overflow-y: auto; padding: 8px; align-content: start }
.emo-treffer[hidden] { display: none }
.emo .emoji-titel { display: block; color: var(--nebel); font-size: .74rem; font-weight: 800; margin: 10px 2px 4px; text-transform: none }
.emo .emoji-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 0 }
.emo .emoji-z { background: transparent !important; border: 0; box-shadow: none !important; color: inherit; min-width: 0; border-radius: 10px; font-size: 1.65rem; line-height: 1; height: 46px; cursor: pointer; padding: 0;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none }
.emo .emoji-z:hover, .emo .emoji-z:focus-visible { background: var(--pflaume-hell) }
.emo .emoji-z.emo-haut { position: relative }
.emo .emoji-z.emo-haut::after { content: ""; position: absolute; right: 5px; bottom: 6px; border: 4px solid transparent; border-right-color: var(--nebel); border-bottom-color: var(--nebel); opacity: .5 }
.emo-leer { grid-column: 1 / -1; color: var(--nebel); font-size: .85rem; margin: 6px 2px }
.emo-toene { position: fixed; z-index: 140; display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--pflaume); border: 1px solid var(--linie); box-shadow: 0 10px 30px rgba(0,0,0,.4) }
.emo-ton { width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; font-size: 1.6rem; cursor: pointer }
.emo-ton:hover, .emo-ton:focus-visible { background: var(--pflaume-hell) }
.emo-huelle { position: fixed; inset: 0; z-index: 125 }
.emo-schatten { position: absolute; inset: 0; background: rgba(22,10,28,.45) }

/* ---------- Langer Druck auf eine Nachricht: Reaktionen + Menü wie WhatsApp (chatmedien.js) ---------- */
.cm-reagierbar { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none }
.cm-reagierbar .text { -webkit-user-select: text; user-select: text }
@media (pointer: coarse) { .cm-reagierbar .text { -webkit-user-select: none; user-select: none } }
.cm-wahl.unten { bottom: auto !important; top: calc(100% + 6px) !important }
.cm-wahl.cm-wahl-wa { display: flex; flex-direction: column; gap: 6px; padding: 6px; min-width: 240px; border-radius: 18px }
.cm-wahl-leiste { display: flex; gap: 2px; align-items: center; background: var(--pflaume-hell); border-radius: 999px; padding: 3px 6px }
.cm-wahl-leiste .cm-wahl-e { font-size: 1.5rem; width: 40px; height: 40px; border-radius: 50% }
.cm-wahl-plus { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--pflaume); color: var(--milch); font-size: 1.3rem; cursor: pointer }
.cm-wer { position: absolute; z-index: 31; min-width: 180px; padding: 8px; border-radius: 12px; background: var(--pflaume); border: 1px solid var(--linie); box-shadow: 0 10px 30px rgba(0,0,0,.35) }
.cm-wer p { margin: 2px 0; display: flex; gap: 8px; align-items: center; justify-content: space-between }
.cm-wer button { font-size: .8rem }
.gc-stern { color: #ffc857; font-size: .8rem; margin-right: 4px }

/* ---------- Kamera im Chat (Sucher im Browser) ---------- */
.cm-sucher { position: fixed; inset: 0; z-index: 150; background: #000; display: flex; flex-direction: column }
.cm-sucher video { flex: 1 1 auto; width: 100%; min-height: 0; object-fit: cover } .cm-sucher video.gespiegelt { transform: scaleX(-1) }
.cm-sucher-leiste { display: flex; align-items: center; justify-content: space-around; padding: 18px 12px calc(22px + env(safe-area-inset-bottom, 0px)); background: #000 }
.cm-sucher-zu { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); left: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); color: #fff; font-size: 1.3rem; cursor: pointer }

/* meeyo.css gibt jedem <button> Polster, Pillenform und Verlauf — für die kleinen Knöpfe hier zurücksetzen (Rauchprobe 14.10.) */
button.wa-zeile { background: transparent !important; border-radius: 0 !important; font-weight: inherit; color: var(--milch) }
.emo-ton, .ew-emoji, .cm-wahl-plus, .wa-anruf-knopf, .ew-sucher-klein, .ew-ausloeser, .cm-sucher-zu, .ka-einst-knopf, .wa-status-plus { padding: 0 !important; line-height: 1 }
.emo-ton, .wa-anruf-knopf { background: transparent !important }
.wa-rund { padding: 0 !important; background: transparent !important; border-radius: 0 !important }
.an-rund { padding: 0 !important }
/* 15.10.: «Name & Info» unter «Ich» (ich_info.js) */
.ii-vorlagen { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px }
.ii-eigen { display: flex; gap: 6px } .ii-emoji { width: 3.4em; text-align: center } .ii-eigen input:last-child { flex: 1 1 auto }
.ii-dauer { border: 0; padding: 0; margin: 8px 0; display: flex; flex-wrap: wrap; gap: 12px } .ii-dauer legend { font-weight: 700; margin-bottom: 4px }
.ii-jetzt { font-weight: 700 }
.gc-team-befinden { font-size: .7rem; opacity: .85; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.gc-team-aus { font-size: .72rem; padding: 2px 6px }
/* 15.10.2026 (Owner-Screenshot, roter Pfeil): die Reiter «Chats · Anrufe · Communitys · Karte» waren am Handy abgeschnitten (Karte halb).
   Jetzt gleich breite Segmente in EINER Zeile (Symbol + kurzer Text), nie waagrecht abgeschnitten — 360–390 px gemessen im Smoke. */
.wa-reiter { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; overflow: visible; padding: 3px; border-radius: 14px; background: var(--pflaume); border: 1px solid var(--linie) }
.wa-reiter[hidden] { display: none }
.wa-reiter a { justify-content: center; min-width: 0; padding: 7px 4px; border: 0; background: transparent; border-radius: 11px; font-size: .86rem; gap: 4px; overflow: hidden; text-overflow: ellipsis }
.wa-reiter a.an { background: var(--verlauf); color: #fff }
@media (max-width: 420px) { .wa-reiter a { flex-direction: column; gap: 1px; font-size: .72rem; padding: 6px 2px; line-height: 1.15 } }
.pe-kopf { display: flex; align-items: center; gap: 8px } .pe-kopf h1 { flex: 1 1 auto }
.gc-fab.im-kopf { position: static; width: 42px; height: 42px; border-radius: 50%; font-size: 1.35rem; box-shadow: none; flex: 0 0 auto }
/* 15.10.: mehrere Story-Segmente (story_editor.js) */
.ew-segmente { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin }
.ew-seg { position: relative; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px }
.ew-seg-bild { width: 54px; height: 86px; border-radius: 10px; overflow: hidden; border: 2px solid var(--linie); background: var(--pflaume); padding: 0; display: grid; place-items: center; font-size: 1.4rem; position: relative; cursor: pointer }
.ew-seg-bild img { width: 100%; height: 100%; object-fit: cover }
.ew-seg-bild small { position: absolute; left: 3px; top: 2px; background: rgba(22,10,28,.8); color: #fff; border-radius: 999px; font-size: .68rem; padding: 0 5px }
.ew-seg.an .ew-seg-bild { border-color: var(--korall) }
.ew-seg-steuer { display: flex; gap: 2px } .ew-seg-steuer button { padding: 2px 6px; font-size: .78rem; min-width: 0 }
.ew-seg-dazu { width: 54px; height: 86px; border-radius: 10px; border: 2px dashed var(--linie); display: grid; place-items: center; font-size: 1.6rem; cursor: pointer; color: var(--nebel) }
@media (max-width: 420px) { .wa-reiter a { white-space: normal; text-align: center; text-overflow: clip } }   /* «👪 Communitys» bricht um statt abgeschnitten (Smoke 390 px) */
/* Smoke 15.10.: Karte (Leaflet z 400, Pille/Knoepfe z 500) lag ueber dem Blatt — eigene Ebene unter dem Blatt; Radio nicht als Feld */
.ka-buehne { isolation: isolate; z-index: 0 }
.ka-wahl input[type=radio], .ka-wahl input[type=checkbox] { width: auto; flex: 0 0 auto; margin: 3px 0 0; min-height: 0 }
/* 15.10.2026 Reiter «Aktuelles» wie WhatsApp (status.js): Mein Status, Neu, Angesehen, Stummgeschaltet; Text-Status-Editor; Datenschutz */
.wa-ak-kopf { display: flex; align-items: center; justify-content: space-between }
.wa-ak-mehr { font-size: 1.3rem; padding: 2px 12px !important; line-height: 1 }
.wa-ak-ich { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--linie) }
.wa-ak-ich .wa-zeile { border-bottom: 0; flex: 1 1 auto; min-width: 0 }
.wa-ak-knoepfe { display: flex; gap: 8px; flex: 0 0 auto }
.wa-ak-rund { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--pflaume-hell); color: var(--milch); text-decoration: none; font-size: 1.15rem; padding: 0 !important; border: 0 }
.wa-ak-kreis { width: 54px; gap: 0 } .wa-ak-kreis .ew-ring-kreis { width: 54px; height: 54px } .wa-ak-kreis .ew-ring-initiale { font-size: 1rem }
.wa-ak-zeile.stumm { opacity: .6 }
.wa-ak-abschnitt { margin-top: 10px } .wa-ak-abschnitt summary { cursor: pointer; list-style: revert }
.wa-ak-privat { margin-top: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap } .wa-ak-privat button { padding: 2px 8px !important }
.wa-zum-reiter { cursor: pointer } .wa-zum-reiter::after { content: " ›"; color: var(--nebel) }
.ew-ring-person.stumm { opacity: .55 } .ew-ring-person.stumm .ew-ring-kreis { background: var(--linie) }
.wa-text-editor { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; color: #fff; padding: calc(12px + env(safe-area-inset-top)) 16px calc(14px + env(safe-area-inset-bottom)); transition: background .2s }
.wa-te-kopf { display: flex; align-items: center; gap: 8px } .wa-te-platz { flex: 1 }
.wa-te-knopf { width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.25) !important; color: #fff !important; font-size: 1.15rem; font-weight: 800; padding: 0 !important; border: 0 }
.wa-te-feld { flex: 1 1 auto; margin: 12px 0; background: transparent !important; border: 0 !important; color: #fff !important; text-align: center; font-weight: 700; resize: none; line-height: 1.25; outline: none; box-shadow: none !important; padding-top: 18vh }
.wa-te-feld::placeholder { color: rgba(255,255,255,.75) }
.wa-te-fuss { display: flex; align-items: center; gap: 10px } .wa-te-sicht { flex: 1 1 auto; opacity: .9 } .wa-te-zahl { opacity: .75 }
.wa-te-senden { width: 54px; height: 54px; border-radius: 50%; background: var(--minze) !important; color: #0b2a1b !important; font-size: 1.3rem; padding: 0 !important; border: 0 }
.wa-te-senden:disabled { opacity: .45 }
.wa-text-editor .fehler { background: rgba(0,0,0,.45); padding: 6px 10px; border-radius: 10px }
.wa-dp-wahl { display: grid; gap: 8px; margin: 8px 0 12px } .wa-dp-option { display: flex; align-items: center; gap: 8px; font-weight: 600 }
.wa-dp-option input, .wa-dp-liste input { width: auto; flex: 0 0 auto; min-height: 0; margin: 0 }
.wa-dp .wa-dp-liste { max-height: 40vh; overflow-y: auto }
.wa-dp { max-height: 88vh; overflow-y: auto }
