/* ===================================================================== TIPP-RUNDEN UND RUDEL-PUNKTE (04.11.2026, Neuplan M3) – tipprunde.js Steht in der Chat-Schiene über dem Eingabefeld, nie auf dem Video. Augenschonend: gedecktes Mondblau, keine Leuchtkanten; bewegt wird nur `transform` (Zeitbalken, Antwortbalken), nichts blinkt; bei „weniger Bewegung“ steht alles still. ===================================================================== */ .tipprunde { --tr-akzent: #a9b8f0; --tr-akzent-grund: rgba(169, 184, 240, .14); --tr-gut: #9ff0cf; display: grid; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--rand, rgba(255, 255, 255, .1)); min-width: 0; } .tipprunde[hidden], .tr-karte[hidden], .tr-regel[hidden], .tr-leiste__zahl[hidden] { display: none; } /* ---- Die Karte einer Runde ------------------------------------------ */ .tr-karte { --tr-akzent: #a9b8f0; --tr-akzent-grund: rgba(169, 184, 240, .14); --tr-gut: #9ff0cf; padding: 11px 13px 10px; border-radius: 14px; background: rgba(14, 15, 30, .9); border: 1px solid rgba(169, 184, 240, .3); min-width: 0; } .tr-karte[data-phase="aufgeloest"] { border-color: rgba(159, 240, 207, .32); } .tr-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .tr-kopf__ueber { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tr-akzent); } .tr-kopf__uhr { font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #d9def5; } .tr-zeit { height: 3px; margin: 7px 0 2px; border-radius: 2px; background: rgba(255, 255, 255, .07); overflow: hidden; } .tr-zeit__fuell { display: block; height: 100%; background: var(--tr-akzent); transform-origin: left center; transition: transform .25s linear; } .tr-frage { margin: 6px 0 8px; font-size: .98rem; font-weight: 800; color: #f2f0fa; overflow-wrap: anywhere; } .tr-antworten { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .tr-antwort { min-width: 0; } .tr-antwort__knopf { position: relative; overflow: hidden; isolation: isolate; appearance: none; width: 100%; min-height: 40px; cursor: pointer; display: flex; align-items: center; gap: 9px; padding: 7px 12px; border-radius: 11px; font: inherit; font-size: .86rem; color: #ebe9f5; text-align: left; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .12); } .tr-antwort__knopf:disabled { cursor: default; } .tr-antwort__knopf:focus-visible { outline: 2px solid var(--tr-akzent); outline-offset: 2px; } .tr-antwort__knopf[data-mein="ja"], .tr-antwort__knopf[data-gewaehlt="ja"] { border-color: rgba(169, 184, 240, .7); } .tr-antwort__knopf[data-richtig="ja"] { border-color: rgba(159, 240, 207, .6); } .tr-antwort__balken { position: absolute; inset: 0; z-index: -1; background: var(--tr-akzent-grund); transform-origin: left center; transition: transform .5s ease; } .tr-antwort__knopf[data-richtig="ja"] .tr-antwort__balken { background: rgba(159, 240, 207, .16); } .tr-antwort__buchstabe { flex: none; display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; font-size: .74rem; font-weight: 800; color: #10121f; background: var(--tr-akzent); } .tr-antwort__knopf[data-richtig="ja"] .tr-antwort__buchstabe { background: var(--tr-gut); } .tr-antwort__text { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; } .tr-antwort__haken { flex: none; font-weight: 800; color: var(--tr-gut); } .tr-antwort__zahl { flex: none; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--tr-akzent); } .tr-satz { margin: 7px 0 0; font-size: .8rem; line-height: 1.45; color: #bdb9d0; } .tr-satz--leise { font-size: .74rem; color: #9d99b3; } .tr-fuss { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; } .tr-neu { margin-top: 9px; } .tr-aufloesen, .tr-abbrechen, .tr-neu, .tr-form__los, .tr-regie__rangliste { min-height: 40px; } /* ---- Die Leiste „Rudel-Punkte“ -------------------------------------- */ .tr-leiste { appearance: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 5px 12px; border-radius: 999px; font: inherit; font-size: .8rem; color: #d9def5; text-align: left; background: rgba(169, 184, 240, .07); border: 1px solid rgba(169, 184, 240, .22); } .tr-leiste:focus-visible { outline: 2px solid #a9b8f0; outline-offset: 2px; } .tr-leiste__wort { font-weight: 700; } .tr-leiste__zahl { font-weight: 800; font-variant-numeric: tabular-nums; color: #a9b8f0; } .tr-leiste__mehr { margin-left: auto; font-size: .74rem; color: #a7a3bd; } /* In der Eingabezeile (am Handy): nur Pfote und Zahl, so hoch wie das Feld. */ .schiene__form > .tr-leiste { flex: none; min-width: 44px; padding: 0 10px; gap: 5px; border-radius: 12px; justify-content: center; } .schiene__form > .tr-leiste .tr-leiste__wort, .schiene__form > .tr-leiste .tr-leiste__mehr { display: none; } .tr-leiste[hidden] { display: none; } .tr-sagt { margin: 0; font-size: .78rem; color: #9ff0cf; } .tr-sagt:empty { display: none; } /* ---- Die Rangliste (Dialog) ----------------------------------------- */ /* Wie der Mondsaal: eine Lade an der rechten Kante, über der Chat-Schiene – nicht mitten über dem Video, und nicht modal (man schaut und tippt weiter). Am Handy fährt sie von unten ein. */ .tr-tafel { position: fixed; z-index: 80; top: auto; bottom: 0; left: auto; right: 0; width: min(360px, 100vw); max-height: min(78dvh, 640px); overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 16px 18px 16px; border-radius: 18px 0 0 0; color: #ebe9f5; background: #0d0e1c; border: 1px solid rgba(169, 184, 240, .3); box-shadow: -30px -20px 80px -30px #000; } @media (max-width: 860px) { .tr-tafel { width: 100vw; border-radius: 18px 18px 0 0; } } .tr-tafel__kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; } .tr-tafel__titel { margin: 0; font-size: 1.05rem; font-weight: 800; } .tr-tafel__ueber { margin: 16px 0 6px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #a9b8f0; } .tr-tafel__ich { margin: 12px 0 0; font-size: .9rem; color: #d9def5; } /* Die Regel: gut lesbar, nicht im Kleingedruckten. */ .tr-regel { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; font-size: .82rem; line-height: 1.5; color: #e4e2ef; background: rgba(169, 184, 240, .08); border: 1px solid rgba(169, 184, 240, .2); } .tr-abzeichen { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; } .tr-abzeichen__eins { padding: 6px 10px; border-radius: 10px; font-size: .8rem; font-weight: 700; color: #f1e3c4; background: rgba(224, 196, 140, .1); border: 1px solid rgba(224, 196, 140, .3); } .tr-rangliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .tr-rang { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px; font-size: .86rem; background: rgba(255, 255, 255, .03); } .tr-rang[data-ich="ja"] { background: rgba(169, 184, 240, .12); } .tr-rang__platz { flex: none; width: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; color: #a9b8f0; } .tr-rang__name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; } .tr-rang__pfote { flex: none; } .tr-rang__punkte { flex: none; font-weight: 800; font-variant-numeric: tabular-nums; } .tr-wahl { display: flex; align-items: center; gap: 9px; margin-top: 14px; min-height: 40px; font-size: .84rem; color: #d9def5; } .tr-wahl input { width: 18px; height: 18px; accent-color: #a9b8f0; } /* ---- Die Karte der Regie in der Tafel „Sendung“ -------------------- */ .tr-regie { display: grid; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(169, 184, 240, .05); border: 1px solid rgba(169, 184, 240, .22); min-width: 0; } .tr-regie[hidden], .tr-form[hidden] { display: none; } .tr-regie__ueber { margin: 0; font-size: .86rem; font-weight: 800; color: #dfe4fb; } .tr-regie__rangliste { justify-self: start; } .tr-form { display: grid; gap: 8px; } .tr-form__feld { display: grid; gap: 4px; min-width: 0; } .tr-form__wort { font-size: .74rem; font-weight: 700; color: #bdb9d0; } .tr-form__antworten { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 8px; } .tr-form__los { justify-self: start; margin-top: 4px; } /* Am Handy steht die Karte über dem Chat im selben Stapel – sie bleibt kompakt, damit vom Chat etwas zu sehen bleibt: Antworten zu zweit nebeneinander, die Meldezeile nur, wenn keine Karte dasteht. */ @media (max-width: 600px) { .tipprunde { padding: 8px 12px; gap: 6px; } .tr-karte { padding: 9px 11px 8px; } .tr-frage { margin: 5px 0 7px; font-size: .92rem; } .tr-antworten { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tr-antwort__knopf { padding: 6px 9px; gap: 7px; } .tr-satz { margin-top: 6px; font-size: .76rem; } .tipprunde:has(.tr-karte:not([hidden])) .tr-sagt { display: none; } } @media (pointer: coarse) { .tr-antwort__knopf, .tr-leiste, .tr-wahl, .tr-aufloesen, .tr-abbrechen, .tr-neu, .tr-form__los, .tr-regie__rangliste, .tr-tafel__zu { min-height: 44px; } } @media (prefers-reduced-motion: reduce) { .tr-zeit__fuell, .tr-antwort__balken { transition: none; } } /* Die Pfote des Monats neben dem Namen im Saal-Chat (04.11.2026). */ .tr-pfote { margin-left: 5px; font-size: .8rem; line-height: 1; }