:root {
  --bg:#1c1418; --panel:rgba(40,26,24,.88); --panel2:rgba(54,36,30,.95); --panel-solid:#2e1e1a;
  --akz:#f0b85a; --akz-hell:#ffd88e; --akz2:#b9742c; --linie:rgba(240,184,110,.3);
  --text:#fbf1e2; --text-2:#eddcc6; --text-3:#c8b298; --dim:#d0ba9c;
  --gold:#f6c45a; --rot:#ff8f72; --gruen:#a8dc8a; --blau:#9ccaf2; --dran:#7ad6b0;
  --ov-a:#3c2820; --ov-b:#180e0c; --scrim:rgba(10,6,4,.72);
  --kn-a:#5c3e2c; --kn-b:#2c1a12;
  --kopf:'Georgia', 'Times New Roman', serif;
  --sans:'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --grund-q:url(img/abend-q.webp?v=1); --grund-h:url(img/abend-h.webp?v=1);
}
:root[data-theme="light"] {
  --bg:#efe6d4; --panel:rgba(250,244,232,.92); --panel2:rgba(242,234,218,.97); --panel-solid:#f4ecdc;
  --akz:#9a4a10; --akz-hell:#7a3606; --akz2:#b8803a; --linie:rgba(120,72,30,.3);
  --text:#26180e; --text-2:#40301e; --text-3:#5e4a34; --dim:#5e4a34;
  --gold:#8a4a00; --rot:#b4232f; --gruen:#2a6e3a; --blau:#1a5fb4; --dran:#0f7a62;
  --ov-a:#f7efe2; --ov-b:#e8dbc4; --scrim:rgba(40,30,20,.42);
  --kn-a:#f7efe2; --kn-b:#dfd0b6;
  --grund-q:url(img/morgen-q.webp?v=1); --grund-h:url(img/morgen-h.webp?v=1);
}
html[data-design="winter"]:not([data-theme="light"]) {
  --bg:#161a24; --panel:rgba(24,30,44,.9); --panel2:rgba(36,42,60,.95); --panel-solid:#1e2434;
  --linie:rgba(190,210,240,.3); --ov-a:#283044; --ov-b:#0e1018; --kn-a:#38425a; --kn-b:#1a1e2a;
  --grund-q:url(img/winter-q.webp?v=1); --grund-h:url(img/winter-h.webp?v=1);
}
: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:calc((100% - 376px) / 2); top:40%; z-index:75; min-width:420px; max-width:760px; padding:16px 34px 14px; text-align:center; border-radius:14px; pointer-events:none;
  transform:translate(-50%, -50%) scale(.6); opacity:0; transition:transform .4s cubic-bezier(.2, 1.4, .4, 1), opacity .35s;
  background:linear-gradient(180deg, var(--ov-a), var(--ov-b)); border:2px solid var(--akz); box-shadow:0 18px 50px rgba(0,0,0,.6); }
