:root {
  --o: #ff7a1a; --o2: #ff9a4a; --o3: #fff1e6; --o4: #ffe2cc; --od: #e5660a;
  --bg: #ffffff; --bg2: #f6f5f3; --bg3: #efedea; --line: #ebe7e2;
  --t: #1f1d1b; --t2: #6f6a64; --t3: #a29c95;
  --me: #ffe7d4; --they: #ffffff; --chatbg: #fbf7f3;
  --r: 14px; --shadow: 0 6px 30px rgba(60, 30, 0, .10);
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg2); color: var(--t);
  font: 15px/1.4 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; overscroll-behavior: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; font-size: 16px; }
a { color: var(--od); }
.hidden { display: none !important; }
#app { height: 100dvh; display: flex; }
.start { margin: auto; } .logo-gross { font-size: 64px; animation: puls 1.4s ease-in-out infinite; }
@keyframes puls { 50% { transform: scale(1.12); } }

/* ---------- Anmeldung */
.auth { margin: auto; width: min(420px, 100%); padding: 24px; }
.auth-karte { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 30px 26px; }
.auth-kopf { text-align: center; margin-bottom: 22px; }
.auth-logo { width: 74px; height: 74px; border-radius: 22px; margin: 0 auto 12px; display: grid; place-items: center; font-size: 38px;
  background: linear-gradient(135deg, var(--o), var(--o2)); box-shadow: 0 10px 24px rgba(255, 122, 26, .35); }
