Files
dogfather-universe/workspace/assets/css/mondsaal.css
T

200 lines
12 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 MONDSAAL (03.11.2026) – siehe mondsaal.js
Eine ruhige Seitentafel; der eigene Platz golden, alle anderen gedeckt.
Jeder Sitz ist ein 44-px-Tippziel – die Reihen brechen um, statt seitlich
zu rollen (Filipe, 28.09.2026: nie wischen müssen).
===================================================================== */
.schiene__mond { gap: 6px; }
.schiene__mond svg { width: 16px; height: 16px; fill: currentColor; }
.schiene__mond[hidden] { display: none !important; }
@media (max-width: 860px) { .schiene__mond-wort { display: none; } }
.mondsaal {
position: fixed; z-index: 80;
top: var(--ms-oben, 30dvh); right: var(--ms-rechts, 0px); bottom: 0; left: auto;
width: var(--ms-breite, min(420px, 100vw)); max-height: none; height: auto;
margin: 0; padding: 0;
display: none; flex-direction: column;
border: 1px solid var(--rand-hell, rgba(170, 180, 210, .26)); border-radius: 0;
background: #0b0a14; color: var(--schrift, #e8f1fa);
box-shadow: -30px -20px 80px -30px #000;
overflow: hidden;
}
.mondsaal[open] { display: flex; }
.mondsaal [hidden] { display: none !important; }
.mondsaal__kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--rand, rgba(150, 160, 190, .14)); }
.mondsaal__kopf h2 { margin: 0; font-size: 1rem; }
.mondsaal__reiter { display: flex; gap: 4px; padding: 8px 10px 0; }
.mondsaal__tab {
appearance: none; min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px;
background: none; color: var(--schrift-leise, #a9a3bd); font: inherit; font-weight: 700; cursor: pointer;
}
.mondsaal__tab[aria-selected="true"] { color: var(--schrift, #e8f1fa); background: rgba(143, 211, 255, .09); box-shadow: inset 0 0 0 1px rgba(143, 211, 255, .22); }
.mondsaal__tab:disabled { opacity: .45; cursor: default; }
.mondsaal__seite { padding: 10px 14px 14px; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 10px; align-content: start; }
.ms-leinwand {
text-align: center; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--schrift-leise, #a9a3bd);
padding: 6px; border-radius: 0 0 50% 50% / 0 0 100% 100%; border-bottom: 2px solid rgba(143, 211, 255, .35);
}
.ms-plan { display: grid; gap: 6px; }
.ms-reihe { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 6px; align-items: start; }
.ms-reihe__name { font-size: .72rem; font-weight: 700; color: var(--schrift-leise, #a9a3bd); line-height: 44px; text-align: center; }
.ms-reihe__sitze { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 4px; }
.ms-sitz {
position: relative; appearance: none; min-height: 44px; min-width: 44px; padding: 0;
border-radius: 50%; border: 1px solid rgba(170, 180, 210, .3); background: none;
color: var(--schrift, #e8f1fa); font: inherit; font-size: .72rem; font-weight: 700; cursor: pointer;
}
.ms-sitz[data-art="frei"]:hover { background: rgba(143, 211, 255, .1); }
.ms-sitz[data-art="besetzt"] { background: rgba(169, 147, 230, .16); border-color: transparent; cursor: default; }
.ms-sitz[data-art="reserviert"] { border-style: dashed; opacity: .45; cursor: default; }
.ms-sitz[data-art="ich"] { border: 2px solid #e6c35c; color: #ecd38a; background: rgba(230, 195, 92, .1); cursor: default; }
/* Besetzte Plätze sind `aria-disabled` (fokussierbar, damit Tastatur und
Vorleseprogramm sie erreichen) – nicht `disabled` (04.11.2026). */
.ms-sitz[aria-disabled="true"] { cursor: default; }
.ms-sitz:focus-visible { outline: 2px solid #8fd3ff; outline-offset: 2px; }
.mondsaal__tab:focus-visible { outline: 2px solid #8fd3ff; outline-offset: 2px; }
/* PROFILBILD AUF DEM SITZ (04.11.2026): deckt das Kürzel ab; lädt es nicht,
entfernt das Skript das Bild und das Kürzel steht wieder da. Gedeckte
Kante statt Schein. */
.ms-sitz__bild {
position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px);
border-radius: 50%; object-fit: cover; display: block; pointer-events: none;
}
.ms-sitz[data-art="ich"] .ms-sitz__bild { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
.ms-sitz__name {
position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%);
white-space: nowrap; font-size: .72rem; font-weight: 600; padding: 2px 6px; border-radius: 6px;
background: #0d0c16; border: 1px solid rgba(170, 180, 210, .26); opacity: 0; pointer-events: none;
}
.ms-sitz:hover .ms-sitz__name, .ms-sitz:focus-visible .ms-sitz__name { opacity: 1; }
.ms-mein { margin: 4px 0 0; font-weight: 700; }
.ms-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ms-schalter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.ms-hinweis, .ms-sagt { color: var(--schrift-leise, #a9a3bd); font-size: .84rem; line-height: 1.5; margin: 0; }
.ms-sagt { padding: 0 14px 12px; min-height: 1em; }
.ms-sagt:empty { display: none; }
.ms-team { display: grid; gap: 4px; font-size: .78rem; color: var(--schrift-leise, #a9a3bd); }
.ms-team:has(select[hidden]) { display: none; }
.ms-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 42dvh; overflow-y: auto; }
.ms-beitrag { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
.ms-beitrag strong { font-size: .82rem; grid-column: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Runde 9: der Name bricht nie um */
.ms-beitrag span { grid-column: 1; overflow-wrap: anywhere; }
.ms-beitrag[data-ich="ja"] strong { color: #ecd38a; }
.ms-nachbar { font-style: normal; font-weight: 600; font-size: .72rem; color: #8fd3ff; margin-left: 4px; }
.ms-weg { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.ms-form { display: flex; gap: 8px; }
.ms-melden:disabled { opacity: .6; cursor: default; }
/* Meldungen im Flüstern (nur Team, 04.11.2026). */
.ms-meldeliste { max-height: none; }
.ms-meldung { grid-template-columns: minmax(0, 1fr); padding: 8px 10px; border-radius: 10px; background: rgba(224, 161, 58, .07); border: 1px solid rgba(224, 161, 58, .22); }
.ms-meldung__von { font-size: .78rem; color: var(--schrift-leise, #a9a3bd); }
.ms-meldung__knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
/* 44-px-Tippziele, wo mit dem Finger getippt wird (Hausregel). */
@media (pointer: coarse) {
.mondsaal .btn-klein { min-height: 44px; }
}
.ms-form .eingabe { flex: 1 1 auto; min-width: 0; min-height: 44px; }
@media (max-width: 860px) {
.mondsaal { border-radius: 16px 16px 0 0; }
}
/* SCHMALE HANDYS (04.11.2026, gemessen in pruef-dogtag-buehne): Mit Fährte,
Leute-Zahl und Mond-Knopf wurde der Chatkopf auf 360 px 388 px breit – die
Seite rollte seitlich. Die Fährte gibt nach (ihre Pfoten werden
abgeschnitten, wie schon in der Leiste vorgesehen), nicht die Knöpfe. */
@media (max-width: 400px) {
.schiene__kopf { gap: 8px; }
.schiene__kopf .dtb-faehrte-platz { overflow: hidden; }
.schiene__kopf .dtb-faehrte-platz .dtb-faehrte { min-width: 0; max-width: 100%; }
}
@media (max-width: 400px) {
/* Der Kopf selbst darf nicht breiter als die Spalte werden (Raster-Element mit
Mindestbreite = Inhalt): erst min-width 0 laesst die Faehrte nachgeben. */
.schiene__kopf { min-width: 0; max-width: 100%; }
}
/* TIPPZIEL (04.11.2026, pruef-handy-teamdogi): am Finger 44 x 44 – mit
negativem Aussenabstand, damit die Kopfzeile nicht hoeher wird (der Chat am
iPhone SE hat keine Pixel zu verschenken, pruef-saal-chat). */
@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; }
}
/* ==== REIHEN MIT CHARAKTER + „NEBEN … SETZEN“ (04.11.2026, M2) ==== */
/* Im Raster (Buchstabe | Sitze) steht die Kennzeichnung über den Sitzen. */
.ms-reihe__art { grid-column: 2; font-size: .72rem; line-height: 1.3; color: var(--schrift-leise, #a9a3bd); white-space: nowrap; }
.ms-reihe[data-charakter] .ms-reihe__name { grid-row: span 2; }
.ms-reihe__art + .ms-reihe__sitze { grid-column: 2; }
.ms-reihe[data-charakter="fan"] .ms-reihe__art { color: #f1dca0; }
.ms-reihe[data-charakter="ruhig"] .ms-reihe__art { color: #9fdcb9; }
.ms-neben { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.ms-neben[hidden] { display: none !important; }
.ms-neben__wort { font-size: .74rem; color: var(--schrift-leise, #a9a3bd); }
/* Die Fanreihe: Zeichen fliegen größer – nur transform/opacity bewegt sich. */
.ms-blase[data-fan="ja"] { font-size: 1.6em; }
@media (pointer: coarse) { .ms-neben__knopf { min-height: 44px; } }