Nur im Haus von Team Dogi; die Agentur bleibt unverändert (geprüft). - Gemeinsamer Wache-Motor: chatRegelnAnwenden aus workspace-chatwache.js nimmt jetzt eigene Schalter je Raum (Langsam, Links nur vom Team, Großbuchstaben-Bremse, neue Zugänge 2 Minuten, Wortliste); der Saal verhält sich unverändert (pruef-reaktion 1114 grün), die Langsam-Uhr ist je Bereich getrennt - E11: neue Zugänge schreiben sofort, Bilder ab Tag 2, Links ab „Dabei“ - „Nochmal überlegen?“: einmalige Rückfrage bei verletzenden Sätzen, nichts wird gesperrt; gezählt wird nur die Wahl, nie der Text - Werkzeuge am Beitrag (Team): Hinweis und Pause über dieselbe Maßnahmen-Schnittstelle, Verbergen mit Grund (DSA Art. 17) – die Community bekommt den Text gar nicht, nur den Grund - Ausblenden für mich (die Person merkt nichts, auch nicht per Auskunft) - Textbausteine für den Live-Chat (zehn fertige, eigene, gemeinsame) - Link-Schutz: nachgemachte Adressen (Punycode) werden markiert - pruef-rudel-wache (57), Gegenprobe am gemeinsamen Motor wird rot; pruef-rudel-schutz mit älteren Testzugängen (E11 misst die neue Prüfung) Co-Authored-By: Claude Opus 5.5 <[email protected]>
753 lines
34 KiB
CSS
753 lines
34 KiB
CSS
/* =====================================================================
|
||
chat-rudel.css — der Chat im Haus von Team Dogi (11.11.2026)
|
||
|
||
Rudel-Chat-Plan, Stufe 2 („Das Gerüst"). Diese Datei gilt NUR auf
|
||
crew.dogfather-universe.com: Der Server liefert sie dort anstelle der
|
||
leeren chat-haus.css aus (crew-adresse.js). Die Agentur sieht sie nie
|
||
(Zwei-Häuser-Regel, 24.09.2026) — dort bleibt chat-haus.css leer.
|
||
|
||
WAS SICH ÄNDERT, und warum:
|
||
|
||
· MEHR GESPRÄCH IM BILD. Gemessen vorher (412 × 915): fünf ganze
|
||
Nachrichten, 108 px für ein „Moin!", 72 % des Fensters für den
|
||
Verlauf. Ein Chat lebt davon, dass man den Faden sieht. Ziel: zwölf
|
||
und mehr, unter 50 px je kurzer Nachricht, über 80 % Verlauf.
|
||
· DIE UHRZEIT STEHT IN DER LETZTEN ZEILE, unten rechts, wie man es von
|
||
jedem Messenger kennt — statt einer eigenen Zeile unter jedem Satz.
|
||
Ein unsichtbarer Platzhalter am Textende hält ihr den Platz frei.
|
||
· DER NAME IST LEISE. Großbuchstaben mit Sperrung waren lauter als die
|
||
Nachricht selbst.
|
||
· AM HANDY GEHÖRT DER GANZE SCHIRM DEM GESPRÄCH. Die Kopfleiste des
|
||
Hauses tritt im offenen Gespräch zurück (der Zurück-Pfeil im Kopf
|
||
führt zur Liste, dort ist sie wieder da).
|
||
· AM RECHNER STEHEN DIE HANDGRIFFE NICHT MEHR UNTER JEDER BLASE, sondern
|
||
schweben beim Überfahren oder Fokussieren darüber (chat.js hängt sie
|
||
in .chat-nachricht__werkzeug um; keiner fällt weg).
|
||
|
||
ANGEZOGEN WIRD NUR `transform` UND `opacity` (Hausregel 15.10.2026).
|
||
Bewegung nur ohne `prefers-reduced-motion: reduce`.
|
||
|
||
SPEZIFITÄT: chat.css trägt viele Regeln der Form
|
||
`body[data-griffbrett="ja"] .inhalt.chat-seite …`, und haus.css lädt
|
||
nach dieser Datei. Deshalb steht vor jeder Regel `html body`, und wo es
|
||
gegen eine schon spezifische Regel geht, zusätzlich die Klasse der
|
||
Seite. `!important` nur dort, wo eine Regel mit Attribut am body sonst
|
||
gewinnt — jede Stelle ist begründet.
|
||
===================================================================== */
|
||
|
||
/* ---------------------------------------------------------------------
|
||
1. DER VERLAUF — dichter, ruhiger
|
||
--------------------------------------------------------------------- */
|
||
html body .inhalt.chat-seite #verlauf {
|
||
padding: 10px 12px 6px;
|
||
gap: 2px;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht {
|
||
margin-top: 6px;
|
||
column-gap: 7px;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht[data-folge="ja"] { margin-top: 2px; }
|
||
/* DIE BLASE IST SO BREIT WIE IHR TEXT. Vorher füllte jede Blase die
|
||
ganze erlaubte Breite (88 %), auch für ein „Ich!". Jetzt bestimmt der
|
||
Inhalt die Breite, die Obergrenze bleibt. */
|
||
html body .inhalt.chat-seite .chat-nachricht:not([data-system="ja"]) {
|
||
width: fit-content;
|
||
grid-template-columns: 28px minmax(0, auto);
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht[data-selbst="ja"] {
|
||
grid-template-columns: minmax(0, auto);
|
||
}
|
||
|
||
/* Das Gesicht: 28 statt 32 Pixel. Es steht nur am Anfang einer Folge. */
|
||
html body .inhalt.chat-seite .chat-nachricht__zeichen {
|
||
width: 28px; height: 28px;
|
||
align-self: end;
|
||
}
|
||
|
||
/* Die Blase: weniger Polster, gleiche Rundung überall außer der Ecke
|
||
zum Gesicht. Die Ecke zeigt, wer spricht. */
|
||
html body .inhalt.chat-seite .chat-nachricht__blase {
|
||
position: relative;
|
||
padding: 5px 10px 5px;
|
||
border-radius: 18px 18px 18px 6px;
|
||
min-width: 0;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht[data-folge="ja"] .chat-nachricht__blase {
|
||
border-radius: 18px 18px 18px 6px;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht[data-selbst="ja"] .chat-nachricht__blase,
|
||
html body .inhalt.chat-seite .chat-nachricht[data-selbst="ja"][data-folge="ja"] .chat-nachricht__blase {
|
||
border-radius: 18px 18px 6px 18px;
|
||
}
|
||
|
||
/* Der Name: leise, eigene Farbe bleibt (dogtag-chat.js / chat.css). */
|
||
html body .inhalt.chat-seite .chat-nachricht__von {
|
||
margin: 0 0 1px;
|
||
padding: 0;
|
||
font-size: .78rem; line-height: 1.2;
|
||
font-weight: 650;
|
||
letter-spacing: .01em;
|
||
text-transform: none;
|
||
gap: 6px;
|
||
border-bottom: 0;
|
||
}
|
||
/* Der Rollenbalken vor dem Namen: Die Farbe des Namens sagt es schon. */
|
||
html body .inhalt.chat-seite .chat-nachricht__von::before { display: none; }
|
||
|
||
/* Der Text: lesbar, aber ohne Luft, die niemand braucht. */
|
||
html body .inhalt.chat-seite .chat-nachricht__text {
|
||
font-size: .96rem;
|
||
line-height: 1.36;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
|
||
/* ---------------------------------------------------------------------
|
||
2. DIE UHRZEIT IN DER LETZTEN ZEILE
|
||
---------------------------------------------------------------------
|
||
Der Fuß liegt absolut unten rechts in der Blase. Damit er keinen Text
|
||
überdeckt, hängt am Ende des Texts ein unsichtbarer Platzhalter in
|
||
seiner Breite: Passt er noch in die letzte Zeile, bleibt alles
|
||
einzeilig; sonst bricht er um und die Uhrzeit bekommt eine eigene
|
||
Zeile — ohne dass jemand rechnen muss. */
|
||
html body .inhalt.chat-seite .chat-nachricht__blase .chat-nachricht__fuss,
|
||
html body[data-griffbrett="ja"] .inhalt.chat-seite .chat-nachricht__fuss {
|
||
position: absolute;
|
||
right: 8px; bottom: 4px;
|
||
margin: 0; padding: 0;
|
||
min-height: 0; height: 18px;
|
||
display: flex; align-items: center; justify-content: flex-end;
|
||
gap: 2px;
|
||
background: none; box-shadow: none; border: 0;
|
||
pointer-events: none;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht__fuss > * { pointer-events: auto; }
|
||
html body .inhalt.chat-seite .chat-nachricht__zeit,
|
||
html body[data-griffbrett="ja"] .inhalt.chat-seite .chat-nachricht__zeit {
|
||
margin: 0; padding: 0;
|
||
flex: none;
|
||
font-size: .72rem; line-height: 18px;
|
||
letter-spacing: .02em;
|
||
background: none;
|
||
white-space: nowrap;
|
||
}
|
||
/* Platzhalter: Uhrzeit (ca. 30 px) plus Abstand. Am Finger kommt der
|
||
Punkt-Knopf dazu. */
|
||
html body .inhalt.chat-seite .chat-nachricht__blase > .chat-nachricht__text::after {
|
||
content: "";
|
||
display: inline-block;
|
||
width: 42px; height: 1px;
|
||
vertical-align: baseline;
|
||
}
|
||
html body[data-griffbrett="ja"] .inhalt.chat-seite .chat-nachricht__blase > .chat-nachricht__text::after {
|
||
width: 62px;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht__bearbeitet { font-size: .72rem; line-height: 18px; }
|
||
/* Wird die Nachricht bearbeitet, steht „bearbeitet" mit im Fuß — der
|
||
Platz dafür kommt dazu. */
|
||
html body .inhalt.chat-seite .chat-nachricht__blase:has(.chat-nachricht__bearbeitet) > .chat-nachricht__text::after {
|
||
width: 108px;
|
||
}
|
||
/* Ohne Text (Bild, Sprachnachricht, Datei) bekommt der Fuß eine eigene
|
||
Zeile, damit er nicht über dem Anhang liegt. */
|
||
html body .inhalt.chat-seite .chat-nachricht__blase:not(:has(> .chat-nachricht__text)) {
|
||
padding-bottom: 24px;
|
||
}
|
||
/* Reaktionen, Einklapp-Knopf: Danach steht der Fuß in einer eigenen
|
||
Zeile darunter, sonst läge er auf den Reaktionen. */
|
||
/* Folgt etwas unter dem Text, braucht er den Platzhalter nicht -- sonst
|
||
bräche er in eine leere eigene Zeile um. */
|
||
html body .inhalt.chat-seite .chat-nachricht__blase:has(> .reaktionen) > .chat-nachricht__text::after,
|
||
html body .inhalt.chat-seite .chat-nachricht__blase:has(> .chat-nachricht__weiter) > .chat-nachricht__text::after {
|
||
display: none;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht__blase:has(> .chat-nachricht__weiter) {
|
||
padding-bottom: 24px;
|
||
}
|
||
/* Mit Reaktionen steht die Uhrzeit in deren Zeile: Die Reihe hält ihr
|
||
rechts den Platz frei, statt eine eigene Zeile darunter zu öffnen. */
|
||
html body .inhalt.chat-seite .chat-nachricht__blase > .reaktionen { padding-right: 44px; }
|
||
html body[data-griffbrett="ja"] .inhalt.chat-seite .chat-nachricht__blase > .reaktionen { padding-right: 64px; }
|
||
|
||
/* DER PUNKT-KNOPF am Finger: Er MISST weiter 44 × 44 (pruef-tippziele,
|
||
pruef-chat-handy), steht aber ohne eigene Zeile im Fuß. Die negativen
|
||
Ränder nehmen ihn aus dem Fluss, die Fläche bleibt am Daumen. */
|
||
html body[data-griffbrett="ja"] .inhalt.chat-seite .chat-nachricht__griff-knopf {
|
||
width: 44px; height: 44px;
|
||
margin: -13px -12px -13px -10px;
|
||
opacity: .7;
|
||
}
|
||
|
||
/* ---------------------------------------------------------------------
|
||
3. REAKTIONEN — kleine Plaketten
|
||
--------------------------------------------------------------------- */
|
||
html body .inhalt.chat-seite .chat-nachricht__blase > .reaktionen {
|
||
margin: 5px 0 0;
|
||
gap: 4px;
|
||
}
|
||
html body .inhalt.chat-seite .reaktionen__stueck {
|
||
padding: 1px 7px 2px;
|
||
font-size: .76rem;
|
||
gap: 4px;
|
||
}
|
||
/* AM FINGER: Die Plakette MISST 44 Pixel (Tippziel), SIEHT aber aus wie
|
||
26. Gezeichnet wird sie von einem Untergrund-Element, der Knopf selbst
|
||
ist durchsichtig. Die negativen Ränder nehmen die unsichtbare Fläche
|
||
aus dem Zeilenfluss. „Wer hat reagiert" steht daneben statt darunter. */
|
||
@media (pointer: coarse) {
|
||
/* Die Blase richtet ihre Breite nach dem TEXT (gemessen: 181 px bei
|
||
„Willkommen Lena 💙"); die Reihe mit Plakette, Namen und Uhrzeit
|
||
braucht mehr und brach sonst in eine zweite Zeile um. */
|
||
html body .inhalt.chat-seite .chat-nachricht__blase:has(> .reaktionen) {
|
||
/* vw statt %: Ein Prozentwert bezieht sich hier auf eine Spalte, die
|
||
gerade erst vermessen wird, und wirkt dann gar nicht (gemessen). */
|
||
min-width: min(250px, 66vw);
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht__blase > .reaktionen {
|
||
margin: -4px 0 -9px;
|
||
align-items: center;
|
||
column-gap: 4px; row-gap: 0;
|
||
}
|
||
html body .inhalt.chat-seite .reaktionen__stueck {
|
||
position: relative; isolation: isolate;
|
||
min-height: 44px; min-width: 44px;
|
||
justify-content: center;
|
||
border-color: transparent !important; /* der Rahmen sitzt am Untergrund */
|
||
background: none !important;
|
||
}
|
||
html body .inhalt.chat-seite .reaktionen__stueck::before {
|
||
content: ""; position: absolute; z-index: -1;
|
||
left: 2px; right: 2px; top: 9px; bottom: 9px;
|
||
border-radius: 999px;
|
||
border: 1px solid var(--rand, rgba(150, 186, 220, .18));
|
||
background: rgba(255, 255, 255, .05);
|
||
}
|
||
html body .inhalt.chat-seite .reaktionen__stueck[data-selbst="ja"]::before {
|
||
border-color: color-mix(in srgb, var(--akzent, #9fd3ff) 55%, transparent);
|
||
background: color-mix(in srgb, var(--akzent, #9fd3ff) 14%, transparent);
|
||
}
|
||
/* Oben und unten derselbe Rand wie die unsichtbare Fläche der
|
||
Plaketten (9 px): Steht die Zeile neben ihnen, bleibt sie mittig;
|
||
bricht sie bei einer schmalen Blase um, ragt sie nicht über den
|
||
unteren Rand hinaus (der negative Rand der Reihe frisst genau das). */
|
||
html body .inhalt.chat-seite .reaktionen__wer {
|
||
flex-basis: auto; flex: 1 1 8em;
|
||
margin: 9px 0 9px 2px;
|
||
}
|
||
}
|
||
|
||
/* ---------------------------------------------------------------------
|
||
4. NUR EMOJIS — groß und ohne Blase
|
||
--------------------------------------------------------------------- */
|
||
html body .inhalt.chat-seite .chat-nachricht[data-emoji="gross"] .chat-nachricht__blase {
|
||
background: none !important; /* chat.css färbt die Blase je Rolle mit Attribut-Regeln */
|
||
box-shadow: none !important;
|
||
border-color: transparent !important;
|
||
padding: 0 2px 20px;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht[data-emoji="gross"] .chat-nachricht__text {
|
||
font-size: 2.4rem;
|
||
line-height: 1.15;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht[data-emoji="gross"] .chat-nachricht__text::after,
|
||
html body .inhalt.chat-seite .chat-nachricht[data-emoji="gross"] .chat-nachricht__blase::before,
|
||
html body .inhalt.chat-seite .chat-nachricht[data-emoji="gross"] .chat-nachricht__blase::after {
|
||
display: none;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht[data-emoji="gross"] .chat-nachricht__fuss {
|
||
right: 2px; bottom: 0;
|
||
}
|
||
|
||
/* ---------------------------------------------------------------------
|
||
5. LANGE NACHRICHTEN KLAPPEN EIN
|
||
--------------------------------------------------------------------- */
|
||
html body .inhalt.chat-seite .chat-nachricht__text--zu {
|
||
display: -webkit-box;
|
||
-webkit-box-orient: vertical;
|
||
-webkit-line-clamp: 8;
|
||
line-clamp: 8;
|
||
overflow: hidden;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht__weiter {
|
||
display: inline-flex; align-items: center;
|
||
min-height: 32px;
|
||
margin: 2px 0 0; padding: 0 2px;
|
||
border: 0; background: none;
|
||
font: inherit; font-size: .84rem; font-weight: 650;
|
||
color: var(--akzent, #9fd3ff);
|
||
cursor: pointer;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht__weiter:hover { text-decoration: underline; }
|
||
html body .inhalt.chat-seite .chat-nachricht__weiter:focus-visible {
|
||
outline: 2px solid var(--akzent, #9fd3ff); outline-offset: 2px; border-radius: 6px;
|
||
}
|
||
@media (pointer: coarse) {
|
||
html body .inhalt.chat-seite .chat-nachricht__weiter { min-height: 44px; }
|
||
}
|
||
|
||
/* ---------------------------------------------------------------------
|
||
6. AUSHÄNGE DES CHATS (Systemnachrichten) — mittig, als Karte
|
||
--------------------------------------------------------------------- */
|
||
html body .inhalt.chat-seite .chat-nachricht[data-system="ja"] {
|
||
display: flex; justify-content: center;
|
||
width: auto; max-width: 100%;
|
||
margin: 12px auto 8px;
|
||
align-self: stretch;
|
||
}
|
||
/* Der Farbbalken links gehört zu einer Person -- ein Aushang hat keine. */
|
||
html body .inhalt.chat-seite .chat-nachricht[data-system="ja"] .chat-nachricht__blase::before,
|
||
html body .inhalt.chat-seite .chat-nachricht[data-system="ja"] .chat-nachricht__blase::after {
|
||
display: none;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht[data-system="ja"] .chat-nachricht__blase {
|
||
max-width: min(520px, 92%);
|
||
border-radius: 16px !important; /* gegen die Rollenecken aus chat.css */
|
||
border: 1px solid rgba(150, 186, 220, .16);
|
||
background: rgba(150, 186, 220, .07) !important;
|
||
box-shadow: none;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht[data-system="ja"] .chat-nachricht__von { display: none; }
|
||
html body .inhalt.chat-seite .chat-nachricht[data-system="ja"] .chat-nachricht__text {
|
||
font-size: .9rem; line-height: 1.5;
|
||
white-space: pre-line;
|
||
}
|
||
|
||
/* ---------------------------------------------------------------------
|
||
7. TAG UND „AB HIER NEU" — schmal
|
||
--------------------------------------------------------------------- */
|
||
html body .inhalt.chat-seite .chat-tag { margin: 12px 0 6px; }
|
||
html body .inhalt.chat-seite .chat-tag__text { padding: 2px 10px; font-size: .74rem; }
|
||
html body .inhalt.chat-seite .chat-neu { margin: 10px 2px 6px; }
|
||
|
||
/* DIE AUSHÄNGE OBEN: eine Zeile je Aushang. Die Kopfzeile („Rudel-Chat,
|
||
angeheftet von …") ist eine Randnotiz; am Handy kostete sie eine
|
||
zweite Zeile über dem Verlauf. Der Text beginnt ohnehin mit 📌. */
|
||
html body .inhalt.chat-seite .chat-pins { padding: 4px 8px; gap: 4px; }
|
||
html body .inhalt.chat-seite .chat-pin__auf { padding: 4px 10px; }
|
||
html body .inhalt.chat-seite .chat-pin__text { margin-top: 0; }
|
||
@media (max-width: 860px) {
|
||
html body .inhalt.chat-seite .chat-pin__kopf { display: none; }
|
||
html body .inhalt.chat-seite .chat-pin__auf { display: flex; align-items: center; }
|
||
}
|
||
|
||
/* Die Nachtruhe als eine Zeile. */
|
||
html body .inhalt.chat-seite .chat__nachtruhe {
|
||
padding: 5px 12px;
|
||
font-size: .76rem; line-height: 1.35;
|
||
}
|
||
|
||
/* ---------------------------------------------------------------------
|
||
8. DAS POSTFACH — Filter als Leiste, die man wischt
|
||
--------------------------------------------------------------------- */
|
||
html body .inhalt.chat-seite .chat-arten {
|
||
display: flex; gap: 6px;
|
||
margin: 10px 12px 0; padding: 2px 0 4px;
|
||
overflow-x: auto;
|
||
scrollbar-width: none;
|
||
border: 0; background: none; box-shadow: none; border-radius: 0;
|
||
}
|
||
html body .inhalt.chat-seite .chat-arten::-webkit-scrollbar { display: none; }
|
||
html body .inhalt.chat-seite .chat-art {
|
||
flex: none;
|
||
min-height: 36px;
|
||
padding: 4px 13px;
|
||
border-radius: 999px;
|
||
border: 1px solid rgba(150, 186, 220, .16);
|
||
background: rgba(255, 255, 255, .03);
|
||
}
|
||
html body .inhalt.chat-seite .chat-art[aria-selected="true"] {
|
||
border-color: color-mix(in srgb, var(--akzent, #9fd3ff) 55%, transparent);
|
||
background: color-mix(in srgb, var(--akzent, #9fd3ff) 16%, transparent);
|
||
box-shadow: none;
|
||
}
|
||
html body .inhalt.chat-seite .chat-art[aria-selected="true"]::after { display: none; }
|
||
@media (pointer: coarse) {
|
||
html body .inhalt.chat-seite .chat-art { min-height: 44px; }
|
||
}
|
||
|
||
/* ---------------------------------------------------------------------
|
||
9. DIE SCHWEBENDE WERKZEUGLEISTE (Rechner)
|
||
---------------------------------------------------------------------
|
||
Unsichtbar, aber im Dokument und erreichbar: Mit der Tabulatortaste
|
||
landet man auf dem ersten Knopf, und :focus-within holt die Leiste
|
||
hervor. `display: none` hätte sie für die Tastatur verschwinden
|
||
lassen. */
|
||
/* NEBEN DER BLASE, NICHT DARÜBER (11.11.2026): Über der Blase deckte sie
|
||
den Tempo-Knopf einer Sprachnachricht zu -- gefunden von
|
||
pruef-rudel-gesten, als die Maus ihn drücken wollte. Neben der Blase
|
||
ist Platz (am Rechner höchstens 66 % breit). */
|
||
html body .inhalt.chat-seite .chat-nachricht__werkzeug {
|
||
position: absolute;
|
||
top: 0; left: calc(100% + 6px);
|
||
z-index: 3;
|
||
display: flex; gap: 2px;
|
||
padding: 3px;
|
||
border-radius: 12px;
|
||
border: 1px solid rgba(150, 186, 220, .18);
|
||
background: rgba(10, 14, 22, .96);
|
||
box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .8);
|
||
opacity: 0;
|
||
transform: translateY(4px);
|
||
pointer-events: none;
|
||
transition: opacity .14s ease, transform .14s ease;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht[data-selbst="ja"] .chat-nachricht__werkzeug {
|
||
left: auto; right: calc(100% + 6px);
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht:hover .chat-nachricht__werkzeug,
|
||
html body .inhalt.chat-seite .chat-nachricht:focus-within .chat-nachricht__werkzeug {
|
||
opacity: 1; transform: none; pointer-events: auto;
|
||
}
|
||
/* Die Knöpfe darin: nur das Zeichen, das Wort ist für Vorleseprogramme
|
||
und den Hinweis beim Drüberfahren da. */
|
||
html body .inhalt.chat-seite .chat-nachricht__werkzeug > button {
|
||
margin: 0;
|
||
min-width: 30px; min-height: 30px;
|
||
}
|
||
/* Wer zuletzt geschrieben hat, sieht seine Leiste nicht über der
|
||
Blase darüber — die erste Nachricht oben bekäme sonst ein Stück
|
||
abgeschnitten. Die Liste hat oben Polster genug (10 px + 16). */
|
||
@media (prefers-reduced-motion: reduce) {
|
||
html body .inhalt.chat-seite .chat-nachricht__werkzeug { transition: none; transform: none; }
|
||
}
|
||
/* AM FINGER gibt es das Griffbrett. Die Leiste bleibt im Dokument
|
||
(das Blatt drückt ihre Knöpfe), aber ohne Fläche. */
|
||
html body[data-griffbrett="ja"] .inhalt.chat-seite .chat-nachricht__werkzeug {
|
||
display: none !important; /* gegen :hover/:focus-within oben */
|
||
}
|
||
|
||
/* ---------------------------------------------------------------------
|
||
10. AM HANDY: DAS GESPRÄCH BEKOMMT DEN GANZEN SCHIRM
|
||
---------------------------------------------------------------------
|
||
Die Kopfleiste des Hauses tritt zurück, solange ein Gespräch offen ist.
|
||
kopf.js misst ihre Höhe mit einem ResizeObserver nach — ist sie weg,
|
||
wird --kopf-hoehe 0, und die Seite füllt den Schirm. Zurück zur Liste
|
||
führt der Pfeil im Kopf des Gesprächs, dort ist die Leiste wieder da. */
|
||
@media (max-width: 860px) {
|
||
html body:has(.chat[data-ansicht="verlauf"]) > .kopfleiste { display: none; }
|
||
html body .inhalt.chat-seite:has(.chat[data-ansicht="verlauf"]) {
|
||
padding: 0;
|
||
}
|
||
html body .inhalt.chat-seite .chat[data-ansicht="verlauf"] .chat__spalte--verlauf {
|
||
border-radius: 0;
|
||
border-left: 0; border-right: 0;
|
||
}
|
||
html body .inhalt.chat-seite .chat__kopf--verlauf {
|
||
padding: 6px 10px 6px 4px;
|
||
min-height: 56px;
|
||
}
|
||
html body .inhalt.chat-seite .chat__kopf--verlauf .chat__unter {
|
||
font-size: .74rem; line-height: 1.3;
|
||
}
|
||
html body .inhalt.chat-seite #verlauf { padding: 8px 8px 6px; }
|
||
/* Mehr Breite für die Blasen. */
|
||
html body .inhalt.chat-seite .chat-nachricht__blase { max-width: 100%; }
|
||
html body .inhalt.chat-seite .chat-nachricht { max-width: 88%; }
|
||
html body .inhalt.chat-seite .chat-nachricht[data-system="ja"] { max-width: 100%; }
|
||
}
|
||
|
||
/* ---------------------------------------------------------------------
|
||
11. EINE NEUE NACHRICHT GLEITET HEREIN — nur mit Bewegung erlaubt
|
||
--------------------------------------------------------------------- */
|
||
@media (prefers-reduced-motion: no-preference) {
|
||
html body .inhalt.chat-seite .chat-nachricht[data-unterwegs="ja"] {
|
||
animation: rudel-herein .18s ease-out backwards;
|
||
}
|
||
}
|
||
@keyframes rudel-herein {
|
||
from { opacity: 0; transform: translateY(6px); }
|
||
to { opacity: 1; transform: none; }
|
||
}
|
||
|
||
/* Hoher Kontrast: Die Karten der Aushänge brauchen einen echten Rand. */
|
||
@media (forced-colors: active) {
|
||
html body .inhalt.chat-seite .chat-nachricht[data-system="ja"] .chat-nachricht__blase { border: 1px solid CanvasText; }
|
||
html body .inhalt.chat-seite .chat-nachricht__werkzeug { border: 1px solid CanvasText; }
|
||
}
|
||
|
||
/* =====================================================================
|
||
STUFE 3 — GESTEN UND SCHREIBEN (11.11.2026)
|
||
===================================================================== */
|
||
|
||
/* Wischen und Doppeltipp brauchen die waagrechte Bewegung für sich;
|
||
`pan-y` lässt das senkrechte Rollen beim Browser und nimmt ihm den
|
||
Doppeltipp-Zoom (der sonst den Doppeltipp für 🩵 schluckt). */
|
||
html body[data-griffbrett="ja"] .inhalt.chat-seite #verlauf .chat-nachricht { touch-action: pan-y; }
|
||
html body .inhalt.chat-seite .chat-nachricht[data-wischt="ja"] .chat-nachricht__blase { transition: none; }
|
||
html body .inhalt.chat-seite .chat-nachricht__blase { transition: transform .18s ease; }
|
||
/* Der Antwortpfeil erscheint links neben der gezogenen Blase. */
|
||
html body .inhalt.chat-seite .chat-nachricht[data-wischt="ja"]::before {
|
||
content: "↩";
|
||
position: absolute; left: 2px; top: 50%;
|
||
translate: 0 -50%;
|
||
font-size: 1.1rem; line-height: 1;
|
||
color: var(--text-leise, #a8bacf);
|
||
opacity: .45;
|
||
transition: opacity .12s ease;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht[data-wisch-bereit="ja"]::before { opacity: 1; color: var(--akzent, #9fd3ff); }
|
||
@media (prefers-reduced-motion: reduce) {
|
||
html body .inhalt.chat-seite .chat-nachricht__blase { transition: none; }
|
||
}
|
||
|
||
/* Das aufsteigende Herz nach dem Doppeltipp (nur transform/opacity). */
|
||
.chat-herzflug {
|
||
position: absolute; z-index: 4;
|
||
pointer-events: none;
|
||
font-size: 1.6rem; line-height: 1;
|
||
translate: -50% -50%;
|
||
animation: chat-herzflug .9s ease-out forwards;
|
||
}
|
||
@keyframes chat-herzflug {
|
||
0% { opacity: 0; transform: scale(.6) translateY(0); }
|
||
15% { opacity: 1; transform: scale(1.15) translateY(-4px); }
|
||
100% { opacity: 0; transform: scale(1) translateY(-46px); }
|
||
}
|
||
|
||
/* :emoji -- die Vorschlagsleiste über dem Schreibfeld */
|
||
html body .inhalt.chat-seite .chat-emojiwahl {
|
||
position: absolute; left: 8px; right: 8px; bottom: calc(100% + 6px); z-index: 6;
|
||
display: flex; flex-wrap: wrap; gap: 4px;
|
||
padding: 6px;
|
||
border-radius: 14px;
|
||
border: 1px solid rgba(150, 186, 220, .18);
|
||
background: rgba(10, 14, 22, .97);
|
||
box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .9);
|
||
}
|
||
html body .inhalt.chat-seite .chat-emojiwahl[hidden] { display: none; }
|
||
html body .inhalt.chat-seite .chat-emojiwahl__knopf {
|
||
min-width: 44px; min-height: 44px;
|
||
border: 1px solid transparent; border-radius: 10px;
|
||
background: none; font-size: 1.4rem; line-height: 1; cursor: pointer;
|
||
}
|
||
html body .inhalt.chat-seite .chat-emojiwahl__knopf[aria-selected="true"] {
|
||
border-color: color-mix(in srgb, var(--akzent, #9fd3ff) 55%, transparent);
|
||
background: color-mix(in srgb, var(--akzent, #9fd3ff) 14%, transparent);
|
||
}
|
||
|
||
/* Code und Spoiler */
|
||
html body .inhalt.chat-seite .chat-nachricht__text code {
|
||
padding: 1px 5px;
|
||
border-radius: 6px;
|
||
background: rgba(0, 0, 0, .32);
|
||
font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
|
||
font-size: .9em;
|
||
}
|
||
/* .chat-spoiler steht in crew-haus.css: textform.js baut Spoiler auf
|
||
JEDER Crew-Seite (Aufgaben, Bereiche), nicht nur im Chat. */
|
||
|
||
/* Die Link-Karte */
|
||
html body .inhalt.chat-seite .chat-vorschau {
|
||
position: relative;
|
||
margin: 6px 0 2px;
|
||
border-left: 3px solid color-mix(in srgb, var(--akzent, #9fd3ff) 60%, transparent);
|
||
border-radius: 8px;
|
||
background: rgba(0, 0, 0, .22);
|
||
}
|
||
html body .inhalt.chat-seite .chat-vorschau__link {
|
||
display: grid; gap: 2px;
|
||
padding: 7px 34px 7px 10px;
|
||
color: inherit; text-decoration: none;
|
||
}
|
||
html body .inhalt.chat-seite .chat-vorschau__link:focus-visible { outline: 2px solid var(--akzent, #9fd3ff); outline-offset: 2px; border-radius: 8px; }
|
||
html body .inhalt.chat-seite .chat-vorschau__domain {
|
||
font-size: .78rem; font-weight: 750; letter-spacing: .02em;
|
||
color: color-mix(in srgb, var(--akzent, #9fd3ff) 80%, #ffffff);
|
||
}
|
||
html body .inhalt.chat-seite .chat-vorschau__titel { font-size: .9rem; font-weight: 650; line-height: 1.3; }
|
||
html body .inhalt.chat-seite .chat-vorschau__text {
|
||
font-size: .8rem; line-height: 1.35; color: var(--text-leise, #a8bacf);
|
||
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
|
||
}
|
||
html body .inhalt.chat-seite .chat-vorschau__weg {
|
||
position: absolute; top: 0; right: 0;
|
||
width: 32px; height: 32px;
|
||
border: 0; background: none; color: var(--text-leise, #a8bacf);
|
||
cursor: pointer; border-radius: 8px;
|
||
}
|
||
@media (pointer: coarse) {
|
||
html body .inhalt.chat-seite .chat-vorschau__weg { width: 44px; height: 44px; }
|
||
html body .inhalt.chat-seite .chat-vorschau__link { padding-right: 46px; }
|
||
}
|
||
|
||
/* Sprachnachricht: Tempo und Probe */
|
||
html body .inhalt.chat-seite .chat-ton__tempo {
|
||
margin-left: auto;
|
||
min-width: 44px; min-height: 30px;
|
||
padding: 0 8px;
|
||
border: 1px solid rgba(150, 186, 220, .2); border-radius: 999px;
|
||
background: none; color: inherit;
|
||
font: inherit; font-size: .76rem; font-weight: 700;
|
||
font-variant-numeric: tabular-nums;
|
||
cursor: pointer;
|
||
}
|
||
@media (pointer: coarse) {
|
||
html body .inhalt.chat-seite .chat-ton__tempo { min-height: 44px; }
|
||
}
|
||
html body .inhalt.chat-seite .tonleiste__pruefen {
|
||
min-height: 44px; padding: 0 12px;
|
||
border: 1px solid rgba(150, 186, 220, .22); border-radius: 999px;
|
||
background: none; color: inherit; font: inherit; font-size: .84rem; cursor: pointer;
|
||
}
|
||
html body .inhalt.chat-seite .tonprobe {
|
||
display: flex; align-items: center; gap: 8px;
|
||
padding: 6px 9px;
|
||
border-top: 1px solid rgba(150, 186, 220, .12);
|
||
}
|
||
html body .inhalt.chat-seite .tonprobe__geraet { flex: 1; min-width: 0; height: 40px; }
|
||
/* Gehalten: Der Knopf zeigt, dass er aufnimmt; „wegwischen" färbt ihn. */
|
||
html body .inhalt.chat-seite #ton-auf[data-halten="ja"] { transform: scale(1.12); }
|
||
html body .inhalt.chat-seite #ton-auf[data-wegwisch="ja"] { opacity: .5; }
|
||
|
||
/* Postfach: Entwurf */
|
||
html body .inhalt.chat-seite .chat-raum__entwurf { color: #f0b37a; font-weight: 650; }
|
||
|
||
/* =====================================================================
|
||
STUFE 4 — DIE WACHE (11.11.2026)
|
||
===================================================================== */
|
||
|
||
/* Die Handgriffe des Teams und „Ausblenden" — dieselbe Familie wie die
|
||
übrigen (chat.css), mit eigenem Zeichen. */
|
||
html body .inhalt.chat-seite .chat-nachricht__hinweis-knopf,
|
||
html body .inhalt.chat-seite .chat-nachricht__pause-knopf,
|
||
html body .inhalt.chat-seite .chat-nachricht__verbergen-knopf,
|
||
html body .inhalt.chat-seite .chat-nachricht__zeigen-knopf,
|
||
html body .inhalt.chat-seite .chat-nachricht__ausblend-knopf {
|
||
display: inline-flex; align-items: center; gap: 5px;
|
||
border: 1px solid transparent; background: none;
|
||
padding: 3px 9px 3px 7px; border-radius: 999px;
|
||
font: inherit; font-size: .72rem; font-weight: 600; line-height: 1.5;
|
||
color: inherit; cursor: pointer; opacity: .78;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht__hinweis-knopf::before,
|
||
html body .inhalt.chat-seite .chat-nachricht__pause-knopf::before,
|
||
html body .inhalt.chat-seite .chat-nachricht__verbergen-knopf::before,
|
||
html body .inhalt.chat-seite .chat-nachricht__zeigen-knopf::before,
|
||
html body .inhalt.chat-seite .chat-nachricht__ausblend-knopf::before {
|
||
content: ""; flex: none; width: 13px; height: 13px;
|
||
background: currentColor;
|
||
-webkit-mask: var(--zeichen) center / 13px 13px no-repeat;
|
||
mask: var(--zeichen) center / 13px 13px no-repeat;
|
||
}
|
||
.chat-nachricht__hinweis-knopf {
|
||
--zeichen: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7.5v5.5'/><path d='M12 16.5h.01'/></svg>");
|
||
}
|
||
.chat-nachricht__pause-knopf {
|
||
--zeichen: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M10 9v6'/><path d='M14 9v6'/></svg>");
|
||
}
|
||
.chat-nachricht__verbergen-knopf {
|
||
--zeichen: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 3l18 18'/><path d='M10.6 6.2A9.6 9.6 0 0 1 12 6c5 0 8.5 4 9.5 6a12 12 0 0 1-2.7 3.4'/><path d='M6.3 7.6A12.4 12.4 0 0 0 2.5 12c1 2 4.5 6 9.5 6a9.3 9.3 0 0 0 4-.9'/></svg>");
|
||
}
|
||
.chat-nachricht__zeigen-knopf {
|
||
--zeichen: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2.5 12c1-2 4.5-6 9.5-6s8.5 4 9.5 6c-1 2-4.5 6-9.5 6s-8.5-4-9.5-6z'/><circle cx='12' cy='12' r='3'/></svg>");
|
||
}
|
||
.chat-nachricht__ausblend-knopf {
|
||
--zeichen: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='3.5'/><path d='M5 20c.7-3.6 3.6-6 7-6'/><path d='M15 16l5 5'/><path d='M20 16l-5 5'/></svg>");
|
||
}
|
||
|
||
/* Verborgen und ausgeblendet */
|
||
html body .inhalt.chat-seite .chat-nachricht__verborgen {
|
||
margin: 0; font-size: .86rem; line-height: 1.4;
|
||
font-style: italic; color: var(--text-leise, #a8bacf);
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht__verborgen--team {
|
||
margin-bottom: 4px; font-size: .74rem; font-style: normal; font-weight: 650;
|
||
color: #f0b37a;
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht[data-verborgen="ja"] .chat-nachricht__blase { opacity: .8; }
|
||
html body .inhalt.chat-seite .chat-nachricht__ausgeblendet {
|
||
min-height: 32px; padding: 0 2px;
|
||
border: 0; background: none; color: var(--text-leise, #a8bacf);
|
||
font: inherit; font-size: .84rem; font-style: italic; cursor: pointer;
|
||
text-decoration: underline; text-underline-offset: 3px;
|
||
}
|
||
@media (pointer: coarse) {
|
||
html body .inhalt.chat-seite .chat-nachricht__ausgeblendet { min-height: 44px; }
|
||
}
|
||
html body .inhalt.chat-seite .chat-nachricht__link--fremd {
|
||
color: #f0b37a;
|
||
text-decoration-style: wavy;
|
||
}
|
||
|
||
/* Der Dialog der Wache */
|
||
.teamwerk {
|
||
width: min(460px, calc(100vw - 24px));
|
||
padding: 18px 18px 14px;
|
||
border: 1px solid rgba(150, 186, 220, .2); border-radius: 18px;
|
||
background: #0d1220; color: #e8eef7;
|
||
box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9);
|
||
}
|
||
.teamwerk::backdrop { background: rgba(4, 6, 12, .62); }
|
||
.teamwerk__titel { margin: 0 0 6px; font-size: 1.05rem; }
|
||
.teamwerk__satz { margin: 0 0 12px; font-size: .88rem; line-height: 1.45; color: #b9c7d8; }
|
||
.teamwerk__vorlagen { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
|
||
.teamwerk__vorlage {
|
||
min-height: 36px; padding: 4px 11px;
|
||
border: 1px solid rgba(150, 186, 220, .22); border-radius: 999px;
|
||
background: rgba(255, 255, 255, .03); color: inherit;
|
||
font: inherit; font-size: .8rem; cursor: pointer;
|
||
}
|
||
.teamwerk__feldname { display: block; margin: 8px 0 4px; font-size: .8rem; font-weight: 650; color: #b9c7d8; }
|
||
.teamwerk__grund, .teamwerk__dauer, .teamwerk-bausteine__feld {
|
||
width: 100%; box-sizing: border-box;
|
||
padding: 9px 11px; border-radius: 12px;
|
||
border: 1px solid rgba(150, 186, 220, .22);
|
||
background: rgba(0, 0, 0, .3); color: inherit;
|
||
font: inherit; font-size: .92rem;
|
||
}
|
||
.teamwerk__klein { display: block; margin: 4px 0 0; font-size: .76rem; line-height: 1.4; color: #9fb0c4; }
|
||
.teamwerk__fehler { min-height: 1.2em; margin: 8px 0 0; font-size: .82rem; color: #ff9aa3; }
|
||
.teamwerk__knoepfe { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
|
||
.teamwerk__ja, .teamwerk__nein {
|
||
min-height: 44px; padding: 0 16px;
|
||
border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 650; cursor: pointer;
|
||
}
|
||
.teamwerk__ja { border: 0; background: #9fd3ff; color: #0b1220; }
|
||
.teamwerk__nein { border: 1px solid rgba(150, 186, 220, .25); background: none; color: inherit; }
|
||
.teamwerk__ja:disabled { opacity: .55; cursor: wait; }
|
||
.teamwerk__schalter {
|
||
display: flex; align-items: flex-start; gap: 10px;
|
||
padding: 9px 2px; border-bottom: 1px solid rgba(150, 186, 220, .1);
|
||
cursor: pointer;
|
||
}
|
||
.teamwerk__schalter input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
|
||
.teamwerk__schalter-text { display: grid; gap: 1px; font-size: .9rem; }
|
||
.teamwerk__vorlage:focus-visible, .teamwerk__ja:focus-visible, .teamwerk__nein:focus-visible {
|
||
outline: 2px solid #9fd3ff; outline-offset: 2px;
|
||
}
|
||
|
||
/* Kopf-Knopf und Bausteine-Knopf */
|
||
html body .inhalt.chat-seite .teamwerk-kopfknopf { font-size: 1rem; }
|
||
html body .inhalt.chat-seite .chat__bausteine {
|
||
flex: none; min-width: 44px; min-height: 44px;
|
||
border: 0; border-radius: 12px; background: none; color: inherit;
|
||
font-size: 1.1rem; cursor: pointer;
|
||
}
|
||
html body .inhalt.chat-seite .chat__bausteine[hidden] { display: none; }
|
||
|
||
/* Die Tafel der Bausteine über der Schreibzeile */
|
||
html body .inhalt.chat-seite .teamwerk-bausteine {
|
||
position: absolute; left: 8px; right: 8px; bottom: calc(100% + 6px); z-index: 7;
|
||
max-height: min(60vh, 460px); overflow: auto;
|
||
padding: 10px;
|
||
border-radius: 16px; border: 1px solid rgba(150, 186, 220, .2);
|
||
background: rgba(10, 14, 22, .98);
|
||
box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .95);
|
||
}
|
||
html body .inhalt.chat-seite .teamwerk-bausteine[hidden] { display: none; }
|
||
.teamwerk-bausteine__kopf { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
|
||
.teamwerk-bausteine__kopf .teamwerk__klein { margin: 0; flex: 1; }
|
||
.teamwerk-bausteine__zu, .teamwerk-bausteine__ein, .teamwerk-bausteine__weg {
|
||
flex: none; min-width: 44px; min-height: 44px;
|
||
border: 0; background: none; color: inherit; cursor: pointer; border-radius: 10px;
|
||
}
|
||
.teamwerk-bausteine__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
|
||
.teamwerk-bausteine__liste li { display: flex; align-items: center; gap: 2px; }
|
||
.teamwerk-bausteine__satz {
|
||
flex: 1; min-height: 44px; padding: 6px 10px; text-align: left;
|
||
border: 0; border-radius: 10px; background: rgba(255, 255, 255, .03);
|
||
color: inherit; font: inherit; font-size: .88rem; cursor: pointer;
|
||
}
|
||
.teamwerk-bausteine__satz:hover { background: rgba(255, 255, 255, .07); }
|
||
.teamwerk-bausteine__neu { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
|
||
.teamwerk-bausteine__neu .teamwerk-bausteine__feld { flex: 1 1 12em; }
|