.auth h1 { margin: 0; font-size: 26px; } .auth p.unter { margin: 6px 0 0; color: var(--t2); }
.feld { margin-bottom: 12px; } .feld label { display: block; font-size: 13px; color: var(--t2); margin: 0 0 5px 4px; }
.feld input, .eingabe { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg2); outline: none; transition: .15s; }
.feld input:focus, .eingabe:focus { border-color: var(--o); background: #fff; box-shadow: 0 0 0 4px var(--o3); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 12px; font-weight: 600; transition: .15s; }
.btn-o { background: var(--o); color: #fff; width: 100%; box-shadow: 0 6px 16px rgba(255, 122, 26, .3); }
.btn-o:hover { background: var(--od); } .btn-o:disabled { opacity: .6; }
.btn-h { background: var(--bg2); } .btn-h:hover { background: var(--bg3); }
.btn-rot { background: #ffe5e2; color: #c9302c; }
.auth-links { text-align: center; margin-top: 16px; font-size: 14px; color: var(--t2); }
.auth-links button { color: var(--od); font-weight: 600; }
.fehler { color: #c9302c; font-size: 14px; min-height: 20px; margin: 4px 2px 8px; }
.code-eingabe { letter-spacing: 12px; text-align: center; font-size: 26px !important; font-weight: 700; }
.hinweis { font-size: 12.5px; color: var(--t3); margin-top: 14px; text-align: center; }

/* ---------- Hauptlayout */
.haupt { flex: 1; display: flex; min-width: 0; background: #fff; }
.seite { width: 400px; max-width: 100%; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #fff; }
.kopf { height: 62px; padding: 0 14px; padding-top: var(--safe-t); box-sizing: content-box; display: flex; align-items: center; gap: 10px; background: #fff; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.kopf .titel { flex: 1; font-weight: 700; font-size: 20px; color: var(--o); }
.ikon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--t2); position: relative; flex-shrink: 0; }
.ikon:hover { background: var(--bg2); color: var(--o); }
.ikon svg { width: 22px; height: 22px; }
.badge { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--o); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.suche { padding: 8px 12px; } .suche input { width: 100%; padding: 10px 14px 10px 38px; border-radius: 20px; border: 0; background: var(--bg2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23a29c95' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") 12px center no-repeat; outline: none; }
.tabs { display: flex; gap: 6px; padding: 2px 12px 8px; }
.tab { padding: 6px 14px; border-radius: 16px; background: var(--bg2); color: var(--t2); font-size: 14px; font-weight: 600; position: relative; }
.tab.an { background: var(--o3); color: var(--od); }
.liste { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.eintrag { display: flex; gap: 12px; align-items: center; padding: 10px 14px; cursor: pointer; transition: background .1s; }
.eintrag:hover { background: var(--bg2); } .eintrag.an { background: var(--o3); }
.eintrag .mitte { flex: 1; min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: -10px; }
.eintrag .zeile1, .eintrag .zeile2 { display: flex; gap: 8px; align-items: center; }
.eintrag .name { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eintrag .zeit { font-size: 12px; color: var(--t3); }
.eintrag .vorschau { flex: 1; color: var(--t2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eintrag .ungelesen { background: var(--o); color: #fff; font-size: 12px; font-weight: 700; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; }
.eintrag.neu .zeit { color: var(--o); font-weight: 600; }
.leer { text-align: center; color: var(--t3); padding: 40px 24px; }
.leer .gross { font-size: 46px; margin-bottom: 8px; }

.av { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--o2), var(--o)); color: #fff; font-weight: 700;
  display: grid; place-items: center; font-size: 18px; overflow: hidden; position: relative; user-select: none; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.k { width: 40px; height: 40px; font-size: 15px; } .av.gg { width: 110px; height: 110px; font-size: 40px; }
.av-wrap { position: relative; } .av-wrap .on { position: absolute; right: 1px; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: #2fc76b; border: 2.5px solid #fff; }

/* ---------- Chat */
.chat { flex: 1; display: flex; flex-direction: column; min-width: 0; background: var(--chatbg); position: relative; }
.chat-leer { flex: 1; display: grid; place-items: center; text-align: center; color: var(--t2); background: var(--chatbg); }
.chat-leer .gross { font-size: 72px; } .chat-leer h2 { color: var(--o); margin: 8px 0 4px; }
.chat .kopf .info { flex: 1; min-width: 0; cursor: pointer; }
.chat .kopf .name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat .kopf .status { font-size: 13px; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat .kopf .status.tippt { color: var(--o); }
.zurueck { display: none; }
.verlauf { flex: 1; overflow-y: auto; padding: 10px 6% 6px; overscroll-behavior: contain; overflow-anchor: auto;
  background-image: radial-gradient(rgba(255, 122, 26, .07) 1px, transparent 1px); background-size: 22px 22px; }
.tag { text-align: center; margin: 12px 0 8px; position: sticky; top: 4px; z-index: 2; }
.tag span { background: rgba(255, 255, 255, .92); padding: 4px 12px; border-radius: 10px; font-size: 12.5px; color: var(--t2); box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.msg { display: flex; margin: 2px 0; content-visibility: auto; contain-intrinsic-size: auto 60px; }
.msg.ich { justify-content: flex-end; }
.blase { max-width: min(72%, 560px); background: var(--they); padding: 6px 9px 6px 10px; border-radius: 12px; box-shadow: 0 1px 1.5px rgba(0, 0, 0, .08);
  position: relative; word-wrap: break-word; overflow-wrap: anywhere; }
.msg.ich .blase { background: var(--me); }
.msg.erste .blase { border-top-left-radius: 4px; } .msg.ich.erste .blase { border-top-left-radius: 12px; border-top-right-radius: 4px; }
.msg.erste { margin-top: 8px; }
.blase .absender { font-size: 13px; font-weight: 700; color: var(--od); margin-bottom: 2px; }
.blase .text { white-space: pre-wrap; }
.blase .meta { float: right; font-size: 11px; color: var(--t3); margin: 6px 0 -4px 10px; display: flex; gap: 3px; align-items: center; white-space: nowrap; }
.haken { width: 16px; height: 11px; } .haken.gelesen { color: var(--o); }
.blase .medien { margin: -2px -5px 4px -6px; border-radius: 9px; overflow: hidden; position: relative; background: var(--bg3); }
.blase .medien img, .blase .medien video { display: block; max-width: 100%; max-height: 380px; width: 100%; object-fit: cover; cursor: pointer; }
.blase.nur-medien .meta { position: absolute; right: 12px; bottom: 10px; color: #fff; background: rgba(0, 0, 0, .35); padding: 1px 6px; border-radius: 8px; margin: 0; }
.blase.sticker { background: none !important; box-shadow: none; padding: 0; }
.blase.sticker img { width: 160px; height: 160px; object-fit: contain; display: block; }
.blase.sticker .meta { float: none; justify-content: flex-end; background: rgba(255, 255, 255, .8); padding: 1px 6px; border-radius: 8px; margin: 2px 0 0 auto; width: max-content; }
.laed { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .25); font-size: 13px; }
.spinner { width: 34px; height: 34px; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: dreh .8s linear infinite; }
@keyframes dreh { to { transform: rotate(360deg); } }
.play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(0, 0, 0, .5); display: grid; place-items: center; pointer-events: none; }
.play::after { content: ""; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.audio { display: flex; align-items: center; gap: 10px; min-width: 230px; padding: 4px 0; }
.audio .pbtn { width: 40px; height: 40px; border-radius: 50%; background: var(--o); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.audio .pbtn svg { width: 18px; height: 18px; }
.audio .welle { flex: 1; height: 30px; display: flex; align-items: center; gap: 2px; cursor: pointer; }
.audio .welle i { flex: 1; background: #d9c8b8; border-radius: 2px; min-width: 2px; }
.audio .welle i.gespielt { background: var(--o); }
.audio .dauer { font-size: 12px; color: var(--t2); min-width: 34px; }
.datei { display: flex; gap: 10px; align-items: center; padding: 6px 2px; cursor: pointer; min-width: 210px; }
.datei .dicon { width: 42px; height: 42px; border-radius: 10px; background: var(--o3); color: var(--od); display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.antwort-zitat { border-left: 4px solid var(--o); background: rgba(255, 122, 26, .08); border-radius: 7px; padding: 5px 8px; margin-bottom: 4px; font-size: 13.5px; cursor: pointer; }
.antwort-zitat b { color: var(--od); display: block; font-size: 13px; }
.antwort-zitat span { color: var(--t2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.geloescht { color: var(--t3); font-style: italic; }
.reaktionen { position: absolute; bottom: -12px; left: 8px; display: flex; gap: 2px; background: #fff; border-radius: 12px; padding: 1px 6px; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); font-size: 13px; cursor: pointer; z-index: 1; }
.msg.ich .reaktionen { left: auto; right: 8px; }
.msg.hat-reaktion { margin-bottom: 14px; }
.umfrage { min-width: 250px; } .umfrage h4 { margin: 2px 0 8px; font-size: 15.5px; }
.umfrage .art { font-size: 12px; color: var(--t2); margin-bottom: 6px; }
.option { margin: 6px 0; cursor: pointer; }
.option .ozeile { display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.option .kreis { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--t3); flex-shrink: 0; display: grid; place-items: center; }
.option.gewaehlt .kreis { border-color: var(--o); background: var(--o); }
.option.gewaehlt .kreis::after { content: "✓"; color: #fff; font-size: 12px; font-weight: 700; }
.option .anzahl { margin-left: auto; color: var(--t2); font-size: 13px; }
.option .balken { height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .07); margin: 5px 0 0 28px; overflow: hidden; }
.option .balken i { display: block; height: 100%; background: var(--o); border-radius: 3px; transition: width .3s; }
.anruf-msg { display: flex; align-items: center; gap: 10px; padding: 4px 2px; }
.anruf-msg .aicon { width: 38px; height: 38px; border-radius: 50%; background: var(--o3); color: var(--od); display: grid; place-items: center; }
.anruf-msg.verpasst .aicon { background: #ffe5e2; color: #c9302c; }
.mehr-laden { text-align: center; padding: 8px; color: var(--t3); font-size: 13px; }
.nach-unten { position: absolute; right: 18px; bottom: 84px; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--t2); z-index: 3; }
.nach-unten .badge { top: -6px; right: -4px; }

/* ---------- Eingabe */
.eingabebereich { background: var(--bg2); padding: 8px 10px calc(8px + var(--safe-b)); border-top: 1px solid var(--line); flex-shrink: 0; }
.antwort-leiste { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px 12px 0 0; padding: 8px 10px; margin: 0 52px -2px; border-left: 4px solid var(--o); }
.antwort-leiste .inhalt { flex: 1; min-width: 0; font-size: 13.5px; } .antwort-leiste b { color: var(--od); }
.antwort-leiste span { display: block; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eingabezeile { display: flex; align-items: flex-end; gap: 6px; }
.textfeld { flex: 1; background: #fff; border-radius: 22px; display: flex; align-items: flex-end; padding: 2px 4px; min-height: 44px; }
.textfeld textarea { flex: 1; border: 0; outline: none; resize: none; padding: 11px 6px; max-height: 140px; background: none; line-height: 1.35; }
.senden { width: 46px; height: 46px; border-radius: 50%; background: var(--o); color: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(255, 122, 26, .35); transition: transform .1s; }
.senden:active { transform: scale(.92); } .senden svg { width: 22px; height: 22px; }
.senden.aufnahme { background: #e5484d; animation: puls 1s infinite; }
.aufnahme-leiste { flex: 1; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 22px; padding: 0 14px; height: 46px; }
.aufnahme-leiste .punkt { width: 10px; height: 10px; border-radius: 50%; background: #e5484d; animation: puls 1s infinite; }
.aufnahme-leiste .zeit { font-variant-numeric: tabular-nums; flex: 1; }
.aufnahme-leiste canvas { flex: 2; height: 30px; min-width: 0; }

.popup { position: absolute; z-index: 20; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 8px; animation: auf .15s ease-out; }
@keyframes auf { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.anhang-menue { bottom: calc(64px + var(--safe-b)); left: 10px; display: grid; grid-template-columns: repeat(3, 84px); gap: 6px; }
.anhang-menue button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 12px; font-size: 12.5px; color: var(--t2); }
.anhang-menue button:hover { background: var(--bg2); }
.anhang-menue .kreis { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 22px; }
.emoji-popup { bottom: calc(64px + var(--safe-b)); left: 10px; width: min(360px, calc(100% - 20px)); }
.emoji-raster { display: grid; grid-template-columns: repeat(8, 1fr); max-height: 240px; overflow-y: auto; }
.emoji-raster button { font-size: 24px; padding: 4px; border-radius: 8px; } .emoji-raster button:hover { background: var(--bg2); }
.sticker-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-height: 260px; overflow-y: auto; padding: 4px; }
.sticker-raster button { aspect-ratio: 1; border-radius: 10px; background: var(--bg2); padding: 4px; position: relative; }
.sticker-raster img { width: 100%; height: 100%; object-fit: contain; }
.sticker-raster .neu { font-size: 30px; color: var(--o); border: 2px dashed var(--o4); background: #fff; }
.ptabs { display: flex; gap: 4px; margin-bottom: 6px; } .ptabs button { flex: 1; padding: 7px; border-radius: 10px; font-weight: 600; color: var(--t2); }
.ptabs button.an { background: var(--o3); color: var(--od); }
.kontext { min-width: 190px; padding: 6px; position: fixed; }
.kontext .reakt { display: flex; gap: 2px; padding: 4px 4px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.kontext .reakt button { font-size: 24px; padding: 4px; border-radius: 50%; transition: transform .1s; } .kontext .reakt button:hover { transform: scale(1.25); }
.kontext .punkt-btn { display: flex; width: 100%; gap: 10px; padding: 10px 12px; border-radius: 10px; text-align: left; }
.kontext .punkt-btn:hover { background: var(--bg2); } .kontext .punkt-btn.rot { color: #c9302c; }

/* ---------- Dialoge */
#overlay:empty { display: none; }
.dialog-hg { position: fixed; inset: 0; background: rgba(30, 20, 10, .45); z-index: 50; display: grid; place-items: center; padding: 16px; animation: einblenden .15s; }
@keyframes einblenden { from { opacity: 0; } }
.dialog { background: #fff; border-radius: 22px; width: min(440px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 22px; box-shadow: var(--shadow); animation: auf .18s ease-out; }
.dialog h3 { margin: 0 0 14px; font-size: 20px; }
.dialog .knoepfe { display: flex; gap: 8px; margin-top: 16px; } .dialog .knoepfe .btn { flex: 1; }
.person { display: flex; gap: 12px; align-items: center; padding: 8px 4px; border-radius: 12px; }
.person .mitte { flex: 1; min-width: 0; } .person .klein { font-size: 13px; color: var(--t2); }
.person .btn { padding: 8px 14px; }
.profil-kopf { text-align: center; padding: 8px 0 14px; } .profil-kopf .av { margin: 0 auto 10px; }
.profil-kopf h2 { margin: 0; } .profil-kopf .klein { color: var(--t2); }
.av-aendern { position: relative; display: inline-block; cursor: pointer; }
.av-aendern::after { content: "📷"; position: absolute; right: 0; bottom: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--o); display: grid; place-items: center; border: 3px solid #fff; font-size: 15px; }
.abschnitt { margin: 14px 0 6px; font-size: 13px; font-weight: 700; color: var(--o); text-transform: uppercase; letter-spacing: .5px; }
.sicher { background: var(--o3); border-radius: 12px; padding: 12px; font-size: 13px; color: var(--t2); }
.sicher pre { font: 600 15px/1.6 ui-monospace, Consolas, monospace; color: var(--t); margin: 8px 0 0; text-align: center; }
.check { display: flex; align-items: center; gap: 10px; padding: 8px 4px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--o); }
.umfrage-opt { display: flex; gap: 6px; margin-bottom: 8px; }

/* Bildbetrachter */
.betrachter { position: fixed; inset: 0; background: rgba(0, 0, 0, .94); z-index: 60; display: flex; flex-direction: column; }
.betrachter .leiste { display: flex; justify-content: flex-end; gap: 6px; padding: calc(10px + var(--safe-t)) 10px 10px; }
.betrachter .leiste .ikon { color: #fff; } .betrachter .leiste .ikon:hover { background: rgba(255, 255, 255, .12); }
.betrachter .inhalt { flex: 1; display: grid; place-items: center; min-height: 0; padding: 0 10px calc(20px + var(--safe-b)); }
.betrachter img, .betrachter video { max-width: 100%; max-height: 100%; border-radius: 6px; }

/* Anruf */
.anruf { position: fixed; inset: 0; z-index: 70; background: radial-gradient(circle at 50% 30%, #4a2a12, #160c05); color: #fff; display: flex; flex-direction: column; align-items: center; }
.anruf video.fern { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.anruf video.lokal { position: absolute; right: 16px; top: calc(16px + var(--safe-t)); width: min(28vw, 180px); aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .5); z-index: 3; background: #222; transform: scaleX(-1); }
.anruf .person-info { position: relative; z-index: 2; margin-top: calc(14vh + var(--safe-t)); text-align: center; text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.anruf .person-info .av { margin: 0 auto 16px; box-shadow: 0 0 0 10px rgba(255, 122, 26, .15), 0 0 0 22px rgba(255, 122, 26, .07); }
.anruf .person-info h2 { margin: 0; font-size: 28px; } .anruf .person-info .zustand { opacity: .85; margin-top: 6px; }
.anruf.video-an .person-info { margin-top: calc(20px + var(--safe-t)); } .anruf.video-an .person-info .av { display: none; }
.anruf .knopfleiste { position: absolute; bottom: calc(40px + var(--safe-b)); left: 0; right: 0; display: flex; justify-content: center; gap: 18px; z-index: 3; flex-wrap: wrap; }
.anruf .rk { width: 62px; height: 62px; border-radius: 50%; background: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); display: grid; place-items: center; color: #fff; }
.anruf .rk svg { width: 26px; height: 26px; } .anruf .rk.aus { background: #fff; color: #222; }
.anruf .rk.auflegen { background: #e5484d; } .anruf .rk.annehmen { background: #2fc76b; animation: puls 1.2s infinite; }
.anruf-mini { position: fixed; top: calc(10px + var(--safe-t)); left: 50%; transform: translateX(-50%); z-index: 65; background: #2fc76b; color: #fff; padding: 8px 18px; border-radius: 20px; cursor: pointer; box-shadow: var(--shadow); font-weight: 600; }

#toast { position: fixed; left: 50%; bottom: calc(90px + var(--safe-b)); transform: translateX(-50%) translateY(20px); background: #2b2622; color: #fff; padding: 10px 18px; border-radius: 12px; opacity: 0; transition: .25s; z-index: 90; pointer-events: none; max-width: 90vw; text-align: center; }
#toast.an { opacity: 1; transform: translateX(-50%); }

/* ---------- Handy */
@media (max-width: 760px) {
  .seite { width: 100%; border-right: 0; }
  .haupt.chat-offen .seite { display: none; }
  .haupt:not(.chat-offen) .chat, .haupt:not(.chat-offen) .chat-leer { display: none; }
  .zurueck { display: grid; margin-left: -8px; }
  .verlauf { padding: 8px 10px 6px; }
  .blase { max-width: 84%; }
  .kopf { height: 56px; }
  .anhang-menue { grid-template-columns: repeat(3, 1fr); right: 10px; }
  .antwort-leiste { margin: 0 0 -2px; }
}
@media (min-width: 761px) and (max-width: 1100px) { .seite { width: 340px; } .verlauf { padding: 10px 3% 6px; } }
@media (hover: hover) { .liste::-webkit-scrollbar, .verlauf::-webkit-scrollbar { width: 8px; } .liste::-webkit-scrollbar-thumb, .verlauf::-webkit-scrollbar-thumb { background: #ddd5cc; border-radius: 4px; } }