.banner.an { transform:translate(-50%, -50%) scale(1); opacity:1; }
.bn-titel { font-family:var(--kopf); font-weight:900; font-size:42px; letter-spacing:4px; color:var(--akz-hell); text-shadow:0 3px 0 rgba(0,0,0,.6); }
:root[data-theme="light"] .bn-titel { text-shadow:none; }
.bn-unter { margin-top:6px; font-size:15px; font-weight:800; letter-spacing:1.5px; color:var(--text); text-transform:uppercase; }
.banner.gold { background:linear-gradient(180deg, #fbe7a6, #c99a2e); border-color:#fff3cf; }
.banner.gold .bn-titel { color:#2a1d04; text-shadow:none; } .banner.gold .bn-unter { color:#3a2a08; }
.banner.klein { top:22%; min-width:0; padding:10px 24px 9px; }
.banner.klein .bn-titel { font-size:26px; letter-spacing:2px; }

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


@media (pointer: coarse) {
  .kb-ic { width:50px; height:44px; }
  .lw-wahl:not(.lw-ausgabe) button, .ti-wahl button { min-height:40px; min-width:40px; padding:8px 13px; font-size:15px; }
  .kb { min-height:42px; }
  .knopf { min-height:42px; }
  .pc-knoepfe button { min-height:40px; }
  button.lw-info { width:40px; height:36px; margin:-9px -11px -9px -6px; border-radius:18px; background:radial-gradient(circle at center, var(--akz-hell) 0 9px, transparent 9.5px); }
}

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




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





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


#grund { position:absolute; inset:0; background:var(--grund-q) center / cover no-repeat, var(--bg); }
#grund::after { content:""; position:absolute; inset:0; background:radial-gradient(ellipse 85% 75% at 50% 45%, rgba(20,12,6,.04), rgba(12,8,4,.38)); }
:root[data-theme="light"] #grund::after { background:radial-gradient(ellipse 85% 75% at 50% 45%, rgba(250,244,232,.03), rgba(236,226,206,.28)); }
#stage.lobbyhg #grund { filter:blur(3px) brightness(.75) saturate(.9); }
:root[data-theme="light"] #stage.lobbyhg #grund { filter:blur(3px) brightness(1.05) saturate(.8); }
#lobby, #tisch { background:linear-gradient(180deg, rgba(18,10,6,.3), rgba(10,6,4,.6)); }
:root[data-theme="light"] #lobby, :root[data-theme="light"] #tisch { background:linear-gradient(180deg, rgba(250,244,232,.35), rgba(232,222,202,.55)); }
.tg-l { margin-top:4px; } .tg-liste { display:flex; flex-wrap:wrap; gap:4px 12px; margin-top:4px; } .tg-liste .ich { color:var(--akz-hell); } .tg-liste i { color:var(--gold); font-style:normal; font-weight:800; }
#grund::before { content:""; position:absolute; left:30%; right:30%; top:18%; height:30%; pointer-events:none; opacity:0; z-index:1;
  background:radial-gradient(ellipse 40% 60% at 50% 80%, rgba(255,255,255,.16), transparent 70%); }
@media (prefers-reduced-motion: no-preference) { #grund::before { opacity:1; animation:dampf 7s ease-in-out infinite; } }
@keyframes dampf { 0% { transform:translateY(20px) scale(.9); opacity:0; } 40% { opacity:1; } 100% { transform:translateY(-40px) scale(1.2); opacity:0; } }

:root { --holzbild:url(img/flaeche-abend.webp?v=1); --kante:#3a2412; --schild:rgba(30,18,12,.56); --schild-rand:rgba(255,206,150,.3);
  --tafel:linear-gradient(rgba(40,26,20,.86), rgba(26,16,12,.92)); --holz:linear-gradient(180deg, #7a4e2c, #4e2e18); --stab:linear-gradient(180deg, #d8a466, #8a5428 60%, #5a3416);
  --plus:#ffd88e; --minus:#ff9a86; }
:root[data-theme="light"] { --holzbild:url(img/flaeche-morgen.webp?v=1); --kante:#8a6238; --schild:rgba(250,244,232,.6); --schild-rand:rgba(120,72,30,.32);
  --tafel:linear-gradient(rgba(250,245,234,.88), rgba(240,232,216,.94)); --holz:linear-gradient(180deg, #c99a64, #a07040); --plus:#7a4a00; --minus:#a32418; }
html[data-design="winter"]:not([data-theme="light"]) { --holzbild:url(img/flaeche-winter.webp?v=1); --kante:#2a2a32; --schild:rgba(20,24,34,.58); --schild-rand:rgba(190,210,240,.32);
  --tafel:linear-gradient(rgba(24,28,40,.86), rgba(16,18,28,.92)); --holz:linear-gradient(180deg, #5a5a66, #34343e); }

#feld { position:absolute; left:12px; top:72px; right:338px; bottom:10px; display:grid; grid-template-rows:104px minmax(0, 1fr) 258px; gap:8px; }
#seite { position:absolute; right:12px; top:72px; bottom:10px; width:316px; display:flex; flex-direction:column; gap:8px; }
#seite > .panel { position:relative; background:var(--tafel); backdrop-filter:none; -webkit-backdrop-filter:none; }
#partie > #kopf { background:linear-gradient(rgba(24,14,10,.44), rgba(24,14,10,.5)); backdrop-filter:none; -webkit-backdrop-filter:none; text-shadow:0 1px 3px rgba(0,0,0,.85); }
:root[data-theme="light"] #partie > #kopf { background:linear-gradient(rgba(250,244,232,.5), rgba(244,236,220,.56)); text-shadow:0 1px 2px rgba(255,250,240,.9); }

.gs { position:relative; display:inline-block; flex:none; width:52px; height:83px; filter:drop-shadow(1px 3px 2px rgba(0,0,0,.45)); }
.gs svg { width:100%; height:100%; display:block; }
.gs-gross { width:58px; height:92px; } .gs-mittel { width:40px; height:64px; } .gs-klein { width:30px; height:48px; } .gs-mini { width:20px; height:32px; }
.gs.neu { animation:landen .6s ease-out; }
@keyframes landen { 0% { transform:scale(1.25); filter:drop-shadow(0 0 8px #ffe08a); } 100% { transform:none; } }
.gs.in-hand { animation:wiegen 2.4s ease-in-out infinite; transform-origin:50% 0; }
@keyframes wiegen { 0%, 100% { transform:rotate(-3deg); } 50% { transform:rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .gs.in-hand, .gs.neu { animation:none; } }
.fp { flex:none; vertical-align:-3px; }

#nachbarn { display:flex; gap:8px; justify-content:center; align-items:stretch; min-height:0; }
.np { flex:1 1 0; max-width:272px; min-width:0; display:grid; grid-template-rows:42px 46px; gap:4px; padding:5px 8px; border-radius:10px; background:var(--schild);
  border:1px solid var(--schild-rand); border-top:4px solid var(--sf); box-shadow:0 6px 14px rgba(0,0,0,.35); }
.np.dran { box-shadow:0 0 0 2px var(--dran), 0 6px 14px rgba(0,0,0,.35); }
.np.aus .np-korb { filter:saturate(.55); }
.np-kopf { display:flex; align-items:center; gap:7px; min-width:0; cursor:help; }
.np-nm { flex:1; min-width:0; font-weight:800; font-size:14.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.np-nm small { display:block; font-weight:600; font-size:12px; color:var(--text-2); overflow:hidden; text-overflow:ellipsis; }
.np-w { font-family:var(--kopf); font-weight:900; font-size:22px; color:var(--gold); min-width:36px; text-align:right; }
.np-korb { display:flex; gap:3px; align-items:center; min-width:0; overflow:hidden; }
.np-c { flex:1 1 0; min-width:0; height:40px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; border-radius:6px; background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.08); border-bottom:3px solid var(--gf, #8a7a5a); font-size:12px; font-weight:800; color:var(--text-2); }
:root[data-theme="light"] .np-c { background:rgba(255,255,255,.5); }
.np-c b { font-family:var(--kopf); font-size:14px; color:var(--text); line-height:1; }
.np-c.leer { color:var(--text-3); } .np-c.leer b { color:var(--text-3); font-weight:600; }
.np-c.plus { box-shadow:inset 0 0 0 1px var(--plus); } .np-c.minus b { color:var(--minus); }
.np-c.neu { animation:landen .6s ease-out; }

#sortiertisch, #nachbarn, #unten { touch-action:pinch-zoom; }
#sortiertisch { position:relative; min-height:0; display:grid; grid-template-rows:minmax(0, 1fr) 50px; gap:4px; padding:10px 14px 16px; border-radius:16px;
  background:var(--holzbild) center / cover no-repeat, #6b4424; border:2px solid var(--kante);
  box-shadow:inset 0 2px 0 rgba(255,230,190,.28), inset 0 -10px 0 rgba(0,0,0,.28), 0 18px 34px rgba(0,0,0,.55), 0 4px 0 var(--kante); }
#tisch-in { min-height:0; display:grid; grid-template-columns:118px minmax(0, 1fr); gap:12px; }
.t-links { display:flex; flex-direction:column; align-items:center; gap:4px; }
.t-lbl { font-size:12px; letter-spacing:2px; text-transform:uppercase; font-weight:800; color:#fbe9cc; text-shadow:0 1px 3px rgba(0,0,0,.9); }
:root[data-theme="light"] .t-lbl { color:#2a1a0c; text-shadow:0 1px 2px rgba(255,250,240,.95); }
.t-stapel { position:relative; width:72px; height:98px; display:flex; align-items:center; justify-content:center; border-radius:8px; }
.t-stapel .gs { width:58px; height:92px; z-index:2; }
.t-dicke { position:absolute; left:9px; top:6px; width:58px; height:92px; border-radius:6px; background:#7a5228; box-shadow:2px 2px 0 #5a3a18, 4px 4px 0 #4a2e12, calc(var(--d) * 1px) calc(var(--d) * 1px) 6px rgba(0,0,0,.5); }
.t-stapel.tippbar { cursor:pointer; box-shadow:0 0 0 3px var(--akz-hell); }
.t-zahl { position:absolute; right:-6px; bottom:-6px; z-index:3; min-width:30px; padding:1px 6px; border-radius:10px; background:#2a1a0c; color:#ffe7b0; font:800 14px var(--kopf); text-align:center; border:1px solid #d8a466; }
.t-leer { font-size:13px; color:#f4e4c8; text-shadow:0 1px 3px rgba(0,0,0,.9); }
:root[data-theme="light"] .t-leer { color:#3a2a14; text-shadow:none; }
.t-sirene { display:flex; align-items:center; gap:5px; height:26px; padding:0 9px; border-radius:13px; background:rgba(30,18,10,.72); color:#f2dcb4; font-size:12.5px; font-weight:800; white-space:nowrap; }
.t-sirene .sgzi { width:15px; height:15px; }
.t-sirene.an { background:#9b2a22; color:#fff; animation:puls 1s infinite alternate; }
.t-hand { width:72px; height:98px; display:flex; align-items:center; justify-content:center; border-radius:10px; border:2px dashed rgba(255,230,190,.35); background:rgba(0,0,0,.14); }
.t-hand .gs { width:58px; height:92px; }

.t-stangen { min-width:0; min-height:0; display:flex; flex-wrap:wrap; gap:10px 14px; justify-content:center; align-content:center; align-items:center; }
.stange { position:relative; width:calc(var(--cap, 3) * 70px + 26px); display:grid; grid-template-rows:16px 106px 44px; cursor:default; border-radius:10px; padding:2px 0; }
.st-stab { position:relative; height:14px; margin:0 4px; border-radius:7px; background:var(--stab); box-shadow:0 4px 5px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,240,210,.5); }
.st-knauf { position:absolute; top:-3px; width:12px; height:20px; border-radius:5px; background:linear-gradient(90deg, #6a3e1a, #c08048, #6a3e1a); box-shadow:0 3px 4px rgba(0,0,0,.5); }
.st-knauf.l { left:-6px; } .st-knauf.r { right:-6px; }
.st-haken { display:flex; justify-content:center; gap:8px; padding:0 9px; }
.haken { position:relative; width:62px; height:102px; display:flex; justify-content:center; padding-top:4px; }
.haken::before { content:""; position:absolute; left:50%; top:-4px; width:8px; height:11px; margin-left:-4px; border:2px solid #4a4a50; border-top:0; border-radius:0 0 6px 6px; }
.haken.frei::after { content:""; position:absolute; left:6px; right:6px; top:10px; bottom:6px; border-radius:16px 16px 10px 10px; border:2px dashed rgba(255,236,200,.35); }
:root[data-theme="light"] .haken.frei::after { border-color:rgba(80,50,20,.35); }
.st-schild { align-self:start; margin:4px 6px 0; height:38px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0; padding:1px 6px; border-radius:7px;
  background:linear-gradient(#f3e7cc, #dcc8a0); color:#2a1a0c; font:800 13px/1.2 var(--kopf); border:1px solid #8a6a3a; box-shadow:0 3px 6px rgba(0,0,0,.4); white-space:nowrap; overflow:hidden; }
.st-schild small { font:600 12px/1.4 var(--sans); color:#4a3418; overflow:hidden; text-overflow:ellipsis; max-width:100%; white-space:nowrap; }
.st-schild small .gut { color:#1d6a2e; } .st-schild small .schlecht { color:#a32418; }
.st-schild.genommen span { display:flex; flex-direction:column; align-items:flex-start; min-width:0; overflow:hidden; text-overflow:ellipsis; font-size:12.5px; }
.st-schild.genommen { flex-direction:row; gap:6px; border-color:var(--sf); box-shadow:0 0 0 2px var(--sf), 0 3px 6px rgba(0,0,0,.4); }
.stange.genommen .st-stab { filter:grayscale(.6) brightness(.8); }
.stange.weg { opacity:.5; border:2px dashed rgba(255,230,190,.4); }
.stange.weg .st-schild { grid-row:2; align-self:center; }
.stange.nehmbar, .stange.haengbar { cursor:pointer; }
.stange.nehmbar .st-schild { box-shadow:0 0 0 2px var(--akz-hell), 0 3px 6px rgba(0,0,0,.4); }
.stange.haengbar .haken.frei::after { border-color:var(--akz-hell); background:rgba(255,216,142,.12); }
@media (hover: hover) { .stange.nehmbar:hover, .stange.haengbar:hover { background:rgba(255,216,142,.12); } }
.stange.gew { background:rgba(255,216,142,.2); box-shadow:0 0 0 3px var(--akz-hell); }
.stange.empf { box-shadow:0 0 0 3px var(--gruen); }
.stange.gew.empf { box-shadow:0 0 0 3px var(--akz-hell), 0 0 0 6px var(--gruen); }
.t-stangen[data-n="4"] { gap:10px; flex-wrap:nowrap; } .t-stangen[data-n="5"] { gap:6px; flex-wrap:nowrap; }
.t-stangen[data-n="4"] .stange { width:calc(var(--cap, 3) * 54px + 20px); grid-template-rows:16px 88px 44px; }
.t-stangen[data-n="4"] .haken { width:48px; height:84px; } .t-stangen[data-n="4"] .haken .gs { width:48px; height:76px; } .t-stangen[data-n="4"] .st-haken { gap:4px; padding:0 6px; }
.t-stangen[data-n="5"] .stange { width:calc(var(--cap, 3) * 44px + 16px); grid-template-rows:16px 76px 44px; }
.t-stangen[data-n="5"] .haken { width:40px; height:72px; } .t-stangen[data-n="5"] .haken .gs { width:40px; height:64px; } .t-stangen[data-n="5"] .st-haken { gap:2px; padding:0 6px; }
.t-stangen[data-n="5"] .st-schild { font-size:12px; margin:4px 2px 0; } .t-stangen[data-n="5"] .st-schild small { font-size:11px; }
#meldungen { display:flex; flex-direction:column; justify-content:flex-end; gap:3px; overflow:hidden; pointer-events:none; min-height:0; }
.meldung { flex:none; padding:3px 10px; border-radius:7px; font-size:14px; line-height:1.3; color:var(--text); background:var(--panel); border:1px solid var(--linie); border-left:3px solid var(--akz);
  max-height:var(--meld-max, 46px); overflow:hidden; animation:meldungRein .4s ease-out; transition:opacity .6s, max-height .6s, padding .6s, margin .6s, border-width .6s; }
.meldung b { color:var(--akz-hell); }
.meldung.weg { opacity:0; max-height:0; padding-top:0; padding-bottom:0; margin-top:-4px; border-width:0; }
@keyframes meldungRein { from { opacity:0; max-height:0; transform:translateY(-6px); } to { opacity:1; max-height:var(--meld-max, 46px); transform:none; } }
.zk-bild { display:flex; gap:2px; }

#unten { min-height:0; display:grid; grid-template-columns:minmax(0, 1fr) 230px; gap:8px; }
.ich-box { position:relative; min-width:0; min-height:0; display:grid; grid-template-rows:52px minmax(0, 1fr) 34px; gap:4px; padding:6px 12px 6px; border-radius:12px;
  background:linear-gradient(180deg, rgba(40,26,20,.66), rgba(30,18,12,.74)); border:1px solid var(--linie); border-left:4px solid var(--sf); box-shadow:0 8px 20px rgba(0,0,0,.4); }
:root[data-theme="light"] .ich-box { background:linear-gradient(180deg, rgba(250,245,234,.82), rgba(240,232,216,.86)); }
html[data-design="winter"]:not([data-theme="light"]) .ich-box { background:linear-gradient(180deg, rgba(24,28,40,.7), rgba(16,18,28,.78)); }
.ich-box.blink { animation:blink 1s ease-out 2; }
@keyframes blink { 50% { box-shadow:0 0 0 4px var(--akz-hell), 0 8px 20px rgba(0,0,0,.4); } }
.ich-zeile { display:flex; align-items:center; gap:12px; min-width:0; }
.ich-kopf { display:flex; align-items:center; gap:8px; flex:none; }
.ich-name { font-weight:800; font-size:16px; max-width:150px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ich-name small { display:block; font-size:12px; font-weight:600; color:var(--text-2); }
.ich-wert { flex:1; min-width:0; display:flex; align-items:center; gap:10px; cursor:help; }
.iw-z { font-family:var(--kopf); font-weight:900; font-size:34px; color:var(--gold); min-width:56px; text-align:right; }
.iw-r { min-width:0; font-size:14px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.iw-r small { display:block; font-size:12px; font-weight:600; color:var(--text-2); overflow:hidden; text-overflow:ellipsis; }
.iw-r .p { color:var(--plus); } .iw-r .m { color:var(--minus); }
.ich-korb { display:flex; gap:7px; align-items:stretch; min-width:0; min-height:0; overflow:hidden; }
.ko-slot { flex:0 1 82px; min-width:54px; display:grid; grid-template-rows:minmax(0, 1fr) 30px; border-radius:9px; background:rgba(0,0,0,.18); border:1px solid rgba(255,255,255,.08); border-bottom:4px solid var(--gf, #8a7a5a); cursor:help; }
:root[data-theme="light"] .ko-slot { background:rgba(255,255,255,.5); }
.ko-slot.plus { box-shadow:inset 0 0 0 2px var(--plus); }
.ko-slot.x { --gf:#c0392b; } .ko-slot.s { --gf:#c8b48a; }
.ko-slot.neu { animation:landen .6s ease-out; }
.ko-stapel { position:relative; min-height:0; display:flex; align-items:center; justify-content:center; }
.ko-stapel .gs { position:absolute; margin-left:-15px; left:50%; top:4px; }
.ko-slot .ko-stapel > .fp { opacity:.4; }
.ko-j { font:900 18px var(--kopf); color:var(--text-3); }
.ko-fuss { display:flex; align-items:center; justify-content:space-between; gap:4px; padding:0 7px; font-size:13px; font-weight:800; }
.ko-fuss b { font-family:var(--kopf); font-size:18px; }
.ko-slot.plus .ko-fuss span { color:var(--plus); } .ko-slot.minus .ko-fuss span { color:var(--minus); }
.ko-fuss i { font-style:normal; font-size:11px; color:var(--text-2); margin-left:2px; }
.ko-slot.leer .ko-fuss { color:var(--text-3); }
.lage { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; align-self:center; font-size:14px; line-height:1.25; color:var(--text-2); overflow:hidden; }
.lage b { color:var(--text); } .lage .gut { color:var(--gruen); font-weight:800; } .lage .schlecht { color:var(--rot); font-weight:800; }
.wahl-box { min-height:0; min-width:0; display:grid; grid-template-columns:minmax(0, 1fr); grid-template-rows:minmax(0, 1fr) 30px; gap:5px; padding:7px; border-radius:12px; background:var(--holz); border:1px solid rgba(40,20,6,.6);
  box-shadow:inset 0 1px 0 rgba(255,230,190,.25), 0 8px 20px rgba(0,0,0,.4); }
.wahl-box.lockt { box-shadow:0 0 0 2px var(--akz-hell), inset 0 1px 0 rgba(255,230,190,.25), 0 8px 20px rgba(0,0,0,.4); }
.wahl-knoepfe { display:flex; flex-direction:column; gap:6px; min-height:0; min-width:0; }
.wahl { flex:0 0 76px; min-width:0; min-height:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; padding:4px 8px; border-radius:10px; font:800 16px var(--sans); color:#fbf1e2;
  background:linear-gradient(180deg, #5c3e2c, #2c1a12); border:1px solid rgba(255,220,170,.35); box-shadow:inset 0 1px 0 rgba(255,236,200,.14), 0 3px 8px rgba(0,0,0,.4); }
.wahl small { font-size:12px; font-weight:600; color:#e2d0b8; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.wahl .sgzi { width:20px; height:20px; }
.wahl.haupt, .wahl.haupt2 { background:linear-gradient(#ffdc9a, #e0962a); color:#2b1805; border-color:#fff0c8; }
.wahl.haupt small, .wahl.haupt2 small { color:#4a2a10; }
.wahl.empf { outline:3px solid var(--gruen); outline-offset:1px; }
.wahl.klein { flex:0 0 40px; margin-top:auto; flex-direction:row; gap:6px; font-size:14px; }
.wahl:disabled { opacity:.5; cursor:default; border-style:dashed; }
@media (hover: hover) { .wahl:not(:disabled):hover { transform:translateY(-1px); border-color:var(--akz-hell); } }
.wahl-ruhe { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; font-size:14px; color:#f2e2c8; }
.wahl-ruhe .sgzi { width:28px; height:28px; opacity:.7; }
.wahl-unter { display:flex; align-items:center; justify-content:center; gap:8px; font-size:12px; color:#e2d0b8; text-align:center; overflow:hidden; white-space:nowrap; }
.wahl-unter .warn { color:#ffb49e; font-weight:800; font-size:13px; }
.rat-text { color:var(--gruen); }
.wahl-hand { flex:1 1 0; min-height:0; display:flex; align-items:center; justify-content:center; gap:10px; font-size:13px; color:#e2d0b8; overflow:hidden; }
.wahl-hand b { display:block; font-size:16px; color:#fbf1e2; }
.wh-bild { flex:none; display:block; width:36px; height:58px; } .wh-bild svg { width:100%; height:100%; display:block; }
:root[data-theme="light"] .wahl-hand { color:#3a2a14; } :root[data-theme="light"] .wahl-hand b { color:#2a1a0c; }

#tafel { flex:none; padding:8px 10px 10px; display:flex; flex-direction:column; gap:4px; }
.tf-kopf, .tz { display:grid; grid-template-columns:22px minmax(0, 1fr) 50px 46px; gap:4px; align-items:center; }
.tf-kopf { font-size:11px; letter-spacing:.5px; text-transform:uppercase; color:var(--text-3); }
.tf-kopf span:nth-child(n+3), .tz-w { text-align:right; }
.tz { padding:3px 6px; border-radius:7px; border-left:3px solid var(--sf); background:rgba(0,0,0,.18); font-size:13.5px; }
:root[data-theme="light"] .tz { background:rgba(255,255,255,.5); }
.tz.ich { outline:1px solid var(--akz); } .tz.aus .tz-nm { color:var(--text-3); }
.tz-nm { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:700; }
.tz-w { font-family:var(--kopf); font-weight:800; color:var(--text-2); } .tz-w b { color:var(--gold); }
.lt-kopf { margin-top:6px; font-size:12px; letter-spacing:1px; text-transform:uppercase; color:var(--text-3); display:flex; justify-content:space-between; gap:6px; }
.lt-kopf span { text-transform:none; letter-spacing:0; }
.leiter { display:grid; grid-template-columns:repeat(6, 1fr); gap:3px; cursor:help; }
.lt-z { display:flex; flex-direction:column; align-items:center; padding:2px 0; border-radius:5px; background:rgba(0,0,0,.2); font-size:12px; }
:root[data-theme="light"] .lt-z { background:rgba(255,255,255,.55); }
.lt-z i { font-style:normal; color:var(--text-3); } .lt-z b { font-family:var(--kopf); color:var(--gold); font-size:15px; }
.zaehler { display:grid; grid-template-columns:repeat(5, 1fr); gap:3px; }
.zl { display:flex; align-items:center; justify-content:space-between; gap:2px; padding:1px 6px; border-radius:5px; background:rgba(0,0,0,.2); border:1px solid rgba(240,184,110,.18); font-size:12.5px; font-weight:800; cursor:help; }
:root[data-theme="light"] .zl { background:rgba(255,255,255,.55); }
.zl b { color:var(--gold); }

.ki-gs .gs { width:64px; height:102px; }

@media (pointer: coarse) {
  .wahl { min-height:48px; }
  .knopf { min-height:42px; }
  .ch-tabs button { min-height:38px; }
}

:root { --maserung:repeating-linear-gradient(90deg, rgba(0,0,0,.07) 0 2px, transparent 2px 11px, rgba(255,220,170,.035) 11px 13px, transparent 13px 23px);
  --geflecht:repeating-linear-gradient(45deg, rgba(255,220,160,.05) 0 5px, transparent 5px 10px), repeating-linear-gradient(-45deg, rgba(0,0,0,.08) 0 5px, transparent 5px 10px);
  --leinen:repeating-linear-gradient(0deg, rgba(255,240,210,.04) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px); }
:root[data-theme="light"] { --maserung:repeating-linear-gradient(90deg, rgba(90,50,10,.06) 0 2px, transparent 2px 11px, rgba(255,255,255,.12) 11px 13px, transparent 13px 23px);
  --geflecht:repeating-linear-gradient(45deg, rgba(120,70,20,.06) 0 5px, transparent 5px 10px), repeating-linear-gradient(-45deg, rgba(255,255,255,.18) 0 5px, transparent 5px 10px);
  --leinen:repeating-linear-gradient(0deg, rgba(120,80,30,.05) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 1px, transparent 1px 3px); }
#seite > .panel { background:var(--maserung), var(--tafel); }
.ich-box { background-image:var(--geflecht), linear-gradient(180deg, rgba(40,26,20,.66), rgba(30,18,12,.74)); }
:root[data-theme="light"] .ich-box { background-image:var(--geflecht), linear-gradient(180deg, rgba(250,245,234,.82), rgba(240,232,216,.86)); }
html[data-design="winter"]:not([data-theme="light"]) .ich-box { background-image:var(--geflecht), linear-gradient(180deg, rgba(24,28,40,.7), rgba(16,18,28,.78)); }
.wahl-box { background:var(--maserung), var(--holz); }
.np { background:rgba(24,14,8,.46); text-shadow:0 1px 3px rgba(0,0,0,.9); }
:root[data-theme="light"] .np { background:rgba(252,246,234,.5); text-shadow:0 1px 2px rgba(255,250,240,.95), 0 0 6px rgba(255,250,240,.8); }
#nachbarn[data-n="4"] .np-nm { font-size:13.5px; } #nachbarn[data-n="4"] .np { padding:5px 6px; }


:root[data-theme="light"] .wahl-ruhe { color:#2a1a0c; } :root[data-theme="light"] .wahl-unter { color:#3a2a14; } :root[data-theme="light"] .wahl-unter .warn { color:#9c2a1a; }
:root[data-theme="light"] #partie > #kopf { background:linear-gradient(rgba(250,244,232,.4), rgba(244,236,220,.44)); }
:root[data-theme="light"] .np { background:rgba(252,246,234,.42); }
.rlog { height:48px; overflow:hidden; display:flex; flex-wrap:wrap; align-content:flex-start; gap:3px; }
.rlog span { padding:1px 6px; border-radius:5px; border-left:3px solid var(--sf, var(--akz)); background:rgba(0,0,0,.2); font-size:12px; white-space:nowrap; }
:root[data-theme="light"] .rlog span { background:rgba(255,255,255,.55); }
.rlog i { font-style:normal; color:var(--text-3); } .rlog .gut { color:var(--gruen); } .rlog .schlecht { color:var(--rot); }
.rlog .leer { border-left-color:transparent; background:transparent; color:var(--text-3); white-space:normal; }
.k-letzte { color:var(--rot); }

#stage:not(.hoch) .t-links { gap:2px; } #stage:not(.hoch) .t-lbl { line-height:13px; }

#feld > .sz-karte { width:max-content; max-width:min(620px, 96%); }

#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; }
#stage.hoch #grund { background-image:var(--grund-h); }
#stage.hoch .wahl-hand { display:none; }
#stage.hoch #kopf { left:8px; right:8px; height:118px; flex-wrap:wrap; align-content:center; column-gap:10px; row-gap:6px; 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; }
#stage.hoch #k-verlauf { order:2; width:96px; font-size:18px; font-weight:800; gap:6px; }
#stage.hoch .runde { order:3; font-size:16px; letter-spacing:.5px; }
#stage.hoch .runde b { font-size:22px; }
#stage.hoch .k-phase { order:4; flex:1 1 0; font-size:18px; }
#stage.hoch .uhr { order:5; font-size:22px; }
#stage.hoch .kb-ic { width:64px; height:56px; }
#stage.hoch .kb-ic .sgzi { width:26px; height:26px; }
#stage.hoch #feld { left:8px; right:8px; top:132px; bottom:8px; gap:6px; grid-template-rows:auto minmax(0, 1fr) 34%; }
#stage.hoch.seite-unten #feld { bottom:calc(var(--seite-h) + 14px); }
#stage.hoch #seite { display:none; }
#stage.hoch.seite-unten #seite { display:flex; left:8px; right:8px; width:auto; top:auto; bottom:8px; height:var(--seite-h); flex-direction:row; gap:6px; }
#stage.hoch #seite.offen { display:flex; flex-direction:column; left:8px; right:8px; width:auto; top:132px; bottom:8px; height:auto; z-index:55; gap:6px; }
#stage.hoch #tafel { flex:0 0 auto; overflow:auto; }
#stage.hoch.seite-unten #tafel { flex:0 0 52%; }
#stage.hoch #pchat { flex:1; min-width:0; }
#stage.hoch #nachbarn { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
#stage.hoch #nachbarn[data-n="1"] { grid-template-columns:1fr; }
#stage.hoch .np { max-width:none; grid-template-rows:62px 50px; }
#stage.hoch .np-nm { font-size:17px; white-space:normal; line-height:1.12; overflow-wrap:anywhere; }  #stage.hoch .np-nm small { font-size:16px; }
#stage.hoch .np-c { font-size:16px; height:46px; } #stage.hoch .np-c b { font-size:17px; }
#stage.hoch .np-w { font-size:26px; }
#stage.hoch #sortiertisch { grid-template-rows:minmax(0, 1fr) 84px; padding:8px 8px 14px; --meld-max:82px; }
#stage.hoch.hoch-knapp #sortiertisch { grid-template-rows:minmax(0, 1fr) 70px; --meld-max:68px; }
#stage.hoch #tisch-in { grid-template-columns:minmax(0, 1fr); grid-template-rows:108px minmax(0, 1fr); gap:6px; }
#stage.hoch .t-links { flex-direction:row; justify-content:center; gap:12px; }
#stage.hoch .t-lbl { font-size:16px; letter-spacing:1px; }
#stage.hoch .t-sirene { font-size:16px; height:34px; }
#stage.hoch .t-stangen { gap:6px 8px; }
#stage.hoch .stange { width:calc(var(--cap, 3) * 48px + 20px); grid-template-rows:16px 78px 52px; }
#stage.hoch .haken { width:42px; height:74px; }
#stage.hoch .st-haken { gap:4px; }
#stage.hoch .st-schild { height:48px; font-size:16px; } #stage.hoch .st-schild small { font-size:15px; }
#stage.hoch .meldung { font-size:16px; line-height:1.22; background:var(--panel-solid); }
#stage.hoch #unten { grid-template-columns:minmax(0, 1fr); grid-template-rows:minmax(0, 1fr) 84px; }
#stage.hoch .ich-box { grid-template-rows:60px minmax(0, 1fr) 52px; padding:6px 8px; }
#stage.hoch .ich-name { font-size:18px; max-width:110px; } #stage.hoch .ich-name small { font-size:16px; }
#stage.hoch .iw-r { font-size:17px; } #stage.hoch .iw-r small { font-size:16px; }
#stage.hoch .ich-korb { flex-wrap:wrap; gap:5px; }
#stage.hoch .ko-slot { flex:1 1 22%; grid-template-rows:minmax(0, 1fr) 30px; }
#stage.hoch .ko-fuss { font-size:16px; } #stage.hoch .ko-fuss b { font-size:19px; }
#stage.hoch .lage { font-size:16px; }
#stage.hoch .wahl-box { grid-template-rows:minmax(0, 1fr); padding:6px; }
#stage.hoch .wahl-unter { display:none; }
#stage.hoch .wahl-knoepfe { flex-direction:row; }
#stage.hoch .wahl { flex:1 1 0; font-size:18px; flex-direction:row; gap:8px; min-height:64px; }
#stage.hoch .wahl small { display:none; }
#stage.hoch .wahl.klein { flex:0 0 96px; margin-top:0; font-size:17px; }
#stage.hoch .wahl-ruhe { font-size:17px; flex-direction:row; }
#stage.hoch .tz, #stage.hoch .zl, #stage.hoch .lt-kopf, #stage.hoch .lt-z, #stage.hoch .tf-kopf { font-size:16px; }
#stage.hoch .ch-liste, #stage.hoch #pchatwin { font-size:17px; }
#stage.hoch .ch-tabs button { font-size:16px; min-height:52px; }
#stage.hoch #pchatin { min-height:60px; font-size:18px; }
#stage.hoch .pc-knoepfe button { min-height:56px; font-size:16px; }
#stage.hoch #hinweis, #stage.hoch .banner { left:50%; }
#stage.hoch #hinweis { font-size:18px; bottom:480px; max-width:500px; width:max-content; }
#stage.hoch .banner { min-width:0; width:94%; }
#stage.hoch #ansicht-menu { left:8px; right:8px; width:auto; top:132px; }
#stage.hoch #ansicht-menu label { font-size:18px; min-height:56px; align-items:center; } #stage.hoch #ansicht-menu label small { font-size:16px; }
#stage.hoch #ansicht-menu input { width:28px; height:28px; }
#stage.hoch .knopf { min-height:60px; font-size:17px; }
#stage.hoch .en-unter, #stage.hoch .en-stat { font-size:17px; }
#stage.hoch #en-zurueck .kb { min-height:60px; font-size:18px; }
#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; }
#stage.hoch .t-stangen[data-n] { flex-wrap:wrap; gap:6px 8px; }
#stage.hoch .t-stangen .stange, #stage.hoch .t-stangen[data-n] .stange { width:calc(var(--cap, 3) * 44px + 18px); grid-template-rows:16px 72px 52px; }
#stage.hoch .t-stangen .haken, #stage.hoch .t-stangen[data-n] .haken { width:40px; height:70px; }
#stage.hoch .t-stangen .haken .gs, #stage.hoch .t-stangen[data-n] .haken .gs { width:38px; height:61px; }
#stage.hoch .t-stangen[data-n] .st-haken { gap:2px; padding:0 7px; }
#stage.hoch .t-stangen[data-n] .st-schild { font-size:16px; margin:4px 2px 0; } #stage.hoch .t-stangen[data-n] .st-schild small { font-size:14px; }
#stage.hoch .kb-ic { height:60px; } #stage.hoch #k-verlauf { height:60px; }
#stage.hoch .np { grid-template-rows:58px 50px; }
#stage.hoch .ko-slot { flex:1 1 18%; }
#stage.hoch .ko-j { font-size:15px; line-height:1; }
#stage.hoch .ko-slot { grid-template-rows:minmax(0, 1fr) 26px; }
#stage.hoch .ko-stapel { overflow:hidden; }
#stage.hoch .np { grid-template-rows:46px 46px; padding:4px 6px; }
#stage.hoch .np-c { height:42px; }
#stage.hoch .np-kopf { cursor:default; }
#stage.hoch #tisch-in { grid-template-rows:96px minmax(0, 1fr); }
#stage.hoch .t-stapel, #stage.hoch .t-hand { width:62px; height:92px; }
#stage.hoch .t-stapel .gs, #stage.hoch .t-hand .gs, #stage.hoch .t-dicke { width:54px; height:86px; }
#stage.hoch .t-stangen, #stage.hoch .t-stangen[data-n] { align-content:flex-start; }
#stage.hoch .t-stangen .stange, #stage.hoch .t-stangen[data-n] .stange { grid-template-rows:16px 66px 46px; }
#stage.hoch .t-stangen .haken, #stage.hoch .t-stangen[data-n] .haken { height:64px; }
#stage.hoch .t-stangen .haken .gs, #stage.hoch .t-stangen[data-n] .haken .gs { width:36px; height:58px; }
#stage.hoch .t-stangen[data-n] .st-schild, #stage.hoch .st-schild { height:42px; }
#stage.hoch #tisch-in { grid-template-columns:66px minmax(0, 1fr); grid-template-rows:minmax(0, 1fr); gap:6px; }
#stage.hoch .t-links { flex-direction:column; justify-content:flex-start; gap:4px; }
#stage.hoch .t-lbl { font-size:16px; letter-spacing:0; }
#stage.hoch .t-sirene { height:auto; min-height:34px; padding:3px 4px; font-size:13px; white-space:normal; text-align:center; line-height:1.1; border-radius:8px; }
#stage.hoch .t-sirene .sgzi { display:none; }
#stage.hoch .t-stangen .stange, #stage.hoch .t-stangen[data-n] .stange { width:calc(var(--cap, 3) * 42px + 14px); }
#stage.hoch .t-stangen .haken, #stage.hoch .t-stangen[data-n] .haken { width:38px; }
#stage.hoch .t-stangen[data-n] .st-haken, #stage.hoch .st-haken { gap:2px; padding:0 5px; }
#stage.hoch .ich-korb { flex-wrap:nowrap; gap:4px; }
#stage.hoch .ko-slot { flex:1 1 0; min-width:0; grid-template-rows:minmax(0, 1fr) 40px; }
#stage.hoch .ko-fuss { flex-direction:column; justify-content:center; gap:1px; padding:0 2px; line-height:1; }
#stage.hoch .ko-fuss b { font-size:17px; } #stage.hoch .ko-fuss span { font-size:15px; }
#stage.hoch .ko-fuss i { display:none; }
#stage.hoch .t-stangen, #stage.hoch .t-stangen[data-n] { gap:6px 3px; justify-content:space-evenly; }
#stage.hoch .rlog span { font-size:16px; } #stage.hoch .rlog { height:60px; }
#stage.hoch #kopf { height:124px; }
#stage.hoch .kb-ic { width:68px; height:66px; } #stage.hoch #k-verlauf { height:66px; order:0; }
#stage.hoch .rechts { flex:1 1 auto; }
#stage.hoch .k-phase { flex:1 1 60%; }
#stage.hoch #feld, #stage.hoch #seite.offen, #stage.hoch #ansicht-menu { top:138px; }
#stage.hoch .t-zahl, #stage.hoch .t-leer { font-size:15px; }
#stage.hoch .t-sirene { font-size:15px; }
#stage.hoch .t-stangen[data-n] .st-schild small, #stage.hoch .st-schild small { font-size:15px; }
#stage.hoch .blase { font-size:16px; }
#stage.hoch .st-schild.genommen span { font-size:15px; }

#stage.finger-quer #kopf { height:calc(var(--finger, 56px) + 10px); }
#stage.finger-quer #feld, #stage.finger-quer #seite { top:calc(var(--finger, 56px) + 26px); }
#stage.finger-quer #feld { grid-template-rows:104px minmax(0, 1fr) 258px; }
#stage.finger-quer .kb-ic { width:var(--finger); height:var(--finger); }
#stage.finger-quer .kb-ic .sgzi { width:34px; height:34px; }
#stage.finger-quer #partie .kb, #stage.finger-quer .knopf, #stage.finger-quer #popup .kb { min-height:var(--finger); }
#stage.finger-quer #unten { grid-template-columns:minmax(0, 1fr) 340px; }
#stage.finger-quer .wahl-knoepfe { flex-direction:row; flex-wrap:wrap; align-content:flex-start; }
#stage.finger-quer .wahl { flex:1 1 40%; min-height:var(--finger); }
#stage.finger-quer .wahl.klein { flex:1 1 100%; margin-top:0; min-height:var(--finger); }
#stage.finger-quer .wahl-hand, #stage.finger-quer .wahl-ruhe { flex:1 1 40%; }
#stage.finger-quer .ch-tabs button, #stage.finger-quer .pc-knoepfe button { min-height:var(--finger); }
#stage.finger-quer #pchatin { min-height:var(--finger); }
#stage.finger-quer #ansicht-menu label { min-height:var(--finger); align-items:center; }
#stage.finger-quer #ansicht-menu input { width:30px; height:30px; }
#stage.finger-quer #tisch-in { grid-template-columns:160px minmax(0, 1fr); }
#stage.finger-quer .t-links { display:grid; grid-template-columns:72px 72px; grid-template-rows:auto 98px auto; column-gap:8px; row-gap:4px; align-content:start; justify-items:center; }
#stage.finger-quer .t-links > :nth-child(1) { grid-column:1; grid-row:1; } #stage.finger-quer .t-links > :nth-child(2) { grid-column:1; grid-row:2; }
#stage.finger-quer .t-links > :nth-child(3) { grid-column:1 / span 2; grid-row:3; } #stage.finger-quer .t-links > :nth-child(4) { grid-column:2; grid-row:1; }
#stage.finger-quer .t-links > :nth-child(5) { grid-column:2; grid-row:2; }

#stage.quer-handy { --qz:calc(var(--finger, 66px) * .93); }
#stage.quer-handy #kopf { left:8px; right:8px; top:6px; height:calc(var(--qz) + 6px); gap:10px; padding:0 6px 0 10px; }
#stage.quer-handy .logo, #stage.quer-handy .trenner, #stage.quer-handy #k-st-box { display:none; }
#stage.quer-handy .kb-ic { width:var(--qz); height:var(--qz); }
#stage.quer-handy .kb-ic .sgzi { width:30px; height:30px; }
#stage.quer-handy #k-verlauf { width:auto; padding:0 10px; gap:6px; font-size:17px; font-weight:800; }
#stage.quer-handy .runde { font-size:16px; letter-spacing:.5px; } #stage.quer-handy .runde b { font-size:21px; }
#stage.quer-handy .k-phase { flex:1 1 0; font-size:17px; line-height:1.12; white-space:normal; overflow:hidden; }
#stage.quer-handy .uhr { font-size:21px; min-width:44px; }
#stage.quer-handy .rechts { gap:6px; }
#stage.quer-handy #feld { left:8px; right:8px; top:calc(var(--qz) + 18px); bottom:6px; gap:6px; grid-template-columns:minmax(0, 1fr) 240px; grid-template-rows:92px minmax(0, 1fr); }
#stage.quer-handy #nachbarn { grid-column:1; grid-row:1; }
#stage.quer-handy #sortiertisch { grid-column:1; grid-row:2; grid-template-rows:minmax(0, 1fr) 48px; gap:4px; padding:5px 8px 10px; --meld-max:46px; }
#stage.quer-handy #unten { grid-column:2; grid-row:1 / -1; grid-template-columns:minmax(0, 1fr); grid-template-rows:minmax(0, 1fr) auto; gap:6px; }
#stage.quer-handy #seite { display:none; }
#stage.quer-handy #seite.offen { display:flex; right:8px; top:calc(var(--qz) + 18px); bottom:6px; width:380px; z-index:55; gap:6px; }
#stage.quer-handy .np { max-width:none; grid-template-rows:38px 40px; gap:3px; padding:3px 6px; }
#stage.quer-handy .np-kopf { gap:5px; }
#stage.quer-handy .np-nm, #stage.quer-handy #nachbarn[data-n="4"] .np-nm { font-size:16px; line-height:1.15; } #stage.quer-handy .np-nm small { font-size:16px; }
#stage.quer-handy .np-w { font-size:21px; min-width:28px; }
#stage.quer-handy .np-c { height:40px; font-size:16px; } #stage.quer-handy .np-c b { font-size:16px; }
#stage.quer-handy #nachbarn:is([data-n="3"], [data-n="4"]) .np-kopf .bildnis, #stage.quer-handy #nachbarn:is([data-n="3"], [data-n="4"]) .np-c .fp { display:none; }
#stage.quer-handy #nachbarn[data-n="4"] .np-nm { white-space:normal; overflow-wrap:anywhere; line-height:1.1; max-height:36px; } #stage.quer-handy #nachbarn[data-n="4"] .np-nm small { display:none; }
#stage.quer-handy #nachbarn[data-n="4"] { gap:4px; } #stage.quer-handy #nachbarn[data-n="4"] .np-kopf { gap:3px; } #stage.quer-handy #nachbarn[data-n="4"] .np-w { min-width:0; font-size:20px; } #stage.quer-handy #nachbarn[data-n="4"] .np { padding:3px 4px; } #stage.quer-handy #nachbarn[data-n="4"] .np-korb { gap:1px; }
#stage.quer-handy #tisch-in { grid-template-columns:minmax(0, 1fr); grid-template-rows:minmax(0, 1fr) 86px; gap:4px; }
#stage.quer-handy .t-links { grid-row:2; display:flex; flex-direction:row; align-items:center; justify-content:center; gap:10px; }
#stage.quer-handy .t-stangen { grid-row:1; }
#stage.quer-handy .t-lbl { font-size:16px; letter-spacing:1px; line-height:17px; }
#stage.quer-handy .t-stapel, #stage.quer-handy .t-hand { width:72px; height:84px; }
#stage.quer-handy .t-stapel .gs, #stage.quer-handy .t-hand .gs, #stage.quer-handy .t-dicke { width:50px; height:78px; }
#stage.quer-handy .t-dicke { left:11px; top:3px; }
#stage.quer-handy .t-zahl { font-size:16px; } #stage.quer-handy .t-leer { font-size:16px; }
#stage.quer-handy .t-sirene { font-size:16px; height:34px; }
#stage.quer-handy .t-stangen, #stage.quer-handy .t-stangen[data-n] { flex-wrap:nowrap; gap:8px; justify-content:space-evenly; align-content:center; }
#stage.quer-handy .t-stangen .stange, #stage.quer-handy .t-stangen[data-n] .stange { width:calc(var(--cap, 3) * 46px + 16px); min-width:124px; grid-template-rows:14px 76px 60px; }
#stage.quer-handy .t-stangen .haken, #stage.quer-handy .t-stangen[data-n] .haken { width:44px; height:74px; }
#stage.quer-handy .t-stangen .haken .gs, #stage.quer-handy .t-stangen[data-n] .haken .gs { width:40px; height:63px; }
#stage.quer-handy .t-stangen .st-haken, #stage.quer-handy .t-stangen[data-n] .st-haken { gap:2px; padding:0 6px; }
#stage.quer-handy .t-stangen[data-n="4"] .stange { width:calc(var(--cap, 3) * 36px + 14px); min-width:112px; }
#stage.quer-handy .t-stangen[data-n="4"] .haken { width:34px; } #stage.quer-handy .t-stangen[data-n="4"] .haken .gs { width:34px; height:54px; }
#stage.quer-handy .t-stangen[data-n="5"] { gap:4px; }
#stage.quer-handy .t-stangen[data-n="5"] .stange { width:calc(var(--cap, 3) * 29px + 12px); min-width:96px; }
#stage.quer-handy .t-stangen[data-n="5"] .haken { width:27px; height:54px; } #stage.quer-handy .t-stangen[data-n="5"] .haken .gs { width:27px; height:43px; }
#stage.quer-handy .t-stangen .st-schild, #stage.quer-handy .t-stangen[data-n] .st-schild { height:58px; margin:2px 2px 0; padding:1px 4px; font-size:16px; line-height:1.1; }
#stage.quer-handy .t-stangen .st-schild small, #stage.quer-handy .t-stangen[data-n] .st-schild small { font-size:16px; line-height:1.22; white-space:normal; text-align:center; overflow:hidden; }
#stage.quer-handy .st-schild.genommen { flex-direction:column; gap:1px; } #stage.quer-handy .st-schild.genommen span { font-size:16px; letter-spacing:-.3px; align-items:center; }
#stage.quer-handy .meldung { font-size:16px; line-height:1.2; padding:2px 8px; background:var(--panel-solid); }
#stage.quer-handy .ich-box { grid-template-rows:auto minmax(0, 1fr) auto; gap:4px; padding:5px 7px; }
#stage.quer-handy .ich-kopf { display:none; }
#stage.quer-handy .ich-wert { gap:8px; }
#stage.quer-handy .iw-z { font-size:30px; min-width:40px; }
#stage.quer-handy .iw-r { font-size:16px; white-space:normal; } #stage.quer-handy .iw-r small { font-size:16px; white-space:normal; }
#stage.quer-handy .ich-korb { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); grid-auto-rows:minmax(0, 1fr); gap:4px; }
#stage.quer-handy .ko-slot { min-width:0; grid-template-rows:minmax(0, 1fr) 24px; }
#stage.quer-handy .ko-stapel { overflow:hidden; }
#stage.quer-handy .ko-stapel .gs { width:26px; height:42px; margin-left:-13px; top:2px; }
#stage.quer-handy .ko-fuss { font-size:16px; padding:0 4px; } #stage.quer-handy .ko-fuss b { font-size:17px; } #stage.quer-handy .ko-fuss i { display:none; }
#stage.quer-handy .ko-j { font-size:16px; }
#stage.quer-handy .lage { font-size:16px; line-height:1.2; display:block; -webkit-line-clamp:unset; overflow:visible; }
#stage.quer-handy .wahl-box { grid-template-rows:auto; padding:6px; }
#stage.quer-handy .wahl-unter { display:none; }
#stage.quer-handy .wahl-box:has(.warn) { grid-template-rows:auto auto; } #stage.quer-handy .wahl-unter:has(.warn) { display:flex; white-space:normal; } #stage.quer-handy .wahl-unter .warn { font-size:16px; }
#stage.quer-handy .wahl-knoepfe { flex-direction:row; flex-wrap:nowrap; gap:5px; }
#stage.quer-handy .wahl { flex:1 1 0; min-height:var(--qz); font-size:16px; line-height:1.1; padding:3px 4px; white-space:normal; text-align:center; }
#stage.quer-handy .wahl small { display:none; }
#stage.quer-handy .wahl.klein { flex:0 0 var(--qz); margin-top:0; flex-direction:column; gap:1px; font-size:16px; }
#stage.quer-handy .wahl-hand { flex:1 1 0; font-size:16px; gap:4px; } #stage.quer-handy .wahl-hand b { font-size:16px; }
#stage.quer-handy .wh-bild { width:26px; height:42px; }
#stage.quer-handy .wahl-ruhe { min-height:var(--qz); font-size:16px; line-height:1.2; flex-direction:row; gap:6px; }
#stage.quer-handy .wahl-ruhe .sgzi { width:22px; height:22px; }
#stage.quer-handy #tafel { flex:0 0 auto; max-height:62%; overflow:auto; }
#stage.quer-handy .pt, #stage.quer-handy .pt-r { font-size:16px; letter-spacing:1px; }
#stage.quer-handy .tz, #stage.quer-handy .zl, #stage.quer-handy .lt-kopf, #stage.quer-handy .lt-z, #stage.quer-handy .tf-kopf, #stage.quer-handy .rlog span { font-size:16px; }
#stage.quer-handy .tf-kopf, #stage.quer-handy .tz { grid-template-columns:22px minmax(0, 1fr) 76px 64px; } #stage.quer-handy .tf-kopf { letter-spacing:0; }
#stage.quer-handy .rlog { height:auto; max-height:64px; }
#stage.quer-handy .ch-liste, #stage.quer-handy #pchatwin { font-size:16px; }
#stage.quer-handy .ch-z.abschnitt { font-size:16px; }
#stage.quer-handy .ch-tabs button { font-size:16px; min-height:var(--qz); }
#stage.quer-handy .pc-knoepfe button { font-size:16px; min-height:var(--qz); }
#stage.quer-handy #pchatin { min-height:var(--qz); font-size:16px; }
#stage.quer-handy #hinweis, #stage.quer-handy .banner { left:calc((100% - 246px) / 2); }
#stage.quer-handy #hinweis { font-size:16px; max-width:520px; }
#stage.quer-handy .banner { min-width:0; max-width:520px; }
#stage.quer-handy .bn-unter { font-size:16px; }
#stage.quer-handy .blase { font-size:16px; }
#stage.quer-handy #ansicht-menu { right:8px; top:calc(var(--qz) + 18px); max-height:calc(100% - var(--qz) - 26px); overflow:auto; width:400px; }
#stage.quer-handy #ansicht-menu label { font-size:16px; } #stage.quer-handy #ansicht-menu label small, #stage.quer-handy #ansicht-menu .am-t { font-size:16px; }
#stage.quer-handy .ov-box { max-height:96%; padding:12px 18px; }
#stage.quer-handy .ov-titel { font-size:24px; margin-bottom:4px; }
#stage.quer-handy .en-unter, #stage.quer-handy .en-stat, #stage.quer-handy .en-einladung, #stage.quer-handy #pop-text { font-size:16px; }
#stage.quer-handy .en-platz.kopf, #stage.quer-handy .en-platz .nmx small, #stage.quer-handy .en-platz .w small { font-size:16px; }
#stage.quer-handy .hilfe-text { font-size:16px; max-height:340px; }
#stage.finger-quer #hilfe .kb { min-height:var(--finger); } #stage.quer-handy #hilfe .kb { min-height:var(--qz); } #stage.quer-handy .hilfe-text table { font-size:16px; }
#stage.quer-handy .t-stangen[data-n="5"] .stange { grid-template-rows:14px 56px 78px; } #stage.quer-handy .t-stangen[data-n="5"] .st-schild { height:78px; }
