/* Spielbildschirm als Dokumentseite (ENTSCHEIDUNGEN.md, 03.12.2026): unten ein festes Pult, darüber die
   Arbeitsfläche, die als Ganzes scrollt (Leiste am rechten Fensterrand): links der Dokumentbereich, rechts
   die interne Notiz, die per sticky stehen bleibt. Die Kopfzeile liegt oben im Dokumentbereich und scrollt
   mit weg; die Zeile mit der Fundstelle klebt dann oben als neuer Kopf. Die Antwort wächst mit ihrem
   Text (spiel.js: antwortWachsen). --pult-hoehe/--pult-rand bestimmen die sichtbare Höhe der Arbeitsfläche. */
.spiel { --pult-hoehe: 80px; --pult-rand: 12px;
  display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100vh; height: 100dvh; overflow: hidden; max-width: 100%; }

/* Kopfzeile: so niedrig wie der Invader-Block (2 Reihen x 11 Sprite-Pixel x 3 px = 66 px) plus 8 px oben und unten.
   Links das Logo auf zwei Zeilen, genau so hoch wie die Invader (2 x 33 px); rechts Mission, Fragen, Coins, Joker. */
.spiel-kopf { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; min-width: 0;
  padding: 8px 24px; margin-bottom: 8px; background: rgba(7, 10, 34, .6); border-bottom: 1px solid var(--linie); }
