:root {
  --bg:#1a120b; --panel:rgba(34,22,13,.86); --panel2:rgba(48,32,19,.94); --panel-solid:#2c1d11;
  --akz:#e8a948; --akz-hell:#ffd48a; --akz2:#b0702a; --linie:rgba(255,206,140,.26);
  --text:#f7eedf; --text-2:#eadcc4; --text-3:#c6b292; --dim:#cbb898;
  --gold:#f6c25a; --rot:#ff8a6a; --gruen:#a6dc8e; --blau:#9cc8f0; --dran:#ffd48a;
  --ov-a:#3a281a; --ov-b:#1c120a; --scrim:rgba(10,6,2,.7);
  --kn-a:#5a3d24; --kn-b:#2e1e10;
  --kopf:'Georgia', 'Times New Roman', serif;
  --sans:'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --grund:url(img/kulisse-advent-q.webp?v=1); --grund-h:url(img/kulisse-advent-h.webp?v=1);
  --brett-a:rgba(52,34,18,.82); --brett-b:rgba(30,19,9,.88); --brett-kante:#6b4523; --meld-bg:#2a1b0f;
}
:root[data-theme="light"] {
  --bg:#efe3cc; --panel:rgba(250,242,226,.9); --panel2:rgba(242,230,208,.96); --panel-solid:#f4e8d2;
  --akz:#9a5212; --akz-hell:#7a3c06; --akz2:#b8803a; --linie:rgba(120,80,30,.3);
  --text:#24180c; --text-2:#3f2f1c; --text-3:#5c4a30; --dim:#5c4a30;
  --gold:#8a4a00; --rot:#b4232f; --gruen:#2a6e3a; --blau:#1a5fb4; --dran:#7a3c06;
  --ov-a:#f6ecda; --ov-b:#e6d6b8; --scrim:rgba(40,30,20,.42);
  --kn-a:#f6ecda; --kn-b:#dcc9a6;
  --grund:url(img/kulisse-sommer-q.webp?v=1); --grund-h:url(img/kulisse-sommer-h.webp?v=1);
  --brett-a:rgba(250,240,220,.86); --brett-b:rgba(236,220,190,.92); --brett-kante:#b08a5a; --meld-bg:#f8eedc;
}
html[data-design="morgen"]:not([data-theme="light"]) {
  --bg:#141a22; --panel:rgba(22,30,40,.86); --panel2:rgba(30,40,54,.94); --panel-solid:#1c2632; --linie:rgba(200,220,255,.24);
  --akz:#9cc8f0; --akz-hell:#d6ecff; --kn-a:#34465c; --kn-b:#1c2634; --ov-a:#2a3646; --ov-b:#141c26;
  --grund:url(img/kulisse-morgen-q.webp?v=1); --grund-h:url(img/kulisse-morgen-h.webp?v=1);
  --brett-a:rgba(26,34,46,.82); --brett-b:rgba(16,22,30,.88); --brett-kante:#4a5a6e; --meld-bg:#1a2430;
}
: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:#120a06; 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, #3a2618 0%, #120a06 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:50%; 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 { 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; }
.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 { position:absolute; 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 { 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)); }

.knopf { display:inline-flex; align-items:center; gap:6px; font-weight:800; letter-spacing:.3px; 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; }

#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; }
#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.5s 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%); } }
#ansicht-menu { right:12px; top:72px; padding:10px 12px; z-index:40; width:320px; display:flex; flex-direction:column; gap:6px; }
#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-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; }


#steuer { padding:7px 8px; display:flex; flex-direction:column; gap:6px; }
#steuer.blink { animation:steuerBlink 1s ease-out; }
@keyframes steuerBlink { 0%, 100% { box-shadow:inset 0 1px 0 rgba(255,236,200,.06), 0 8px 24px rgba(0,0,0,.4); } 40% { box-shadow:0 0 0 3px var(--akz), 0 0 22px var(--akz); } }
#lage { height:44px; overflow:hidden; font-size:14px; line-height:1.4; color:var(--text-2); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
#lage b { color:var(--text); } #lage .warn { color:var(--rot); font-weight:700; }
.rat-text { color:var(--gold); } .rat-text .sgzi { width:16px; height:16px; }
#knoepfe { height:58px; display:flex; gap:6px; align-items:stretch; }
.wahl { flex:1 1 0; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; font:800 13px var(--sans); color:var(--text); cursor:pointer;
  background:linear-gradient(var(--kn-a), var(--kn-b)); border:1px solid var(--linie); border-radius:9px; padding:4px 6px; white-space:nowrap; box-shadow:0 2px 0 rgba(0,0,0,.3); }
