:root {
  --bg:#141210; --panel:rgba(26,22,18,.9); --panel2:rgba(40,34,28,.95); --panel-solid:#241e18;
  --akz:#d6a845; --akz-hell:#ffd98a; --akz2:#9a6a1a; --linie:rgba(230,190,120,.3);
  --text:#f4ede0; --text-2:#e2d6c2; --text-3:#bfb19a; --dim:#c8b99f;
  --gold:#ffc861; --rot:#ff8a7a; --gruen:#9fe08e; --blau:#9cd0f0; --dran:#7ad6c0;
  --ov-a:#33291f; --ov-b:#120e0a; --scrim:rgba(8,6,4,.72);
  --kn-a:#4a3c2c; --kn-b:#241b13;
  --eisen-a:#4c5157; --eisen-b:#24272b; --papier-a:#efe2c4; --papier-b:#d9c49a; --tinte:#2e2214;
  --kopf:'Georgia', 'Times New Roman', serif;
  --sans:'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}
:root[data-theme="light"] {
  --bg:#ebe3d3; --panel:rgba(250,245,234,.93); --panel2:rgba(238,230,214,.97); --panel-solid:#f1e9da;
  --akz:#8a5a10; --akz-hell:#7a4a06; --akz2:#c48a3a; --linie:rgba(90,60,30,.3);
  --text:#22190f; --text-2:#3c2d1d; --text-3:#5a4836; --dim:#5a4836;
  --gold:#8a5600; --rot:#b4232f; --gruen:#2a6e3a; --blau:#1a5fb4; --dran:#0f7a62;
  --ov-a:#f5efe2; --ov-b:#e2d6bf; --scrim:rgba(40,30,20,.42);
  --kn-a:#f5efe2; --kn-b:#ddcfb6;
  --eisen-a:#aab0b6; --eisen-b:#7b828a; --papier-a:#fbf3df; --papier-b:#eadbb8; --tinte:#2e2214;
}
html[data-design="hochwasser"]:not([data-theme="light"]) {
  --bg:#10151c; --panel:rgba(18,24,32,.9); --panel2:rgba(30,38,48,.95); --panel-solid:#1a222c;
  --linie:rgba(170,200,230,.28); --akz:#c9b27a; --akz-hell:#f0dca0; --ov-a:#24303c; --ov-b:#0c1016; --kn-a:#34404c; --kn-b:#182029;
  --eisen-a:#3e4752; --eisen-b:#1a1f26;
}
:where(html, html *) { scrollbar-width:thin; scrollbar-color:var(--akz, #d6a845) var(--panel2, rgba(40,34,28,.95)); }
:where(html) ::-webkit-scrollbar { width:9px; height:9px; }
:where(html) ::-webkit-scrollbar-track { background:var(--panel2, rgba(40,34,28,.95)); border-radius:5px; }
:where(html) ::-webkit-scrollbar-thumb { background:var(--akz, #d6a845); 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, #33281e 0%, #0d0b09 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/kulisse-gaslicht.webp?v=1) center 40% / cover no-repeat, #1a1510; }
#stage.hoch #grund { background-image:url(img/kulisse-gaslicht-hoch.webp?v=1); }
html[data-design="hochwasser"]:not([data-theme="light"]) #grund { background-image:url(img/kulisse-hochwasser.webp?v=1); }
html[data-design="hochwasser"]:not([data-theme="light"]) #stage.hoch #grund { background-image:url(img/kulisse-hochwasser-hoch.webp?v=1); }
:root[data-theme="light"] #grund { background-image:url(img/kulisse-besichtigung.webp?v=1); }
:root[data-theme="light"] #stage.hoch #grund { background-image:url(img/kulisse-besichtigung-hoch.webp?v=1); }
#grund::after { content:""; position:absolute; inset:0; background:radial-gradient(ellipse 75% 70% at 45% 50%, rgba(10,6,4,0), rgba(10,6,4,.4)); }
:root[data-theme="light"] #grund::after { background:radial-gradient(ellipse 75% 70% at 45% 50%, rgba(255,246,228,0), rgba(244,234,216,.3)); }
#grund .dunst { position:absolute; left:-20%; right:-20%; bottom:0; height:45%; background:radial-gradient(ellipse 40% 50% at 30% 70%, rgba(230,220,200,.12), transparent 70%), radial-gradient(ellipse 35% 45% at 75% 80%, rgba(230,220,200,.1), transparent 70%); animation:dunst 38s ease-in-out infinite alternate; pointer-events:none; }
@keyframes dunst { from { transform:translateX(-4%); } to { transform:translateX(4%); } }
@media (prefers-reduced-motion: reduce) { #grund .dunst { animation:none; } }
#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; }
.tafel { position:absolute; border-radius:10px; color:var(--text); border:1px solid rgba(0,0,0,.6);
  background:repeating-linear-gradient(100deg, rgba(255,255,255,.035) 0 2px, rgba(0,0,0,.04) 2px 5px), linear-gradient(170deg, var(--eisen-a), var(--eisen-b));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18), inset 0 -2px 0 rgba(0,0,0,.35), 0 8px 22px rgba(0,0,0,.45); }
.tafel::before { content:""; position:absolute; inset:5px; border-radius:7px; pointer-events:none;
  background:radial-gradient(circle at 0 0, #c9ad6e 0 2.4px, transparent 3px) 0 0 / 100% 100% no-repeat, radial-gradient(circle at 100% 0, #c9ad6e 0 2.4px, transparent 3px) 0 0 / 100% 100% no-repeat,
    radial-gradient(circle at 0 100%, #c9ad6e 0 2.4px, transparent 3px) 0 0 / 100% 100% no-repeat, radial-gradient(circle at 100% 100%, #c9ad6e 0 2.4px, transparent 3px) 0 0 / 100% 100% no-repeat; }
:root[data-theme="light"] .tafel { color:#1e1810; border-color:rgba(60,50,40,.45); box-shadow:inset 0 1px 0 rgba(255,255,255,.5), 0 6px 16px rgba(80,60,30,.25); }
.zettel { position:relative; color:var(--tinte); border-radius:3px; transform:rotate(-.6deg);
  background:repeating-linear-gradient(0deg, rgba(120,90,40,.07) 0 1px, transparent 1px 22px), linear-gradient(175deg, var(--papier-a), var(--papier-b));
  box-shadow:0 1px 0 rgba(255,255,255,.4) inset, 0 8px 18px rgba(0,0,0,.45); }
.zettel::after { content:""; position:absolute; left:50%; top:-7px; width:16px; height:16px; margin-left:-8px; border-radius:50%; background:radial-gradient(circle at 35% 30%, #fff2c0, #c9962a 60%, #6a4a12); box-shadow:0 2px 3px rgba(0,0,0,.5); }

#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-hell); text-shadow:0 2px 0 rgba(0,0,0,.6); line-height:1; white-space:nowrap; }
:root[data-theme="light"] .logo { color:#5a3a06; 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; }
:root[data-theme="light"] .runde, :root[data-theme="light"] .logo small { color:#3a2e20; }
:root[data-theme="light"] .runde b { color:#1e1810; }
.k-phase { flex:1 1 auto; display:flex; align-items:center; gap:4px; font-size:16px; color:var(--text-2); min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.k-phase b { color:var(--text); }
:root[data-theme="light"] .k-phase, :root[data-theme="light"] .k-phase b { color:#1e1810; }
.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, #d99a3a); box-shadow:0 2px 0 #6a4210, inset 0 1px 0 #fff6; white-space:nowrap; }
.knopf.leise { color:var(--text); background:linear-gradient(180deg, rgba(255,255,255,.1), rgba(0,0,0,.18)); border-color:rgba(255,255,255,.22); box-shadow:inset 0 1px 0 rgba(255,255,255,.12); }
:root[data-theme="light"] .knopf.leise { color:#1e1810; background:linear-gradient(180deg, rgba(255,255,255,.55), rgba(0,0,0,.06)); border-color:rgba(60,40,20,.3); }
.knopf:disabled { opacity:.45; cursor:default; }
.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 #6a4210; } }
.spiegel { display:inline-flex; transform:scaleX(-1); }

#feld { position:absolute; left:12px; top:74px; right:412px; bottom:10px; }
#seite { position:absolute; right:12px; top:74px; bottom:10px; width:390px; display:flex; flex-direction:column; gap:10px; }
#seite > .tafel { position:relative; }

#buehne { position:absolute; inset:0; touch-action:none; filter:drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
#brett, #flugsvg { position:absolute; inset:0; width:100%; height:100%; }
#flugsvg { pointer-events:none; }
#brett [data-f], #brett [data-k] { cursor:pointer; }
#brett .kerbe { transition:opacity .2s; }
#brett .kerbe path, #brett .kerbe circle { pointer-events:none; }
#brett .kerbe:not(.aktiv):not(.wahl):not(.rat):not(.gesperrt) { opacity:.55; }
#brett .kerbe.aktiv path { animation:kerbePuls 1.4s ease-in-out infinite alternate; }
#brett .kerbe.wahl path { fill:#ffe9a0; stroke:#fff; stroke-width:2.4; }
#brett .kerbe.rat path { fill:#9fe08e; }
#brett .kerbe.gesperrt { cursor:not-allowed; }
@keyframes kerbePuls { to { filter:brightness(1.35); } }
#brett .erreich { fill:rgba(140,225,255,.2); stroke:rgba(190,240,255,.85); stroke-width:2.5; }
#brett .zielmarke { fill:rgba(255,215,110,.18); stroke:#ffd76e; stroke-width:4; animation:zielPuls 1.1s ease-in-out infinite alternate; }
#brett .ratmarke { fill:rgba(140,230,140,.18); stroke:#8fe08a; stroke-width:4; stroke-dasharray:10 6; }
#brett .linienmarke { fill:none; stroke:#ffd98a; stroke-width:2; stroke-dasharray:6 5; }
#brett .wegmarke { fill:none; stroke:#ffe9a0; stroke-width:7; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:2 12; opacity:.95; }
#brett .rausvor { opacity:.5; }
#brett .fig.dran .lampe { animation:lampe 1.3s ease-in-out infinite alternate; }
#brett .fig:not(.dran) .lampe { opacity:.45; }
@keyframes lampe { from { opacity:.55; } to { opacity:1; } }
@keyframes zielPuls { from { stroke-opacity:.55; } to { stroke-opacity:1; } }
#brett .glitzer { animation:glitzer 3.6s linear infinite; }
@keyframes glitzer { to { stroke-dashoffset:-56; } }
#brett.einlegen .stuecke > g { animation:einlegen .6s ease-out backwards; }
#brett.einlegen .stuecke > g:nth-child(7n+1) { animation-delay:.05s; } #brett.einlegen .stuecke > g:nth-child(7n+2) { animation-delay:.12s; } #brett.einlegen .stuecke > g:nth-child(7n+3) { animation-delay:.19s; }
#brett.einlegen .stuecke > g:nth-child(7n+4) { animation-delay:.26s; } #brett.einlegen .stuecke > g:nth-child(7n+5) { animation-delay:.33s; } #brett.einlegen .stuecke > g:nth-child(7n+6) { animation-delay:.4s; }
@keyframes einlegen { from { opacity:0; } to { opacity:1; } }
@media (prefers-reduced-motion: reduce) { #brett .glitzer, #brett .fig.dran .lampe, #brett .kerbe.aktiv path, #brett .zielmarke { animation:none; } }

#lage { position:absolute; left:50%; transform:translateX(-50%); top:0; width:min(640px, 86%); height:36px; z-index:6; pointer-events:none; display:flex; align-items:center; gap:8px; padding:0 12px; border-radius:18px;
  font-size:15px; color:#f6efe2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; background:linear-gradient(180deg, rgba(40,30,20,.82), rgba(20,14,10,.82)); border:1px solid rgba(214,168,69,.55); }
#lage b { color:#ffd98a; }
#lage span { overflow:hidden; text-overflow:ellipsis; }
#lage .bildnis.bild { width:26px; height:26px; }

#meldungen { position:absolute; left:10px; right:10px; bottom:6px; height:92px; z-index:20; display:flex; flex-direction:column; justify-content:flex-end; gap:4px; overflow:hidden; pointer-events:none; }
.meldung { flex:none; align-self:center; max-width:100%; padding:3px 12px; border-radius:7px; text-align:left; font-size:14px; line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:#f6efe2; background:rgba(26,20,14,.92); border:1px solid rgba(214,168,69,.4); 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:#ffd98a; }
.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; } }

#leiste { display:grid; grid-template-columns:1fr 1fr; gap:6px; flex:none; }
.pl-chip { position:relative; display:grid; grid-template-columns:38px minmax(0, 1fr); align-items:center; gap:7px; height:70px; padding:4px 8px; border-radius:9px; text-align:left; color:#f6efe2; text-shadow:0 1px 2px rgba(0,0,0,.8);
  background:linear-gradient(170deg, rgba(60,46,30,.45), rgba(26,20,14,.5)); border:1px solid rgba(214,168,69,.45); border-left:5px solid var(--sf); box-shadow:0 4px 12px rgba(0,0,0,.35); }
:root[data-theme="light"] .pl-chip { color:#1e1810; text-shadow:0 1px 1px rgba(255,250,240,.9); background:linear-gradient(170deg, rgba(250,242,224,.5), rgba(226,212,184,.5)); border-color:rgba(120,90,40,.4); border-left-color:var(--sf); }
.pl-chip.dran { box-shadow:0 0 0 2px #ffd98a, 0 4px 12px rgba(0,0,0,.35); }
.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; }
.pc-nm small { display:block; font-weight:600; font-size:12.5px; opacity:.85; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pc-funde { display:flex; gap:2px; height:24px; align-items:center; overflow:hidden; }
.pc-funde i { display:inline-flex; }
.pc-funde em { font-size:12.5px; font-weight:500; opacity:.7; }
.pc-funde .fbild { width:22px; height:22px; border-radius:50%; box-shadow:0 0 0 1.5px #d6a845; }

#auftrag { flex:none; height:160px; padding:10px 14px 8px; margin-top:4px; }
.az-kopf { font:800 13px var(--sans); letter-spacing:2px; text-transform:uppercase; color:#5a3a10; display:flex; justify-content:space-between; align-items:baseline; }
.az-kopf small { font:600 13px var(--sans); letter-spacing:0; text-transform:none; color:#4a3a24; }
.az-karte { display:flex; align-items:center; gap:14px; margin-top:8px; }
.az-bild { position:relative; flex:none; width:96px; height:96px; border-radius:50%; padding:2px; background:radial-gradient(circle at 35% 30%, #fff2c0, #c9962a 60%, #6a4a12); box-shadow:0 4px 10px rgba(0,0,0,.4); }
.az-bild .fbild, .az-bild .bildnis { width:92px; height:92px; border-radius:50%; display:block; }
.az-bild.stempel .fbild { filter:grayscale(.35); }
.az-stempel { position:absolute; left:50%; top:50%; transform:translate(-50%, -50%) rotate(-16deg); font:900 16px var(--kopf); letter-spacing:2px; text-transform:uppercase; color:#b4232f; border:3px solid #b4232f; border-radius:6px; padding:1px 6px; background:rgba(251,243,223,.65); animation:stempel .35s ease-out; }
@keyframes stempel { from { transform:translate(-50%, -50%) rotate(-16deg) scale(2.2); opacity:0; } to { transform:translate(-50%, -50%) rotate(-16deg) scale(1); opacity:1; } }
.az-name { font:16px/1.3 var(--kopf); color:var(--tinte); }
.az-name b { font-size:19px; display:block; }
.az-alle { display:flex; flex-wrap:wrap; gap:4px 8px; margin-top:6px; max-height:112px; overflow:auto; }
.az-klein { display:flex; align-items:center; gap:4px; font:600 12.5px var(--sans); color:var(--tinte); }
.az-klein .fbild { width:40px; height:40px; border-radius:50%; box-shadow:0 0 0 2px #c9962a; }
.az-leer { margin-top:30px; text-align:center; font:16px var(--kopf); color:#4a3a24; }

#schleuse { flex:none; height:232px; padding:10px 14px; display:flex; flex-direction:column; gap:6px; }
.sl-kopf { font:800 13px var(--sans); letter-spacing:2px; text-transform:uppercase; color:#ffd98a; }
:root[data-theme="light"] .sl-kopf { color:#5a3a06; }
.sl-kopf small { display:block; font:600 12.5px var(--sans); letter-spacing:0; text-transform:none; color:var(--text-2); opacity:.9; height:17px; overflow:hidden; }
:root[data-theme="light"] .sl-kopf small { color:#2e2214; }
.sl-reihe { display:flex; align-items:center; justify-content:center; gap:14px; height:110px; }
.sl-frei { position:relative; width:110px; height:110px; padding:0; border:0; background:radial-gradient(circle, rgba(0,0,0,.35), transparent 70%); border-radius:12px; cursor:pointer; }
.sl-frei:disabled { cursor:default; }
.sl-bild { display:block; transition:transform .18s; }
.sl-unterwegs { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font:700 13px var(--sans); color:var(--text-2); text-align:center; border:2px dashed rgba(214,168,69,.5); border-radius:10px; }
.sl-dreh { width:48px; height:48px; }
.sl-knoepfe { display:grid; grid-template-columns:1.3fr 1fr .7fr; gap:6px; height:42px; }
.sl-knoepfe .knopf { height:42px; }
.sl-rat { height:34px; font-size:12.5px; line-height:1.3; color:var(--text-2); overflow:hidden; }
:root[data-theme="light"] .sl-rat { color:#2e2214; }
.sl-rat b { color:#ffd98a; } :root[data-theme="light"] .sl-rat b { color:#5a3a06; }
.kb-ic:disabled { opacity:.4; cursor:default; }

#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,.25); }
#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); color:#1e1810; }
.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:rgba(0,0,0,.2); 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(--text-2); background:transparent; border:1px solid transparent; border-radius:6px; padding:5px; }
.ch-tabs button.an { color:var(--text); background:rgba(0,0,0,.25); border-color:var(--linie); }
:root[data-theme="light"] .ch-tabs button { color:#2e2214; } :root[data-theme="light"] .ch-tabs button.an { background:rgba(255,250,236,.6); color:#1e1810; }
#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,.22); border-radius:0 5px 5px 0; color:var(--text-2); }
:root[data-theme="light"] .ch-z { background:rgba(255,250,240,.65); color:#2e2214; }
.ch-z b { color:var(--text); } :root[data-theme="light"] .ch-z b { color:#1e1810; }
.ch-z.gut { color:#c8f3e2; } .ch-z.schlecht { color:#ffcabd; } .ch-z.leise { opacity:.85; }
: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; }
:root[data-theme="light"] .ch-z.abschnitt { color:#3a2e20; }
.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; will-change:transform; }
.fund-flug .fbild { width:48px; height:48px; border-radius:50%; box-shadow:0 0 0 3px #d6a845, 0 6px 14px rgba(0,0,0,.6); }
.frei-flug svg { display:block; filter:drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
.blitz { position:absolute; z-index:62; width:160px; height:160px; margin:-80px 0 0 -80px; border-radius:50%; pointer-events:none; background:radial-gradient(circle, #fffbe0 0%, rgba(255,240,180,.7) 30%, transparent 70%); animation:blitz .9s ease-out forwards; }
@keyframes blitz { from { opacity:1; transform:scale(.4); } to { opacity:0; transform:scale(2.2); } }
#ansicht-menu { right:12px; top:72px; padding:12px 14px; z-index:40; width:340px; 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; opacity:.85; }
#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; font-weight:800; margin-top:4px; color:#ffd98a; }
:root[data-theme="light"] #ansicht-menu .am-t { color:#5a3a06; }
.am-reihe { display:flex; gap:6px; flex-wrap:wrap; }
#hinweis { position:absolute; left:calc((100% - 402px) / 2); top:130px; transform:translateX(-50%); z-index:70; max-width:640px; padding:9px 18px; border-radius:9px; background:rgba(120,30,20,.95); border:1px solid #ffb8a3; color:#fff6ee; font-size:15px; text-align:center; pointer-events:none; box-shadow:0 8px 20px rgba(0,0,0,.5); }
#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 3s 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; }
.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; }
.fbild { object-fit:cover; }
.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; }
.sz-karte .bildnis.bild { width:44px; height:44px; }
.sz-karte .fbild { width:60px; height:60px; border-radius:50%; box-shadow:0 0 0 2px #d6a845; }

@media (pointer: coarse) {
  .knopf { min-height:42px; }
  .ch-tabs button { min-height:40px; }
  #stage:not(.hoch) .kb-ic { width:52px; height:52px; }
  #stage:not(.hoch) .sl-knoepfe, #stage:not(.hoch) .sl-knoepfe .knopf { height:52px; }
  #stage:not(.hoch) #schleuse { height:244px; }
  #stage:not(.hoch) .sl-reihe { height:100px; }
  #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:58px; padding:0 12px; gap:6px; font:800 15px var(--sans); white-space:nowrap; }
#stage.hoch #kopf { left:8px; right:8px; height:122px; 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:62px; height:58px; }
#stage.hoch .k-phase { flex:1 1 auto; font-size:17px; }
#stage.hoch .runde { font-size:15px; } #stage.hoch .runde b { font-size:22px; }
#stage.hoch .uhr { font-size:24px; }
#stage.hoch #feld { left:0; right:0; top:136px; bottom:auto; height:var(--bw, 540px); }
#stage.hoch #seite { left:8px; right:8px; width:auto; top:calc(140px + var(--bw, 540px)); bottom:8px; gap:8px; display:grid; grid-template-columns:minmax(0, 37fr) minmax(0, 63fr); grid-template-rows:auto 1fr; }
#stage.hoch #leiste { grid-column:1 / -1; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:5px; }
#stage.hoch .pl-chip { height:88px; grid-template-columns:minmax(0, 1fr); grid-template-rows:auto auto; padding:4px 7px; gap:0; align-content:center; }
#stage.hoch .pl-chip > .bildnis { display:none; }
#stage.hoch .pc-nm { font-size:15px; } #stage.hoch .pc-nm small { font-size:15px; white-space:normal; line-height:1.15; max-height:36px; }
#stage.hoch .pc-du { display:none; }
#stage.hoch .pc-funde em { display:none; }
#stage.hoch #auftrag { height:auto; margin-top:6px; }
#stage.hoch .az-kopf, #stage.hoch .az-kopf small { font-size:15px; }
#stage.hoch .az-karte { flex-direction:column; gap:6px; }
#stage.hoch .az-name { font-size:16px; text-align:center; }
#stage.hoch .az-klein { font-size:15px; }
#stage.hoch #schleuse { height:auto; }
#stage.hoch .sl-kopf { font-size:15px; } #stage.hoch .sl-kopf small { font-size:15px; height:auto; max-height:40px; }
#stage.hoch .sl-reihe { gap:14px; height:auto; }
#stage.hoch .sl-dreh { width:62px; height:66px; }
#stage.hoch .sl-knoepfe { grid-template-columns:1fr 1fr; height:auto; }
#stage.hoch .sl-knoepfe .knopf { height:62px; font-size:16px; }
#stage.hoch .sl-knoepfe .knopf:last-child { grid-column:1 / -1; }
#stage.hoch .sl-rat { height:auto; max-height:80px; font-size:15px; }
#stage.hoch #lage { top:-72px; left:84px; right:146px; width:auto; transform:none; height:60px; font-size:15px; white-space:normal; line-height:1.2; border-radius:10px; padding:0 8px; }
#stage.hoch .k-phase { display:none; }
#stage.hoch #lage .bildnis.bild { width:38px; height:38px; }
#stage.hoch #meldungen { top:calc(100% + 2px); bottom:auto; height:90px; justify-content:flex-start; }
#stage.hoch .meldung { font-size:15px; white-space:normal; }
#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 #pchat { position:absolute; left:8px; right:8px; top:136px; height:var(--bw, 540px); 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 #ansicht-menu { top:136px; left:8px; right:8px; width:auto; font-size:15px; }
#stage.hoch #ansicht-menu label, #stage.hoch #ansicht-menu label small { font-size:15px; }
#stage.hoch #ansicht-menu .knopf { min-height:62px; font-size:15px; }
#stage.hoch #ansicht-menu input { width:28px; height:28px; }
#seite .kb-ic > *, #schleuse button > * { pointer-events:none; }

.nur-hoch { display:none; }
#stage.hoch .nur-hoch { display:inline; } #stage.hoch .sl-knoepfe .nur-quer { display:none; }
#stage.hoch #k-verlauf { margin-left:auto; }
#stage.hoch #feld > .sz-karte { top:auto; bottom:8px; }
#stage.hoch .az-kopf { flex-direction:column; align-items:flex-start; gap:2px; }

#brett .spurmarke { fill:none; stroke-width:5; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1 10; opacity:.75; }
.sl-frei.ziel { box-shadow:0 0 0 3px #ffd76e, 0 0 18px rgba(255,215,110,.7); animation:zielGlanz 1.2s ease-in-out infinite alternate; }
@keyframes zielGlanz { to { box-shadow:0 0 0 3px #ffd76e, 0 0 6px rgba(255,215,110,.35); } }
@media (prefers-reduced-motion: reduce) { .sl-frei.ziel { animation:none; } }
.sl-kopf small b { color:#ffd76e; } :root[data-theme="light"] .sl-kopf small b { color:#7a4a06; }
.en-funde { display:flex; gap:3px; margin-top:3px; flex-wrap:wrap; }
.en-funde .fbild { width:26px; height:26px; border-radius:50%; box-shadow:0 0 0 1.5px #d6a845; }
#lern { position:absolute !important; left:0; right:0; bottom:0; height:138px; z-index:25; padding:8px 12px; font-size:13.5px; line-height:1.3; transform:rotate(.4deg); }
#lern .ln-kopf { position:absolute; right:12px; top:9px; font:800 12.5px var(--sans); color:#7a4a06; text-transform:uppercase; letter-spacing:.06em; } #lern .ln-kopf b { display:none; }
#lern .ln-t { font:800 17px/1.2 var(--kopf); margin:0 60px 3px 0; color:var(--tinte); }
#lern .ln-x { color:var(--tinte); height:52px; overflow:hidden; }
#lern .ln-knoepfe { display:flex; justify-content:flex-end; gap:8px; margin-top:4px; } #lern .knopf { height:34px; padding:4px 12px; }
#lern .knopf.leise { color:#2e2214; background:rgba(255,255,255,.4); border-color:rgba(60,40,20,.35); }
#stage.hoch #lern { top:0; bottom:auto; height:178px; font-size:15px; } #stage.hoch #lern .ln-t { font-size:18px; } #stage.hoch #lern .knopf { height:auto; }
#stage.hoch #lern .ln-kopf { font-size:15px; } #stage.hoch #lern .ln-x { height:78px; }
#stage.hoch #lern .knopf { min-height:56px; padding:6px 16px; font-size:16px; }
