Files
dogfather-universe/workspace/assets/css/zwischenraum.css
T
DogFatherGitandClaude Opus 5.5 20c0a30490 Zwischenraum: eigene Vorsilbe bz- statt zr- – die Ziele-Vorschau war verschoben
Der Backstage-Zwischenraum (b44ae093) nutzte die Vorsilbe zr- – dieselbe
wie das Ziele-Formular der Regie (#zr-vorschau, zr-titel). Seine Regeln
(u. a. .zr-vorschau mit Spiegelung) verschoben die Ziele-Vorschau um 15 px;
gefunden von mess-serverziele, am Stand vor meinen Runden gegengemessen.

- 256 Stellen in zwischenraum.js/.css und ihren Prüfungen auf bz- umbenannt;
  das Ziele-Formular selbst unverändert.
- Neue Wache in pruef-reaktion (Abschnitt 35): keine Element-Kennung darf
  aus zwei Dateien der Saal-Seite kommen – abgeleitet aus reaktion.html und
  seinen 46 Skripten; die echte Kollision von heute wird erkannt.
- pruef-reaktion 1104/0, mess-serverziele, zwischenraum-blick, mess-reaktion grün.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 21:05:25 +01:00

140 lines
7.4 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* =====================================================================
DER GEPRÜFTE ZWISCHENRAUM (04.11.2026) – siehe zwischenraum.js
Ruhig wie die Backstage-Karte: ein Punkt je Schritt sagt die Stufe
(grün gut, bernstein knapp, gedämpftes Rot schwach, grau aus/offen),
keine Signalflächen, nichts blinkt. Bewegt wird nichts.
===================================================================== */
.bz[hidden], .bz-regie[hidden], .bz-ohne[hidden], .bz-vorschau[hidden],
.bz-draht__liste[hidden], .bz-sagt:empty, .bz-wie:empty, .bz-warte__alt:empty, .bz-warte__zuletzt:empty { display: none !important; }
/* Die Chatspalte ist ein Raster (Kopf, Liste 1fr, Antwort, Feld). Steht
der Zwischenraum darin, bekommt er eine eigene Reihe – sonst bekäme ER
das 1fr der Liste. Gesetzt von zwischenraum.js. */
#schiene[data-zwischenraum="ja"] { grid-template-rows: auto minmax(0, auto) minmax(120px, 1fr) auto auto; }
/* `minmax(0, auto)`: Reicht der Platz nicht (Handy), gibt der Backstage nach
und rollt in sich – der Chat behält mindestens 120 px. Gemessen vorher
auf 390 × 844: 16 px Chat. */
.bz {
display: grid; gap: 10px;
padding: 12px 14px;
border-bottom: 1px solid var(--rand);
background: rgba(143, 211, 255, .035);
/* Nie die ganze Spalte: Der Chat darunter bleibt sichtbar. */
max-height: min(62vh, 560px);
overflow-y: auto;
overscroll-behavior: contain;
}
.bz-titel { margin: 0; font-size: .95rem; font-weight: 700; color: var(--schrift); }
.bz-satz { margin: -4px 0 0; font-size: .8rem; line-height: 1.4; color: var(--schrift-leise); }
.bz-oben { display: grid; grid-template-columns: minmax(0, 132px) minmax(0, 1fr); gap: 12px; align-items: start; }
.bz-rahmen {
aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
background: #0d0b18; border: 1px solid var(--rand);
display: grid; place-items: center;
}
/* Gespiegelt wie ein Spiegel – so erkennt man sich; hinaus geht das Bild
ungespiegelt (das macht reaktion.js wie bisher). */
.bz-vorschau { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.bz-ohne { margin: 0; padding: 6px; font-size: .72rem; line-height: 1.3; text-align: center; color: var(--schrift-leise); }
.bz-rahmen { position: relative; }
.bz-rahmen > .bz-vorschau, .bz-rahmen > .bz-ohne { grid-area: 1 / 1; }
/* Das Oval zum Ausrichten: eine feine Linie, die nichts verdeckt. */
.bz-oval {
position: absolute; left: 50%; top: 50%;
width: 38%; height: 78%;
transform: translate(-50%, -52%);
border: 1.5px dashed rgba(233, 238, 255, .42);
border-radius: 50%;
pointer-events: none;
}
.bz-rahmen:has(.bz-vorschau[hidden]) .bz-oval { display: none; }
/* Der Hinweis im Bild: unten, gedeckt, gut lesbar auf hellem wie dunklem Bild. */
.bz-bildhinweis {
position: absolute; left: 4px; right: 4px; bottom: 4px;
margin: 0; padding: 2px 6px;
border-radius: 6px;
background: rgba(10, 9, 20, .82);
color: #f1dca0;
font-size: .72rem; font-weight: 700; line-height: 1.3; text-align: center;
}
.bz-bildhinweis[hidden] { display: none !important; }
.bz-schritte, .bz-werte, .bz-warten, .bz-draht__liste { list-style: none; margin: 0; padding: 0; }
.bz-schritte { display: grid; gap: 5px; }
.bz-schritt, .bz-wert { display: flex; align-items: baseline; gap: 8px; font-size: .8rem; line-height: 1.35; color: var(--schrift); }
.bz-punkt { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #6d6a80; align-self: center; }
[data-stufe="gut"] > .bz-punkt { background: #6fcf97; }
[data-stufe="knapp"] > .bz-punkt { background: #e6c35c; }
[data-stufe="schwach"] > .bz-punkt { background: #d98a8a; }
[data-stufe="aus"] > .bz-schritt__text, [data-stufe="offen"] > .bz-schritt__text,
[data-stufe="aus"] > .bz-wert__text, [data-stufe="offen"] > .bz-wert__text { color: var(--schrift-leise); }
.bz-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bz-wie, .bz-sagt { margin: 0; font-size: .78rem; line-height: 1.4; color: var(--schrift-leise); }
.bz-draht { display: grid; gap: 6px; padding-top: 8px; border-top: 1px solid var(--rand); }
.bz-draht__titel { margin: 0; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--schrift-leise); }
.bz-draht__liste { display: grid; gap: 3px; max-height: 7.5em; overflow-y: auto; }
.bz-draht__zeile { font-size: .8rem; line-height: 1.35; color: var(--schrift); overflow-wrap: anywhere; }
.bz-draht__zeile strong { color: #8fd3ff; font-weight: 700; }
.bz-draht__zeile[data-von="gast"] strong { color: #c9b8ff; }
.bz-draht__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.bz-draht__feld {
min-height: 40px; min-width: 0; padding: 6px 10px;
border-radius: 10px; border: 1px solid var(--rand-hell);
background: rgba(255, 255, 255, .03); color: var(--schrift);
font: inherit; font-size: .84rem;
}
.bz-draht__feld:focus-visible { outline: 2px solid #9ab7ff; outline-offset: 1px; }
/* ---- Regie: im Cockpit ------------------------------------------- */
.bz-regie { flex: 1 1 100%; display: grid; gap: 6px; }
.bz-warten { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.bz-warte {
display: grid; gap: 4px; padding: 6px 10px;
border-radius: 12px; border: 1px solid var(--rand);
background: rgba(255, 255, 255, .025);
}
.bz-warte[data-bereit="ja"] { border-color: rgba(111, 207, 151, .4); }
.bz-warte__kopf { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; }
.bz-punkte { display: inline-flex; gap: 4px; }
.bz-punkte .bz-punkt[data-stufe="gut"] { background: #6fcf97; }
.bz-punkte .bz-punkt[data-stufe="knapp"] { background: #e6c35c; }
.bz-punkte .bz-punkt[data-stufe="schwach"] { background: #d98a8a; }
.bz-warte__zuletzt { margin: 0; font-size: .78rem; color: var(--schrift); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bz-warte__mehr { display: grid; gap: 6px; }
.bz-warte__mehr[open] { padding-top: 2px; }
.bz-warte__auf { cursor: pointer; font-size: .76rem; color: var(--schrift-leise); width: max-content; }
.bz-warte__auf:focus-visible { outline: 2px solid #9ab7ff; outline-offset: 2px; border-radius: 4px; }
.bz-warte__name { color: var(--schrift); }
.bz-warte__bereit { color: var(--schrift-leise); font-size: .78rem; }
.bz-warte[data-bereit="ja"] .bz-warte__bereit { color: #9fdcb9; font-weight: 700; }
.bz-werte { display: flex; flex-wrap: wrap; gap: 3px 12px; }
.bz-wert { font-size: .76rem; }
.bz-warte__alt { margin: 0; font-size: .74rem; color: #e6c35c; }
.bz-holen { margin-left: auto; }
/* Im seitlichen Pult: Die Backstage-Zeile rollt in sich, und der
Regie-Inhalt darunter behält mindestens 120 px. Gemessen vorher:
Zeile 309 px, Inhalt 0 px, 47 px über der Videoleiste. Dieselben
Breiten wie das seitliche Pult (cockpit.css). */
@media (min-width: 1100px), (min-width: 861px) and (orientation: landscape) {
.saal:has(.pult[data-auf="ja"]) .pult:has(> .cockpit-backstage:not([hidden])) {
grid-template-rows: auto minmax(0, max-content) minmax(120px, 1fr);
}
.saal:has(.pult[data-auf="ja"]) .pult > .cockpit-backstage { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
}
@media (pointer: coarse) {
.bz-draht__feld, .bz-holen, .bz-warte .bz-draht__form .btn { min-height: 44px; }
}
@media (max-width: 420px) {
/* Zwei Spalten auch am Handy: Die Vorschau wird kleiner, damit
„Ich bin bereit“ ohne Rollen erreichbar bleibt. */
.bz-oben { grid-template-columns: minmax(0, 104px) minmax(0, 1fr); gap: 10px; }
.bz-satz { font-size: .76rem; }
}