Zusammenführen: neu-mondsaal (Reaktionen über dem Kopf, Saallicht, Raumklang)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

# Conflicts:
#	server/pruef-reaktion.mjs
#	server/workspace-reaktion.js
This commit is contained in:
2026-11-04 13:53:55 +01:00
8 changed files with 920 additions and 3 deletions
+61
View File
@@ -122,3 +122,64 @@
@media (pointer: coarse) {
.schiene__mond { min-width: 44px; min-height: 44px; margin-block: -8px; justify-content: center; }
}
/* ==== REAKTIONEN ÜBER DEM KOPF (04.11.2026, Plan M1.4) =================
Eine Blase steigt kurz über dem Platz auf. Bewegt werden nur transform
und opacity; bei „weniger Bewegung“ blendet sie nur ein und aus. */
.ms-zeichen-zeile { display: grid; gap: 6px; }
.ms-zeichen-zeile__wort { font-size: .78rem; color: var(--schrift-leise, #a9a3bd); }
.ms-zeichen { display: flex; flex-wrap: wrap; gap: 6px; }
.ms-zeichen__knopf {
appearance: none; min-width: 44px; min-height: 44px; padding: 0 8px; border-radius: 12px;
border: 1px solid rgba(170, 180, 210, .22); background: rgba(255, 255, 255, .03);
font-size: 1.15rem; line-height: 1; cursor: pointer; color: inherit;
}
.ms-zeichen__knopf:hover { background: rgba(143, 211, 255, .08); }
.ms-zeichen__knopf:active { transform: scale(.94); }
.ms-zeichen__knopf:focus-visible { outline: 2px solid #8fd3ff; outline-offset: 2px; }
.ms-leinwand { position: relative; }
.ms-blase {
position: absolute; left: 50%; bottom: calc(100% - 6px); z-index: 3;
font-size: 1.05rem; line-height: 1; pointer-events: none;
transform: translate(-50%, 0); opacity: 0;
animation: ms-blase-steigt 1.6s ease-out forwards;
}
.ms-blase[data-anonym="ja"] { left: var(--ms-blase-x, 50%); bottom: 2px; }
@keyframes ms-blase-steigt {
0% { opacity: 0; transform: translate(-50%, 6px) scale(.8); }
15% { opacity: 1; transform: translate(-50%, 0) scale(1); }
70% { opacity: 1; }
100% { opacity: 0; transform: translate(-50%, -26px) scale(1); }
}
@keyframes ms-blase-ruhig {
0% { opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
.ms-blase { animation-name: ms-blase-ruhig; transform: translate(-50%, 0); }
.ms-zeichen__knopf:active { transform: none; }
}
/* ==== DER RAUM: Saallicht und Raumklang (04.11.2026, Plan M1.7) ======== */
.ms-raum { display: grid; gap: 2px; margin: 4px 0 0; padding: 8px 10px; border: 1px solid var(--rand, rgba(150, 160, 190, .14)); border-radius: 10px; }
.ms-raum legend { padding: 0 4px; font-size: .78rem; font-weight: 700; color: var(--schrift-leise, #a9a3bd); }
.ms-raum .ms-schalter { align-items: flex-start; padding-block: 10px; line-height: 1.4; font-size: .86rem; }
.ms-raum .ms-schalter input { margin-top: 2px; flex: none; }
/* SAALLICHT: das erste Kind der Leinwand – damit liegt es UNTER dem
YouTube-Rahmen und unter allen Kamerafenstern (die alle später kommen
und eine Lage haben). Zwei Schichten, gewechselt wird nur die Deckkraft;
der Schein selbst ist höchstens 15 % deckend. */
.saallicht { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.saallicht__schein {
position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease;
background: radial-gradient(var(--sl-rx, 70%) var(--sl-ry, 80%) at var(--sl-x, 50%) var(--sl-y, 40%),
var(--sl-farbe, rgb(143 211 255)) 0%, var(--sl-farbe, rgb(143 211 255)) 62%, transparent 100%);
}
.saallicht__schein[data-vorn="ja"] { opacity: .15; }
body.reaktion-seite[data-saallicht="an"] .saallicht { opacity: 1; }
/* Der Raum wird etwas dunkler: nur die Grundflächen, keine Schrift. */
body.reaktion-seite[data-saallicht="an"] { --saal: #020204; background-color: #020204; }
body.reaktion-seite[data-saallicht="an"] .sg.saal { background-color: #020308; }
@media (prefers-reduced-motion: reduce) {
.saallicht, .saallicht__schein { transition: none; }
}