:root {
  --schrift:'Segoe UI', 'Inter', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --titel:Georgia, 'Times New Roman', serif;
}
#stage, #stage.d-abend {
  --wand:#3a2414; --wand2:#140a05; --licht:rgba(255,190,110,.22); --kante:#6b2f12; --kante2:#2e1206; --filz:#1f5a3c; --filz2:#0f3322;
  --akzent:#e2b55a; --akzent2:#fff2d0; --akzent-dunkel:#8a6014; --text:#f6eedf; --text-2:#dccdb4; --text-3:#b3a58c; --rot:#ff8a7a; --gold:#ffd25a; --gruen:#8fdc96;
  --glas:rgba(28,16,8,.86); --glas-2:rgba(34,20,10,.93); --linie:rgba(226,181,90,.34); --knopf:linear-gradient(180deg, rgba(74,44,22,.97), rgba(36,20,10,.97));
  --papier:#f3ead2; --papier2:#e4d6b4; --tinte:#2a1f12; --tinte-2:#5a4a32; --tinte-rot:#9a1e22; --messing1:#f1d58a; --messing2:#b88a2e; --messing-text:#2a1a06;
  --holz1:#7a4a24; --holz2:#3e2210; --wir:#f0b450; --sie:#7cc0ea; --filz-text:#eaf6ee; --holz-text:#fbf1de; --holz-titel:var(--messing1); --holz-klein:#f2e2c4;
  --kulisse-q:url(img/abend-kulisse-q.webp); --kulisse-h:url(img/abend-kulisse-h.webp); --filz-bild:url(img/abend-filz.webp); --rueck-bild:url(img/abend-ruecken.webp);
}
#stage.d-tropen {
  --wand:#0f1c2a; --wand2:#050a12; --licht:rgba(150,190,255,.20); --kante:#4a2a14; --kante2:#1c0e05; --filz:#13504a; --filz2:#082a28;
  --akzent:#c9d6e6; --akzent2:#f2f7ff; --akzent-dunkel:#5a6e88; --text:#eef3fa; --text-2:#c4cfdc; --text-3:#9aa8ba; --rot:#ff8f8f; --gold:#f2dc8a; --gruen:#8fe0c0;
  --glas:rgba(8,16,28,.86); --glas-2:rgba(10,20,34,.93); --linie:rgba(201,214,230,.30); --knopf:linear-gradient(180deg, rgba(30,46,70,.97), rgba(12,22,36,.97));
  --papier:#e9edf2; --papier2:#d2d9e2; --tinte:#14202e; --tinte-2:#3e4c5e; --tinte-rot:#8a1e28; --messing1:#e6ecf4; --messing2:#8e9cb0; --messing-text:#141c28;
  --holz1:#5a3a20; --holz2:#24140a; --wir:#f2c46a; --sie:#8fd0f4; --filz-text:#e8f6f4; --holz-text:#fbf1de; --holz-titel:var(--messing1); --holz-klein:#f2e2c4;
  --kulisse-q:url(img/tropen-kulisse-q.webp); --kulisse-h:url(img/tropen-kulisse-h.webp); --filz-bild:url(img/tropen-filz.webp); --rueck-bild:url(img/tropen-ruecken.webp);
}
#stage.d-schleuse {
  --wand:#efe8d8; --wand2:#d8ccb2; --licht:rgba(255,250,225,.30); --kante:#9a6a3a; --kante2:#5a3a1a; --filz:#7fa88a; --filz2:#4f7a5c;
  --akzent:#1f4a78; --akzent2:#e8f0fa; --akzent-dunkel:#173a60; --text:#1f2630; --text-2:#3e4856; --text-3:#4f5966; --rot:#a8202e; --gold:#7a5208; --gruen:#2a6f38;
  --glas:rgba(250,247,238,.93); --glas-2:rgba(246,242,232,.96); --linie:rgba(31,74,120,.30); --knopf:linear-gradient(180deg, #fbf8f0, #e8e1d0);
  --papier:#fbf6e8; --papier2:#ece2c8; --tinte:#1e2632; --tinte-2:#4a5464; --tinte-rot:#9a1e22; --messing1:#f3dc98; --messing2:#c09440; --messing-text:#2a1a06;
  --holz1:#b88a54; --holz2:#7a5228; --wir:#8a5208; --sie:#1d5b86; --filz-text:#10241a; --holz-text:#24160a; --holz-titel:#2a1a06; --holz-klein:#3a2610;
  --kulisse-q:url(img/schleuse-kulisse-q.webp); --kulisse-h:url(img/schleuse-kulisse-h.webp); --filz-bild:url(img/schleuse-filz.webp); --rueck-bild:url(img/schleuse-ruecken.webp);
}
:where(html, html *) { scrollbar-width:thin; scrollbar-color:var(--akzent, #e2b55a) var(--glas, rgba(12,16,32,.88)); }
:where(html) ::-webkit-scrollbar { width:9px; height:9px; }
:where(html) ::-webkit-scrollbar-track { background:var(--glas, rgba(12,16,32,.88)); border-radius:5px; }
:where(html) ::-webkit-scrollbar-thumb { background:var(--akzent, #e2b55a); border-radius:5px; border:2px solid transparent; background-clip:padding-box; }
* { box-sizing:border-box; }
html, body { margin:0; height:100%; background:#05070e; color:var(--text, #f6ecd8); font-family:var(--schrift); overflow:hidden; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
#wrap { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:#05070e; }
#stage { position:relative; width:1200px; height:750px; flex:none; transform-origin:center center; overflow:hidden; background:var(--wand2); color:var(--text); }
#stage.hoch { width:750px; height:1200px; }
[hidden] { display:none !important; }
button { font-family:var(--schrift); cursor:pointer; }
input { font-family:var(--schrift); font-size:16px; }
input[type=checkbox] { width:17px; height:17px; accent-color:var(--akzent); }

#kulisse { position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; background:var(--kulisse-q) center / cover no-repeat, linear-gradient(180deg, var(--wand), var(--wand2)); }
#stage.hoch #kulisse { background-image:var(--kulisse-h), linear-gradient(180deg, var(--wand), var(--wand2)); }
.ku-licht { position:absolute; inset:0; background:radial-gradient(ellipse 60% 55% at 22% 8%, var(--licht), transparent 70%); animation:kuLicht 9s ease-in-out infinite alternate; }
.ku-welle { position:absolute; left:0; right:0; top:0; height:26%; background:linear-gradient(90deg, transparent, rgba(255,255,255,.05), transparent); background-size:40% 100%; background-repeat:no-repeat; animation:kuWelle 14s linear infinite; mix-blend-mode:screen; }
@keyframes kuLicht { from { opacity:.75; } to { opacity:1; } }
@keyframes kuWelle { from { background-position:-40% 0; } to { background-position:140% 0; } }
@media (prefers-reduced-motion: reduce) { .ku-licht, .ku-welle { animation:none; } }

.kb { background:var(--knopf); color:var(--text); border:1px solid var(--linie); border-radius:10px; padding:9px 16px; font-size:16px; font-weight:600; box-shadow:0 2px 0 rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08); }
@media (hover: hover) { .kb:hover:not(:disabled) { border-color:var(--akzent); box-shadow:0 0 12px color-mix(in srgb, var(--akzent) 45%, transparent); } }
.kb:disabled { opacity:.45; cursor:default; }
.kb-gold { background:linear-gradient(135deg, #fff0c4, #ffd25a 45%, #d8901a); color:#2a1600; border-color:#fff6d0; box-shadow:0 2px 0 #7a4a08, 0 0 14px rgba(255,210,90,.35); }
.kb-gruen { background:linear-gradient(135deg, #dcffd0, #7fd88a 55%, #2f8a3a); color:#082208; border-color:#e8ffe0; box-shadow:0 2px 0 #1a5a20; }
.kb-rot { background:linear-gradient(135deg, #ffd6cc, #ff7a5a 55%, #b8301c); color:#2a0600; border-color:#ffe6de; box-shadow:0 2px 0 #7a1808; }
.kb-klein { padding:5px 11px; font-size:13.5px; border-radius:8px; }
.kb-gross { padding:13px 20px; font-size:18px; font-weight:800; }
.kb.an { outline:2px solid var(--akzent); }
.kb-ic { width:38px; height:34px; background:var(--glas); color:var(--text); border:1px solid var(--linie); border-radius:9px; font-size:17px; }
@media (hover: hover) { .kb-ic:hover:not(:disabled) { border-color:var(--akzent); } }
.kb-ic:disabled { opacity:.4; }
.sy { flex:none; display:inline-flex; width:var(--g); height:var(--g); vertical-align:-0.18em; padding:1px; border-radius:30%; background:#fff; box-shadow:0 0 0 1px rgba(0,0,0,.18); }
.sy svg { width:100%; height:100%; display:block; }
.kk { display:inline-flex; align-items:center; gap:1px; padding:0 4px 0 1px; margin:0 1px; border-radius:5px; background:#fffdf6; color:#222; font-weight:800; font-size:12.5px; line-height:18px; box-shadow:0 0 0 1px rgba(0,0,0,.15); }

.ic { width:1.15em; height:1.15em; vertical-align:-0.2em; flex:none; }
.ic.klein { width:.95em; height:.95em; vertical-align:-0.12em; }
.ic.gruen { color:var(--gruen); } .ic.rot { color:var(--rot); }
.kb-ic .ic { width:19px; height:19px; vertical-align:middle; }
.kb-ic { display:inline-flex; align-items:center; justify-content:center; }
.lo-seg button .ic, .re-leiste button .ic, .kb .ic { margin-right:4px; }
.tb-plaetze .ic { width:17px; height:17px; margin-right:1px; color:var(--text-2); }
.pl .sym .ic { width:22px; height:22px; color:var(--akzent); }
.ls-ico .ic { width:24px; height:24px; color:var(--akzent); }
.ava .ic { width:20px; height:20px; color:#1a1004; }
.ch .ic { width:14px; height:14px; vertical-align:middle; }
.ch.weg .ic { color:var(--text-2); }
.wt-tab th .ic, .bi-tab .ic { color:var(--gold); }
.med { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:50%; font:900 15px/1 var(--titel); color:#2a1600;
  background:radial-gradient(circle at 35% 30%, #fff6d6, #ffd25a 45%, #b07a10); box-shadow:0 0 0 2px rgba(0,0,0,.3), 0 2px 6px rgba(0,0,0,.4); }
.med.m2 { background:radial-gradient(circle at 35% 30%, #ffffff, #c9ced6 45%, #7c8490); }
.med.m3 { background:radial-gradient(circle at 35% 30%, #ffe6cc, #d08a4a 45%, #7a4418); }
.med.m4 { background:radial-gradient(circle at 35% 30%, #8a7c64, #6a5c46 50%, #4a3c26); color:#fff; }
.lo-design .kb { padding:4px 9px; }
.lo-design .kb.an { background:color-mix(in srgb, var(--akzent) 30%, var(--glas)); border-color:var(--akzent); }
.wt-knoepfe { display:flex; gap:8px; }

.lo-logo { font:900 29px/1 var(--titel); letter-spacing:3px; white-space:nowrap; }
.lo-n { color:var(--text); }
.lo-p { color:var(--akzent); text-shadow:0 0 12px color-mix(in srgb, var(--akzent) 45%, transparent); }

#lobby, #tisch { position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; }
.lo-kopf { position:relative; display:flex; align-items:center; gap:18px; padding:10px 24px 9px; background:var(--glas-2); border-bottom:2px solid var(--akzent); box-shadow:0 4px 18px rgba(0,0,0,.35); }
.lo-raum { font-size:17px; color:var(--text-2); font-style:italic; }
.lo-ich { margin-left:auto; font-size:15px; color:var(--text-2); }
.lo-ich b { color:var(--akzent); }
.lo-kopf-r { display:flex; gap:8px; margin-left:14px; }
.lo-design { display:flex; gap:3px; padding-right:6px; border-right:1px solid var(--linie); margin-right:2px; }

.kb-ic.an { border-color:var(--akzent); background:color-mix(in srgb, var(--akzent) 25%, var(--glas)); }
.lo-label { font-size:13px; letter-spacing:2.5px; text-transform:uppercase; color:var(--akzent); margin-bottom:6px; }
.lo-label small { text-transform:none; letter-spacing:0; color:var(--text-3); font-size:12px; }
#chatwin, #tchatwin { flex:1; overflow-y:auto; background:rgba(0,0,0,.18); border:1px solid var(--linie); border-radius:8px; padding:10px 12px; font-size:15px; line-height:1.5; }
.d-schleuse #chatwin, .d-schleuse #tchatwin { background:rgba(255,255,255,.6); }
#chatin, #tchatin { margin-top:8px; padding:9px 12px; background:rgba(0,0,0,.2); color:var(--text); border:1px solid var(--linie); border-radius:8px; outline:none; }
.d-schleuse #chatin, .d-schleuse #tchatin { background:#fff; }
#chatin:focus, #tchatin:focus { border-color:var(--akzent); }
.nm { color:var(--akzent); 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,.15); color:var(--text-2); border:1px solid var(--linie); border-radius:8px 8px 0 0; padding:8px; font-size:15px; }
.lo-tabs button.an { background:color-mix(in srgb, var(--akzent) 22%, transparent); color:var(--text); border-color:var(--akzent); }
.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,.15); border-radius:6px; font-size:15px; }
.it .pk { width:9px; height:9px; border-radius:50%; background:var(--gruen); }
.it.spielt .pk { background:var(--gold); }
.it.me { color:var(--akzent); }
.tb { display:flex; align-items:center; gap:12px; padding:10px 12px; background:rgba(0,0,0,.15); border:1px solid var(--linie); border-radius:8px; cursor:pointer; }
@media (hover: hover) { .tb:hover { border-color:var(--akzent); } }
.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; }
.tb-kopf .frei { color:var(--gruen); font-size:14px; }
.tb-kopf .frei.aus { color:var(--text-3); }
.tb-sub { color:var(--text-2); font-size:13px; margin-top:3px; }
.tb-plaetze { font-size:16px; letter-spacing:2px; white-space:nowrap; }
.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:11.5px; font-weight:800; vertical-align:2px; color:var(--text); background:color-mix(in srgb, var(--akzent) 18%, transparent); border:1px solid var(--akzent); }
.lo-stat { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:8px; }
.st-k { flex:1 1 90px; background:rgba(0,0,0,.15); border:1px solid var(--linie); border-radius:8px; padding:6px 8px; text-align:center; }
.st-k b { display:block; font-size:20px; color:var(--akzent); }
.st-k small { color:var(--text-3); font-size:12px; }
.ar { padding:8px 10px; background:rgba(0,0,0,.15); 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(--akzent); }
.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; background:var(--glas-2); border-top:2px solid var(--akzent); }
.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-mitte > * { padding:12px 14px; border-radius:14px; background:var(--glas); border:1px solid var(--linie); box-shadow:0 8px 24px rgba(0,0,0,.35); }
.ti-plaetze { flex:0 0 230px; display:flex; flex-direction:column; gap:8px; }
.pl { display:flex; align-items:center; gap:10px; padding:10px 12px; background:rgba(0,0,0,.15); border:1px solid var(--linie); border-radius:8px; }
.pl.me { border-color:var(--akzent); }
.pl.bereit { box-shadow:inset 3px 0 0 var(--gruen); }
.pl.leer { opacity:.7; }
.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 .nm2 .pl-paar { display:inline-block; width:max-content; padding:0 6px; border-radius:6px; font-size:11px; font-weight:800; color:#1a1004; }
.pl-paar.p0 { background:var(--wir); } .pl-paar.p1 { background:var(--sie); }
.d-schleuse .pl .nm2 .pl-paar { color:#fff; }
.pl-st { font-size:13px; color:var(--text-2); }
.pl .sym { font-size:20px; }
.ti-opts { flex:1; display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:8px 16px; align-content:start; overflow:auto; }
.ti-opts > .lo-label, .ti-opts > .ti-info { grid-column:1 / -1; }
#stage.hoch .ti-opts { grid-template-columns:1fr; }
.ti-opt { display:flex; flex-direction:column; gap:4px; font-size:15px; }
.ti-opt small { display:block; color:var(--text-3); font-size:11.5px; line-height:1.3; margin:1px 0 0; }
.ti-wahl { display:flex; gap:5px; flex-wrap:wrap; }
.ti-wahl button { background:rgba(0,0,0,.15); color:var(--text); border:1px solid var(--linie); border-radius:6px; padding:5px 10px; font-size:14px; }
.ti-wahl button.an { background:color-mix(in srgb, var(--akzent) 25%, transparent); border-color:var(--akzent); 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 250px; }
.lo-streifen { display:flex; align-items:center; gap:14px; margin:10px 24px 0; padding:9px 16px; border-radius:12px; background:color-mix(in srgb, var(--gruen) 20%, var(--glas)); border:1px solid var(--gruen); }
.lo-streifen.warten { background:color-mix(in srgb, var(--gold) 20%, var(--glas)); border-color:var(--gold); }
.ls-ico { font-size:24px; }
.ls-text { display:flex; flex-direction:column; font-size:15px; } .ls-text small { font-size:13px; color:var(--text-2); }
#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:16px; border:2px solid var(--akzent); background:var(--glas); box-shadow:0 10px 30px rgba(0,0,0,.4); }
.lo-start .lo-label { margin:0; }
.lo-seg { display:flex; border:1px solid var(--akzent); border-radius:12px; overflow:hidden; flex:none; }
.lo-seg button { flex:1; padding:10px 6px; font-size:15px; font-weight:700; color:var(--text-2); background:rgba(0,0,0,.12); border:0; }
.lo-seg button + button { border-left:1px solid var(--linie); }
.lo-seg button.an { color:#2a1600; background:linear-gradient(135deg, var(--akzent2), var(--akzent)); }
.lo-optionen { flex:1; display:flex; flex-direction:column; gap:7px; min-height:0; overflow:auto; }
.lo-optionen { 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)), .lo-optionen > .lw-paar > .lw-zeile.lw-breit { grid-column:1 / -1; }
.lw-zeile { display:flex; flex-direction:column; gap:4px; }
.lw-paar { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.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:8px; font-size:14px; color:var(--text); background:rgba(0,0,0,.15); border:1px solid var(--linie); }
.d-schleuse .lw-wahl button { background:#fffdf6; }
@media (hover: hover) { .lw-wahl button:hover { border-color:var(--akzent); } }
.lw-wahl button.an { background:color-mix(in srgb, var(--akzent) 28%, transparent); border-color:var(--akzent); font-weight:700; }
.lw-ausgabe { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.lw-ausgabe button { position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:2px; padding:7px 9px 8px; border-radius:10px; text-align:left; color:var(--text-2);
  background:linear-gradient(160deg, color-mix(in srgb, var(--akzent) 14%, transparent), rgba(0,0,0,.12)); border:1px solid var(--linie); font-size:11.5px; line-height:1.3; }
.lw-ausgabe button b { font-size:14.5px; color:var(--text); }
.lw-ausgabe button.an { border-color:var(--akzent); box-shadow:0 0 0 2px color-mix(in srgb, var(--akzent) 35%, transparent); color:var(--text); }
.lw-design { display:grid; grid-template-columns:repeat(3, 1fr); }
.lw-design button.an { background:color-mix(in srgb, var(--akzent) 28%, transparent); border-color:var(--akzent); font-weight:700; }
.lw-name { display:flex; gap:6px; }
.lw-name input { flex:1; min-width:0; padding:6px 12px; background:rgba(0,0,0,.2); color:var(--text); border:1px solid var(--akzent); border-radius:8px; outline:none; font-size:16px; }
.d-schleuse .lw-name input { background:#fff; }
.lw-wuerfel { width:40px; flex:none; font-size:18px; padding:0; }
.lw-info { display:inline-flex; width:18px; height:18px; margin-left:5px; border-radius:50%; align-items:center; justify-content:center; font:700 11px/1 var(--schrift); font-style:normal; color:#2a1600;
  background:var(--akzent); border:0; vertical-align:1px; cursor:pointer; padding:0; }
.lw-box { font-size:12.5px; color:var(--text-2); line-height:1.45; background:color-mix(in srgb, var(--akzent) 8%, transparent); border:1px solid var(--linie); border-radius:8px; padding:7px 10px; }
.lw-box .nw { white-space:nowrap; }
.lw-anleitung { display:flex; flex-direction:column; gap:4px; font-size:12.5px; color:var(--text-2); }
.lw-an-titel { font-weight:800; color:var(--akzent); font-size:12.5px; letter-spacing:1px; text-transform:uppercase; }
.lw-schritt { display:flex; gap:8px; align-items:flex-start; }
.lw-schritt > b { flex:none; width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--akzent); color:#2a1600; font-size:12px; }
.lo-los { flex:none; display:flex; flex-direction:column; gap:5px; }
.lo-los-hin { font-size:12.5px; color:var(--text-3); text-align:center; }
.lo-rechts { display:grid; grid-template-rows:minmax(0, 1fr) 190px; gap:14px; min-height:0; }
.lo-rechts .lo-spieler, .lo-rechts .lo-chat { min-height:0; padding:10px 12px; border-radius:14px; border:1px solid var(--linie); background:var(--glas); box-shadow:0 8px 24px rgba(0,0,0,.35); }
#stage.hoch .lo-haupt { grid-template-columns:1fr; grid-template-rows:auto minmax(0, 1fr); }
#stage.hoch .lo-rechts { grid-template-rows:minmax(0, 1fr) 200px; }
#stage.hoch .lo-streifen { margin:10px 16px 0; }
#stage.hoch .ti-mitte { flex-direction:column; }
#stage.hoch .ti-plaetze, #stage.hoch .ti-chat { flex:none; }
#stage.hoch .ti-chat { height:200px; }
@media (pointer: coarse) { .lw-wahl:not(.lw-ausgabe) button { min-height:36px; } }

.papier { background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(0,0,0,.04)), repeating-linear-gradient(180deg, transparent 0 21px, rgba(90,70,40,.10) 21px 22px), linear-gradient(170deg, var(--papier), var(--papier2));
  color:var(--tinte); border-radius:4px; box-shadow:0 1px 0 rgba(255,255,255,.4) inset, 3px 6px 14px rgba(0,0,0,.45); }
.papier.klein { background:linear-gradient(170deg, var(--papier), var(--papier2)); }
.holz { background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(0,0,0,.18)), repeating-linear-gradient(92deg, rgba(0,0,0,.06) 0 3px, transparent 3px 11px), linear-gradient(160deg, var(--holz1), var(--holz2));
  border:2px solid color-mix(in srgb, var(--holz2) 70%, #000); border-radius:12px; box-shadow:inset 0 2px 0 rgba(255,255,255,.18), 4px 10px 22px rgba(0,0,0,.55); color:var(--holz-text); }
.messing { background:linear-gradient(180deg, var(--messing1), var(--messing2)); color:var(--messing-text); border:1px solid color-mix(in srgb, var(--messing2) 60%, #000); border-radius:8px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 3px 8px rgba(0,0,0,.45); }
.holzleiste { background:linear-gradient(180deg, color-mix(in srgb, var(--holz1) 85%, transparent), color-mix(in srgb, var(--holz2) 85%, transparent)); border-radius:10px 10px 0 0; }

#partie { position:absolute; inset:0; z-index:2; }
#kopf { position:absolute; left:0; right:0; top:0; height:44px; z-index:30; display:flex; align-items:center; gap:12px; padding:0 10px 0 14px;
  background:linear-gradient(180deg, color-mix(in srgb, var(--holz2) 88%, transparent), color-mix(in srgb, var(--holz2) 66%, transparent)); border-bottom:2px solid var(--messing2); box-shadow:0 3px 12px rgba(0,0,0,.35); color:#fbf1de; }
.d-schleuse #kopf { background:linear-gradient(180deg, rgba(250,246,236,.92), rgba(240,232,214,.86)); color:var(--text); }
.k-runde { font:700 16px/1 var(--titel); color:var(--messing1); white-space:nowrap; }
.d-schleuse .k-runde { color:var(--akzent); }
.k-stand { display:flex; align-items:center; gap:8px; font-size:14px; white-space:nowrap; }
.k-team { padding:2px 8px; border-radius:7px; background:rgba(0,0,0,.22); }
.d-schleuse .k-team { background:rgba(255,255,255,.6); }
.k-team b { font-size:16px; }
.k-team.wir b { color:var(--wir); } .k-team.sie b { color:var(--sie); }
.k-gef { display:inline-block; width:9px; height:9px; border-radius:2px; margin-left:4px; background:transparent; border:1px solid currentColor; vertical-align:0; }
.k-gef.an { background:var(--rot); border-color:var(--rot); }
.k-phase { flex:1; font-size:14.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; opacity:.92; }
.k-phase b { color:var(--gold); }
.d-schleuse .k-phase b { color:var(--akzent); }
.k-uhr { min-width:52px; padding:3px 9px; border-radius:8px; text-align:center; font:700 15px/1.2 var(--schrift); background:rgba(0,0,0,.2); border:1px solid var(--linie); }
.k-uhr.knapp { color:#fff; background:#c0283c; border-color:#c0283c; animation:puls .8s ease-in-out infinite; }
.k-uhr.kritisch { animation-duration:.45s; }
@keyframes puls { 50% { transform:scale(1.08); } }
.k-rechts { display:flex; gap:6px; }
#kopf .kb-ic { background:rgba(0,0,0,.25); color:inherit; }
.d-schleuse #kopf .kb-ic { background:rgba(255,255,255,.7); }
#k-lern.an { border-color:var(--gold); color:var(--gold); box-shadow:0 0 10px rgba(255,210,90,.5); }

#tischflaeche { position:absolute; z-index:1; border-radius:64px; background:radial-gradient(ellipse at 40% 30%, rgba(255,255,255,.10) 0%, rgba(0,0,0,.30) 100%), var(--filz-bild, none) center / cover, radial-gradient(ellipse at 50% 40%, var(--filz) 0%, var(--filz2) 100%);
  box-shadow:0 0 0 12px var(--kante), 0 0 0 15px var(--kante2), 0 0 0 16px rgba(255,220,160,.25), 10px 26px 40px rgba(0,0,0,.6), inset 0 0 50px rgba(0,0,0,.45); }
#tischflaeche::before { content:''; position:absolute; inset:-12px; border-radius:76px; background:linear-gradient(160deg, rgba(255,230,190,.22), transparent 30%, transparent 70%, rgba(0,0,0,.3)); pointer-events:none; mix-blend-mode:overlay; }
.tf-filz { position:absolute; inset:10px; border-radius:56px; border:1px solid rgba(255,255,255,.10); }
.tf-wappen { position:absolute; left:50%; top:50%; width:150px; height:150px; transform:translate(-50%, -50%); border-radius:50%; border:2px solid rgba(255,255,255,.07); box-shadow:inset 0 0 0 10px rgba(255,255,255,.03); }
#plaetze, #dummy, #mitte, #stichfeld, #hand { position:absolute; inset:0; pointer-events:none; }
#plaetze { z-index:6; } #dummy { z-index:7; } #mitte { z-index:8; } #block { z-index:9; } #stichfeld { z-index:10; } #hand { z-index:12; }
#plaetze > *, #dummy > *, #mitte > *, #stichfeld > *, #hand > * { pointer-events:auto; }

.kt { position:absolute; border-radius:7%/5%; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.25); overflow:hidden; }
.kt svg, .kt img { width:100%; height:100%; display:block; pointer-events:none; }
.kt.rueck { background:#7b1e2a; }
.rueck-bild { width:100%; height:100%; display:block; object-fit:cover; }
.flug { z-index:60; pointer-events:none; transition-property:left, top, width, height, transform; transition-timing-function:cubic-bezier(.25,.75,.3,1); }
.hk, .dk { transition:left .28s ease, top .2s ease, transform .16s ease, filter .2s, opacity .25s; }
.hk.neu { opacity:0; }
.hk.spielbar, .dk.spielbar { cursor:pointer; box-shadow:0 2px 6px rgba(0,0,0,.45), 0 0 0 2px var(--gold), 0 0 14px rgba(255,210,90,.55); }
@media (hover: hover) { .hk.spielbar:hover { transform:translateY(-18px); } .dk.spielbar:hover { transform:translateY(-8px); } }
.hk.gesperrt, .dk.gesperrt { filter:brightness(.6) saturate(.5); }
.hk.gesperrt { transform:translateY(10px); }
.hk.spielbar { transform:translateY(-8px); }
.hk.gewaehlt { transform:translateY(-34px) !important; box-shadow:0 0 0 3px #fff, 0 0 0 6px var(--gold), 0 8px 18px rgba(0,0,0,.5) !important; z-index:40 !important; }
.dk.gewaehlt { transform:translateY(-12px) scale(1.06) !important; box-shadow:0 0 0 3px #fff, 0 0 0 6px var(--gold), 0 8px 18px rgba(0,0,0,.5) !important; z-index:40 !important; }
.dk.auf { animation:dk-auf .42s cubic-bezier(.25,.75,.3,1) both; }
@keyframes dk-auf { from { transform:translateY(-26px) rotateY(88deg); opacity:.2; } to { transform:none; opacity:1; } }
@media (prefers-reduced-motion: reduce) { .dk.auf { animation:none; } }
.hk.trumpf::after, .dk.trumpf::after { content:''; position:absolute; left:0; right:0; top:0; height:5px; background:linear-gradient(90deg, transparent, var(--gold), transparent); }
.hk.rat, .dk.rat { box-shadow:0 0 0 3px #7fe0ff, 0 0 18px rgba(127,224,255,.8); }
.hk.rat { transform:translateY(-10px); }
.im-stich { transition:box-shadow .2s, transform .2s; }
.im-stich.gewinnt { box-shadow:0 0 0 3px var(--gold), 0 0 24px rgba(255,210,90,.85); }
.d-hinweis { position:absolute; z-index:30; font:700 12.5px/1 var(--schrift); white-space:nowrap; padding:3px 8px; border-radius:6px; pointer-events:none; }
.d-hinweis.an { box-shadow:0 0 0 2px var(--gold), 0 2px 8px rgba(0,0,0,.45); }

.pl-s { position:absolute; display:flex; flex-direction:column; justify-content:center; gap:2px; padding:4px 9px 4px 8px; }
.pl-s.dran { box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 3px var(--gold), 0 0 20px rgba(255,210,90,.55); }
.d-schleuse .pl-s.dran { box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 3px var(--akzent), 0 0 16px rgba(31,74,120,.4); }
.pl-kopf { display:flex; align-items:center; gap:6px; min-width:0; }
.pl-hi { flex:none; width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font:800 12px/1 var(--titel); color:var(--messing1); background:var(--holz2); }
.pl-name { flex:1; min-width:0; font-weight:700; font-size:14.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pl-name small { font-weight:500; opacity:.75; }
.pl-zeile { display:flex; align-items:center; gap:6px; font-size:12.5px; white-space:nowrap; }
.pl-paar { width:9px; height:9px; border-radius:50%; flex:none; }
.pl-paar.wir { background:var(--wir); box-shadow:0 0 0 1px rgba(0,0,0,.45); } .pl-paar.sie { background:var(--sie); box-shadow:0 0 0 1px rgba(0,0,0,.45); }
.ch { flex:none; font-style:normal; min-width:18px; height:18px; padding:0 4px; border-radius:5px; display:inline-flex; align-items:center; justify-content:center; font:800 11px/1 var(--schrift); background:rgba(0,0,0,.18); }
.ch.rolle { background:var(--holz2); color:var(--messing1); }
.ch .ic { width:13px; height:13px; }
.pl-uhr { margin-left:auto; font:700 12.5px/1 var(--schrift); }
.pl-uhr.knapp { color:#fff; background:#a8001a; padding:1px 5px; border-radius:5px; }
.fan { position:absolute; pointer-events:none; }
.fan i { position:absolute; width:26px; height:38px; border-radius:3px; background:var(--rueck-bild, none) center / cover, #7b1e2a; border:1px solid rgba(255,255,255,.6); box-shadow:0 1px 3px rgba(0,0,0,.5); transform-origin:50% 120%; }

#block { position:absolute; padding:6px 10px 6px; overflow:hidden; }
.bl-kopf { display:flex; align-items:baseline; gap:8px; font:700 13.5px/1.3 var(--titel); color:var(--tinte); border-bottom:1.5px solid var(--tinte-rot); padding-bottom:3px; margin-bottom:3px; white-space:nowrap; overflow:hidden; }
.bl-kopf b { font-size:16px; }
.bl-kopf .bl-r { margin-left:auto; font:600 12px/1 var(--schrift); color:var(--tinte-2); }
.bl-tab { display:grid; grid-template-columns:repeat(4, 1fr); gap:1px 6px; font-size:13.5px; }
.bl-tab .bh { font:700 12px/1.6 var(--schrift); color:var(--tinte-2); text-align:center; border-bottom:1px solid rgba(0,0,0,.15); }
.bl-tab .bh.ich { color:var(--tinte-rot); }
.bl-z { text-align:center; padding:1px 2px; border-radius:4px; line-height:22px; height:22px; white-space:nowrap; cursor:default; }
.bl-z.neu { animation:blNeu 1.2s ease-out; }
@keyframes blNeu { from { background:rgba(255,210,90,.6); } to { background:transparent; } }
.bl-z.alarm { text-decoration:underline dotted var(--tinte-rot); }
.bl-z.x { color:var(--tinte-rot); font-weight:800; }
.bl-z .sy { --g:14px; }
.bl-z.offen { color:var(--tinte-2); font-style:italic; }
#block.kompakt .bl-tab { font-size:12.5px; } #block.kompakt .bl-z { line-height:18px; height:18px; }
.bl-erkl { margin-top:4px; padding-top:3px; border-top:1px dashed rgba(0,0,0,.2); font-size:12.5px; line-height:1.35; color:var(--tinte-2); height:36px; overflow:hidden; }
.bl-erkl b { color:var(--tinte); }

.schild { position:absolute; display:flex; align-items:center; justify-content:center; gap:8px; padding:0 12px; font-size:14px; font-weight:700; white-space:nowrap; overflow:hidden; }
.schild.status b { color:#7a1208; }
.mini-block { position:absolute; padding:5px 10px; font-size:13px; overflow:hidden; }
.mb-kopf { display:grid; grid-template-columns:1fr 1fr; text-align:center; font:700 13px/1.4 var(--titel); border-bottom:1.5px solid var(--tinte-rot); }
.mb-kopf span:first-child { border-right:1.5px solid var(--tinte-rot); }
.mb-z { display:grid; grid-template-columns:1fr 1fr; text-align:center; line-height:19px; }
.mb-z span:first-child { border-right:1.5px solid var(--tinte-rot); }
.mb-z.strich { border-top:1.5px solid var(--tinte-rot); }
.mb-fuss { font-size:11.5px; color:var(--tinte-2); text-align:center; margin-top:2px; }
.stiche { position:absolute; display:flex; gap:10px; align-items:center; justify-content:flex-start; font-size:13px; color:var(--messing-text); white-space:nowrap; padding:2px 8px; border-radius:7px;
  background:linear-gradient(180deg, var(--messing1), var(--messing2)); box-shadow:inset 0 1px 0 rgba(255,255,255,.5), 0 2px 6px rgba(0,0,0,.4); }
.stiche b { font-size:18px; }

#bietkasten { position:absolute; z-index:16; padding:10px 12px; display:flex; flex-direction:column; gap:8px; }
.bk-titel { display:flex; align-items:baseline; gap:10px; font:700 15px/1.2 var(--titel); color:var(--holz-titel); font-variant:small-caps; letter-spacing:1px; white-space:nowrap; overflow:hidden; }
.bk-titel small { font:500 12.5px/1.2 var(--schrift); color:var(--holz-klein); font-variant:normal; letter-spacing:0; overflow:hidden; text-overflow:ellipsis; }
.bk-reihe { display:flex; gap:6px; }
.bk-knopf { flex:1; min-height:38px; border-radius:7px; border:1px solid rgba(0,0,0,.35); background:linear-gradient(180deg, #fffaf0, #e8dcc2); color:#2a1f12; font:800 18px/1 var(--titel); display:flex; align-items:center; justify-content:center; gap:4px;
  box-shadow:0 2px 0 rgba(0,0,0,.4), inset 0 1px 0 #fff; padding:0 4px; }
.bk-knopf .sy { --g:20px; background:transparent; box-shadow:none; pointer-events:none; }
.bk-knopf.an { outline:3px solid var(--gold); outline-offset:1px; }
.bk-knopf.rat { box-shadow:0 0 0 3px #7fe0ff, 0 0 14px rgba(127,224,255,.8); }
.bk-knopf:disabled { opacity:.6; cursor:not-allowed; box-shadow:none; background:repeating-linear-gradient(135deg, rgba(0,0,0,.14) 0 4px, transparent 4px 9px), linear-gradient(180deg, color-mix(in srgb, var(--holz1) 55%, #ccc), color-mix(in srgb, var(--holz2) 40%, #999)); color:rgba(20,12,4,.7); text-decoration:line-through 2px; }
.bk-knopf:disabled .sy { opacity:.55; }
.bk-knopf.pass { background:linear-gradient(180deg, #d8f0d6, #8ec890); }
.bk-knopf.x { background:linear-gradient(180deg, #ffd8d0, #e0705a); color:#3a0800; }
.bk-knopf.xx { background:linear-gradient(180deg, #d6e4ff, #6f94d8); color:#08183a; }
.bk-knopf.bieten { flex:1.6; background:linear-gradient(135deg, #fff0c4, #ffd25a 45%, #d8901a); }
.bk-erkl { min-height:62px; height:62px; overflow:hidden; font-size:13px; line-height:1.4; color:#f6ead2; background:rgba(0,0,0,.42); border-radius:6px; padding:4px 8px; }
.bk-erkl b { color:var(--messing1); }
.bk-rat { color:#bfefff; }

#letzter { position:absolute; z-index:13; padding:5px 8px; overflow:hidden; }
.le-titel { font:700 12.5px/1.3 var(--titel); color:var(--tinte); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.le-karten { display:flex; gap:5px; margin-top:4px; }
.le-k { position:relative; flex:none; border-radius:4px; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.4); }
.le-k svg { width:100%; height:100%; display:block; }
.le-k.gew { box-shadow:0 0 0 2px var(--tinte-rot); }
.le-k small { position:absolute; left:0; right:0; bottom:0; font-size:11px; text-align:center; background:rgba(255,255,255,.85); color:#222; }
.le-leer { font-size:12.5px; color:var(--tinte-2); font-style:italic; }
#reiter { position:absolute; z-index:14; padding:4px 4px 0; }
.re-leiste { display:flex; gap:4px; }
.re-leiste button { flex:1; padding:4px 6px; font-size:13px; border-radius:7px 7px 0 0; color:#f6ead2; background:rgba(0,0,0,.5); border:1px solid rgba(255,255,255,.15); border-bottom:0; position:relative; }
.re-leiste button.an { background:var(--papier); color:var(--tinte); }
.re-leiste i { position:absolute; right:3px; top:-6px; min-width:16px; height:16px; border-radius:8px; background:var(--rot); color:#fff; font:700 11px/16px var(--schrift); font-style:normal; }
.protokoll, .pchat { position:absolute; z-index:14; background:linear-gradient(170deg, var(--papier), var(--papier2)); color:var(--tinte); border-radius:0 0 8px 8px; box-shadow:3px 6px 14px rgba(0,0,0,.45); overflow:hidden; }
.pr-liste { height:100%; overflow-y:auto; padding:5px 8px; font-size:12.5px; line-height:1.45; }
.pr-z { padding:1px 0; border-bottom:1px solid rgba(0,0,0,.06); }
.pr-z.t-wir { border-left:3px solid var(--wir); padding-left:4px; } .pr-z.t-sie { border-left:3px solid var(--sie); padding-left:4px; }
.pr-z .sy { --g:13px; }
.pr-gold { color:#7a4a00; font-weight:700; } .pr-rot { color:var(--tinte-rot); font-weight:700; } .pr-grau { color:var(--tinte-2); }
.pchat { display:flex; flex-direction:column; }
#pchatwin { flex:1; overflow-y:auto; padding:5px 8px; font-size:13px; }
.pc-zeile { display:flex; gap:4px; padding:4px; }
#pchatin { flex:1; min-width:0; padding:5px 8px; border:1px solid rgba(0,0,0,.25); border-radius:6px; background:#fff; color:#222; }
.pc-knoepfe { display:flex; gap:4px; }
.pc-knoepfe button { padding:4px 8px; font-size:12px; border-radius:6px; border:1px solid rgba(0,0,0,.25); background:#fff8e8; color:#2a1f12; }

#meldungen { position:absolute; z-index:40; left:50%; top:52px; transform:translateX(-50%); width:560px; display:flex; flex-direction:column; align-items:center; gap:5px; pointer-events:none; }
.meldung { max-width:100%; padding:7px 14px; border-radius:9px; font-size:14.5px; line-height:1.35; text-align:center; opacity:0; transform:translateY(-6px); transition:opacity .3s, transform .3s; }
.meldung.an { opacity:1; transform:none; }
.meldung.warn { background:linear-gradient(180deg, #ffe0d8, #f4b0a2); color:#3a0a00; border:1px solid #a8302a; border-radius:8px; box-shadow:0 4px 12px rgba(0,0,0,.4); }
.meldung .sy { --g:15px; }

.blase { position:absolute; z-index:35; padding:5px 11px; border-radius:12px; font-size:14px; font-weight:700; white-space:nowrap; pointer-events:none; opacity:0; transform:scale(.8); transition:opacity .25s, transform .25s;
  background:var(--papier); color:var(--tinte); box-shadow:2px 4px 10px rgba(0,0,0,.45); border:1.5px solid var(--tinte-2); }
.blase.an { opacity:1; transform:none; }
.blase.x { border-color:var(--tinte-rot); color:var(--tinte-rot); }
.blase .sy { --g:16px; }
.blase small { display:block; font-size:11.5px; font-weight:500; color:var(--tinte-2); }
.blase.chat { font-weight:500; max-width:240px; white-space:normal; }
.plus { position:absolute; z-index:36; font:900 22px/1 var(--titel); color:var(--gold); text-shadow:0 2px 4px rgba(0,0,0,.7); pointer-events:none; animation:plus 1.6s ease-out forwards; }
@keyframes plus { from { opacity:1; transform:translate(-50%, 0); } to { opacity:0; transform:translate(-50%, -40px); } }

.banner { position:absolute; z-index:45; left:50%; top:40%; transform:translate(-50%, -50%) scale(.8); min-width:360px; padding:16px 30px; text-align:center; opacity:0; transition:opacity .3s, transform .3s; pointer-events:none;
  background:linear-gradient(180deg, var(--messing1), var(--messing2)); color:var(--messing-text); border-radius:12px; box-shadow:0 10px 40px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.6); }
.banner.an { opacity:1; transform:translate(-50%, -50%) scale(1); }
.bn-titel { font:900 30px/1.1 var(--titel); letter-spacing:2px; }
.bn-unter { font-size:16px; margin-top:6px; }
.funke { position:absolute; z-index:46; width:9px; height:14px; border-radius:2px; pointer-events:none; animation:funke linear forwards; }
@keyframes funke { to { transform:translateY(820px) rotate(540deg); opacity:.2; } }

.wertung { position:absolute; z-index:42; padding:12px 16px; display:flex; flex-direction:column; gap:8px; overflow:hidden; }
.wt-kopf { display:flex; align-items:baseline; gap:12px; border-bottom:2px solid var(--tinte-rot); padding-bottom:5px; }
.wt-titel { font:800 22px/1.15 var(--titel); }
.wt-kopf.gew .wt-titel { color:#2a6a1a; } .wt-kopf.durch .wt-titel { color:var(--tinte-rot); }
.wt-sub { margin-left:auto; font-size:13px; color:var(--tinte-2); }
.wt-haupt { flex:1; min-height:0; display:grid; grid-template-columns:1.1fr 1fr; gap:14px; overflow:auto; align-content:start; }
.wt-tab { width:100%; border-collapse:collapse; font-size:14px; }
.wt-tab td, .wt-tab th { padding:3px 6px; border-bottom:1px solid rgba(0,0,0,.1); text-align:left; }
.wt-tab td:last-child, .wt-tab th:last-child { text-align:right; }
.wt-tab .summe td { font-weight:800; border-top:2px solid var(--tinte); }
.plusw { color:#1f6a12; } .minusw { color:var(--tinte-rot); }
.wt-text { font-size:13.5px; line-height:1.45; color:var(--tinte-2); }
.wt-text b { color:var(--tinte); }
.wt-fuss { display:flex; align-items:center; gap:10px; }
.wt-fuss .kb { padding:7px 14px; font-size:15px; }
.wt-knoepfe { margin-left:auto; display:flex; gap:8px; }
#wt-uhr { font-size:13px; color:var(--tinte-2); }

.overlay { position:absolute; inset:0; z-index:50; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.45); }
.ov-box { width:480px; max-height:90%; display:flex; flex-direction:column; gap:10px; padding:16px 18px; overflow:hidden; }
.ov-breit { width:780px; }
.ov-titel { font:800 21px/1.2 var(--titel); color:var(--tinte); }
.ov-knoepfe { display:flex; gap:8px; justify-content:flex-end; flex-wrap:wrap; }
#pop-text { margin:0; font-size:15px; line-height:1.5; color:var(--tinte); }
.hilfe-text { overflow-y:auto; font-size:15px; line-height:1.55; color:var(--tinte); padding-right:6px; }
.hilfe-text h1, .hilfe-text h2 { font-family:var(--titel); }
.bi-tab { overflow:auto; font-size:14px; color:var(--tinte); }
.bi-tab table { width:100%; border-collapse:collapse; }
.bi-tab td, .bi-tab th { padding:3px 6px; border-bottom:1px solid rgba(0,0,0,.1); text-align:left; }
.bi-hinweis { font-size:12.5px; color:var(--tinte-2); }
.of-inhalt { overflow:auto; color:var(--tinte); }
.of-raster { display:grid; grid-template-columns:1fr 1fr 1fr; gap:6px; align-items:center; justify-items:center; }
.of-hand { font-size:14px; line-height:1.5; background:rgba(255,255,255,.5); border-radius:6px; padding:5px 9px; min-width:150px; }
.of-hand b { display:block; font-family:var(--titel); }
.of-hand .sy { --g:14px; }
.of-mitte { font-size:13px; text-align:center; color:var(--tinte-2); max-width:200px; }
.en-podest { display:flex; flex-direction:column; gap:8px; }
.en-platz { display:flex; align-items:center; gap:12px; padding:8px 12px; border-radius:10px; background:rgba(255,255,255,.45); border-left:5px solid var(--pf); color:var(--tinte); }
.en-platz .nmx { flex:1; font-weight:700; } .en-platz .nmx small { display:block; font-weight:400; font-size:12.5px; color:var(--tinte-2); }
.en-platz .pk b { font:800 22px/1 var(--titel); } .en-platz .pk small { display:block; font-size:11px; color:var(--tinte-2); }
.en-text { font-size:14.5px; color:var(--tinte); }
.en-einladung { padding:6px 10px; border-radius:8px; background:rgba(127,216,138,.25); color:var(--tinte); }
.endeleiste { position:absolute; z-index:44; left:50%; bottom:12px; transform:translateX(-50%); display:flex; align-items:center; gap:10px; padding:8px 14px; }
.med { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:50%; font:900 15px/1 var(--titel); color:#2a1600; background:radial-gradient(circle at 35% 30%, #fff6d6, #ffd25a 45%, #b07a10); }
.med.m3 { background:radial-gradient(circle at 35% 30%, #ffe6cc, #d08a4a 45%, #7a4418); }
.einst-pop { position:absolute; z-index:48; right:10px; top:48px; width:340px; padding:12px 14px; display:flex; flex-direction:column; gap:6px; font-size:14px; background:var(--glas-2); color:var(--text); border:1px solid var(--linie); border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.5); }
.ep-titel { font:800 16px/1.2 var(--titel); color:var(--akzent); }
.ep-designs { display:flex; gap:5px; flex-wrap:wrap; }
.ep-check { display:flex; gap:7px; align-items:flex-start; }
.ep-hinweis { font-size:12.5px; color:var(--text-3); }
#note { position:absolute; z-index:60; left:50%; bottom:12px; transform:translateX(-50%); padding:8px 14px; border-radius:8px; background:var(--glas-2); border:1px solid var(--linie); }
.tg-z { display:flex; justify-content:space-between; padding:6px 10px; border-radius:6px; background:rgba(0,0,0,.15); font-size:15px; }
.tg-z.ich { color:var(--akzent); font-weight:700; }

#stage.hoch #kopf { height:60px; gap:8px; }
#stage.hoch .k-runde { font-size:21px; }
#stage.hoch .k-stand { font-size:19px; } #stage.hoch .k-team b { font-size:21px; }
#stage.hoch .k-phase { display:none; }
#stage.hoch #kopf .kb-ic { width:46px; height:46px; }
#stage.hoch .k-rechts { gap:4px; }
#stage.hoch #kopf .kb-ic .ic { width:24px; height:24px; }
#stage.hoch .pl-name { font-size:19px; } #stage.hoch .pl-zeile { font-size:17px; } #stage.hoch .pl-hi { width:28px; height:28px; font-size:15px; }
#stage.hoch .ch { font-size:15px; height:22px; min-width:22px; }
#stage.hoch .bl-kopf { font-size:18px; } #stage.hoch .bl-kopf b { font-size:20px; } #stage.hoch .bl-kopf .bl-r { font-size:16px; }
#stage.hoch .bl-tab { font-size:19px; } #stage.hoch .bl-tab .bh { font-size:17px; }
#stage.hoch .bl-z { line-height:28px; height:28px; } #stage.hoch .bl-erkl { font-size:17px; height:48px; }
#stage.hoch #block.kompakt .bl-tab { font-size:17px; } #stage.hoch #block.kompakt .bl-z { line-height:24px; height:24px; }
#stage.hoch .bk-titel { font-size:20px; } #stage.hoch .bk-titel small { font-size:17px; }
#stage.hoch .bk-knopf { min-height:68px; font-size:26px; } #stage.hoch .bk-knopf .sy { --g:30px; }
#stage.hoch .bk-erkl { font-size:17px; height:96px; min-height:96px; }
#stage.hoch .schild { font-size:19px; } #stage.hoch .mini-block { font-size:17px; } #stage.hoch .mb-kopf { font-size:17px; } #stage.hoch .mb-z { line-height:24px; }
#stage.hoch .mb-fuss { font-size:15px; } #stage.hoch .stiche { font-size:18px; } #stage.hoch .stiche b { font-size:24px; }
#stage.hoch .le-titel { font-size:17px; } #stage.hoch .le-leer { font-size:17px; } #stage.hoch .le-k small { font-size:13px; }
#stage.hoch .re-leiste button { font-size:18px; padding:8px; } #stage.hoch .pr-liste { font-size:17px; } #stage.hoch #pchatwin { font-size:17px; }
#stage.hoch .pc-knoepfe button { font-size:17px; padding:8px 10px; }
#stage.hoch .meldung { font-size:19px; } #stage.hoch #meldungen { width:700px; top:66px; }
#stage.hoch .blase { font-size:19px; } #stage.hoch .blase small { font-size:16px; }
#stage.hoch .wt-titel { font-size:26px; } #stage.hoch .wt-tab { font-size:17px; } #stage.hoch .wt-text { font-size:17px; } #stage.hoch .wt-haupt { grid-template-columns:1fr; }
#stage.hoch .wt-sub, #stage.hoch #wt-uhr { font-size:16px; }
#stage.hoch .wt-fuss .kb { font-size:19px; padding:12px 16px; }
#stage.hoch .ov-box, #stage.hoch .ov-breit { width:710px; }
#stage.hoch .hilfe-text { font-size:19px; } #stage.hoch .bi-tab { font-size:17px; } #stage.hoch .of-hand { font-size:18px; }
#stage.hoch .d-hinweis { font-size:17px; }
#stage.hoch .einst-pop { width:520px; font-size:19px; top:64px; } #stage.hoch .ep-hinweis { font-size:16px; }
@media (pointer: coarse) { .re-leiste button { min-height:34px; } }
.kx { color:var(--tinte-rot); font-weight:800; font-size:.85em; }
.banner .kx { color:#7a0a10; }
b.sa { font-weight:800; }
.kk { display:inline-flex; align-items:center; gap:1px; padding:0 4px 0 1px; margin:0 1px; border-radius:5px; background:#fffdf6; color:#222; font-weight:800; font-size:12.5px; line-height:18px; box-shadow:0 0 0 1px rgba(0,0,0,.15); }
.sy { flex:none; display:inline-flex; width:var(--g); height:var(--g); vertical-align:-0.18em; }
.sy svg { width:100%; height:100%; display:block; }
.lw-wahl.gesperrt button, .ti-wahl.gesperrt button { opacity:.45; border-style:dashed; }

#bilanz { z-index:52; }
#offen { z-index:53; }
.lo-dauer { font:500 13px/1 var(--schrift); opacity:.8; margin-left:6px; }
.st-zeile { flex-basis:100%; font-size:13px; color:var(--text-2); padding:2px 0; }
.st-zeile b { color:var(--text); }
.tg-boards { display:inline-flex; gap:4px; margin-left:auto; margin-right:10px; }
.tg-boards i { font-style:normal; font-size:12px; min-width:26px; text-align:center; padding:1px 3px; border-radius:4px; background:rgba(0,0,0,.18); }
.pl-s.steuert { box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 3px var(--gold), 0 0 26px rgba(255,210,90,.75); }
.messing.ueberschrift, .pl-name, .bl-kopf, .mb-kopf, .wt-titel { font-variant:small-caps; letter-spacing:.6px; }
@media (pointer: coarse) and (orientation: landscape) {
  #stage:not(.hoch) .bk-knopf { min-height:64px; font-size:26px; }
  #stage:not(.hoch) .bk-knopf .sy { --g:28px; }
  #stage:not(.hoch) .bk-erkl { font-size:16px; }
  #stage:not(.hoch) #kopf .kb-ic { width:54px; height:42px; }
  #stage:not(.hoch) .lw-info { width:34px; height:34px; font-size:18px; }
  #stage:not(.hoch) .lw-wahl button { min-height:40px; font-size:17px; }
  #stage:not(.hoch) .le-k small { font-size:14px; }
}
@media (pointer: coarse) {
  #stage.hoch #kopf .kb-ic { width:74px; height:62px; }
  #stage.hoch #kopf { height:72px; }
  #stage.hoch .k-runde { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  #stage.hoch #k-lern { display:none; }
  #stage.hoch .bk-knopf { min-height:80px; }
  #stage.hoch .d-hinweis { font-size:18px; }
}

.papier, .papier.klein { background-color:var(--papier); }
.kt { color:#141414; }
.bk-knopf:disabled:not(.x):not(.xx):not(.pass):not(.bieten) { background-color:#a89482; }
.pl-rolle { overflow:hidden; text-overflow:ellipsis; }
.d-hinweis.seite { display:flex; flex-direction:column; gap:3px; line-height:1.15; }
.d-hinweis.seite small { font-weight:500; font-size:11.5px; }
.stiche { flex-direction:column; align-items:flex-start; justify-content:center; gap:2px; }
.st-z { display:flex; gap:12px; align-items:baseline; }
.st-zaehl { font-size:12.5px; display:flex; align-items:center; gap:3px; }
.st-zaehl b { font-size:14px; margin-right:3px; }
.st-zaehl .sy { --g:13px; }
#stage.hoch .st-zaehl { font-size:17px; } #stage.hoch .st-zaehl b { font-size:19px; } #stage.hoch .st-zaehl .sy { --g:17px; }
.stapel { position:absolute; border-radius:8px; background:rgba(0,0,0,.16); box-shadow:inset 0 0 0 1px rgba(255,255,255,.12); }
.sp-name { position:absolute; top:4px; font:700 12.5px/1.2 var(--titel); color:var(--filz-text); font-variant:small-caps; letter-spacing:.5px; }
.sp-k { position:absolute; border-radius:3px; background:var(--rueck-bild, none) center / cover, #7b1e2a; border:1px solid rgba(255,255,255,.55); box-shadow:1px 2px 3px rgba(0,0,0,.5); pointer-events:none; }
.sp-k.leucht { animation:sp-leucht .9s ease-out; }
@keyframes sp-leucht { 0% { box-shadow:0 0 0 3px var(--gold), 0 0 16px rgba(255,210,90,.9); } 100% { box-shadow:1px 2px 3px rgba(0,0,0,.5); } }
#stage.hoch .sp-name { font-size:17px; }
@media (prefers-reduced-motion: reduce) { .sp-k.leucht { animation:none; } }
#block.klickbar { cursor:pointer; }
.bl-mehr { display:inline-flex; vertical-align:middle; margin-left:4px; font-style:normal; }
.bl-mehr .ic { width:14px; height:14px; }
#stage.hoch .bl-mehr .ic { width:20px; height:20px; }
.rz-inhalt { overflow:auto; color:var(--tinte); font-size:14px; line-height:1.45; }
.rz-tab { display:grid; grid-template-columns:repeat(4, 1fr); gap:2px 6px; text-align:center; margin-bottom:6px; }
.rz-tab .bh { font-weight:700; color:var(--tinte-2); border-bottom:1.5px solid var(--tinte-rot); }
.rz-z.x { color:var(--tinte-rot); font-weight:700; }
.rz-ue { font:700 13.5px/1.3 var(--titel); font-variant:small-caps; letter-spacing:.6px; color:var(--tinte-rot); margin:8px 0 3px; }
.rz-liste { margin:0; padding-left:22px; }
.rz-liste li { margin:2px 0; }
.rz-bild div { margin:2px 0; }
#stage.hoch .rz-inhalt { font-size:18px; } #stage.hoch .rz-ue { font-size:18px; }
.bk-titel .status { color:var(--holz-titel); }
.bk-titel .status b { color:inherit; text-decoration:underline 2px; text-underline-offset:3px; }
.bk-partner { font-size:13px; line-height:1.3; color:var(--holz-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; height:18px; }
.bk-partner b { color:var(--holz-titel); font-weight:700; }
#stage.hoch .bk-partner { font-size:17px; height:24px; }
#letzter.blaettern { cursor:pointer; }
.le-titel { display:flex; align-items:center; gap:6px; }
.le-titel span { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; }
.le-pf { flex:none; font-style:normal; font-weight:800; font-size:16px; line-height:1; color:var(--tinte-rot); }
#stage.hoch .le-pf { font-size:22px; }
#lupe { position:absolute; z-index:36; }
#lupe .kt { cursor:pointer; }
#lupe .kt.spielbar { box-shadow:0 2px 6px rgba(0,0,0,.45), 0 0 0 3px var(--gold), 0 0 16px rgba(255,210,90,.6); }
#lupe .kt.gesperrt { filter:brightness(.6) saturate(.5); }
.lu-titel { position:absolute; left:14px; right:14px; top:8px; display:flex; align-items:center; gap:6px; font:700 15px/1.2 var(--titel); color:var(--holz-titel); white-space:nowrap; overflow:hidden; }
.lu-titel small { font:500 12.5px/1.2 var(--schrift); color:var(--holz-klein); }
#stage.hoch .lu-titel { font-size:21px; } #stage.hoch .lu-titel small { font-size:17px; }
.kb-rest { color:#2a1a06; background:linear-gradient(180deg, var(--messing1), var(--messing2)); border-color:var(--messing2); box-shadow:0 0 0 2px var(--gold), 0 0 12px rgba(255,210,90,.55); }
.bk-titel, .bk-partner { flex:none; }
#stage:not(.hoch) .bk-erkl { height:82px; min-height:82px; }
.bk-titel small .sy { --g:12px; }
.lu-fuss { position:absolute; left:10px; right:10px; bottom:5px; text-align:center; font-size:12.5px; color:var(--holz-klein); white-space:nowrap; }
#stage.hoch .lu-fuss { font-size:17px; bottom:7px; }
#stage.hoch #kopf, #stage.hoch #kopf { height:84px; }
#stage.hoch #kopf .kb-ic { width:80px; height:80px; }
#stage.hoch #kopf .kb-ic .ic { width:30px; height:30px; }
#stage.hoch #k-bilanz, #stage.hoch #k-hilfe, #stage.hoch #k-lern { display:none; }
#stage.hoch .pl-hi { width:32px; height:32px; font-size:19px; }
#stage.hoch .ch { font-size:19px; height:26px; min-width:26px; }
#stage.hoch .pl-name small { font-size:19px; }
#stage.hoch .pl-zeile { font-size:19px; }
#stage.hoch .stiche { font-size:19px; } #stage.hoch .st-zaehl { font-size:19px; } #stage.hoch .sp-name { font-size:19px; }
#stage.hoch .mini-block, #stage.hoch .mb-kopf, #stage.hoch .mb-fuss { font-size:19px; }
#stage.hoch .bl-tab, #stage.hoch .bl-tab .bh, #stage.hoch #block.kompakt .bl-tab, #stage.hoch .bl-kopf .bl-r { font-size:19px; }
#stage.hoch .le-titel, #stage.hoch .le-leer, #stage.hoch .le-k small { font-size:19px; }
#stage.hoch .re-leiste button { min-height:80px; font-size:19px; }
#stage.hoch .pr-liste, #stage.hoch #pchatwin, #stage.hoch .pc-knoepfe button { font-size:19px; }
#stage.hoch .pc-knoepfe button { min-height:80px; } #stage.hoch #pchatin { min-height:80px; font-size:19px; }
#stage.hoch .bk-titel small, #stage.hoch .bk-erkl, #stage.hoch .bk-partner { font-size:19px; }
#stage.hoch .lu-fuss, #stage.hoch .blase small, #stage.hoch .ep-hinweis { font-size:19px; }
#stage.hoch .wt-tab, #stage.hoch .wt-text, #stage.hoch .wt-sub, #stage.hoch #wt-uhr, #stage.hoch .bi-tab { font-size:19px; }
#stage.hoch .mini-block { cursor:pointer; }
.ep-knoepfe { display:flex; gap:8px; margin-top:4px; }
#stage.hoch .ep-knoepfe .kb { min-height:80px; font-size:19px; flex:1; }
.bl-kz { margin-bottom:1px; }
#stage.hoch .bl-kz .bh { line-height:31px; }
.bl-kz .bh { line-height:20px; }
.re-leiste button { white-space:nowrap; }
#stage.hoch .pl-s { padding:2px 9px 2px 8px; gap:0; }
#stage.hoch .pl-hi { width:28px; height:28px; }
#stage.hoch .ch { height:24px; }
#stage.hoch .d-hinweis { font-size:19px; }
.le-k small { font-size:11px; }
.re-leiste button:not(.an) { background:rgba(40,28,16,.9); }
.d-schleuse .lw-schritt > b { color:#fff; }
.d-schleuse .lo-design .kb.an { background:#c9d6e3; }
.lo-tabs button { white-space:nowrap; }
#stage.hoch .wt-fuss .kb { min-height:80px; white-space:nowrap; }
.blase:not(.an) { visibility:hidden; transition:opacity .25s, transform .25s, visibility 0s .25s; }
.blase.an { visibility:visible; transition:opacity .25s, transform .25s; }
#stage.hoch .bl-kopf .bl-r, #stage.hoch .bk-titel small { line-height:1.3; }
#stage.hoch .bl-erkl { font-size:19px; line-height:1.3; height:76px; }
.stiche, .st-zaehl, .sp-name, .mini-block, .k-stand, .k-uhr, .pl-uhr, .le-titel { font-variant-numeric:tabular-nums; }

.pl-kopf .ava.bild { position:relative; flex:none; width:30px; height:30px; margin-right:4px; }
.pl-kopf .ava.bild img { width:100%; height:100%; object-fit:cover; display:block; border-radius:50%; box-shadow:0 0 0 2px var(--messing1); background:var(--holz2); }
.pl-kopf .ava.bild .pl-hi { position:absolute; right:-6px; bottom:-4px; width:16px; height:16px; font-size:11px; box-shadow:0 0 0 1px var(--messing1); }
#stage.hoch .pl-kopf .ava.bild { width:38px; height:38px; }
#stage.hoch .pl-kopf .ava.bild .pl-hi { width:20px; height:20px; font-size:13px; }

.kinfo .ki-bild > img.ki-gesicht { width:100%; height:100%; max-width:none; max-height:none; object-fit:cover; }