.wahl .sgzi { width:20px; height:20px; }
.wahl:disabled { opacity:.45; cursor:default; }
.wahl.kleben { flex:1.7 1 0; } .wahl.kleben.bereit { color:#13300f; background:linear-gradient(#b8f08e, #4fb83a); border-color:#d8ffc2; }
.wahl.rat { flex:.9 1 0; }
.wahl-ruhe { flex:1; display:flex; align-items:center; justify-content:center; gap:8px; font-size:15px; color:var(--text-2); border:1px dashed var(--linie); border-radius:9px; }
.wahl-ruhe .sgzi { width:20px; height:20px; color:var(--akz); }

#seite { position:absolute; display:flex; flex-direction:column; }
#seite > .panel { position:relative; }
#stage.hoch #seite { display:none; }
#stage.hoch #seite.offen { display:flex; z-index:55; }
#pchat { flex:1; min-height:0; padding:8px 10px 10px; display:flex; flex-direction:column; }
#partie > .panel, #steuer { position:absolute; }

.en-platz { display:grid; grid-template-columns:48px 40px minmax(0, 1fr) 70px 100px; align-items:center; gap:10px; padding:7px 12px; border-radius:10px; background:rgba(0,0,0,.18); border:1px solid var(--linie); }
.en-rech { display:flex; flex-wrap:wrap; gap:4px 10px; margin-top:2px; }
.en-f { font-size:12.5px; color:var(--text-2); border-left:3px solid var(--fb, var(--akz)); padding-left:5px; }
.en-f b { color:var(--text); }
.en-ohne { font-size:13px; color:var(--text-3); padding:4px 12px; }
.ki-stein { display:flex; align-items:center; justify-content:center; min-height:90px; }
.konfetti { position:absolute; top:-20px; z-index:90; width:var(--gr); height:calc(var(--gr) * .6); border-radius:2px; pointer-events:none; opacity:.9; animation:fallen linear forwards; }
@keyframes fallen { to { transform:translateY(860px) rotate(540deg); opacity:.2; } }
.bildnis { display:inline-block; flex:none; border-radius:50%; box-shadow:0 2px 4px rgba(0,0,0,.35); }
.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); }
#hinweis { position:absolute; left:50%; bottom:130px; transform:translateX(-50%); z-index:70; padding:9px 18px; border-radius:9px; background:rgba(150,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); }
#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); }


#grund { position:absolute; inset:0; overflow:hidden; background:var(--grund) center / cover no-repeat, var(--bg); transition:filter .4s; }
#stage.hochkant #grund { background-image:var(--grund-h); }
#stage.lobbyhg #grund { filter:blur(3px) brightness(.8); }
:root[data-theme="light"] #stage.lobbyhg #grund { filter:blur(3px) brightness(1.02); }
#grund .gr-licht { position:absolute; left:-10%; top:-10%; width:60%; height:60%; background:radial-gradient(circle at 30% 30%, rgba(255,200,120,.22), rgba(255,200,120,0) 60%); animation:kerze 3.2s ease-in-out infinite alternate; pointer-events:none; }
#grund .gr-schnee { position:absolute; left:4%; top:2%; width:26%; height:30%; pointer-events:none; opacity:.55;
  background-image:radial-gradient(2px 2px at 20% 30%, #fff, transparent), radial-gradient(2px 2px at 60% 10%, #fff, transparent), radial-gradient(1.5px 1.5px at 80% 60%, #fff, transparent), radial-gradient(2px 2px at 40% 80%, #fff, transparent);
  background-size:120px 120px; animation:schnee 14s linear infinite; }
:root[data-theme="light"] #grund .gr-schnee { display:none; }
@keyframes kerze { from { opacity:.6; } to { opacity:1; } }
@keyframes schnee { from { background-position:0 0; } to { background-position:30px 240px; } }
@media (prefers-reduced-motion: reduce) { #grund .gr-licht, #grund .gr-schnee { animation:none; } }
#lobby, #tisch { background:linear-gradient(180deg, rgba(20,12,6,.35), rgba(12,8,4,.6)); }
:root[data-theme="light"] #lobby, :root[data-theme="light"] #tisch { background:linear-gradient(180deg, rgba(255,248,232,.32), rgba(236,222,196,.5)); }

#kopf, .brettchen, .tablett, .kartenleiste, #seite > .panel {
  background:linear-gradient(160deg, rgba(255,230,190,.10), rgba(0,0,0,.18)), repeating-linear-gradient(92deg, rgba(0,0,0,.05) 0 3px, rgba(255,255,255,.025) 3px 9px), linear-gradient(var(--brett-a), var(--brett-b));
  border:1px solid var(--brett-kante); border-radius:10px; box-shadow:inset 0 1px 0 rgba(255,236,200,.16), 0 3px 0 rgba(0,0,0,.35), 0 10px 22px rgba(0,0,0,.4); backdrop-filter:none; }
#kopf { background:linear-gradient(rgba(30,18,8,.55), rgba(20,12,6,.62)); }
:root[data-theme="light"] #kopf { background:linear-gradient(rgba(255,248,234,.62), rgba(244,232,210,.66)); }
.brettchen, .tablett, .kartenleiste { position:absolute; }
:root[data-theme="light"] #kopf, :root[data-theme="light"] .brettchen, :root[data-theme="light"] .tablett, :root[data-theme="light"] .kartenleiste { box-shadow:inset 0 1px 0 #fff8, 0 3px 0 rgba(120,90,50,.3), 0 8px 18px rgba(90,60,30,.22); }

