:root {
  --bg:#1b1714; --panel:rgba(30,24,20,.9); --panel2:rgba(46,38,32,.95); --panel-solid:#2a221c;
  --akz:#e8a04a; --akz-hell:#ffd08a; --akz2:#b86a2a; --linie:rgba(240,190,130,.3);
  --text:#f6efe4; --text-2:#e4d9c8; --text-3:#c0b4a0; --dim:#cabca6;
  --gold:#ffc861; --rot:#ff8a7a; --gruen:#9fe08e; --blau:#9cd0f0; --dran:#7ad6c0;
  --ov-a:#3a2c22; --ov-b:#14100c; --scrim:rgba(8,6,4,.72);
  --kn-a:#4a3a2e; --kn-b:#261d16; --himmel-a:#3a2a3a; --himmel-b:#b8603a; --see:#2a3c4a; --haus:#1c1410;
  --kopf:'Georgia', 'Times New Roman', serif;
  --sans:'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}
:root[data-theme="light"] {
  --bg:#ece3d4; --panel:rgba(250,245,236,.93); --panel2:rgba(240,232,218,.97); --panel-solid:#f2ebdf;
  --akz:#9a4f12; --akz-hell:#7f3f0a; --akz2:#c48a3a; --linie:rgba(90,60,30,.3);
  --text:#24190f; --text-2:#3e2e1e; --text-3:#5a4836; --dim:#5a4836;
  --gold:#8a5600; --rot:#b4232f; --gruen:#2a6e3a; --blau:#1a5fb4; --dran:#0f7a62;
  --ov-a:#f6f0e4; --ov-b:#e4d8c2; --scrim:rgba(40,30,20,.42);
  --kn-a:#f6f0e4; --kn-b:#e0d2ba; --himmel-a:#a9cfe8; --himmel-b:#e8d6b0; --see:#7fa8c4; --haus:#9a8a76;
}
html[data-design="nebel"]:not([data-theme="light"]) {
  --bg:#171b20; --panel:rgba(24,28,34,.9); --panel2:rgba(36,42,50,.95); --panel-solid:#20262e;
  --linie:rgba(190,210,230,.28); --akz:#d9a86a; --ov-a:#2c343e; --ov-b:#101418; --kn-a:#38424e; --kn-b:#1c2229; --himmel-a:#2a3440; --himmel-b:#6a7a88; --see:#2a3644; --haus:#161a1f;
}
:where(html, html *) { scrollbar-width:thin; scrollbar-color:var(--akz, #e8a04a) var(--panel2, rgba(46,38,32,.95)); }
:where(html) ::-webkit-scrollbar { width:9px; height:9px; }
:where(html) ::-webkit-scrollbar-track { background:var(--panel2, rgba(46,38,32,.95)); border-radius:5px; }
:where(html) ::-webkit-scrollbar-thumb { background:var(--akz, #e8a04a); border-radius:5px; border:2px solid transparent; background-clip:padding-box; }
* { box-sizing:border-box; }
html, body { margin:0; height:100%; background:#0e0b09; 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, #3a2a20 0%, #0e0b09 80%); }
:root[data-theme="light"] #wrap { background:radial-gradient(ellipse at center, #f4ece0 0%, #cdbba0 85%); }
#stage { position:relative; width:1280px; height:800px; flex:none; transform-origin:center center; overflow:hidden; background:var(--bg); -webkit-touch-callout:none; }
#grund { position:absolute; inset:0; background:url(img/hintergrund.webp) center 35% / cover no-repeat,
    radial-gradient(ellipse 60% 30% at 70% 74%, rgba(255,190,110,.22), transparent 70%),
    linear-gradient(180deg, var(--himmel-a) 0%, var(--himmel-b) 62%, var(--see) 62%, var(--bg) 100%); }
#grund::before { content:none; position:absolute; left:0; right:0; bottom:38%; height:220px; opacity:.85;
  background:
    linear-gradient(var(--haus), var(--haus)) 4% 100% / 60px 120px no-repeat, linear-gradient(var(--haus), var(--haus)) 9% 100% / 44px 170px no-repeat,
    linear-gradient(var(--haus), var(--haus)) 15% 100% / 70px 90px no-repeat, linear-gradient(var(--haus), var(--haus)) 22% 100% / 50px 200px no-repeat,
    linear-gradient(var(--haus), var(--haus)) 30% 100% / 80px 140px no-repeat, linear-gradient(var(--haus), var(--haus)) 38% 100% / 46px 180px no-repeat,
    linear-gradient(var(--haus), var(--haus)) 46% 100% / 64px 110px no-repeat, linear-gradient(var(--haus), var(--haus)) 55% 100% / 52px 210px no-repeat,
    linear-gradient(var(--haus), var(--haus)) 63% 100% / 76px 130px no-repeat, linear-gradient(var(--haus), var(--haus)) 72% 100% / 48px 160px no-repeat,
    linear-gradient(var(--haus), var(--haus)) 80% 100% / 66px 100px no-repeat, linear-gradient(var(--haus), var(--haus)) 88% 100% / 54px 190px no-repeat,
    linear-gradient(var(--haus), var(--haus)) 96% 100% / 70px 120px no-repeat; }
#grund::after { content:""; position:absolute; inset:0; background:radial-gradient(ellipse 70% 60% at 42% 45%, rgba(10,6,4,.25), rgba(10,6,4,.62)), linear-gradient(180deg, rgba(10,6,4,.15), rgba(8,6,4,.55)); }
:root[data-theme="light"] #grund::after { background:radial-gradient(ellipse 70% 60% at 42% 45%, rgba(255,246,228,.15), rgba(244,234,216,.55)); }
html[data-design="nebel"]:not([data-theme="light"]) #grund { filter:saturate(.45) brightness(.85) hue-rotate(-12deg); }
html[data-design="nebel"]:not([data-theme="light"]) #grund::after { background:radial-gradient(ellipse 70% 60% at 42% 45%, rgba(40,52,64,.35), rgba(16,20,26,.7)); }
#stage.lobbyhg #grund { filter:blur(3px) brightness(.72); }
:root[data-theme="light"] #stage.lobbyhg #grund { filter:blur(2px) brightness(1.04) saturate(.85); }
[hidden] { display:none !important; }
button { font-family:var(--sans); cursor:pointer; }
input, select { font-family:var(--sans); font-size:16px; }

.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 .pk { width:9px; height:9px; border-radius:50%; background:var(--gruen); }
.it.spielt .pk { 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% - 404px) / 2); top:40%; z-index:75; min-width:420px; max-width:720px; 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:40px; 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.2px; color:var(--text); }
.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:24%; min-width:0; padding:10px 24px 9px; }
.banner.klein .bn-titel { font-size:26px; letter-spacing:2px; }
.banner .bn-karte { display:flex; justify-content:center; margin-bottom:4px; }

.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; }
.en-platz { display:grid; grid-template-columns:48px 40px minmax(0, 1fr) 70px 100px; align-items:center; gap:10px; padding:7px 12px; border-radius:10px; background:rgba(0,0,0,.2); border:1px solid var(--linie); }
: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 .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 .pk 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); }
.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); }
.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(80,50,30,.22); }
#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); font-variant-numeric:tabular-nums; min-width:44px; }
.k-phase { flex:1 1 auto; 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 { 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; font-variant-numeric:tabular-nums; }
.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; }
.knopf { display:inline-flex; align-items:center; justify-content:center; gap:6px; font-weight:800; letter-spacing:.3px; font-size:14px; color:#2b1a05; cursor:pointer; padding:6px 10px; border-radius:8px;
  border:1px solid #fff0d0; background:linear-gradient(#ffd89a, #e89a3a); box-shadow:0 2px 0 #7a4a10, inset 0 1px 0 #fff6; white-space:nowrap; }
.knopf.leise { color:var(--text); background:var(--panel2); border-color:var(--linie); box-shadow:none; }
.knopf:disabled { opacity:.45; cursor:default; }
.knopf.an { outline:2px solid var(--akz-hell); outline-offset:1px; }
.knopf small { font-weight:700; opacity:.8; }

#feld { position:absolute; left:12px; top:72px; right:416px; bottom:10px; }
#seite { position:absolute; right:12px; top:72px; bottom:10px; width:394px; display:flex; flex-direction:column; gap:8px; }
#seite > .panel { position:relative; }

#buehne { position:absolute; inset:0; border-radius:12px; overflow:hidden; touch-action:none; cursor:grab;
  background:radial-gradient(ellipse 60% 55% at 50% 58%, rgba(255,200,130,.16), transparent 70%), linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.35)); border:1px solid var(--linie); box-shadow:inset 0 0 60px rgba(0,0,0,.45); }
