
:root {
  --font-ui: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', 'Courier New', monospace;

  --con-top:#4a5f78; --con-mid:#33465b; --con-bot:#1e2c3b;
  --con-edge:rgba(100,116,139,.5);
  --led-bg:#05070a; --led-frame:#1e293b;
  --panel-bg:#070b12; --row-bg:#0b1322; --hair:#1e293b;
  --slate-800:#1e293b; --slate-700:#334155;
  --slate-600:#475569; --slate-500:#64748b; --slate-400:#94a3b8; --slate-300:#cbd5e1;
  --n-100:#f5f5f5; --n-200:#e5e5e5; --n-300:#d4d4d4; --n-400:#a3a3a3; --n-500:#737373;

  --acc:#fbbf24; --acc-hell:#fcd34d; --ok:#34d399; --info:#22d3ee;
  --gefahr:#f43f5e; --gefahr-hell:#fb7185;

  --blech-1:#7f9488; --blech-2:#5c7166; --blech-3:#3d4f45; --blech-kante:#25322b; --chrom-1:#e6ece8; --chrom-2:#8e9a94;
  --phosphor:#3dff9a; --phosphor-d:#1a5c3c; --bernstein:#ffb347; --papier-1:#f4ecd6; --papier-2:#e3d6b4; --papier-loch:#2a2418;
  --wand-1:#2a2d33; --wand-2:#17191d; --wand-3:#0c0d10; --wand-kante:#30343a; --wand-streifen:#c8352b;

  --sh-sm: 0 1px 3px rgba(0,0,0,.35);
  --sh-md: 0 4px 6px -1px rgba(0,0,0,.4);
  --sh-lg: 0 10px 15px -3px rgba(0,0,0,.45);
  --sh-2xl: 0 25px 50px -12px rgba(0,0,0,.6);
  --sh-in: inset 0 2px 4px rgba(0,0,0,.5);
  --ease: cubic-bezier(.4,0,.2,1);
}

