@font-face{font-family:'SGZ Ziffern';src:local('Times New Roman'),local('TimesNewRomanPSMT'),local('Liberation Serif'),local('LiberationSerif'),local('Tinos'),local('Noto Serif'),local('NotoSerif-Regular');font-weight:100 600;unicode-range:U+0030-0039}
@font-face{font-family:'SGZ Ziffern';src:local('Times New Roman Bold'),local('TimesNewRomanPS-BoldMT'),local('Liberation Serif Bold'),local('LiberationSerif-Bold'),local('Tinos Bold'),local('Noto Serif Bold'),local('NotoSerif-Bold');font-weight:700 900;unicode-range:U+0030-0039}
:root {
  --bg:#121a1e; --panel:rgba(20,32,38,.9); --panel2:rgba(30,46,54,.96); --panel-solid:#1a2a32;
  --akz:#e9b65c; --akz-hell:#ffd88a; --akz2:#b8863a; --linie:rgba(233,190,110,.34);
  --text:#fbf4e6; --text-2:#ecdfc6; --text-3:#cdbb98; --dim:#cfbd9a;
  --gold:#f2c65a; --rot:#ff9a84; --gruen:#a8e08a; --blau:#9cc4f2; --dran:#7ad6a0;
  --ov-a:#24363e; --ov-b:#0c1418; --scrim:rgba(4,10,12,.7);
  --kn-a:#3a5560; --kn-b:#182830;
  --kopf:'SGZ Ziffern', Georgia, 'Times New Roman', serif;
  --sans:'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --grund-q:url(img/frueh.webp?v=1); --grund-h:url(img/frueh-hoch.webp?v=1);
  --holz-a:#a87a48; --holz-b:#6e4824; --holz-kante:#3e2610; --holz:url(img/holz.webp?v=1);
  --schatten:rgba(0,0,0,.5); --abdunkeln:rgba(4,12,16,.18);
  --ok:#2b7434; --falsch:#b0301f; --letzt:#5d6670; --schild:#f1ebdd; --schild-t:#1c2328; --tafel:#22343c; --tafel-t:#eef3f2; --tafel-2:#bfd0d0;
}
:root[data-theme="light"] {
  --bg:#ece6d8; --panel:rgba(250,246,236,.92); --panel2:rgba(242,236,222,.97); --panel-solid:#f4eedf;
  --akz:#8a4c0e; --akz-hell:#6a3606; --akz2:#b8803a; --linie:rgba(90,70,40,.32);
  --text:#1e1a12; --text-2:#3a3020; --text-3:#5a4a32; --dim:#5a4a32;
  --gold:#7a4400; --rot:#b4232f; --gruen:#24683a; --blau:#1a5fb4; --dran:#0f7a62;
  --ov-a:#f7f2e6; --ov-b:#e6dcc6; --scrim:rgba(40,34,24,.42);
  --kn-a:#f7f2e6; --kn-b:#ddd2b8;
  --grund-q:url(img/sommer.webp?v=1); --grund-h:url(img/sommer-hoch.webp?v=1);
  --holz-a:#d9b07a; --holz-b:#a8784a; --holz-kante:#7a5430;
  --schatten:rgba(70,50,20,.34); --abdunkeln:rgba(255,250,236,.04);
  --ok:#2e7d3a; --falsch:#b02a1e; --letzt:#6a7078; --tafel:#f3efe4; --tafel-t:#1c2328; --tafel-2:#3e4a50;
}
html[data-design="nebel"]:not([data-theme="light"]) {
  --bg:#141a1a; --panel:rgba(30,38,38,.9); --panel2:rgba(44,54,54,.96); --panel-solid:#243030;
  --linie:rgba(210,230,220,.3); --ov-a:#2c3a3a; --ov-b:#101616; --kn-a:#3e5050; --kn-b:#1a2424;
  --grund-q:url(img/nebel.webp?v=1); --grund-h:url(img/nebel-hoch.webp?v=1);
  --holz-a:#8c7458; --holz-b:#54422c; --abdunkeln:rgba(10,16,16,.22);
}
:where(html, html *) { scrollbar-width:thin; scrollbar-color:var(--akz, #ffcf6a) var(--panel2, rgba(8,52,66,.94)); }
:where(html) ::-webkit-scrollbar { width:9px; height:9px; }
:where(html) ::-webkit-scrollbar-track { background:var(--panel2, rgba(8,52,66,.94)); border-radius:5px; }
:where(html) ::-webkit-scrollbar-thumb { background:var(--akz, #ffcf6a); border-radius:5px; border:2px solid transparent; background-clip:padding-box; }
* { box-sizing:border-box; }
html, body { margin:0; height:100%; background:#08141c; color:var(--text); font-family:var(--sans); overflow:hidden; user-select:none; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
#wrap { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:radial-gradient(ellipse at center, #1e3a4c 0%, #08141c 80%); }
:root[data-theme="light"] #wrap { background:radial-gradient(ellipse at center, #f2ead8 0%, #c8b894 85%); }
#stage { position:relative; width:1280px; height:800px; flex:none; transform-origin:center center; overflow:hidden; background:var(--bg); -webkit-touch-callout:none; }
[hidden] { display:none !important; }
button { font-family:var(--sans); cursor:pointer; }
input, select { font-family:var(--sans); font-size:16px; }
.pl-punkt { flex:none; overflow:visible; }

.kb { display:inline-flex; align-items:center; justify-content:center; gap:7px; background:linear-gradient(180deg, var(--kn-a), var(--kn-b)); color:var(--text); border:1px solid var(--linie); border-radius:9px; padding:9px 16px; font-size:16px; font-weight:700; box-shadow:inset 0 1px 0 rgba(255,236,200,.14), 0 2px 8px rgba(0,0,0,.4); }
:root[data-theme="light"] .kb { background:linear-gradient(180deg, var(--kn-a), var(--kn-b)); box-shadow:inset 0 1px 0 #fff8, 0 2px 6px rgba(60,40,20,.2); }
@media (hover: hover) { .kb:hover:not(:disabled) { border-color:var(--akz-hell); } }
.kb:disabled { opacity:.45; cursor:default; }
.kb-gold { background:linear-gradient(#ffe39a, #e0a52a) !important; color:#2b2405 !important; border-color:#fff3c8; box-shadow:0 2px 0 #6a4a06, inset 0 1px 0 #fff6; }
.kb-gruen { background:linear-gradient(#b3e08c, #5f9f3a) !important; border-color:#def3c8; color:#142408 !important; }
.kb.an { outline:2px solid var(--akz-hell); }
.kb-ic { width:38px; height:34px; display:inline-flex; align-items:center; justify-content:center; background:rgba(0,0,0,.28); color:var(--text); border:1px solid var(--linie); border-radius:8px; padding:0; }
:root[data-theme="light"] .kb-ic { background:rgba(255,250,236,.6); }
.kb-ic .sgzi { width:20px; height:20px; }
.kb-ic.an { background:rgba(255,207,106,.3); border-color:var(--akz-hell); }
@media (hover: hover) { .kb-ic:hover { border-color:var(--akz-hell); } }
.kb-klein { padding:5px 12px; font-size:14px; }
.kb-gross { width:100%; padding:11px 18px; font-size:18px; }

#lobby, #tisch { position:absolute; inset:0; z-index:3; display:flex; flex-direction:column; background:linear-gradient(180deg, rgba(8,14,10,.25), rgba(6,10,8,.55)); }
:root[data-theme="light"] #lobby, :root[data-theme="light"] #tisch { background:linear-gradient(180deg, rgba(250,250,236,.3), rgba(226,232,206,.5)); }
.lo-kopf { position:relative; display:flex; align-items:center; gap:18px; padding:12px 24px 10px; border-bottom:1px solid var(--linie); background:var(--panel); }
.lo-logo { font-family:var(--kopf); font-size:30px; font-weight:900; letter-spacing:5px; color:var(--akz-hell); text-shadow:0 2px 0 rgba(0,0,0,.6), 0 0 18px rgba(255,207,106,.22); }
:root[data-theme="light"] .lo-logo { text-shadow:none; }
.lo-raum { font-size:18px; color:var(--text-2); font-style:italic; }
.lo-ich { margin-left:auto; font-size:15px; color:var(--text-2); }
.lo-ich b { color:var(--akz-hell); }
.lo-kopf-r { display:flex; gap:8px; margin-left:14px; }
.lo-label { font-size:12.5px; letter-spacing:2.5px; text-transform:uppercase; color:var(--akz); margin-bottom:6px; font-weight:800; }
.lo-label small { text-transform:none; letter-spacing:0; color:var(--text-3); font-weight:500; font-size:12px; }
#chatwin, #tchatwin, #pchatwin { flex:1; overflow-y:auto; background:rgba(0,0,0,.25); border:1px solid rgba(255,207,106,.2); border-radius:8px; padding:9px 11px; font-size:15px; line-height:1.45; user-select:text; }
:root[data-theme="light"] #chatwin, :root[data-theme="light"] #tchatwin, :root[data-theme="light"] #pchatwin { background:rgba(255,250,236,.55); }
#chatin, #tchatin, #pchatin { margin-top:8px; padding:8px 12px; background:rgba(0,0,0,.3); color:var(--text); border:1px solid var(--linie); border-radius:8px; outline:none; font-size:16px; }
:root[data-theme="light"] #chatin, :root[data-theme="light"] #tchatin, :root[data-theme="light"] #pchatin { background:rgba(255,250,236,.75); }
#chatin:focus, #tchatin:focus, #pchatin:focus { border-color:var(--akz-hell); }
.nm { color:var(--akz-hell); font-weight:bold; }
.sys { color:var(--text-3); font-style:italic; }
.lo-chat { display:flex; flex-direction:column; min-height:0; }
.lo-spieler { display:flex; flex-direction:column; min-height:0; }
.lo-tabs { display:flex; gap:4px; margin-bottom:8px; }
.lo-tabs button { flex:1; background:rgba(0,0,0,.22); color:var(--text-2); border:1px solid var(--linie); border-radius:8px 8px 0 0; padding:8px; font-size:15px; font-weight:700; }
.lo-tabs button.an { background:rgba(255,207,106,.18); color:var(--akz-hell); border-color:var(--akz); }
.lo-tab { flex:1; display:flex; flex-direction:column; min-height:0; }
.lo-liste { flex:1; overflow-y:auto; display:flex; flex-direction:column; gap:6px; padding-right:4px; }
.lo-hinweis { color:var(--text-3); font-style:italic; font-size:14px; margin:8px 0; }
.it { display:flex; align-items:center; gap:8px; padding:6px 10px; background:rgba(0,0,0,.18); border-radius:6px; font-size:15px; }
.it .pkt { width:9px; height:9px; border-radius:50%; background:var(--gruen); }
.it.spielt .pkt { background:var(--gold); }
.it.me { color:var(--akz-hell); }
.tb { display:flex; align-items:center; gap:12px; padding:10px 12px; background:rgba(0,0,0,.18); border:1px solid var(--linie); border-radius:8px; cursor:pointer; }
@media (hover: hover) { .tb:hover { border-color:var(--akz-hell); background:rgba(255,207,106,.08); } }
.tb.voll { opacity:.55; cursor:default; }
.tb.laeuft { border-style:dashed; }
.tb-links { flex:1; min-width:0; }
.tb-kopf { display:flex; justify-content:space-between; font-weight:bold; font-size:16px; gap:8px; }
.tb-kopf .frei { color:var(--gruen); font-size:14px; white-space:nowrap; }
.tb-kopf .frei.aus { color:var(--text-3); }
.tb-sub { color:var(--text-2); font-size:13px; margin-top:3px; }
.tb-plaetze { display:flex; gap:2px; white-space:nowrap; }
.tb-plaetze .sgzi { width:16px; height:16px; }
.tb-plaetze .p-frei { opacity:.35; }
.tb-knopf { flex:none; padding:6px 14px; font-size:14px; }
.tb-route { display:inline-block; margin-left:6px; padding:0 7px; border-radius:7px; font-size:12px; font-weight:800; vertical-align:2px; color:var(--gold); background:rgba(255,216,107,.12); border:1px solid rgba(255,216,107,.6); }
:root[data-theme="light"] .tb-route { background:rgba(122,82,0,.08); border-color:rgba(122,82,0,.5); }
.lo-stat { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:8px; }
.st-k { flex:1 1 90px; background:rgba(0,0,0,.2); border:1px solid rgba(255,207,106,.22); border-radius:8px; padding:6px 8px; text-align:center; }
.st-k b { display:block; font-size:20px; color:var(--akz-hell); }
.st-k small { color:var(--text-3); font-size:12px; }
.ar { padding:8px 10px; background:rgba(0,0,0,.18); border-left:3px solid var(--text-3); border-radius:6px; font-size:14px; }
.ar.sieg { border-left-color:var(--gold); }
.ar.weg { border-left-color:var(--rot); opacity:.75; }
.ar-kopf { display:flex; justify-content:space-between; font-weight:bold; }
.ar-kopf .erg { color:var(--akz-hell); }
.ar-sub { color:var(--text-2); font-size:13px; margin-top:2px; }
.lo-fuss { display:flex; align-items:center; gap:10px; padding:12px 24px 16px; border-top:1px solid var(--linie); background:var(--panel); }
.lo-fuss-r { margin-left:auto; display:flex; gap:8px; }
.ti-mitte { flex:1; display:flex; gap:16px; padding:16px 24px; min-height:0; }
.ti-plaetze { flex:0 0 300px; display:flex; flex-direction:column; gap:7px; overflow:auto; }
.pl { display:flex; align-items:center; gap:10px; padding:8px 12px; background:var(--panel); border:1px solid var(--linie); border-radius:8px; }
.pl.me { border-color:var(--akz-hell); }
.pl.bereit { box-shadow:inset 3px 0 0 var(--gruen); }
.pl.leer { opacity:.75; }
.pl.ki { opacity:.85; border-style:dashed; }
.pl .nm2 { flex:1; display:flex; flex-direction:column; font-weight:bold; font-size:16px; }
.pl .nm2 small { font-weight:normal; color:var(--text-3); font-size:13px; }
.pl .st { font-size:13px; color:var(--text-2); }
.ti-opts { flex:1; display:flex; flex-direction:column; gap:8px; overflow:auto; padding:12px 16px; border-radius:12px; background:var(--panel); border:1px solid var(--linie); }
.ti-opt { display:flex; flex-direction:column; gap:4px; font-size:15px; }
.ti-opt small { color:var(--text-3); font-size:12px; margin-left:6px; }
.ti-wahl { display:flex; gap:6px; flex-wrap:wrap; }
.ti-wahl button { background:rgba(0,0,0,.22); color:var(--text); border:1px solid var(--linie); border-radius:6px; padding:5px 12px; font-size:15px; }
:root[data-theme="light"] .ti-wahl button, :root[data-theme="light"] .lw-wahl button { background:rgba(255,250,236,.65); }
.ti-wahl button.an { background:rgba(255,207,106,.22); border-color:var(--akz-hell); color:var(--akz-hell); font-weight:700; }
.ti-wahl.aus button { pointer-events:none; opacity:.7; }
.ti-info { color:var(--text-2); font-size:14px; margin:6px 0 0; }
.ti-chat { flex:0 0 280px; padding:10px 12px; border-radius:12px; background:var(--panel); border:1px solid var(--linie); }
.lo-streifen { display:flex; align-items:center; gap:14px; margin:10px 24px 0; padding:9px 16px; border-radius:12px; background:linear-gradient(90deg, rgba(154,214,111,.2), rgba(255,207,106,.1)); border:1px solid var(--gruen); }
.lo-streifen.warten { background:linear-gradient(90deg, rgba(255,207,106,.2), rgba(134,192,240,.12)); border-color:var(--akz-hell); }
.ls-ico .sgzi { width:24px; height:24px; }
.ls-text { display:flex; flex-direction:column; font-size:15px; } .ls-text small { color:var(--text-2); font-size:13px; }
#ls-knopf { margin-left:auto; }
.lo-haupt { position:relative; flex:1; display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:16px; padding:12px 24px 16px; min-height:0; }
.lo-start { display:flex; flex-direction:column; gap:8px; min-height:0; padding:12px 16px; border-radius:14px; border:2px solid var(--akz);
  background:linear-gradient(180deg, var(--panel2), var(--panel)); box-shadow:0 0 0 3px rgba(255,207,106,.1), 0 10px 30px rgba(0,0,0,.45); }
.lo-start .lo-label { margin:0; }
.lo-seg { display:flex; border:1px solid var(--akz); border-radius:10px; overflow:hidden; flex:none; }
.lo-seg button { flex:1; display:flex; align-items:center; justify-content:center; gap:8px; padding:10px 6px; font-size:15px; font-weight:800; color:var(--text-2); background:rgba(0,0,0,.18); border:0; }
.lo-seg button + button { border-left:1px solid var(--linie); }
.lo-seg button.an { color:#2b2405; background:linear-gradient(#ffe39a, #e0a52a); }
.seg-ic .sgzi { width:19px; height:19px; vertical-align:-4px; }
.lo-optionen { flex:1; min-height:0; overflow:auto; display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); grid-auto-flow:row dense; align-content:start; column-gap:14px; row-gap:7px; }
.lo-optionen > .lw-paar { display:contents; }
.lo-optionen > :not(.lw-zeile, .lw-paar), .lo-optionen > .lw-zeile:is(.lw-breit, :has(.lw-name, .lw-ausgabe, .lw-wahl > :nth-child(6))), .lo-optionen > .lw-paar > .lw-zeile:is(.lw-breit, :has(.lw-wahl > :nth-child(6))) { grid-column:1 / -1; }
.lw-zeile { display:flex; flex-direction:column; gap:4px; }
.lw-titel { font-size:13px; color:var(--text-2); } .lw-titel b { color:var(--text); font-size:14px; }
.lw-wahl { display:flex; gap:5px; flex-wrap:wrap; }
.lw-wahl button { padding:5px 9px; border-radius:7px; font-size:14px; color:var(--text); background:rgba(0,0,0,.22); border:1px solid var(--linie); }
@media (hover: hover) { .lw-wahl button:hover { border-color:var(--akz-hell); } }
.lw-wahl button.an { background:rgba(255,207,106,.24); border-color:var(--akz-hell); color:var(--akz-hell); font-weight:800; }
.lw-ausgabe { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.lw-ausgabe button { display:flex; flex-direction:column; align-items:flex-start; gap:2px; padding:7px 10px 8px; border-radius:9px; text-align:left; color:var(--text-2);
  background:linear-gradient(160deg, rgba(232,184,96,.28), rgba(16,8,24,.6)); border:1px solid var(--linie); font-size:12px; line-height:1.3; }
:root[data-theme="light"] .lw-ausgabe button { background:linear-gradient(160deg, rgba(232,184,96,.22), rgba(255,250,236,.6)); }
.lw-ausgabe button b { font-size:15px; color:var(--text); font-family:var(--kopf); }
.lw-ausgabe button.an { border-color:var(--akz-hell); box-shadow:0 0 0 2px rgba(255,207,106,.35); color:var(--text); }
.lw-name { display:flex; gap:6px; }
.lw-name input { flex:1; min-width:0; padding:6px 12px; background:rgba(0,0,0,.3); color:var(--text); border:1px solid var(--akz); border-radius:8px; outline:none; font-size:16px; }
:root[data-theme="light"] .lw-name input { background:rgba(255,250,236,.8); }
.lw-wuerfel { width:40px; flex:none; padding:0; }
.lw-info { display:inline-flex; width:18px; height:18px; margin-left:5px; border-radius:50%; align-items:center; justify-content:center; font:800 12px/1 var(--sans); color:#2b2405;
  background:var(--akz-hell); border:0; vertical-align:1px; cursor:pointer; padding:0; }
:root[data-theme="light"] .lw-info { color:#fff8e6; }
.lw-box { font-size:12.5px; color:var(--text-2); line-height:1.45; background:rgba(255,207,106,.08); border:1px solid rgba(255,207,106,.26); border-radius:8px; padding:7px 10px; }
.nw { white-space:nowrap; }
.lo-los { flex:none; display:flex; flex-direction:column; gap:5px; }
.lw-anleitung { padding:8px 10px; border-radius:10px; background:linear-gradient(180deg, rgba(232,184,96,.16), rgba(16,8,24,.3)); border:1px solid rgba(255,207,106,.25); }
:root[data-theme="light"] .lw-anleitung { background:rgba(232,184,96,.14); }
.lw-an-titel { font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--akz-hell); margin-bottom:5px; font-weight:800; }
.lw-schritt { display:grid; grid-template-columns:20px minmax(0, 1fr); align-items:center; gap:8px; padding:3px 0; font-size:12.5px; line-height:1.35; color:var(--text-2); }
.lw-schritt > b { width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; color:#2b2405; background:var(--akz-hell); }
:root[data-theme="light"] .lw-schritt > b { color:#fff8e6; }
.lw-schritt span b { color:var(--text); }
.lo-los-hin { font-size:12.5px; color:var(--text-3); text-align:center; }
.lo-rechts { display:grid; grid-template-columns:minmax(0, 1fr); grid-template-rows:minmax(0, 1fr) 200px; gap:14px; min-height:0; }
.lo-rechts .lo-spieler, .lo-rechts .lo-chat { min-height:0; padding:10px 12px; border-radius:12px; border:1px solid var(--linie); background:linear-gradient(180deg, var(--panel2), var(--panel)); }

.banner { position:absolute; left:calc((100% - 328px) / 2); top:40%; z-index:75; min-width:420px; max-width:760px; padding:16px 34px 14px; text-align:center; border-radius:14px; pointer-events:none;
  transform:translate(-50%, -50%) scale(.6); opacity:0; transition:transform .4s cubic-bezier(.2, 1.4, .4, 1), opacity .35s;
  background:linear-gradient(180deg, var(--ov-a), var(--ov-b)); border:2px solid var(--akz); box-shadow:0 18px 50px rgba(0,0,0,.6); }
.banner.an { transform:translate(-50%, -50%) scale(1); opacity:1; }
.bn-titel { font-family:var(--kopf); font-weight:900; font-size:42px; letter-spacing:4px; color:var(--akz-hell); text-shadow:0 3px 0 rgba(0,0,0,.6); }
:root[data-theme="light"] .bn-titel { text-shadow:none; }
.bn-unter { margin-top:6px; font-size:15px; font-weight:800; letter-spacing:1.5px; color:var(--text); text-transform:uppercase; }
.banner.gold { background:linear-gradient(180deg, #fbe7a6, #c99a2e); border-color:#fff3cf; }
.banner.gold .bn-titel { color:#2a1d04; text-shadow:none; } .banner.gold .bn-unter { color:#3a2a08; }
.banner.klein { top:22%; min-width:0; padding:10px 24px 9px; }
.banner.klein .bn-titel { font-size:26px; letter-spacing:2px; }

.overlay { position:absolute; inset:0; background:var(--scrim); display:flex; align-items:center; justify-content:center; z-index:80; }
.ov-box { max-width:640px; max-height:92%; overflow:auto; background:linear-gradient(180deg, var(--ov-a), var(--ov-b)); border:2px solid var(--akz); border-radius:12px; padding:20px 26px; box-shadow:0 14px 40px rgba(0,0,0,.6); }
.ov-box.ov-breit { max-width:960px; width:92%; }
.ov-titel { font-family:var(--kopf); font-size:26px; font-weight:900; color:var(--akz-hell); text-align:center; margin-bottom:8px; letter-spacing:2px; }
.ov-knoepfe { display:flex; gap:10px; justify-content:center; margin-top:16px; flex-wrap:wrap; }
#pop-text { font-size:16px; line-height:1.5; color:var(--text); white-space:pre-line; }
.en-unter { text-align:center; color:var(--text-2); font-size:15px; margin-bottom:12px; }
.en-liste { display:flex; flex-direction:column; gap:7px; }
:root[data-theme="light"] .en-platz { background:rgba(255,250,236,.55); }
.en-platz.kopf { background:transparent; border-color:transparent; padding-top:0; padding-bottom:0; font-size:12px; letter-spacing:1px; text-transform:uppercase; color:var(--dim); font-weight:800; }
.en-platz.p1 { border-color:var(--gold); background:rgba(255,216,107,.12); }
.en-platz.ich { outline:1px solid var(--akz-hell); }
.en-platz .pz { font-family:var(--kopf); font-size:22px; font-weight:900; text-align:center; color:var(--text-2); }
.medaille { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%; font:900 17px/1 var(--kopf); color:#2b2405;
  box-shadow:inset 0 2px 0 #fff8, inset 0 -3px 0 #0003, 0 2px 4px #0006; border:1px solid #0006; }
.medaille.m1 { background:radial-gradient(circle at 35% 30%, #fff3b0, #f2c531 55%, #9a7414); }
.medaille.m2 { background:radial-gradient(circle at 35% 30%, #ffffff, #c9d1d6 55%, #6f7c84); }
.medaille.m3 { background:radial-gradient(circle at 35% 30%, #ffd9b0, #d08a4a 55%, #7a4416); }
.en-platz .pl-punkt { width:28px; height:28px; }
.en-platz .nmx { font-weight:bold; line-height:1.15; min-width:0; overflow-wrap:anywhere; } .en-platz .nmx small { display:block; font-weight:500; font-size:12.5px; color:var(--dim); }
.en-platz .w { text-align:right; font-variant-numeric:tabular-nums;font-kerning:none; }
.en-platz .w b { font-family:var(--kopf); font-size:18px; color:var(--text); }
.en-platz .bl b { color:var(--gold); }
.en-platz .w small { display:block; font-size:12px; color:var(--dim); }
.en-einladung { margin:10px 0 0; padding:8px 12px; border-radius:10px; text-align:center; font-size:15px; background:rgba(111,214,190,.14); border:1px solid var(--gruen); color:var(--text); }
.hilfe-text { font-size:15px; line-height:1.55; color:var(--text); max-height:600px; overflow:auto; user-select:text; }
.hilfe-text h1, .hilfe-text h2, .hilfe-text h3 { font-family:var(--kopf); color:var(--akz-hell); margin:14px 0 6px; }
.hilfe-text h1 { margin-top:0; }
.hilfe-text table { border-collapse:collapse; font-size:14px; } .hilfe-text td, .hilfe-text th { border-bottom:1px solid var(--linie); padding:3px 8px; text-align:left; }
#note { position:absolute; left:50%; top:10px; transform:translateX(-50%); background:rgba(150,40,20,.95); color:#fff; padding:8px 16px; border-radius:8px; z-index:99; }


#stage.hoch .lo-haupt { grid-template-columns:minmax(0, 1fr); grid-template-rows:auto minmax(0, 1fr); }
#stage.hoch .lo-rechts { grid-template-columns:minmax(0, 1fr); grid-template-rows:minmax(0, 1fr) 200px; }
#stage.hoch .lo-streifen { margin:10px 16px 0; }
#stage.hoch .lo-raum { display:none; }
#stage.hoch .ti-mitte { flex-wrap:wrap; }
#stage.hoch .ti-plaetze { flex:1 1 100%; max-height:300px; }
#stage.hoch .ti-chat { flex:1 1 100%; min-height:220px; }
@media (pointer: coarse) {
  .kb-ic { width:50px; height:44px; }
  .lw-wahl:not(.lw-ausgabe) button, .ti-wahl button { min-height:40px; min-width:40px; padding:8px 13px; font-size:15px; }
  .kb { min-height:42px; }
  .knopf { min-height:42px; }
  .pc-knoepfe button { min-height:40px; }
  button.lw-info { width:40px; height:36px; margin:-9px -11px -9px -6px; border-radius:18px; background:radial-gradient(circle at center, var(--akz-hell) 0 9px, transparent 9.5px); }
}

#partie { position:absolute; inset:0; z-index:2; }
.panel { position:absolute; background:var(--panel); backdrop-filter:blur(5px); border:1px solid var(--linie); border-radius:10px; box-shadow:inset 0 1px 0 rgba(255,236,200,.06), 0 8px 24px rgba(0,0,0,.4); }
:root[data-theme="light"] .panel { box-shadow:inset 0 1px 0 #fff8, 0 6px 18px rgba(60,40,80,.22); }
.pt { font-size:12px; letter-spacing:3px; color:var(--dim); margin:2px 4px 6px; text-transform:uppercase; font-weight:800; display:flex; align-items:center; justify-content:space-between; gap:6px; }
.pt-r { letter-spacing:0; text-transform:none; font-size:12px; color:var(--text-2); font-weight:600; }
#kopf { left:12px; right:12px; top:10px; height:56px; display:flex; align-items:center; gap:14px; padding:0 12px 0 128px; z-index:5; }
.logo { font-family:var(--kopf); font-weight:900; font-size:22px; letter-spacing:3px; color:var(--akz); text-shadow:0 2px 0 rgba(0,0,0,.6); line-height:1; white-space:nowrap; }
:root[data-theme="light"] .logo { text-shadow:none; }
.logo small { display:block; font-family:var(--sans); font-weight:800; font-size:12px; letter-spacing:2px; color:var(--dim); margin-top:3px; }
.trenner { width:1px; align-self:stretch; margin:10px 0; background:var(--linie); }
.runde { font-size:12px; letter-spacing:2px; color:var(--dim); white-space:nowrap; text-transform:uppercase; font-weight:700; }
.runde b { text-transform:none; display:block; font-family:var(--kopf); font-size:19px; letter-spacing:0; color:var(--text); }
.k-phase { display:flex; align-items:center; gap:8px; font-size:16px; color:var(--text-2); min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.k-phase b { color:var(--text); }
.rechts { margin-left:auto; display:flex; align-items:center; gap:8px; }
.uhr { font-family:var(--kopf); font-weight:700; font-size:20px; color:var(--gold); min-width:52px; text-align:right; }
.uhr.knapp { color:var(--rot); animation:puls .8s infinite alternate; }
@keyframes puls { to { opacity:.55; } }
.sgzi { width:18px; height:18px; flex:none; display:inline-block; vertical-align:-3px; }
.sym { flex:none; display:inline-block; vertical-align:middle; filter:drop-shadow(0 1px 1px rgba(0,0,0,.5)); }




#pchat { flex:1; min-height:120px; padding:8px 10px 10px; display:flex; flex-direction:column; }
#pchatwin { font-size:13.5px; padding:6px 8px; }
#pchatin { margin-top:6px; padding:6px 9px; }
.pc-knoepfe { display:flex; gap:5px; margin-top:5px; }
.pc-knoepfe button { flex:1; display:flex; align-items:center; justify-content:center; gap:5px; font-size:12.5px; padding:4px; color:var(--text); background:var(--panel2); border:1px solid var(--linie); border-radius:6px; }
.pc-knoepfe .sgzi { width:15px; height:15px; }
.ch-tabs { display:flex; gap:4px; margin-bottom:6px; }
.ch-tabs button { flex:1; font-size:12px; font-weight:800; letter-spacing:1px; text-transform:uppercase; color:var(--dim); background:transparent; border:1px solid transparent; border-radius:6px; padding:5px; }
.ch-tabs button.an { color:var(--text); background:var(--panel2); border-color:var(--linie); }
#ch-neu { color:var(--rot); }
.ch-liste { flex:1; min-height:0; overflow-y:auto; overflow-x:hidden; font-size:13px; line-height:1.4; display:flex; flex-direction:column; gap:3px; user-select:text; }
.ch-z { padding:3px 7px; border-left:3px solid var(--rf, var(--akz)); background:rgba(0,0,0,.18); border-radius:0 5px 5px 0; color:var(--text-2); }
:root[data-theme="light"] .ch-z { background:rgba(255,255,255,.55); }
.ch-z b { color:var(--text); }
.ch-z.gut { color:#c8f3e2; } .ch-z.schlecht { color:#ffcabd; } .ch-z.leise { opacity:.8; }
:root[data-theme="light"] .ch-z.gut { color:#1f6448; } :root[data-theme="light"] .ch-z.schlecht { color:#9c2a1a; }
.ch-z.abschnitt { border-left-color:transparent; background:transparent; color:var(--dim); font-size:12px; letter-spacing:1.5px; text-transform:uppercase; font-weight:800; padding-top:6px; }
.ch-chat { flex:1; display:flex; flex-direction:column; min-height:0; }





.bildnis { display:inline-block; flex:none; border-radius:50%; background-size:cover; background-position:center; border:2px solid var(--sf, var(--akz)); box-shadow:0 2px 4px rgba(0,0,0,.4); background-color:var(--sf, #8a6a4a); }
.stempel { position:absolute; z-index:63; transform:translate(-50%, -50%) rotate(-8deg); padding:4px 14px; border:3px solid #b05a2a; border-radius:8px; color:#8a3a14; background:rgba(255,246,230,.94);
  font:900 22px/1.1 var(--kopf); letter-spacing:1.5px; pointer-events:none; animation:stempel 1.4s ease-out forwards; white-space:nowrap; }
.stempel.gold { border-color:#b08a10; color:#7a5208; }
@keyframes stempel { 0% { opacity:0; transform:translate(-50%, -50%) rotate(-8deg) scale(2); } 18% { opacity:1; transform:translate(-50%, -50%) rotate(-8deg) scale(1); } 80% { opacity:1; } 100% { opacity:0; } }
.konfetti { position:absolute; top:-20px; z-index:90; width:var(--gr); height:calc(var(--gr) * .7); border-radius:2px; pointer-events:none; opacity:.9; animation:fallen linear forwards; }
@keyframes fallen { to { transform:translateY(860px) rotate(540deg); opacity:.2; } }
.en-platz { display:grid; grid-template-columns:48px 40px minmax(0, 1fr) 110px 100px; align-items:center; gap:10px; padding:7px 12px; border-radius:10px; background:rgba(0,0,0,.2); border:1px solid var(--linie); }
.en-stat { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px 16px; margin-top:12px; font-size:15px; color:var(--text-2); }
.en-stat b { color:var(--gold); font-family:var(--kopf); }
.en-bilanz { flex-basis:100%; text-align:center; color:var(--text-2); }
#en-zurueck { position:absolute; left:50%; bottom:16px; transform:translateX(-50%); z-index:85; display:flex; gap:10px; padding:8px 12px; border-radius:12px; background:var(--panel-solid); border:1px solid var(--akz); }
#hinweis { position:absolute; left:calc((100% - 328px) / 2); bottom:300px; transform:translateX(-50%); z-index:70; padding:9px 18px; border-radius:9px; background:rgba(120,30,20,.95); border:1px solid #ffb8a3; color:#fff; font-size:15px; font-weight:700; pointer-events:none; max-width:640px; text-align:center; }
#hinweis.neutral { background:var(--panel-solid); border-color:var(--akz-hell); color:var(--text); }
.banner { left:calc((100% - 328px) / 2); }
#ansicht-menu { right:12px; top:72px; padding:10px 12px; z-index:40; width:320px; display:flex; flex-direction:column; gap:6px; background:var(--panel-solid); }
#ansicht-menu label { display:flex; gap:8px; font-size:14px; cursor:pointer; }
#ansicht-menu label small { display:block; font-size:12px; color:var(--dim); }
#ansicht-menu input { width:18px; height:18px; margin-top:1px; accent-color:var(--akz); flex:none; }
#ansicht-menu .am-knoepfe { display:flex; gap:6px; } #ansicht-menu .am-knoepfe .knopf { flex:1; justify-content:center; }
#stage.hoch #ansicht-menu { left:12px; right:12px; width:auto; top:76px; margin:0 auto; } #stage.hoch #ansicht-menu :is(label, .knopf) { font-size:16px; min-height:52px; } #stage.hoch #ansicht-menu label small { font-size:14px; }
#ansicht-menu .am-t { font-size:12px; letter-spacing:2.5px; text-transform:uppercase; color:var(--dim); font-weight:800; margin-top:4px; }
.am-reihe { display:flex; gap:6px; flex-wrap:wrap; }
.knopf { display:inline-flex; align-items:center; gap:6px; font-weight:800; font-size:14px; color:#2b2405; cursor:pointer; padding:6px 12px; border-radius:8px;
  border:1px solid #fff3c8; background:linear-gradient(#ffe39a, #e0a52a); box-shadow:0 2px 0 #6a4a06, inset 0 1px 0 #fff6; white-space:nowrap; }
.knopf.leise { color:var(--text); background:var(--panel2); border-color:var(--linie); box-shadow:none; }
#flug { position:absolute; inset:0; z-index:60; pointer-events:none; }
.flieger { position:absolute; z-index:61; pointer-events:none; }
.blase { position:absolute; z-index:62; transform:translate(-50%, -100%); padding:5px 12px; border-radius:12px; background:#fffaea; color:#2a1d08; font:800 14px var(--sans); white-space:nowrap;
  box-shadow:0 4px 10px rgba(0,0,0,.4); animation:blase 1.6s ease-out forwards; }
.blase::after { content:""; position:absolute; left:50%; bottom:-6px; margin-left:-6px; border:6px solid transparent; border-bottom:0; border-top-color:#fffaea; }
@keyframes blase { 0% { opacity:0; transform:translate(-50%, -80%) scale(.8); } 15% { opacity:1; transform:translate(-50%, -100%) scale(1); } 80% { opacity:1; } 100% { opacity:0; transform:translate(-50%, -120%); } }



#stage.hoch .lw-mobil .lw-wahl button, #stage.hoch .lw-mobil .lo-seg button, #stage.hoch .lw-mobil .kb, #stage.hoch .lw-mobil .lo-tabs button { min-height:52px !important; min-width:52px !important; }
#stage.hoch .lw-mobil .kb-ic { min-width:52px !important; min-height:52px !important; }
#stage.hoch .lw-mobil input:not([type=checkbox]) { min-height:52px !important; }
#stage.hoch .lw-mobil .lo-tabs button { white-space:nowrap; font-size:13px; padding-left:3px; padding-right:3px; }
#stage.hoch .ti-wahl button { min-height:80px; min-width:80px; font-size:18px; }
#stage.hoch .lo-fuss .kb { min-height:80px; font-size:20px; }
#stage.hoch #tchatin { min-height:80px; font-size:18px; }
#stage.hoch :is(.pl .nm2 small, .pl .st, .ti-opt small, .ti-info, #tisch .lo-label, .lo-label small) { font-size:15px; }
#stage.hoch .ti-mitte { overflow-y:auto; overscroll-behavior:contain; align-content:flex-start; }
#stage.hoch .ti-opts { flex:1 1 100%; overflow:visible; }
#stage.hoch .lo-fuss { padding:8px 10px 10px; gap:8px; } #stage.hoch .lo-fuss .kb { white-space:nowrap; font-size:18px; padding:6px 12px; }
@media (pointer: coarse) {
  #stage.hoch #lobby :is(.lw-wahl:not(.lw-ausgabe) button, .lo-seg button, .lo-tabs button, .kb, .kb-ic, .tb-knopf, #chatin, .lw-name input) { min-height:52px; min-width:52px; }
  #stage.hoch #lobby button.lw-info { width:52px; height:52px; margin:-17px -16px -17px -8px; border-radius:26px; }
  #stage.hoch #lobby:not(.lw-mobil) .lo-haupt { grid-template-rows:minmax(0, 1.25fr) minmax(0, 1fr); }
  #stage.hoch #lobby:not(.lw-mobil) .lo-start { overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; padding-bottom:0; }
  #stage.hoch #lobby:not(.lw-mobil) .lo-optionen { flex:none; overflow:visible; }
  #stage.hoch #lobby:not(.lw-mobil) .lo-los { position:sticky; bottom:0; z-index:2; padding:6px 0 10px; background:linear-gradient(180deg, transparent, var(--panel) 10px); }
}
#stage.hoch .lw-mobil .lang { display:none; }
#stage.hoch .lw-mobil .lo-seg .seg-ic { display:none; }

#stage.hoch :is(.sz-nm small, .sz-krone, .sz-ok, .sz-pk small, .sz-chip, .sz-chip em, .sz-uhr) { font-size:15px; }
#stage.quer-handy :is(.sz-nm small, .sz-krone, .sz-ok, .sz-pk small, .sz-chip, .sz-chip em, .sz-uhr, .sz-erkl) { font-size:16px; }
#stage.hoch .sz-knopf { min-height:66px; font-size:18px; } #stage.quer-handy .sz-knopf { min-height:68px; font-size:18px; }
#stage.hoch .wahl { line-height:1.1; padding:2px 5px; } #stage.hoch .wahl small { white-space:normal; line-height:1.1; text-align:center; } #stage.hoch .wahl.haupt .sgzi { display:none; }
#stage.quer-handy .ov-box { padding:12px 18px; max-height:96%; }
#stage.quer-handy .ov-titel { font-size:24px; margin-bottom:4px; }
#stage.quer-handy .ov-knoepfe { margin-top:8px; }
#stage.quer-handy .overlay .kb { min-height:68px; font-size:17px; }
#stage.quer-handy .hilfe-text { font-size:16px; max-height:330px; } #stage.quer-handy .hilfe-text table { font-size:16px; }
#stage.quer-handy #pop-text { font-size:17px; line-height:1.4; }
#stage.quer-handy .en-unter, #stage.quer-handy .en-unter small, #stage.quer-handy .en-einladung, #stage.quer-handy .en-stat { font-size:16px; }
#stage.quer-handy .en-platz.kopf, #stage.quer-handy .en-platz .nmx small, #stage.quer-handy .en-platz .w small { font-size:16px; }
#stage.quer-handy .bn-unter { font-size:17px; }

#stage.quer-handy .lo-kopf { gap:12px; padding:2px 8px 2px 14px; min-height:74px; }
#stage.quer-handy .lo-logo { font-size:26px; letter-spacing:3px; }
#stage.quer-handy #lobby .lo-raum { display:none; }
#stage.quer-handy #tisch .lo-raum { font-size:17px; white-space:normal; min-width:0; }
#stage.quer-handy .lo-ich { font-size:16px; }
#stage.quer-handy .lo-kopf .kb-ic { width:72px; height:68px; } #stage.quer-handy .lo-kopf .kb-ic .sgzi { width:28px; height:28px; }
#stage.quer-handy .lo-kopf .kb, #stage.quer-handy .lo-fuss .kb, #stage.quer-handy #ls-knopf { min-height:68px; font-size:17px; padding:6px 16px; }
#stage.quer-handy .lo-streifen { margin:6px 8px 0; padding:4px 10px; gap:10px; }
#stage.quer-handy .ls-text, #stage.quer-handy .ls-text small { font-size:16px; }
#stage.quer-handy .lo-haupt { grid-template-columns:minmax(0, 1.15fr) minmax(0, 1fr); gap:8px; padding:6px 8px; }
#stage.quer-handy .lo-start { overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; padding:8px 10px 0; gap:6px; }
#stage.quer-handy .lo-optionen { flex:none; overflow:visible; row-gap:6px; column-gap:10px; }
#stage.quer-handy .lo-label, #stage.quer-handy .lo-label small { font-size:16px; letter-spacing:1px; }
#stage.quer-handy .lo-seg button { min-height:68px; font-size:17px; }
#stage.quer-handy .lw-titel, #stage.quer-handy .lw-titel b { font-size:16px; }
#stage.quer-handy .lw-wahl:not(.lw-ausgabe) button { min-height:68px; min-width:68px; padding:4px 12px; font-size:17px; }
#stage.quer-handy .lw-ausgabe button { min-height:68px; font-size:16px; } #stage.quer-handy .lw-ausgabe button b { font-size:17px; }
#stage.quer-handy button.lw-info { width:68px; height:68px; margin:-25px -20px -25px -10px; font-size:16px; border-radius:34px; background:radial-gradient(circle at center, var(--akz-hell) 0 13px, transparent 13.5px); }
#stage.quer-handy .lw-box, #stage.quer-handy .lw-schritt, #stage.quer-handy .lw-an-titel { font-size:16px; }
#stage.quer-handy .lw-schritt { grid-template-columns:26px minmax(0, 1fr); } #stage.quer-handy .lw-schritt > b { width:26px; height:26px; font-size:16px; }
#stage.quer-handy .lw-name input { min-height:68px; font-size:17px; } #stage.quer-handy .lw-wuerfel { width:68px; }
#stage.quer-handy .lo-los { position:sticky; bottom:0; z-index:2; padding:6px 0 8px; background:linear-gradient(180deg, transparent, var(--panel) 10px); }
#stage.quer-handy .lo-los .kb-gross { min-height:68px; font-size:19px; } #stage.quer-handy .lo-los-hin { font-size:16px; }
#stage.quer-handy .lo-rechts { grid-template-rows:minmax(0, 1fr) 146px; gap:8px; }
#stage.quer-handy .lo-rechts .lo-spieler, #stage.quer-handy .lo-rechts .lo-chat { padding:6px 8px; }
#stage.quer-handy .lo-tabs { margin-bottom:6px; } #stage.quer-handy .lo-tabs button { min-height:68px; font-size:16px; padding:4px; }
#stage.quer-handy .lo-seg button, #stage.quer-handy .lo-tabs button { white-space:nowrap; }
#stage.quer-handy .lo-hinweis, #stage.quer-handy .it { font-size:16px; }
#stage.quer-handy .tb { gap:8px; padding:6px 8px; } #stage.quer-handy .tb-kopf { font-size:17px; } #stage.quer-handy :is(.tb-kopf .frei, .tb-sub, .tb-route) { font-size:16px; }
#stage.quer-handy .tb-knopf { min-height:68px; font-size:16px; }
#stage.quer-handy .st-k small, #stage.quer-handy .ar, #stage.quer-handy .ar-sub { font-size:16px; }
#stage.quer-handy #lobby .lo-chat .lo-label { display:none; }
#stage.quer-handy #chatwin, #stage.quer-handy #tchatwin { font-size:16px; padding:5px 8px; }
#stage.quer-handy #chatin, #stage.quer-handy #tchatin { min-height:68px; margin-top:4px; font-size:17px; }
#stage.quer-handy .ti-mitte { gap:8px; padding:6px 8px; }
#stage.quer-handy .ti-plaetze { flex:0 0 250px; gap:5px; }
#stage.quer-handy .pl { padding:5px 8px; gap:8px; } #stage.quer-handy .pl .nm2 { font-size:17px; } #stage.quer-handy :is(.pl .nm2 small, .pl .st) { font-size:16px; }
#stage.quer-handy .ti-opts { padding:8px 10px; gap:8px; }
#stage.quer-handy .ti-opt { font-size:17px; } #stage.quer-handy .ti-opt small { display:block; margin:0; font-size:16px; }
#stage.quer-handy .ti-wahl button { min-height:68px; min-width:68px; font-size:17px; padding:4px 12px; }
#stage.quer-handy .ti-info { font-size:16px; }
#stage.quer-handy .ti-chat { flex:0 0 250px; padding:6px 8px; }
#stage.quer-handy .lo-fuss { padding:4px 8px; gap:8px; }


#grund { position:absolute; inset:0; z-index:0; background:var(--grund-q) center/cover no-repeat; }
#grund::after { content:""; position:absolute; inset:0; background:var(--abdunkeln); }
#stage.hoch #grund { background-image:var(--grund-h); }
#stage.lobbyhg #grund { filter:blur(3px) brightness(.85); }
:root[data-theme="light"] #stage.lobbyhg #grund { filter:blur(3px) brightness(1.02); }
#grund::before { content:""; position:absolute; left:-15%; top:30%; width:60%; height:50%; z-index:1; pointer-events:none;
  background:radial-gradient(ellipse at center, rgba(235,245,245,.14), transparent 65%); animation:dampf 30s ease-in-out infinite alternate; }
html[data-design="nebel"]:not([data-theme="light"]) #grund::before { background:radial-gradient(ellipse at center, rgba(220,235,230,.22), transparent 62%); animation-duration:18s; }
@keyframes dampf { to { transform:translate(70%, -12%); opacity:.55; } }
@media (prefers-reduced-motion: reduce) { #grund::before { animation:none; } }

#feld { position:absolute; left:12px; top:74px; right:340px; bottom:10px; z-index:2; display:flex; flex-direction:column; gap:8px; }
#seite { position:absolute; right:12px; top:74px; width:316px; z-index:3; display:flex; flex-direction:column; gap:10px; }
#seite .panel { position:relative; }
#tafel { flex:none; padding:10px 12px 12px; }
#pchat { flex:none; height:230px; }

#tischplatte { position:relative; flex:1 1 auto; min-height:300px; margin:0 26px 18px; border-radius:18px;
  background:linear-gradient(180deg, rgba(255,236,200,.06), rgba(0,0,0,.12)), var(--holz) center/cover, linear-gradient(180deg, var(--holz-a), var(--holz-b));
  box-shadow:inset 0 2px 0 rgba(255,230,190,.25), inset 0 0 40px rgba(30,16,4,.35), 0 24px 36px var(--schatten); }
#tischplatte::after { content:""; position:absolute; left:8px; right:8px; bottom:-18px; height:20px; border-radius:0 0 16px 16px; background:linear-gradient(180deg, var(--holz-b), var(--holz-kante)); z-index:-1; }
#tischplaetze { position:absolute; inset:0; }

.bildnis { display:inline-flex; align-items:center; justify-content:center; flex:none; border-radius:50%; background-size:cover; background-position:center; background-color:#4a5a62;
  border:3px solid var(--sf, var(--akz)); box-shadow:0 3px 6px rgba(0,0,0,.45); color:#fff6e4; font:900 20px/1 var(--kopf); }
.bildnis.mensch { background:radial-gradient(circle at 35% 30%, #3e6474, #1a2e38); }
.pz { position:absolute; display:flex; align-items:center; gap:12px; }
.pz.pos-unten { left:50%; bottom:14px; transform:translateX(-50%); }
.pz.pos-oben { left:50%; top:14px; transform:translateX(-50%); flex-direction:row-reverse; }
.pz.pos-links { left:16px; top:50%; transform:translateY(-50%); flex-direction:column; align-items:flex-start; gap:6px; }
.pz.pos-rechts { right:16px; top:50%; transform:translateY(-50%); flex-direction:column; align-items:flex-end; gap:6px; }
.pz .pz-reihe { display:flex; align-items:center; gap:10px; }
.pz.pos-rechts .pz-reihe { flex-direction:row-reverse; }
.pz-kopf { display:flex; align-items:center; gap:8px; }
.pz.pos-oben .pz-kopf { flex-direction:row-reverse; }
.pz-kopf .bildnis { width:54px; height:54px; }
.schild { display:flex; flex-direction:column; gap:1px; padding:4px 10px 5px; width:176px; border-radius:6px; background:var(--schild); color:var(--schild-t);
  box-shadow:0 3px 8px var(--schatten); border:1px solid rgba(40,50,60,.35); }
.schild b { font:700 15px/1.15 var(--kopf); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.schild .lage { font-size:12.5px; font-weight:700; color:#3e4a52; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; height:16px; font-variant-numeric:lining-nums tabular-nums;font-kerning:none; }
.pz.zug .schild { box-shadow:0 0 0 3px var(--akz-hell), 0 3px 8px var(--schatten); }
.pz.raus { opacity:.55; }
.pz.raus .schild b { text-decoration:line-through; }
.pz.gesperrt .schild { border-style:dashed; }
.pz-turm { position:relative; width:84px; height:84px; flex:none; display:flex; align-items:flex-end; justify-content:center; }
.pz-turm svg { width:100%; height:auto; display:block; filter:drop-shadow(2px 5px 4px rgba(30,16,4,.45)); pointer-events:none; }
.pz-turm b, .pz-ab .ab-k, .pz-ab .ab-n { pointer-events:none; }
.pz-turm b { position:absolute; left:50%; bottom:-4px; transform:translateX(-50%); min-width:34px; padding:1px 7px; border-radius:10px; text-align:center; background:#2a1a0a; color:#f8ecd2;
  font:800 14px/1.3 var(--sans); font-variant-numeric:lining-nums tabular-nums;font-kerning:none; box-shadow:0 2px 3px rgba(0,0,0,.4); }
.pz.ich .pz-turm { cursor:pointer; }
.pz.ich.zug .pz-turm svg { animation:turmPuls 1s ease-in-out infinite alternate; }
@keyframes turmPuls { to { filter:drop-shadow(0 0 10px rgba(255,216,138,.95)); transform:translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .pz.ich.zug .pz-turm svg { animation:none; } }
.pz-ab { position:relative; width:156px; height:120px; flex:none; border-radius:9px; border:2px dashed rgba(60,36,14,.45); }
.pz-ab .ab-k { position:absolute; inset:-2px; }
.pz-ab .ab-k svg { width:100%; height:100%; display:block; filter:drop-shadow(3px 6px 5px rgba(30,16,4,.42)); }
.pz-ab .ab-unter { transform:rotate(-5deg) translate(-4px, 3px); filter:brightness(.8); }
.pz-ab .ab-n { position:absolute; right:-10px; top:-10px; z-index:3; min-width:28px; padding:0 6px; border-radius:12px; background:#f1ebdd; color:#2a1a0a; font:800 13px/24px var(--sans); text-align:center;
  box-shadow:0 2px 3px rgba(0,0,0,.4); font-variant-numeric:lining-nums tabular-nums;font-kerning:none; }
.pz-ab.unterwegs .ab-oben { visibility:hidden; }
.ab-oben.neu { animation:aufKiste .35s ease-out; }
@keyframes aufKiste { from { filter:brightness(1.6) drop-shadow(0 0 16px rgba(255,246,200,.9)); } to { filter:none; } }
.pz-ab.fuenf .ab-oben svg { filter:drop-shadow(0 0 10px rgba(255,220,120,.95)); }

#glocke { position:absolute; left:50%; top:50%; width:150px; height:160px; margin:-86px 0 0 -75px; padding:0; border:0; background:none; cursor:pointer; z-index:4; touch-action:none; border-radius:50%; }
#glocke svg, #glocke-hand svg { width:100%; height:100%; display:block; pointer-events:none; filter:drop-shadow(0 6px 8px rgba(0,0,0,.35)); }
#glocke .skg-glocke-koerper, #glocke-hand .skg-glocke-koerper { transform-origin:70px 20px; }
#glocke.schwingt .skg-glocke-koerper, #glocke-hand.schwingt .skg-glocke-koerper { animation:schwingen .55s ease-out; }
@keyframes schwingen { 0% { transform:rotate(0); } 20% { transform:rotate(-14deg); } 45% { transform:rotate(11deg); } 70% { transform:rotate(-6deg); } 100% { transform:rotate(0); } }
#glocke.gedrueckt svg, #glocke-hand.gedrueckt svg { transform:translateY(4px) scale(.97); }
#glocke.zu, #glocke-hand.zu { cursor:default; opacity:.55; }
#glocke.zu svg, #glocke-hand.zu svg { filter:grayscale(.4) drop-shadow(0 6px 8px rgba(0,0,0,.35)); }
#glocke.wartet::after { content:""; position:absolute; inset:-10px; border-radius:50%; border:3px dashed rgba(255,236,170,.75); animation:drehen 3s linear infinite; pointer-events:none; }
@keyframes drehen { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #glocke.schwingt .skg-glocke-koerper, #glocke-hand.schwingt .skg-glocke-koerper, #glocke.wartet::after { animation:none; } }
#glocke-hand { display:none; flex:none; width:130px; height:130px; padding:0; border:0; background:radial-gradient(circle at 50% 60%, rgba(255,236,190,.16), transparent 70%); cursor:pointer; touch-action:none; border-radius:50%; }
@media (pointer: coarse) { #glocke-hand { display:block; } }
#stage.hoch #glocke-hand, #stage.quer-handy #glocke-hand { display:block; }

#zeiten { position:absolute; left:50%; top:calc(50% + 82px); transform:translateX(-50%); z-index:5; display:flex; flex-wrap:wrap; justify-content:center; gap:4px 8px; max-width:420px; pointer-events:none; }
#zeiten span { padding:2px 9px; border-radius:10px; font:700 13px/1.5 var(--sans); background:var(--schild); color:var(--schild-t); box-shadow:0 2px 4px var(--schatten); white-space:nowrap; font-variant-numeric:lining-nums tabular-nums;font-kerning:none; }
#zeiten span.sieg { background:#f2c65a; color:#2a1d04; }
#zeiten span.fehl, #zeiten span.frueh { background:#c84a36; color:#fff; }
#zaehlhilfe { position:absolute; left:16px; bottom:16px; z-index:5; display:flex; flex-direction:column; gap:3px; padding:6px 10px; border-radius:8px; background:var(--panel-solid); border:1px solid var(--linie); }
#zaehlhilfe .zh { display:flex; align-items:center; gap:6px; font:700 14px var(--sans); color:var(--text); font-variant-numeric:lining-nums tabular-nums;font-kerning:none; }
#zaehlhilfe .zh.fuenf { color:var(--gold); }
#topf { position:absolute; left:calc(50% + 86px); top:calc(50% - 40px); z-index:3; width:70px; height:54px; }
#topf svg { width:100%; height:100%; } #topf b { position:absolute; right:-8px; top:-8px; padding:0 6px; border-radius:10px; background:#2a1a0a; color:#f8ecd2; font:800 13px/22px var(--sans); }
#count { position:absolute; left:50%; top:22%; transform:translate(-50%, -50%); font:900 110px/1 var(--kopf); color:#fff2cf; text-shadow:0 4px 0 rgba(40,20,4,.6); pointer-events:none; z-index:6; }
#count.an { animation:zaehlen .9s ease-out forwards; }
@keyframes zaehlen { from { transform:translate(-50%, -50%) scale(1.6); opacity:0; } 25% { transform:translate(-50%, -50%) scale(1); opacity:1; } to { opacity:0; } }

#unten { flex:none; height:118px; display:flex; gap:12px; margin:0 26px; }
#bedien { flex:1 1 auto; min-width:0; display:flex; align-items:center; gap:12px; padding:10px 14px; border-radius:12px; background:var(--schild); color:var(--schild-t);
  border:3px solid #2c4a58; box-shadow:inset 0 0 0 2px rgba(255,255,255,.6), 0 8px 18px var(--schatten); }
.auftrag { flex:1; min-width:0; height:84px; overflow:hidden; font-size:15px; line-height:1.38; color:var(--schild-t); display:flex; align-items:center; }
.auftrag > span { display:block; }
.auftrag b { color:#8a3608; }
.bd-knoepfe { flex:none; display:flex; flex-direction:column; gap:6px; width:210px; }
.bd-knoepfe .kb { min-height:46px; }
.bd-knoepfe .schild { width:auto; display:inline-flex; align-items:center; justify-content:center; flex-direction:row; gap:6px; min-height:38px; min-width:0; max-width:none; padding:5px 10px; border-radius:8px; font:700 14px var(--sans);
  color:var(--schild-t); background:#fffaf0; border:1px solid rgba(40,50,60,.45); box-shadow:0 2px 4px var(--schatten); }
.bd-knoepfe .schild.leise { background:#e4ddcc; }
.bd-knoepfe .schild:disabled { opacity:.5; border-style:dashed; }
#b-auf .uhrbalken { display:block; height:4px; border-radius:2px; background:rgba(40,20,0,.5); margin-top:2px; overflow:hidden; } #b-auf .uhrbalken i { display:block; height:100%; background:#3a2a08; }
#b-auf { flex-direction:column; gap:1px; }

.tz { display:grid; grid-template-columns:34px minmax(0, 1fr) auto; align-items:center; gap:8px; padding:5px 6px; border-radius:7px; }
.tz + .tz { margin-top:3px; }
.tz.ich { background:rgba(255,207,106,.1); }
.tz.raus { opacity:.6; }
.tz .bildnis { width:32px; height:32px; font-size:15px; border-width:2px; }
.tz-n { font-weight:700; font-size:14.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tz-n small { display:block; font-weight:500; font-size:12.5px; color:var(--text-3); }
.tz-w { font:900 20px var(--kopf); color:var(--gold); text-align:right; min-width:42px; font-variant-numeric:lining-nums tabular-nums;font-kerning:none; }
.tf-regel { margin-top:8px; padding:6px 8px; border-radius:7px; font-size:12.5px; line-height:1.45; color:var(--text-2); background:rgba(0,0,0,.18); }
:root[data-theme="light"] .tf-regel { background:rgba(40,60,70,.08); }
.tf-regel .skg-fisch { vertical-align:middle; }
.vz { padding:4px 7px; border-left:3px solid var(--akz); background:rgba(0,0,0,.18); border-radius:0 5px 5px 0; color:var(--text-2); font-size:13px; }
:root[data-theme="light"] .vz { background:rgba(255,255,255,.55); }
.vz b { color:var(--text); } .vz small { display:block; color:var(--text-3); font-size:12.5px; }
.vz.sys { border-left-color:transparent; color:var(--text-3); font-style:italic; }
.vz.gut { border-left-color:var(--gruen); } .vz.schlecht { border-left-color:var(--rot); }
.vz .vz-k { display:inline-flex; gap:2px; vertical-align:middle; }

#meldungen { position:absolute; left:50%; top:136px; width:min(560px, 80%); transform:translateX(-50%); z-index:30; display:flex; flex-direction:column; gap:6px; pointer-events:none; }
.meldung { padding:7px 14px; border-radius:9px; background:var(--panel-solid); border:1px solid var(--akz); color:var(--text); font-size:15px; line-height:1.4; text-align:center;
  box-shadow:0 6px 16px rgba(0,0,0,.45); animation:mein .3s ease-out; }
.meldung b { color:var(--akz-hell); }
.meldung .skg-fisch { vertical-align:middle; }
.meldung.weg { opacity:0; transform:translateY(-6px); transition:opacity .5s, transform .5s; }
@keyframes mein { from { opacity:0; transform:translateY(-8px); } }

.ov-box { position:relative; }
.ov-zu { position:sticky; float:right; top:-8px; margin:-8px -14px 0 8px; z-index:5; width:40px; height:40px; border-radius:50%; border:1px solid var(--linie); background:var(--panel2); color:var(--text);
  font:700 24px/1 var(--sans); display:flex; align-items:center; justify-content:center; padding:0; }
.en-podest { display:flex; justify-content:center; align-items:flex-end; gap:16px; margin:4px 0 12px; }
.en-podest .pd { display:flex; flex-direction:column; align-items:center; gap:4px; }
.en-podest .pd .bildnis { width:64px; height:64px; }
.en-podest .pd.p1 .bildnis { width:84px; height:84px; border-color:var(--gold); }
.en-podest .pd b { font:700 14px var(--kopf); max-width:130px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.en-podest .pd .stufe { width:96px; border-radius:6px 6px 0 0; background:linear-gradient(180deg, var(--holz-a), var(--holz-b)); color:#fff4dc; font:900 20px/1 var(--kopf); display:flex; align-items:center; justify-content:center; }
.en-podest .pd.p1 .stufe { height:62px; } .en-podest .pd.p2 .stufe { height:44px; } .en-podest .pd.p3 .stufe { height:30px; } .en-podest .pd.p4 .stufe { height:20px; }
:root[data-theme="light"] .en-liste { background:#1a2a32; border-radius:12px; padding:8px; }

.flieger .skg-kiste { width:100%; height:100%; display:block; filter:drop-shadow(4px 8px 6px rgba(30,16,4,.45)); }

#stage.hoch #kopf { padding:0 8px; gap:6px; height:64px; }
#stage.hoch #kopf .logo, #stage.hoch #kopf .k-phase, #stage.hoch #kopf .trenner { display:none; }
#stage.hoch #kopf .runde b { font-size:17px; } #stage.hoch .runde { font-size:14px; letter-spacing:1px; }
#stage.hoch #kopf .rechts { gap:5px; } #stage.hoch #kopf .kb-ic { width:60px; height:60px; } #stage.hoch #kopf .kb-ic .sgzi { width:24px; height:24px; }
#stage.hoch #k-r-box { display:none; } #stage.hoch #k-verlauf { width:auto; min-width:74px; padding:0 10px; gap:4px; white-space:nowrap; }
#stage.hoch #feld { left:8px; right:8px; top:80px; bottom:8px; gap:12px; }
#stage.hoch #seite { display:none; left:8px; right:8px; width:auto; top:80px; max-height:70%; z-index:45; }
#stage.hoch #seite.offen { display:flex; }
#stage.hoch #pchat { height:300px; }
#stage.hoch #tischplatte { margin:0 4px 16px; }
#stage.hoch .pz-ab { width:118px; height:91px; }
#stage.hoch .pz-turm { width:64px; height:66px; }
#stage.hoch .pz-kopf .bildnis { width:46px; height:46px; }
#stage.hoch .schild { width:140px; padding:3px 7px; }
#stage.hoch .schild b { font-size:15px; } #stage.hoch .schild .lage { font-size:14px; height:19px; }
#stage.hoch .pz.pos-links, #stage.hoch .pz.pos-rechts { top:calc(50% + 6px); }
#stage.hoch .pz.pos-links { left:8px; } #stage.hoch .pz.pos-rechts { right:8px; }
#stage.hoch .pz.pos-links .pz-reihe, #stage.hoch .pz.pos-rechts .pz-reihe { flex-direction:column; gap:6px; }
#stage.hoch .pz.pos-links .pz-kopf, #stage.hoch .pz.pos-rechts .pz-kopf { flex-direction:column; gap:3px; }
#stage.hoch #glocke { width:112px; height:120px; margin:-60px 0 0 -56px; }
#stage.hoch #zeiten { top:calc(50% + 66px); max-width:300px; } #stage.hoch #zeiten span { font-size:14px; }
#stage.hoch #unten { height:auto; flex-direction:column; margin:0 4px; gap:10px; }
#stage.hoch #bedien { flex-direction:column; align-items:stretch; }
#stage.hoch .auftrag { height:66px; font-size:16px; }
#stage.hoch .bd-knoepfe { width:auto; flex-direction:row; } #stage.hoch .bd-knoepfe > * { flex:1; }
#stage.hoch .bd-knoepfe .kb, #stage.hoch .bd-knoepfe .schild { min-height:60px; font-size:17px; }
#stage.hoch #glocke-hand { align-self:center; width:180px; height:180px; }
#stage.hoch #meldungen { top:150px; } #stage.hoch .meldung { font-size:15px; }
#stage.hoch :is(.tz-n small, .vz, .vz small, .tf-regel, .ch-tabs button) { font-size:14px; }
#stage.hoch #zaehlhilfe { left:8px; bottom:auto; top:8px; }

#stage.quer-handy #kopf { height:74px; padding-left:12px; gap:10px; }
#stage.quer-handy #kopf .logo { font-size:18px; } #stage.quer-handy #kopf .logo small, #stage.quer-handy .runde { font-size:16px; }
#stage.quer-handy #kopf .k-phase { display:none; }
#stage.quer-handy #kopf .kb-ic { width:74px; height:68px; }
#stage.quer-handy #feld { top:90px; right:56px; left:56px; bottom:22px; gap:22px; flex-direction:row; }
#stage.quer-handy #k-verlauf { font-size:16px; width:auto; padding:0 10px; gap:4px; white-space:nowrap; }
#stage.quer-handy #unten { justify-content:space-between; }
#stage.quer-handy #bedien { flex:none; }
#stage.quer-handy #seite { display:none; left:auto; right:8px; width:420px; top:90px; bottom:8px; z-index:45; }
#stage.quer-handy #seite.offen { display:flex; } #stage.quer-handy #pchat { flex:1 1 auto; height:auto; }
#stage.quer-handy #tischplatte { margin:0 0 14px 0; flex:1 1 auto; }
#stage.quer-handy #unten { height:auto; width:250px; flex-direction:column; margin:0; }
#stage.quer-handy #bedien { flex-direction:column; align-items:stretch; padding:8px; }
#stage.quer-handy .auftrag { height:150px; flex:none; font-size:16px; }
#stage.quer-handy .bd-knoepfe { width:auto; }
#stage.quer-handy .bd-knoepfe .kb, #stage.quer-handy .bd-knoepfe .schild { min-height:68px; font-size:17px; }
#stage.quer-handy #glocke-hand { align-self:center; width:180px; height:180px; }
#stage.quer-handy .schild b { font-size:17px; } #stage.quer-handy .schild .lage { font-size:16px; height:20px; }
#stage.quer-handy .schild { width:176px; padding:3px 8px; }
#stage.quer-handy .pz-ab { width:120px; height:92px; } #stage.quer-handy .pz-turm { width:64px; height:66px; }
#stage.quer-handy .pz-kopf .bildnis { width:46px; height:46px; }
#stage.quer-handy #glocke { width:120px; height:128px; margin:-64px 0 0 -60px; }
#stage.quer-handy .meldung, #stage.quer-handy #zeiten span, #stage.quer-handy .pz-turm b, #stage.quer-handy .pz-ab .ab-n, #stage.quer-handy #zaehlhilfe .zh { font-size:16px; }
#stage.quer-handy #meldungen { top:96px; }
#stage.quer-handy :is(.tz-n, .tz-n small, .vz, .vz small, .tf-regel, .ch-tabs button) { font-size:16px; }
@media (pointer: coarse) {
  #stage.hoch .bd-knoepfe .kb, #stage.hoch .bd-knoepfe .schild { min-height:60px; font-size:17px; }
  .ov-zu { width:52px; height:52px; }
  .schild .lage { font-size:14px; }
  .bd-knoepfe .kb, .bd-knoepfe .schild { min-height:52px; }
}

.tg-l { margin-top:4px; }
.lw-klein { margin-top:6px; flex-wrap:wrap; }
.li-block { margin-bottom:10px; } .li-block .it { display:flex; gap:6px; align-items:baseline; } .li-block .it i { margin-left:auto; color:var(--gold); font-style:normal; font-weight:800; }
.lw-bsp { margin-top:6px; align-self:flex-start; }
.bsp { display:flex; flex-direction:column; gap:10px; text-align:left; }
.bsp-reihe { display:flex; align-items:center; gap:12px; }
.bsp-ka { display:flex; gap:4px; flex:none; width:236px; } .bsp-ka > span { display:block; width:76px; height:58px; } .bsp-ka svg { width:100%; height:100%; display:block; }
.bsp-t { font-size:14px; line-height:1.35; } .bsp-t .ok { color:var(--gruen); font-size:18px; } .bsp-t .nein { color:var(--rot); font-size:18px; } .bsp-t i { color:var(--text-2); }
.bsp-tipp { font-size:14px; color:var(--text-2); font-style:italic; }
#stage.hoch .bsp-t, #stage.hoch .bsp-tipp { font-size:15px; } #stage.hoch .bsp-reihe { flex-direction:column; align-items:flex-start; }
#stage.quer-handy .bsp-t, #stage.quer-handy .bsp-tipp { font-size:16px; }
.plus { position:absolute; z-index:64; transform:translate(-50%, -50%); font:900 26px/1 var(--kopf); pointer-events:none; text-shadow:0 2px 3px rgba(0,0,0,.5); animation:plusAuf 1.2s ease-out forwards; white-space:nowrap; }
.plus.gut { color:#7fe08a; } .plus.schlecht { color:#ff9a84; }
:root[data-theme="light"] .plus.gut { color:#1f7a2e; text-shadow:0 1px 0 #fff; } :root[data-theme="light"] .plus.schlecht { color:#b02a1e; text-shadow:0 1px 0 #fff; }
@keyframes plusAuf { 0% { opacity:0; transform:translate(-50%, -20%) scale(.7); } 20% { opacity:1; transform:translate(-50%, -60%) scale(1.1); } 100% { opacity:0; transform:translate(-50%, -160%) scale(1); } }
@media (prefers-reduced-motion: reduce) { .plus { animation:none; } }
#glocke, #glocke-hand, #glocke *, #b-auf > *, .bd-knoepfe .schild > * { -webkit-user-select:none; }
#b-auf > *, .bd-knoepfe .schild > * { pointer-events:none; }

#zeiten .summen { flex-basis:100%; display:flex; justify-content:center; gap:6px; margin-bottom:2px; }
#zeiten .sum { display:inline-flex; align-items:center; gap:4px; padding:1px 8px; border-radius:10px; font:800 14px/1.6 var(--sans); background:var(--schild); color:var(--schild-t); box-shadow:0 2px 4px var(--schatten); font-variant-numeric:lining-nums tabular-nums;font-kerning:none; }
#zeiten .sum.fuenf { background:#f2c65a; color:#2a1d04; outline:2px solid #fff3c8; }
#zeiten .sum .skg-fisch { width:26px; height:13px; }
.pz.kuendigt .pz-turm svg { filter:drop-shadow(0 0 10px rgba(255,236,170,.95)) drop-shadow(2px 5px 4px rgba(30,16,4,.45)); transform:translateY(-3px); transition:transform .15s, filter .15s; }
#b-auf.knapp { background:linear-gradient(#ffb59a, #d8573a) !important; border-color:#ffe0d4; animation:puls .5s infinite alternate; }
@media (prefers-reduced-motion: reduce) { #b-auf.knapp { animation:none; } }
.en-rekord { flex-basis:100%; text-align:center; color:var(--text); }
.en-rekord b { color:var(--gold); }
.bsp-titel { margin-top:6px; font:700 13px var(--sans); letter-spacing:1.5px; text-transform:uppercase; color:var(--akz-hell); }
#stage.hoch #glocke { display:none; }
#stage.hoch #zeiten { top:50%; transform:translate(-50%, -50%); }
#stage.hoch .pz-ab { width:142px; height:109px; }
#stage.hoch .pz-turm { width:70px; height:72px; }
#stage.quer-handy :is(#zeiten .sum, .bsp-titel) { font-size:16px; }
#tischplatte { margin-left:40px; margin-right:40px; } #unten { margin-left:40px; margin-right:40px; } #pchat { height:200px; }
#stage.hoch #tischplatte { margin-left:4px; margin-right:4px; } #stage.hoch #unten { margin-left:4px; margin-right:4px; } #stage.hoch #pchat { height:300px; }
#stage.quer-handy #tischplatte, #stage.quer-handy #unten { margin-left:0; margin-right:0; }

#unten { height:132px; }
.bd-text { flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; }
#ansage { height:44px; overflow:hidden; display:flex; align-items:center; font-size:15px; line-height:1.4; color:var(--schild-t); border-bottom:1px dashed rgba(40,50,60,.35); padding-bottom:3px; }
#ansage b { color:#8a3608; }
#ansage .skg-fisch { vertical-align:middle; width:26px; height:13px; }
#ansage.neu { animation:ansageNeu .5s ease-out; }
#ansage.alt { color:#5c6670; }
@keyframes ansageNeu { from { background:rgba(242,198,90,.55); } to { background:transparent; } }
@media (prefers-reduced-motion: reduce) { #ansage.neu { animation:none; } }
#bedien .auftrag { height:auto; flex:1; min-height:0; font-size:14.5px; }
#count { top:50%; }
.pz-ab { border-color:rgba(255,240,210,.55); background:rgba(255,240,210,.08); }
#stage.hoch #ansage { height:62px; font-size:15px; } #stage.hoch #bedien .auftrag { height:46px; flex:none; font-size:15px; }
#stage.quer-handy #ansage { height:96px; font-size:16px; align-items:flex-start; } #stage.quer-handy #bedien .auftrag { height:auto; font-size:16px; }
#stage.quer-handy .bd-text { flex:none; }
.schild { width:198px; } #stage.quer-handy .schild { width:190px; } #stage.hoch .schild { width:140px; }
.bsp-ka { width:300px; } .bsp-ka > span { width:96px; height:73px; }
#stage.hoch .bsp-ka { width:auto; }
#stage.hoch .schild b { white-space:normal; overflow:visible; text-overflow:clip; line-height:1.1; }
#stage.quer-handy .schild { width:208px; }
#stage.quer-handy #bedien { flex:1 1 auto; min-height:0; }
#stage.quer-handy #ansage { height:auto; flex:1 1 auto; min-height:0; }
#stage.quer-handy .bd-text { flex:1 1 auto; min-height:0; }
#stage.quer-handy #bedien .auftrag { flex:none; height:68px; overflow:hidden; }
#stage.quer-handy #glocke-hand { width:150px; height:150px; flex:none; }
#stage.quer-handy .blase { font-size:17px; } #stage.hoch .blase { font-size:15px; }
#unten { height:150px; }
#ansage { height:64px; }
#stage.hoch #ansage { height:86px; }
#stage.quer-handy #bedien .auftrag { height:96px; }
#stage.quer-handy .ov-zu { width:68px; height:68px; font-size:30px; margin:-8px -14px 0 8px; } #stage.hoch .ov-zu { width:60px; height:60px; font-size:28px; }
.ti-wahl.gesperrt button { opacity:.45; border-style:dashed; }
.ti-grund { display:block; margin:2px 0 0; color:var(--text-3); font-size:12.5px; font-style:italic; }
.ti-grund:empty { display:none; }
#stage.quer-handy .ti-grund { font-size:16px; } #stage.hoch .ti-grund { font-size:15px; }
#stage.hoch #bedien .auftrag { height:68px; }
#stage.hoch .banner, #stage.quer-handy .banner, #stage.hoch #hinweis, #stage.quer-handy #hinweis { left:50%; }
.banner { max-width:calc(100% - 32px); box-sizing:border-box; }
#stage.hoch .banner { min-width:0; width:calc(100% - 48px); }
#stage.hoch .bn-titel { font-size:34px; letter-spacing:3px; }
#stage.hoch #hinweis { max-width:calc(100% - 32px); }

.skg-flagge { display:inline-block; vertical-align:-4px; }
#zeiten .summen br { display:block; content:""; margin:2px 0; }
.pz.zwei .pz-reihe { gap:8px; }
.pz.zwei .pz-ab { width:138px; height:106px; }
#stage.hoch .pz.zwei .pz-ab { width:100px; height:77px; }
#stage.quer-handy .pz.zwei .pz-ab { width:104px; height:80px; }
#glocke[hidden], #glocke-hand[hidden], #eckglocken[hidden] { display:none !important; }
#eckglocken { position:absolute; inset:0; pointer-events:none; z-index:6; }
.eck { position:absolute; width:124px; height:124px; padding:0; border:0; background:none; cursor:pointer; touch-action:none; pointer-events:auto; border-radius:50%; -webkit-tap-highlight-color:transparent; }
.eck::before { content:""; position:absolute; inset:-8px; border-radius:50%; background:radial-gradient(circle, color-mix(in srgb, var(--sf) 42%, transparent) 0%, transparent 70%); pointer-events:none; }
.eck .eck-in { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; pointer-events:none; }
.eck svg { width:92px; height:98px; display:block; filter:drop-shadow(0 6px 8px rgba(0,0,0,.35)); }
.eck .skg-glocke-koerper { transform-origin:70px 20px; }
.eck.schwingt .skg-glocke-koerper { animation:schwingen .55s ease-out; }
.eck.gedrueckt svg { transform:translateY(4px) scale(.96); }
.eck .eck-n { margin-top:-6px; max-width:124px; padding:2px 9px; border-radius:11px; background:color-mix(in srgb, var(--sf) 82%, #000); color:#fff; font:800 13px/19px var(--sans); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; box-shadow:0 2px 6px rgba(0,0,0,.4); border:1.5px solid rgba(255,255,255,.75); }
.eck kbd { position:absolute; top:2px; right:6px; display:inline-block; padding:0 5px; border-radius:4px; background:#f6ecd8; color:#2a1a0a; font:800 12px/16px var(--sans); }
.eck.zu { cursor:default; } .eck.zu svg { opacity:.5; filter:grayscale(.5) drop-shadow(0 6px 8px rgba(0,0,0,.35)); }
.eck.gesperrt .eck-n::after { content:" · gesperrt"; }
.eck.raus .eck-n { opacity:.6; }
.eck.sieg::after { content:""; position:absolute; inset:-4px; border-radius:50%; border:4px solid #ffe08a; animation:eckSieg 1.2s ease-out forwards; pointer-events:none; }
@keyframes eckSieg { 0% { opacity:1; transform:scale(.8); } 100% { opacity:0; transform:scale(1.35); } }
.eck-se { right:8px; bottom:8px; }
.eck-nw { left:8px; top:8px; } .eck-nw .eck-in { transform:rotate(180deg); }
.eck-sw { left:8px; bottom:8px; } .eck-sw .eck-in { transform:rotate(90deg); }
.eck-ne { right:8px; top:8px; } .eck-ne .eck-in { transform:rotate(-90deg); }
#stage.hoch .eck, #stage.quer-handy .eck { width:124px; height:124px; }
#stage.hoch .eck svg, #stage.quer-handy .eck svg { width:80px; height:84px; }
@media (prefers-reduced-motion: reduce) { .eck.schwingt .skg-glocke-koerper, .eck.sieg::after { animation:none; } }
#partie.geraet .pz.pos-oben .pz-kopf .schild { transform:rotate(180deg); }
.lw-namen { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap:6px; }
.lw-nm { display:flex; align-items:center; gap:6px; }
.lw-nm span { flex:none; width:24px; height:24px; border-radius:50%; background:color-mix(in srgb, var(--sf) 80%, #000); color:#fff; font:800 13px/24px var(--sans); text-align:center; border:1.5px solid rgba(255,255,255,.7); }
.lw-nm input { flex:1; min-width:0; padding:6px 10px; background:rgba(0,0,0,.3); color:var(--text); border:1px solid var(--akz); border-radius:8px; outline:none; font-size:16px; }
:root[data-theme="light"] .lw-nm input { background:rgba(255,250,236,.8); }
.lw-aufstell { display:flex; gap:10px; align-items:center; }
.lw-aufstell .auf-bild { flex:none; width:132px; }
.lw-aufstell .auf-text { display:flex; flex-direction:column; gap:4px; align-items:flex-start; }
.lw-aufstell .auf-text .kb { margin-top:2px; }
.aufstell { width:100%; height:auto; display:block; overflow:visible; }
.auf-fenster { white-space:normal; }
.auf-fenster .auf-bild { width:230px; max-width:100%; margin:0 auto 8px; }
.auf-schritte { margin:0; padding-left:22px; display:flex; flex-direction:column; gap:7px; font-size:15px; line-height:1.4; }
.auf-wer { list-style:none; margin:5px 0 0; padding:0; display:flex; flex-direction:column; gap:4px; }
.auf-wer li { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.auf-wer .gf { display:inline-block; width:22px; height:22px; border-radius:50%; color:#fff; font:800 13px/22px var(--sans); text-align:center; border:1.5px solid rgba(255,255,255,.7); }
.auf-fair { margin:10px 0 0; font-size:14px; color:var(--text-2); }
#stage.hoch .lw-namen { grid-template-columns:1fr; }
#stage.hoch .lw-nm input, #stage.quer-handy .lw-nm input { min-height:52px; }
#stage.quer-handy .auf-schritte { font-size:16px; }
.li-pokal { display:flex; gap:8px; align-items:flex-start; font-size:13px; line-height:1.45; color:var(--text-2); background:rgba(255,207,106,.08); border:1px solid rgba(255,207,106,.26); border-radius:8px; padding:7px 10px; }
.li-pokal svg { flex:none; width:22px; height:22px; color:#e9b65c; }
.abz-wand { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:6px; }
.abz { display:grid; grid-template-columns:24px 1fr; column-gap:6px; align-items:start; padding:6px 8px; border-radius:8px; background:rgba(0,0,0,.22); border:1px solid rgba(255,255,255,.08); opacity:.62; }
.abz svg { grid-row:span 2; width:22px; height:22px; color:var(--dim); }
.abz b { font-size:13px; } .abz small { font-size:11.5px; color:var(--text-2); line-height:1.3; }
.abz.hat { opacity:1; background:rgba(255,207,106,.12); border-color:rgba(255,207,106,.45); }
.abz.hat svg { color:#e9b65c; }
:root[data-theme="light"] .abz { background:rgba(255,250,236,.7); border-color:rgba(60,36,14,.15); }
.en-abz { display:flex; gap:6px; flex-wrap:wrap; justify-content:center; }
.en-abz span { display:inline-flex; align-items:center; gap:5px; padding:3px 10px; border-radius:12px; background:rgba(255,207,106,.16); border:1px solid rgba(255,207,106,.5); font-size:13px; }
.en-abz svg { width:16px; height:16px; color:#e9b65c; }
#stage:not(.hoch):not(.quer-handy) #partie.geraet #feld { left:90px; right:90px; }
#stage:not(.hoch):not(.quer-handy) #partie.geraet #seite { display:none; top:74px; max-height:calc(100% - 90px); z-index:45; }
#stage:not(.hoch):not(.quer-handy) #partie.geraet #seite.offen { display:flex; }
#partie.geraet #k-verlauf { width:auto; padding:0 10px; gap:4px; white-space:nowrap; }
#stage.hoch #partie.geraet .pz.pos-unten { bottom:118px; }
#stage.hoch #partie.geraet .pz.pos-oben { top:118px; }
#stage.quer-handy .eck .eck-n, #stage.hoch .eck .eck-n { font-size:16px; line-height:22px; max-width:122px; padding:0 6px; }
#stage.hoch .auf-wer .gf { width:30px; height:30px; font-size:17px; line-height:30px; }
#stage.hoch #pop-btns .kb { min-height:66px; min-width:66px; font-size:18px; }
.tz-liste { min-height:177px; }
#stage:not(.hoch):not(.quer-handy) #seite { bottom:10px; }
#stage:not(.hoch):not(.quer-handy) #pchat { flex:1 1 auto; height:auto; min-height:160px; }
#stage:not(.hoch) #partie.geraet .pz.pos-links { transform:translateY(-50%) rotate(90deg); }
#stage:not(.hoch) #partie.geraet .pz.pos-rechts { transform:translateY(-50%) rotate(-90deg); }

#lehre { position:absolute; inset:0; z-index:4; display:flex; flex-direction:column; }
#lehre .lo-kopf { flex:none; }
.le-feld { flex:1 1 auto; min-height:0; display:flex; flex-direction:column; gap:14px; padding:14px 90px 12px; }
.le-tisch { position:relative; flex:1 1 auto; min-height:260px; border-radius:18px;
  background:linear-gradient(180deg, rgba(255,236,200,.06), rgba(0,0,0,.12)), var(--holz) center/cover, linear-gradient(180deg, var(--holz-a), var(--holz-b));
  box-shadow:inset 0 2px 0 rgba(255,230,190,.25), inset 0 0 40px rgba(30,16,4,.35), 0 24px 36px var(--schatten); }
#le-plaetze { position:absolute; inset:0; }
.le-tisch .pz-ab.blass .ab-oben { filter:brightness(.72) saturate(.7); }
.le-tisch .schild { padding:3px 10px; }
#le-mitte { position:absolute; left:50%; top:50%; transform:translate(-50%, -50%); z-index:5; display:flex; flex-direction:column; align-items:center; gap:5px; pointer-events:none; }
#le-mitte .summen { display:flex; justify-content:center; gap:6px; }
#le-mitte .sum { display:inline-flex; align-items:center; gap:4px; padding:2px 9px; border-radius:10px; font:800 16px/1.6 var(--sans); background:var(--schild); color:var(--schild-t); box-shadow:0 2px 4px var(--schatten); font-variant-numeric:lining-nums tabular-nums; }
#le-mitte .sum.fuenf { background:#f2c65a; color:#2a1d04; outline:2px solid #fff3c8; }
#le-mitte .sum .skg-fisch { width:26px; height:13px; }
.le-unten { flex:none; height:150px; display:flex; gap:12px; align-items:stretch; }
.le-schild { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:4px; padding:10px 16px; border-radius:12px; background:var(--schild); color:var(--schild-t);
  border:3px solid #2c4a58; box-shadow:inset 0 0 0 2px rgba(255,255,255,.6), 0 8px 18px var(--schatten); }
.le-fort { flex:none; font-size:13px; color:#5a4a30; border-bottom:1px dashed rgba(40,50,60,.35); padding-bottom:3px; }
.le-fort b { color:#2c4a58; }
.le-text { flex:1 1 auto; min-height:0; overflow-y:auto; font-size:16px; line-height:1.42; display:flex; align-items:center; }
.le-text b { color:#8a3608; } .le-text b.gut { color:#2f6b1e; } .le-text b.schlecht { color:#a3261b; }
.le-text .skg-fisch { vertical-align:middle; }
.le-text.neu > span { animation:leNeu .4s ease-out; }
@keyframes leNeu { from { opacity:.2; } to { opacity:1; } }
.le-knoepfe { flex:none; width:230px; display:flex; flex-direction:column; justify-content:center; gap:8px; }
.le-knoepfe .kb { min-height:50px; white-space:normal; text-align:center; line-height:1.2; }
.le-glocke { position:relative; flex:none; width:150px; padding:0; border:0; background:radial-gradient(circle at 50% 60%, rgba(255,236,190,.18), transparent 70%); cursor:pointer; touch-action:none; border-radius:50%; }
.le-glocke svg { width:100%; height:100%; display:block; pointer-events:none; filter:drop-shadow(0 6px 8px rgba(0,0,0,.35)); }
.le-glocke .skg-glocke-koerper { transform-origin:70px 20px; }
.le-glocke.schwingt .skg-glocke-koerper { animation:schwingen .55s ease-out; }
.le-glocke.gedrueckt svg { transform:translateY(4px) scale(.97); }
.le-glocke.zu { cursor:default; } .le-glocke.zu svg { opacity:.5; filter:grayscale(.45) drop-shadow(0 6px 8px rgba(0,0,0,.35)); }
@media (prefers-reduced-motion: reduce) { .le-glocke.schwingt .skg-glocke-koerper, .le-text.neu > span { animation:none; } }
.le-menu-liste { display:flex; flex-direction:column; gap:6px; min-width:420px; }
.le-menu-liste .lo-label { margin-top:6px; }
.le-lek { display:flex; align-items:center; gap:12px; text-align:left; padding:8px 12px; border-radius:9px; background:rgba(0,0,0,.25); border:1px solid var(--linie); color:var(--text); font-size:16px; }
.le-lek small { display:block; font-size:13px; color:var(--text-2); font-weight:400; }
.le-lek:hover { border-color:var(--akz-hell); }
.le-lek .le-nr { flex:none; width:32px; height:32px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:#2c4a58; color:#fff; font:800 16px var(--sans); }
.le-lek.fertig .le-nr { background:#2f6b1e; } .le-lek .le-nr .sgzi { width:18px; height:18px; }
:root[data-theme="light"] .le-lek { background:rgba(255,250,236,.75); }
.le-hinweis { margin:8px 0 0; font-size:13px; color:var(--text-2); }
#stage.hoch .le-feld { padding:10px 6px 8px; gap:10px; }
#stage.hoch .le-unten { height:auto; flex-wrap:wrap; }
#stage.hoch .le-schild { flex:1 1 100%; min-height:170px; }
#stage.hoch .le-text { font-size:17px; }
#stage.hoch .le-fort { font-size:15px; }
#stage.hoch .le-knoepfe { flex:1 1 auto; width:auto; }
#stage.hoch .le-knoepfe .kb { min-height:66px; font-size:18px; }
#stage.hoch .le-glocke { width:150px; height:150px; }
#stage.hoch .le-menu-liste { min-width:0; }
#stage.hoch .le-lek { min-height:66px; font-size:18px; } #stage.hoch .le-lek small { font-size:15px; }
#stage.hoch #lehre .lo-kopf .kb { min-height:66px; font-size:16px; } #stage.hoch #lehre .lo-kopf .kb-ic { width:66px; height:66px; }
#stage.hoch .le-menu-liste .lo-label { font-size:16px; }
#stage.hoch #le-mitte { top:31%; }
#stage.quer-handy .le-feld { flex-direction:row; padding:10px 10px 10px 40px; }
#stage.quer-handy .le-unten { height:auto; width:300px; flex-direction:column; }
#stage.quer-handy .le-schild { flex:1 1 auto; min-height:0; }
#stage.quer-handy .le-text, #stage.quer-handy .le-fort { font-size:16px; }
#stage.quer-handy .le-knoepfe { width:auto; }
#stage.quer-handy .le-knoepfe .kb { min-height:68px; font-size:17px; }
#stage.quer-handy .le-glocke { width:124px; height:124px; align-self:center; }
#stage.quer-handy #lehre .lo-kopf .kb { min-height:68px; font-size:17px; }
#stage.quer-handy .le-lek { min-height:68px; font-size:17px; } #stage.quer-handy .le-lek small { font-size:16px; }
#stage.quer-handy #le-mitte .sum { font-size:16px; }
#lehre .lo-kopf-r { margin-left:auto; }
.le-tisch .pz-ab .ab-unter { transform:rotate(-7deg) translate(-44%, -8%); filter:brightness(.8); }
.le-tisch .pz-kopf { position:relative; z-index:2; }
#stage.hoch .le-hinweis, #stage.quer-handy .le-hinweis { font-size:16px; }
.lw-kind { flex:none; min-width:58px; padding:5px 8px; border-radius:8px; border:1px solid var(--linie); background:rgba(0,0,0,.25); color:var(--text-2); font:700 13px var(--sans); }
.lw-kind.an { background:#f2c65a; color:#2a1d04; border-color:#fff3c8; }
:root[data-theme="light"] .lw-kind { background:rgba(255,250,236,.8); color:#3a2a10; }
#stage.hoch .lw-kind, #stage.quer-handy .lw-kind { min-height:52px; min-width:66px; font-size:16px; }
.en-ausw { margin-top:12px; padding:10px 14px; border-radius:10px; background:rgba(255,207,106,.08); border:1px solid rgba(255,207,106,.3); font-size:15px; line-height:1.45; color:var(--text); }
.ea-titel { font-family:var(--kopf); font-weight:900; color:var(--akz-hell); font-size:17px; margin-bottom:6px; }
.ea-zeiten { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:6px; }
.ea-zeiten .sum { display:inline-flex; align-items:center; gap:4px; padding:2px 9px; border-radius:10px; font:800 14px/1.6 var(--sans); background:var(--schild); color:var(--schild-t); font-variant-numeric:lining-nums tabular-nums; }
.ea-zeiten .sum.langsam { background:#f0b49a; outline:2px solid #fff0e6; }
.ea-zeiten .skg-fisch { width:26px; height:13px; }
.ea-liste { margin:0 0 6px; padding-left:20px; }
.ea-tipp { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.ea-tipp > span { font-weight:700; color:var(--text-2); }
#stage.hoch .en-ausw, #stage.quer-handy .en-ausw { font-size:16px; }
#stage.hoch .ea-tipp .kb, #stage.quer-handy .ea-tipp .kb { min-height:56px; font-size:16px; }
#stage.hoch #partie.geraet :is(.pz.pos-links, .pz.pos-rechts) .schild { writing-mode:vertical-rl; width:auto; height:150px; padding:7px 3px; }
#stage.hoch #partie.geraet :is(.pz.pos-links, .pz.pos-rechts) .schild .lage { height:auto; width:19px; }
#stage.hoch #partie.geraet .pz.pos-rechts .schild { transform:rotate(180deg); }
#stage.hoch .lo-seg { flex-wrap:wrap; }
#stage.hoch .lo-seg button { flex:1 1 45%; }
#stage.hoch .lo-seg button:nth-child(3) { border-left:0; }
#stage.hoch .lo-seg button:nth-child(n+3) { border-top:1px solid var(--linie); }
#stage.hoch #partie.geraet .pz-ab { width:100px; height:77px; }
#stage.hoch #partie.geraet .pz-turm { width:58px; height:60px; }
#stage.hoch #partie.geraet .pz.pos-links, #stage.hoch #partie.geraet .pz.pos-rechts { top:44%; }
#stage.hoch .lw-aufstell .auf-bild { display:none; }
#stage.hoch #lobby:not(.lw-mobil) .lo-haupt { grid-template-rows:minmax(0, 1.25fr) minmax(0, 1fr); }
#stage.hoch #lobby:not(.lw-mobil) .lo-start { overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; padding-bottom:0; }
#stage.hoch #lobby:not(.lw-mobil) .lo-optionen { flex:none; overflow:visible; }
#stage.hoch #lobby:not(.lw-mobil) .lo-los { position:sticky; bottom:0; z-index:2; padding:6px 0 10px; background:linear-gradient(180deg, transparent, var(--panel) 10px); }

.le-voll { display:inline-flex; gap:8px; }
#tisch .lo-kopf-r { margin-left:auto; }
#stage:not(.hoch):not(.quer-handy) #kopf { background:none; border-color:transparent; box-shadow:none; backdrop-filter:none; gap:8px; }
#stage:not(.hoch):not(.quer-handy) #kopf .trenner { display:none; }
#stage:not(.hoch):not(.quer-handy) #kopf :is(.logo, .runde:not([hidden]), .k-phase, #k-verlauf:not([hidden])) { padding:5px 12px; border-radius:9px; background:var(--panel); border:1px solid var(--linie); box-shadow:0 4px 10px rgba(0,0,0,.3); }
#stage:not(.hoch):not(.quer-handy) #kopf .k-phase:empty { display:none; }
.skg-kiste { overflow:visible; }
#stage.quer-handy #bedien .auftrag { overflow-y:auto; align-items:flex-start; scrollbar-width:thin; }

#hilfe .ov-box { display:flex; flex-direction:column; overflow:hidden; }
#hilfe .hilfe-text { max-height:none; overflow:auto; min-height:0; flex:1 1 auto; padding-right:8px; }

#stage { --sgzl-grund:var(--panel-solid); --sgzl-text:var(--text); --sgzl-akzent:var(--akz); --sgzl-akzent-text:#1c1402; }
:root[data-theme="light"] #stage { --sgzl-akzent-text:#fff; }
#lo-lern { flex:none; padding:7px 14px; margin-bottom:8px; }
#lernort { position:absolute; z-index:44; right:12px; bottom:10px; width:316px; display:flex; flex-direction:column; justify-content:flex-end; }
#lernort .sgzl { margin:0; padding-right:max(52px, calc(50px / var(--sk, 1))); }
#lernort .sgzl-kopf { font-size:max(12px, calc(11px / var(--sk, 1))); }
#lernort .sgzl-titel { font-size:max(17px, calc(14px / var(--sk, 1))); }
#lernort .sgzl-text { font-size:max(15px, calc(12.5px / var(--sk, 1))); }
#lernort .sgzl-weiter { font-size:max(15px, calc(13px / var(--sk, 1))); min-height:max(44px, calc(44px / var(--sk, 1))); padding:6px max(20px, calc(16px / var(--sk, 1))); }
#lernort .sgzl-x { width:max(40px, calc(44px / var(--sk, 1))); height:max(40px, calc(44px / var(--sk, 1))); font-size:max(20px, calc(18px / var(--sk, 1))); }
#stage:not(.hoch):not(.quer-handy).lernpartie #pchat { display:none; }
#stage.hoch #lernort { left:8px; right:8px; top:80px; bottom:auto; width:auto; }
#stage.hoch #lernort .sgzl-titel { font-size:max(17px, calc(15px / var(--sk, 1))); }
#stage.hoch #lernort .sgzl-text { font-size:max(15px, calc(13.5px / var(--sk, 1))); }
#stage.quer-handy.lernpartie #feld { left:14px; right:452px; }
#stage.quer-handy #lernort { right:8px; top:90px; bottom:22px; width:430px; justify-content:center; }
#lernort.klein .sgzl-kopf { display:none; }
#lernort.klein .sgzl { padding:8px 10px 10px 14px; padding-right:max(56px, calc(50px / var(--sk, 1))); }
#lernort.klein .sgzl-text { line-height:1.3; }
#lernort.klein .sgzl-x { top:4px; right:4px; }
#lernort .sgzl-weiter:not([hidden]) { display:flex; width:100%; }
#stage.lernpartie .pz-turm.sgzl-ziel > * { pointer-events:none; }
#lern-ende { z-index:80; }
#lern-ende .ov-box { width:600px; text-align:center; }
#lern-ende .lern-ende-text { margin:0; font-size:max(16px, calc(13.5px / var(--sk, 1))); line-height:1.5; color:var(--text); }
#lern-ende .lern-ende-text b { color:var(--akz-hell); }
#lern-ende .ov-knoepfe { flex-wrap:wrap; justify-content:center; }
#lern-ende .ov-knoepfe .kb { height:auto; font-size:max(15px, calc(13px / var(--sk, 1))); min-height:max(44px, calc(46px / var(--sk, 1))); white-space:normal; }
#stage.hoch #lern-ende .ov-box { width:500px; }
#stage.hoch #lern-ende .ov-knoepfe { flex-direction:column; align-items:stretch; }
#stage.hoch.lernpartie #ansage, #stage.hoch.lernpartie .bd-text > :not(#auftrag), #stage.hoch.lernpartie #b-auf { display:none; }
#stage.hoch.lernpartie #glocke-hand { width:150px; height:150px; }
#stage.quer-handy #lo-lern { flex-direction:row; flex-wrap:wrap; align-items:baseline; column-gap:10px; padding:4px 12px; margin-bottom:2px; }
#stage.quer-handy #lo-lern small { font-size:14px; }
#stage.quer-handy #lobby .lw-anleitung { display:none; }