#spieler { position:absolute; display:flex; gap:8px; align-items:stretch; }
.sp { flex:1 1 0; min-width:0; display:flex; align-items:center; gap:8px; padding:4px 10px; border-radius:9px; cursor:pointer; color:var(--text); font-family:var(--sans);
  background:linear-gradient(180deg, rgba(255,236,200,.14), rgba(0,0,0,.2)), linear-gradient(var(--brett-a), var(--brett-b)); border:1px solid var(--brett-kante); border-left:5px solid var(--sf); box-shadow:0 3px 8px rgba(0,0,0,.35); }
.sp.dran { box-shadow:0 0 0 2px var(--akz-hell), 0 0 18px rgba(255,212,138,.45); }
.sp.blick { background:linear-gradient(180deg, rgba(255,212,138,.28), rgba(0,0,0,.12)), linear-gradient(var(--brett-a), var(--brett-b)); }
.sp-nm { flex:1; min-width:0; font-weight:800; font-size:15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-align:left; }
.sp-w { display:flex; flex-direction:column; align-items:center; line-height:1; } .sp-w b { font-family:var(--kopf); font-size:19px; } .sp-w small { font-size:11.5px; color:var(--dim); margin-top:2px; }
.sp-fig { width:30px; height:30px; flex:none; border-radius:50%; background-size:cover; background-position:center; border:2px solid #d8b47a; }

#platte-box { position:absolute; }
#platte { position:absolute; left:0; right:0; top:0; bottom:30px; display:flex; align-items:center; justify-content:center; touch-action:none; }
#platte .platte-svg { display:block; overflow:visible; filter:drop-shadow(0 18px 22px rgba(10,5,0,.45)); }
#platte.mein .fd { cursor:pointer; }
#platte .fd > :not(.fd-treffer), #platte .felder, #platte .obenauf { pointer-events:none; }
#platte .fd-treffer { pointer-events:all; }
#platte .mk { fill:none; stroke-width:3; pointer-events:none; }
#platte .mk.ok { stroke:rgba(255,226,140,.95); fill:rgba(255,226,140,.18); animation:mkPuls 1.4s ease-in-out infinite alternate; }
#platte .mk.tierok { stroke:#9cf0a8; fill:rgba(140,240,160,.22); stroke-width:3.5; animation:mkPuls 1.1s ease-in-out infinite alternate; }
#platte .mk.ziel { stroke:#fff; stroke-width:4.5; fill:rgba(255,255,255,.25); }
#platte .mk.muster { stroke:#ffd48a; stroke-dasharray:6 4; fill:rgba(255,212,138,.14); }
#platte .mk.neu { stroke:rgba(255,255,255,.8); stroke-width:2.5; }
@keyframes mkPuls { from { opacity:.55; } to { opacity:1; } }
@media (prefers-reduced-motion: reduce) { #platte .mk { animation:none !important; } }
#platte .plus rect { fill:rgba(30,18,8,.86); stroke:#ffd48a; stroke-width:1; }
#platte .plus.gut rect { fill:#2f6a22; stroke:#c8f5a0; }
#platte .plus text { fill:#fff3d6; font:800 13px var(--sans); }
#platte .plus, #platte .ratmark { pointer-events:none; }
#platte .ratmark circle { fill:var(--gold); stroke:#3a2405; stroke-width:2; } #platte .ratmark text { fill:#3a2405; font:900 15px var(--sans); }
#pl-schild { position:absolute; left:50%; bottom:0; transform:translateX(-50%); height:28px; max-width:100%; display:flex; align-items:center; gap:10px; padding:0 12px; white-space:nowrap; overflow:hidden;
  font-size:13px; color:var(--text-2); border-radius:8px; background:linear-gradient(var(--brett-a), var(--brett-b)); border:1px solid var(--brett-kante); }
.ps-nm { font-weight:800; color:var(--text); border-left:4px solid var(--sf); padding-left:6px; } .ps-sum b { font-family:var(--kopf); font-size:16px; color:var(--gold); }
.ps-t b { color:var(--text); }
#pl-heim { position:absolute; right:4px; top:4px; z-index:6; }
#meldungen { position:absolute; left:8%; right:8%; top:2px; z-index:30; }
#meldungen.in-seite { left:6px; right:6px; top:40px; }
#meldungen { display:flex; flex-direction:column; gap:5px; pointer-events:none; }
.meldung { padding:7px 12px; border-radius:9px; font-size:14px; line-height:1.4; color:var(--text); background:var(--meld-bg); border:1px solid var(--linie); box-shadow:0 6px 16px rgba(0,0,0,.4); animation:meldRein .35s ease-out; transition:opacity .6s, transform .6s; opacity:.95; }
.meldung b { color:var(--akz-hell); } :root[data-theme="light"] .meldung b { color:var(--akz); }
.meldung.weg { opacity:0; transform:translateY(-8px); }
@keyframes meldRein { from { opacity:0; transform:translateY(-8px); } to { opacity:.95; transform:none; } }

#hand { padding:6px 10px; touch-action:none; }
.hd-t { font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--dim); font-weight:800; height:16px; overflow:hidden; white-space:nowrap; }
.hd-steine { display:flex; gap:8px; margin-top:2px; }
.hs { width:58px; height:76px; flex:none; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; border-radius:10px; cursor:pointer; position:relative;
  background:radial-gradient(ellipse at 50% 80%, rgba(0,0,0,.28), rgba(0,0,0,.08) 70%); border:1px solid rgba(255,206,140,.18); }