:where(html, html *) { scrollbar-width:thin; scrollbar-color:var(--acc, #fbbf24) var(--row-bg, #0b1322); }
:where(html) ::-webkit-scrollbar { width:9px; height:9px; }
:where(html) ::-webkit-scrollbar-track { background:var(--row-bg, #0b1322); border-radius:5px; }
:where(html) ::-webkit-scrollbar-thumb { background:var(--acc, #fbbf24); border-radius:5px; border:2px solid transparent; background-clip:padding-box; }

* { box-sizing: border-box; }
html, body { margin:0; height:100%; background:#05070c; overflow:hidden; touch-action:manipulation; }
body { color:var(--n-100); font-family:var(--font-ui); -webkit-user-select:none; user-select:none;
  -webkit-tap-highlight-color:transparent; }
[hidden] { display:none !important; }
button { font:inherit; color:inherit; cursor:pointer; border:0; background:none; }

#wrap { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; }
#stage { position:relative; width:800px; height:600px; flex:none; transform-origin:50% 50%;
  background:#090d16; border:2px solid var(--slate-700); border-radius:12px; overflow:hidden;
  box-shadow:var(--sh-2xl); }

#partie { position:absolute; inset:0; display:flex; }


.k-regel { display:block; font-family:var(--font-mono); font-size:11px; color:var(--acc);
  letter-spacing:.03em; margin-top:1px; }

.k-status { background:var(--led-bg); border:2px solid var(--led-frame); border-radius:5px;
  padding:5px 8px; font-family:var(--font-mono); font-size:11px; font-weight:700; color:var(--acc);
  text-align:center; box-shadow:var(--sh-in); margin-bottom:6px; min-height:28px;
  display:flex; align-items:center; justify-content:center; }
.k-status.pflicht { color:var(--gefahr-hell); border-color:rgba(244,63,94,.7);
  background:rgba(76,5,25,.55); }
.k-status.gruen { color:#6ee7b7; border-color:rgba(52,211,153,.7); background:rgba(2,44,34,.55); }
.k-status.ok { color:var(--ok); }

.k-blocklabel { font-family:var(--font-mono); font-size:11px; font-weight:700; letter-spacing:.09em;
  text-transform:uppercase; color:var(--slate-300); margin:0 0 3px 2px; }
.k-streifen { flex:1; min-height:0; overflow-y:auto; background:var(--panel-bg);
  border:1px solid var(--hair); border-radius:5px; padding:4px; box-shadow:var(--sh-in);
  font-family:var(--font-mono); font-size:11px; scrollbar-width:thin;
  scrollbar-color:var(--acc, #fbbf24) var(--panel-bg); }
.k-streifen::-webkit-scrollbar { width:6px; }
.k-streifen::-webkit-scrollbar-track { background:var(--panel-bg); }
.k-streifen::-webkit-scrollbar-thumb { background:var(--acc, #fbbf24); border-radius:3px; }
.zl-leer { color:var(--n-500); font-size:11px; padding:6px 2px; text-align:center; }

.k-chat { height:50px; overflow-y:auto; background:var(--panel-bg); border:1px solid var(--hair);
  border-radius:5px; padding:4px; margin-bottom:3px; font-size:11px; line-height:1.35;
  box-shadow:var(--sh-in); scrollbar-width:thin; }
#gchattext b { color:var(--info); font-weight:700; }
.k-chatin { width:100%; margin-bottom:5px; background:var(--led-bg); border:1px solid var(--hair);
  border-radius:4px; padding:4px 6px; font:11px var(--font-mono); color:var(--n-100); outline:none; }
.k-chatin:focus { border-color:var(--info); }

.k-knoepfe { display:grid; grid-template-columns:1fr 1fr; gap:4px; margin:5px 0 4px; }
.kb { padding:6px 4px; background:linear-gradient(to bottom,var(--slate-600),var(--slate-800));
  border:1px solid rgba(148,163,184,.45); border-radius:5px; font-family:var(--font-mono);
  font-size:11px; font-weight:700; color:var(--n-200); box-shadow:var(--sh-md);
  transition:all 140ms var(--ease); }
.kb:hover { background:linear-gradient(to bottom,var(--slate-500),var(--slate-700)); }
.kb:active { transform:translateY(2px); }
.kb:disabled { opacity:.45; cursor:default; transform:none; }
.kb.an { background:linear-gradient(to bottom,#78350f,#451a03); border-color:var(--acc);
  color:var(--acc-hell); }
.kb-rot { background:linear-gradient(to bottom,#9f1239,#4c0519); border-color:rgba(244,63,94,.5);
  color:#fecdd3; }
.kb-rot:hover { background:linear-gradient(to bottom,#be123c,#7f1d1d); }

.k-leiste { display:flex; justify-content:space-between; align-items:center; gap:4px;
  padding-top:5px; border-top:1px solid rgba(100,116,139,.4); }
.kb-hw { padding:4px 8px; background:linear-gradient(to bottom,var(--slate-600),var(--slate-800));
  border:1px solid rgba(148,163,184,.5); border-radius:4px; font-family:var(--font-mono);
  font-size:11px; font-weight:700; color:var(--n-200); box-shadow:var(--sh-md); }
.kb-hw:hover { background:linear-gradient(to bottom,var(--slate-500),var(--slate-700)); }
.k-icons { display:flex; gap:4px; }
.kb-ic { padding:4px 6px; background:var(--slate-700); border:1px solid var(--con-edge);
  border-radius:4px; color:var(--n-300); font-size:11px; line-height:1; box-shadow:var(--sh-sm); }
.kb-ic:hover { background:var(--slate-600); }

.ovl { position:absolute; inset:0; z-index:50; display:flex; align-items:center; justify-content:center;
  background:rgba(4,7,13,.84); backdrop-filter:blur(6px); padding:20px;
  animation:auf 180ms var(--ease); }
@keyframes auf { from { opacity:0; } to { opacity:1; } }
.karte { width:100%; max-width:400px; background:linear-gradient(to bottom,#16223a,#0b1322);
  border:2px solid #1e4d7a; border-radius:14px; padding:20px; box-shadow:var(--sh-2xl);
  display:flex; flex-direction:column; align-items:center; text-align:center; max-height:92%; }
.karte-breit { max-width:520px; align-items:stretch; text-align:left; }
#ende-icon { width:54px; height:54px; border-radius:9999px; display:flex; align-items:center;
  justify-content:center; font-size:26px; margin-bottom:8px; border:2px solid; box-shadow:var(--sh-lg); }
#ende-icon.sieg { background:rgba(245,158,11,.18); border-color:var(--acc); color:var(--acc-hell); }
#ende-icon.remis { background:rgba(100,116,139,.2); border-color:var(--slate-400); color:var(--slate-300); }
#ende-icon.pleite { background:rgba(244,63,94,.18); border-color:var(--gefahr); color:var(--gefahr-hell); }
#ende-titel { margin:0; font-family:var(--font-mono); font-size:19px; font-weight:900;
  letter-spacing:.05em; }
#ende-unter { margin:6px 0 0; font-size:12px; color:var(--n-400); }
#ende-btns { width:100%; display:flex; flex-direction:column; gap:7px; margin-top:16px; }
#ende-btns button { width:100%; padding:9px 14px; border-radius:10px; font-weight:700; font-size:12px;
  transition:all 140ms var(--ease); }
#ende-btns .haupt { background:linear-gradient(90deg,#059669,#0d9488); color:#fff; box-shadow:var(--sh-lg); }
#ende-btns .haupt:hover { background:linear-gradient(90deg,#10b981,#14b8a6); }
#ende-btns .neben { background:var(--slate-800); color:var(--n-200); border:1px solid var(--slate-600); }
#ende-btns .neben:hover { background:var(--slate-700); }

.kh { display:flex; justify-content:space-between; align-items:center; padding-bottom:10px;
  border-bottom:1px solid var(--hair); margin-bottom:12px; }
.kh h2 { margin:0; font-family:var(--font-mono); font-size:15px; color:var(--acc); }
.kx { padding:2px 8px; border-radius:6px; color:var(--n-400); font-size:15px; }
.kx:hover { background:var(--slate-800); color:#fff; }
.kb-text { overflow-y:auto; font-size:12px; line-height:1.6; color:var(--n-300); padding-right:4px; }
.kb-text h3 { font-family:var(--font-mono); font-size:11px; color:var(--acc); margin:14px 0 4px; }
.kb-text h3:first-child { margin-top:0; }
.kb-text p { margin:0 0 6px; }
.kb-text b { color:var(--n-100); }
.kb-text ul { margin:0 0 6px; padding-left:18px; }

#note { position:absolute; left:0; right:0; top:50%; text-align:center; font-family:var(--font-mono);
  font-size:13px; color:#ddd; z-index:60; }

#lobby { position:absolute; inset:0; display:flex; flex-direction:column; padding:12px 14px;
  background:radial-gradient(120% 90% at 50% 0%, #2a160d 0%, #0d0705 70%); }
.lo-kopf { display:flex; align-items:center; gap:10px; padding-bottom:9px; margin-bottom:10px;
  border-bottom:1px solid var(--hair); }
.lo-logo { font-family:var(--font-mono); font-size:19px; font-weight:900; letter-spacing:.16em;
  color:var(--acc-hell); text-shadow:0 0 12px rgba(251,191,36,.35); }
.lo-raum { font-family:var(--font-mono); font-size:11px; color:var(--slate-400); letter-spacing:.06em; }
.lo-ich { margin-left:auto; font-family:var(--font-mono); font-size:11px; color:var(--slate-300); }
.lo-ich b { color:var(--info); }

.lo-mitte { flex:1; min-height:0; display:flex; gap:12px; }
.lo-chat { flex:1; min-width:0; display:flex; flex-direction:column; }
.lo-spieler { width:236px; flex:none; display:flex; flex-direction:column; }
.lo-label { font-family:var(--font-mono); font-size:11px; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:var(--slate-300); margin:0 0 4px 2px; }
.lo-label span { color:var(--slate-500); }

#chatwin { flex:1; min-height:0; overflow-y:auto; background:var(--panel-bg); border:1px solid var(--hair);
  border-radius:6px; padding:7px 9px; box-shadow:var(--sh-in); font-size:12px; line-height:1.45;
  color:var(--n-300); scrollbar-width:thin; scrollbar-color:var(--acc, #fbbf24) var(--panel-bg); }
#chatwin::-webkit-scrollbar { width:7px; }
#chatwin::-webkit-scrollbar-track { background:var(--panel-bg); }
#chatwin::-webkit-scrollbar-thumb { background:var(--acc, #fbbf24); border-radius:4px; }
#chattext .nm { color:var(--info); font-weight:700; cursor:pointer; }
#chattext .nm:hover { text-decoration:underline; }
#chattext .sys { color:var(--slate-400); font-style:italic; }
#chattext .pm { color:var(--acc-hell); }
#chatin, #pmin { margin-top:7px; background:var(--led-bg); border:1px solid var(--hair);
  border-radius:5px; padding:7px 9px; font:12px var(--font-mono); color:var(--n-100); outline:none; }
#chatin:focus, #pmin:focus { border-color:var(--info); }

#ulist { flex:1; min-height:0; overflow-y:auto; background:var(--panel-bg); border:1px solid var(--hair);
  border-radius:6px; padding:3px; box-shadow:var(--sh-in); scrollbar-width:thin; }
#ulist::-webkit-scrollbar { width:7px; }
#ulist::-webkit-scrollbar-thumb { background:var(--acc, #fbbf24); border-radius:4px; }
.it { display:flex; align-items:center; gap:6px; padding:5px 7px; border-radius:5px;
  font-family:var(--font-mono); font-size:12px; color:var(--n-200); cursor:pointer;
  transition:background 140ms var(--ease); }
.it:hover { background:var(--row-bg); }
.it .elo { margin-left:auto; font-size:11px; color:var(--slate-400); }
.it.me { color:var(--info); cursor:default; }
.it.me:hover { background:none; }
.it.spielt { color:var(--slate-500); cursor:default; }
.it.spielt:hover { background:none; }
.it .pk { width:7px; height:7px; border-radius:9999px; background:var(--ok); flex:none; }
.it.spielt .pk { background:var(--slate-600); }
.lo-hinweis { margin:6px 2px 0; font-size:11px; color:var(--slate-500); line-height:1.35; }

.lo-kopf-r { display:flex; align-items:center; gap:5px; margin-left:12px; }
.lo-kopf-r .kb { padding:5px 10px; }
.lo-chat #chatwin { flex:1 1 0; min-height:90px; }
.lo-start { flex:1 1 0; min-height:0; display:flex; flex-direction:column; margin-top:12px; }
.lo-kacheln { flex:1; min-height:0; display:grid; grid-template-columns:1fr 1fr; grid-auto-rows:1fr; gap:8px; }
.lo-kacheln.k6 { grid-template-columns:repeat(3, 1fr); }
.lo-kacheln.k6 .lo-kachel { padding:10px; }
.lo-kacheln.k6 .lo-kachel b { font-size:13px; }
.lo-kachel { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:5px;
  padding:10px 14px; text-align:left; cursor:pointer; }
.lo-kachel b { font-size:14px; color:var(--n-100); }
.lo-kachel small { font-family:system-ui, sans-serif; font-size:11.5px; font-weight:400; line-height:1.35; color:var(--slate-300); }
.lo-kachel.kb-gruen small { color:#d1fae5; }
.lo-kopf-r .kb, .lo-ich { white-space:nowrap; }
#stage.hoch .lo-raum { display:none; }
#stage.hoch .lo-mitte { flex-direction:column; }
#stage.hoch .lo-chat { flex:1.7 1 0; min-height:0; }
#stage.hoch .lo-spieler { width:auto; flex:1 1 0; min-height:0; }
#lo-nurchat.an { background:linear-gradient(to bottom,#78350f,#451a03); border-color:var(--acc);
  color:var(--acc-hell); }

.pop-karte { max-width:360px; }
.pop-karte h2 { margin:0 0 8px; font-family:var(--font-mono); font-size:15px; color:var(--acc); }
.pop-karte p { margin:0; font-size:13px; color:var(--n-300); line-height:1.5; }
#pop-btns { display:flex; gap:8px; margin-top:16px; width:100%; }
#pop-btns button { flex:1; padding:9px 12px; border-radius:9px; font-weight:700; font-size:12px;
  transition:all 140ms var(--ease); }
#pop-btns .ja { background:linear-gradient(90deg,#059669,#0d9488); color:#fff; }
#pop-btns .ja:hover { background:linear-gradient(90deg,#10b981,#14b8a6); }
#pop-btns .nein { background:var(--slate-800); color:var(--n-200); border:1px solid var(--slate-600); }
#pop-btns .nein:hover { background:var(--slate-700); }

.ende-stand { margin-top:12px; width:100%; display:flex; justify-content:center; gap:14px;
  font-family:var(--font-mono); font-size:11px; color:var(--slate-300); }
.ende-stand b { color:var(--acc-hell); }


.luhr.kritisch { animation:uhrblink .5s steps(2) infinite; }
@keyframes uhrblink { 50% { background:rgba(244,63,94,.85); color:#fff; } }

.k-schnell { display:grid; grid-template-columns:1fr 1fr; gap:3px; margin:-2px 0 6px; }
.k-schnell button { padding:3px 4px; border-radius:6px; background:var(--slate-800); border:1px solid var(--slate-700); color:var(--slate-300);
  font-size:11px; font-weight:700; }
.k-schnell button:hover { border-color:var(--info); color:#fff; }

.ei-zeile { display:grid; grid-template-columns:120px 1fr; gap:10px; align-items:start; padding:9px 0; border-bottom:1px solid var(--hair); }
.ei-zeile > span { font-family:var(--font-mono); font-size:11px; color:var(--slate-300); padding-top:6px; }
.ei-wahl { display:flex; flex-wrap:wrap; gap:6px; }
.ei-wahl button { padding:6px 10px; border-radius:8px; background:var(--slate-800); border:1px solid var(--slate-600); color:var(--n-200); font-size:11.5px; font-weight:700; }
.ei-wahl button.an { background:rgba(251,191,36,.18); border-color:var(--acc); color:var(--acc-hell); }
.ei-hinweis { margin:10px 0 0; font-size:11px; color:var(--slate-400); }
.kb-ic.aus { opacity:.45; }

#stage.hoch { width:552px; height:1010px; }
#stage.hoch #partie { flex-direction:column; }
#stage.hoch #konsole { width:552px; height:410px; flex:none; }
#stage.hoch .k-knoepfe { grid-template-columns:repeat(4, 1fr); }
#stage.hoch .k-schnell { grid-template-columns:repeat(4, 1fr); }
#stage.hoch .k-chat { height:70px; }

.k-blaettern { display:grid; grid-template-columns:auto auto 1fr auto auto; gap:3px; align-items:center; margin:4px 0 2px; }
.k-blaettern button { padding:2px 7px; border-radius:5px; background:var(--slate-800); border:1px solid var(--slate-700); color:var(--slate-300); font-size:11px; }
.k-blaettern button:hover { border-color:var(--info); color:#fff; }
.k-blaettern span { text-align:center; font-family:var(--font-mono); font-size:11px; color:var(--slate-400); }
.k-blaettern.aktiv span { color:var(--acc-hell); }
.k-streifen [data-i] { cursor:pointer; border-radius:3px; }
.k-streifen [data-i]:hover { background:rgba(255,255,255,.07); }
.k-nachspiel { display:grid; grid-template-columns:1fr 1fr; gap:4px; margin:4px 0; }

.lo-tabs { display:flex; gap:3px; margin-bottom:6px; }
.lo-tabs button { flex:1; padding:4px 6px; border-radius:6px; background:var(--slate-800); border:1px solid var(--slate-700); color:var(--slate-300);
  font-family:var(--font-mono); font-size:11px; font-weight:700; letter-spacing:.04em; }
.lo-tabs button.an { background:rgba(251,191,36,.16); border-color:var(--acc); color:var(--acc-hell); }
.lo-tab { flex:1; min-height:0; display:flex; flex-direction:column; }
.lo-tab[hidden] { display:none; }
.lo-liste { flex:1; min-height:0; overflow-y:auto; background:var(--panel-bg); border:1px solid var(--hair); border-radius:6px; padding:4px; }
.it.live { cursor:pointer; }
.it .rang { width:22px; color:var(--acc-hell); font-family:var(--font-mono); font-size:11px; }
.kb-gruen { background:linear-gradient(to bottom,#047857,#064e3b) !important; border-color:rgba(52,211,153,.5) !important; }

.archiv-liste { display:flex; flex-direction:column; gap:5px; overflow-y:auto; max-height:360px; }
.ar-z { display:grid; grid-template-columns:1fr auto; gap:2px 10px; text-align:left; padding:8px 10px; border-radius:8px;
  background:var(--slate-800); border:1px solid var(--slate-700); border-left:4px solid var(--slate-500); color:var(--n-200); }
.ar-z:hover { border-color:var(--info); }
.ar-z b { font-size:12px; } .ar-z span { grid-column:1; font-size:11px; color:var(--slate-400); } .ar-z em { grid-row:1 / span 2; grid-column:2; align-self:center; font-style:normal; font-size:11px; color:var(--slate-400); }
.ar-z.sieg { border-left-color:var(--ok); } .ar-z.nied { border-left-color:var(--gefahr); } .ar-z.rem { border-left-color:var(--slate-400); }
.ar-tabs { margin-bottom:8px; }

.statistik { overflow-y:auto; max-height:380px; padding-right:2px; }
.st-kopf { display:grid; grid-template-columns:repeat(5, 1fr); gap:5px; margin-bottom:8px; }
.st-kopf div { background:var(--slate-800); border:1px solid var(--slate-700); border-radius:8px; padding:7px 4px; text-align:center; }
.st-kopf b { display:block; font:800 16px var(--font-mono); color:var(--acc-hell); }
.st-kopf span { font-size:11px; color:var(--slate-400); }
.st-block { background:rgba(30,41,59,.55); border:1px solid var(--slate-700); border-radius:8px; padding:8px 10px; margin-bottom:7px; }
.st-block h3 { margin:0 0 6px; font-size:11.5px; color:var(--n-200); }
.st-block h3 small { font-weight:400; color:var(--slate-400); margin-left:4px; }
.st-zeile { display:grid; grid-template-columns:80px 1fr 130px; align-items:center; gap:8px; margin:4px 0; font-size:11px; color:var(--slate-300); }
.st-balken { display:flex; height:10px; border-radius:5px; overflow:hidden; background:var(--slate-800); }
.st-balken i { display:block; } .st-balken i.s { background:#22c55e; } .st-balken i.r { background:#94a3b8; } .st-balken i.n { background:#ef4444; } .st-balken i.leer { flex:1; }
.st-w { text-align:right; font-family:var(--font-mono); font-size:11px; }
.st-form { display:flex; gap:4px; }
.st-form i { width:22px; height:22px; border-radius:5px; display:flex; align-items:center; justify-content:center; font:800 11px var(--font-mono); font-style:normal; color:#0f172a; }
.st-form i.s { background:#22c55e; } .st-form i.r { background:#94a3b8; } .st-form i.n { background:#ef4444; color:#fff; }
.st-spalten { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.st-spalten .st-block { margin-bottom:0; }
.st-li { display:flex; justify-content:space-between; gap:8px; padding:3px 0; font-size:11px; color:var(--slate-300); border-bottom:1px solid rgba(71,85,105,.35); }
.st-li:last-child { border-bottom:0; } .st-li em { font-style:normal; font-family:var(--font-mono); font-size:11px; color:var(--slate-400); white-space:nowrap; }
.st-klein { margin:6px 0 0; font-size:11px; color:var(--slate-400); }

.k-farben { display:flex; gap:5px; justify-content:center; margin:0 0 6px; }
.k-farben button { width:26px; height:18px; border-radius:5px; border:2px solid var(--slate-600);
  background:linear-gradient(135deg, var(--c1) 0 50%, var(--c2) 50% 100%); cursor:pointer; }
.k-farben button.an { border-color:var(--acc); box-shadow:0 0 6px rgba(251,191,36,.6); }
#endeleiste { display:grid; grid-template-columns:1fr 1fr 1fr; gap:4px; margin:5px 0 0; padding:5px; border-radius:8px;
  background:rgba(251,191,36,.08); border:1px solid rgba(251,191,36,.55); }
#endeleiste[hidden] { display:none; }
#endeleiste .kb { padding:7px 3px; font-size:11px; white-space:nowrap; }
.kb-gruen { background:linear-gradient(to bottom,#047857,#064e3b); border-color:rgba(52,211,153,.6); color:#d1fae5; }
.kb-gruen:hover { background:linear-gradient(to bottom,#059669,#065f46); }
.karte { position:relative; }
.kx-ecke { position:absolute; top:8px; right:8px; z-index:2; }
.vs-box { position:relative; }
.vs-x { position:absolute; top:6px; right:6px; }
.vs-ab { display:block; width:100%; margin-top:6px; padding:7px 14px; border-radius:10px; font-family:var(--font-mono); font-weight:700; font-size:11px;
  background:var(--slate-800); border:1px solid var(--slate-600); color:var(--n-200); }
.vs-ab:hover { border-color:var(--info); color:#fff; }
.ende-karte { overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--acc, #fbbf24) var(--panel-bg); }
.ende-karte::-webkit-scrollbar { width:7px; }
.ende-karte::-webkit-scrollbar-thumb { background:var(--acc, #fbbf24); border-radius:4px; }
#ende-btns .neben + .neben { margin-top:6px; }
.kb-tipp { background:linear-gradient(to bottom,#1e3a5f,#0f1f36); border-color:rgba(56,189,248,.5); color:#bae6fd; }

#stage.hoch .leiste { height:32px; font-size:16px; gap:7px; }
#stage.hoch .lname { max-width:170px; }
#stage.hoch .lelo { font-size:16px; }
#stage.hoch .lzahl .gross { font-size:20px; }
#stage.hoch .lzahl .klein { font-size:16px; letter-spacing:0; }
#stage.hoch .lzahl .vorn { font-size:16px; }
#stage.hoch .luhr { font-size:18px; min-width:70px; }
#stage.hoch .lsonder { font-size:16px; }
#stage.hoch .lsonder .sgzi { width:18px; height:18px; }
#stage.hoch #hinweisband { font-size:20px; }
#stage.hoch #endeleiste .kb { font-size:16px; padding:10px 14px; }
#stage.hoch #konsole { padding:6px 10px; }
#stage.hoch .k-logo, #stage.hoch .k-farben, #stage.hoch .k-blocklabel { display:none; }
#stage.hoch .k-kopf { margin-bottom:4px; display:flex; justify-content:center; gap:10px; flex-wrap:wrap; }
#stage.hoch .k-modus, #stage.hoch .k-regel { font-size:16px; margin:0; }
#stage.hoch .k-status { font-size:17px; min-height:36px; padding:4px 8px; margin-bottom:4px; }
#stage.hoch .k-streifen { font-size:16px; }
#stage.hoch .k-blaettern button { font-size:16px; padding:3px 14px; }
#stage.hoch .k-blaettern span { font-size:16px; }
#stage.hoch .k-chat { height:62px; font-size:16px; }
#stage.hoch .k-chatin { font-size:16px; padding:4px 8px; }
#stage.hoch .k-schnell button { font-size:16px; padding:4px; }
#stage.hoch .k-knoepfe { grid-template-columns:repeat(3, 1fr); gap:5px; margin:4px 0; }
#stage.hoch .kb { font-size:16px; padding:7px 4px; }
#stage.hoch .k-nachspiel .kb { font-size:16px; }
#stage.hoch .kb-hw { font-size:16px; padding:6px 12px; }
#stage.hoch .kb-ic { font-size:17px; padding:6px 10px; }
#stage.hoch .vs-box { width:500px; }
#stage.hoch .vs-titel { font-size:17px; }
#stage.hoch .vs-label { font-size:16px; letter-spacing:.04em; }
#stage.hoch .vs-liste button { font-size:16px; padding:6px 2px; }
#stage.hoch .vs-liste button span { font-size:16px; }
#stage.hoch .vs-info, #stage.hoch .vs-farbe, #stage.hoch .vs-farbe button, #stage.hoch .vs-ab { font-size:16px; }
#stage.hoch .vs-los { font-size:17px; }
.kb-text .anl-kurz { background:var(--panel-bg); border:1px solid var(--hair); border-left:3px solid var(--acc); border-radius:8px; padding:8px 12px; margin-bottom:6px; }
.kb-text .anl-kurz ul { margin:4px 0 0; padding-left:18px; }
.kb-text code { font-family:var(--font-mono); color:var(--acc-hell); }
#stage.hoch .k-knoepfe { grid-template-columns:repeat(4, 1fr); }
#stage.hoch .k-knoepfe .kb, #stage.hoch .k-nachspiel .kb { min-height:57px; padding:4px 3px; line-height:1.15; }
#stage.hoch .k-blaettern { grid-template-columns:57px 57px 1fr 57px 57px; gap:4px; margin:3px 0; }
#stage.hoch .k-blaettern button { height:57px; padding:0; }
#stage.hoch .k-leiste { padding-top:4px; }
#stage.hoch .kb-hw { height:57px; padding:0 14px; }
#stage.hoch .kb-ic { width:57px; height:57px; padding:0; }
#stage.hoch .k-icons { gap:5px; }
#stage.hoch .k-chatin { height:57px; }
#stage.hoch .k-chat { height:44px; }
#stage.hoch .k-schnell { display:none !important; }
#stage.hoch .k-kopf { margin-bottom:2px; }
#stage.hoch .k-status { min-height:34px; }
#stage.hoch .k-streifen { min-height:30px; }
#stage.hoch #endeleiste .kb { min-height:57px; }
#stage.hoch .vs-liste button { min-height:57px; }
#stage.hoch .vs-farbe button, #stage.hoch .vs-ab, #stage.hoch .vs-los { min-height:57px; }
#stage.hoch .vs-x { width:57px; height:57px; font-size:22px; }
#stage.hoch .kx { min-width:57px; min-height:57px; font-size:22px; }
#stage.hoch #vorspann { position:fixed; inset:0; z-index:40; border-radius:0; }
#stage.hoch .vs-box { max-height:98%; overflow-y:auto; }
.luhr, .lzahl, .k-streifen, .k-blaettern span, .st-w { font-variant-numeric:tabular-nums; }

.k-blocklabel { font-size:11px; letter-spacing:.06em; }
.lelo, .lzahl .vorn { font-size:11px; }
.lzahl .klein { font-size:11px; letter-spacing:.02em; }
.k-modus, .k-regel { font-size:11px; }
.k-blaettern span, .k-blaettern button { font-size:11px; }
.kb { font-size:11px; }
.kb-hw { font-size:11px; }
.kb-ic { font-size:12px; }
.k-chat, .k-schnell button { font-size:11px; }
.vs-label { font-size:11px; letter-spacing:.06em; }
.vs-liste button { font-size:11.5px; }
.vs-liste button span { font-size:11px; }
.vs-info { font-size:11px; }
.lo-label { font-size:11px; }
.lo-hinweis, .lo-tabs button, .it .elo, .it .rang { font-size:11px; }
#hinweisband { font-size:16px; }
#stage.hoch #endeleiste { margin:3px 0 0; }
#stage.hoch #endeleiste .kb { font-size:16px; min-height:57px; }
.leiste.denkt { animation:denkt 1.1s ease-in-out infinite; }
@keyframes denkt { 50% { border-color:rgba(56,189,248,.85); box-shadow:0 0 12px rgba(56,189,248,.45), var(--sh-in); } }
.lo-tabs button { padding:4px 3px; letter-spacing:0; white-space:nowrap; }
.vs-los { background:linear-gradient(90deg,#047857,#0f766e); }
.lo-hinweis { color:var(--slate-400); }
#stage:not(.hoch) #konsole { width:244px; }
#ende-btns .haupt { background:linear-gradient(90deg,#047857,#0f766e); }
#endeleiste { grid-template-columns:1fr 1fr; }
#el-zeigen { grid-column:1 / -1; }
#stage.hoch #endeleiste { grid-template-columns:1fr 1fr 1fr; }
#stage.hoch #el-zeigen { grid-column:auto; }

.k-blaettern button .sgzi { width:14px; height:14px; vertical-align:-2px; }
#hinweisband { top:2px; transform:translate(-50%, 0); }
#stage.hoch #b-nochmalzeigen { grid-column:span 1; }
.vs-doppel { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.vs-kompakt { display:grid; gap:6px; margin:2px 0 8px; }
.vs-reihe { display:grid; grid-template-columns:52px 1fr; align-items:center; gap:6px; }
.vs-reihe .vs-label { margin:0; }
.vs-reihe .vs-liste { margin:0; }
.vs-reihe .vs-liste button { padding:5px 3px; font-size:11px; }
.vs-liste button:disabled { opacity:.35; cursor:not-allowed; }
.vs-farbe { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0 0 8px; font-size:11px; color:var(--slate-300); }
.vs-farbe b { color:var(--acc-hell); }
.vs-farbe button { padding:5px 10px; border-radius:8px; background:var(--slate-800); border:1px solid var(--slate-600); color:var(--n-200); font-size:11px; font-weight:700; }
.vs-farbe button:hover { border-color:var(--info); }
.vs-los { display:block; width:100%; margin-top:8px; padding:9px 14px; border-radius:10px; font-weight:800; font-size:13px; color:#fff;
  background:linear-gradient(90deg,#059669,#0d9488); border:1px solid rgba(52,211,153,.5); box-shadow:var(--sh-lg); cursor:pointer; }
.vs-los[hidden] { display:none; }
.vs-los:hover { filter:brightness(1.1); }


#stage { --mo-bg1:#22302a; --mo-bg2:#16201b; --mo-bg3:#0c1310; --mo-rand:#3dff9a; --mo-akzent:#b8ffd8; --mo-akzent2:#3dff9a; --mo-band1:#e0473b; --mo-band2:#9c1f16; --mo-band-t:#fff1c8;
  --acc:#7dffb8; --acc-hell:#c4ffe0; --con-top:#3e5247; --con-mid:#2c3d34; --con-bot:#1b2620; --con-edge:rgba(125,160,140,.5); }
#stage.hoch { --mo-fs-klein:16px; }

#kulisse { position:absolute; inset:0; background:#0a100d center / cover no-repeat; background-image:url(img/ort-nacht-q.webp?v=1); }
#stage.hoch #kulisse { background-image:url(img/ort-nacht-h.webp?v=1); }
#stage.hell #kulisse { background-image:url(img/ort-tag-q.webp?v=1); }
#stage.hell.hoch #kulisse { background-image:url(img/ort-tag-h.webp?v=1); }
#stage.look-schirm #kulisse { background-image:linear-gradient(rgba(61,255,154,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(61,255,154,.07) 1px, transparent 1px), url(img/ort-nacht-q.webp?v=1);
  background-size:28px 28px, 28px 28px, cover; filter:grayscale(.8) sepia(.4) hue-rotate(90deg) brightness(.38) contrast(1.15); }
#stage.look-schirm.hoch #kulisse { background-image:linear-gradient(rgba(61,255,154,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(61,255,154,.07) 1px, transparent 1px), url(img/ort-nacht-h.webp?v=1); }
#stage #kulisse { overflow:visible; contain:paint; }
#kulisse::after { content:''; position:absolute; right:3%; top:12%; width:10px; height:10px; border-radius:50%; background:#ffb347;
  box-shadow:0 0 10px 3px rgba(255,179,71,.8); animation:lampe 3.2s ease-in-out infinite; }
#stage.hoch #kulisse::after { right:6%; top:4%; }
@keyframes lampe { 0%, 60%, 100% { opacity:.25; } 70%, 90% { opacity:1; } }
@media (prefers-reduced-motion: reduce) { #kulisse::after { animation:none; opacity:.6; } }

#partie { position:absolute; inset:0; display:flex; }
#schirmspalte { width:552px; flex:none; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; padding:8px 14px; }
.leiste { width:520px; height:28px; flex:none; display:flex; align-items:center; gap:8px; padding:0 9px;
  background:linear-gradient(to bottom, rgba(30,44,37,.94), rgba(16,26,21,.94)); border:1px solid rgba(125,160,140,.45); border-radius:6px;
  box-shadow:var(--sh-in), 0 4px 10px rgba(0,0,0,.35); font-family:var(--font-mono); font-size:11px; color:var(--slate-300); }
.leiste.dran { border-color:rgba(61,255,154,.8); box-shadow:0 0 9px rgba(61,255,154,.3), var(--sh-in); }
.lbild { width:22px; height:22px; flex:none; border-radius:50%; display:flex; align-items:center; justify-content:center; font:800 11px var(--font-mono);
  color:#0c1310; background:var(--bernstein); border:2px solid #5a3a14; }
.lbild.ich { background:var(--phosphor); border-color:#14502f; }
.lbild.bild { color:transparent; border-color:var(--bernstein); }
.lname { font-weight:700; color:var(--n-200); white-space:nowrap; max-width:170px; overflow:hidden; text-overflow:ellipsis; }
.lelo { font-size:11px; color:var(--slate-400); flex:none; }
.lzahl { flex:1; min-width:0; display:flex; align-items:center; gap:6px; white-space:nowrap; overflow:hidden; }
.lzahl .gross { font-size:15px; font-weight:900; color:var(--n-100); }
.lzahl .klein { font-size:11px; color:var(--slate-400); }
.lzahl .gross + .klein { margin-left:-5px; }
.lsonder { display:inline-flex; align-items:center; gap:3px; color:#ffe08a; font-size:11px; margin-left:4px; }
.lsonder .sgzi { width:14px; height:14px; }
.luhr { flex:none; font-size:14px; font-weight:900; letter-spacing:.06em; color:var(--phosphor); background:var(--led-bg); border:1px solid var(--led-frame);
  border-radius:4px; padding:1px 7px; box-shadow:var(--sh-in); min-width:62px; text-align:center; }
.luhr.knapp { color:var(--gefahr-hell); border-color:rgba(244,63,94,.7); background:rgba(76,5,25,.6); }
.luhr.aus { color:var(--n-500); }

#schirmrahmen { position:relative; width:520px; height:512px; flex:none; }
#gehaeuse { position:absolute; inset:0; border-radius:26px;
  background:radial-gradient(130% 90% at 25% 10%, var(--blech-1), var(--blech-2) 55%, var(--blech-3));
  box-shadow:inset 0 2px 0 rgba(255,255,255,.25), inset 0 -6px 12px rgba(0,0,0,.35), 0 0 0 3px var(--blech-kante), 0 18px 34px rgba(0,0,0,.6); }
#gehaeuse::before { content:''; position:absolute; left:50%; top:14px; width:468px; height:468px; transform:translateX(-50%); border-radius:50%;
  background:radial-gradient(circle, #050806 66%, #1b2420 70%, var(--chrom-2) 71.5%, var(--chrom-1) 73%, var(--chrom-2) 75%, #2a3530 77%, transparent 78%); }
.schraube { position:absolute; width:12px; height:12px; border-radius:50%; background:radial-gradient(circle at 35% 30%, #f2f5f3, #8e9a94 60%, #3a4640);
  box-shadow:0 1px 2px rgba(0,0,0,.5); }
.schraube::after { content:''; position:absolute; left:2px; right:2px; top:5px; height:2px; background:#3a4640; transform:rotate(35deg); }
.schraube.s1 { left:14px; top:14px; } .schraube.s2 { right:14px; top:14px; } .schraube.s3 { left:14px; bottom:14px; } .schraube.s4 { right:14px; bottom:14px; }
.typschild { position:absolute; left:50%; bottom:6px; transform:translateX(-50%); padding:2px 12px; border-radius:3px; white-space:nowrap;
  background:linear-gradient(to bottom, #1b1f1c, #0c0f0d); border:1px solid var(--chrom-2); color:#e9f0ec; font:700 11px var(--font-mono); letter-spacing:.12em; }
#schirm { position:absolute; left:50%; top:30px; width:436px; height:436px; transform:translateX(-50%); border-radius:50%; overflow:clip;
  background:#020a06; touch-action:none; cursor:crosshair; box-shadow:inset 0 0 40px rgba(0,0,0,.85); }
#schirm::after { content:''; position:absolute; inset:0; border-radius:50%; pointer-events:none; z-index:3;
  background:radial-gradient(60% 45% at 30% 22%, rgba(255,255,255,.13), transparent 70%), radial-gradient(circle, transparent 62%, rgba(0,0,0,.55) 100%); }
.sat-zahlen { position:absolute; inset:0; pointer-events:none; z-index:2; }
.sat-zahlen span { position:absolute; transform:translate(-50%, -50%); font:700 12px var(--font-mono); color:#8dffc2; text-shadow:0 0 6px rgba(61,255,154,.7); }
.sat-zahlen span.bahn { font-size:11px; color:#5fd69a; opacity:.85; }
.sch-knopf { position:absolute; right:18px; top:40px; z-index:6; width:34px; height:34px; display:flex; align-items:center; justify-content:center; }
.sch-knopf .sgzi { width:18px; height:18px; }
#drehanzeige { position:absolute; left:50%; bottom:34px; transform:translateX(-50%); z-index:6; padding:4px 12px; border-radius:6px; white-space:nowrap;
  background:rgba(4,12,8,.9); border:1px solid var(--phosphor); color:#c4ffe0; font:700 12px var(--font-mono); letter-spacing:.04em; pointer-events:none; }
#hinweisband { position:absolute; left:50%; z-index:8; padding:8px 16px; border-radius:10px; border:2px solid var(--phosphor); font:900 15px var(--font-mono);
  color:#d4ffe8; background:rgba(4,12,8,.92); letter-spacing:.06em; pointer-events:none; box-shadow:var(--sh-2xl); white-space:nowrap; animation:auf 180ms var(--ease); }
#sichtschutz { position:absolute; inset:-4px; z-index:12; display:flex; align-items:center; justify-content:center; border-radius:26px;
  background:repeating-linear-gradient(90deg, var(--blech-2) 0 22px, var(--blech-3) 22px 24px); box-shadow:0 0 0 3px var(--blech-kante); }
.ss-box { width:340px; padding:16px; border-radius:12px; text-align:center; background:rgba(12,19,16,.95); border:2px solid var(--phosphor); }
.ss-box b { display:block; font:900 16px var(--font-mono); color:#c4ffe0; margin-bottom:6px; }
.ss-box p { margin:0 0 12px; font-size:12.5px; color:var(--n-300); line-height:1.45; }
.ss-box .kb { width:100%; padding:10px; font-size:13px; }
#stage:has(#sichtschutz:not([hidden])) #monitor { visibility:hidden; }
#vorspann { position:absolute; inset:0; z-index:10; display:flex; align-items:center; justify-content:center; background:rgba(5,9,7,.88); backdrop-filter:blur(3px); border-radius:26px; }
.vs-box { width:452px; background:linear-gradient(to bottom,#1e2c25,#0e1712); border:2px solid var(--phosphor); border-radius:12px; padding:10px 14px; text-align:center; box-shadow:var(--sh-2xl); }
.vs-titel { display:block; font-family:var(--font-mono); font-size:12px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; color:var(--acc-hell); margin-bottom:8px; }
.vs-label { display:block; font-family:var(--font-mono); font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--slate-300); text-align:left; margin:0 0 3px 2px; }
.vs-liste { display:grid; gap:5px; margin-bottom:6px; }
.vs-liste.fuenf { grid-template-columns:repeat(5,minmax(0,1fr)); }
.vs-liste.zwei { grid-template-columns:repeat(2,minmax(0,1fr)); }
.vs-liste button { min-width:0; padding:5px 3px; border-radius:8px; background:var(--slate-800); border:1px solid var(--slate-600); color:var(--n-200);
  font-family:var(--font-mono); font-size:11.5px; font-weight:700; text-align:center; }
.vs-liste button:hover { background:var(--slate-700); border-color:var(--info); }
.vs-liste button.ich { background:rgba(2,44,34,.6); border-color:var(--ok); color:#a7f3d0; }
.vs-liste button.gegner { box-shadow:inset 0 0 0 1px var(--acc); }
.vs-liste button span { display:block; font-size:11px; font-weight:400; color:var(--slate-400); margin-top:1px; white-space:normal; }
.vs-liste button.ich span { color:#6ee7b7; }
.vs-gesicht { display:block; width:30px; height:30px; margin:0 auto 2px; border-radius:50%; object-fit:cover; border:2px solid rgba(255,220,170,.5); }
.vs-info { margin:2px 0 0; font-size:11px; color:var(--slate-400); line-height:1.4; min-height:28px; }
.vs-info b { color:var(--acc-hell); }

#konsole { width:244px; flex:none; display:flex; flex-direction:column; padding:8px; overflow:clip;
  background:linear-gradient(to bottom, rgba(62,82,71,.95), rgba(44,61,52,.95) 50%, rgba(27,38,32,.96)); border-left:3px solid var(--chrom-2); box-shadow:var(--sh-2xl); }
.k-kopf { text-align:center; margin-bottom:5px; }
.k-logo { display:block; font-family:var(--font-mono); font-size:13px; font-weight:900; letter-spacing:.14em; color:var(--acc-hell); text-shadow:0 0 10px rgba(61,255,154,.4); }
.k-modus, .k-regel { display:block; font-family:var(--font-mono); font-size:11px; color:var(--slate-300); margin-top:1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.k-mitte { display:flex; flex-direction:column; gap:5px; }
.k-steuer { display:flex; flex-direction:column; gap:5px; min-width:0; }
.k-monitor { position:relative; align-self:center; width:166px; height:166px; flex:none; border-radius:16px; cursor:pointer;
  background:radial-gradient(130% 90% at 25% 10%, #4a5a51, #2b3832 70%); box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 0 0 2px #19221d, 0 6px 14px rgba(0,0,0,.5); }
.k-monitor[hidden] { display:none; }
#monitor { position:absolute; left:11px; top:7px; width:144px; height:144px; border-radius:50%; overflow:clip; background:#0a0602; box-shadow:inset 0 0 18px rgba(0,0,0,.9); }
#monitor::after { content:''; position:absolute; inset:0; border-radius:50%; pointer-events:none; background:radial-gradient(60% 45% at 30% 22%, rgba(255,255,255,.12), transparent 70%); }
.mon-titel { position:absolute; left:50%; bottom:2px; transform:translateX(-50%); white-space:nowrap; font:700 11px var(--font-mono); letter-spacing:.06em; color:#ffd9a0; }
.k-status { background:var(--led-bg); border:2px solid var(--led-frame); border-radius:5px; padding:4px 8px; font-family:var(--font-mono); font-size:13px; font-weight:700;
  color:var(--phosphor); text-align:center; box-shadow:var(--sh-in); height:50px; line-height:1.15; font-size:14px; overflow:hidden; display:flex; align-items:center; justify-content:center; margin:0; }
.k-status.pflicht { color:#ff9a86; border-color:rgba(244,63,94,.7); background:rgba(56,8,12,.6); }
.k-status.gruen { color:#9dffd0; border-color:rgba(61,255,154,.6); background:rgba(2,36,22,.6); }
.k-status.ok { color:#c4ffe0; }
.k-pult { display:flex; flex-direction:column; gap:4px; }
.k-pult[hidden] { display:none; }
.schalter { display:grid; grid-template-columns:1fr 1fr; gap:0; padding:3px; border-radius:8px; background:#141b17; box-shadow:var(--sh-in); }
.schalter button { padding:7px 4px; border-radius:6px; font:800 11.5px var(--font-mono); color:var(--slate-300); letter-spacing:.03em; }
.schalter button.an { background:linear-gradient(to bottom, #2d6b4b, #164530); color:#d8ffea; box-shadow:0 0 8px rgba(61,255,154,.35), inset 0 1px 0 rgba(255,255,255,.2); }
.schalter button[data-a="p"].an { background:linear-gradient(to bottom, #7a5a14, #4b3608); color:#fff1c8; box-shadow:0 0 8px rgba(255,210,90,.35); }
.schalter button:disabled { opacity:.45; cursor:not-allowed; }
.schalter b { display:inline-block; min-width:16px; padding:0 3px; margin-left:2px; border-radius:3px; background:rgba(0,0,0,.4); color:#ffd25a; }
.schalter button[data-a="p"].an b { color:#fff1c8; }
.schalter b { pointer-events:none; }
.pult-r { display:grid; grid-template-columns:1fr 1fr; gap:4px; }
.pult-r .kb.an { background:linear-gradient(to bottom,#2d6b4b,#164530); border-color:var(--phosphor); color:#d8ffea; }
.k-aufbau[hidden] { display:none; }
.k-aufbau .k-blocklabel { margin-top:0; }
.auf-liste { display:flex; flex-direction:column; gap:3px; }
.auf-sat { display:grid; grid-template-columns:44px 1fr auto; align-items:center; gap:6px; padding:4px 6px; border-radius:6px; text-align:left;
  background:rgba(12,19,16,.88); border:1px solid rgba(125,160,140,.35); font-size:11px; color:var(--n-200); }
.auf-sat.gewaehlt { border-color:var(--phosphor); box-shadow:0 0 8px rgba(61,255,154,.35); }
.auf-sat.steht { color:var(--slate-300); }
.auf-sat em { font-style:normal; font-family:var(--font-mono); color:var(--slate-400); white-space:nowrap; }
.auf-sat.steht em { color:#9dffd0; }
.auf-l { display:flex; gap:2px; }
.auf-l b { width:12px; height:8px; border-radius:2px; background:var(--bernstein); box-shadow:0 0 4px rgba(255,179,71,.6); }
.auf-sat.steht .auf-l b { background:var(--phosphor); box-shadow:0 0 4px rgba(61,255,154,.6); }
.auf-knoepfe { display:grid; grid-template-columns:1fr 1fr 1fr; gap:4px; margin-top:5px; }
#stage.aufbau .k-streifen, #stage.aufbau .k-blaettern, #stage.aufbau [data-ki="streifen"] { display:none; }
.k-blocklabel { font-family:var(--font-mono); font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--slate-300); margin:5px 0 3px 2px; }
.k-streifen { flex:1; min-height:0; overflow-y:auto; padding:3px 4px 3px 14px; border-radius:3px; position:relative;
  background:radial-gradient(circle at 6px 6px, var(--papier-loch) 2px, transparent 2.5px) 0 0 / 100% 12px repeat-y, linear-gradient(to right, var(--papier-2), var(--papier-1) 20%, var(--papier-1) 80%, var(--papier-2));
  box-shadow:0 2px 6px rgba(0,0,0,.45); font-family:var(--font-mono); font-size:11px; color:#2a2418; scrollbar-width:thin; scrollbar-color:#7a6a40 var(--papier-2); }
.k-streifen .zl-leer { color:#6a5a3a; padding:6px 2px; text-align:center; font-size:11px; }
.lz { display:grid; grid-template-columns:34px 18px 30px 46px 1fr; align-items:center; gap:3px; padding:1px 0; border-bottom:1px dashed rgba(90,70,40,.25); cursor:pointer; }
.lz:hover { background:rgba(90,70,40,.12); }
.lz.jetzt { background:rgba(255,210,90,.35); }
.lz .loecher { display:flex; gap:1px; }
.lz .loecher b, .lz .loecher u { width:5px; height:5px; border-radius:50%; }
.lz .loecher b { background:var(--papier-loch); }
.lz .loecher u { background:transparent; box-shadow:inset 0 0 0 1px rgba(90,70,40,.3); }
.lz .nr { color:#6a5a3a; text-align:right; font-size:11px; }
.lz .w { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }
.lz.ich .w { color:#14502f; font-weight:700; }
.lz.er .w { color:#7a4a08; font-weight:700; }
.lz .z { font-weight:700; font-size:11px; }
.lz .e { font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lz.tr .e { color:#a32010; font-weight:700; }
.lz.aus .e { color:#fff; background:#a32010; border-radius:2px; padding:0 3px; font-weight:800; }
.k-farben button.an { border-color:var(--phosphor); box-shadow:0 0 6px rgba(61,255,154,.6); }
.erst { position:absolute; left:26px; top:40px; z-index:7; width:210px; padding:10px 34px 10px 12px; border-radius:6px; background:rgba(12,19,16,.94);
  border:1px solid var(--phosphor); color:var(--n-100); font-size:12.5px; line-height:1.35; display:flex; flex-direction:column; gap:4px; box-shadow:0 10px 24px rgba(0,0,0,.5); pointer-events:none; }
.erst[hidden] { display:none; }
.erst b { color:var(--acc-hell); font-size:13px; }
.erst-x { position:absolute; top:4px; right:4px; pointer-events:auto; }
#stage:not(.hoch) #ende-karte { width:580px; max-width:94%; }
#ende-karte .mo-platzierung .mo-farbe { width:26px; height:26px; flex:none; border-radius:50%; box-shadow:0 0 0 2px rgba(255,236,200,.35); }
.ende-weg { text-align:left; font-size:11.5px; color:var(--slate-300); }
.ende-weg .mono { font-family:var(--font-mono); font-size:11px; line-height:1.5; word-break:break-word; }
.st-li.leer span { color:var(--slate-400); }
#stage:not(.hoch) .k-leiste { flex-wrap:wrap; height:auto; row-gap:4px; justify-content:space-between; }
.luhr, .lzahl, .k-streifen, .k-blaettern span, .st-w, .schalter b { font-variant-numeric:tabular-nums; }
#stage.hell .leiste { background:linear-gradient(to bottom, rgba(30,44,37,.97), rgba(16,26,21,.97)); }

#stage.hoch #schirmspalte { width:548px; height:586px; padding:4px 8px; gap:4px; }
#stage.hoch .leiste { width:536px; height:34px; font-size:16px; }
#stage.hoch .lzahl .gross { font-size:20px; } #stage.hoch .lzahl .klein, #stage.hoch .lsonder { font-size:16px; }
#stage.hoch .luhr { font-size:18px; min-width:72px; }
#stage.hoch .lbild { width:26px; height:26px; font-size:14px; }
#stage.hoch #schirmrahmen { width:536px; height:504px; }
#stage.hoch #gehaeuse::before { width:470px; height:470px; top:10px; }
#stage.hoch #schirm { top:26px; width:438px; height:438px; }
#stage.hoch .typschild { font-size:14px; }
#stage.hoch .sat-zahlen span { font-size:15px; } #stage.hoch .sat-zahlen span.bahn { font-size:14px; }
#stage.hoch .sch-knopf { width:60px; height:60px; right:10px; top:10px; }
#stage.hoch #drehanzeige { font-size:16px; }
#stage.hoch #konsole { width:548px; height:420px; flex:none; padding:5px 8px; border-left:0; border-top:3px solid var(--chrom-2); }
#stage.hoch .k-kopf { display:flex; justify-content:center; gap:10px; margin-bottom:3px; }
#stage.hoch .k-logo, #stage.hoch .k-farben, #stage.hoch .k-blocklabel { display:none; }
#stage.hoch .k-modus, #stage.hoch .k-regel { font-size:16px; margin:0; }
#stage.hoch .k-mitte { flex-direction:row; align-items:stretch; gap:8px; }
#stage.hoch .k-monitor { width:166px; height:166px; align-self:flex-start; }
#stage.hoch .mon-titel { font-size:13px; }
#stage.hoch .k-steuer { flex:1; }
#stage.hoch .k-status { font-size:17px; height:58px; }
#stage.hoch .schalter button { font-size:16px; min-height:56px; }
#stage.hoch .pult-r .kb { min-height:44px; font-size:16px; }
#stage.hoch .auf-liste { display:grid; grid-template-columns:1fr 1fr; gap:4px; }
#stage.hoch .auf-sat { grid-template-columns:30px 1fr; min-height:46px; font-size:14px; }
#stage.hoch .auf-sat em { display:none; }
#stage.hoch .auf-knoepfe .kb { min-height:56px; font-size:16px; }
#stage.hoch .k-streifen { font-size:15px; margin-top:6px; }
#stage.hoch .lz { grid-template-columns:44px 34px 50px 80px 1fr; }
#stage.hoch .lz .nr, #stage.hoch .lz .w, #stage.hoch .lz .z, #stage.hoch .lz .e, #stage.hoch .k-streifen .zl-leer { font-size:15px; }
#stage.hoch.mp .k-streifen { display:none; }
#stage.hoch .k-blaettern { grid-template-columns:60px 60px 1fr 60px 60px; gap:4px; margin:4px 0; }
#stage.hoch .k-blaettern button { height:52px; font-size:16px; padding:0; }
#stage.hoch .k-blaettern span { font-size:16px; }
#stage.hoch .k-knoepfe { grid-template-columns:repeat(3, 1fr); gap:5px; margin:3px 0; }
#stage.hoch .k-knoepfe .kb { min-height:52px; font-size:15px; }
#stage.hoch .k-leiste { padding-top:3px; }
#stage.hoch .kb-hw { height:58px; font-size:16px; padding:0 12px; }
#stage.hoch .kb-ic { width:58px; height:58px; padding:0; font-size:17px; }
#stage.hoch .k-icons { gap:3px; }
#stage.hoch #endeleiste { grid-template-columns:1fr 1fr 1fr; }
#stage.hoch #el-zeigen { grid-column:auto; }
#stage.hoch #endeleiste .kb { min-height:56px; font-size:16px; }
#stage.hoch .erst { width:300px; font-size:16px; } #stage.hoch .erst b { font-size:17px; }
#stage.hoch .ss-box { width:420px; } #stage.hoch .ss-box p { font-size:16px; } #stage.hoch .ss-box .kb { min-height:60px; font-size:17px; }
#stage.hoch #vorspann { position:fixed; inset:0; z-index:40; border-radius:0; }
#stage.hoch .vs-box { width:520px; max-height:98%; overflow-y:auto; }
#stage.hoch .vs-titel { font-size:17px; } #stage.hoch .vs-label { font-size:16px; }
#stage.hoch .vs-liste button, #stage.hoch .vs-liste button span { font-size:15px; }
#stage.hoch .vs-liste button, #stage.hoch .vs-farbe button, #stage.hoch .vs-ab, #stage.hoch .vs-los { min-height:58px; }
#stage.hoch .vs-info, #stage.hoch .vs-farbe, #stage.hoch .vs-farbe button, #stage.hoch .vs-ab { font-size:16px; }
#stage.hoch .vs-gesicht { width:40px; height:40px; }
#stage.hoch .vs-x, #stage.hoch .kx { min-width:58px; min-height:58px; font-size:22px; }
#stage.hoch .k-chat { height:56px; font-size:16px; } #stage.hoch .k-chatin { height:54px; font-size:16px; }
#stage.hoch .k-schnell { display:none !important; }
#stage.hoch .ende-karte .mo-kopf, #stage.hoch .ende-karte .mo-zahl span, #stage.hoch .ende-karte .mo-tisch-text, #stage.hoch .ende-karte .mo-tipp { font-size:16px; }
#stage.hoch #ende-btns button { min-height:58px; font-size:16px; }
#stage.hoch .ende-karte .mo-mehr > summary { min-height:58px; display:flex; align-items:center; justify-content:center; }
@media (prefers-reduced-motion: reduce) { .leiste.denkt { animation:none; } }
#schirmrahmen::before { content:''; position:absolute; left:-9px; top:20px; bottom:20px; width:6px; border-radius:4px; background:transparent; transition:background .25s, box-shadow .25s; }
#schirmrahmen.dran-ich::before { background:#22c55e; box-shadow:0 0 12px rgba(34,197,94,.75); }
#schirmrahmen.dran-gegner::before { background:#3b82f6; box-shadow:0 0 12px rgba(59,130,246,.7); }
#stage.hoch #schirmrahmen::before { left:-6px; width:4px; }
#stage.hoch #konsole:has(#endeleiste:not([hidden])) .k-knoepfe { display:none; }

#stage.hoch #konsole { display:grid; grid-template-columns:1fr auto; grid-template-rows:auto minmax(0, 1fr) auto auto auto auto; column-gap:6px; row-gap:4px;
  grid-template-areas:"mitte mitte" "strf strf" "chatin chatin" "blae knoe" "ende ende" "leiste leiste"; }
#stage.hoch .k-kopf, #stage.hoch .k-blocklabel, #stage.hoch .k-farben, #stage.hoch #schnellchat { display:none !important; }
#stage.hoch .k-mitte { grid-area:mitte; }
#stage.hoch #streifen, #stage.hoch #gchat { grid-area:strf; height:auto; min-height:0; margin:0; }
#stage.hoch #gchatin { grid-area:chatin; margin:0; }
#stage.hoch #blaettern { grid-area:blae; grid-template-columns:64px 64px minmax(40px, 1fr) 64px 64px; margin:0; }
#stage.hoch #blaettern button { height:64px; }
#stage.hoch .k-knoepfe { grid-area:knoe; display:grid; grid-auto-flow:column; grid-auto-columns:minmax(96px, auto); grid-template-columns:none; gap:4px; margin:0; }
#stage.hoch .k-knoepfe .kb { min-height:64px; font-size:15px; padding:2px 6px; line-height:1.1; }
#stage.hoch #endeleiste { grid-area:ende; margin:0; }
#stage.hoch #endeleiste .kb { min-height:64px; }
#stage.hoch .k-leiste { grid-area:leiste; }
#stage.hoch .kb-hw { height:64px; }
#stage.hoch .kb-ic { width:64px; height:64px; }
#stage.hoch .k-icons { gap:3px; }
#stage.hoch.aufbau .k-knoepfe { display:none; }
#stage.hoch .pult-r .kb, #stage.hoch .schalter button { min-height:64px; font-size:16px; }
#stage.hoch .auf-sat { min-height:64px; font-size:15px; }
#stage.hoch .auf-knoepfe .kb { min-height:64px; }
#stage.hoch .sch-knopf { width:64px; height:64px; }
#stage.hoch .typschild { font-size:15px; }
#stage.hoch .mon-titel { font-size:15px; }
#stage.hoch .lbild { font-size:15px; }
#stage.hoch .lname { max-width:230px; }
#stage.hoch .k-status { font-size:17px; }
#stage.hoch .k-knoepfe .kb { white-space:nowrap; }
#stage.hoch .k-knoepfe .lang { display:none; }
#ende-karte .mo-rang-kopf { background:linear-gradient(#1f7a4c, #0f4a2c); color:#f0fff6; }
#stage.hoch { --mo-fs-min:15px; }
#stage.hoch .ende-karte .mo-tisch-zahl, #stage.hoch .ende-karte .mo-zahl b { font-size:64px; }
#stage.hoch #ende-btns button, #stage.hoch .ende-karte .mo-mehr > summary { min-height:64px; }
#stage.hoch .ende-karte .kx, #stage.hoch .kx-ecke { min-width:64px; min-height:64px; }
#stage.hoch #ende-karte { width:540px; max-width:98%; padding:14px; }
#stage.hoch #ende-karte .mo-kacheln { grid-template-columns:1fr 1fr; display:grid; }
#schirmrahmen.alarm #gehaeuse { animation:alarm .42s ease-in-out 3; }
@keyframes alarm { 50% { box-shadow:inset 0 0 0 4px #ff4a2a, 0 0 26px rgba(255,74,42,.75), 0 0 0 3px var(--blech-kante); } }
@media (prefers-reduced-motion: reduce) { #schirmrahmen.alarm #gehaeuse { animation:none; box-shadow:inset 0 0 0 4px #ff4a2a, 0 0 0 3px var(--blech-kante); } }
#schirmrahmen.peilmodus #gehaeuse { box-shadow:inset 0 0 0 3px #ffd25a, 0 0 18px rgba(255,210,90,.45), 0 0 0 3px var(--blech-kante), 0 18px 34px rgba(0,0,0,.6); }
#schirmrahmen.peilmodus .typschild { color:#ffe08a; border-color:#ffd25a; }
#schirmrahmen.peilmodus #schirm { cursor:cell; }
.flugschild { position:absolute; z-index:4; transform:translate(-50%, -120%); padding:2px 8px; border-radius:4px; white-space:nowrap; pointer-events:none;
  background:rgba(40,8,6,.9); border:1px solid #ff6a48; color:#ffd8cc; font:800 12px var(--font-mono); letter-spacing:.04em; animation:flugschild 1.9s ease-out forwards; }
@keyframes flugschild { 0% { opacity:0; transform:translate(-50%, -60%); } 15% { opacity:1; transform:translate(-50%, -120%); } 75% { opacity:1; } 100% { opacity:0; transform:translate(-50%, -220%); } }
#stage.hoch .flugschild { font-size:16px; }
@media (prefers-reduced-motion: reduce) { .flugschild { animation:none; } }
.tippbox { position:absolute; left:50%; top:44px; transform:translateX(-50%); z-index:9; width:330px; padding:8px 12px; border-radius:8px; cursor:pointer;
  background:rgba(10,22,30,.95); border:1px solid #7fd8ff; color:#e6f6ff; font-size:12.5px; line-height:1.4; box-shadow:0 10px 24px rgba(0,0,0,.5); display:flex; flex-direction:column; gap:2px; }
.tippbox[hidden] { display:none; }
.tippbox b { color:#7fd8ff; font:800 12px var(--font-mono); letter-spacing:.08em; text-transform:uppercase; }
#stage.hoch .tippbox { width:470px; font-size:16px; } #stage.hoch .tippbox b { font-size:15px; }
.k-monitor.alarm { animation:alarm-mon .42s ease-in-out 3; }
@keyframes alarm-mon { 50% { box-shadow:0 0 0 3px #ff4a2a, 0 0 22px rgba(255,74,42,.8); } }
@media (prefers-reduced-motion: reduce) { .k-monitor.alarm { animation:none; box-shadow:0 0 0 3px #ff4a2a; } }
.vs-los { background:linear-gradient(90deg,#047857,#0f766e); }
#stage.aufbau:not(.hoch) .k-farben, #stage.aufbau:not(.hoch) .k-knoepfe { display:none; }
#stage:not(.hoch) .lz { grid-template-columns:34px 26px 44px 1fr; }
#stage:not(.hoch) .lz .nr { display:none; }
#stage.hoch .ovl { padding:10px; }
#stage.hoch .karte-breit { max-width:540px; padding:14px; }
#stage.hoch .kh h2 { font-size:19px; }
#stage.hoch .kx, #stage.hoch .kx-ecke { min-width:64px; min-height:64px; font-size:24px; }
#stage.hoch .kb-text { font-size:16px; line-height:1.5; }
#stage.hoch .kb-text h3 { font-size:16px; }
#stage.hoch .lo-tabs button { min-height:64px; font-size:16px; }
#stage.hoch .ar-z { min-height:64px; }
#stage.hoch .ar-z b, #stage.hoch .ar-z span, #stage.hoch .ar-z em { font-size:15px; }
#stage.hoch .statistik, #stage.hoch .st-li, #stage.hoch .st-li em, #stage.hoch .st-kopf span, #stage.hoch .st-block h3, #stage.hoch .st-klein { font-size:15px; }
#stage.hoch .st-form i { width:30px; height:30px; font-size:15px; }
#stage.hoch .ei-zeile { grid-template-columns:1fr; gap:6px; }
#stage.hoch .ei-zeile > span { font-size:16px; padding-top:0; }
#stage.hoch .ei-wahl button { min-height:64px; font-size:16px; padding:6px 12px; }
#stage.hoch .ei-hinweis { font-size:15px; }
#stage.hoch .lo-hinweis { font-size:15px; }
#stage.hoch .vs-liste button { min-height:64px; }
#stage.hoch .vs-farbe button, #stage.hoch .vs-ab, #stage.hoch .vs-los, #stage.hoch .vs-x { min-height:64px; min-width:64px; }
#stage.hoch #vs-gegner { grid-template-columns:repeat(3, minmax(0, 1fr)); }
#stage.hoch #vs-gegner button { white-space:normal; overflow-wrap:anywhere; }
#stage.hoch.aufbau .k-status { height:44px; font-size:15px; }
#stage.hoch .auf-liste { gap:3px; }
#stage.hoch .ei-wahl button { min-width:72px; }
#stage.hoch .lo-kopf-r .kb, #stage.hoch .lo-kopf-r .kb-ic { min-height:40px; } #stage.hoch #chatin, #stage.hoch #pmin { min-height:40px; }
#stage:not(.hoch) .k-status { height:64px; }
#stage.hoch .k-status { height:66px; }
#stage.hoch #konsole { background:none; box-shadow:none; }
#stage.hoch .k-leiste { border-top:0; }
#stage.hoch #bl-info { background:rgba(5,7,10,.88); border-radius:5px; padding:4px 0; }
#stage .leiste { background:linear-gradient(to bottom, rgba(30,44,37,.93), rgba(16,26,21,.93)); }
#stage.hoch .leiste { width:470px; }
#stage.hoch #schirmrahmen { width:496px; }
#stage.hoch #streifen { min-height:62px; }
#fz-kreuz { position:absolute; z-index:8; width:46px; height:46px; margin:-23px 0 0 -23px; border-radius:50%; pointer-events:none;
  border:2px solid var(--acc-hell); box-shadow:0 0 0 2px rgba(5,12,9,.85), 0 0 14px rgba(252,211,77,.45); }
#fz-kreuz::before, #fz-kreuz::after { content:''; position:absolute; background:var(--acc-hell); }
#fz-kreuz::before { left:50%; top:-10px; bottom:-10px; width:2px; margin-left:-1px; }
#fz-kreuz::after { top:50%; left:-10px; right:-10px; height:2px; margin-top:-1px; }
#fz-kreuz[hidden], #fz-los[hidden] { display:none; }
.fz-los { position:absolute; z-index:9; min-width:96px; height:48px; padding:0 18px; transform:translate(-50%, -50%); border-radius:24px;
  border:2px solid var(--acc-hell); background:rgba(24,20,8,.95); color:#fff4cc; font:700 16px/1 inherit; letter-spacing:.04em; cursor:pointer;
  box-shadow:0 4px 14px rgba(0,0,0,.55); animation:fzEin .18s ease-out; }
.fz-los.peil { border-color:#f0c040; color:#fff4cc; }
@keyframes fzEin { from { transform:translate(-50%, -50%) scale(.6); opacity:0; } }
@media (prefers-reduced-motion: reduce) { .fz-los { animation:none; } }
.einsatz-karte { max-width:560px; position:relative; }
.einsatz-karte h2 { margin:0 0 4px; font-family:var(--font-mono); font-size:15px; color:var(--acc); }
.einsatz-karte h2 small { color:var(--n-300); font-size:12px; margin-left:6px; }
.einsatz-unter { margin:0 0 10px; font-size:12px; color:var(--n-300); }
.einsatz-liste { display:grid; grid-template-columns:repeat(4, 1fr); gap:6px; }
.einsatz-liste button { display:flex; flex-direction:column; align-items:flex-start; gap:2px; min-height:58px; padding:6px 8px; border-radius:8px; text-align:left;
  background:rgba(14,24,40,.96); border:1px solid var(--slate-600); color:var(--n-200); cursor:pointer; font-size:11px; line-height:1.25; }
.einsatz-liste button:hover:not(:disabled) { border-color:var(--acc); }
.einsatz-liste button:disabled { opacity:.5; cursor:default; }
.einsatz-liste button b { font-size:12px; color:#fff; }
.einsatz-liste .nr { font-family:var(--font-mono); color:var(--acc-hell); font-size:11px; }
.einsatz-liste .st { display:flex; gap:2px; }
.einsatz-liste .st svg { width:12px; height:12px; }
.einsatz-frei { display:flex; flex-direction:column; align-items:center; gap:1px; margin-top:10px; width:100%; padding:8px; }
.einsatz-frei small { font-size:11px; color:var(--n-300); }
@media (max-height:520px) and (orientation:landscape) {
  #stage .einsatz-karte { max-width:1100px; padding:16px 18px; }
  #stage .einsatz-karte h2 { font-size:20px; }
  #stage .einsatz-karte h2 small, #stage .einsatz-unter { font-size:16px; }
  #stage .einsatz-liste { grid-template-columns:repeat(6, 1fr); gap:6px; }
  #stage .einsatz-liste button { min-height:86px; padding:6px 8px; font-size:16px; }
  #stage .einsatz-liste button b, #stage .einsatz-liste .nr { font-size:16px; }
  #stage .einsatz-liste .st svg { width:18px; height:18px; }
  #stage .einsatz-frei { min-height:62px; font-size:17px; }
  #stage .einsatz-frei small { font-size:16px; }
  #stage .einsatz-karte .kx { font-size:22px; width:44px; height:44px; }
}
.end-sterne { display:inline-flex; gap:3px; vertical-align:middle; }
.end-sterne svg { width:22px; height:22px; flex:none; }
.auf-liste.acht { gap:2px; }
.auf-liste.acht .auf-sat { padding:2px 6px; min-height:0; }
.auf-hinweis { margin:4px 0 2px; font-size:11px; line-height:1.3; color:var(--slate-300); }
.auf-hinweis[hidden] { display:none; }
#stage.hoch .auf-liste.acht { display:grid; grid-template-columns:1fr 1fr 1fr; gap:3px; }
#stage.hoch .auf-liste.acht .auf-sat { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:3px; min-height:62px; padding:3px 6px; font-size:15px; line-height:1.1; }
#stage.hoch .auf-hinweis { display:none; }
#stage.hoch .einsatz-karte { max-width:520px; padding:18px 16px; }
#stage.hoch .einsatz-karte h2 { font-size:20px; }
#stage.hoch .einsatz-karte h2 small, #stage.hoch .einsatz-unter { font-size:16px; }
#stage.hoch .einsatz-liste { grid-template-columns:repeat(3, 1fr); gap:6px; }
#stage.hoch .einsatz-liste button { min-height:96px; padding:6px 8px; font-size:15px; }
#stage.hoch .einsatz-liste button b { font-size:16px; }
#stage.hoch .einsatz-liste .nr { font-size:15px; }
#stage.hoch .einsatz-liste .st svg { width:18px; height:18px; }
#stage.hoch .einsatz-liste button .ziel { display:block; }
#stage.hoch .einsatz-frei { min-height:66px; font-size:17px; }
#stage.hoch .einsatz-frei small { font-size:15px; }
#stage.hoch .fz-los { height:68px; min-width:150px; font-size:22px; border-radius:34px; }
#stage.hoch #fz-kreuz { width:62px; height:62px; margin:-31px 0 0 -31px; }
.einsatz-unten { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:10px; }
.einsatz-unten .einsatz-frei { margin-top:0; }
.einsatz-woche { border-color:var(--acc); }
.einsatz-woche b { color:var(--acc-hell); }
#stage.hoch #ende-btns { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
#stage.hoch #ende-btns .haupt { grid-column:1 / -1; }
#stage.hoch #ende-btns .neben + .neben { margin-top:0; }
#stage.hoch #ende-btns .neben:last-child:nth-child(even) { grid-column:1 / -1; }
.st-block h3 small { font-size:inherit; }
.st-li span { min-width:0; }
.st-li em { white-space:normal; text-align:right; min-width:0; }
.st-form i.n { background:#dc2626; }
.tippbox { width:360px; padding:8px 12px 7px; gap:4px; border-color:#7fd8ff; }
.tippbox .tipp-kopf { display:flex; align-items:center; gap:6px; }
.tippbox .tipp-ic { display:inline-flex; width:18px; height:18px; color:#7fd8ff; }
.tippbox .tipp-ic svg { width:18px; height:18px; }
.tippbox .tipp-x { margin-left:auto; }
.tippbox em { font-style:normal; font-size:11px; color:#9cc8dc; }
#stage.hoch .tippbox { width:490px; } #stage.hoch .tippbox em { font-size:14px; }
.ei-wahl .ei-neu { margin-left:6px; white-space:nowrap; }
.tippbox.unten { top:auto; bottom:44px; }
.k-flotte { display:flex; flex-wrap:wrap; gap:4px; padding:3px 2px 2px; }
.fl-sat { position:relative; display:flex; flex-direction:column; align-items:center; gap:2px; padding:3px 4px 4px; border-radius:6px; cursor:pointer;
  background:rgba(10,6,2,.92); border:1px solid #6a4214; }
.fl-sat img { display:block; border-radius:5px; }
.fl-sat .fl-len { display:flex; gap:2px; }
.fl-sat .fl-len b { width:6px; height:4px; border-radius:1px; background:#ffb347; }
.fl-sat.weg img { opacity:.35; filter:grayscale(1); }
.fl-sat.weg .fl-len b { background:#5a3a14; }
.fl-sat.weg::after { content:''; position:absolute; left:3px; right:3px; top:15px; height:3px; border-radius:2px; background:#ff4a2a;
  transform:rotate(-28deg); box-shadow:0 0 6px rgba(255,74,42,.8); }
.fl-sat.schrott { border-style:dashed; }
.fl-sat:hover, .fl-sat:focus-visible { border-color:#ffb347; }
#flotte-zahl { color:var(--slate-300); font-weight:400; letter-spacing:.02em; text-transform:none; }
#stage.hoch .k-flotte { gap:6px; }
#stage.hoch .fl-sat { padding:5px 7px 6px; min-width:56px; }
#stage.hoch .fl-sat img { width:38px; height:38px; }
#stage.hoch .fl-sat.weg::after { top:21px; }
#stage.hoch #flotte-zahl { font-size:15px; }
.k-flotte { gap:3px; }
.fl-sat { padding:2px 3px 3px; }
.fl-sat img { width:22px; height:22px; }
.fl-sat.weg::after { top:12px; }
#stage.hoch .fl-sat { min-width:68px; min-height:68px; justify-content:center; padding:4px 6px; }
#stage.hoch .fl-sat img { width:42px; height:42px; }
#stage.hoch .fl-sat.weg::after { top:24px; left:8px; right:8px; }
#stage.hoch #flotte-block > .k-blocklabel { display:none; }
#stage.hoch .fl-sat { min-height:64px; }
#stage.hoch .k-flotte { padding-top:6px; }
#stage.hoch #konsole { grid-template-rows:auto auto minmax(0, 1fr) auto auto auto auto;
  grid-template-areas:"mitte mitte" "flot flot" "strf strf" "chatin chatin" "blae knoe" "ende ende" "leiste leiste"; }
#stage.hoch #flotte-block { grid-area:flot; }
#stage.hoch .k-flotte { flex-wrap:nowrap; justify-content:space-between; padding-top:0; }
#stage.hoch .fl-sat { flex:1 1 0; min-width:0; max-width:84px; }
#stage.hoch #streifen { min-height:42px; }
#stage.hoch .k-pult { display:grid; grid-template-columns:1.25fr 1fr; gap:6px; align-items:stretch; }
#stage.hoch .k-pult[hidden] { display:none; }
#stage.hoch .schalter button { padding:6px 2px; font-size:15px; letter-spacing:0; }
#stage.hoch .pult-r .kb { padding:6px 4px; font-size:15px; }
#stage:not(.hoch) .k-monitor { width:128px; height:130px; }
#stage:not(.hoch) #monitor { left:10px; top:5px; width:108px; height:108px; }
#stage:not(.hoch) .mon-titel { font-size:11px; bottom:1px; letter-spacing:.03em; }
#stage:not(.hoch) #streifen { min-height:44px; }
#stage:not(.hoch) .k-flotte { flex-wrap:nowrap; }
#stage:not(.hoch) .fl-sat { flex:1 1 0; min-width:0; max-width:40px; }

#stage.quer-handy #qh-konsole { display:none !important; }
#stage.quer-handy #partie { display:block; }
#stage.quer-handy #schirmspalte { position:absolute; left:0; top:0; bottom:0; width:440px; padding:4px; gap:0; justify-content:center; }
#stage.quer-handy #schirmrahmen { width:432px; height:432px; }
#stage.quer-handy #gehaeuse::before { width:404px; height:404px; top:12px; }
#stage.quer-handy #schirm { top:26px; width:376px; height:376px; }
#stage.quer-handy .typschild { bottom:3px; font-size:12px; }
#stage.quer-handy .sch-knopf { right:10px; top:10px; width:50px; height:50px; }
#stage.quer-handy .leiste { position:absolute; left:446px; right:8px; width:auto; height:36px; }
#stage.quer-handy #leiste-oben { top:6px; }
#stage.quer-handy #leiste-unten { top:46px; }
#stage.quer-handy .leiste :is(span, b, small) { font-size:13px; }
#stage.quer-handy #konsole { position:absolute; left:446px; right:8px; top:88px; bottom:6px; width:auto; padding:4px 2px 2px; transform:none; visibility:visible;
  background:none; border:0; box-shadow:none; overflow:visible; display:grid; grid-template-columns:minmax(0, 1fr) 176px; column-gap:8px; row-gap:5px;
  grid-template-rows:auto auto auto minmax(0, 1fr) auto auto auto auto;
  grid-template-areas:"status mon" "pult mon" "flot mon" "strf mon" "strf blae" "chatin knoe" "ende ende" "leiste leiste"; }
#stage.quer-handy :is(.k-mitte, .k-steuer) { display:contents; }
#stage.quer-handy :is(.k-kopf, .k-farben, #schnellchat, #konsole > .k-blocklabel, #flotte-block > .k-blocklabel) { display:none !important; }
#stage.quer-handy #status { grid-area:status; height:52px; font-size:15px; margin:0; }
#stage.quer-handy #pult { grid-area:pult; display:grid; grid-template-columns:1.25fr 1fr; gap:5px; }
#stage.quer-handy #pult[hidden] { display:none; }
#stage.quer-handy .schalter button, #stage.quer-handy .pult-r .kb { min-height:50px; font-size:14px; padding:4px 2px; letter-spacing:0; }
#stage.quer-handy #aufbau { grid-area:2 / 1 / 6 / 2; display:flex; flex-direction:column; min-height:0; }
#stage.quer-handy #aufbau[hidden] { display:none; }
#stage.quer-handy .auf-liste, #stage.quer-handy .auf-liste.acht { display:grid; grid-template-columns:1fr 1fr; gap:4px; }
#stage.quer-handy .auf-liste .auf-sat { min-height:50px; font-size:13px; grid-template-columns:30px 1fr; padding:3px 6px; }
#stage.quer-handy .auf-sat em { display:none; }
#stage.quer-handy .auf-hinweis { font-size:12px; }
#stage.quer-handy .auf-knoepfe .kb { min-height:50px; font-size:14px; }
#stage.quer-handy.aufbau :is(#streifen, #blaettern, #flotte-block) { display:none; }
#stage.quer-handy #flotte-block { grid-area:flot; }
#stage.quer-handy .k-flotte { flex-wrap:nowrap; gap:4px; padding:0; }
#stage.quer-handy .fl-sat { flex:1 1 0; min-width:0; max-width:none; min-height:50px; justify-content:center; }
#stage.quer-handy .fl-sat img { width:26px; height:26px; }
#stage.quer-handy #streifen, #stage.quer-handy #gchat { grid-area:strf; height:auto; min-height:56px; margin:0; font-size:13px; }
#stage.quer-handy.mp #streifen { display:none; }
#stage.quer-handy #gchatin { grid-area:chatin; min-height:50px; margin:0; }
#stage.quer-handy #monitorrahmen { grid-area:mon; align-self:start; justify-self:center; width:172px; height:176px; }
#stage.quer-handy #monitor { left:12px; top:6px; width:148px; height:148px; }
#stage.quer-handy .mon-titel { font-size:12px; }
#stage.quer-handy #blaettern { grid-area:blae; grid-template-columns:repeat(3, 1fr); margin:0; }
#stage.quer-handy #blaettern :is([data-b="anf"], [data-b="end"]) { display:none; }
#stage.quer-handy #blaettern button { min-height:50px; font-size:14px; }
#stage.quer-handy #blaettern span { display:none; }
#stage.quer-handy .k-knoepfe { grid-area:knoe; grid-template-columns:1fr 1fr; margin:0; }
#stage.quer-handy .k-knoepfe .kb { min-height:50px; font-size:13px; padding:4px; }
#stage.quer-handy .k-knoepfe .lang { display:none; }
#stage.quer-handy #konsole:has(#endeleiste:not([hidden])) .k-knoepfe { display:none; }
#stage.quer-handy #endeleiste { grid-area:ende; margin:0; }
#stage.quer-handy #endeleiste .kb { min-height:50px; font-size:14px; }
#stage.quer-handy .k-leiste { grid-area:leiste; margin:0; }
#stage.quer-handy .k-leiste :is(.kb-hw, .kb-ic) { min-height:50px; min-width:56px; font-size:13px; }
#stage.quer-handy .tippbox { width:400px; top:12px; font-size:14px; }
#stage.quer-handy .tippbox.unten { bottom:12px; top:auto; }
#stage.quer-handy #fz-los { font-size:18px; height:56px; min-width:120px; }
#stage.quer-handy #drehanzeige { font-size:13px; bottom:30px; }
#stage.quer-handy #konsole #status { display:flex; }
#stage.quer-handy #konsole .k-leiste { position:static; flex-wrap:nowrap; height:auto; margin:0; padding:0; background:none; }
#stage.quer-handy #konsole .k-icons { width:auto; flex-wrap:nowrap; gap:6px; justify-content:flex-end; }
#stage.quer-handy #konsole .k-icons > * { flex:0 0 56px !important; width:56px !important; }
#stage.quer-handy .leiste { left:446px; right:auto; width:calc(var(--qw, 952px) - 454px); }
#stage.quer-handy.aufbau #monitorrahmen { display:none; }
#stage.quer-handy.aufbau #status { grid-column:1 / 3; }
#stage.quer-handy #aufbau { grid-area:2 / 1 / 6 / 3; }
#stage.quer-handy .auf-liste, #stage.quer-handy .auf-liste.acht { grid-template-columns:repeat(4, 1fr); }
#stage.quer-handy .auf-knoepfe { margin-top:6px; }
#stage.quer-handy #konsole { top:144px; grid-template-rows:auto auto minmax(0, 1fr) auto auto auto auto auto;
  grid-template-areas:"status mon" "pult mon" "strf mon" "strf blae" "strf knoe" "chatin chatin" "ende ende" "leiste leiste"; }
#stage.quer-handy.aufbau #konsole { top:88px; }
#stage.quer-handy #flotte-block { position:absolute; top:-56px; left:2px; right:2px; height:52px; grid-area:auto; }
#stage.quer-handy .fl-sat { min-height:52px; height:52px; }
#stage.quer-handy #monitorrahmen { width:128px; height:132px; }
#stage.quer-handy #monitor { left:10px; top:5px; width:108px; height:108px; }
#stage.quer-handy .mon-titel { font-size:12px; }
#stage.quer-handy #status { font-size:17px; }
#stage.quer-handy #streifen { min-height:40px; }
#stage.quer-handy #konsole { row-gap:4px; grid-template-rows:auto auto minmax(0, 1fr) auto auto auto;
  grid-template-areas:"status mon" "pult mon" "strf mon" "strf blae" "strf knoe" "leiste leiste"; }
#stage.quer-handy #monitorrahmen { width:112px; height:116px; }
#stage.quer-handy #monitor { left:9px; top:4px; width:94px; height:94px; }
#stage.quer-handy .mon-titel { font-size:12px; letter-spacing:0; }
#stage.quer-handy #status { height:56px; font-size:17px; }
#stage.quer-handy.mp #blaettern { display:none; }
#stage.quer-handy #gchatin { grid-area:blae; }
#stage.quer-handy #endeleiste { grid-area:pult; z-index:3; display:grid; grid-template-columns:repeat(3, 1fr); gap:5px; }
#stage.quer-handy #endeleiste[hidden] { display:none; }
#stage.quer-handy #konsole:has(#endeleiste:not([hidden])) #pult { visibility:hidden; }
#stage.quer-handy #konsole { top:140px; row-gap:3px; }
#stage.quer-handy #flotte-block { top:-54px; height:50px; }
#stage.quer-handy .fl-sat { min-height:50px; height:50px; }
#stage.quer-handy #konsole #status { font-size:17px; }
#stage.quer-handy #konsole #streifen { font-size:13px; }
#stage.quer-handy .k-flotte { gap:6px; justify-content:flex-start; }
#stage.quer-handy .fl-sat { flex:0 0 56px; max-width:56px; }
#stage.quer-handy #konsole { z-index:1; }
.vs-liste.drei { grid-template-columns:repeat(3,minmax(0,1fr)); }

#schirm.flacker { animation:roehreFlacker .26s steps(2, end) 2; }
@keyframes roehreFlacker { 0% { filter:brightness(1.6) contrast(1.2); transform:translateX(calc(-50% + 1.5px)); } 50% { filter:brightness(.75); transform:translateX(calc(-50% - 1.5px)); } 100% { filter:none; transform:translateX(-50%); } }
#schirm.brumm { animation:roehreBrumm .45s ease-out; }
@keyframes roehreBrumm { 0% { transform:translateX(-50%) scale(1); filter:brightness(1); } 25% { transform:translateX(-50%) scale(1.018); filter:brightness(1.7) saturate(1.4); } 60% { transform:translateX(calc(-50% + 1px)) scale(.995); } 100% { transform:translateX(-50%) scale(1); filter:none; } }
#schirm.einschalten { animation:roehreEin .95s cubic-bezier(.2,.8,.2,1); }
@keyframes roehreEin { 0% { transform:translateX(-50%) scale(.02, .006); filter:brightness(4); } 30% { transform:translateX(-50%) scale(1, .012); filter:brightness(3); }
  62% { transform:translateX(-50%) scale(1, 1); filter:brightness(1.8); } 72% { filter:brightness(.7); } 82% { filter:brightness(1.4); } 100% { transform:translateX(-50%) scale(1); filter:none; } }
#schirm.roehre-aus { animation:roehreAusAn 2.9s ease-in-out; }
@keyframes roehreAusAn { 0% { transform:translateX(-50%) scale(1); filter:none; } 18% { transform:translateX(-50%) scale(1, .012); filter:brightness(2.5); }
  30% { transform:translateX(-50%) scale(.02, .008); filter:brightness(4); } 38% { transform:translateX(-50%) scale(0); opacity:0; } 74% { transform:translateX(-50%) scale(0); opacity:0; }
  82% { transform:translateX(-50%) scale(1, .012); opacity:1; filter:brightness(3); } 100% { transform:translateX(-50%) scale(1); filter:none; opacity:1; } }
.serie { position:absolute; right:22px; bottom:48px; z-index:7; display:flex; flex-direction:column; align-items:center; padding:4px 12px 6px; border-radius:10px; pointer-events:none;
  background:rgba(40,8,4,.9); border:2px solid #ff6a48; color:#ffd9cc; box-shadow:0 0 18px rgba(255,106,72,.55); font-family:var(--font-mono); }
.serie[hidden] { display:none; }
.serie small { font-size:11px; letter-spacing:.14em; text-transform:uppercase; }
.serie b { font-size:26px; line-height:1; }
.serie.gegner { background:rgba(8,16,40,.9); border-color:#7fd8ff; color:#dff4ff; box-shadow:0 0 18px rgba(127,216,255,.5); }
.serie.heiss b { color:#fff1a8; text-shadow:0 0 10px rgba(255,210,90,.9); }
.serie.neu { animation:seriePop .42s cubic-bezier(.2,1.6,.4,1); }
.serie.weg { opacity:0; transition:opacity .28s; }
@keyframes seriePop { 0% { transform:scale(.4) rotate(-8deg); } 60% { transform:scale(1.25) rotate(3deg); } 100% { transform:scale(1) rotate(0); } }
#stage.hoch .serie small { font-size:15px; } #stage.hoch .serie b { font-size:32px; }
.rundum { position:absolute; left:20px; top:20px; z-index:7; width:30px; height:30px; border-radius:50% 50% 8px 8px; pointer-events:none; opacity:0;
  background:radial-gradient(circle at 50% 40%, #ff9a7a, #c0170a 60%, #5a0804); box-shadow:0 2px 0 #2a2f2c, 0 4px 0 #555; }
.rundum i { position:absolute; left:50%; top:45%; width:240px; height:240px; margin:-120px 0 0 -120px; border-radius:50%;
  background:conic-gradient(from 0deg, rgba(255,60,30,.55), transparent 16%, transparent 50%, rgba(255,60,30,.55) 50%, transparent 66%); mix-blend-mode:screen; }
.rundum.an { opacity:1; transition:opacity .15s; }
.rundum.an i { animation:rundumDreh .5s linear infinite; }
@keyframes rundumDreh { to { transform:rotate(360deg); } }
#stage.rotlicht::before { content:''; position:absolute; inset:0; z-index:60; pointer-events:none; border-radius:inherit;
  background:radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(200,20,10,.38)); animation:rotPuls .62s ease-in-out 3; }
@keyframes rotPuls { 0%, 100% { opacity:0; } 45% { opacity:1; } }
.fl-sat.frisch-weg { animation:flZuck .5s ease-out; }
.fl-sat.frisch-weg::after { transform-origin:0 50%; animation:flStrich .45s ease-out .1s backwards; }
@keyframes flZuck { 0% { transform:scale(1.25); box-shadow:0 0 16px #ff4a2a; } 30% { transform:scale(1.1) rotate(-6deg); } 60% { transform:rotate(4deg); } 100% { transform:none; } }
@keyframes flStrich { from { transform:rotate(-28deg) scaleX(0); } to { transform:rotate(-28deg) scaleX(1); } }
#flotte-zahl.puls { animation:zahlPuls .7s ease-out; display:inline-block; }
@keyframes zahlPuls { 0% { transform:scale(1.5); color:#ffb347; text-shadow:0 0 8px #ffb347; } 100% { transform:none; } }
.lochkarte { display:none; width:30px; height:18px; flex:none; border-radius:2px; position:relative; overflow:hidden;
  background:#e9dcb8; box-shadow:inset 0 0 0 1px #a8956a; }
.lochkarte.an { display:inline-block; }
.lochkarte b { position:absolute; inset:2px; background-image:radial-gradient(circle, #2a2418 32%, transparent 36%); background-size:5px 5px; animation:lochRattern .3s steps(4) infinite; }
@keyframes lochRattern { from { background-position:0 0; } to { background-position:20px 0; } }
.stempel { position:absolute; left:50%; top:42%; z-index:9; padding:8px 18px; border:4px double #ffb347; border-radius:10px; pointer-events:none; text-align:center;
  color:#ffd08a; background:rgba(40,22,4,.86); font-family:var(--font-mono); transform:translate(-50%, -50%) rotate(-10deg); animation:stempelDruck 2.6s ease-out forwards; }
.stempel small { display:block; font-size:12px; letter-spacing:.2em; text-transform:uppercase; }
.stempel b { display:block; font-size:22px; letter-spacing:.04em; }
@keyframes stempelDruck { 0% { transform:translate(-50%, -50%) rotate(-24deg) scale(2.6); opacity:0; } 14% { transform:translate(-50%, -50%) rotate(-10deg) scale(.94); opacity:1; }
  20% { transform:translate(-50%, -50%) rotate(-10deg) scale(1.03); } 26% { transform:translate(-50%, -50%) rotate(-10deg) scale(1); } 85% { opacity:1; } 100% { opacity:0; transform:translate(-50%, -50%) rotate(-10deg) scale(1); } }
.platzflug { position:absolute; left:50%; bottom:22%; z-index:9; transform:translateX(-50%); padding:6px 16px; border-radius:10px; pointer-events:none; text-align:center;
  border:2px solid var(--phosphor); background:rgba(4,12,8,.92); color:#d4ffe8; font-family:var(--font-mono); animation:platzAuf 2.8s ease-out forwards; }
.platzflug small { display:block; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:#8dffc2; }
.platzflug b { display:block; font-size:26px; }
@keyframes platzAuf { 0% { transform:translate(-50%, 40px); opacity:0; } 15% { transform:translate(-50%, 0); opacity:1; } 85% { opacity:1; } 100% { opacity:0; } }
#stage.hoch .stempel small, #stage.hoch .platzflug small { font-size:15px; } #stage.hoch .stempel b, #stage.hoch .platzflug b { font-size:28px; }
.end-sterne svg { animation:sternPop .5s cubic-bezier(.2,1.6,.4,1) backwards; }
.end-sterne svg:nth-child(1) { animation-delay:.5s; } .end-sterne svg:nth-child(2) { animation-delay:.85s; } .end-sterne svg:nth-child(3) { animation-delay:1.2s; }
@keyframes sternPop { 0% { transform:scale(0) rotate(-90deg); filter:drop-shadow(0 0 0 #fcd34d); } 70% { transform:scale(1.4) rotate(8deg); filter:drop-shadow(0 0 8px #fcd34d); } 100% { transform:none; } }
@media (prefers-reduced-motion: reduce) {
  #schirm.flacker, #schirm.brumm, #schirm.einschalten, #schirm.roehre-aus, .serie.neu, .fl-sat.frisch-weg, .fl-sat.frisch-weg::after, #flotte-zahl.puls,
  .lochkarte b, .stempel, .platzflug, .end-sterne svg, .rundum.an i { animation:none !important; }
}
#schirmrahmen.stoerung #schirm::before { content:''; position:absolute; inset:0; z-index:4; border-radius:50%; pointer-events:none; opacity:.32; mix-blend-mode:screen;
  background-image:repeating-linear-gradient(0deg, rgba(200,255,220,.18) 0 1px, transparent 1px 3px), radial-gradient(circle at 30% 40%, rgba(255,255,255,.2), transparent 40%);
  animation:rauschen .18s steps(3) infinite; }
@keyframes rauschen { 0% { background-position:0 0, 0 0; } 33% { background-position:0 -7px, 12px 5px; } 66% { background-position:0 4px, -8px -6px; } 100% { background-position:0 0, 0 0; } }
.schalter button.gestoert { text-decoration:line-through; }
@media (prefers-reduced-motion: reduce) { #schirmrahmen.stoerung #schirm::before { animation:none; } }
.rundum:not(.an) { display:none; }
.rundum { left:40px; top:40px; }
.rundum i { width:110px; height:110px; margin:-55px 0 0 -55px; }
#stage.quer-handy .auf-liste:not(.acht) { grid-template-columns:repeat(3, 1fr); }
#stage.quer-handy .einsatz-karte { max-width:none; width:calc(100% - 16px); padding:10px 14px; }
#stage.quer-handy .einsatz-karte h2 { font-size:18px; margin:0 0 2px; }
#stage.quer-handy .einsatz-unter { font-size:13px; margin:0 0 6px; }
#stage.quer-handy .einsatz-liste { grid-template-columns:repeat(7, 1fr); gap:5px; }
#stage.quer-handy .einsatz-liste button { min-height:74px; padding:4px 5px; font-size:13px; gap:1px; }
#stage.quer-handy .einsatz-liste button b, #stage.quer-handy .einsatz-liste .nr { font-size:13px; }
#stage.quer-handy .einsatz-liste .st svg { width:15px; height:15px; }
#stage.quer-handy .einsatz-liste button .ziel { display:block; font-size:12px; overflow-wrap:anywhere; }
#stage.quer-handy .einsatz-unten { margin-top:6px; }
#stage.quer-handy .einsatz-frei { min-height:54px; padding:4px 8px; }
#stage.quer-handy .einsatz-frei b { font-size:15px; } #stage.quer-handy .einsatz-frei small { font-size:13px; }
@media (max-height:520px) and (orientation:landscape) {
  #stage .einsatz-liste { grid-template-columns:repeat(7, 1fr); gap:5px; }
  #stage .einsatz-liste button { min-height:74px; padding:4px 6px; font-size:15px; }
  #stage .einsatz-liste button b, #stage .einsatz-liste .nr { font-size:15px; }
  #stage .einsatz-karte h2 { font-size:18px; } #stage .einsatz-unter { font-size:15px; margin-bottom:6px; }
  #stage .einsatz-unten { margin-top:6px; } #stage .einsatz-frei { min-height:54px; }
}
@media (max-height:520px) and (orientation:landscape) { #stage .einsatz-liste button, #stage .einsatz-liste button b, #stage .einsatz-liste .nr { font-size:16px; } #stage .einsatz-unter { font-size:16px; } }

#stage { --sgzl-grund:rgba(14,24,19,.97); --sgzl-text:#eafff3; --sgzl-akzent:var(--phosphor); --sgzl-akzent-text:#03160b; }
#sat-lernort { flex:none; min-width:0; }
#sat-lernort .sgzl { margin:0; padding:8px 10px 9px; font-family:var(--font-ui); }
#sat-lernort :is(.sgzl-kopf, .sgzl-titel) { padding-right:38px; }
#sat-lernort .sgzl-kopf { font-size:11px; margin-bottom:2px; }
#sat-lernort .sgzl-titel { font-size:14px; margin-bottom:2px; }
#sat-lernort .sgzl-text { font-size:12.5px; line-height:1.33; }
#sat-lernort .sgzl-weiter { width:100%; min-height:36px; margin-top:6px; padding:6px 12px; font-size:14px; }
#sat-lernort .sgzl-x { width:32px; height:32px; top:4px; right:4px; font-size:17px; }
#schirm .sat-lz { position:absolute; z-index:4; display:block; box-sizing:border-box; border-radius:10px; pointer-events:none; }
#schirm .sat-lz[hidden] { display:none; }
#stage.sat-lern :is(.k-knoepfe, #blaettern, .pult-r, #k-farben, .k-regel, #b-tausch, #fz-los, .tippbox, #monitorrahmen) { display:none !important; }
#stage.sat-lern #status { height:auto; min-height:34px; white-space:normal; }
#lobby #lo-lern { flex:none; flex-direction:row; align-items:center; gap:14px; margin:0 0 8px; padding:8px 14px; }
#lobby #lo-lern b { font-size:16px; white-space:nowrap; }
#lobby #lo-lern small { font-size:12px; }
#stage.hoch.sat-lern :is(#streifen, #flotte-block, .k-leiste) { display:none !important; }
#stage.hoch.sat-lern .k-steuer { display:grid; grid-template-columns:minmax(0, 1fr) 260px; gap:6px; align-items:stretch; }
#stage.hoch.sat-lern #sat-lernort { grid-column:1 / 3; }
#stage.hoch.sat-lern #pult { align-self:center; }
#stage.hoch #sat-lernort .sgzl { padding:6px 10px 8px 12px; }
#stage.hoch #sat-lernort :is(.sgzl-kopf, .sgzl-titel) { padding-right:66px; }
#stage.hoch #sat-lernort .sgzl-kopf { font-size:16.5px; }
#stage.hoch #sat-lernort .sgzl-titel { font-size:21px; }
#stage.hoch #sat-lernort .sgzl-text { font-size:19.5px; line-height:1.24; }
#stage.hoch #sat-lernort .sgzl-weiter { min-height:64px; font-size:20px; }
#stage.hoch #sat-lernort .sgzl-x { width:64px; height:64px; font-size:28px; top:3px; right:3px; }
#stage.hoch.sat-lern #status { height:auto; min-height:64px; font-size:17px; }
#stage.hoch #lobby #lo-lern { min-height:72px; flex-direction:column; align-items:flex-start; gap:2px; }
#stage.hoch #lobby #lo-lern b { font-size:20px; }
#stage.hoch #lobby #lo-lern small { font-size:14.5px; }
#stage.hoch.sat-lern #ende-btns button { min-height:64px; font-size:19px; }
#stage.hoch.sat-lern #ende-unter { font-size:17px; line-height:1.3; }
#stage.quer-handy.sat-lern #konsole { top:84px; grid-template-columns:minmax(0, 1fr) 200px; column-gap:6px; grid-template-rows:auto auto minmax(0, 1fr) auto;
  grid-template-areas:"lern lern" "status pult" ". ." "leiste leiste"; }
#stage.quer-handy.sat-lern #pult { grid-template-columns:1fr; align-self:center; }
#stage.quer-handy.sat-lern #endeleiste { grid-area:3 / 1 / 4 / 3; align-self:end; }
#stage.quer-handy.sat-lern :is(#streifen, #flotte-block) { display:none !important; }
#stage.quer-handy #sat-lernort { grid-area:lern; }
#stage.quer-handy #sat-lernort :is(.sgzl-kopf, .sgzl-titel) { padding-right:50px; }
#stage.quer-handy #sat-lernort .sgzl-kopf { font-size:13px; margin-bottom:1px; }
#stage.quer-handy #sat-lernort .sgzl-titel { font-size:16px; }
#stage.quer-handy #sat-lernort .sgzl-text { font-size:15px; line-height:1.22; }
#stage.quer-handy #sat-lernort .sgzl-weiter { min-height:50px; font-size:16px; }
#stage.quer-handy #sat-lernort .sgzl-x { width:50px; height:50px; top:3px; right:3px; }
#stage.quer-handy.sat-lern #konsole #status { height:auto; min-height:40px; padding:2px 8px; font-size:15px; line-height:1.15; }
#stage.quer-handy.sat-lern #konsole { row-gap:3px; }
#stage.quer-handy #sat-lernort .sgzl { padding:6px 10px 7px; }
#stage.quer-handy.sat-lern #ende-btns button { min-height:50px; font-size:14px; white-space:nowrap; padding:6px 6px; }
#stage.quer-handy #lobby #lo-lern { min-height:50px; padding:3px 12px; margin-bottom:5px; }
#stage.quer-handy #lobby #lo-lern small { line-height:1.25; }