.kopf-marke { min-width: 0; }
.spiel-kopf .logo.klein { display: block; font-size: 20px; line-height: 1.6; letter-spacing: 1px; white-space: nowrap; }  /* wie im Hauptmenü */
/* Rechter Block: Zeile 1 Mission (zu lange Namen enden mit …, der volle Name steht im Tooltip), Zeile 2 die Zähler. */
.kopf-rechts { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 0; max-width: 420px; }
.missionsname { display: flex; align-items: baseline; gap: 6px; font: 13px/1.3 var(--schrift); color: var(--leise); min-width: 0; max-width: 100%; }
.missionsname small { font-size: 13px; flex: none; }
.missionsname span { min-width: 0; font-weight: 600; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kopf-zeile { display: flex; align-items: center; justify-content: flex-end; gap: 0; white-space: nowrap; }
.kopf-zeile > * + *::before { content: "·"; color: var(--leise); margin: 0 8px; }
.kopf-zeile > * + * { display: flex; align-items: center; }
.kopf-zeile .joker-anzeige { padding: 3px 4px 3px 10px; font-size: 13px; gap: 6px; }
.kopf-zeile .joker-anzeige::before { display: none; }
.joker-plus { width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 0; cursor: pointer; font: 800 16px/22px var(--schrift);
  color: #2a1200; background: linear-gradient(#ffe27a, #ffa62b); }
.joker-plus:hover { filter: brightness(1.1); }
.coin-anzeige { font: 600 14px var(--schrift); color: var(--gelb); }
/* Höchstens zwei Reihen sichtbar (2 x 11 Sprite-Pixel x 3 px); mehr scrollt im Rahmen. */
.invader-rahmen { width: 100%; min-width: 0; max-height: 92px; overflow-x: hidden; overflow-y: auto; }
.invader-feld { display: block; margin: 0 auto; max-width: 100%; height: auto; image-rendering: pixelated; cursor: pointer; }
.fragenzahl { font: 600 14px var(--schrift); color: var(--leise); white-space: nowrap; }

/* Angebots-Fenster (billiges Online-Spiel: laut mit Absicht). */
.angebot-hintergrund { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(3, 4, 18, .78); }
.angebot { width: min(460px, 100%); max-height: 100%; overflow-y: auto; text-align: center; padding: 26px 24px 20px; border-radius: 22px;
  border: 3px solid var(--gelb); background: radial-gradient(circle at 50% 0%, #4a1670 0%, #1b0d4a 70%);
  box-shadow: 0 0 40px 6px rgba(255, 200, 61, .55), 0 20px 60px rgba(0, 0, 0, .6); }
.angebot-titel { font: 800 34px/1.1 var(--schrift); color: var(--gelb); text-shadow: 0 3px 0 #a23a00, 0 0 18px rgba(255, 140, 0, .8); }
.angebot-preis { margin-top: 10px; font: 800 20px/1.3 var(--schrift); color: #fff; }
.angebot-timer { margin-top: 8px; font: 600 13px var(--schrift); color: #ff8aa0; }
.angebot-timer b { font-variant-numeric: tabular-nums; }
.angebot-mengen { display: flex; gap: 10px; margin: 18px 0 14px; }
.angebot-menge { position: relative; flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 16px 6px 10px; cursor: pointer; color: var(--text);
  font: 600 14px var(--schrift); background: rgba(255, 255, 255, .08); border: 2px solid var(--linie); border-radius: 14px; }
.angebot-menge.gewaehlt { border-color: var(--gelb); background: rgba(255, 200, 61, .18); box-shadow: 0 0 14px rgba(255, 200, 61, .5); }
.angebot-anzahl { font-weight: 800; font-size: 16px; }
.angebot-summe { color: var(--gelb); }
.angebot-etikett { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); padding: 1px 8px; white-space: nowrap; border-radius: 999px;
  font: 800 11px/1.5 var(--schrift); color: #fff; background: var(--rot); }
.angebot-fehler { margin-bottom: 10px; padding: 8px 10px; font: 600 14px/1.4 var(--schrift); color: #fff; background: rgba(255, 84, 112, .3); border: 1.5px solid var(--rot); border-radius: 10px; }
.angebot-fehler[hidden] { display: none; }
.angebot-kaufen { display: block; width: 100%; padding: 15px 10px; cursor: pointer; border: 0; border-radius: 16px; font: 800 22px/1.1 var(--schrift); color: #2a1200;
  background: linear-gradient(#ffe27a 0%, #ffb52e 48%, #ff8a12 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 0 22px rgba(255, 160, 30, .7);
  animation: angebot-puls 1s ease-in-out infinite; }
.angebot-kaufen:disabled { opacity: .6; animation: none; cursor: wait; }
@keyframes angebot-puls { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 0 36px rgba(255, 190, 40, 1); } }
.angebot-nein { margin-top: 16px; padding: 4px; background: none; border: 0; cursor: pointer; font: 11px var(--schrift); color: #7d82a8; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .angebot-kaufen { animation: none; } }

/* Arbeitsfläche: der Scrollbereich über die volle Breite, die Leiste sitzt am rechten Fensterrand.
   Links der Dokumentbereich (Kopfzeile + Blatt, Blatt mittig mit gleichen Rändern), rechts die Notiz
   bis zum Fensterrand: 300 bis 420 px breit. */
.arbeitsflaeche { display: block; min-height: 0; overflow-y: auto; overflow-x: hidden; }
/* Kein sichtbarer Scrollbalken am Rand (Andreas, 05.12.2026): gescrollt wird mit Rad, Tasten oder Wischen. */
.arbeitsflaeche { scrollbar-width: none; }
.arbeitsflaeche::-webkit-scrollbar { display: none; }
.dokument { min-height: 0; min-width: 0; padding: 0 0 32px; }
/* Kein Vorfahre zwischen .box-kopf und .arbeitsflaeche darf overflow setzen, sonst klebt der Kopf nicht. */
.blatt { --blatt-y: 28px; --blatt-x: 32px; min-width: 0; width: min(960px, calc(100% - 48px)); margin: 0 auto;
  background: var(--blatt); border: 1px solid var(--linie); border-radius: 18px; padding: var(--blatt-y) var(--blatt-x);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }

/* Frage: leuchtende Karte mit Dokument-Symbol, wächst mit dem Text; erst sehr lange Fragen scrollen. */
.frage-box { border: 1.5px solid var(--cyan); border-radius: 16px; background: rgba(60, 232, 255, .05); padding: 18px 22px; margin-bottom: 24px;
  box-shadow: 0 0 18px rgba(60, 232, 255, .28), inset 0 0 18px rgba(60, 232, 255, .06); min-width: 0; }
/* Fundstelle: oberste Zeile des Blatts, klebt oben, sobald die Kopfzeile weggescrollt ist. */
.box-kopf { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px;
  margin: calc(-1 * var(--blatt-y)) calc(-1 * var(--blatt-x)) 16px; padding: 14px var(--blatt-x);
  background: var(--blatt); border-radius: 17px 17px 0 0; box-shadow: 0 8px 10px -8px rgba(0, 0, 0, .6); }
.dokument-symbol { flex: none; width: 18px; height: 22px; border: 2px solid var(--cyan); border-radius: 3px 7px 3px 3px; filter: drop-shadow(0 0 4px rgba(60, 232, 255, .7));
  background: linear-gradient(var(--cyan), var(--cyan)) 3px 5px / 8px 2px no-repeat, linear-gradient(var(--cyan), var(--cyan)) 3px 9px / 9px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 3px 13px / 6px 2px no-repeat; }
.fundstelle { flex: 1; min-width: 0; font: 600 13px/1.4 var(--schrift); color: var(--leise); overflow-wrap: anywhere; }
/* Zweitblick (Spielende B1): „✓ geprüft“ / „✓✓ geprüft“ neben der Fundstelle, Tooltip: von wem. */
.geprueft-vermerk { flex: none; font: 600 13px/1.4 var(--schrift); color: #fff; white-space: nowrap; cursor: default; }
.geprueft-vermerk[hidden] { display: none; }
/* Koop: rechts im Kopf des Blatts „An Officer geben“ / „liegt bei <Name>“ + „Zurückholen“, darunter das Namensmenü. */
.freigabe { position: relative; flex: none; display: flex; align-items: center; gap: 10px; }
.freigabe:empty { display: none; }
.freigabe-knopf { padding: 5px 14px; font-size: 13px; }
.liegt-bei { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 13px/1.3 var(--schrift); color: #ffb000;
  border: 1.5px solid #ffb000; border-radius: 999px; padding: 3px 10px; }
.freigabe-menue { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; display: flex; flex-direction: column; gap: 2px; min-width: 180px; max-width: 280px;
  padding: 6px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund-klein); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.freigabe-menue button { text-align: left; color: var(--text); background: transparent; box-shadow: none; border-radius: 8px; padding: 7px 10px; overflow-wrap: anywhere; }
.freigabe-menue button:hover, .freigabe-menue button:focus-visible { background: rgba(60, 232, 255, .12); }
.spiel.lesend .antwort, .spiel.lesend .notiz { opacity: .8; cursor: default; }
.fragetext { font: 600 16px/1.6 var(--schrift); color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }  /* Frage steht immer ganz da, kein eigener Scrollbalken */
.frage-box .kontext { font-size: 14px; line-height: 1.55; margin-top: 10px; }
.frage-box .kontext:empty { display: none; }

/* Antwort: großes Schreibfeld, mindestens 45 % der Fensterhöhe, wächst mit dem Text. */
.antwort-titel { font: 600 13px/1.4 var(--schrift); color: var(--leise); margin: 0 0 8px 4px; }
.antwort { display: block; resize: none; overflow-y: hidden; min-height: 45vh; font: 16px/1.6 var(--schrift);
  background: var(--feld); border: 1.5px solid #3a4291; border-radius: 14px; padding: 18px 22px; }
.antwort:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(60, 232, 255, .15), 0 0 16px rgba(60, 232, 255, .2); }

/* Quellen des KI-Jokers: eingeklappt eine Zeile unter der Antwort; aufgeklappt höchstens 30 % Höhe mit eigenem Scroll. */
.quellen { margin-top: 12px; border: 1px solid var(--linie); border-radius: 12px; background: rgba(7, 10, 34, .35); }
.quellen summary { list-style: none; cursor: pointer; padding: 8px 14px; font: 600 13px/1.4 var(--schrift); color: var(--orange); }
.quellen summary::-webkit-details-marker { display: none; }
.quellen summary::after { content: " ▸"; }
.quellen[open] summary::after { content: " ▾"; }
.quellen-inhalt { max-height: 30vh; overflow-y: auto; padding: 0 14px 12px; }
.quellen ul { list-style: none; margin: 4px 0 10px; padding: 0; display: grid; gap: 10px; }
.quelle-kopf { font: 600 13px/1.4 var(--schrift); color: var(--gruen); }
.quelle.unbelegt .quelle-kopf { color: var(--rot); }
.quelle q { display: block; font-size: 14px; line-height: 1.55; color: var(--text); }

/* Notiz: Karte im Stil der Antwort, rechts neben ihr (ca. 32 % der Breite); gestrichelt, sie geht nicht an den Kunden. */
.antwort-notiz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 32%); gap: 18px; align-items: start; }
.antwort-spalte, .notiz-spalte { min-width: 0; }
.notiz { display: block; width: 100%; resize: none; min-height: 45vh; font: 16px/1.6 var(--schrift); background: var(--feld);
  border: 1.5px solid #3a4291; border-radius: 14px; padding: 18px 22px; }
.notiz:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(60, 232, 255, .15), 0 0 16px rgba(60, 232, 255, .2); }
.notiz-spalte .hinweis { margin: 6px 0 0 4px; font: 400 12px var(--schrift); color: var(--leise); }

/* Pult: feste Leiste unten; links Modus und KI-Joker, Mitte Schiff, rechts Lichter und FEUER. */
.spiel-fuss { display: grid; grid-template-columns: auto minmax(160px, 1fr) auto; align-items: center; gap: 20px; min-width: 0;
  height: var(--pult-hoehe); margin: 0 16px var(--pult-rand); padding: 0 20px; border-radius: 18px; border: 1px solid rgba(60, 232, 255, .35);
  background: linear-gradient(#181d55, #0f1340); box-shadow: 0 0 22px rgba(60, 232, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .06); }
.pult-links, .pult-rechts { display: flex; align-items: center; gap: 16px; min-width: 0; }
.pult-rechts { justify-content: flex-end; }
.schiff-platz { display: flex; justify-content: center; align-items: center; pointer-events: none; filter: drop-shadow(0 0 6px rgba(61, 255, 122, .45));
  min-width: 0; overflow: hidden; }
/* Schiff steht ruhig in der Mitte zwischen KI-Joker und Lichtern (Andreas, 03.12.2026: Flug lenkt ab). */
.speicherstand { font: 13px var(--schrift); color: var(--leise); flex: 1; min-width: 0; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Scharfschalt-Pult: drei Kippschalter A/B/C wie im Cockpit (Hebel oben = an, LED darüber leuchtet bernstein),
   rechts der runde Joker-Startknopf mit Metallrand. */
.schalterblock { display: flex; align-items: center; gap: 18px; }
.schalter-reihe { display: flex; gap: 12px; padding: 6px 12px 4px; border: 1.5px solid #4a5088; border-radius: 10px;
  background: linear-gradient(#1b2050, #0d1130); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.schalter-logbuch { margin-left: 4px; border-style: dashed; }
.kippschalter { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 34px; padding: 0; background: transparent; border: 0; box-shadow: none; color: var(--leise); cursor: pointer; }
.kippschalter .pixel-symbol { display: none; }
.kippschalter .lampe { width: 9px; height: 9px; border-radius: 50%; background: #3a2a0e; border: 1px solid #1a1206; }
.kippschalter .hebel { position: relative; display: block; width: 26px; height: 30px; border-radius: 6px; border: 1.5px solid #6b7199;
  background: linear-gradient(#5a6190, #2a2f5a); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .6); }
.kippschalter .hebel::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d8dcf5, #6a709a 70%); box-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.kippschalter .hebel::after { content: ""; position: absolute; left: 50%; width: 6px; height: 15px; margin-left: -3px; border-radius: 3px;
  background: linear-gradient(90deg, #8a90b8, #f0f2ff 45%, #8a90b8); box-shadow: 0 1px 2px rgba(0, 0, 0, .6); top: 50%; }
.kippschalter .schalter-name { font: 700 12px var(--schrift); }
.kippschalter.an { color: var(--text); }
.kippschalter.an .lampe { background: #ffb52e; border-color: #ffd98a; box-shadow: 0 0 8px 3px rgba(255, 181, 46, .85); }
.kippschalter.an .hebel::after { top: auto; bottom: 50%; background: linear-gradient(90deg, #b8741a, #ffe2a0 45%, #b8741a); }
.kippschalter:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.ki-joker { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; width: 68px; height: 68px; padding: 0; border-radius: 50%;
  font: 800 20px/1 var(--schrift); color: #7a3b30; cursor: pointer; white-space: nowrap;
  background: radial-gradient(circle at 50% 35%, #5a2a2a, #2a0f14 75%); border: 4px solid #8c93b8;
  box-shadow: inset 0 0 0 2px #3b4070, inset 0 -4px 8px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .6); }
.ki-joker span { font-size: 11px; letter-spacing: 1px; }
.ki-joker.scharf { color: #fff3d0; background: radial-gradient(circle at 50% 30%, #ff9a3c, #d4261c 75%); border-color: #e4e8ff;
  box-shadow: inset 0 0 0 2px #7a1a12, 0 0 20px 5px rgba(255, 110, 40, .75); text-shadow: 0 0 8px #fff; }
.ki-joker.scharf:hover { filter: brightness(1.1); }
.ki-joker.leer { opacity: .55; }
.schalter-liste { display: grid; gap: 18px; max-width: 760px; }
.schalter-feld { display: grid; gap: 6px; }
.schalter-feld label { font: 600 13px/1.4 var(--schrift); color: var(--orange); }
.schalter-feld button { justify-self: start; }

/* Drei Compliance-Lichter wie eine Ampel (grün, gelb, rot) als runde LEDs: gedimmt aus, leuchtend an.
   Gelb (#ffd23c) heißt ungesichert; bei abgegebenen Fragen ist es gesperrt (aria-disabled, Tooltip bleibt). */
.lichter { display: flex; gap: 12px; align-items: center; flex: none; }
.licht { width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .45); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .5); cursor: pointer; flex: none; }
.licht:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.licht.gruen { background: #164a2a; }
.licht.gelb { background: #5a4a14; }
.licht.rot { background: #571a28; }
.licht.gruen.leuchtet { background: radial-gradient(circle at 40% 35%, #c9ffd9, var(--gruen) 55%); box-shadow: 0 0 12px 3px rgba(61, 255, 122, .75); }
.licht.gelb.leuchtet { background: radial-gradient(circle at 40% 35%, #fff4c4, #ffd23c 55%); box-shadow: 0 0 12px 3px rgba(255, 210, 60, .75); }
.licht.rot.leuchtet { background: radial-gradient(circle at 40% 35%, #ffd0d8, var(--rot) 55%); box-shadow: 0 0 12px 3px rgba(255, 84, 112, .75); }
.licht[aria-disabled="true"] { opacity: .35; cursor: not-allowed; }

/* FEUER: glänzender gelb-oranger Knopf mit Fadenkreuz und warmem Schein. */
.feuer-huelle { display: inline-block; }
.feuer { display: block; padding: 0; border: 0; border-radius: 16px; color: #2a1200;
  background: linear-gradient(#ffe27a 0%, #ffb52e 48%, #ff8a12 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -3px 0 rgba(150, 60, 0, .35), 0 0 22px rgba(255, 160, 30, .6); }
.feuer:hover { filter: brightness(1.06); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -3px 0 rgba(150, 60, 0, .35), 0 0 30px rgba(255, 170, 40, .85); }
.feuer-innen { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 200px; padding: 13px 30px; border-radius: 16px;
  font: 800 20px/1.1 var(--schrift); color: #2a1200; background: linear-gradient(rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 52%); }
.feuer:active { transform: translateY(1px); }

/* Schmale Fenster: nichts ragt rechts heraus. */
@media (max-width: 1200px) {
  .spiel-kopf { gap: 14px; padding: 8px 16px; }
  .kopf-rechts { max-width: 340px; }
  .dokument { padding-bottom: 24px; }
  .blatt { --blatt-y: 24px; --blatt-x: 24px; width: calc(100% - 32px); }
  .spiel-fuss { gap: 12px; padding: 0 14px; }
  .pult-links, .pult-rechts { gap: 10px; }
  .feuer-innen { min-width: 140px; padding: 12px 16px; }
  /* Gelbe Lampe (05.12.2026): die dritte Lampe holt sich ihren Platz aus FEUER und den Lampenabständen,
     damit das Pult über 960 px einreihig bleibt. */
  .lichter { gap: 8px; }
  .licht { width: 20px; height: 20px; }
}
/* Unter 960 px: Notiz unter das Blatt (scrollt dann mit, gescrollt wird die ganze Arbeitsfläche),
   Zähler und Joker übereinander, das Pult bricht in zwei Reihen um. */
@media (max-width: 960px) {
  .spiel-kopf { grid-template-columns: auto minmax(0, 1fr); row-gap: 6px; }
  .kopf-rechts { grid-column: 1 / -1; max-width: none; align-items: flex-start; }
  .antwort-notiz { grid-template-columns: minmax(0, 1fr); }
  .dokument { padding-bottom: 0; }
  .notiz { min-height: 140px; resize: vertical; }
  .blatt { --blatt-y: 20px; --blatt-x: 18px; width: auto; margin: 0 16px; }
  .spiel-fuss { display: flex; flex-wrap: wrap; height: auto; margin: 0 8px 8px; padding: 8px 12px; gap: 8px 12px; }
  .pult-links { flex-wrap: wrap; }
  /* Diktat-Knopf (05.12.2026): engere Abstände im Schalterblock, damit das Pult nicht eine Reihe mehr braucht. */
  .schalterblock { gap: 10px; }
  .schalter-reihe { gap: 8px; padding: 6px 8px 4px; }
  .schiff-platz { flex: 1; }
  .pult-rechts { flex: 1 1 100%; }
}

/* Pfeile im Pult und Längenknöpfe */
.laenge { display: flex; align-items: center; gap: 6px; }
.laenge-stapel { display: flex; flex-direction: column; gap: 6px; }
/* Einheitliche Konsolenknöpfe: dunkles Gehäuse, Metallrand wie Schalter und JOKER, eingravierte Zeichen. */
.laenge-knopf { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0;
  border-radius: 9px; border: 3px solid #8c93b8; color: #c9cfee; font: 800 17px/1 var(--schrift); text-shadow: 0 -1px 0 rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .15);
  background: radial-gradient(circle at 50% 30%, #3a3f6e, #12163a 80%); cursor: pointer;
  box-shadow: inset 0 0 0 2px #3b4070, inset 0 -4px 8px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .6); }
.laenge-knopf { width: 34px; height: 30px; }
.laenge-knopf:hover { filter: brightness(1.15); color: #fff; }
.laenge-knopf:active { transform: translateY(1px);
  box-shadow: inset 0 0 0 2px #3b4070, inset 0 3px 8px rgba(0, 0, 0, .8), 0 1px 2px rgba(0, 0, 0, .6); }
.laenge-knopf:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.laenge-knopf:disabled { opacity: .45; cursor: wait; }
/* Diktat (05.12.2026): 🎤 vor ✨. Während der Aufnahme steht die laufende Zeit im Knopf (feste Breite,
   nichts verschiebt sich), der Knopf ist rot und pulsiert sanft (1,2 s). */
.laenge-knopf.diktat-knopf { font-size: 15px; }
.laenge-knopf.diktat-aufnahme { font: 700 11px/1 var(--schrift); font-variant-numeric: tabular-nums; letter-spacing: 0; color: #fff;
  border-color: #ff9aaa; background: radial-gradient(circle at 50% 30%, #ff6a80, #a8122c 80%); animation: diktat-puls 1.2s ease-in-out infinite; }
@keyframes diktat-puls {
  0%, 100% { box-shadow: inset 0 0 0 2px #6a0c1c, inset 0 -4px 8px rgba(0, 0, 0, .45), 0 0 0 0 rgba(255, 84, 112, 0); }
  50% { box-shadow: inset 0 0 0 2px #6a0c1c, inset 0 -4px 8px rgba(0, 0, 0, .45), 0 0 12px 3px rgba(255, 84, 112, .7); } }
@media (prefers-reduced-motion: reduce) { .laenge-knopf.diktat-aufnahme { animation: none; } }

/* Coins und Joker nicht überlappen lassen (Andreas, 04.12.2026). */
.coin-anzeige { white-space: nowrap; flex-shrink: 0; margin-right: 6px; }
/* Schiff in der Mitte des Pults (die Pfeile ◀ ▶ entfallen seit dem Schießmodus). */
.schiff-mitte { display: flex; align-items: center; justify-content: center; gap: 18px; min-width: 0; height: 100%; }
.schiff-mitte .schiff-platz { flex: 0 0 auto; overflow: visible; }

/* Beleg-Pop-up im Antwortfeld */
.beleg-popup { position: fixed; z-index: 60; padding: 12px 14px; border: 1px solid var(--linie); border-radius: 12px;
  background: #0b1030; box-shadow: 0 8px 28px rgba(0, 0, 0, .55); cursor: pointer; max-height: 50vh; overflow-y: auto; }
.beleg-kopf { font: 600 13px/1.4 var(--schrift); color: var(--gruen); margin-bottom: 6px; }
.beleg-text { margin: 0; font: 15px/1.55 var(--schrift); }
.beleg-rand { opacity: .6; }
.beleg-text mark.zitat { background: #ffe14d; color: #111; font-weight: 700; padding: 0 2px; border-radius: 3px; }

/* Schießmodus im Fragemodus (docs/design/schiessmodus.md): Punkte im Kopf, Countdown oben rechts mit Zeitkauf,
   FEUER erst mit Licht, Zeitablauf-Tafel, aufsteigender Zeitbonus. */
.punkte-anzeige { font: 600 14px var(--schrift); color: var(--text); white-space: nowrap; }
.compliance-anzeige { font: 600 14px var(--schrift); color: #20ff40; white-space: nowrap; cursor: default; }
.kopf-uhr { display: flex; align-items: center; gap: 10px; }
.kopf-uhr[hidden] { display: none; }
.uhr { font: 16px/1 var(--pixel); color: var(--text); font-variant-numeric: tabular-nums; }
.uhr.knapp { color: var(--rot); animation: uhr-blinkt 1s steps(2, start) infinite; }
@keyframes uhr-blinkt { to { visibility: hidden; } }
.zeit-kaufen { padding: 3px 10px; font-size: 12px; box-shadow: none; color: #2a1200; background: linear-gradient(#ffe27a, #ffa62b); }
.feuer:disabled { filter: grayscale(.7) brightness(.7); box-shadow: none; }
.feuer.blitz, .feuer.blitz .feuer-innen { background: #fff; }
.zeit-ab { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center;
  font: 22px/1.6 var(--pixel); color: #ff2020; background: rgba(0, 0, 0, .85); }
.bonus-aufstieg { position: fixed; z-index: 6; pointer-events: none; font: 16px/1 var(--pixel); color: #ffb000; animation: bonus-steigt 267ms linear forwards; }
@keyframes bonus-steigt { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-16px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .uhr.knapp { animation: none; } }