.hs small { font-size:11.5px; color:var(--text-2); font-weight:700; margin-top:-4px; }
.hs.leer { border-style:dashed; opacity:.45; cursor:default; }
.hs.gew { box-shadow:0 0 0 3px var(--akz-hell), 0 0 16px rgba(255,212,138,.5); background:rgba(255,212,138,.16); }
.hs.passtnicht { opacity:.55; }
.hs.zieht { opacity:.3; }
.hs.empf, .mulde.empf, .karte.empf { outline:3px dashed var(--gold); outline-offset:2px; }
.st-svg { display:block; overflow:visible; }

#mulden { padding:8px; display:flex; flex-direction:column; gap:6px; }
.mu-t { font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--dim); font-weight:800; text-align:center; }
.mulde { position:relative; flex:1 1 0; min-height:0; display:flex; align-items:center; justify-content:center; border-radius:50% / 42%; cursor:default;
  background:radial-gradient(ellipse at 50% 40%, #3a2412 0%, #5a3a1e 55%, #8a5e34 80%, #4a2e16 100%); box-shadow:inset 0 6px 12px rgba(0,0,0,.55), 0 3px 6px rgba(0,0,0,.4); }
:root[data-theme="light"] .mulde { background:radial-gradient(ellipse at 50% 40%, #8a6034 0%, #b8864e 55%, #e0b47a 80%, #9a6a36 100%); }
.mulde.waehlbar { cursor:pointer; box-shadow:inset 0 6px 12px rgba(0,0,0,.55), 0 0 0 2px rgba(255,212,138,.65), 0 0 14px rgba(255,212,138,.35); }
@media (hover: hover) { .mulde.waehlbar:hover { box-shadow:inset 0 6px 12px rgba(0,0,0,.55), 0 0 0 3px var(--akz-hell), 0 0 20px rgba(255,212,138,.6); } }
.mulde.leer .mu-steine { opacity:0; }
.mu-steine { display:flex; align-items:flex-end; }
.mu-steine .st-svg + .st-svg { margin-left:-8px; }
#mulden.zeig .mulde.waehlbar, #reihe.zeig .karte.waehlbar { animation:zeig .9s ease-out 2; }
@keyframes zeig { 50% { transform:scale(1.06); filter:brightness(1.25); } }

.kartenleiste { padding:5px 8px 6px; display:flex; flex-direction:column; }
.kl-t { font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--dim); font-weight:800; height:18px; white-space:nowrap; overflow:hidden; }
.kl-t small { letter-spacing:0; text-transform:none; font-weight:600; color:var(--text-3); margin-left:6px; font-size:12px; }
.kl-k { flex:1; min-height:0; display:flex; gap:6px; align-items:stretch; }
.kl-leer { font-size:13px; color:var(--text-3); font-style:italic; align-self:center; }
.karte { position:relative; flex:0 0 88px; display:flex; flex-direction:column; align-items:center; border-radius:8px; overflow:hidden; color:#2e1d0c; cursor:default;
  background:linear-gradient(180deg, #f6e9cc, #e6d0a4); border:1px solid #9a7444; box-shadow:0 3px 0 #7a5630, 0 6px 12px rgba(0,0,0,.35); }
.karte.frei { background:rgba(0,0,0,.14); border:1px dashed var(--linie); box-shadow:none; justify-content:center; color:var(--text-3); }
.karte.frei small { font-size:12px; }
.karte.waehlbar { cursor:pointer; }
@media (hover: hover) { .karte.waehlbar:hover, .karte.passt:hover { transform:translateY(-3px); } }
.karte.passt { cursor:pointer; box-shadow:0 0 0 3px #7fe08e, 0 6px 14px rgba(60,200,90,.4); }
.karte.gew { box-shadow:0 0 0 3px var(--akz-hell), 0 0 16px rgba(255,212,138,.6); }
.ka-bild { width:100%; height:54px; flex:none; background-size:cover; background-position:center 40%; border-bottom:1px solid #b08a54; }
.ka-nm { font:800 12px/1.15 var(--kopf); letter-spacing:-.3px; text-align:center; padding:2px 1px 0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.ka-mu { flex:1; min-height:0; display:flex; align-items:center; justify-content:center; }
.ka-mu .mu-svg { max-width:84px; max-height:100%; }
.ka-lt { display:flex; gap:2px; padding:0 3px 4px; }
.lt { position:relative; min-width:16px; height:18px; display:flex; align-items:center; justify-content:center; border-radius:4px; font:800 11.5px var(--sans); color:#4a3014; background:#dcc28e; border:1px solid #a88450; }
.lt.gesetzt { background:#c99e5c; color:#fff6e0; }
.lt.zaehlt { background:#3f7a2e; border-color:#2a5a1e; color:#fff; }
.lt .pflock { position:absolute; left:50%; top:-6px; margin-left:-4px; width:8px; height:8px; border-radius:50%; background:radial-gradient(circle at 35% 30%, #fff1c8, #b07a30); box-shadow:0 1px 1px rgba(0,0,0,.5); }
.flug-karte { width:88px; height:150px; }
.flieger .karte { flex:none; }
.flug-tier { display:block; width:100%; aspect-ratio:1; border-radius:50%; background-size:cover; background-position:center; border:3px solid #e8cfa0; box-shadow:0 6px 12px rgba(0,0,0,.5); }
.flug-beutel { display:flex; justify-content:center; }

#steuer { padding:6px 8px; gap:4px; }
#lage { display:block; -webkit-line-clamp:unset; font-size:14px; height:50px; }
.lg-reihe { display:flex; gap:4px; height:24px; overflow:hidden; }
.ls { flex:0 1 auto; min-width:0; display:inline-flex; align-items:center; gap:3px; padding:0 8px; border-radius:12px; font:700 12.5px var(--sans); white-space:nowrap; color:var(--text-3); background:rgba(0,0,0,.2); border:1px solid var(--linie); cursor:pointer; }
.ls.erledigt { color:var(--gruen); } .ls.jetzt { color:#2b1a05; background:var(--akz-hell); border-color:#fff1c8; }
.ls .sgzi { width:12px; height:12px; }
.lg-text { height:22px; line-height:22px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; margin-top:2px; }
#knoepfe { height:44px; }

.fw-wahl { display:flex; gap:18px; justify-content:center; margin:12px 0; }
.fw-k { background:none; border:0; padding:0; }
.figur { width:180px; display:flex; flex-direction:column; align-items:center; gap:4px; padding:8px; border-radius:12px; background:linear-gradient(180deg, #f6e9cc, #e2c898); color:#2e1d0c; border:1px solid #9a7444; box-shadow:0 4px 0 #7a5630, 0 8px 16px rgba(0,0,0,.4); cursor:pointer; }
.figur.gewaehlt { cursor:default; box-shadow:0 0 0 3px var(--akz-hell), 0 8px 16px rgba(0,0,0,.4); }
.fi-bild { width:150px; height:150px; border-radius:10px; background-size:cover; background-position:center; }
.fi-nm { font:800 17px var(--kopf); } .fi-tx { font-size:14px; font-weight:700; color:#5a3a12; }
.fw-text { text-align:center; color:var(--text-2); font-size:15px; margin:4px 0; }

.ki-karte { display:flex; align-items:center; gap:10px; }
.ki-tier { display:block; width:90px; height:90px; border-radius:12px; background-size:cover; background-position:center; box-shadow:0 2px 6px rgba(0,0,0,.4); }
.ki-stein { display:flex; align-items:center; justify-content:center; min-height:90px; }

.ti-schild { width:18px; height:34px; flex:none; border-radius:4px; background:linear-gradient(180deg, #fff6, transparent), var(--sf); box-shadow:0 2px 4px rgba(0,0,0,.4); }
.en-platz { display:grid; grid-template-columns:48px 22px minmax(0, 1fr) 70px 100px; align-items:center; gap:10px; padding:7px 12px; border-radius:10px; background:rgba(0,0,0,.18); border:1px solid var(--linie); }
.en-rech { display:block; margin-top:2px; font-size:12.5px; color:var(--text-2); }
.konfetti { position:absolute; top:-20px; z-index:90; width:var(--gr); height:calc(var(--gr) * .6); border-radius:2px; pointer-events:none; opacity:.9; animation:fallen linear forwards; }
@keyframes fallen { to { transform:translateY(1200px) rotate(540deg); opacity:.2; } }
.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); }
.k-punkt { width:12px; height:12px; border-radius:50%; flex:none; box-shadow:0 0 0 2px rgba(0,0,0,.3); }

#stage.hoch #kopf { left:8px; right:8px; height:108px; flex-wrap:wrap; align-content:flex-start; column-gap:10px; row-gap:4px; padding:6px 8px; }
#stage.hoch .logo, #stage.hoch .trenner { display:none; }
#stage.hoch .rechts { order:1; flex:1 1 100%; justify-content:flex-end; gap:6px; min-height:58px; }
#stage.hoch #k-verlauf { order:2; width:auto; padding:0 12px; font-size:16px; font-weight:800; gap:6px; }
#stage.hoch .runde { order:3; font-size:14px; letter-spacing:1px; } #stage.hoch .runde b { font-size:19px; }
#stage.hoch .k-phase { order:4; flex:1 1 0; font-size:17px; }
#stage.hoch .kb-ic { width:58px; height:40px; }
#stage.hoch .kb-ic .sgzi { width:24px; height:24px; }
#stage.hoch .sp { padding:3px 7px; gap:5px; } #stage.hoch .sp-nm { font-size:15px; } #stage.hoch .sp-w b { font-size:18px; } #stage.hoch .sp-w small { font-size:13px; }
#stage.hoch .sp-fig { display:none; }
#stage.hoch #pl-schild { font-size:13.5px; gap:7px; }
#stage.hoch #mulden { flex-direction:row; align-items:stretch; }
#stage.hoch .mu-t { display:none; }
#stage.hoch .karte { flex:1 1 0; max-width:104px; }
#stage.hoch .lt { font-size:13px; min-width:17px; height:20px; }
#stage.hoch .kl-t, #stage.hoch .hd-t { font-size:13.5px; letter-spacing:1px; } #stage.hoch .kl-t small { font-size:13.5px; }
#stage.hoch .hd-steine { gap:2px; }
#stage.hoch #lage { height:58px; font-size:15px; }
#stage.hoch .lg-reihe { height:auto; flex-wrap:wrap; row-gap:3px; max-height:56px; } #stage.hoch .ls { font-size:13.5px; height:25px; } #stage.hoch .lg-text { display:none; }
#stage.hoch #knoepfe { height:48px; }
#stage.hoch .wahl { font-size:14px; } #stage.hoch .wahl span { display:none; } #stage.hoch .wahl.kleben span { display:inline; }
#stage.hoch .wahl .sgzi { width:24px; height:24px; }
#stage.hoch .meldung { font-size:15px; }
#stage.hoch .ch-liste { font-size:15px; }
#stage.hoch .figur { width:200px; } #stage.hoch .fw-wahl { gap:10px; }
#stage.hoch .en-platz { grid-template-columns:38px 16px minmax(0, 1fr) 54px 72px; gap:6px; padding:6px 8px; }
#stage.hoch .ov-box.ov-breit { width:96%; padding:14px; }
@media (pointer: coarse) {
  .wahl { min-height:44px; }
  .knopf { min-height:42px; }
  .ch-tabs button { min-height:38px; }
  .sp { min-height:44px; }
}
#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 .lw-mobil .lang { display:none; }
#stage.hoch .lw-mobil .lo-seg .seg-ic { display:none; }

.ktabs { position:absolute; display:flex; gap:6px; }
.ktabs button { flex:1; font:800 17px var(--sans); color:var(--text-2); border-radius:10px; border:1px solid var(--brett-kante); background:linear-gradient(var(--brett-a), var(--brett-b)); }
.ktabs button.an { color:#2b1a05; background:linear-gradient(#ffe39a, #e0a52a); }
.ktabs button small { font-size:15px; font-weight:700; }
.ktabs button.passt:not(.an) { box-shadow:0 0 0 3px #7fe08e; }
.kartenleiste.weg { display:none; }
#stage.hoch #kopf { height:116px; row-gap:0; padding:2px 8px; }
#stage.hoch .rechts { min-height:62px; }
#stage.hoch .kb-ic { width:68px; height:62px; }
#stage.hoch #k-verlauf { height:62px; min-width:116px; font-size:17px; }
#stage.hoch .runde { font-size:15px; }
#stage.hoch .sp-w small { font-size:15px; } #stage.hoch .sp-w b { font-size:20px; } #stage.hoch .sp-nm { font-size:16px; }
#stage.hoch #pl-schild { font-size:15px; height:30px; }
#stage.hoch .kl-t { display:none; }
#stage.hoch .karte { max-width:100px; }
#stage.hoch .ka-nm { font-size:14px; letter-spacing:-.6px; padding:2px 1px 0; } #stage.hoch .lt { font-size:15px; min-width:18px; height:22px; }
#stage.hoch .karte.frei small { font-size:15px; }
#stage.hoch .ka-bild { height:48px; } #stage.hoch .ka-lt { padding-bottom:3px; } #stage.hoch .karte { max-width:102px; }
#stage.hoch .hd-t { font-size:15px; height:20px; }
#stage.hoch #lage { height:52px; font-size:15px; line-height:1.3; overflow:hidden; }
#stage.hoch #knoepfe { height:62px; } #stage.hoch .sp-w + .sp-w { display:none; } #stage.hoch #steuer { gap:2px; padding:4px 6px; }
#stage.hoch .wahl span { font-size:15px; }
#stage.hoch #hand { padding:6px; } #stage.hoch .hs { width:60px; height:86px; } #stage.hoch .hs small { font-size:15px; }
.lg-reihe .ls { justify-content:center; overflow:hidden; }
.lg-reihe .ls[data-was="mulde"] { flex:0 0 96px; } .lg-reihe .ls[data-was="stein"] { flex:0 0 94px; } .lg-reihe .ls[data-was="karte"] { flex:0 0 78px; }
.lg-reihe .ls[data-was="tier"] { flex:0 0 66px; } .lg-reihe .ls[data-was="fertig"] { flex:0 0 52px; }

.mu-plus { position:absolute; right:8%; top:6%; min-width:34px; padding:1px 6px; border-radius:10px; font:800 13px var(--sans); text-align:center; color:#fff3d6; background:rgba(30,18,8,.86); border:1px solid #ffd48a; pointer-events:auto; }
.mu-plus.gut { background:#2f6a22; border-color:#c8f5a0; }
.kp { position:absolute; left:3px; right:3px; top:40px; padding:1px 3px; border-radius:6px; font:800 11px var(--sans); text-align:center; pointer-events:none; white-space:nowrap; }
.kp.sofort { background:#2f7a2a; color:#fff; } .kp.fast { background:#c78a1e; color:#2b1a05; }
#platte .mk.wert { stroke:#fff1a8; stroke-width:4; fill:rgba(255,240,160,.32); }
.ps-t { cursor:pointer; padding:1px 4px; border-radius:5px; }
.ps-t.an { background:rgba(255,241,168,.3); outline:1px solid #ffe08a; }
.sp.knapp .sp-w + .sp-w b { color:var(--rot); }
#stage.hoch .mu-plus { font-size:15px; top:2%; right:4%; }
#stage.hoch .kp { font-size:13px; top:34px; }

.kl-k > .karte { flex:1 1 0; min-width:0; max-width:88px; }
.lg-reihe .ls[data-was="mulde"] { flex-basis:102px; } .lg-reihe .ls[data-was="stein"] { flex-basis:90px; } .lg-reihe .ls[data-was="karte"] { flex-basis:74px; }
.lg-reihe .ls[data-was="tier"] { flex-basis:62px; } .lg-reihe .ls[data-was="fertig"] { flex-basis:50px; }
.lg-reihe .ls { padding:0 4px; font-size:12px; gap:2px; }
#stage.hoch #pl-schild { height:62px; flex-wrap:wrap; align-content:center; justify-content:center; row-gap:2px; white-space:normal; cursor:pointer; padding:0 8px; }
#stage.hoch .ps-t { cursor:inherit; }
#stage.hoch #platte { bottom:64px; }
#stage.hoch .kp { font-size:14px; }
#stage.hoch .ka-lt { width:100%; gap:2px; padding:0 3px 3px; }
#stage.hoch .lt { flex:1 1 0; min-width:0; font-size:14px; height:22px; letter-spacing:-.5px; }
#stage.hoch .lt { font-size:15px; letter-spacing:-.8px; }
#stage.hoch .kl-k { gap:3px; } #stage.hoch .kartenleiste { padding:4px 4px 5px; }
#stage.hoch .kp { top:24px; }
.kp { top:30px; }

#meldungen.in-steuer { left:6px; right:6px; top:4px; }
#meldungen.in-steuer .meldung { padding:4px 10px; font-size:15px; line-height:1.3; max-height:48px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; opacity:1; }
#stage.hoch .banner { min-width:0; padding:12px 18px 10px; }
#stage.hoch .bn-titel { font-size:32px; letter-spacing:2px; }
#stage.hoch .banner.klein .bn-titel { font-size:24px; }
#stage.hoch > .sz-karte { max-width:92%; }
.ktabs button { white-space:nowrap; }
#mulden.weg { display:none; }

#stage.quer-handy #kopf { left:4px; right:4px; top:4px; height:68px; padding:0 6px; gap:10px; }
#stage.quer-handy .logo, #stage.quer-handy .trenner { display:none; }
#stage.quer-handy .kb-ic { width:64px; height:64px; }
#stage.quer-handy .kb-ic .sgzi { width:26px; height:26px; }
#stage.quer-handy .rechts { gap:6px; }
#stage.quer-handy #k-verlauf { width:auto; min-width:118px; padding:0 10px; font-size:16px; font-weight:800; gap:6px; }
#stage.quer-handy .runde { font-size:15px; letter-spacing:1px; } #stage.quer-handy .runde b { font-size:20px; }
#stage.quer-handy .k-phase { display:block; flex:1 1 0; font-size:16px; line-height:1.25; white-space:normal; max-height:62px; overflow:hidden; }
#stage.quer-handy .k-phase .k-punkt { display:inline-block; vertical-align:-1px; margin-right:6px; }
#stage.quer-handy .uhr { font-size:22px; min-width:48px; }
#stage.quer-handy .sp { min-height:64px; flex-direction:column; align-items:stretch; justify-content:center; gap:2px; padding:3px 4px 3px 6px; }
#stage.quer-handy .sp-nm { flex:none; font-size:15px; line-height:1.1; white-space:normal; overflow-wrap:anywhere; text-overflow:clip; max-height:34px; }
#stage.quer-handy .sp-w { flex-direction:row; align-items:baseline; gap:4px; } #stage.quer-handy .sp-w b { font-size:19px; } #stage.quer-handy .sp-w small { font-size:15px; margin:0; }
#stage.quer-handy .sp-w + .sp-w, #stage.quer-handy .sp-fig { display:none; }
#stage.quer-handy #platte { bottom:66px; }
#stage.quer-handy #pl-schild { left:0; right:0; transform:none; max-width:none; height:64px; flex-wrap:wrap; align-content:center; justify-content:center; row-gap:2px; column-gap:8px; white-space:normal; cursor:pointer; padding:0 8px; font-size:15px; }
#stage.quer-handy .ps-t { cursor:inherit; }
#stage.quer-handy #pl-heim { min-height:64px; font-size:15px; }
#stage.quer-handy .ktabs button { font-size:16px; padding:0 6px; }
#stage.quer-handy .ktabs button small { font-size:15px; }
#stage.quer-handy #mulden { flex-direction:row; align-items:center; gap:6px; padding:6px; }
#stage.quer-handy .mu-t { display:none; }
#stage.quer-handy .mulde { align-self:stretch; min-width:64px; }
#stage.quer-handy .mu-plus { font-size:15px; top:4%; right:2%; }
#stage.quer-handy .kartenleiste { padding:4px 4px 5px; }
#stage.quer-handy .kl-t { display:none; }
#stage.quer-handy .kl-k { gap:3px; }
#stage.quer-handy .kl-k > .karte { flex:1 1 0; min-width:0; max-width:104px; }
#stage.quer-handy .ka-bild { height:38px; }
#stage.quer-handy .ka-nm { font-size:15px; letter-spacing:-.6px; line-height:1.05; white-space:normal; text-overflow:clip; hyphens:auto; overflow-wrap:anywhere; flex:none; }
#stage.quer-handy .ka-lt { width:100%; gap:2px; padding:0 3px 3px; }
#stage.quer-handy .lt { flex:1 1 0; min-width:0; font-size:15px; height:22px; letter-spacing:-.8px; }
#stage.quer-handy .kp { font-size:15px; top:4px; left:2px; right:2px; padding:1px 2px; line-height:1.05; white-space:normal; letter-spacing:-.4px; }
#stage.quer-handy .karte.frei small { font-size:15px; }
#stage.quer-handy .kl-leer { font-size:15px; }
#stage.quer-handy #hand { padding:6px; }
#stage.quer-handy .hd-t { font-size:15px; height:20px; letter-spacing:1px; }
#stage.quer-handy .hd-steine { gap:2px; margin-top:8px; }
#stage.quer-handy .hs { width:64px; height:92px; }
#stage.quer-handy .hs small { font-size:15px; }
#stage.quer-handy #steuer { gap:4px; padding:4px 6px; }
#stage.quer-handy #lage { flex:1 1 0; height:auto; min-height:0; font-size:15px; line-height:1.3; overflow:hidden; }
#stage.quer-handy #knoepfe { height:64px; flex:none; }
#stage.quer-handy .wahl { min-width:64px; font-size:15px; padding:4px; }
#stage.quer-handy .wahl span { display:none; } #stage.quer-handy .wahl.kleben span { display:inline; }
#stage.quer-handy .wahl .sgzi { width:24px; height:24px; }
#stage.quer-handy .wahl-ruhe { font-size:15px; line-height:1.25; text-align:center; padding:2px 6px; }
#stage.quer-handy #meldungen.in-steuer .meldung { font-size:15px; max-height:58px; }
#stage.quer-handy #seite { display:none; }
#stage.quer-handy #seite.offen { display:flex; z-index:55; background:var(--panel-solid); border-radius:10px; box-shadow:0 10px 30px rgba(0,0,0,.55); }
#stage.quer-handy .ch-tabs button { min-height:64px; font-size:15px; }
#stage.quer-handy .ch-liste { font-size:15px; }
#stage.quer-handy #pchatwin { font-size:15px; }
#stage.quer-handy #pchatin { min-height:64px; font-size:16px; }
#stage.quer-handy .pc-knoepfe button { min-height:64px; font-size:15px; }
#stage.quer-handy #hinweis { font-size:16px; }
#stage.quer-handy .banner { min-width:0; padding:12px 18px 10px; }
#stage.quer-handy .bn-titel { font-size:30px; letter-spacing:2px; }
#stage.quer-handy .banner.klein .bn-titel { font-size:24px; }
#stage.quer-handy #platte-box > .sz-karte { top:4px; max-width:96%; font-size:15px; }
#stage.quer-handy #ansicht-menu { top:76px; right:4px; width:380px; max-height:390px; overflow-y:auto; }
#stage.quer-handy #ansicht-menu label { font-size:15px; min-height:64px; align-items:center; }
#stage.quer-handy #ansicht-menu label small, #stage.quer-handy #ansicht-menu .am-t { font-size:15px; }
#stage.quer-handy #ansicht-menu input { width:24px; height:24px; }
#stage.quer-handy .ov-box { max-height:96%; padding:14px 18px; }
#stage.quer-handy .ov-box.ov-breit { width:96%; }