:root[data-theme="light"] #buehne { background:radial-gradient(ellipse 80% 70% at 45% 40%, rgba(255,255,255,.35), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.15), rgba(160,130,90,.15)); }
#buehne.zieht { cursor:grabbing; }
#brett, #flugsvg { position:absolute; inset:0; width:100%; height:100%; }
#flugsvg { pointer-events:none; }
#brett [data-f] { cursor:pointer; }
#brett .durch { opacity:.32; }
#brett .hz { font:800 17px var(--sans); pointer-events:none; }
#brett .zt { font:900 18px var(--sans); fill:#fff; paint-order:stroke; stroke:rgba(0,0,0,.75); stroke-width:3px; pointer-events:none; }
#brett .ziel { animation:zielPuls 1.2s ease-in-out infinite alternate; pointer-events:none; }
#brett .gt { font:800 18px var(--sans); fill:#fff8e4; paint-order:stroke; stroke:rgba(30,20,10,.85); stroke-width:3px; pointer-events:none; }
#brett .spur { pointer-events:none; }
.knopf.puls { animation:knopfPuls 1s ease-in-out infinite alternate; }
@keyframes knopfPuls { to { box-shadow:0 0 0 4px rgba(255,208,138,.55), 0 2px 0 #7a4a10; } }
@keyframes zielPuls { from { fill-opacity:.22; } to { fill-opacity:.5; } }
#brett .fig.gewaehlt { filter:drop-shadow(0 0 4px #fff) drop-shadow(0 0 2px #fff); }
#brettknoepfe { position:absolute; right:10px; top:52px; display:flex; flex-direction:column; gap:6px; z-index:6; }
#brettknoepfe .kb-ic { width:40px; height:38px; background:var(--panel); }
#brettknoepfe .kb-ic.an { background:rgba(255,207,106,.35); }
#lage { position:absolute; left:10px; right:10px; top:8px; height:36px; z-index:6; pointer-events:none; display:flex; align-items:center; gap:8px; padding:0 12px; border-radius:9px; font-size:15px; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  background:var(--panel); border:1px solid var(--linie); }
#lage b { color:var(--akz-hell); }
#lage .lg-f { width:14px; height:14px; border-radius:50%; flex:none; background:var(--sf); box-shadow:0 0 0 2px rgba(0,0,0,.3); }
#lage .bildnis.bild { width:28px; height:28px; }

#meldungen { position:absolute; left:10px; right:60px; bottom:10px; height:92px; z-index:20; display:flex; flex-direction:column; justify-content:flex-end; gap:4px; overflow:hidden; pointer-events:none; }
.meldung { flex:none; padding:3px 10px; border-radius:7px; text-align:left; font-size:14px; line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--text); background:var(--panel-solid); border:1px solid var(--linie); border-left:3px solid var(--akz);
  box-shadow:0 4px 12px rgba(0,0,0,.4); max-height:90px; 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:-5px; border-width:0; }
@keyframes meldungRein { from { opacity:0; max-height:0; padding-top:0; padding-bottom:0; transform:translateY(-6px); } to { opacity:1; max-height:90px; transform:none; } }

#kwahl { left:50%; top:50%; transform:translate(-50%, -50%); z-index:30; padding:14px 18px; text-align:center; min-width:380px; }
#kwahl .kw-t { font-family:var(--kopf); font-size:20px; font-weight:900; color:var(--akz-hell); }
#kwahl .kw-u { font-size:13.5px; color:var(--text-2); margin:2px 0 10px; }
#kwahl .kw-reihe { display:flex; gap:12px; justify-content:center; }
#kwahl .karte { width:120px; height:160px; }
#kwahl .karte b { font-size:14px; }
#wertung { left:10px; right:60px; bottom:10px; z-index:30; max-height:52%; overflow:auto; padding:8px 12px 10px; }
.wt-titel { font-family:var(--kopf); font-size:19px; font-weight:900; color:var(--akz-hell); text-align:center; }
.wt-unter { font-size:13.5px; color:var(--text-2); text-align:center; margin-bottom:8px; }
.wt-z { display:grid; grid-template-columns:30px minmax(0, 1fr) 64px; gap:8px; align-items:center; padding:3px 8px; border-radius:8px; border-left:4px solid var(--sf); background:rgba(0,0,0,.2); margin-bottom:5px; opacity:0; transform:translateY(6px); transition:opacity .35s, transform .35s; }
:root[data-theme="light"] .wt-z { background:rgba(255,250,240,.6); }
.wt-z.da { opacity:1; transform:none; }
.wt-z .wt-nm { font-weight:800; }
.wt-z .wt-r { font-size:13px; color:var(--text-2); line-height:1.45; }
.wt-z .wt-r span { display:inline-block; margin-right:8px; white-space:nowrap; }
.wt-z .wt-s { font-family:var(--kopf); font-size:22px; font-weight:900; color:var(--gold); text-align:right; }
.wt-z .wt-s small { display:block; font:600 11.5px var(--sans); color:var(--dim); }
.wt-fuss { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:4px; font-size:13.5px; color:var(--text-2); height:42px; }

#leiste { display:grid; grid-template-columns:1fr 1fr; gap:6px; flex:none; }
.pl-chip { position:relative; display:grid; grid-template-columns:minmax(0, 1fr) auto; align-items:center; gap:7px; height:62px; padding:4px 8px; border-radius:10px; text-align:left;
  background:var(--panel); border:1px solid var(--linie); border-left:5px solid var(--sf); color:var(--text); }
.pl-chip.dran { box-shadow:0 0 0 2px var(--akz-hell); }
.pl-chip.weg { opacity:.6; }
.pc-nm { min-width:0; font-weight:800; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; line-height:1.2; }
.pc-nm .pc-du { font-weight:600; }
.pl-chip > .bildnis { display:none; }
.pc-nm small { display:block; font-weight:600; font-size:12.5px; color:var(--dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pc-w { text-align:right; font-family:var(--kopf); font-size:22px; font-weight:900; color:var(--gold); font-variant-numeric:tabular-nums; line-height:1; }
.pc-w small { display:block; font:600 12.5px var(--sans); color:var(--dim); margin-top:2px; white-space:nowrap; }

#aktion { flex:none; height:388px; padding:8px 10px; display:flex; flex-direction:column; gap:6px; }
.ak-zeile { display:flex; align-items:center; gap:8px; flex:none; }
.ak-t { font-size:12.5px; letter-spacing:1px; text-transform:uppercase; font-weight:800; color:var(--dim); width:84px; flex:none; line-height:1.2; }
.ak-t small { font-size:12.5px; letter-spacing:0; text-transform:none; }
.ap { display:flex; gap:5px; align-items:center; height:26px; }
.ap i { width:20px; height:20px; border-radius:50%; background:radial-gradient(circle at 35% 30%, #ffe9b0, #e0a52a 60%, #8a5a10); box-shadow:0 1px 2px rgba(0,0,0,.5); }
.ap i.weg { background:rgba(255,255,255,.08); box-shadow:inset 0 0 0 1px var(--linie); }
.ap i.plus { background:radial-gradient(circle at 35% 30%, #d8ffd0, #5fbf4a 60%, #2a6a1a); }
.ap em { font-style:normal; font-size:13px; color:var(--text-2); margin-left:4px; white-space:nowrap; }
.stapel { display:flex; gap:7px; align-items:flex-end; height:62px; }
.stp { width:44px; height:60px; display:flex; flex-direction:column-reverse; align-items:center; justify-content:flex-start; gap:2px; padding:4px 0 3px; border-radius:7px; border:1px solid var(--linie); background:rgba(0,0,0,.18); color:var(--text); }
:root[data-theme="light"] .stp { background:rgba(255,250,240,.6); }
.stp i { width:30px; height:12px; border-radius:2px; background:linear-gradient(180deg, #d0784a, #8a4428); box-shadow:inset 0 -2px 0 rgba(0,0,0,.25), inset 0 1px 0 rgba(255,220,180,.4); }
.stp.wahl { border-color:var(--akz-hell); box-shadow:0 0 0 2px var(--akz-hell); }
.stp.zu { opacity:.4; }
.stp.leer { opacity:.35; }
.hand { display:flex; gap:6px; height:104px; align-items:center; overflow-x:auto; overflow-y:hidden; padding-bottom:2px; }
.karte { position:relative; flex:none; width:68px; height:98px; border-radius:8px; padding:0; overflow:hidden; display:flex; flex-direction:column; align-items:center; justify-content:flex-end;
  background:linear-gradient(180deg, #fbf3e2, #e8d6b2); border:2px solid #b8894a; color:#3a2a14; box-shadow:0 2px 6px rgba(0,0,0,.4); }
.karte .kbild { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.karte b { position:relative; width:100%; padding:3px 2px 4px; font:800 12px/1.05 var(--sans); text-align:center; hyphens:auto; -webkit-hyphens:auto; overflow-wrap:anywhere; color:#fff3dc; background-color:#24160a; background-image:linear-gradient(180deg, rgba(30,18,8,.55), rgba(30,18,8,.92)); text-shadow:0 1px 2px #000; }
.karte:has(.kbild) { background:#24160a; }
.karte.neu::after { content:"neu"; position:absolute; top:-6px; right:-6px; font:800 12px var(--sans); background:#5fb4ff; color:#062030; padding:1px 5px; border-radius:7px; }
.karte.wahl { outline:3px solid var(--akz-hell); outline-offset:1px; }
.karte.zu { opacity:.5; }
.karte.leer { background:rgba(0,0,0,.15); border:1px dashed var(--linie); box-shadow:none; color:var(--dim); justify-content:center; font-size:12.5px; }
.ak-knoepfe { display:grid; grid-template-columns:1fr 1fr 1fr; gap:6px; flex:none; }
.ak-knoepfe .knopf { height:44px; font-size:13.5px; padding:3px 4px; flex-direction:column; gap:0; line-height:1.15; }
.ak-knoepfe .knopf small { display:block; font-size:12px; font-weight:600; }
.ak-vorschau { flex:none; height:54px; font-size:13px; color:var(--text-2); line-height:1.35; overflow:hidden; }
.ak-vorschau b { color:var(--gold); }
#pchat { flex:1 1 auto; min-height:90px; padding:8px 10px 10px; display:flex; flex-direction:column; }
#pchatwin { flex:1; min-height:0; overflow:auto; font-size:13.5px; padding:6px 8px; border-radius:8px; background:rgba(0,0,0,.2); }
#pchatin { margin-top:6px; padding:6px 9px; border-radius:7px; border:1px solid var(--linie); background:rgba(0,0,0,.25); color:var(--text); }
:root[data-theme="light"] #pchatwin, :root[data-theme="light"] #pchatin { background:rgba(255,250,236,.65); }
.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,250,240,.6); }
.ch-z b { color:var(--text); }
.ch-z.gut { color:#c8f3e2; } .ch-z.schlecht { color:#ffcabd; } .ch-z.leise { opacity:.8; }
:root[data-theme="light"] .ch-z.gut { color:#1f6448; } :root[data-theme="light"] .ch-z.schlecht { color:#9c2a1a; }
.ch-z.abschnitt { border-left-color:transparent; background:transparent; color:var(--dim); font-size:12px; letter-spacing:1.5px; text-transform:uppercase; font-weight:800; padding-top:6px; }
.ch-chat { flex:1; display:flex; flex-direction:column; min-height:0; }

#flug { position:absolute; inset:0; z-index:60; pointer-events:none; }
.flieger { position:absolute; z-index:61; pointer-events:none; }
.blitz { position:absolute; z-index:62; width:120px; height:120px; margin:-60px 0 0 -60px; border-radius:50%; pointer-events:none; background:radial-gradient(circle, #fffbe0 0%, rgba(255,250,210,.7) 30%, transparent 70%); animation:blitz .7s ease-out forwards; }
@keyframes blitz { from { opacity:1; transform:scale(.4); } to { opacity:0; transform:scale(2.2); } }
.pkt { position:absolute; z-index:63; transform:translate(-50%, -100%); padding:3px 10px; border-radius:10px; font:900 15px var(--sans); white-space:nowrap; pointer-events:none; color:#2a1d04; background:linear-gradient(#ffe39a, #e0a52a); box-shadow:0 3px 8px rgba(0,0,0,.45); animation:pkt 2.6s ease-out forwards; }
@keyframes pkt { 0% { opacity:0; transform:translate(-50%, -60%) scale(.7); } 12% { opacity:1; transform:translate(-50%, -100%) scale(1); } 80% { opacity:1; } 100% { opacity:0; transform:translate(-50%, -130%); } }
#ansicht-menu { right:12px; top:72px; padding:10px 12px; z-index:40; width:330px; display:flex; flex-direction:column; gap:6px; }
#ansicht-menu label { display:flex; gap:8px; font-size:14px; cursor:pointer; }
#ansicht-menu label small { display:block; font-size:12px; color:var(--dim); }
#ansicht-menu input { width:18px; height:18px; margin-top:1px; accent-color:var(--akz); flex:none; }
#ansicht-menu .am-t { font-size:12px; letter-spacing:2.5px; text-transform:uppercase; color:var(--dim); font-weight:800; margin-top:4px; }
.am-reihe { display:flex; gap:6px; flex-wrap:wrap; }
#hinweis { position:absolute; left:calc((100% - 404px) / 2); top:130px; transform:translateX(-50%); z-index:70; padding:9px 18px; border-radius:9px; background:rgba(120,30,20,.95); border:1px solid #ffb8a3; color:#fff6ee; 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); }
.konfetti { position:absolute; top:-20px; z-index:90; width:var(--gr); height:calc(var(--gr) * .55); border-radius:2px; pointer-events:none; background:var(--kf); box-shadow:inset 0 -2px 0 rgba(0,0,0,.25); animation:fall linear forwards; }
@keyframes fall { to { transform:translateY(860px) rotate(540deg); opacity:.4; } }
#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); }
.bildnis { flex:none; filter:drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.bildnis.bild { border-radius:50%; object-fit:cover; box-shadow:0 0 0 2px var(--rf, var(--akz)), 0 3px 8px rgba(0,0,0,.5); background:#3a2a1e; filter:none; }
.tg-l { margin-top:4px; }
.tg-liste { display:flex; flex-wrap:wrap; gap:4px 12px; margin-top:5px; }
.tg-liste span.ich { color:var(--akz-hell); font-weight:700; }
.tg-liste i { font-style:normal; color:var(--gold); font-weight:800; }
.lw-aus .lw-wahl button { opacity:.55; cursor:default; }
.ki-karte { display:flex; flex-direction:column; align-items:center; gap:4px; }
.ki-karte .kbild { border-radius:10px; box-shadow:0 4px 12px rgba(0,0,0,.5); }
.banner .bn-karte .kbild { border-radius:8px; box-shadow:0 4px 12px rgba(0,0,0,.6); }
.ki-haus table { border-collapse:collapse; font-size:13px; margin-top:4px; } .ki-haus td { padding:1px 6px; }
.ki-wer { display:flex; align-items:center; gap:8px; margin:5px 0; }
@media (pointer: coarse) {
  .knopf { min-height:42px; }
  .ch-tabs button { min-height:40px; }
  #brettknoepfe .kb-ic { width:46px; height:44px; }
  .stp { width:46px; }
  #stage:not(.hoch) .kb-ic, #stage:not(.hoch) #brettknoepfe .kb-ic { width:52px; height:52px; }
  #stage:not(.hoch) .ak-knoepfe .knopf { height:52px; }
  #stage:not(.hoch) .stp { width:52px; }
  #stage:not(.hoch) .ch-tabs button { min-height:52px; }
}

#k-verlauf { display:none; }
#stage.hoch #k-verlauf { display:inline-flex; width:auto; min-width:128px; height:64px; padding:0 12px; gap:6px; font:800 15px var(--sans); white-space:nowrap; }
#stage.hoch #kopf { left:8px; right:8px; height:140px; flex-wrap:wrap; align-content:center; column-gap:10px; row-gap:4px; padding:3px 8px; }
#stage.hoch .logo, #stage.hoch .trenner, #stage.hoch .nur-quer { display:none; }
#stage.hoch .rechts { order:-1; flex:1 1 100%; justify-content:flex-end; gap:6px; }
#stage.hoch #kopf .kb-ic { width:66px; height:66px; }
#stage.hoch .k-phase { flex:1 1 auto; font-size:16px; }
#stage.hoch .runde { font-size:15px; } #stage.hoch .runde b { font-size:22px; }
#stage.hoch .uhr { font-size:24px; }
#stage.hoch #feld { left:8px; right:8px; top:156px; bottom:auto; height:calc(426px + var(--hz, 0px)); }
#stage.hoch #seite { left:8px; right:8px; width:auto; top:calc(590px + var(--hz, 0px)); bottom:8px; gap:6px; }
#stage.hoch #lage { height:56px; font-size:15px; white-space:normal; line-height:1.25; align-items:center; }
#stage.hoch #lage .bildnis.bild { width:40px; height:40px; }
#stage.hoch #brettknoepfe { top:auto; bottom:8px; right:8px; flex-direction:row; gap:4px; }
#stage.hoch #brettknoepfe .kb-ic { width:66px; height:66px; }
#stage.hoch #meldungen { left:8px; right:8px; bottom:76px; height:100px; }
#stage.hoch .meldung { font-size:15px; white-space:normal; }
#stage.hoch #wertung { left:8px; right:8px; bottom:76px; max-height:66%; }
#stage.hoch .wt-z .wt-r { font-size:15px; } #stage.hoch .wt-unter { font-size:15px; } #stage.hoch .wt-z .wt-s small { font-size:15px; }
#stage.hoch #kwahl .karte { width:132px; height:176px; } #stage.hoch #kwahl .karte b { font-size:15px; }
#stage.hoch #kwahl .kw-u { font-size:15px; }
#stage.hoch #hinweis, #stage.hoch .banner { left:50%; }
#stage.hoch #hinweis { top:200px; max-width:500px; font-size:16px; }
#stage.hoch .banner { min-width:0; width:500px; }
#stage.hoch .bn-titel { font-size:30px; } #stage.hoch .bn-unter { font-size:15px; }
#stage.hoch #leiste { grid-template-columns:repeat(4, minmax(0, 1fr)); gap:5px; }
#stage.hoch .pl-chip { height:74px; grid-template-columns:minmax(0, 1fr); grid-template-rows:auto auto; padding:4px 7px; gap:0; align-content:center; }
#stage.hoch .karte { height:98px; }
#stage.hoch .pl-chip .bildnis { display:none; }
#stage.hoch .pc-nm { font-size:15px; } #stage.hoch .pc-nm small:last-child { display:none; } #stage.hoch .pc-nm small { font-size:15px; }
#stage.hoch .pc-w { text-align:left; font-size:22px; display:flex; align-items:baseline; gap:5px; } #stage.hoch .pc-w small { display:inline; font-size:15px; }
#stage.hoch #aktion { height:auto; flex:none; gap:5px; padding:6px 10px; display:grid; grid-template-columns:204px minmax(0, 1fr); grid-template-areas:'ap stp' 'hand hand' 'kn kn' 'vs vs'; column-gap:10px; }
#stage.hoch #aktion > .ak-zeile { min-width:0; }
#stage.hoch .hand { min-width:0; flex:1 1 auto; }
#stage.hoch #aktion > .ak-zeile:nth-child(1) { grid-area:ap; flex-direction:column; align-items:flex-start; gap:4px; }
#stage.hoch #aktion > .ak-zeile:nth-child(2) { grid-area:stp; }
#stage.hoch #aktion > .ak-zeile:nth-child(3) { grid-area:hand; }
#stage.hoch #aktion > .ak-knoepfe { grid-area:kn; }
#stage.hoch #aktion > .ak-vorschau { grid-area:vs; }
#stage.hoch .ak-t { font-size:15px; width:auto; letter-spacing:.5px; }
#stage.hoch .ak-t small { font-size:15px; letter-spacing:0; text-transform:none; }
#stage.hoch .ak-zeile:nth-child(2) .ak-t { display:none; }
#stage.hoch .ak-zeile:nth-child(3) .ak-t { width:92px; }
#stage.hoch .ap { height:30px; gap:4px; } #stage.hoch .ap i { width:24px; height:24px; } #stage.hoch .ap em { font-size:15px; }
#stage.hoch .stapel { height:78px; gap:5px; } #stage.hoch .stp { width:64px; height:76px; } #stage.hoch .stp i { width:40px; height:14px; }
#stage.hoch .hand { height:102px; } #stage.hoch .karte { width:76px; height:98px; } #stage.hoch .karte b { font-size:15px; }
#stage.hoch .karte.neu::after { font-size:15px; }
#stage.hoch .karte.leer { font-size:15px; }
#stage.hoch .pc-du { display:none; }
#stage.hoch .ak-knoepfe .knopf { height:66px; font-size:16px; } #stage.hoch .ak-knoepfe .knopf small { font-size:15px; }
#stage.hoch .ak-vorschau { height:54px; font-size:15px; line-height:1.2; }
#stage.hoch #pchat { position:absolute; left:8px; right:8px; top:156px; height:calc(426px + var(--hz, 0px)); z-index:35; display:none; }
#stage.hoch.verlauf #pchat { display:flex; }
#stage.hoch .ch-tabs button { min-height:66px; font-size:15px; }
#stage.hoch .ch-liste, #stage.hoch #pchatwin { font-size:15px; }
#stage.hoch .pc-knoepfe button { min-height:66px; font-size:15px; }
#stage.hoch #pchatin { font-size:16px; min-height:48px; }
#stage.hoch .ki-karte, #stage.hoch .ki-haus { font-size:15px; }
.ak-stand { color:var(--akz); font-weight:700; }
.ak-stand.ok { color:#7fd18a; }
:root[data-theme="light"] .ak-stand.ok { color:#1f7a32; }
#lern { position:absolute; left:10px; top:52px; width:300px; z-index:25; padding:10px 12px; font-size:14px; line-height:1.35; border:1px solid var(--akz-hell); box-shadow:0 8px 24px rgba(0,0,0,.5); }
#lern .ln-kopf { display:flex; justify-content:space-between; align-items:center; font-size:12.5px; color:var(--akz); text-transform:uppercase; letter-spacing:.06em; }
#lern .ln-t { font:800 17px/1.2 var(--sans); margin:4px 0; }
#lern .ln-knoepfe { display:flex; justify-content:flex-end; gap:8px; margin-top:9px; }
#lern .knopf { min-height:38px; padding:6px 14px; }
.lern-ziel { outline:3px solid var(--akz-hell); outline-offset:2px; animation:lernPuls 1.2s ease-in-out infinite; }
@keyframes lernPuls { 50% { outline-color:transparent; } }
@media (prefers-reduced-motion: reduce) { .lern-ziel { animation:none; } }
#stage.hoch #lern { left:0; right:0; width:auto; top:-150px; max-height:212px; overflow:hidden; font-size:15px; z-index:40; padding:8px 12px; }
#stage.hoch #lern .ln-t { font-size:19px; }
#stage.hoch #lern .knopf { min-height:56px; padding:8px 18px; font-size:16px; }
#brettknoepfe .kb-ic > * { pointer-events:none; }
