:root {
  --bg:#12222e; --panel:rgba(14,34,48,.86); --panel2:rgba(20,44,62,.94); --panel-solid:#16303f;
  --akz:#f0c060; --akz-hell:#ffdc8e; --akz2:#c08a3a; --linie:rgba(240,200,120,.32);
  --text:#fbf3e4; --text-2:#e8dcc4; --text-3:#c4b598; --dim:#cbbc9c;
  --gold:#f6c85a; --rot:#ff9078; --gruen:#a8e08a; --blau:#9cd0f2; --dran:#7ad6c0;
  --ov-a:#1e3a4c; --ov-b:#0c1822; --scrim:rgba(6,12,18,.7);
  --kn-a:#2c4c62; --kn-b:#14283a;
  --kopf:'Georgia', 'Times New Roman', serif;
  --sans:'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --grund-q:url(img/kulisse-sommer.webp?v=1); --grund-h:url(img/kulisse-sommer-hoch.webp?v=1);
}
:root[data-theme="light"] {
  --bg:#ece6d8; --panel:rgba(250,246,236,.9); --panel2:rgba(242,236,222,.96); --panel-solid:#f4eedf;
  --akz:#8a4a10; --akz-hell:#6e3606; --akz2:#b8803a; --linie:rgba(90,70,40,.3);
  --text:#1e1a12; --text-2:#3a3020; --text-3:#5a4a32; --dim:#5a4a32;
  --gold:#7a4400; --rot:#b4232f; --gruen:#24683a; --blau:#1a5fb4; --dran:#0f7a62;
  --ov-a:#f7f2e6; --ov-b:#e6dcc6; --scrim:rgba(40,34,24,.42);
  --kn-a:#f7f2e6; --kn-b:#ddd2b8;
  --grund-q:url(img/kulisse-nebel.webp?v=1); --grund-h:url(img/kulisse-nebel-hoch.webp?v=1);
}
html[data-design="abend"]:not([data-theme="light"]) {
  --bg:#10101e; --panel:rgba(20,18,38,.88); --panel2:rgba(32,28,56,.95); --panel-solid:#1c1a34;
  --linie:rgba(255,200,130,.3); --ov-a:#2a2648; --ov-b:#0e0c1a; --kn-a:#3a3462; --kn-b:#1a1630;
  --grund-q:url(img/kulisse-abend.webp?v=1); --grund-h:url(img/kulisse-abend-hoch.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:#08141c; color:var(--text); font-family:var(--sans); overflow:hidden; user-select:none; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
#wrap { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:radial-gradient(ellipse at center, #1e3a4c 0%, #08141c 80%); }
:root[data-theme="light"] #wrap { background:radial-gradient(ellipse at center, #f2ead8 0%, #c8b894 85%); }
#stage { position:relative; width:1280px; height:800px; flex:none; transform-origin:center center; overflow:hidden; background:var(--bg); -webkit-touch-callout:none; }
[hidden] { display:none !important; }
button { font-family:var(--sans); cursor:pointer; }
input, select { font-family:var(--sans); font-size:16px; }
.pl-punkt { flex:none; overflow:visible; }

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

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

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

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


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

#partie { position:absolute; inset:0; z-index:2; }
.panel { position:absolute; background:var(--panel); backdrop-filter:blur(5px); border:1px solid var(--linie); border-radius:10px; box-shadow:inset 0 1px 0 rgba(255,236,200,.06), 0 8px 24px rgba(0,0,0,.4); }
:root[data-theme="light"] .panel { box-shadow:inset 0 1px 0 #fff8, 0 6px 18px rgba(60,40,80,.22); }
.pt { font-size:12px; letter-spacing:3px; color:var(--dim); margin:2px 4px 6px; text-transform:uppercase; font-weight:800; display:flex; align-items:center; justify-content:space-between; gap:6px; }
.pt-r { letter-spacing:0; text-transform:none; font-size:12px; color:var(--text-2); font-weight:600; }
#kopf { left:12px; right:12px; top:10px; height:56px; display:flex; align-items:center; gap:14px; padding:0 12px 0 128px; z-index:5; }
.logo { font-family:var(--kopf); font-weight:900; font-size:22px; letter-spacing:3px; color:var(--akz); text-shadow:0 2px 0 rgba(0,0,0,.6); line-height:1; white-space:nowrap; }
:root[data-theme="light"] .logo { text-shadow:none; }
.logo small { display:block; font-family:var(--sans); font-weight:800; font-size:12px; letter-spacing:2px; color:var(--dim); margin-top:3px; }
.trenner { width:1px; align-self:stretch; margin:10px 0; background:var(--linie); }
.runde { font-size:12px; letter-spacing:2px; color:var(--dim); white-space:nowrap; text-transform:uppercase; font-weight:700; }
.runde b { 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); }
#stage.hoch #grund { background-image:var(--grund-h); }
#grund::after { content:""; position:absolute; inset:0; background:radial-gradient(ellipse 85% 75% at 50% 45%, rgba(10,20,30,.02), rgba(6,14,22,.3)); }
:root[data-theme="light"] #grund::after { background:radial-gradient(ellipse 85% 75% at 50% 45%, rgba(250,246,236,.02), rgba(236,228,210,.22)); }
#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(8,18,28,.3), rgba(6,12,20,.6)); }
:root[data-theme="light"] #lobby, :root[data-theme="light"] #tisch { background:linear-gradient(180deg, rgba(250,246,236,.35), rgba(232,224,204,.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:0; right:0; top:52%; height:22%; pointer-events:none; opacity:0; z-index:1;
  background:repeating-linear-gradient(100deg, transparent 0 40px, rgba(255,255,255,.08) 40px 44px, transparent 44px 90px); }
@media (prefers-reduced-motion: no-preference) { #grund::before { opacity:1; animation:wellen 9s linear infinite; } }
@keyframes wellen { from { background-position:0 0; } to { background-position:180px 0; } }

:root { --planken:url(img/planken-sommer.webp?v=1); --kante:#4a2e14; --tafel:linear-gradient(rgba(16,36,50,.86), rgba(10,24,34,.92)); --holz:linear-gradient(180deg, #7a5432, #4e341c);
  --gelaender:#f4ead6; --pfahl:#3a2614; --korb:rgba(70,50,26,.5); --pav-schild:rgba(250,244,230,.92); --pav-text:#3a2a14; --gut:#a8e08a; --schlecht:#ff9a86; }
:root[data-theme="light"] { --planken:url(img/planken-nebel.webp?v=1); --kante:#8a6a44; --tafel:linear-gradient(rgba(250,246,236,.9), rgba(240,234,218,.94)); --holz:linear-gradient(180deg, #c9a474, #a07a4a);
  --gelaender:#fffaf0; --pfahl:#7a6040; --korb:rgba(252,246,232,.55); --gut:#24683a; --schlecht:#a32418; }
html[data-design="abend"]:not([data-theme="light"]) { --planken:url(img/planken-abend.webp?v=1); --kante:#2a160a; --tafel:linear-gradient(rgba(24,20,44,.88), rgba(14,12,28,.92));
  --gelaender:#ffe7b0; --korb:rgba(40,28,20,.55); }

#feld { position:absolute; left:12px; top:72px; right:338px; bottom:10px; display:grid; grid-template-rows:minmax(0, 1fr) 236px; gap:10px; }
#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(10,24,34,.44), rgba(10,24,34,.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,246,236,.42), rgba(244,238,224,.48)); text-shadow:0 1px 2px rgba(255,250,240,.9); }

.wf { display:inline-block; flex:none; position:relative; filter:drop-shadow(1px 2px 1.5px rgba(0,0,0,.45)); }
.wf svg, .bd svg, .pav-dach svg { pointer-events:none; }
.wf svg { width:100%; height:100%; display:block; }
.wf-gross { width:48px; height:48px; } .wf-mittel { width:40px; height:40px; } .wf-klein { width:26px; height:26px; } .wf-mini { width:15px; height:15px; filter:drop-shadow(.5px 1px .8px rgba(0,0,0,.4)); }
.wf-g.wf-mini { width:19px; height:19px; }
.wf.unterwegs { visibility:hidden; }
.wf.tippbar { cursor:pointer; }
@media (hover: hover) { .wf.tippbar:hover { transform:translateY(-3px); } }
.wf.gew { transform:translateY(-6px); filter:drop-shadow(0 0 6px var(--akz-hell)) drop-shadow(1px 3px 2px rgba(0,0,0,.5)); }
.wf.empf { outline:2px dashed var(--akz-hell); outline-offset:2px; border-radius:9px; }
.bd { display:inline-block; flex:none; filter:drop-shadow(1px 2px 1.5px rgba(0,0,0,.4)); }
.bd svg { width:100%; height:100%; display:block; }
.bd-gross { width:96px; height:48px; } .bd-mittel { width:72px; height:36px; } .bd-klein { width:54px; height:27px; }

#pier, #koerbe, #platz { touch-action:pinch-zoom; }
#pier { position:relative; min-height:0; display:grid; grid-template-rows:minmax(0, 1fr) 58px; gap:4px; padding:22px 14px 22px; border-radius:10px 10px 4px 4px;
  background:linear-gradient(180deg, rgba(255,240,210,.08), rgba(0,0,0,.12)), var(--planken) center / cover;
  box-shadow:inset 0 2px 0 rgba(255,240,210,.25), 0 8px 0 var(--kante), 0 14px 0 rgba(0,0,0,.25), 0 26px 30px rgba(0,0,0,.45); }
#pier::before { content:""; position:absolute; left:6px; right:6px; top:4px; height:14px; pointer-events:none; border-top:4px solid var(--gelaender);
  background:repeating-linear-gradient(90deg, var(--gelaender) 0 4px, transparent 4px 34px); opacity:.85; filter:drop-shadow(0 2px 1px rgba(0,0,0,.35)); }
#pier::after { content:""; position:absolute; left:24px; right:24px; bottom:-30px; height:22px; pointer-events:none; z-index:-1;
  background:repeating-linear-gradient(90deg, var(--pfahl) 0 10px, transparent 10px 120px); opacity:.9; }
#pier-in { position:relative; min-height:0; display:grid; grid-template-columns:86px minmax(0, 1fr); gap:10px; }
.kasse { align-self:start; display:flex; flex-direction:column; align-items:center; gap:4px; padding:8px 4px; border-radius:10px; background:rgba(30,20,10,.32); border:1px solid rgba(255,230,190,.25); cursor:help; }
:root[data-theme="light"] .kasse { background:rgba(255,250,236,.45); }
.ka-stapel { position:relative; width:72px; height:46px; }
.ka-stapel::before { content:""; position:absolute; left:2px; right:2px; bottom:0; height:calc(var(--d, 4) * 2px + 10px); border-radius:3px; background:repeating-linear-gradient(180deg, #e6dcb4 0 2px, #9a8a5a 2px 3px); box-shadow:0 2px 4px rgba(0,0,0,.4); }
.ka-stapel .bd { position:absolute; left:0; top:calc(18px - var(--d, 4) * 1.6px); }
.ka-lbl { font-size:12px; letter-spacing:1px; text-transform:uppercase; color:var(--text); text-shadow:0 1px 2px rgba(0,0,0,.9); text-align:center; font-weight:800; }
:root[data-theme="light"] .ka-lbl { text-shadow:0 1px 2px rgba(255,250,240,.9); }
.ka-lbl b { display:block; font-family:var(--kopf); font-size:20px; letter-spacing:0; }
.pavs { display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:8px; min-height:0; }
.pavs[data-n="7"] { grid-template-columns:repeat(7, minmax(0, 1fr)); gap:6px; }
.pavs[data-n="7"] .pav-name { font-size:11.5px; letter-spacing:-.3px; padding:1px 1px; } .pavs[data-n="7"] .pav-fuss { font-size:11.5px; }
.pavs[data-n="7"] .pav-dach svg { width:124px; }
.pav { position:relative; min-width:0; min-height:0; display:grid; grid-template-rows:124px auto minmax(0, 1fr) 26px; gap:4px; padding:0 4px 4px; border-radius:10px; border:2px solid transparent; cursor:help; transition:border-color .2s, background .2s; }
.pav.waehlbar { cursor:pointer; background:rgba(255,240,200,.12); border-color:rgba(255,220,140,.45); }
@media (hover: hover) { .pav.waehlbar:hover { background:rgba(255,240,200,.22); } }
.pav.ziel { border-color:var(--akz-hell); background:rgba(255,220,140,.22); box-shadow:0 0 0 3px rgba(255,220,140,.25); }
.pav.empf { border-style:dashed; border-color:var(--akz-hell); }
.pav.kick { border-color:#b996f0; background:rgba(150,110,220,.18); }
.pav.wertet { border-color:var(--gold); background:rgba(255,216,107,.22); animation:wertet .9s ease-in-out infinite alternate; }
@keyframes wertet { to { box-shadow:0 0 18px rgba(255,216,107,.55); } }
@media (prefers-reduced-motion: reduce) { .pav.wertet { animation:none; } }
.pav.neu .pav-gaeste { animation:aufleuchten .9s ease-out; }
@keyframes aufleuchten { from { background:rgba(255,236,170,.45); } to { background:rgba(255,236,170,0); } }
.pav-dach { position:relative; height:124px; }
.pav-dach svg { position:absolute; left:50%; bottom:6px; width:142px; max-width:100%; height:auto; transform:translateX(-50%); filter:drop-shadow(3px 5px 3px rgba(0,0,0,.4)); }
.pav-nr { position:absolute; left:2px; top:2px; display:flex; }
.pav-nr .sgzi { width:24px; height:24px; color:var(--pav-text); background:var(--pav-schild); border-radius:6px; padding:2px; }
.pav-name { position:absolute; left:0; right:0; bottom:-2px; text-align:center; font:800 13px/1.2 var(--sans); color:var(--pav-text); background:var(--pav-schild); border-radius:5px; padding:1px 3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; box-shadow:0 1px 3px rgba(0,0,0,.35); }
.pav-geld { display:flex; flex-direction:column; align-items:center; gap:2px; min-height:27px; }
.bd-z { position:relative; display:flex; }
.bd-an { position:absolute; right:-6px; top:50%; width:11px; height:11px; margin-top:-6px; border-radius:50%; background:var(--sf); border:2px solid #fff8e6; box-shadow:0 1px 2px rgba(0,0,0,.5); }
.pav-leer { font-size:12px; color:var(--text); text-shadow:0 1px 2px rgba(0,0,0,.9); opacity:.85; }
:root[data-theme="light"] .pav-leer { text-shadow:0 1px 2px rgba(255,250,240,.9); }
.pav-gaeste { min-height:0; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; touch-action:pan-y pinch-zoom; scrollbar-width:thin; display:flex; flex-direction:column; gap:3px; border-radius:8px; padding:3px 2px; }
.pav-gaeste::-webkit-scrollbar { width:5px; }
.pg { flex:none; }
.pg-mehr { flex:none; align-self:center; font:800 12px/1 var(--sans); font-style:normal; color:var(--text); padding:0 2px; }
.pg { display:flex; align-items:center; gap:3px; padding:2px 4px; border-radius:7px; background:rgba(20,12,4,.38); border-left:3px solid var(--sf); }
:root[data-theme="light"] .pg { background:rgba(255,250,236,.62); }
.pg.ich { box-shadow:inset 0 0 0 1px var(--akz-hell); }
.pg.raus { opacity:1; background:repeating-linear-gradient(135deg, rgba(180,40,30,.35) 0 6px, rgba(20,12,4,.38) 6px 12px); }
.pg.raus .pg-n { color:var(--schlecht); text-decoration:line-through; }
.pg.tippbar { cursor:pointer; outline:2px dashed #c9a8ff; }
.pg.gew { outline:3px solid var(--akz-hell); }
.pg-w { display:flex; flex-wrap:wrap; gap:1px; flex:1; min-width:0; }
.pg .wf-mini { width:22px; height:22px; } .pg .wf-g.wf-mini { width:27px; height:27px; }
.pg-n { font:900 18px/1 var(--kopf); color:var(--text); text-shadow:0 1px 2px rgba(0,0,0,.8); }
:root[data-theme="light"] .pg-n { text-shadow:none; }
.pav-fuss { height:26px; font-weight:700; display:flex; flex-wrap:wrap; align-items:center; align-content:center; justify-content:center; column-gap:3px; text-align:center; font-size:12px; line-height:1.05; color:var(--text); background:rgba(20,12,4,.44); border-radius:6px; padding:0 3px; overflow:hidden; white-space:normal; overflow-wrap:anywhere; }
.pav-fuss b { white-space:nowrap; }
:root[data-theme="light"] .pav-fuss { background:rgba(255,250,236,.7); }
.pav-fuss .gut, .gut { color:var(--gut); } .pav-fuss .schlecht, .schlecht { color:var(--schlecht); }
#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);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; transition:opacity .4s, max-height .4s, padding .4s, margin .4s; max-height:40px; animation:meldung-rein .35s ease-out; }
@keyframes meldung-rein { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
.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; }
.rat-text { color:var(--akz-hell); font-weight:800; }
.zk-bild { display:inline-flex; gap:2px; }

#unten { min-height:0; display:grid; grid-template-columns:minmax(0, 1fr) 520px; gap:10px; }
#koerbe { position:relative; --sz-oben:4px; min-height:0; display:grid; grid-template-columns:1fr 1fr; grid-auto-rows:minmax(0, 1fr); gap:8px; align-content:stretch; }
#koerbe[data-n="1"] { grid-template-columns:1fr; grid-template-rows:minmax(0, 112px); align-content:end; }
#koerbe[data-n="2"] { grid-template-columns:minmax(0, 270px); grid-template-rows:repeat(2, minmax(0, 1fr)); align-content:stretch; }
#koerbe[data-n="1"] { grid-template-columns:minmax(0, 270px); }
.kb-korb { position:relative; min-height:0; display:grid; grid-template-rows:42px minmax(0, 1fr); gap:4px; padding:7px 9px 8px; border-radius:22px 22px 10px 10px; cursor:help;
  background:var(--geflecht), var(--korb); border:2px solid rgba(255,230,190,.35); border-top:6px solid var(--sf); box-shadow:0 6px 14px rgba(0,0,0,.35); text-shadow:0 1px 3px rgba(0,0,0,.9); }
:root[data-theme="light"] .kb-korb { text-shadow:0 1px 2px rgba(255,250,240,.95), 0 0 6px rgba(255,250,240,.8); border-color:rgba(120,90,50,.35); }
.kb-korb.dran { box-shadow:0 0 0 3px var(--dran), 0 6px 14px rgba(0,0,0,.35); }
.kb-korb.fertig .kb-vorrat { opacity:.7; }
.kb-korb.weg { filter:grayscale(.6); }
.kb-kopf { display:flex; align-items:center; gap:7px; min-width:0; }
.kb-nm { flex:1; min-width:0; font-weight:800; font-size:14px; line-height:1.12; overflow-wrap:anywhere; }
.kb-status { flex:none; align-self:flex-end; font-size:12px; font-weight:700; color:var(--text-2); white-space:nowrap; margin-left:auto; }
.kb-korb.dran .kb-status { color:var(--dran); }
.kb-geld { font:900 18px/1 var(--kopf); color:var(--gold); white-space:nowrap; }
.kb-geld.neu, .ich-geld.neu b { animation:geld .9s ease-out; }
@keyframes geld { from { transform:scale(1.35); color:#fff2b0; } to { transform:none; } }
.kb-vorrat, .ich-vorrat { display:flex; flex-wrap:wrap; align-content:flex-start; align-items:center; gap:2px; min-height:0; overflow:hidden; }
.kb-leer { font-size:12px; color:var(--text-2); }
#platz { min-height:0; display:grid; grid-template-columns:230px minmax(0, 1fr); gap:8px; }
#schale { position:relative; min-height:0; border-radius:50% / 42%; padding:14px 18px;
  background:radial-gradient(ellipse at 45% 40%, #e8d2a0 0%, #c9a870 60%, #9a7a48 100%); border:7px solid #7a5530; box-shadow:inset 0 6px 14px rgba(60,30,10,.55), 0 8px 18px rgba(0,0,0,.45); cursor:pointer; }
:root[data-theme="light"] #schale { border-color:#a27a4a; }
#schale-in { position:absolute; inset:10px 16px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; }
.sc-lbl { font:800 12px/1.2 var(--sans); letter-spacing:1px; text-transform:uppercase; color:#3a2410; background:rgba(255,248,230,.75); border-left:4px solid var(--sf); border-radius:5px; padding:1px 7px; white-space:nowrap; max-width:100%; overflow:hidden; text-overflow:ellipsis; }
.sc-wf { display:flex; flex-wrap:wrap; justify-content:center; align-content:center; gap:6px 10px; max-width:100%; }
.sc-gr { display:flex; flex-direction:column; align-items:center; gap:2px; padding:2px 3px 3px; border-radius:9px; }
.sc-gr.gew { background:rgba(255,236,170,.45); box-shadow:0 0 0 2px var(--akz-hell); }
.sc-wfs { display:flex; flex-wrap:wrap; justify-content:center; gap:2px; max-width:112px; }
#schale-in .wf-mittel { width:32px; height:32px; } #schale-in .wf-gross { width:38px; height:38px; }
#schale-in { inset:8px 12px; gap:2px; }
.sc-n { font:800 12px/1.2 var(--sans); color:#3a2410; background:rgba(255,248,230,.85); border-radius:5px; padding:0 5px; white-space:nowrap; }
.sc-n.gut { color:#1e5a2a; } .sc-n.schlecht { color:#9a2416; }
.kb-start { display:inline-block; margin-left:5px; padding:0 5px; border-radius:5px; font:800 11.5px/1.4 var(--sans); font-style:normal; color:var(--bg); background:var(--akz-hell); vertical-align:1px; cursor:help; }
.kb-geld small { display:block; font:700 12px/1.1 var(--sans); color:var(--gut); text-align:right; }
.sc-leer { font-size:13px; color:#4a3018; text-align:center; font-style:italic; }
#wurf-ebene { position:absolute; inset:0; pointer-events:none; z-index:4; }
.ich-box { min-height:0; display:grid; grid-template-rows:40px minmax(0, 1fr) 54px; gap:3px; padding:6px 10px; border-radius:12px; border:1px solid var(--linie); border-top:4px solid var(--sf);
  background-image:var(--geflecht), linear-gradient(180deg, rgba(14,34,48,.66), rgba(10,24,34,.74)); }
:root[data-theme="light"] .ich-box { background-image:var(--geflecht), linear-gradient(180deg, rgba(250,246,236,.82), rgba(240,234,218,.86)); }
html[data-design="abend"]:not([data-theme="light"]) .ich-box { background-image:var(--geflecht), linear-gradient(180deg, rgba(24,20,44,.7), rgba(14,12,28,.78)); }
.ich-box.dran { box-shadow:0 0 0 2px var(--dran); }
.ich-box.blink { animation:blink 1s ease-out 2; }
@keyframes blink { 50% { box-shadow:0 0 0 4px var(--akz-hell); } }
#ich { min-height:0; display:grid; grid-template-rows:minmax(0, 1fr) 98px; gap:6px; }
.ich-zeile { display:flex; align-items:center; gap:8px; min-width:0; }
.ich-kopf { display:flex; align-items:center; gap:7px; min-width:0; flex:1; cursor:help; }
.ich-name { font-weight:800; font-size:14.5px; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; line-height:1.15; }
.ich-name small { display:block; font-weight:600; font-size:12px; color:var(--text-3); }
.ich-geld { text-align:right; cursor:help; white-space:nowrap; }
.ich-geld b { display:block; font:900 22px/1 var(--kopf); color:var(--gold); }
.ich-geld small { font-size:12px; color:var(--text-2); }
.lage { font-size:14px; line-height:1.25; color:var(--text-2); overflow:hidden; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; }
.lage b { color:var(--text); } .lage .gut { color:var(--gut); } .lage .schlecht { color:var(--schlecht); }
.wahl-box { min-height:0; display:grid; grid-template-rows:minmax(0, 1fr) 18px; gap:3px; padding:6px; border-radius:12px; border:1px solid var(--linie); background:var(--maserung), var(--holz); }
.wahl-box.lockt { box-shadow:0 0 0 2px var(--akz-hell); }
.wahl-knoepfe { display:flex; gap:6px; min-height:0; }
.wahl { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; padding:3px 6px; border-radius:10px; font-weight:800; font-size:15px; color:var(--text);
  background:linear-gradient(180deg, var(--kn-a), var(--kn-b)); border:1px solid var(--linie); box-shadow:inset 0 1px 0 rgba(255,236,200,.14), 0 2px 6px rgba(0,0,0,.35); min-width:0; }
.wahl small { font-weight:600; font-size:12px; line-height:16px; min-height:16px; color:var(--text-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.wahl .sgzi { width:20px; height:20px; }
.wahl.haupt { flex:2.2; background:linear-gradient(#ffe39a, #e0a52a); color:#2b2405; border-color:#fff3c8; }
.wahl.haupt small { color:#4a3a10; }
.wahl.klein { flex:.8; font-size:13.5px; }
.wahl.empf { outline:3px dashed var(--akz-hell); outline-offset:2px; }
.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; align-items:center; justify-content:center; gap:8px; font-size:14.5px; color:var(--text); text-align:center; padding:0 8px; }
.wahl-unter { font-size:12px; color:var(--text-2); text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wahl-unter .warn { color:var(--rot); font-weight:800; }

#tafel { flex:none; padding:8px 10px 10px; display:flex; flex-direction:column; gap:4px; }
.tf-kopf, .tz { display:grid; grid-template-columns:20px minmax(0, 1fr) 34px 38px 44px; column-gap:4px; gap:5px; align-items:center; }
.tf-kopf { font-size:12px; letter-spacing:0; 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; cursor:help; }
: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; font-size:12.5px; }
.tz-w { font-family:var(--kopf); font-weight:800; color:var(--text-2); } .tz-w b { color:var(--gold); } .tz-j { color:var(--gut); font-size:12.5px; }
.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; }
.zaehler { display:grid; grid-template-columns:repeat(5, 1fr); gap:3px; cursor:help; }
.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,200,120,.18); font-size:12.5px; font-weight:800; }
:root[data-theme="light"] .zl { background:rgba(255,255,255,.55); }
.zl b { color:var(--gold); }
.rlog { height:58px; 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-2); }
.rlog .leer { border-left-color:transparent; background:transparent; color:var(--text-3); white-space:normal; }

.ki-pav svg { width:120px; height:auto; display:block; }
.ki-wf .wf { width:64px; height:64px; }
.stempel.violett { border-color:#6a3fb0; color:#4a2a8a; }
.stempel.rot { border-color:#b02a2a; color:#8a1414; }
.stempel.blau { border-color:#2a6a9a; color:#1a4a7a; font-size:17px; }

: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,.06) 0 5px, transparent 5px 10px), repeating-linear-gradient(-45deg, rgba(0,0,0,.08) 0 5px, transparent 5px 10px); }
: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); }
#seite > .panel { background:var(--maserung), var(--tafel); }
:root[data-theme="light"] .wahl-ruhe { color:#2a1a0c; } :root[data-theme="light"] .wahl-unter { color:#3a2a14; }

#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; height:60px; 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:60px; }
#stage.hoch .kb-ic .sgzi { width:26px; height:26px; }
#stage.hoch #feld { left:8px; right:8px; top:132px; bottom:8px; gap:46px; grid-template-rows:minmax(0, 1fr) auto; }
#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 .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 #pier { padding:20px 8px 16px; grid-template-rows:minmax(0, 1fr) 72px; }
#stage.hoch #pier-in { grid-template-columns:minmax(0, 1fr); grid-template-rows:44px minmax(0, 1fr); gap:4px; }
#stage.hoch .kasse { justify-self:start; flex-direction:row; gap:10px; padding:2px 10px; }
#stage.hoch .ka-stapel { width:72px; height:38px; } #stage.hoch .ka-stapel .bd { top:0; }
#stage.hoch .ka-lbl { font-size:15px; } #stage.hoch .ka-lbl b { display:inline; font-size:20px; margin-left:4px; }
#stage.hoch .pavs, #stage.hoch .pavs[data-n="7"] { grid-template-columns:repeat(3, minmax(0, 1fr)); grid-auto-rows:minmax(0, 1fr); gap:6px; }
#stage.hoch .pavs[data-n="7"] { grid-template-columns:repeat(4, minmax(0, 1fr)); }
#stage.hoch .pav { grid-template-rows:68px auto minmax(0, 1fr) 36px; gap:3px; }
#stage.hoch .pav-dach { height:68px; } #stage.hoch .pav-dach svg { width:84px; bottom:4px; }
#stage.hoch .pav-gaeste { gap:2px; padding:2px 1px; }  #stage.hoch .pg { padding:1px 3px; } #stage.hoch .pg .wf-mini { width:18px; height:18px; }
#stage.hoch .pav-name { font-size:15px; } #stage.hoch .pav-fuss { height:36px; font-size:15px; }
#stage.hoch .pg-n { font-size:18px; } #stage.hoch .wf-mini { width:20px; height:20px; }
#stage.hoch .meldung { font-size:16px; line-height:1.25; white-space:normal; max-height:70px; padding:2px 8px; }
#stage.hoch .meldung:not(:last-child) { display:none; }
#stage.hoch #unten { grid-template-columns:minmax(0, 1fr); grid-template-rows:auto 300px; gap:8px; }
#stage.hoch #koerbe, #stage.hoch #koerbe[data-n] { grid-template-columns:1fr 1fr; grid-template-rows:none; grid-auto-rows:96px; align-content:start; }
#stage.hoch #koerbe[data-n="1"] { grid-template-columns:1fr; }
#stage.hoch .kb-nm { font-size:17px; } #stage.hoch .kb-nm small { font-size:15px; } #stage.hoch .kb-geld { font-size:20px; }
#stage.hoch #platz { grid-template-columns:216px minmax(0, 1fr); }
#stage.hoch #ich { grid-template-rows:minmax(0, 1fr) 120px; }
#stage.hoch .ich-box { grid-template-rows:48px auto minmax(0, 1fr); }
#stage.hoch .lage { font-size:16px; -webkit-line-clamp:5; }
#stage.hoch .ich-name small, #stage.hoch .kb-status { font-size:15px; }
#stage.hoch .pav-geld { flex-direction:row; flex-wrap:wrap; justify-content:center; gap:3px; } #stage.hoch .pav-geld .bd-mittel { width:76px; height:38px; }
#stage.hoch .ich-name { font-size:17px; } #stage.hoch .ich-geld b { font-size:24px; } #stage.hoch .ich-geld small { font-size:15px; }
#stage.hoch .wahl { font-size:18px; } #stage.hoch .wahl small { font-size:15px; } #stage.hoch .wahl-unter { font-size:15px; }
#stage.hoch .wahl-box { grid-template-rows:minmax(0, 1fr) 20px; }
#stage.hoch .sc-lbl { font-size:15px; } #stage.hoch .sc-n { font-size:15px; } #stage.hoch .kb-start { font-size:14px; } #stage.hoch .kb-geld small { font-size:14px; }
#stage.hoch .wf-mittel { width:52px; height:52px; } #stage.hoch .wf-gross { width:58px; height:58px; }
#stage.hoch #schale-in .wf-mittel { width:34px; height:34px; } #stage.hoch #schale-in .wf-gross { width:40px; height:40px; } #stage.hoch .sc-wfs { max-width:110px; }
#stage.hoch #schale-in { inset:6px 8px; }
#stage.hoch .sc-wf { gap:4px 4px; }
#stage.hoch .sc-gr { min-width:64px; min-height:64px; justify-content:center; padding:2px 1px; }
#stage.hoch #schale-in .sc-n { font-size:15px; padding:0 3px; }
#stage.hoch #hinweis, #stage.hoch .banner { left:50%; }
#stage.hoch #hinweis { font-size:18px; bottom:316px; max-width:500px; }
#stage.hoch.seite-unten #hinweis { bottom:calc(var(--seite-h) + 322px); }
#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; }
@media (pointer: coarse) {
  .wahl { min-height:48px; }
  .pav.kick .pg { min-height:44px; }
  #stage.hoch .pav.kick .pg { min-height:64px; }
  .knopf { min-height:42px; }
  .ch-tabs button { min-height:38px; }
}
#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.quer-finger #kopf { height:100px; padding-left:128px; gap:10px; }
#stage.quer-finger #kopf .logo, #stage.quer-finger #kopf .trenner { display:none; }
#stage.quer-finger #kopf .kb-ic { width:100px; height:94px; }
#stage.quer-finger #kopf .kb-ic .sgzi { width:40px; height:40px; }
#stage.quer-finger #feld, #stage.quer-finger #seite { top:118px; }
#stage.quer-finger #feld { grid-template-rows:minmax(0, 1fr) 272px; }
#stage.quer-finger #platz { grid-template-columns:262px minmax(0, 1fr); }
#stage.quer-finger #ich { grid-template-rows:minmax(0, 1fr) 132px; }
#stage.quer-finger .wahl { min-height:94px; font-size:19px; }
#stage.quer-finger .pav { grid-template-rows:84px auto minmax(0, 1fr) 30px; }
#stage.quer-finger .pav-dach { height:84px; } #stage.quer-finger .pav-dach svg { width:100px; }
#stage.quer-finger .pav.kick .pg { min-height:94px; }
#stage.quer-finger .sc-wf { gap:6px; }
#stage.quer-finger .sc-gr { min-width:94px; min-height:68px; justify-content:center; }
#stage.quer-finger .ch-tabs button, #stage.quer-finger .pc-knoepfe button { min-height:94px; }
#stage.quer-finger #pchatin { min-height:94px; font-size:20px; }

#stage #schale-in.eng .wf-mittel { width:28px; height:28px; } #stage #schale-in.eng .wf-gross { width:32px; height:32px; }
#stage #schale-in.eng .sc-gr { min-height:0; min-width:0; padding:1px; }
#stage #schale-in.eng .sc-wfs { max-width:124px; }
#stage #schale-in.enger .wf-mittel { width:24px; height:24px; } #stage #schale-in.enger .wf-gross { width:28px; height:28px; }
#stage #schale-in.enger .sc-wf { gap:2px 4px; }

#stage.hoch #kopf { height:132px; }
#stage.hoch #k-verlauf { order:0; height:66px; }
#stage.hoch .rechts { order:1; flex:1 1 calc(100% - 112px); }
#stage.hoch .kb-ic { width:68px; height:66px; }
#stage.hoch #feld { top:146px; }
#stage.hoch #seite.offen, #stage.hoch #ansicht-menu { top:146px; }
#stage.hoch .kb-start { font-size:15px; }
#stage.hoch .sc-leer { font-size:15px; }
#stage.hoch .sz-schild, #stage.quer-handy .sz-schild { font-size:16px; }
#stage.hoch .kb-leer, #stage.hoch .pav-leer, #stage.hoch .pg-mehr, #stage.hoch .pt, #stage.hoch .pt-r, #stage.hoch .tf-kopf, #stage.hoch .lt-kopf, #stage.hoch .ch-z.abschnitt { font-size:15px; }
#stage.hoch .tz, #stage.hoch .tz-nm, #stage.hoch .tz-j, #stage.hoch .zl, #stage.hoch .rlog span { font-size:15px; } #stage.hoch .rlog { height:auto; max-height:96px; }
#stage.hoch .tf-kopf, #stage.hoch .tz { grid-template-columns:22px minmax(0, 1fr) 40px 46px 52px; }
#stage.hoch .overlay .kb { min-height:66px; font-size:18px; }
#stage.hoch .ich-box { grid-template-rows:58px auto minmax(0, 1fr); } #stage.hoch .ich-name small { white-space:normal; line-height:1.1; }
#stage.hoch :is(.sz-nm small, .sz-krone, .sz-ok, .sz-pk small, .sz-chip, .sz-chip em, .sz-uhr) { font-size:15px; }
#stage.quer-handy :is(.sz-nm small, .sz-krone, .sz-ok, .sz-pk small, .sz-chip, .sz-chip em, .sz-uhr, .sz-erkl) { font-size:16px; }
#stage.hoch .sz-knopf { min-height:66px; font-size:18px; } #stage.quer-handy .sz-knopf { min-height:68px; font-size:18px; }
#stage.hoch .wahl { line-height:1.1; padding:2px 5px; } #stage.hoch .wahl small { white-space:normal; line-height:1.1; text-align:center; } #stage.hoch .wahl.haupt .sgzi { display:none; }
#stage.hoch .hilfe-text table, #stage.hoch .en-platz.kopf, #stage.hoch .en-platz .nmx small, #stage.hoch .en-platz .w small { font-size:15px; }

#stage.quer-handy #kopf { left:6px; right:6px; top:4px; height:72px; gap:10px; padding:0 4px 0 12px; }
#stage.quer-handy #kopf .logo, #stage.quer-handy #kopf .trenner, #stage.quer-handy #k-wf-box, #stage.quer-handy #k-st-box { display:none; }
#stage.quer-handy #kopf .kb-ic { width:72px; height:68px; }
#stage.quer-handy #kopf .kb-ic .sgzi { width:30px; height:30px; }
#stage.quer-handy #kopf #k-verlauf { width:auto; padding:0 14px; gap:8px; font-size:18px; font-weight:800; }
#stage.quer-handy .runde { font-size:16px; letter-spacing:1px; }
#stage.quer-handy .runde b { font-size:22px; }
#stage.quer-handy .k-phase { font-size:18px; line-height:1.12; white-space:normal; display:block; max-height:42px; }
#stage.quer-handy .uhr { font-size:24px; }
#stage.quer-handy .rechts { gap:6px; }
#stage.quer-handy #feld { left:6px; right:6px; top:82px; bottom:4px; gap:8px; grid-template-rows:minmax(0, 1fr) 180px; }
#stage.quer-handy #seite { display:none; }
#stage.quer-handy #seite.offen { display:flex; flex-direction:row; left:6px; right:6px; width:auto; top:82px; bottom:4px; z-index:55; gap:6px; }
#stage.quer-handy #seite.offen #tafel { flex:0 0 48%; overflow:auto; }
#stage.quer-handy #pchat { flex:1; min-width:0; min-height:0; }
#stage.quer-handy #ansicht-menu { top:82px; right:6px; width:440px; max-height:calc(100% - 96px); overflow:auto; }
#stage.quer-handy #ansicht-menu label { font-size:17px; min-height:68px; align-items:center; } #stage.quer-handy #ansicht-menu label small { font-size:16px; }
#stage.quer-handy #ansicht-menu input { width:26px; height:26px; } #stage.quer-handy #ansicht-menu .am-t { font-size:16px; }
#stage.quer-handy .knopf { min-height:68px; font-size:17px; }
#stage.quer-handy .pt, #stage.quer-handy .pt-r, #stage.quer-handy .tf-kopf, #stage.quer-handy .lt-kopf { font-size:16px; }
#stage.quer-handy .tf-kopf, #stage.quer-handy .tz { grid-template-columns:24px minmax(0, 1fr) 44px 48px 56px; }
#stage.quer-handy .tz, #stage.quer-handy .tz-nm, #stage.quer-handy .tz-j { font-size:16px; }
#stage.quer-handy .zl { font-size:16px; } #stage.quer-handy .rlog { height:auto; max-height:90px; } #stage.quer-handy .rlog span { font-size:16px; }
#stage.quer-handy .ch-tabs button { font-size:16px; min-height:68px; }
#stage.quer-handy .ch-liste, #stage.quer-handy #pchatwin { font-size:16px; } #stage.quer-handy .ch-z.abschnitt { font-size:16px; }
#stage.quer-handy #pchatin { min-height:68px; font-size:18px; }
#stage.quer-handy .pc-knoepfe button { min-height:68px; font-size:16px; } #stage.quer-handy .pc-knoepfe .sgzi { width:22px; height:22px; }
#stage.quer-handy #pier { padding:14px 10px 6px; grid-template-rows:minmax(0, 1fr) 44px; gap:4px; }
#stage.quer-handy #pier::after { bottom:-18px; height:12px; }
#stage.quer-handy #pier-in { grid-template-columns:78px minmax(0, 1fr); gap:6px; }
#stage.quer-handy .kasse { padding:6px 3px; }
#stage.quer-handy .ka-stapel { width:64px; height:40px; }
#stage.quer-handy .ka-lbl { font-size:16px; } #stage.quer-handy .ka-lbl b { font-size:22px; }
#stage.quer-handy .pavs, #stage.quer-handy .pavs[data-n="7"] { gap:5px; }
#stage.quer-handy .pav { grid-template-rows:48px auto minmax(0, 1fr) 34px; gap:2px; padding:0 3px 3px; }
#stage.quer-handy .pav-dach { height:48px; } #stage.quer-handy .pav-dach svg, #stage.quer-handy .pavs[data-n="7"] .pav-dach svg { width:66px; bottom:10px; }
#stage.quer-handy .pav-nr .wf-klein { width:24px; height:24px; }
#stage.quer-handy .pav-name, #stage.quer-handy .pavs[data-n="7"] .pav-name { font-size:16px; letter-spacing:0; line-height:1.02; white-space:normal; overflow:visible; text-overflow:clip; hyphens:manual; }
#stage.quer-handy .pav-fuss, #stage.quer-handy .pavs[data-n="7"] .pav-fuss { height:34px; font-size:16px; line-height:1; }
#stage.quer-handy .pav-geld { flex-direction:row; flex-wrap:wrap; justify-content:center; gap:2px 0; min-height:31px; }
#stage.quer-handy .pav-geld .bd-mittel { width:62px; height:31px; }
#stage.quer-handy .pav-geld .bd-z:nth-child(2n), #stage.hoch .pav-geld .bd-z:nth-child(2n) { margin-left:-28px; z-index:0; } #stage.quer-handy .pav-geld .bd-z:nth-child(2n+1), #stage.hoch .pav-geld .bd-z:nth-child(2n+1) { z-index:1; }
#stage.hoch .pav-geld { gap:2px 0; } #stage.hoch .pav-geld .bd-mittel { width:68px; height:34px; }
#stage.quer-handy .bd text, #stage.hoch .bd text { font-size:20px; } #stage.quer-handy .bd text + text, #stage.hoch .bd text + text { font-size:22px; }
#stage.quer-handy .pav-leer { font-size:16px; }
#stage.quer-handy .pg-n { font-size:18px; } #stage.quer-handy .pg-mehr { font-size:16px; }
#stage.quer-handy .pav.kick .pg { min-height:68px; }
#stage.quer-handy .meldung { font-size:16px; line-height:1.2; padding:2px 10px; white-space:normal; max-height:44px; }
#stage.quer-handy .meldung:not(:last-child) { display:none; }
#stage.quer-handy #unten { grid-template-columns:minmax(0, 1fr) minmax(0, 560px); gap:8px; }
#stage.quer-handy #koerbe { gap:6px; }
#stage.quer-handy #koerbe[data-n="1"], #stage.quer-handy #koerbe[data-n="2"] { grid-template-columns:minmax(0, 1fr); grid-template-rows:repeat(2, minmax(0, 1fr)); align-content:stretch; }
#stage.quer-handy #koerbe[data-n="1"] { grid-template-rows:minmax(0, 1fr); }
#stage.quer-handy .kb-korb { grid-template-rows:38px minmax(0, 1fr); gap:2px; padding:4px 8px 5px; border-radius:16px 16px 8px 8px; border-top-width:5px; }
#stage.quer-handy .kb-nm { font-size:16px; } #stage.quer-handy .kb-status { font-size:16px; }
#stage.quer-handy .kb-geld { font-size:20px; } #stage.quer-handy .kb-geld small { font-size:16px; }
#stage.quer-handy .kb-start { font-size:16px; } #stage.quer-handy .kb-leer { font-size:16px; }
#stage.quer-handy .kb-vorrat .wf-mini { width:18px; height:18px; }
#unten { --sz-oben:4px; } #unten > .sz-karte { left:calc((100% - 530px) / 2); max-width:min(560px, calc(100% - 540px)); }
#stage.hoch #unten > .sz-karte { left:50%; max-width:92%; }
#stage.quer-handy #unten > .sz-karte { left:50%; font-size:17px; max-width:96%; }
#stage.quer-handy #platz { grid-template-columns:minmax(0, 222px) minmax(0, 1fr); gap:6px; }
#stage.quer-handy #schale { padding:8px 10px; border-width:5px; }
#stage.quer-handy #schale-in { inset:4px 8px; }
#stage.quer-handy .sc-lbl, #stage.quer-handy .sc-n { font-size:16px; } #stage.quer-handy .sc-lbl { flex:none; } #stage.quer-handy .sc-leer { font-size:16px; }
#stage.quer-handy .sc-wf { gap:4px; }
#stage.quer-handy .sc-gr { min-width:68px; min-height:68px; justify-content:center; padding:2px 1px; }
#stage.quer-handy #ich { grid-template-rows:minmax(0, 1fr) 76px; gap:4px; }
#stage.quer-handy .ich-box { grid-template-rows:36px auto minmax(0, 1fr); gap:2px; padding:3px 8px; }
#stage.quer-handy .ich-name { font-size:16px; } #stage.quer-handy .ich-name small { font-size:16px; }
#stage.quer-handy .ich-geld b { font-size:22px; } #stage.quer-handy .ich-geld small { font-size:16px; }
#stage.quer-handy .ich-vorrat .wf-mini { width:18px; height:18px; }
#stage.quer-handy .lage { font-size:16px; line-height:1.2; display:block; -webkit-line-clamp:unset; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
#stage.quer-handy .wahl-box { grid-template-rows:minmax(0, 1fr); padding:4px; }
#stage.quer-handy .wahl-unter { display:none; }
#stage.quer-handy .wahl { min-height:68px; font-size:17px; line-height:1.1; padding:2px 5px; } #stage.quer-handy .wahl small { font-size:16px; line-height:1.1; min-height:18px; white-space:normal; text-align:center; }
#stage.quer-handy .wahl.haupt .sgzi { display:none; }
#stage.quer-handy .wahl.klein { font-size:16px; } #stage.quer-handy .wahl-ruhe { font-size:16px; }
#stage.quer-handy #hinweis { font-size:17px; bottom:200px; left:50%; }
#stage.quer-handy .banner { left:50%; }
#stage.quer-handy #en-zurueck .kb { min-height:68px; font-size:17px; }
#stage.quer-handy .ov-box { padding:12px 18px; max-height:96%; }
#stage.quer-handy .ov-titel { font-size:24px; margin-bottom:4px; }
#stage.quer-handy .ov-knoepfe { margin-top:8px; }
#stage.quer-handy .overlay .kb { min-height:68px; font-size:17px; }
#stage.quer-handy .hilfe-text { font-size:16px; max-height:330px; } #stage.quer-handy .hilfe-text table { font-size:16px; }
#stage.quer-handy #pop-text { font-size:17px; line-height:1.4; }
#stage.quer-handy .en-unter, #stage.quer-handy .en-einladung, #stage.quer-handy .en-stat { font-size:16px; }
#stage.quer-handy .en-platz.kopf, #stage.quer-handy .en-platz .nmx small, #stage.quer-handy .en-platz .w small { font-size:16px; }
#stage.quer-handy .bn-unter { font-size:17px; }
