@font-face{font-family:'SGZ Ziffern';src:local('Times New Roman'),local('TimesNewRomanPSMT'),local('Liberation Serif'),local('LiberationSerif'),local('Tinos'),local('Noto Serif'),local('NotoSerif-Regular');font-weight:100 600;unicode-range:U+0030-0039}
@font-face{font-family:'SGZ Ziffern';src:local('Times New Roman Bold'),local('TimesNewRomanPS-BoldMT'),local('Liberation Serif Bold'),local('LiberationSerif-Bold'),local('Tinos Bold'),local('Noto Serif Bold'),local('NotoSerif-Bold');font-weight:700 900;unicode-range:U+0030-0039}
:root {
  --bg:#1a140c; --panel:rgba(34,24,14,.92); --panel2:rgba(52,38,24,.96); --panel-solid:#2e2214;
  --akz:#e0a94a; --akz-hell:#ffd77a; --akz2:#9a6a14; --linie:rgba(224,169,74,.34);
  --text:#f6efe2; --text-2:#e2d6bc; --text-3:#c2b392; --dim:#cdb88a;
  --gold:#ffd36b; --rot:#ff8a72; --gruen:#a6d97a; --blau:#8cc4f4;
  --ov-a:#3e2c1a; --ov-b:#1e150c; --scrim:rgba(8,8,6,.66);
  --kopf:'SGZ Ziffern', Georgia, 'Times New Roman', serif;
  --sans:'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --s1:#c8372a; --s2:#2f6fb8; --s3:#3b8a36; --s4:#c99224; --s1d:#6a1810; --s2d:#163a66; --s3d:#1c4a1a; --s4d:#6a4a0c; --neutral:#e6dcc0;
  --holz-a:#7a5030; --holz-b:#4e3018; --holz-kante:#2e1c0c; --holz-text:#f8ecd2;
  --wasser-a:#5f9fb8; --wasser-b:#3d7a93; --ufer:#d8c48c; --rasterlinie:rgba(40,60,20,.16); --geb-o:.22;
  --kul-q:url(img/kulisse-sommer.webp); --kul-h:url(img/kulisse-sommer-hoch.webp); --kul-dunkel:rgba(10,16,8,.12);
}
:root[data-ansicht="abend"] {
  --bg:#140c10; --panel:rgba(30,18,16,.93); --panel2:rgba(46,28,24,.96); --panel-solid:#28161a;
  --akz:#f0a24a; --akz-hell:#ffc77a; --linie:rgba(240,162,74,.36);
  --holz-a:#5e3a24; --holz-b:#331e10; --holz-kante:#1c0e06;
  --wasser-a:#4a6a88; --wasser-b:#2a4060; --ufer:#b89a64; --rasterlinie:rgba(20,10,30,.2); --geb-o:.26;
  --kul-q:url(img/kulisse-abend.webp); --kul-h:url(img/kulisse-abend-hoch.webp); --kul-dunkel:rgba(20,8,16,.2);
}
:root[data-ansicht="hell"] {
  --bg:#efe4cc; --panel:rgba(250,244,228,.95); --panel2:rgba(240,230,208,.97); --panel-solid:#f3eadb;
  --akz:#8a5a08; --akz-hell:#6e4400; --akz2:#c0943a; --linie:rgba(110,80,20,.34);
  --text:#22190e; --text-2:#3e3220; --text-3:#5a4a30; --dim:#665434;
  --gold:#7a4e00; --rot:#b4232f; --gruen:#2f7a2a; --blau:#1a5fb4;
  --ov-a:#f8f0de; --ov-b:#e8dcbc; --scrim:rgba(60,40,10,.42);
  --s1:#b8301f; --s2:#22609e; --s3:#2f7a2a; --s4:#b07a10;
  --holz-a:#d8b884; --holz-b:#b89058; --holz-kante:#7a5a2a; --holz-text:#2a1c0c;
  --wasser-a:#8fbccd; --wasser-b:#6a9cb2; --ufer:#e2d0a0; --rasterlinie:rgba(90,60,20,.16); --geb-o:.2;
  --kul-q:url(img/kulisse-hell.webp); --kul-h:url(img/kulisse-hell-hoch.webp); --kul-dunkel:rgba(255,248,230,.1);
}
#kulisse { position:absolute; inset:0; background:linear-gradient(var(--kul-dunkel), var(--kul-dunkel)), var(--kul-q) center/cover no-repeat, radial-gradient(ellipse at 40% 40%, #a8c07a 0%, #4a6a34 85%); }
#kulisse::before { content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(ellipse at 88% 70%, rgba(255,255,255,.08), transparent 40%); animation:flimmern 7s ease-in-out infinite alternate; }
@keyframes flimmern { to { opacity:.35; } }
#stage.hoch #kulisse { background:linear-gradient(var(--kul-dunkel), var(--kul-dunkel)), var(--kul-h) center/cover no-repeat, radial-gradient(ellipse at 40% 40%, #a8c07a 0%, #4a6a34 85%); }
#stage.lobbyhg #kulisse { filter:blur(3px) brightness(.62) saturate(.9); }
:root[data-ansicht="hell"] #stage.lobbyhg #kulisse { filter:blur(3px) brightness(1.04) saturate(.75); }
@media (prefers-reduced-motion: reduce) { #kulisse::before, #l-ring, .welle, .schilf, .glitzer, .glitzer2, .glitzer-g, .sch-sym svg, #k-uhr.dreht svg { animation:none !important; } }
:where(html, html *) { scrollbar-width:thin; scrollbar-color:var(--akz, #f2c94c) var(--panel2, rgba(20,58,52,.95)); }
:where(html) ::-webkit-scrollbar { width:9px; height:9px; }
:where(html) ::-webkit-scrollbar-track { background:var(--panel2, rgba(20,58,52,.95)); border-radius:5px; }
:where(html) ::-webkit-scrollbar-thumb { background:var(--akz, #f2c94c); border-radius:5px; border:2px solid transparent; background-clip:padding-box; }
* { box-sizing:border-box; }
html, body { margin:0; height:100%; background:#06080b; 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, #26303c 0%, #06080b 80%); }
:root[data-theme="light"] #wrap { background:radial-gradient(ellipse at center, #eadcbc 0%, #b8a070 85%); }
#stage { position:relative; width:1280px; height:800px; flex:none; transform-origin:center center; overflow:clip; background:var(--bg); -webkit-touch-callout:none; }
[hidden] { display:none !important; }
button { font-family:var(--sans); cursor:pointer; }
input, select { font-family:var(--sans); font-size:16px; }
.sgzi { width:18px; height:18px; flex:none; display:inline-block; vertical-align:-3px; }

.kb { display:inline-flex; align-items:center; justify-content:center; gap:7px; background:linear-gradient(180deg, #2c3a4e, #182230); 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,235,200,.12), 0 2px 8px rgba(0,0,0,.4); }
:root[data-theme="light"] .kb { background:linear-gradient(180deg, #f1f6ea, #d4e2c8); box-shadow:inset 0 1px 0 #fff8, 0 2px 6px rgba(30,60,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(#ffe08a, #d9a81f) !important; color:#2b2405 !important; border-color:#fff0bd; box-shadow:0 2px 0 #6a5006, 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,255,240,.6); }
.kb-ic .sgzi { width:20px; height:20px; }
.kb-ic.an { background:rgba(242,201,76,.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; }
.knopf { display:inline-flex; align-items:center; gap:6px; font-weight:800; letter-spacing:.3px; font-size:15px; color:#2b2405; cursor:pointer; padding:9px 15px; border-radius:8px;
  border:1px solid #fff0bd; background:linear-gradient(#ffe08a, #d9a81f); box-shadow:0 2px 0 #6a5006, inset 0 1px 0 #fff6; white-space:nowrap; }
.knopf.leise { color:var(--text); background:var(--panel2); border-color:var(--linie); box-shadow:none; }
.knopf.klein { padding:5px 10px; font-size:13.5px; }
.knopf .sgzi { width:16px; height:16px; }

#lobby, #tisch { position:absolute; inset:0; z-index:3; display:flex; flex-direction:column; background:linear-gradient(180deg, rgba(8,10,14,.3), rgba(6,8,12,.55)); }
:root[data-theme="light"] #lobby, :root[data-theme="light"] #tisch { background:linear-gradient(180deg, rgba(240,248,230,.25), rgba(210,228,200,.45)); }
.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(242,201,76,.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(242,201,76,.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,255,240,.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,255,240,.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(242,201,76,.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(242,201,76,.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:11.5px; 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:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; margin-bottom:8px; }
.lo-stat > :not(.st-k) { grid-column:1 / -1; }
.st-k { min-width:0; background:rgba(0,0,0,.2); border:1px solid rgba(242,201,76,.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 { display:block; color:var(--text-3); font-size:12px; line-height:1.25; }
.st-schwer { flex:1 1 100%; padding:8px 12px; border-radius:10px; font-size:14px; line-height:1.5; color:var(--text-2); background:rgba(0,0,0,.2); border:1px solid var(--linie); border-left:4px solid var(--rot); }
:root[data-theme="light"] .st-schwer { background:rgba(255,255,240,.6); }
.st-schwer b { color:var(--text); } .st-schwer small { color:var(--text-3); } .st-schwer .kb { margin-left:6px; }
.st-erf { flex:1 1 100%; display:flex; flex-wrap:wrap; gap:6px; }
.st-erf span { display:inline-flex; align-items:center; gap:5px; padding:4px 10px; border-radius:14px; font-size:13px; color:var(--text-3); background:rgba(0,0,0,.18); border:1px solid var(--linie); }
.st-erf span.an { color:var(--text); border-color:var(--akz-hell); }
.st-erf span.an .sgzi { color:var(--akz-hell); }
.st-erf small { font-size:11px; color:var(--text-3); }
.rl-serie .sgzi { color:var(--akz-hell); }
.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,255,240,.65); }
:root[data-theme="light"] .lw-reiterleiste > button { background:rgba(250,244,226,.9); color:#3e3220; }
:root[data-theme="light"] .lw-reiterleiste > button.an { background:rgba(242,214,130,.92); color:#4a3200; }
.ti-wahl button.an { background:rgba(242,201,76,.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(242,201,76,.1)); border:1px solid var(--gruen); }
.lo-streifen.warten { background:linear-gradient(90deg, rgba(242,201,76,.2), rgba(134,192,240,.12)); border-color:var(--akz-hell); }
.lo-streifen, .lo-streifen.warten { background-color:var(--panel-solid); }
.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(242,201,76,.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(#ffe08a, #d9a81f); }
.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(242,201,76,.24); border-color:var(--akz-hell); color:var(--akz-hell); font-weight:800; }
.lw-ausgabe { display:grid; grid-template-columns:1fr 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(40,70,110,.35), rgba(8,10,14,.6)); border:1px solid var(--linie); font-size:11.5px; line-height:1.3; }
:root[data-theme="light"] .lw-ausgabe button { background:linear-gradient(160deg, rgba(120,189,78,.25), rgba(255,255,240,.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(242,201,76,.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,255,240,.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 11px/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(242,201,76,.08); border:1px solid rgba(242,201,76,.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(40,70,110,.25), rgba(8,10,14,.3)); border:1px solid rgba(242,201,76,.25); }
:root[data-theme="light"] .lw-anleitung { background:rgba(120,189,78,.14); }
.lw-an-titel { font-size:11.5px; 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)); }

#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,240,210,.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(30,60,40,.22); }
.pt { font-size:11px; letter-spacing:3px; color:var(--dim); margin:2px 4px 6px; text-transform:uppercase; font-weight:800; display:flex; align-items:center; justify-content:space-between; gap:6px; }
.pt-r { letter-spacing:0; text-transform:none; font-size:12px; color:var(--text-2); }
#kopf { left:12px; right:12px; top:10px; height:56px; display:flex; align-items:center; gap:14px; padding:0 12px 0 14px; 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:11px; letter-spacing:2px; color:var(--dim); margin-top:3px; }
.trenner { width:1px; align-self:stretch; margin:10px 0; background:var(--linie); }
.runde { font-size:11px; letter-spacing:2px; color:var(--dim); white-space:nowrap; text-transform:uppercase; font-weight:700; }
.runde b { display:block; font-family:var(--kopf); font-size:19px; letter-spacing:0; color:var(--text); }
.k-phase { display:flex; align-items:center; gap:8px; font-size:15px; color:var(--text-2); min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.k-phase b { color:var(--text); }
.h-dot { display:inline-block; width:12px; height:12px; border-radius:50%; box-shadow:0 0 0 1px #0008; }
.rechts { margin-left:auto; display:flex; align-items:center; gap:8px; }
.uhr { display:inline-flex; align-items:center; gap:6px; font-family:var(--kopf); font-weight:700; font-size:20px; line-height:1; padding:6px 12px 6px 9px; border-radius:18px;
  background:var(--uf, var(--gold)); color:var(--ut, #1a1206); border:1px solid rgba(0,0,0,.35); box-shadow:inset 0 1px 0 rgba(255,255,255,.35), 0 2px 6px rgba(0,0,0,.35); white-space:nowrap; }
.uhr .sgzi { width:18px; height:18px; }
.uhr.knapp { box-shadow:0 0 0 3px var(--rot), 0 2px 6px rgba(0,0,0,.35); animation:puls .8s infinite alternate; }
@keyframes puls { to { opacity:.55; } }
.knopf { display:inline-flex; align-items:center; gap:6px; font-weight:800; letter-spacing:.3px; font-size:15px; color:#2b2405; cursor:pointer; padding:9px 15px; border-radius:8px;
  border:1px solid #fff0bd; background:linear-gradient(#ffe08a, #d9a81f); box-shadow:0 2px 0 #6a5006, 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:.5; cursor:default; animation:none; }
.knopf.rot { color:#fff4ee; background:linear-gradient(#e06a52, #a8301e); border-color:#ffc0b0; box-shadow:0 2px 0 #5a1608, inset 0 1px 0 #fff4; }
.knopf.klein { padding:5px 10px; font-size:13.5px; }
.knopf .sgzi { width:16px; height:16px; }
.knopf.lockt { animation:lockt 1s ease-in-out infinite alternate; }
@keyframes lockt { to { box-shadow:0 0 0 4px rgba(255,224,138,.5), 0 2px 0 #6a5006; } }
.warn { color:var(--rot); font-weight:800; }


.st-k { display:flex; flex-direction:column; align-items:flex-start; text-align:left; gap:3px; min-width:0; padding:8px 12px 9px; border-radius:10px; background:rgba(0,0,0,.2); border:1px solid var(--linie); border-left:4px solid var(--linie); }
:root[data-theme="light"] .st-k { background:rgba(255,255,240,.6); }
.st-k small { font-size:11px; letter-spacing:2px; text-transform:uppercase; font-weight:800; color:var(--dim); }
.st-k b { display:flex; align-items:center; gap:6px; font-size:18px; line-height:1.15; color:var(--text); }
.st-k b .sgzi { width:18px; height:18px; }
.klau-show { animation:klauDreh 1.3s ease-in-out forwards; z-index:2; }
@keyframes klauDreh { 0% { transform:scale(1) rotate(0); } 35% { transform:scale(1.2) rotate(220deg); } 65% { transform:scale(1.12) rotate(360deg); } 80% { transform:scale(1.22) rotate(370deg); } 100% { transform:scale(1) rotate(360deg); } }


#pchat { flex:1; min-height:110px; padding:6px 8px 8px; display:flex; flex-direction:column; }
#pchatwin { font-size:12.5px; padding:5px 7px; }
#pchatin { margin-top:6px; padding:6px 9px; }
.pc-knoepfe { display:flex; gap:5px; margin-top:5px; }
.pc-knoepfe button { flex:1; display:flex; align-items:center; justify-content:center; gap:5px; font-size:12.5px; padding:4px; color:var(--text); background:var(--panel2); border:1px solid var(--linie); border-radius:6px; }
.pc-knoepfe .sgzi { width:15px; height:15px; }
.ch-tabs { display:flex; gap:4px; margin-bottom:6px; }
.ch-tabs button { flex:1; font-size:12px; font-weight:800; letter-spacing:1px; text-transform:uppercase; color:var(--dim); background:transparent; border:1px solid transparent; border-radius:6px; padding:5px; }
.ch-tabs button.an { color:var(--text); background:var(--panel2); border-color:var(--linie); }
#ch-neu { color:var(--rot); }
.ch-liste { flex:1; min-height:0; overflow-y:auto; overflow-x:hidden; font-size:12px; line-height:1.35; display:flex; flex-direction:column; gap:3px; user-select:text; }
.ch-z { padding:3px 7px; border-left:3px solid var(--rf, var(--akz)); background:rgba(0,0,0,.18); border-radius:0 5px 5px 0; color:var(--text-2); }
:root[data-theme="light"] .ch-z { background:rgba(255,255,240,.55); }
.ch-z b { color:var(--text); }
.ch-z.gut { color:#d6f0b8; }
.ch-z.schlecht { color:#ffc8b8; }
:root[data-theme="light"] .ch-z.gut { color:#2f6a1c; }
:root[data-theme="light"] .ch-z.schlecht { color:#9c2a1a; }
.ch-z.runde { border-left-color:transparent; background:transparent; color:var(--dim); font-size:11.5px; letter-spacing:1.5px; text-transform:uppercase; font-weight:800; padding-top:6px; white-space:normal; }
.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; display:flex; align-items:center; justify-content:center; transform-origin:center; will-change:transform; }
.funken { position:absolute; width:0; height:0; }
.funken i { position:absolute; left:-4px; top:-4px; width:8px; height:8px; border-radius:50%; background:#ffe08a; animation:funke .8s ease-out forwards; transform:rotate(var(--a)) translateX(10px); }
@keyframes funke { to { transform:rotate(var(--a)) translateX(46px) scale(.3); opacity:0; } }

#ansicht-menu { right:12px; top:72px; padding:10px 12px; z-index:40; width:300px; max-width:calc(100% - 24px); display:flex; flex-direction:column; gap:6px; overflow:clip; }
#ansicht-menu .am-zu { position:absolute; right:6px; top:6px; width:34px; height:34px; display:flex; align-items:center; justify-content:center; padding:0; border-radius:8px; color:var(--text); background:rgba(0,0,0,.2); border:1px solid var(--linie); }
#ansicht-menu .am-zu .sgzi { width:16px; height:16px; }
@media (pointer: coarse) { #ansicht-menu .am-zu { width:44px; height:44px; } }
#ansicht-menu label { display:flex; align-items:flex-start; gap:9px; font-size:14px; cursor:pointer; padding:3px 0; }
#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:11px; letter-spacing:2.5px; text-transform:uppercase; color:var(--dim); font-weight:800; margin-top:4px; }
.am-reihe { display:flex; flex-direction:column; gap:5px; margin-right:0; }
.am-reihe .knopf { justify-content:center; }
.meldung { padding:9px 18px; border-radius:9px; background:rgba(110,36,20,.95); border:1px solid #ffb8a3; color:#fff; font-size:15px; font-weight:700; text-align:center; box-shadow:0 6px 18px rgba(0,0,0,.45);
  max-height:120px; overflow:hidden; animation:meldungRein .45s ease-out; transition:opacity .6s, max-height .6s, padding .6s, margin .6s, border-width .6s; }
.meldung.neutral { background:var(--panel-solid); border-color:var(--akz-hell); color:var(--text); }
.meldung.weg { opacity:0; max-height:0; padding-top:0; padding-bottom:0; margin-top:-6px; border-width:0; }
@keyframes meldungRein { from { opacity:0; max-height:0; padding-top:0; padding-bottom:0; transform:translateY(-10px); } to { opacity:1; max-height:120px; transform:none; } }
.pl-farbe { display:block; width:10px; height:28px; border-radius:4px; flex:none; box-shadow:0 0 0 1px #0006; }
.banner.an { transform:translate(-50%, -50%) scale(1); opacity:1; }
.bn-titel { font-family:var(--kopf); font-weight:900; font-size:42px; letter-spacing:4px; color:var(--akz-hell); text-shadow:0 3px 0 rgba(0,0,0,.6); }
:root[data-theme="light"] .bn-titel { text-shadow:none; }
.bn-unter { margin-top:6px; font-size:15px; font-weight:800; letter-spacing:1.5px; color:var(--text); text-transform:uppercase; }
.banner.gold { background:linear-gradient(180deg, #fbe7a6, #c99a2e); border-color:#fff3cf; }
.banner.gold .bn-titel { color:#2a1d04; text-shadow:none; } .banner.gold .bn-unter { color:#3a2a08; }
.banner.klein { top:22%; min-width:0; padding:10px 24px 9px; }
.banner.klein .bn-titel { font-size:26px; letter-spacing:2px; }
#stage .banner.schild { min-width:0; width:auto; max-width:min(86%, 540px); padding:9px 22px 8px; border-radius:10px; border:2px solid #3a2412;
  background:linear-gradient(180deg, #c99a62 0%, #a8723e 55%, #8a5c30 100%); box-shadow:inset 0 2px 0 rgba(255,236,200,.45), inset 0 -3px 0 rgba(60,30,10,.35), 0 10px 24px rgba(0,0,0,.5); transition:none; }
.banner.schild .bn-titel { color:#2a1406; text-shadow:0 1px 0 rgba(255,236,200,.55); display:flex; align-items:center; justify-content:center; gap:10px; }
.banner.schild .bn-unter { color:#2a1808; text-shadow:none; font-size:14.5px; }
.sch-seil { position:absolute; top:-26px; width:3px; height:28px; background:linear-gradient(180deg, rgba(90,60,30,0), #5a3c1e 40%); }
.sch-seil.l { left:22%; } .sch-seil.r { right:22%; }
.sch-sym { display:inline-flex; width:26px; height:26px; }
.sch-sym svg { width:100%; height:100%; }
.sch-sym.haemmer svg { transform-origin:80% 80%; animation:hammer .3s ease-in 2 .12s; }
.sch-sym.ziel svg { animation:zielPuls .35s ease-in-out 2 alternate .1s; }
@keyframes hammer { 0% { transform:rotate(0); } 55% { transform:rotate(-38deg); } 80% { transform:rotate(8deg); } 100% { transform:rotate(0); } }
@keyframes zielPuls { to { transform:scale(1.25); } }
.konfetti { position:absolute; top:-24px; width:16px; height:12px; border-radius:50% 50% 50% 0; z-index:76; pointer-events:none; box-shadow:inset -2px -2px 0 rgba(0,0,0,.15); animation:fallen 3s ease-in forwards; }
@keyframes fallen { to { transform:translateY(860px) rotate(540deg); opacity:.2; } }

.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; }
#popup.am-rand { background:transparent; display:block; }
#popup.am-rand .ov-box { position:absolute; max-width:none; max-height:none; padding:14px 16px 16px; box-sizing:border-box; box-shadow:0 10px 30px rgba(0,0,0,.65); }
#popup.am-rand .ov-titel { font-size:22px; padding-right:40px; }
#popup.am-rand .ov-knoepfe { margin-top:12px; }
.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:44px 30px minmax(0, 1fr) 70px 56px 66px 90px 70px; align-items:center; gap:10px; padding:8px 14px; background:rgba(0,0,0,.2); border:1px solid var(--linie); border-radius:10px; font-size:15px; }
:root[data-theme="light"] .en-platz { background:rgba(255,255,240,.55); }
.en-platz.kopf { background:transparent; border-color:transparent; padding-top:0; padding-bottom:0; font-size:11.5px; 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;font-kerning:none; }
.en-platz .w b { font-family:var(--kopf); font-size:18px; color:var(--text); }
.en-platz .pk b { color:var(--gold); }
.en-einladung { margin:10px 0 0; padding:8px 12px; border-radius:10px; text-align:center; font-size:15px; background:rgba(154,214,111,.14); border:1px solid var(--gruen); color:var(--text); }
.hilfe-text { font-size:15px; line-height:1.55; color:var(--text); max-height:600px; overflow:auto; user-select:text; }
.hilfe-text h1, .hilfe-text h2, .hilfe-text h3 { font-family:var(--kopf); color:var(--akz-hell); margin:14px 0 6px; }
.hilfe-text h1 { margin-top:0; }
.hilfe-text table { border-collapse:collapse; font-size:14px; } .hilfe-text td, .hilfe-text th { border-bottom:1px solid var(--linie); padding:3px 8px; text-align:left; }
#note { position:absolute; left:50%; top:10px; transform:translateX(-50%); background:rgba(150,40,20,.95); color:#fff; padding:8px 16px; border-radius:8px; z-index:99; }
.en-platz { grid-template-columns:44px 14px minmax(0, 1fr) 64px 64px 66px 84px 96px; }
.en-platz .pk small { display:block; font-size:11.5px; font-weight:600; color:var(--dim); white-space:nowrap; font-family:var(--sans); }
.konfetti { border-radius:2px; width:10px; height:14px; }

#stage.hoch .lo-haupt { grid-template-columns:minmax(0, 1fr); grid-template-rows:auto minmax(0, 1fr); }
#stage.hoch .lo-rechts { grid-template-rows:minmax(0, 1fr) 200px; }
#stage.hoch .lo-streifen { margin:10px 16px 0; }
#stage.hoch .lo-raum { display:none; }
#stage.hoch .ti-mitte { flex-wrap:wrap; }
#stage.hoch .ti-plaetze { flex:1 1 100%; max-height:300px; }
#stage.hoch .ti-chat { flex:1 1 100%; min-height:220px; }
#stage.hoch .en-platz { grid-template-columns:36px 12px minmax(0, 1fr) 60px 66px 100px; }
#stage.hoch .en-platz .nur-quer { display:none; }
#stage.hoch .en-platz .pk small { font-size:13px; }

@media (pointer: coarse) {
  .wz-korb { min-height:44px; padding:6px 10px; }
  .kb-ic { width:50px; height:44px; }
  .lw-wahl:not(.lw-ausgabe) button, .ti-wahl button { min-height:44px; min-width:44px; padding:8px 13px; font-size:15px; }
  .lo-seg button, .lo-tabs button { min-height:44px; }
  #chatin, #tchatin, #pchatin { min-height:44px; }
  .kb { min-height:44px; }
  .knopf { min-height:42px; }
  .pc-knoepfe button { min-height:40px; }
  .ch-tabs 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); }
  .lw-wuerfel { width:44px; }
}

.banner { position:absolute; left:50%; top:40%; transform:translate(-50%, -50%) scale(.85); opacity:0; transition:transform .35s, opacity .35s; z-index:75; min-width:520px; max-width:86%; text-align:center; padding:16px 34px 14px; border-radius:14px; background:linear-gradient(180deg, var(--ov-a), var(--ov-b)); border:2px solid var(--akz); box-shadow:0 14px 40px rgba(0,0,0,.6); pointer-events:none; }
#hinweise { position:absolute; left:50%; top:160px; transform:translateX(-50%); z-index:70; display:flex; flex-direction:column; gap:6px; align-items:center; pointer-events:none; width:min(640px, 90%); }

#stage { overflow:clip; }
#partie { position:absolute; inset:0; z-index:2; }
.holz { position:absolute; color:var(--holz-text); border:2px solid var(--holz-kante); border-radius:10px;
  background:repeating-linear-gradient(92deg, rgba(0,0,0,.06) 0 3px, transparent 3px 11px, rgba(255,230,190,.05) 11px 13px, transparent 13px 23px), linear-gradient(180deg, var(--holz-a), var(--holz-b));
  box-shadow:inset 0 1px 0 rgba(255,230,190,.25), inset 0 -2px 0 rgba(0,0,0,.25), 0 8px 20px rgba(0,0,0,.45); text-shadow:0 1px 2px rgba(0,0,0,.7); }
.holz { background-color:var(--holz-b); }
:root[data-ansicht="hell"] .holz { text-shadow:0 1px 0 rgba(255,250,236,.6); box-shadow:inset 0 1px 0 rgba(255,250,236,.6), 0 6px 16px rgba(60,40,10,.25); }
.holz .pt { color:var(--holz-text); opacity:.9; margin:0 0 6px; }
.holz .pt-r { color:var(--holz-text); }
#kopf.holz { display:flex; align-items:center; gap:14px; padding:0 10px 0 14px; z-index:5; }
#kopf .logo { color:#ffd77a; }
:root[data-ansicht="hell"] #kopf .logo { color:#6e3a08; text-shadow:none; }
#kopf .logo small, #kopf .runde { color:var(--holz-text); opacity:.9; }
#kopf .runde b { color:var(--holz-text); font-variant-numeric:tabular-nums; font-kerning:none; }
#kopf .trenner { background:rgba(255,230,190,.25); }
.k-phase { color:var(--holz-text); flex:1; }
.k-phase b { color:#ffe2a0; }
:root[data-ansicht="hell"] .k-phase b { color:#6e3a08; }
.k-salven { display:flex; gap:5px; }
.k-salven i { width:14px; height:14px; border-radius:50%; background:radial-gradient(circle at 35% 30%, #d6f0a0, #6a9a3a 60%, #2f5a1a); box-shadow:0 1px 2px rgba(0,0,0,.6); }
.k-salven i.weg { opacity:.3; filter:grayscale(1); }
.k-salven i.an { box-shadow:0 0 0 2px #ffe08a, 0 1px 2px rgba(0,0,0,.6); }
#kopf .kb-ic { background:rgba(0,0,0,.25); color:var(--holz-text); border-color:rgba(255,230,190,.35); }
:root[data-ansicht="hell"] #kopf .kb-ic { background:rgba(255,250,236,.5); border-color:var(--holz-kante); }
.uhr { background:linear-gradient(180deg, #f6efdc, #ddd0ae); color:#1a1206; border:2px solid #2a2018; text-shadow:none; }
#k-uhr { min-width:92px; justify-content:center; font-variant-numeric:tabular-nums; font-kerning:none; }

#feld { position:absolute; border-radius:14px; touch-action:none; -webkit-touch-callout:none; overflow:clip;
  background:url(img/wiese.webp) 0 0 / calc(var(--zelle, 27px) * 8) repeat, #7f9a52;
  box-shadow:inset 0 0 0 3px rgba(60,40,18,.85), inset 0 0 0 9px rgba(170,130,80,.55), inset 0 10px 22px rgba(0,0,0,.25), 0 16px 34px rgba(20,14,6,.55), 0 4px 0 #5a3c1e; }
.fackel { animation:fackel .42s ease-in-out infinite alternate; }
.fackel .flamme { animation:flamme .27s ease-in-out infinite alternate; transform-box:fill-box; transform-origin:50% 100%; }
@keyframes fackel { from { opacity:.82; } to { opacity:1; } }
@keyframes flamme { from { transform:scale(.85, .92); } to { transform:scale(1.08, 1.12); } }
#fsvg { position:absolute; left:0; top:0; display:block; }
#feld.ziel-modus, #stage.zielen #feld { cursor:crosshair; }
.rasterlinie { stroke:var(--rasterlinie); stroke-width:1; fill:none; }
.geb { opacity:var(--geb-o); }
.geb-neu { animation:gebAuf .55s ease-out both; transform-box:fill-box; transform-origin:center; }
@keyframes gebAuf { 0% { opacity:0; transform:scale(.5); } 45% { opacity:.62; transform:scale(1.06); } 100% { opacity:var(--geb-o); transform:none; } }
.luecke { fill:rgba(255,248,215,.42); stroke-width:3; stroke-dasharray:5 3; }
#l-ring { animation:puls .9s ease-in-out infinite alternate; }
.welle { animation:welle 4.5s ease-in-out infinite alternate; }
@keyframes welle { from { transform:translateX(-2px); } to { transform:translateX(3px); } }
.wz.truemmer { opacity:.55; filter:grayscale(.6); }
.waechst { animation:einrasten .42s linear both; }
@keyframes einrasten {
  0% { transform:translateY(var(--fall, -16px)) scale(1.05); opacity:.85; animation-timing-function:cubic-bezier(.55,0,1,.45); }
  43% { transform:translateY(0) scale(1.07, .88); opacity:1; animation-timing-function:ease-out; }
  70% { transform:scale(.98, 1.04); animation-timing-function:ease-in-out; }
  100% { transform:none; opacity:1; } }
@media (prefers-reduced-motion: reduce) { .waechst { animation:waechstRuhig .25s ease-out both; } }
@keyframes waechstRuhig { from { opacity:.3; } to { opacity:1; } }
#fxcv { position:absolute; left:0; top:0; pointer-events:none; }
.glitzer { animation:glitzer 12s linear infinite; }
.glitzer2 { animation:glitzer2 18s linear infinite; }
.glitzer-g { animation:schimmer 5s ease-in-out infinite alternate; }
@keyframes glitzer { to { transform:translateX(96px); } }
@keyframes glitzer2 { to { transform:translateX(-140px); } }
@keyframes schimmer { from { opacity:.55; } to { opacity:1; } }
.schilf { animation:schilf 2.8s ease-in-out infinite alternate; transform-box:fill-box; transform-origin:50% 100%; }
@keyframes schilf { from { transform:rotate(-5deg); } to { transform:rotate(4deg); } }
.fleck { opacity:.5; }
#l-fleck { transition:opacity .6s; }
#l-fleck.weg { opacity:0; }
.kr-neu { animation:krAuf .25s ease-out both; }
@keyframes krAuf { from { transform:scale(.2); opacity:.3; } 70% { transform:scale(1.08); } to { transform:none; opacity:1; } }
.wurf-nr { font:800 12px var(--sans); text-anchor:middle; fill:#fff4d6; paint-order:stroke; stroke:#2a1808; stroke-width:3px; }
#stage.hoch .wurf-nr { font-size:15px; }
.plus.minus { fill:#ff9a7a; }
#k-uhr.dreht svg { animation:sanduhrDreh .7s cubic-bezier(.5,0,.3,1.4); }
@keyframes sanduhrDreh { from { transform:rotate(-180deg); } to { transform:none; } }
.masch.steht { opacity:.62; filter:grayscale(.75); }
.ma-nr circle { fill:#fff4d6; stroke:#3a2412; stroke-width:1.5; }
.ma-nr text, .ziel-nr { font:800 12px var(--sans); fill:#2a1808; text-anchor:middle; }
.ma-nr text { paint-order:stroke; stroke:#fff4d6; stroke-width:2px; }
.ma-nr.gewaehlt text { stroke:#ffd36b; }
.ma-nr.gewaehlt circle { fill:#ffd36b; stroke:#c0301e; stroke-width:2.5; }
.ziel-nr { fill:#fff4d6; paint-order:stroke; stroke:#2a1808; stroke-width:3px; font-size:13px; }
.ziellinie { fill:none; stroke-width:2.4; stroke-dasharray:7 5; opacity:.9; filter:drop-shadow(0 1px 1px rgba(0,0,0,.6)); }
.zl-hit { fill:none; stroke:transparent; stroke-width:14; pointer-events:stroke; cursor:pointer; }
.zielkreuz circle { fill:rgba(255,248,220,.18); stroke-width:2.6; }
.zielkreuz path { stroke-width:2.6; fill:none; }
#l-kurs { pointer-events:none; }
.kurs path { fill:none; stroke:rgba(240,250,255,.5); stroke-width:2; stroke-dasharray:2 6; stroke-linecap:round; stroke-linejoin:round; }
.kurs circle { fill:rgba(20,40,60,.18); stroke:rgba(240,250,255,.55); stroke-width:1.6; stroke-dasharray:3 3; }
.kurs .pflock { stroke:#5a3a1c; stroke-width:3; stroke-dasharray:none; }
.kurs.bald path { stroke:rgba(255,196,120,.85); }
.kurs.bald circle { stroke:#ffb36b; fill:rgba(255,150,60,.2); stroke-dasharray:none; }
.zielhover { fill:rgba(255,248,220,.15); stroke:#fff4d6; stroke-width:2; stroke-dasharray:4 3; }
.zielhover.nein { stroke:#ff7a62; fill:rgba(255,90,60,.15); }
.geistrand { fill:none; stroke:#7ad46a; stroke-width:2.4; }
.geist.nein .geistrand { stroke:#ffd36b; stroke-dasharray:4 3; }
.klemmt { fill:rgba(220,40,20,.45); stroke:#ff4a2a; stroke-width:2.4; }
.ma-geist.nein .geistrand { stroke:#ff6a4a; stroke-dasharray:4 3; fill:rgba(220,40,20,.25); }
.ma-geist .masch { opacity:.7; }
.ratzelle { fill:rgba(255,224,138,.25); stroke:#ffe08a; stroke-width:2.5; stroke-dasharray:5 3; animation:puls .8s infinite alternate; }
.plus { font:900 18px var(--kopf); text-anchor:middle; paint-order:stroke; stroke:#1e140a; stroke-width:4px; animation:plusAuf 1.2s ease-out forwards; }
.plus.klein { font:800 13px var(--sans); stroke-width:3px; }
#stage.hoch .plus.klein, #stage.kompakt .plus.klein { font-size:14.5px; }
.ziel-hp { font:800 12px var(--sans); text-anchor:middle; fill:#ffd2b8; paint-order:stroke; stroke:#2a1808; stroke-width:3px; }
.ziel-hp.ok { fill:#c8f0a0; }
#stage.hoch .ziel-hp { font-size:14px; }
@keyframes plusAuf { from { transform:translateY(0); opacity:1; } to { transform:translateY(-34px); opacity:0; } }
.spritz { animation:spritz .85s ease-out forwards; transform-box:fill-box; }
.spritz .platsch { animation:spritzGross .85s ease-out forwards; transform-origin:0 0; }
@keyframes spritzGross { from { transform:scale(.3); } 40% { transform:scale(1.15); } to { transform:scale(1.3); opacity:0; } }
.feuerbalken { display:inline-block; width:70px; height:8px; border-radius:4px; background:rgba(0,0,0,.35); overflow:hidden; vertical-align:1px; margin-left:4px; box-shadow:inset 0 0 0 1px rgba(255,230,190,.35); }
.feuerbalken i { display:block; height:100%; width:100%; background:linear-gradient(90deg, #ffb04a, #ffe08a); transform-origin:left; animation:feuerLauf .8s linear forwards; }
@keyframes feuerLauf { from { transform:scaleX(1); } to { transform:scaleX(0); } }
#lupe { position:absolute; z-index:66; border-radius:50%; overflow:hidden; pointer-events:none; border:3px solid #f2e2b8; box-shadow:0 0 0 2px #3a2412, 0 10px 24px rgba(0,0,0,.5);
  background:url(img/wiese.webp) 0 0 repeat, #7f9a52; }
#lupe svg { display:block; }

.schilder { position:absolute; display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.sch { display:flex; align-items:center; gap:8px; min-width:0; padding:4px 10px 4px 5px; border-radius:26px; color:var(--text); background:var(--panel); border:2px solid var(--f, var(--linie)); box-shadow:0 4px 10px rgba(0,0,0,.35); }
.sch.me { box-shadow:0 0 0 2px var(--akz-hell), 0 4px 10px rgba(0,0,0,.35); }
.sch.raus { opacity:.62; filter:grayscale(.6); }
.sch.fertig .sch-st { color:var(--gruen); }
.sch.germanen { border-color:#6a8a3a; }
.ava { flex:none; width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; overflow:hidden; font:800 17px var(--sans); color:#fff; background:var(--f, #5a6a3a); border:2px solid rgba(255,255,255,.55); }
.ava .sgzi { width:22px; height:22px; }
.ava img { width:100%; height:100%; object-fit:cover; display:block; }
.ava.germ { background:#d8e4b8; }
.sch-t { display:flex; flex-direction:column; min-width:0; flex:1; line-height:1.15; }
.sch-nm { font-weight:800; font-size:14.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sch-st { font-size:12.5px; color:var(--text-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sch-st .sgzi { width:13px; height:13px; vertical-align:-2px; }
.sch-p { font:800 19px var(--kopf); color:var(--akz-hell); font-variant-numeric:tabular-nums; font-kerning:none; }
#stage:not(.hoch):not(.kompakt) .schilder.zeilen { grid-template-columns:1fr; gap:4px; }
#stage:not(.hoch):not(.kompakt) .schilder.zeilen .sch { height:32px; padding:1px 10px 1px 2px; }
#stage:not(.hoch):not(.kompakt) .schilder.zeilen .ava { width:26px; height:26px; font-size:13px; border-width:1px; }
#stage:not(.hoch):not(.kompakt) .schilder.zeilen .ava .sgzi { width:15px; height:15px; }
#stage:not(.hoch):not(.kompakt) .schilder.zeilen .sch-t { flex-direction:row; align-items:baseline; gap:8px; }
#stage:not(.hoch):not(.kompakt) .schilder.zeilen .sch-nm { flex:none; max-width:62%; }
#stage:not(.hoch):not(.kompakt) .schilder.zeilen .sch-st { flex:1; min-width:0; font-size:12px; }
#stage:not(.hoch):not(.kompakt) .schilder.zeilen .sch-p { font-size:17px; }

.tafel { padding:8px 12px; display:flex; flex-direction:column; }
.ta-zahlen { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); column-gap:6px; row-gap:1px; }
.ta-z span:first-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ta-z { display:flex; justify-content:space-between; gap:6px; padding:2px 6px; border-radius:5px; font-size:13px; white-space:nowrap; }
.ta-z:nth-child(4n+1), .ta-z:nth-child(4n+2) { background:rgba(0,0,0,.12); }
:root[data-ansicht="hell"] .ta-z:nth-child(4n+1), :root[data-ansicht="hell"] .ta-z:nth-child(4n+2) { background:rgba(122,90,42,.1); }
.ta-z .w { font-variant-numeric:tabular-nums; font-kerning:none; }
.ta-z b { font:800 15px var(--kopf); color:#ffe2a0; }
:root[data-ansicht="hell"] .ta-z b { color:#6e3a08; }
.ta-lage { margin-top:auto; flex:none; height:56px; overflow:hidden; font-size:12.5px; line-height:1.3; padding:3px 6px; border-radius:6px; background:rgba(0,0,0,.22);
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; text-overflow:ellipsis; }
:root[data-ansicht="hell"] .ta-lage { background:rgba(255,250,236,.55); }
.ta-lage b { color:#ffe2a0; }
:root[data-ansicht="hell"] .ta-lage b { color:#6e3a08; }

.werk { padding:8px 10px; display:flex; flex-direction:column; gap:6px; }
.wk-teile { display:grid; grid-template-columns:1.6fr 1fr; gap:8px; flex:1; min-height:0; }
.wk-fach { position:relative; display:flex; align-items:center; justify-content:center; border-radius:8px; background:rgba(0,0,0,.22); border:1px dashed rgba(255,230,190,.35); min-height:0; overflow:clip; touch-action:none; }
:root[data-ansicht="hell"] .wk-fach { background:rgba(255,250,236,.45); border-color:var(--holz-kante); }
.wk-fach.jetzt { cursor:grab; }
.wk-fach.jetzt.gesperrt { cursor:default; opacity:.55; }
.wk-fach.danach { opacity:.85; }
.wk-fach { padding:17px 4px 4px; }
.wk-fach .teilsvg { max-width:100%; max-height:100%; width:auto; height:auto; flex:none; }
.wk-lbl { position:absolute; left:6px; top:3px; font-size:11.5px; font-weight:800; letter-spacing:1.5px; text-transform:uppercase; }
.wk-leer { font-size:20px; opacity:.6; }
.teilsvg { display:block; filter:drop-shadow(1px 3px 3px rgba(0,0,0,.5)); }
.wk-liste { flex:1; min-height:0; overflow:auto; display:flex; flex-direction:column; gap:3px; }
.wk-text { margin:2px 0; font-size:13px; line-height:1.35; }
.wk-ma { display:flex; gap:6px; flex-wrap:wrap; }
.wk-masch { width:34px; height:34px; border-radius:7px; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.25); border:2px dashed rgba(255,230,190,.5); }
.wk-masch.steht { background:#6a8a3a; border-style:solid; border-color:#c8e098; color:#fff; }
.wk-mz { font-size:13px; padding:2px 6px; border-radius:5px; background:rgba(0,0,0,.15); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
button.wk-mz { flex:none; display:flex; align-items:center; min-height:30px; width:100%; border:0; color:inherit; font:inherit; font-size:13px; text-align:left; cursor:pointer; }
button.wk-mz:disabled { cursor:default; opacity:1; }
div.wk-mz.zeile { flex:none; display:flex; align-items:center; min-height:30px; width:100%; }
button.wk-mz:not(:disabled):hover { background:rgba(0,0,0,.28); }
.wk-mz .mz-t { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; }
.wk-mz .mz-x { flex:none; display:inline-flex; width:18px; height:18px; margin-left:6px; opacity:.85; }
.wk-mz .mz-x svg { width:100%; height:100%; }
.wk-mz b { display:inline-block; min-width:20px; margin-right:6px; text-align:center; border-radius:10px; background:#fff4d6; color:#2a1808; text-shadow:none; }
.wk-mz.an { box-shadow:inset 0 0 0 2px #ffd36b; }
.wk-mz.still { opacity:.7; }
.wk-knoepfe { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:5px; flex:none; }
.werk:not([data-ph="bauen"]) .wk-knoepfe .knopf.weg { display:none; }
.werk:not([data-ph="bauen"]) #w-fertig { grid-column:1 / -1; }
.werk:not([data-ph="bauen"]) #w-wieeben { grid-column:1 / 3; }
#wk-knoepfe #w-wieeben.weg { display:none; }
.werk:not([data-ph="bauen"]) #w-fertig.neben { grid-column:3 / 4; }
.wk-knoepfe .knopf { justify-content:center; padding:7px 4px; font-size:13px; white-space:nowrap; text-shadow:none; min-width:0; }
.wk-knoepfe .knopf small { font-size:11px; font-weight:700; }
.wk-knoepfe .knopf.weg { visibility:hidden; }
.knopf:disabled { opacity:.45; cursor:default; border-style:dashed; }
#w-ueber.scharf { background:linear-gradient(#e06a52, #a8301e); color:#fff4ee; border-color:#ffc0b0; }
.wk-zeile { flex:none; height:50px; overflow:hidden; font-size:12.5px; line-height:1.3; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; }
.wk-zeile .ok { color:#c8f0a0; } .wk-zeile .nein { color:#ffc0a8; } .wk-zeile .rat { color:#ffe08a; }
:root[data-ansicht="hell"] .wk-zeile .ok { color:#2f6a1c; } :root[data-ansicht="hell"] .wk-zeile .nein { color:#a02a1a; } :root[data-ansicht="hell"] .wk-zeile .rat { color:#7a4e00; }
.wk-zeile .sgzi { width:14px; height:14px; vertical-align:-2px; }

#pchat { padding:6px 8px 8px; display:flex; flex-direction:column; background:var(--panel); }
#htabs { position:absolute; display:grid; grid-template-columns:repeat(3, 1fr); gap:4px; padding:3px; }
#htabs button { font-size:15px; font-weight:800; color:var(--holz-text); background:transparent; border:1px solid transparent; border-radius:8px; }
#htabs button.an { background:rgba(0,0,0,.25); border-color:rgba(255,230,190,.4); }
:root[data-ansicht="hell"] #htabs button.an { background:rgba(255,250,236,.55); border-color:var(--holz-kante); }

#flug { position:absolute; inset:0; z-index:60; pointer-events:none; }
.flieger { position:absolute; transition:transform .5s cubic-bezier(.3,.1,.3,1); will-change:transform; z-index:61; }
.teilflug .teilsvg { filter:drop-shadow(3px 10px 8px rgba(0,0,0,.5)); }
#hinweise { bottom:auto; }
.banner.rot { background:linear-gradient(180deg, #8a2a1c, #4a120a); border-color:#ffb8a3; }
.banner.rot .bn-titel { color:#fff0e6; }
.zuruf { position:absolute; z-index:65; padding:6px 12px; border-radius:10px; background:rgba(28,20,10,.95); border:1px solid #d9ac4a; color:#f3e6c8; font-size:13.5px; line-height:1.3;
  box-shadow:0 6px 16px rgba(0,0,0,.45); pointer-events:none; transition:opacity .45s, transform .45s; }
.zuruf b { color:#ffd36b; }
.zuruf.weg { opacity:0; transform:translateY(-6px); }
:root[data-ansicht="hell"] .zuruf { background:rgba(255,250,236,.97); color:#2a2014; border-color:#a8822e; }
:root[data-ansicht="hell"] .zuruf b { color:#8a5a08; }
#ende-leiste { left:50%; bottom:18px; transform:translateX(-50%); z-index:70; display:flex; align-items:center; gap:10px; padding:8px 12px; }
#ende-leiste > span { white-space:nowrap; }
#stage.hoch #ende-leiste { flex-wrap:wrap; justify-content:center; width:92%; font-size:16px; }
#stage.hoch #ende-leiste > span { flex:1 1 100%; text-align:center; }
#stage.hoch #ende-leiste .knopf { min-height:62px; font-size:16px; }

.ov-box.schein { position:relative; color:#2a2014; border:2px solid #8a6a3a;
  background:repeating-linear-gradient(0deg, transparent 0 27px, rgba(120,90,40,.1) 27px 28px), linear-gradient(180deg, #f6eedb, #e6d8b6); background-color:#eee3c6; }
.schein-kopf { display:flex; justify-content:flex-start; gap:10px; font:800 11.5px/1 var(--sans); letter-spacing:2.5px; text-transform:uppercase; color:#7a5a2a;
  padding:0 210px 6px 0; border-bottom:2px dashed rgba(122,90,42,.55); }
.schein-kopf span + span::before { content:"· "; }
.schein .stempel { position:absolute; right:60px; top:4px; padding:4px 10px; border:3px solid rgba(46,110,40,.8); color:rgba(46,110,40,.9); font:900 15px/1 var(--kopf);
  letter-spacing:3px; border-radius:6px; transform:rotate(-9deg); pointer-events:none; }
.schein .stempel.rot { border-color:rgba(192,48,30,.75); color:rgba(192,48,30,.85); }
.schein .ov-titel { color:#4a2a0a; text-shadow:none; margin-top:14px; }
.schein .en-unter, .schein .en-hin, .schein .en-platz .nmx small, .schein .en-platz .pk small { color:#5a4630; }
.schein .en-platz { background:rgba(120,90,40,.08); border-color:rgba(122,90,42,.35); color:#2a2014; }
.schein .en-platz .w b, .schein .en-platz .nmx { color:#2a2014; }
.schein .en-platz .pk b { color:#8a5a08; }
.schein .en-platz.kopf { background:transparent; color:#7a5a2a; }
.schein .en-einladung { color:#1f3a12; background:rgba(110,160,70,.22); border-color:#4f8a2c; font-weight:700; }
.schein .en-platz.p1 { background:rgba(214,160,40,.2); }
.schein .en-platz .pz { color:#4a3418; }
.en-sterne { display:inline-flex; gap:4px; margin:4px 0; }
.stern { display:inline-flex; color:#b9a888; }
.stern .sgzi { width:100%; height:100%; }
.stern.an { color:#d9a21a; filter:drop-shadow(0 1px 1px rgba(0,0,0,.4)); }
.en-platz { grid-template-columns:52px 12px minmax(0, 1fr) 60px 60px 74px 64px 96px; }
.en-liste { max-height:360px; overflow:auto; }

.lk-rahmen { display:flex; flex-direction:column; gap:4px; }
.limeskarte { width:100%; height:auto; display:block; }
.lk-fluss { font:800 13px var(--sans); letter-spacing:3px; fill:#2c4a66; paint-order:stroke; stroke:#f2e8cc; stroke-width:3px; stroke-linejoin:round; }
.lk-name { font:700 12px var(--sans); fill:#2a1c0c; text-anchor:middle; paint-order:stroke; stroke:#f2e8cc; stroke-width:3px; }
.lk-nr { font:800 12px var(--sans); fill:#2a1c0c; text-anchor:middle; paint-order:stroke; stroke:#f6ecd2; stroke-width:2px; }
.lk-nr.voll { fill:#fff4e6; stroke:#8a2018; }
.lk-halt { cursor:pointer; }
.lk-halt.zu { cursor:default; opacity:.7; }
.lk-halt.an rect { stroke:#c0301e; stroke-width:3; }
@media (hover: hover) { .lk-halt:not(.zu):hover rect { stroke:#c0301e; } }
.limeskarte.eng { display:none; }
.limeskarte.eng .lk-nr { font-size:13px; stroke-width:1.5px; }
#stage.hoch .limeskarte.weit { display:none; }
#stage.hoch .limeskarte.eng { display:block; }
.lk-schritt { display:flex; align-items:center; gap:8px; }
.lk-schritt .lk-info { flex:1 1 auto; min-width:0; }
.lk-pfeil { display:none; }
#stage.hoch .lk-pfeil { display:inline-flex; align-items:center; justify-content:center; flex:none; width:62px; min-height:62px; padding:0; }
#stage.hoch .lk-pfeil svg { width:24px; height:24px; }
.lk-info { font-size:12.5px; color:var(--text-2); }
.lk-info b { color:var(--text); }

#stage.hoch #kopf { gap:2px 6px; padding:4px 8px; flex-wrap:wrap; align-content:center; }
#stage.hoch #kopf .rechts { margin-left:auto; }
#stage.hoch #kopf .logo, #stage.hoch #kopf .trenner { display:none; }
#stage.hoch #kopf .kb-ic { width:62px; height:62px; }
#stage.hoch #kopf .kb-ic .sgzi { width:24px; height:24px; }
#stage.hoch #k-ansicht, #stage.hoch #k-hilfe { display:none; }
#stage.hoch .k-phase { order:9; flex:1 1 100%; font-size:15px; white-space:normal; line-height:1.2; max-height:38px; padding:0 4px; }
#stage.hoch .runde { font-size:14px; letter-spacing:1px; }
#stage.hoch .werk .pt { font-size:14px; letter-spacing:2px; } #stage.hoch .pt-r { font-size:15px; }
#stage.hoch .wk-lbl { font-size:14px; }
#stage.hoch .wk-knoepfe .knopf small { font-size:14px; }
#stage.hoch #htabs { padding:0; gap:6px; } #stage.hoch #htabs button { font-size:16px; min-height:62px; }
#stage.hoch .k-salven { display:none; }
#stage.hoch .sch-nm { font-size:16px; } #stage.hoch .sch-st { font-size:14px; }
#stage.hoch .sch { position:relative; padding-right:8px; }
#stage.hoch .sch:not(.germanen) .sch-nm { padding-right:46px; }
#stage.hoch .sch-p { position:absolute; right:10px; top:3px; font-size:17px; line-height:1.2; }
.sch-nm.eng { letter-spacing:-.3px; } #stage.hoch .sch-nm.eng { font-size:14px; }
#stage.hoch .werk { display:grid; grid-template-columns:minmax(0, 1fr) 222px; grid-template-rows:auto minmax(0, 1fr) auto; column-gap:8px; row-gap:4px; }
#stage.hoch .werk > .pt { grid-column:1 / -1; margin:0; }
#stage.hoch .wk-teile, #stage.hoch .wk-liste { grid-column:1; grid-row:2; }
#stage.hoch .wk-knoepfe { grid-column:2; grid-row:2; grid-template-columns:repeat(3, minmax(0, 1fr)); align-content:start; gap:4px; }
#stage.hoch .wk-zeile { grid-column:1 / -1; grid-row:3; }
#stage.hoch .wk-knoepfe .knopf { min-height:62px; height:62px; flex-direction:column; gap:1px; font-size:14px; line-height:1.05; white-space:normal; padding:2px; }
#stage.hoch .werk[data-ph="zielen"] .wk-knoepfe { grid-template-columns:1fr 1fr; }
#stage.hoch .werk[data-ph="zielen"] #w-wieeben { grid-column:1 / 2; }
#stage.hoch .werk[data-ph="zielen"] #w-fertig.neben { grid-column:2 / 3; }
#stage.hoch .werk > .pt { display:none; }
#stage.hoch .werk { grid-template-rows:minmax(0, 1fr) auto; }
#stage.hoch .wk-teile, #stage.hoch .wk-liste, #stage.hoch .wk-knoepfe { grid-row:1 !important; }
#stage.hoch .wk-zeile { grid-row:2 !important; }
#stage.hoch .wk-zeile { font-size:14px; line-height:1.3; height:37px; -webkit-line-clamp:2; line-clamp:2; }
#stage.hoch .werk { padding:6px 8px; }
#stage.hoch .wk-teile { grid-template-columns:1.4fr 1fr; }
#stage.hoch .ta-z { font-size:15px; }
#stage.hoch .tafel, #stage.kompakt .tafel { overflow-y:auto; padding:6px 10px; }
#stage.hoch .tafel .pt, #stage.kompakt .tafel .pt { display:none; }
#stage.hoch .ta-zahlen, #stage.kompakt .ta-zahlen { display:grid; grid-template-columns:1fr 1fr; column-gap:8px; }
#stage.hoch .ta-lage, #stage.kompakt .ta-lage { margin-top:4px; flex:none; }
#stage.hoch .ta-lage { font-size:14px; line-height:1.25; height:44px; -webkit-line-clamp:2; line-clamp:2; }
#stage.hoch .ch-liste { font-size:15px; }
#stage.hoch #pchat .ch-tabs { display:none; }
#stage.hoch .banner { min-width:0; width:92%; top:30%; padding:12px 14px; }
#stage.hoch .bn-titel { font-size:30px; }
#stage.hoch .meldung { font-size:16px; }
#stage.hoch .en-platz { grid-template-columns:40px 10px minmax(0, 1fr) 60px 74px; gap:6px; font-size:15px; }
#stage.hoch .en-platz .nur-quer { display:none; }
#stage.hoch .ov-box.ov-breit { width:96%; padding:14px; }
#stage.hoch #endtafel .schein .schein-kopf { padding-right:0; margin-top:52px; }
#stage.hoch #endtafel .schein .stempel { right:70px; }
#stage.hoch .zuruf { font-size:15px; }

#stage.kompakt #kopf .logo, #stage.kompakt #kopf .trenner, #stage.kompakt .k-salven { display:none; }
#stage.kompakt #kopf { gap:8px; padding:0 6px 0 10px; }
#stage.kompakt #kopf.holz { background:none; border-color:transparent; box-shadow:none; padding:0; gap:0; }
#stage.kompakt #kopf .runde, #stage.kompakt #kopf .k-phase, #stage.kompakt #kopf .rechts { align-self:stretch; display:flex; align-items:center; border:2px solid var(--holz-kante);
  background:repeating-linear-gradient(92deg, rgba(0,0,0,.06) 0 3px, transparent 3px 11px, rgba(255,230,190,.05) 11px 13px, transparent 13px 23px), linear-gradient(180deg, var(--holz-a), var(--holz-b));
  box-shadow:inset 0 1px 0 rgba(255,230,190,.25), inset 0 -2px 0 rgba(0,0,0,.25), 0 8px 20px rgba(0,0,0,.45); }
#stage.kompakt #kopf .runde { flex-direction:column; justify-content:center; align-items:flex-start; border-right:0; border-radius:10px 0 0 10px; padding:0 8px 0 12px; }
#stage.kompakt #kopf .k-phase { flex:0 1 auto; border-left:0; border-radius:0 10px 10px 0; padding:0 14px 0 4px; }
#stage.kompakt #kopf .rechts { border-radius:10px; padding:0 4px 0 8px; margin-left:auto; }
#stage.kompakt #kopf .runde, #stage.kompakt #kopf .k-phase, #stage.kompakt #kopf .rechts { background-color:var(--holz-b); }
#stage.kompakt .k-phase { font-size:14px; }
#stage.kompakt #kopf .kb-ic { width:56px; height:56px; }
#stage.kompakt #k-ansicht, #stage.kompakt #k-hilfe { display:none; }
#stage.kompakt .runde { font-size:12.5px; letter-spacing:1px; }
#stage.kompakt .schilder { gap:4px; }
#stage.kompakt .sch { padding:1px 8px 1px 2px; }
#stage.kompakt .ava { width:30px; height:30px; }
#stage.kompakt .sch-st { display:none; }
#stage.kompakt .sch-nm { font-size:13px; }
#stage.kompakt .werk { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.3fr); grid-template-rows:auto minmax(0, 1fr) auto; column-gap:8px; row-gap:4px; }
#stage.kompakt .werk > .pt { grid-column:1 / -1; margin:0; }
#stage.kompakt .wk-teile, #stage.kompakt .wk-liste { grid-column:1; grid-row:2; }
#stage.kompakt .wk-teile { grid-template-columns:1fr; grid-template-rows:1.5fr 1fr; gap:4px; }
#stage.kompakt .wk-knoepfe { grid-column:2; grid-row:2; grid-template-columns:repeat(3, minmax(0, 1fr)); align-content:start; gap:4px; }
#stage.kompakt .wk-zeile { grid-column:1 / -1; grid-row:3; }
#stage.kompakt .wk-knoepfe .knopf { font-size:12.5px; min-height:54px; padding:2px; flex-direction:column; gap:1px; line-height:1.05; white-space:normal; }
#stage.kompakt .werk .pt, #stage.kompakt .wk-lbl, #stage.kompakt .wk-knoepfe .knopf small { font-size:12.5px; }
#stage.kompakt .werk .pt-r { font-size:14.5px; }
#stage.kompakt .werk:not([data-ph="bauen"]) #w-fertig { grid-column:1 / -1; }
#stage.kompakt .werk:not([data-ph="bauen"]) #w-wieeben { grid-column:1 / 3; }
#stage.kompakt .werk:not([data-ph="bauen"]) #w-fertig.neben { grid-column:3 / 4; }
#stage.kompakt .wk-liste { display:grid; grid-template-columns:1fr 1fr; align-content:start; gap:4px; }
#stage.kompakt button.wk-mz, #stage.kompakt .wk-mz { min-height:54px; white-space:normal; line-height:1.1; font-size:12.5px; }
#stage.kompakt .wk-mz .mz-t { white-space:normal; }
#stage.kompakt .wk-liste > .wk-text, #stage.kompakt .wk-liste > .wk-ma { grid-column:1 / -1; }
#stage.kompakt .ta-lage { display:none; }
#stage.kompakt .ta-z { font-size:12.5px; }
#stage.kompakt #htabs { padding:0; }
#stage.kompakt .wk-zeile { font-size:13.5px; line-height:1.2; height:33px; -webkit-line-clamp:2; line-clamp:2; }
#stage.kompakt #htabs button { font-size:13px; }
#stage.kompakt .banner { min-width:0; width:72%; top:42%; padding:10px 18px; }
#stage.kompakt .bn-titel { font-size:28px; }
#stage.kompakt .meldung { font-size:13.5px; padding:7px 14px; }
#stage.kompakt .ov-box.ov-breit { width:96%; padding:12px 16px 0; }
#stage.kompakt #endtafel .ov-knoepfe .kb { min-height:54px; font-size:16px; }
#stage.kompakt .en-liste { max-height:none; overflow:visible; }
#stage.kompakt .en-platz.kopf, #stage.kompakt .schein-kopf { font-size:14.5px; letter-spacing:1px; }
#stage.kompakt .en-platz .nmx small, #stage.kompakt .en-platz .pk small, #stage.kompakt .en-hin { font-size:14.5px; }
#stage.kompakt .en-unter { font-size:15.5px; }
#stage.kompakt .schein .stempel { font-size:16px; }

@media (pointer: coarse) {
  .wk-knoepfe .knopf { min-height:44px; }
  #htabs button { min-height:40px; }
}

#stage.hoch .sz-chip, #stage.hoch .sz-chip em, #stage.hoch .sz-nm small, #stage.hoch .sz-pk small, #stage.hoch .sz-krone, #stage.hoch .sz-ok, #stage.hoch .sz-uhr { font-size:14px; }
#stage.hoch .sz-knopf { min-height:62px; padding-left:28px; padding-right:28px; font-size:17px; }
#stage.kompakt .sz-knopf { min-height:54px; }
#stage.hoch .wk-text, #stage.hoch button.wk-mz, #stage.hoch div.wk-mz.zeile { font-size:15px; }
#stage.hoch .wk-liste { display:grid; grid-template-columns:1fr 1fr; align-content:start; gap:4px; }
#stage.hoch button.wk-mz, #stage.hoch .wk-mz { min-height:61px; white-space:normal; line-height:1.15; }
.mz-zi { display:inline-flex; width:14px; height:14px; margin-right:3px; vertical-align:-2px; opacity:.85; }
.mz-zi svg { width:100%; height:100%; }
#stage.hoch .wk-mz .mz-t { white-space:normal; hyphens:auto; overflow-wrap:break-word; }
#stage.hoch .werk:not([data-ph="bauen"]) { grid-template-columns:minmax(0, 1fr) 128px; }
#stage.hoch .wk-liste > .wk-text, #stage.hoch .wk-liste > .wk-ma { grid-column:1 / -1; }
#stage.hoch .ma-nr text { font-size:14px; } #stage.hoch .ziel-nr { font-size:15px; }
#stage.hoch .schein-kopf { font-size:14px; letter-spacing:1.5px; }
#stage.hoch .en-platz .nmx small, #stage.hoch .en-platz .pk small, #stage.hoch .en-unter, #stage.hoch .en-hin { font-size:15px; }
#stage.hoch .en-unter small, #stage.kompakt .en-unter small { font-size:14px; }
#stage.hoch .ov-knoepfe .kb { min-height:62px; font-size:16px; }

.signal.brennt .sf-flamme { animation:sfFlamme .23s ease-in-out infinite alternate; }
.signal.brennt .sf-glut { animation:fackel .4s ease-in-out infinite alternate; }
@keyframes sfFlamme { from { transform:scale(.9, .88) skewX(-3deg); } to { transform:scale(1.08, 1.14) skewX(3deg); } }
.sf-rauch circle { fill:rgba(210,210,206,.5); animation:sfRauch 2.4s linear infinite; transform-box:fill-box; transform-origin:center; }
.sf-rauch circle:nth-child(2) { animation-delay:-.8s; } .sf-rauch circle:nth-child(3) { animation-delay:-1.6s; }
@keyframes sfRauch { 0% { transform:translate(0, 0) scale(.5); opacity:0; } 15% { opacity:.7; } 100% { transform:translate(6px, -34px) scale(1.8); opacity:0; } }
.faehre { animation:faWiegen 2.2s ease-in-out infinite alternate; transform-origin:0 0; }
@keyframes faWiegen { from { transform:rotate(-2.5deg) translateY(-.6px); } to { transform:rotate(2.5deg) translateY(.6px); } }
.fa-stange { animation:faStange 1.6s ease-in-out infinite alternate; transform-box:fill-box; transform-origin:0 0; }
@keyframes faStange { from { transform:rotate(-8deg); } to { transform:rotate(10deg); } }
.wimpel { animation:wimpel .7s ease-in-out infinite alternate; transform-box:fill-box; transform-origin:0 50%; }
@keyframes wimpel { from { transform:skewY(-6deg) scaleX(.92); } to { transform:skewY(5deg) scaleX(1.04); } }
.d-br.baut .bruecke.steht { animation:brBaut .7s cubic-bezier(.3,1.3,.5,1) both; }
@keyframes brBaut { from { transform:translateY(-10px); opacity:0; } to { transform:none; opacity:1; } }
use.verwittert { filter:grayscale(.55) sepia(.25); }
.truemmer-f { opacity:.85; }
.kue-ziel { fill:rgba(232,130,42,.16); stroke:#f0a050; stroke-width:2.2; stroke-dasharray:6 4; pointer-events:none; animation:puls .8s ease-in-out infinite alternate; }
.kue-feld { fill:rgba(255,170,80,.28); stroke:#ffb060; stroke-width:3; }
.kette-bogen { fill:none; stroke:#ffc060; stroke-width:3; stroke-linecap:round; stroke-dasharray:60; filter:drop-shadow(0 0 3px rgba(255,150,40,.9)); }
.gummiband { fill:none; stroke-width:3; stroke-dasharray:3 4; opacity:.95; filter:drop-shadow(0 1px 1px rgba(0,0,0,.6)); pointer-events:none; }
.zielkreuz.zieht circle { fill:rgba(255,248,220,.28); }
.zielkreuz.nein circle, .zielkreuz.nein path { stroke:#ff6a4a !important; }
.g-griff { cursor:pointer; }
.g-griff circle { fill:#fff1cc; stroke:#7a5a2a; stroke-width:2; filter:drop-shadow(0 2px 2px rgba(0,0,0,.45)); }
.g-griff:hover circle { fill:#ffe08a; }
.en-siegel { display:inline-flex; width:34px; height:34px; margin-left:8px; color:#b9a888; vertical-align:middle; }
.en-siegel .sgzi { width:100%; height:100%; }
.en-siegel.an { color:#a8241c; filter:drop-shadow(0 1px 1px rgba(0,0,0,.4)); }
.lk-auf { display:inline-flex; align-items:center; gap:4px; color:var(--text-2); }
.lk-auf .sgzi { width:14px; height:14px; color:#9a8a6a; }
.lk-auf.an, .lk-auf.an .sgzi { color:#a8241c; }
@media (prefers-reduced-motion: reduce) { .sf-flamme, .sf-glut, .sf-rauch circle, .faehre, .fa-stange, .wimpel, .d-br.baut .bruecke.steht, .kue-ziel { animation:none !important; } }
#stage.kompakt .wk-liste { grid-template-columns:1fr; }
#stage.kompakt button.wk-mz, #stage.kompakt .wk-mz { min-height:54px; }
#stage.kompakt .runde, #stage.kompakt .ta-z, #stage.kompakt .werk .pt, #stage.kompakt .wk-lbl, #stage.kompakt .wk-knoepfe .knopf, #stage.kompakt .wk-knoepfe .knopf small, #stage.kompakt button.wk-mz, #stage.kompakt .wk-mz { font-size:13.5px; }
#stage.kompakt .wk-knoepfe .knopf, #stage.kompakt button.wk-mz, #stage.kompakt .wk-mz, #stage.kompakt .sz-knopf, #stage.kompakt #endtafel .ov-knoepfe .kb { min-height:57px; }
#stage.kompakt #htabs button { font-size:14px; }
#stage.kompakt .ma-nr text, #stage.kompakt .ziel-hp { font-size:13.5px; }
#stage.hoch .banner.schild .bn-unter { font-size:16.5px; }
#stage.hoch button.wk-mz, #stage.hoch .wk-mz { min-height:62px; }
#l-platz { pointer-events:none; animation:puls 1.1s ease-in-out infinite alternate; }
.ma-platz { fill:rgba(255,246,200,.32); stroke:rgba(255,246,200,.6); stroke-width:1; }
.luecke.offen { fill:rgba(200,40,20,.22); stroke:#ff6a4a; stroke-width:2.6; stroke-dasharray:4 3; }
.luecke.fall { fill:rgba(210,30,15,.45); stroke:#ff3a1e; stroke-width:3.4; stroke-dasharray:none; }
.flugziel { pointer-events:none; }
.gegenziel circle { fill:rgba(220,40,20,.22); stroke:#ff4a2a; stroke-width:2.6; stroke-dasharray:4 3; }
.gegenziel text { font:900 15px var(--sans); fill:#fff; text-anchor:middle; paint-order:stroke; stroke:#7a1408; stroke-width:3px; }
#stage.hoch .gegenziel text, #stage.kompakt .gegenziel text { font-size:18px; }
#lern { position:absolute; inset:0; z-index:64; pointer-events:none; }
.lern-zettel { position:absolute; box-sizing:border-box; padding:10px 44px 11px 14px; border-radius:10px; background:#f6ebcc; color:#2a1808; border:2px solid #8a5a24;
  box-shadow:0 8px 22px rgba(0,0,0,.45); font:600 15px/1.35 var(--sans); animation:lernRein .35s ease-out; }
.lern-kopf { font:800 12px var(--sans); letter-spacing:1.2px; text-transform:uppercase; color:#7a3e10; margin-bottom:3px; }
.lern-text b { color:#6a1e08; }
.lern-x { position:absolute; top:4px; right:4px; width:34px; height:34px; border:0; border-radius:8px; background:rgba(90,58,28,.14); color:#2a1808; cursor:pointer; pointer-events:auto; display:grid; place-items:center; padding:0; }
.lern-x svg { width:16px; height:16px; }
.lern-x:hover { background:rgba(90,58,28,.28); }
.lern-ring.eckig { border-radius:12px; }
.lern-pfeil { position:absolute; width:0; height:0; border-left:11px solid transparent; border-right:11px solid transparent; transform:translateX(-50%); }
.lern-pfeil.ab { border-top:12px solid #8a5a24; }
.lern-pfeil.auf { border-bottom:12px solid #8a5a24; transform:translate(-50%,-100%); }
.lern-ring { position:absolute; transform:translate(-50%,-50%); border-radius:50%; border:3px solid #ffd36b; box-shadow:0 0 0 3px rgba(42,24,8,.55), 0 0 18px rgba(255,211,107,.8); animation:lernPuls 1s ease-in-out infinite alternate; }
@keyframes lernRein { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
@keyframes lernPuls { from { opacity:.5; } to { opacity:1; } }
#stage.hoch .lern-zettel, #stage.kompakt .lern-zettel { font-size:18px; padding-right:66px; }
#stage.hoch .lern-zettel { padding-right:74px; min-height:76px; }
#stage.hoch .lern-kopf, #stage.kompakt .lern-kopf { font-size:14.5px; }
#stage.kompakt .lern-x { width:58px; height:58px; }
#stage.hoch .lern-x { width:66px; height:66px; }
#stage.hoch .lern-x svg, #stage.kompakt .lern-x svg { width:22px; height:22px; }
@media (pointer:coarse) { .lern-x { width:48px; height:48px; } .lern-zettel { padding-right:56px; } }
@media (prefers-reduced-motion: reduce) { .lern-ring, #l-platz { animation:none; } }
.werk:not([data-ph="bauen"]) .wk-zeile { display:none; }
#stage .wk-liste.kacheln { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); grid-template-rows:repeat(2, minmax(0, 1fr)); gap:4px; overflow:hidden; align-content:stretch; }
#stage .wk-liste.kacheln > .wk-text { grid-column:1 / -1; }
#stage .wk-liste .wk-mz.kachel { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; min-height:0; height:auto; width:auto; padding:2px;
  text-align:center; white-space:normal; line-height:1; font-size:13px; border:2px solid transparent; }
#stage .wk-liste .wk-mz.kachel b { margin:0; min-width:30px; font-size:19px; line-height:26px; border-radius:13px; padding:0 4px; }
#stage .wk-liste .wk-mz.kachel .mz-k { max-width:100%; font-weight:700; overflow-wrap:break-word; hyphens:manual; }
#stage .wk-liste .wk-mz.kachel .mz-x { position:absolute; top:2px; right:2px; margin:0; width:14px; height:14px; }
#stage .wk-liste .wk-mz.kachel.hat { background:rgba(0,0,0,.3); border-color:rgba(255,230,190,.35); }
#stage .wk-liste .wk-mz.kachel:not(.hat):not(.still) .mz-k { opacity:.8; }
#stage .wk-liste .wk-mz.kachel.an { border-color:#ffd36b; box-shadow:0 0 0 1px #ffd36b; }
:root[data-ansicht="hell"] #stage .wk-liste .wk-mz.kachel.hat { background:rgba(255,250,236,.6); border-color:var(--holz-kante); }
#stage.hoch .wk-liste .wk-mz.kachel b { font-size:22px; line-height:26px; min-width:34px; border-radius:13px; }
#stage.hoch .wk-liste .wk-mz.kachel .mz-k { font-size:18.5px; }
#stage.hoch .wk-liste .wk-mz.kachel .mz-x { width:16px; height:16px; }
#stage.kompakt .wk-liste .wk-mz.kachel b { font-size:20px; line-height:25px; min-width:32px; border-radius:13px; }
#stage.kompakt .wk-liste .wk-mz.kachel .mz-k { font-size:16px; }
#stage.kompakt .wk-liste .wk-mz.kachel .mz-x { width:15px; height:15px; }
#stage.hoch .werk.kacheln { grid-template-columns:minmax(0, 1fr) 124px; }
#stage.kompakt .werk.kacheln { grid-template-columns:minmax(0, 1fr) 104px; }
#stage.hoch .werk.kacheln .wk-knoepfe, #stage.kompakt .werk.kacheln .wk-knoepfe { grid-template-columns:minmax(0, 1fr); }
#stage.hoch .werk.kacheln #w-wieeben, #stage.hoch .werk.kacheln #w-fertig, #stage.hoch .werk.kacheln #w-fertig.neben,
#stage.kompakt .werk.kacheln #w-wieeben, #stage.kompakt .werk.kacheln #w-fertig, #stage.kompakt .werk.kacheln #w-fertig.neben { grid-column:1 / -1; }
#flug .bilanz { position:absolute; transform:translate(-50%, -50%); width:max-content; box-sizing:border-box; padding:7px 16px; font-size:15px; line-height:1.3; z-index:62; }
#flug .bilanz.weg { opacity:0; }
#flug .bilanz { animation:bilanzRein .35s ease-out; }
@keyframes bilanzRein { from { opacity:0; transform:translate(-50%, calc(-50% + 6px)); } to { opacity:1; transform:translate(-50%, -50%); } }
#stage.hoch .meldung.bilanz { font-size:17.5px; }
#stage.kompakt .meldung.bilanz { font-size:15.5px; }
.k-wind { display:flex; align-items:center; gap:5px; color:var(--holz-text); font:800 13px var(--sans); white-space:nowrap; padding:2px 8px 2px 4px; border-radius:8px; background:rgba(0,0,0,.22); }
.k-wind[hidden] { display:none; }
.k-wind svg { width:26px; height:26px; flex:none; }
.k-wind svg path, .k-wind svg circle { fill:none; stroke:#ffe2a0; stroke-linecap:round; stroke-linejoin:round; }
.k-wind svg circle.voll { fill:#ffe2a0; stroke:none; }
.k-wind[data-k="2"] { color:#ffd27a; }
.k-wind[data-k="2"] svg path { stroke:#ffcf6a; }
:root[data-ansicht="hell"] .k-wind { background:rgba(255,250,236,.55); color:#6e3a08; }
:root[data-ansicht="hell"] .k-wind svg path, :root[data-ansicht="hell"] .k-wind svg circle { stroke:#6e3a08; }
:root[data-ansicht="hell"] .k-wind svg circle.voll { fill:#6e3a08; }
#stage.hoch .k-wind { order:10; padding:1px 6px 1px 2px; gap:2px; } #stage.hoch .k-wind span { font-size:18px; line-height:1; } #stage.hoch .k-wind svg { width:40px; height:40px; }
#stage.hoch #kopf:has(.k-wind:not([hidden])) .k-phase { flex-basis:calc(100% - 84px); }
#stage.kompakt #kopf .k-wind { align-self:stretch; margin-left:6px; border:2px solid var(--holz-kante); border-radius:10px; padding:0 10px 0 6px; font-size:14px;
  background:linear-gradient(180deg, var(--holz-a), var(--holz-b)); box-shadow:inset 0 1px 0 rgba(255,230,190,.25), 0 8px 20px rgba(0,0,0,.45); }
#l-turm.wind1 .fahne > *, #l-turm.wind2 .fahne > * { transform-box:fill-box; transform-origin:0 50%; animation:flattern 1.4s ease-in-out infinite alternate; }
#l-turm.wind2 .fahne > * { animation-duration:.55s; }
@keyframes flattern { from { transform:skewY(-3deg); } to { transform:skewY(3deg); } }
@media (prefers-reduced-motion: reduce) { #l-turm .fahne > * { animation:none !important; } }
.landepunkt { pointer-events:none; }
.landepunkt path { stroke:#fff6dc; stroke-width:1.8; stroke-dasharray:3 2.5; fill:none; }
.landepunkt circle { fill:none; stroke:#fff6dc; stroke-width:2.2; }
.landepunkt circle.lr-schatten { stroke:rgba(20,12,4,.7); stroke-width:4.2; }
.plus.fehl { fill:#e8e2d2; }

#stage { --mo-bg1:#5e3c20; --mo-bg2:#3a2412; --mo-bg3:#1e1208; --mo-rand:#d9a53a; --mo-rand-weich:rgba(217,165,58,.34);
  --mo-akzent:#ffd36b; --mo-akzent2:#ecbd62; --mo-hell:#fff2d6; --mo-text:#f6ecd6; --mo-leise:#e6d6b4; --mo-leiser:#d2bf96;
  --mo-gut:#c4ec9c; --mo-gut-rand:rgba(160,220,110,.6); --mo-warn:#ffb8a4; --mo-warn-rand:rgba(230,110,90,.65);
  --mo-band1:#d8432f; --mo-band2:#8e1f14; --mo-band-t:#fff2d8; }
#stage.kompakt { --mo-fs-klein:16px; }
#stage.hoch { --mo-fs-klein:17px; }
.mo-tafel .mo-rang-kopf { background:linear-gradient(180deg, #b8321f, #7a1a10); color:#fff2d8; }
.mo-tafel .mo-zahl b { font-family:var(--kopf); }
.mo-abr tr.mo-warn td { color:var(--mo-warn); }
.mo-start.kas-start { z-index:66; }
.mo-start .mo-siegel { color:var(--mo-akzent); }
.mo-start .mo-siegel .sgzi { width:16px; height:16px; vertical-align:-3px; }
.sz-box.kas-wache .sz-titel { display:none; }
.sz-box.kas-wache .mo-kopf { margin:0 0 4px; }
.kas-abr-kopf { display:flex; align-items:center; justify-content:center; gap:30px; margin:4px 0 2px; }
.kas-wache .mo-zahl b { font-size:56px; }
.kas-stand { display:flex; flex-direction:column; align-items:center; line-height:1.1; }
.kas-stand span, .kas-stand small { font-size:13px; letter-spacing:.16em; text-transform:uppercase; color:var(--mo-leise); }
.kas-stand b { font:900 32px/1.1 var(--kopf); color:var(--mo-hell); }
.kas-abr { max-width:560px; margin:0 auto; }
.kas-abr .mo-abr td { font-size:16px; padding:3px 8px; }
.kas-abr .mo-abr td small { font-size:13px; color:var(--mo-leiser); margin-left:6px; }
.kas-abr .mo-abr td.mo-w { font-family:var(--kopf); font-weight:900; }
.kas-wuerfe { text-align:center; color:var(--mo-leise); font-size:14px; margin:6px 0 2px; }
.kas-wache .sz-erkl { color:var(--mo-leise); }
.kas-wache .sz-erkl b { color:var(--mo-akzent); }
.sz-box.kas-allein .sz-liste { display:none; }
.sz-box.kas-wache .sz-knoepfe { background:transparent; position:static; padding:6px 0 2px; margin-top:8px; }
#stage.hoch .kas-abr .mo-abr td, #stage.kompakt .kas-abr .mo-abr td { font-size:17px; }
#stage.hoch .kas-abr .mo-abr td small, #stage.kompakt .kas-abr .mo-abr td small, #stage.hoch .kas-stand span, #stage.hoch .kas-stand small,
#stage.kompakt .kas-stand span, #stage.kompakt .kas-stand small, #stage.hoch .kas-wuerfe, #stage.kompakt .kas-wuerfe,
#stage.hoch .mo-tafel .mo-kopf, #stage.kompakt .mo-tafel .mo-kopf { font-size:16px; }
#stage.kompakt .kas-wache .mo-zahl b { font-size:46px; }
#stage.hoch .kas-abr .mo-abr td small, #stage.hoch .kas-stand span, #stage.hoch .kas-stand small, #stage.hoch .kas-wuerfe, #stage.hoch .mo-tafel .mo-kopf { font-size:17px; }
#stage.hoch .mo-start > p, #stage.hoch .mo-start-kopf { font-size:17px; }
#stage.kompakt .sz-box.kas-wache { padding:10px 16px 8px; }
#endtafel .en-tafel.mo-tafel { position:relative; width:min(1080px, 94%); max-width:none; max-height:94%; overflow:auto; padding:12px 22px 14px; border-radius:14px; box-sizing:border-box; }
.en-tafel .mo-kopf { margin:0 0 6px; }
.en-spalten { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); column-gap:24px; align-items:start; align-content:start; }
.en-links { display:contents; }
.en-held { grid-column:1; grid-row:1; position:relative; text-align:center; }
.en-tafel .en-unter { grid-column:1; grid-row:2; }
#en-kacheln { grid-column:1; grid-row:3; }
.en-tafel .en-ziel { grid-column:1; grid-row:4; text-align:center; }
.en-rechts { grid-column:2; grid-row:1 / span 4; min-width:0; }
.en-tafel .en-haupt { grid-column:1; grid-row:5; }
.en-tafel .en-neben { grid-column:2; grid-row:5; }
#endtafel .en-tafel.einspaltig.mo-tafel { width:min(640px, 94%); }
.en-tafel.einspaltig .en-spalten { grid-template-columns:minmax(0, 1fr); }
.en-tafel.einspaltig .en-rechts { grid-column:1; grid-row:6; }
.en-tafel.einspaltig .en-neben { grid-column:1; grid-row:7; margin-top:6px; }
.en-tafel .stempel { display:inline-block; margin:2px 0 4px; padding:4px 10px; border:3px solid rgba(170,224,120,.85); color:#c4ec9c; font:900 15px/1 var(--kopf);
  letter-spacing:3px; border-radius:6px; transform:rotate(-4deg); pointer-events:none; }
.en-tafel .stempel.rot { border-color:rgba(255,128,104,.85); color:#ffb8a4; }
.en-tafel .ov-titel { color:var(--mo-akzent); margin:2px 0 0; font-size:28px; text-shadow:0 2px 0 rgba(0,0,0,.4); }
.en-tafel .en-sterne { display:flex; justify-content:center; align-items:center; gap:4px; margin:2px 0 0; }
.en-tafel .en-sterne[hidden] { display:none; }
.en-tafel .en-siegel { margin-left:8px; }
.en-tafel .mo-zahl { margin-top:2px; }
.en-tafel .en-unter { color:var(--mo-leise); font-size:15px; line-height:1.35; margin:6px 0 0; text-align:center; }
.en-tafel .en-unter small { font-size:14px; color:var(--mo-leiser); }
.en-tafel .en-ziel .mo-plakette { margin:4px 0 0; }
.en-tafel .ov-knoepfe { margin-top:12px; gap:10px; }
.en-tafel .en-haupt .kb { min-width:170px; min-height:50px; font-size:18px; }
.en-tafel .en-neben .kb { min-height:44px; font-size:15px; }
.en-tafel .en-hin { color:var(--mo-leise); font-size:14px; text-align:center; margin:4px 0; }
.en-tafel .en-einladung { color:var(--mo-text); }
.en-mehr { margin-top:6px; color:var(--mo-text); text-align:left; }
.en-mehr summary { cursor:pointer; color:var(--mo-akzent2); font-size:15px; padding:6px 2px; min-height:44px; box-sizing:border-box; display:flex; align-items:center; gap:6px; }
.en-mehr summary { list-style:none; } .en-mehr summary::before { content:'▸'; } .en-mehr[open] summary::before { content:'▾'; }
.en-mehr summary::-webkit-details-marker { display:none; }
#stage.hoch .en-mehr summary { min-height:62px; } #stage.kompakt .en-mehr summary { min-height:54px; }
.en-mehr .en-liste { max-height:200px; overflow:auto; margin-top:4px; gap:5px; }
.en-tafel .en-platz { background:rgba(0,0,0,.3); border-color:var(--mo-rand-weich); color:var(--mo-text); padding:6px 10px; font-size:14px; }
.en-tafel .en-platz.kopf { background:transparent; color:var(--mo-akzent2); }
.en-tafel .en-platz .nmx small, .en-tafel .en-platz .pk small { color:var(--mo-leise); }
.en-tafel .en-platz .w b { color:var(--mo-hell); } .en-tafel .en-platz .pk b { color:var(--mo-akzent); } .en-tafel .en-platz .pz { color:var(--mo-akzent2); }
.en-podest { display:flex; justify-content:center; align-items:flex-end; gap:10px; margin:2px 0 4px; }
.pd { display:flex; flex-direction:column; align-items:center; width:110px; min-width:0; }
.pd .ava { width:44px; height:44px; border-color:var(--f, #fff); }
.pd-nm { max-width:100%; text-align:center; line-height:1.15; overflow-wrap:anywhere; font-size:14px; color:var(--mo-text); margin-top:2px; }
.pd-raus { font-size:13px; color:var(--mo-warn); line-height:1.1; text-align:center; }
.pd-p { font:900 19px/1.1 var(--kopf); color:var(--mo-hell); }
.pd-sockel { width:100%; display:flex; flex-direction:column; align-items:center; padding-top:4px; margin-top:3px; border-radius:6px 6px 0 0;
  background:linear-gradient(180deg, var(--mo-rand), #7e5a1c); color:#2a1806; box-shadow:inset 0 1px 0 rgba(255,240,200,.5); }
.pd-sockel i { font:900 22px/1 var(--kopf); font-style:normal; }
.pd-sockel small { font-size:12px; font-weight:700; }
.pd1 .pd-sockel { height:58px; background:linear-gradient(180deg, #ffd36b, #b8862a); } .pd2 .pd-sockel { height:42px; } .pd3 .pd-sockel { height:30px; } .pd4 .pd-sockel { height:22px; }
.pd.ich .pd-nm { color:var(--mo-akzent); font-weight:700; }
#stage.hoch .en-spalten { display:flex; flex-direction:column; align-items:stretch; }
#stage.hoch .en-rechts { display:contents; }
#stage.hoch .en-held { order:1; } #stage.hoch .en-unter { order:2; } #stage.hoch #en-kacheln { order:3; } #stage.hoch .en-ziel { order:4; }
#stage.hoch #en-podest { order:5; } #stage.hoch #srv-rest { order:6; } #stage.hoch .en-einladung { order:7; }
#stage.hoch .en-haupt { order:8; } #stage.hoch .en-neben { order:9; margin-top:6px; } #stage.hoch .en-mehr { order:10; }
#stage.hoch #endtafel .en-tafel.mo-tafel { width:96%; padding:10px 12px 12px; }
#stage.hoch .en-tafel .stempel { font-size:17px; }
#stage.hoch .en-tafel .en-unter, #stage.hoch .en-tafel .en-unter small, #stage.hoch .en-tafel .en-hin, #stage.hoch .en-mehr summary, #stage.hoch .pd-nm,
#stage.hoch .mo-tafel .mo-plakette, #stage.hoch .mo-tafel .mo-rang > p, #stage.hoch .mo-tafel .mo-leiter p, #stage.hoch .mo-tafel .mo-rang-kopf,
#stage.hoch .mo-tafel .mo-zahl span, #stage.hoch .pd-raus, #stage.hoch .en-tafel .en-platz { font-size:17px; }
#stage.hoch .mo-tafel .mo-rang li { font-size:18px; }
#stage.hoch .en-tafel .en-haupt .kb, #stage.hoch .en-tafel .en-neben .kb { min-height:62px; font-size:17px; flex:1 1 0; min-width:0; }
#stage.hoch .en-tafel .mo-kachel b { font-size:26px; }
#stage.kompakt #endtafel .en-tafel.mo-tafel { width:97%; max-height:96%; padding:8px 14px 10px; }
#stage.kompakt .en-tafel .ov-titel { font-size:22px; }
#stage.kompakt .en-tafel .mo-zahl b { font-size:54px; }
#stage.kompakt .en-tafel .stempel { font-size:14px; padding:3px 8px; }
#stage.kompakt .en-tafel .en-unter, #stage.kompakt .en-tafel .en-unter small, #stage.kompakt .en-tafel .en-hin, #stage.kompakt .en-mehr summary, #stage.kompakt .pd-nm,
#stage.kompakt .mo-tafel .mo-plakette, #stage.kompakt .mo-tafel .mo-rang > p, #stage.kompakt .mo-tafel .mo-leiter p, #stage.kompakt .mo-tafel .mo-rang-kopf,
#stage.kompakt .mo-tafel .mo-zahl span, #stage.kompakt .pd-raus, #stage.kompakt .en-tafel .en-platz { font-size:16px; }
#stage.kompakt .en-tafel .ov-knoepfe { margin-top:8px; }
#stage.kompakt .en-tafel .en-haupt .kb, #stage.kompakt .en-tafel .en-neben .kb { min-height:54px; font-size:16px; min-width:0; }
#stage.kompakt .en-tafel .mo-kacheln { margin:6px 0 4px; }
#stage.kompakt .mo-tafel .mo-rang li { padding:2px 12px; }
#stage.kompakt .en-tafel .stempel { display:none; }
#stage.kompakt .pd .ava { width:32px; height:32px; }
#stage.kompakt .pd-sockel i { font-size:18px; }
#stage.kompakt .pd1 .pd-sockel { height:30px; } #stage.kompakt .pd2 .pd-sockel { height:22px; } #stage.kompakt .pd3 .pd-sockel { height:17px; } #stage.kompakt .pd4 .pd-sockel { height:13px; }
#stage.kompakt .pd-p { font-size:17px; }
#stage.kompakt .en-tafel .mo-kachel b small, #stage.hoch .en-tafel .mo-kachel b small { font-size:16px; }
.kas-wache .sz-erkl { margin:6px 0 8px; font-size:15px; }
.kas-wache .sz-liste { gap:5px; }
.kas-wache .sz-zeile { grid-template-columns:minmax(0, 1fr) auto; row-gap:4px; column-gap:10px; padding:6px 12px; }
.kas-wache .sz-posten { grid-column:1 / -1; gap:4px; }
.kas-wache .sz-posten:not(:has(.sz-chip:not([hidden]))) { display:none; }
.kas-wache .sz-zeile.sz-ich .sz-posten { display:none; }
.kas-wache .sz-nm b { max-width:none; }
.kas-wache .sz-pk { display:flex; align-items:baseline; gap:5px; }
.kas-wache .sz-z { display:inline; font:900 24px/1 var(--kopf); font-variant-numeric:tabular-nums; font-kerning:none; }
.kas-wache .sz-chip { padding:2px 9px; }
#stage:not(.hoch) .kas-wache .sz-zeile { grid-template-columns:minmax(120px, 190px) minmax(0, 1fr) auto; }
#stage:not(.hoch) .kas-wache .sz-posten { grid-column:2; grid-row:1; }
#stage:not(.hoch) .kas-wache .sz-pk { grid-column:3; grid-row:1; }
#stage.hoch .kas-wache .sz-chip em { display:none; }
#stage.hoch .kas-wache .sz-z { font-size:26px; }
#stage.hoch .kas-wache .sz-erkl { font-size:16px; }
.kas-wache .mo-kopf { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#stage.hoch .kas-wache .mo-kopf { letter-spacing:.06em; }
#stage.kompakt .sz-box.kas-wache:not(.kas-allein) { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.15fr); column-gap:16px; align-content:start; align-items:start; }
#stage.kompakt .sz-box.kas-wache:not(.kas-allein) > * { grid-column:1; }
#stage.kompakt .sz-box.kas-wache:not(.kas-allein) > .mo-kopf, #stage.kompakt .sz-box.kas-wache:not(.kas-allein) > .sz-knoepfe { grid-column:1 / -1; }
#stage.kompakt .sz-box.kas-wache:not(.kas-allein) > .sz-liste { grid-column:2; grid-row:2 / span 5; align-self:center; }
#stage.kompakt .kas-wache:not(.kas-allein) .sz-zeile { grid-template-columns:minmax(0, 1fr) auto; }
#stage.kompakt .kas-wache:not(.kas-allein) .sz-posten { grid-column:1 / -1; grid-row:auto; }
#stage.kompakt .kas-wache:not(.kas-allein) .sz-pk { grid-column:2; grid-row:1; }
#stage.kompakt .kas-wache:not(.kas-allein) .sz-chip em { display:none; }
#stage.hoch .en-tafel .mo-kopf { letter-spacing:.06em; }

#feld.zoom { box-shadow:none; border-radius:0; }
#feldrahmen { position:absolute; z-index:5; pointer-events:none; border-radius:14px;
  box-shadow:inset 0 0 0 3px rgba(60,40,18,.85), inset 0 0 0 9px rgba(170,130,80,.55), inset 0 10px 22px rgba(0,0,0,.25), 0 16px 34px rgba(20,14,6,.55), 0 4px 0 #5a3c1e; }
#feldkarte { position:absolute; z-index:30; padding:6px; border-radius:10px; display:flex; flex-direction:column; gap:5px; box-shadow:0 6px 16px rgba(0,0,0,.45); animation:karteRein .3s ease-out; }
#feldkarte canvas { display:block; border-radius:4px; cursor:pointer; touch-action:none; box-shadow:0 0 0 1px rgba(0,0,0,.5); }
#feldkarte .fk-knoepfe { display:flex; align-items:center; justify-content:space-between; gap:4px; }
#feldkarte .fk-z { width:36px; height:30px; padding:0; border-radius:7px; font:800 20px/1 'SGZ Ziffern', Georgia, serif; color:var(--holz-text); background:rgba(0,0,0,.3); border:1px solid rgba(255,230,190,.4); cursor:pointer; }
#feldkarte .fk-pz { font:700 12px/1 'SGZ Ziffern', Georgia, serif; color:var(--holz-text); }
@media (pointer: coarse) { #feldkarte .fk-z { width:44px; height:40px; } }
@media (hover: hover) { #feldkarte .fk-z:hover { border-color:var(--akz-hell); } }
@keyframes karteRein { from { opacity:0; transform:translateY(8px) scale(.94); } to { opacity:1; transform:none; } }
#ansicht-menu .am-zoom { flex-direction:row; flex-wrap:wrap; }
#ansicht-menu .am-zoom .knopf { flex:1 1 0; min-width:46px; padding-left:4px; padding-right:4px; }
#ansicht-menu .am-klein { font-size:12px; color:var(--dim); line-height:1.35; }

.muenze { position:absolute; width:18px; height:18px; margin:-9px 0 0 -9px; border-radius:50%; z-index:66; pointer-events:none;
  background:radial-gradient(circle at 35% 30%, #fff6c8 0 18%, #f2c24c 40%, #b07a14 78%, #6e4a08 100%); box-shadow:0 0 0 1px #5a3a06, 0 0 10px rgba(255,210,90,.75); }
.muenze::after { content:''; position:absolute; inset:4px; border-radius:50%; border:1.5px solid rgba(110,70,8,.55); }
.kombo { position:absolute; z-index:64; pointer-events:none; display:flex; flex-direction:column; align-items:center; padding:8px 18px 7px; border-radius:14px; white-space:nowrap;
  background:radial-gradient(ellipse at 50% 30%, #c0392b, #7d1a10); border:3px solid #f2c24c; box-shadow:0 0 0 2px #4a0e08, 0 10px 24px rgba(0,0,0,.55), 0 0 26px rgba(255,190,80,.55); color:#fff3d0; }
.kombo .ko-t { font:900 28px/1 var(--kopf); letter-spacing:2px; text-shadow:0 2px 0 #4a0e08, 0 0 12px rgba(255,220,120,.8); }
.kombo .ko-u { font:700 12px/1.3 var(--sans); color:#ffe3a6; margin-top:3px; }
.kombo.k3 { background:radial-gradient(ellipse at 50% 30%, #d4762a, #8a3a0c); }
.kombo.k3 .ko-t { font-size:32px; }
.kombo.k4 { background:radial-gradient(ellipse at 50% 30%, #e8b030, #9a5a08); color:#2a1404; }
.kombo.k4 .ko-t { font-size:36px; text-shadow:0 2px 0 #fff0b0, 0 0 14px rgba(255,255,200,.9); }
.kombo.k4 .ko-u { color:#3a1c04; }
.ringglanz { fill:rgba(255,226,130,.35); stroke:#ffe08a; stroke-width:3; opacity:0; animation:ringGlanz .75s ease-out both; filter:drop-shadow(0 0 4px rgba(255,220,120,.9)); }
@keyframes ringGlanz { 0% { opacity:0; } 25% { opacity:1; } 100% { opacity:0; } }
.plus.gold { fill:#ffe08a !important; font-size:20px; }
.sch.me { position:relative; }
.sch-ziel { position:absolute; left:20px; right:20px; bottom:1px; height:4px; border-radius:2px; background:rgba(0,0,0,.45); overflow:visible; pointer-events:none; }
.sch-ziel .sz-f { position:absolute; left:0; top:0; bottom:0; border-radius:2px; background:linear-gradient(90deg, #b07a14, #ffd36b); box-shadow:0 0 6px rgba(255,210,90,.6); transition:width .5s ease-out; }
.sch-ziel .sz-m { position:absolute; top:-3px; width:3px; height:10px; margin-left:-1.5px; border-radius:1px; background:#f6efdc; box-shadow:0 0 0 1px rgba(0,0,0,.6); }
.sch-ziel .sz-m.an { background:#ffd36b; box-shadow:0 0 6px #ffd36b; }
.sternflug { position:absolute; z-index:67; pointer-events:none; width:54px; height:54px; color:#ffd36b; filter:drop-shadow(0 0 10px rgba(255,210,90,.9)) drop-shadow(0 3px 2px rgba(0,0,0,.5)); }
.sternflug .sgzi { width:100%; height:100%; }
@media (prefers-reduced-motion: reduce) { .ringglanz { animation:none; opacity:.6; } .sch-ziel .sz-f { transition:none; } }
#stage.hoch #feldkarte .fk-knoepfe, #stage.kompakt #feldkarte .fk-knoepfe { display:none; }
#stage.hoch #feldkarte, #stage.kompakt #feldkarte { padding:4px; }
