@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:#2a1d14; --text:#fbf3e4; --akz:#c23b4a; --akz-hell:#ffb3bb; --gold:#e8b53a;
  --kopf:'SGZ Ziffern', Georgia, 'Times New Roman', serif; --sans:'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --karte:#fff8ea; --karte-t:#352719; --karte-dim:#6c5845; --karte-band:#c23b4a; --karte-band-t:#fff;
  --holz-a:#8a5a33; --holz-b:#5a361b; --holz-kante:#3a2210; --holz-t:#fff3dc; --holz-dim:#f2d9a8;
  --wecker:#d83a46; --wecker-zf:#fff8ea; --wecker-t:#352719;
  --wimpel:#f4c430; --wimpel-t:#352719;
  --dlg-a:rgba(255,250,240,.98); --dlg-b:rgba(246,236,214,.98); --dlg-t:#2e2014; --dlg-dim:#5e4a36; --dlg-linie:rgba(140,100,60,.32);
  --kn-a:#fff3dc; --kn-b:#ead2a6; --kn-t:#3a2410; --gruen-a:#4f9a5a; --gruen-b:#2f6e3a;
  --dlg-akz:#b8323f; --scrim:rgba(30,18,8,.42); --abdunkeln:rgba(20,10,0,.06);
  --mel-a:rgba(46,30,18,.93); --mel-t:#fff6e4;
  --grund-farbe:linear-gradient(#e8d6b0 0%, #dcc49a 70%, #7a4a26 71%, #5c3519 100%);
  --rahmen-a:#a7703f; --rahmen-b:#6a4120;
}
:root[data-ans="abend"] {
  --grund-farbe:linear-gradient(#3a2c3e 0%, #5a3e42 70%, #3a2214 71%, #24140a 100%); --abdunkeln:rgba(10,6,20,.12);
  --dlg-a:rgba(46,34,30,.97); --dlg-b:rgba(32,24,20,.98); --dlg-t:#fbf1dc; --dlg-dim:#e6d2b0; --dlg-linie:rgba(240,190,130,.3);
  --kn-a:#5c4430; --kn-b:#3c2a1c; --kn-t:#fbeccb; --karte:#f6ecd4; --dlg-akz:#ffa0aa;
}
:root[data-ans="winter"] {
  --grund-farbe:linear-gradient(#cdd8e2 0%, #b9c6d2 70%, #6a4a30 71%, #4a321e 100%); --abdunkeln:rgba(10,20,30,.08);
  --dlg-a:rgba(36,42,50,.97); --dlg-b:rgba(26,30,38,.98); --dlg-t:#eef3f8; --dlg-dim:#c8d4e0; --dlg-linie:rgba(200,220,240,.28);
  --kn-a:#4a5664; --kn-b:#303a46; --kn-t:#f0f4f8; --dlg-akz:#ffa8b2;
}
* { box-sizing:border-box; }
html, body { margin:0; height:100%; overflow:hidden; background:var(--bg); color:var(--text); font-family:var(--sans); -webkit-tap-highlight-color:transparent; }
button { font:inherit; color:inherit; cursor:pointer; }
.zf { font-variant-numeric:lining-nums tabular-nums; font-kerning:none; }
#wrap { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; overflow:clip; }
#stage { position:relative; width:1280px; height:800px; transform-origin:center center; overflow:clip; flex:none; }
#grund { position:absolute; inset:0; background:var(--grund-q) center / cover no-repeat, var(--grund-farbe); }
#grund::after { content:""; position:absolute; inset:0; background:var(--abdunkeln); }
#stage.hoch #grund { background-image:var(--grund-h), var(--grund-farbe); }
#spiel { position:absolute; inset:0; }
*::-webkit-scrollbar { width:8px; height:8px; } *::-webkit-scrollbar-thumb { background:var(--akz); border-radius:4px; } *::-webkit-scrollbar-track { background:transparent; }
* { scrollbar-width:thin; scrollbar-color:var(--akz) transparent; }

#feld { position:absolute; left:200px; top:108px; width:880px; height:583px; touch-action:none; cursor:crosshair;
  border:10px solid var(--rahmen-b); border-image:linear-gradient(150deg, var(--rahmen-a), var(--rahmen-b)) 1; box-sizing:content-box; transform:translate(-10px, -10px);
  box-shadow:10px 16px 26px rgba(20,10,0,.5), inset 0 0 0 1px rgba(0,0,0,.3); }
#cv { position:absolute; left:0; top:0; display:block; }

#wimpel { position:absolute; left:50%; top:16px; transform:translateX(-50%); min-width:340px; max-width:560px; height:72px; padding:8px 26px 22px; text-align:center;
  background:var(--wimpel); color:var(--wimpel-t); clip-path:polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%); filter:drop-shadow(3px 5px 6px rgba(0,0,0,.35)); }
#wimpel b { display:block; font:700 19px/1.25 var(--kopf); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#wimpel small { display:block; font-size:13px; line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:#4a3826; }

.karte { position:absolute; left:24px; top:20px; width:170px; padding:0 0 8px; background:var(--karte); color:var(--karte-t); border-radius:6px; transform:rotate(-2.5deg);
  box-shadow:4px 8px 14px rgba(0,0,0,.4); text-align:center; overflow:hidden; }
.k-kopf { display:block; background:var(--karte-band); color:var(--karte-band-t); font:700 14px/26px var(--kopf); }
.karte b { display:block; font:700 30px/1.25 var(--kopf); margin-top:4px; }
.karte small { display:block; font-size:12.5px; color:var(--karte-dim); min-height:17px; white-space:nowrap; }
.karte[data-farbe="0"] small { color:#b3202c; } .karte[data-farbe="1"] small { color:#8a6200; } .karte[data-farbe="2"] small { color:#1d4f9e; } .karte[data-farbe="3"] small { color:#1f7a3a; }

#torte { position:absolute; right:24px; top:84px; width:170px; padding:6px 8px 8px; background:var(--karte); color:var(--karte-t); border-radius:10px; box-shadow:4px 8px 14px rgba(0,0,0,.4); text-align:center; }
#cv-torte { width:150px; height:80px; display:block; margin:0 auto; }
#w-leben { display:block; font:700 14px var(--kopf); }

#wecker { position:absolute; left:42px; top:300px; width:126px; height:126px; border-radius:50%; background:radial-gradient(circle at 40% 35%, #f0636d, var(--wecker) 60%, #9e1f2c);
  box-shadow:5px 9px 14px rgba(0,0,0,.45); display:flex; align-items:center; justify-content:center; }
#wecker::before { content:""; position:absolute; inset:14px; border-radius:50%; background:var(--wecker-zf); box-shadow:inset 2px 3px 6px rgba(0,0,0,.25); }
#wecker b { position:relative; font:700 30px var(--kopf); color:var(--wecker-t); }
#wecker .glocke { position:absolute; top:-8px; width:34px; height:20px; border-radius:20px 20px 4px 4px; background:linear-gradient(#e8dcc0, #b8a888); }
#wecker .glocke.l { left:8px; transform:rotate(-28deg); } #wecker .glocke.r { right:8px; transform:rotate(28deg); }
#wecker.knapp { animation:klingeln .5s ease-in-out infinite; }
#wecker.knapp b { color:#b3202c; }
@keyframes klingeln { 0%,100% { transform:rotate(0); } 25% { transform:rotate(-5deg); } 75% { transform:rotate(5deg); } }
@media (prefers-reduced-motion:reduce) { #wecker.knapp { animation:none; } }

.holz { background:linear-gradient(170deg, var(--holz-a), var(--holz-b)); color:var(--holz-t); border:2px solid var(--holz-kante); border-radius:8px; box-shadow:4px 8px 14px rgba(0,0,0,.45); }
#brett { position:absolute; right:24px; top:300px; width:170px; min-height:150px; padding:8px 10px; }
.b-kopf { display:block; font:700 14px var(--kopf); color:var(--holz-dim); margin-bottom:6px; }
#w-aktiv { display:flex; flex-direction:column; gap:6px; }
#w-aktiv .ak { display:grid; grid-template-columns:36px 1fr; grid-template-rows:auto auto; column-gap:6px; align-items:center; background:rgba(0,0,0,.25); border-radius:6px; padding:3px 5px; }
#w-aktiv .ak canvas { grid-row:1 / 3; width:36px; height:36px; }
#w-aktiv .ak b { font-size:13px; line-height:1.2; }
#w-aktiv .ak small { font-size:12px; color:var(--holz-t); }
#w-aktiv .leer { font-size:13px; color:var(--holz-t); line-height:1.35; }

#kopf { position:absolute; right:20px; top:20px; display:flex; gap:8px; }
.kb-ic { width:46px; height:46px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; border:2px solid var(--holz-kante);
  background:linear-gradient(var(--kn-a), var(--kn-b)); color:var(--kn-t); box-shadow:0 3px 0 var(--holz-kante), 0 6px 12px rgba(0,0,0,.35); padding:0; }
.kb-ic svg { width:22px; height:22px; }
#torte { top:82px; }

#finger, #k-stich { display:none; }
.finger #k-stich { display:flex; position:absolute; right:34px; bottom:34px; width:138px; height:138px; border-radius:50%; flex-direction:column; align-items:center; justify-content:center; gap:2px;
  border:3px solid #7a5418; background:radial-gradient(circle at 38% 32%, #f8dc8a, #d9a83a 60%, #9a7020); color:#3a2410; box-shadow:0 6px 0 #6a4810, 0 10px 18px rgba(0,0,0,.45); touch-action:none; user-select:none; -webkit-user-select:none; }
.finger #k-stich b { font:700 17px var(--kopf); }
#k-stich .nadel, #k-stich b, #finger span, #finger small { pointer-events:none; }
#k-stich .nadel { width:6px; height:42px; background:linear-gradient(#e9eef4, #8a909a); clip-path:polygon(50% 0, 100% 22%, 70% 100%, 30% 100%, 0 22%); }
#k-stich:active { transform:translateY(3px); box-shadow:0 3px 0 #6a4810, 0 6px 10px rgba(0,0,0,.4); }
#stage:not(.laeuft) #k-stich { visibility:hidden; }

#hinweis { position:absolute; left:50%; transform:translateX(-50%); width:min(760px, 90%); bottom:16px; height:40px; display:flex; align-items:center; justify-content:center; text-align:center;
  font-size:15px; line-height:1.25; color:var(--karte-t); pointer-events:none; }
#hinweis:not(:empty) { background:rgba(255,248,234,.94); border-radius:8px; padding:0 14px; box-shadow:0 4px 10px rgba(0,0,0,.25); }
#meld { position:absolute; left:50%; top:calc(var(--feld-o, 108px) + 14px); transform:translateX(-50%); width:min(560px, 92%); display:flex; flex-direction:column; align-items:center; gap:8px; pointer-events:none; z-index:5; }
.mel { pointer-events:none; background:var(--mel-a); color:var(--mel-t); border:1px solid rgba(255,220,170,.35); border-radius:10px; padding:10px 18px; font-size:15px; line-height:1.35; text-align:center; box-shadow:0 8px 20px rgba(0,0,0,.4); transition:opacity .4s; }
.mel b { display:block; font:700 16px var(--kopf); margin-bottom:2px; }
.mel.rot { border-color:#ff8a94; }
.mel.gold { border-color:#f4c430; }
.mel.gold b { color:#ffe08a; }
.mel.weg { opacity:0; }
.mel.leiste { pointer-events:auto; display:flex; gap:10px; padding:8px; }

#ov { position:absolute; inset:0; z-index:10; display:flex; align-items:center; justify-content:center; background:var(--scrim); }
#ov[hidden] { display:none; }
.dlg { position:relative; width:min(760px, 92%); max-height:92%; overflow:auto; border-radius:10px; color:var(--dlg-t);
  background:linear-gradient(var(--dlg-a), var(--dlg-b)); box-shadow:0 20px 50px rgba(0,0,0,.5); border:1px solid var(--dlg-linie); }
.dlg-inhalt { padding:6px 30px 26px; }
.dlg .zu { position:sticky; top:10px; float:right; margin:10px 10px 0 0; width:42px; height:42px; border-radius:50%; border:2px solid var(--holz-kante); background:linear-gradient(var(--kn-a), var(--kn-b)); color:var(--kn-t); font:700 24px/1 var(--sans); z-index:2; }
.dlg .zu[hidden] { display:none; }
.dlg h1 { font:700 44px/1.1 var(--kopf); margin:18px 0 2px; color:var(--dlg-akz); }
.dlg h2 { font:700 26px/1.2 var(--kopf); margin:20px 0 8px; }
.dlg h3 { font:700 18px var(--kopf); margin:18px 0 6px; }
.dlg p, .dlg li { font-size:15px; line-height:1.5; }
.dlg .unter { color:var(--dlg-dim); font-size:14px; }
.titel { text-align:center; }
.titel p { color:var(--dlg-dim); margin:0 0 14px; }
.kb { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:8px 16px; border-radius:10px; border:2px solid var(--holz-kante);
  background:linear-gradient(var(--kn-a), var(--kn-b)); color:var(--kn-t); font:700 16px var(--kopf); box-shadow:0 4px 0 var(--holz-kante), 0 8px 14px rgba(0,0,0,.3); }
.kb svg { width:20px; height:20px; flex:none; }
.kb:hover { filter:brightness(1.06); }
.kb:active { transform:translateY(2px); box-shadow:0 2px 0 var(--holz-kante); }
.kb.gruen { background:linear-gradient(var(--gruen-a), var(--gruen-b)); color:#fbf6e6; border-color:#1f4a26; box-shadow:0 4px 0 #1f4a26, 0 8px 14px rgba(0,0,0,.3); }
.kb:focus-visible, .kb-ic:focus-visible, .modus:focus-visible, .lv-k:focus-visible, .wahl button:focus-visible, .raeume button:focus-visible { outline:3px solid var(--akz-hell); outline-offset:2px; }
.knopfreihe { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:18px; }
.knopfreihe.klein { margin-top:12px; }
.kb.schnell { display:flex; margin:6px auto 12px; }
.modi { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.modus { display:flex; gap:12px; align-items:flex-start; text-align:left; padding:12px 14px; border-radius:10px; border:1px solid var(--dlg-linie); background:rgba(255,255,255,.28); color:var(--dlg-t); min-height:44px; }
:root[data-theme="dark"] .modus { background:rgba(255,255,255,.06); }
.modus svg { width:30px; height:30px; flex:none; color:var(--dlg-akz); margin-top:2px; }
.modus b { display:block; font:700 17px var(--kopf); }
.modus small { display:block; font-size:16px; color:var(--dlg-dim); line-height:1.35; margin-top:2px; }
.modus em { display:block; font-style:normal; font-size:16px; margin-top:5px; color:var(--dlg-t); }
.modus:hover { border-color:var(--akz); }
.wahl { display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:center; margin-top:12px; }
.wahl span { font-size:16px; color:var(--dlg-dim); }
.wahl button { min-height:40px; padding:6px 14px; border-radius:20px; border:1px solid var(--dlg-linie); background:transparent; color:var(--dlg-t); font-size:16px; }
.wahl button.an { background:var(--akz); color:#fff; border-color:var(--akz); }
.status { font-size:14.5px; padding:8px 12px; border-radius:8px; background:rgba(0,0,0,.05); }
.status.gut { color:#2f6e3a; } .status.rot { color:#a62a33; }
:root[data-theme="dark"] .status.gut { color:#9fe0a8; } :root[data-theme="dark"] .status.rot { color:#ffa3aa; }
.gross { text-align:center; margin:8px 0; }
.gross span { display:block; font-size:14px; color:var(--dlg-dim); }
.gross b { font:700 46px var(--kopf); color:var(--dlg-akz); }
.grund { text-align:center; }
table.rw { width:100%; border-collapse:collapse; font-size:14.5px; margin-top:8px; }
table.rw td { padding:5px 6px; border-bottom:1px solid var(--dlg-linie); }
table.rw td:last-child { text-align:right; white-space:nowrap; }
table.rw small { color:var(--dlg-dim); font-size:14px; }
table.rw tr.summe td { font-weight:700; border-bottom:none; border-top:2px solid var(--dlg-linie); }
.liste ol { margin:4px 0; padding-left:22px; }
.liste li { display:flex; justify-content:space-between; gap:10px; }
.kurz li { margin-bottom:8px; }
.medaillen { display:inline-flex; gap:4px; }
.medaillen i { width:18px; height:18px; border-radius:50%; background:rgba(120,100,80,.25); border:1px solid rgba(80,60,40,.3); display:inline-block; }
.medaillen i.m1.an { background:radial-gradient(circle at 35% 30%, #f2c7a0, #b87333); }
.medaillen i.m2.an { background:radial-gradient(circle at 35% 30%, #ffffff, #a9b0b8); }
.medaillen i.m3.an { background:radial-gradient(circle at 35% 30%, #fff0b0, #d9a520); }
.medaillen.gross { display:flex; justify-content:center; gap:10px; margin:4px 0; }
.medaillen.gross i { width:40px; height:40px; }
.medaillen i.wartet { opacity:.3; }
.medaillen i.neu { animation:medNeu .5s ease-out; }
@keyframes medNeu { 0% { transform:scale(.4); } 70% { transform:scale(1.2); } 100% { transform:scale(1); } }
.raeume { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:8px; }
.raeume button { flex:1 1 120px; min-height:44px; padding:6px 8px; border-radius:8px; border:1px solid var(--dlg-linie); background:transparent; color:var(--dlg-t); font:700 16px var(--kopf); }
.raeume button span { display:block; white-space:nowrap; }
.raeume button small { display:block; font:400 16px var(--sans); color:var(--dlg-dim); }
.raeume button.an { background:var(--akz); color:#fff; border-color:var(--akz); }
.raeume button.an small { color:#ffe6e8; }
.raeume button.zu-raum { opacity:.55; border-style:dashed; }
.level-gitter { display:grid; grid-template-columns:repeat(5, 1fr); gap:8px; }
.lv-k { position:relative; display:flex; flex-direction:column; align-items:center; gap:3px; min-height:104px; padding:8px 6px; border-radius:10px; border:1px solid var(--dlg-linie); background:rgba(255,255,255,.3); color:var(--dlg-t); text-align:center; }
:root[data-theme="dark"] .lv-k { background:rgba(255,255,255,.06); }
.lk-nr { font:700 22px var(--kopf); color:var(--dlg-akz); }
.lk-name { font-size:16px; line-height:1.2; min-height:38px; }
.lk-best, .lk-zu { font-size:16px; color:var(--dlg-dim); }
.lk-zu svg { width:12px; height:12px; vertical-align:-1px; }
.lv-k.naechst { border:2px solid var(--gruen-a); }
.lv-k.gesperrt { opacity:.55; border-style:dashed; cursor:not-allowed; }
.auftrag .neu { background:rgba(244,196,48,.18); border-left:4px solid var(--gold); padding:8px 12px; border-radius:0 8px 8px 0; }
.auftrag .neu svg { width:16px; height:16px; vertical-align:-3px; }
.buch-zahlen { display:grid; grid-template-columns:repeat(4, 1fr); gap:8px; text-align:center; }
.buch-zahlen span { font-size:13px; color:var(--dlg-dim); border:1px solid var(--dlg-linie); border-radius:8px; padding:8px 4px; }
.buch-zahlen b { display:block; font:700 24px var(--kopf); color:var(--dlg-akz); }
.erfolge { list-style:none; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.erfolge li { display:flex; gap:8px; align-items:center; padding:6px 8px; border-radius:8px; border:1px solid var(--dlg-linie); opacity:.65; }
.erfolge li.ja { opacity:1; border-color:var(--gold); }
.erfolge svg { width:22px; height:22px; flex:none; color:var(--gold); }
.erfolge small { display:block; font-size:12.5px; color:var(--dlg-dim); }
.regeln .kasten { background:rgba(244,196,48,.15); border:1px solid var(--dlg-linie); border-radius:10px; padding:10px 14px; }
.items { list-style:none; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:6px 14px; }
.items li { display:flex; gap:8px; align-items:center; font-size:14px; }
.items canvas { width:40px; height:40px; flex:none; }

#stage.quer-handy #wimpel { top:4px; height:58px; min-width:300px; max-width:460px; padding:4px 20px 14px; }
#stage.quer-handy #wimpel b { font-size:18px; }
#stage.quer-handy #wimpel small { font-size:16px; }
#stage.quer-handy .karte { left:12px; top:10px; width:160px; }
#stage.quer-handy .k-kopf { font-size:16px; line-height:26px; }
#stage.quer-handy .karte b { font-size:26px; }
#stage.quer-handy .karte small { font-size:16px; min-height:20px; }
#stage.quer-handy #torte { right:auto; left:12px; top:128px; width:160px; padding:4px 6px 6px; }
#stage.quer-handy #cv-torte { width:124px; height:66px; }
#stage.quer-handy #w-leben { font-size:16px; }
#stage.quer-handy #wecker { left:30px; top:auto; bottom:18px; width:116px; height:116px; }
#stage.quer-handy #wecker b { font-size:28px; }
#stage.quer-handy #brett { display:none; }
#stage.quer-handy #kopf { right:10px; top:10px; width:222px; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
#stage.quer-handy .kb-ic { width:66px; height:66px; }
#stage.quer-handy .kb-ic svg { width:28px; height:28px; }
.finger #stage.quer-handy #k-stich { right:20px; bottom:20px; width:150px; height:150px; }
#stage.quer-handy #hinweis { bottom:4px; height:40px; font-size:16px; width:min(600px, 58%); }

#stage.hoch { --unter:calc(var(--feld-o) + var(--feld-h) + 28px); }
#stage.hoch #wimpel { left:8px; right:8px; top:6px; transform:none; min-width:0; max-width:none; height:70px; padding:6px 16px 16px; clip-path:polygon(0 0, 100% 0, 100% 76%, 50% 100%, 0 76%); }
#stage.hoch #wimpel b { font-size:18px; }
#stage.hoch #wimpel small { font-size:15px; }
#stage.hoch .karte { left:10px; top:var(--unter); width:150px; transform:rotate(-2deg); padding-bottom:6px; }
#stage.hoch .k-kopf { font-size:15px; line-height:24px; }
#stage.hoch .karte b { font-size:28px; }
#stage.hoch .karte small { font-size:15px; min-height:20px; white-space:normal; line-height:1.2; }
#stage.hoch #wecker { left:calc(50% - 58px); top:calc(var(--unter) + 2px); width:116px; height:116px; }
#stage.hoch #wecker b { font-size:28px; }
#stage.hoch #wecker::before { inset:12px; }
#stage.hoch #torte { right:10px; left:auto; top:var(--unter); width:150px; padding:4px 4px 6px; }
#stage.hoch #cv-torte { width:132px; height:70px; }
#stage.hoch #w-leben { font-size:15px; }
#stage.hoch #brett { left:10px; right:auto; top:calc(var(--unter) + 136px); width:300px; min-height:0; height:136px; padding:6px 10px; overflow:clip; }
#stage.hoch .b-kopf { font-size:15px; margin-bottom:4px; }
#stage.hoch #w-aktiv { flex-direction:row; flex-wrap:wrap; gap:4px; }
#stage.hoch #w-aktiv .ak { grid-template-columns:30px auto; padding:2px 6px; }
#stage.hoch #w-aktiv .ak canvas { width:30px; height:30px; }
#stage.hoch #w-aktiv .ak b, #stage.hoch #w-aktiv .ak small, #stage.hoch #w-aktiv .leer { font-size:15px; }
#stage.hoch #kopf { left:auto; right:10px; top:calc(var(--unter) + 136px); bottom:auto; width:206px; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
#stage.hoch #kopf .kb-ic { width:64px; height:64px; }
#stage.hoch #kopf .kb-ic svg { width:28px; height:28px; }
.finger #stage.hoch #finger { display:flex; position:absolute; left:10px; right:178px; top:calc(var(--unter) + 288px); bottom:76px; border-radius:16px; align-items:center; justify-content:center; text-align:center; padding:8px;
  background:rgba(40,24,12,.86); border:2px dashed rgba(255,236,200,.6); color:#fff3dc; font-size:17px; line-height:1.4; touch-action:none; }
.finger #stage.hoch #finger small { font-size:15px; color:#f4d79a; }
.finger #stage.hoch #k-stich { right:12px; bottom:86px; width:156px; height:156px; }
#stage.hoch #hinweis { bottom:12px; width:96%; height:54px; font-size:15px; }
#stage.hoch .dlg-inhalt { padding:4px 18px 20px; }
#stage.hoch .modi { grid-template-columns:1fr; }
#stage.hoch .level-gitter { grid-template-columns:repeat(2, 1fr); }
#stage.hoch .buch-zahlen { grid-template-columns:repeat(2, 1fr); }
#stage.hoch .erfolge, #stage.hoch .items { grid-template-columns:1fr; }
#stage.hoch .dlg h1 { font-size:36px; }
#stage.hoch #feld { cursor:default; }

.dlg.eng .dlg-inhalt { padding-bottom:14px; }
.dlg.eng .titel h1 { font-size:32px; margin-top:8px; }
.dlg.eng .titel p { display:none; }
.dlg.eng .modus { padding:8px 10px; }
.dlg.eng .modus em { margin-top:2px; }
.dlg.eng .kb.schnell { margin:4px auto 8px; }
.dlg.eng .knopfreihe { margin-top:10px; }
.dlg.eng .wahl { margin-top:6px; }
.dlg.eng h2 { margin:10px 0 6px; }
.dlg.eng .lv-k { min-height:0; padding:6px 4px; }
.dlg.eng2 .modus small, .dlg.eng2 > .dlg-inhalt > .unter, .dlg.eng2 .lk-best, .dlg.eng2 .lk-zu, .dlg.eng2 .raeume button small { display:none; }
#stage:not(.hoch) .dlg.eng2 .modi { grid-template-columns:repeat(4, 1fr); }
#stage:not(.hoch) .dlg.eng2 .modus { flex-direction:column; align-items:center; text-align:center; gap:4px; }
.dlg.eng2 .wahl { display:inline-flex; margin:6px 6px 0; }
.dlg.eng2 .dlg-inhalt { text-align:center; }
.dlg.eng2 .modi, .dlg.eng2 .level-gitter, .dlg.eng2 .raeume { text-align:left; }

#stage.quer-handy .kb-ic { width:70px; height:70px; }
#stage.quer-handy #kopf { width:234px; }
#stage.hoch .dlg p, #stage.hoch .dlg li, #stage.hoch .dlg td, #stage.hoch .dlg small, #stage.hoch .dlg .unter, #stage.hoch .status, #stage.hoch .grund, #stage.hoch .dlg span:not(.lk-nr),
#stage.quer-handy .dlg p, #stage.quer-handy .dlg li, #stage.quer-handy .dlg td, #stage.quer-handy .dlg small, #stage.quer-handy .dlg .unter, #stage.quer-handy .status, #stage.quer-handy .grund, #stage.quer-handy .dlg span:not(.lk-nr) { font-size:16px; }
#stage.hoch table.rw small, #stage.quer-handy table.rw small { font-size:16px; }
#stage.hoch .kb, #stage.quer-handy .kb { min-height:68px; font-size:18px; padding:8px 18px; }
#stage.hoch .dlg .zu, #stage.quer-handy .dlg .zu { width:68px; height:68px; font-size:32px; }
#stage.hoch .modus, #stage.quer-handy .modus, #stage.hoch .wahl button, #stage.quer-handy .wahl button, #stage.hoch .raeume button, #stage.quer-handy .raeume button { min-height:68px; }
#stage.hoch .lv-k, #stage.quer-handy .lv-k { min-height:76px; }
#stage.quer-handy .dlg { width:min(900px, 94%); }
.kb.nur-klein { display:none; }
#stage.quer-handy .kb.nur-klein, #stage.hoch .kb.nur-klein { display:inline-flex; }
#stage.quer-handy .einst:not(.offen), #stage.hoch .einst:not(.offen) { display:none; }
.einst.offen .wahl { margin-top:14px; }
#stage.quer-handy .modus b, #stage.hoch .modus b { font-size:19px; }
#stage.quer-handy .modus em, #stage.hoch .modus em, #stage.quer-handy .modus small, #stage.hoch .modus small { font-size:18px; }
#stage.quer-handy .kb, #stage.hoch .kb { font-size:18px; }
#stage.quer-handy .wahl button, #stage.hoch .wahl button, #stage.quer-handy .wahl span, #stage.hoch .wahl span, #stage.quer-handy .raeume button, #stage.hoch .raeume button, #stage.quer-handy .lk-name, #stage.hoch .lk-name { font-size:18px; }

.karte small.ziel { color:var(--karte-dim); font-size:12.5px; min-height:16px; }
#stage.quer-handy .karte small.ziel, #stage.hoch .karte small.ziel { font-size:15px; min-height:19px; }
#stage.hoch .karte small#w-serie { display:none; }
.buch-raeume { display:grid; gap:6px; }
.buch-raeume .br { display:grid; grid-template-columns:130px 1fr 70px 80px; gap:8px; align-items:center; font-size:15px; }
.buch-raeume .br-balken { display:block; height:10px; border-radius:5px; background:rgba(120,100,80,.25); overflow:clip; }
.buch-raeume .br-balken i { display:block; height:100%; background:linear-gradient(90deg, #d9a520, #f4c430); }
.buch-raeume small { color:var(--dlg-dim); font-size:14px; }
#stage.hoch .buch-raeume .br { grid-template-columns:1fr 70px; }
#stage.hoch .buch-raeume .br-balken { grid-column:1 / -1; }
.kb-ic { flex:none; }
.finger #stage.hoch #finger { background:rgba(40,24,12,.16); }
.finger #stage.hoch #finger span { background:rgba(40,24,12,.88); border-radius:12px; padding:10px 14px; }
#stage #kopf .kb-ic { flex:0 0 46px; }
#stage.hoch #kopf .kb-ic { flex:0 0 64px; }
#stage.quer-handy #kopf .kb-ic { flex:0 0 70px; }

#torte.puste { animation:puste .6s ease-out; }
@keyframes puste { 0% { transform:rotate(0); } 20% { transform:rotate(-6deg) scale(1.04); } 45% { transform:rotate(5deg); } 70% { transform:rotate(-3deg); } 100% { transform:rotate(0); } }
@media (prefers-reduced-motion:reduce) { #torte.puste { animation:none; } }
.auftraege ul { list-style:none; padding:0; margin:6px 0; display:grid; gap:4px; }
.auftraege li { display:flex; align-items:center; gap:8px; padding:6px 10px; border-radius:8px; border:1px solid var(--dlg-linie); }
.auftraege li span { flex:1; }
.auftraege li svg { width:20px; height:20px; flex:none; color:var(--dlg-dim); }
.auftraege li.ok { border-color:var(--gruen-a); }
.auftraege li.ok svg { color:var(--gruen-a); }
.auftraege li.neu { box-shadow:0 0 0 2px var(--gold); }

#meld { left:16px; transform:none; top:440px; width:calc((100% - var(--feld-b, 880px)) / 2 - 36px); }
#meld .mel { width:100%; font-size:14.5px; padding:8px 10px; }
#stage.quer-handy #meld { left:10px; top:250px; width:170px; }
#stage.quer-handy #meld .mel { font-size:15px; padding:6px 8px; }
#stage.quer-handy #meld .mel:nth-last-child(n+2) { display:none; }
#stage.hoch #meld { left:12px; right:12px; width:auto; top:calc(var(--unter) + 290px); }
#stage.hoch #meld .mel { font-size:16px; }
.vorschau-zeile { display:flex; gap:14px; align-items:flex-start; margin:8px 0; }
#cv-vorschau { width:320px; height:212px; border-radius:6px; border:4px solid var(--rahmen-b); box-shadow:0 4px 10px rgba(0,0,0,.3); flex:none; }
.lv-liste { flex:1; font-size:15px; }
.lv-liste ol { margin:4px 0; padding-left:20px; }
.lv-liste li { display:flex; justify-content:space-between; gap:8px; }
#stage.hoch .vorschau-zeile, #stage.quer-handy .vorschau-zeile { flex-direction:column; align-items:center; }
#stage.hoch .lv-liste, #stage.quer-handy .lv-liste { width:100%; }
#stage.hoch .wahl button, #stage.quer-handy .wahl button { min-width:76px; }

.leiter { position:relative; height:14px; border-radius:7px; background:rgba(120,100,80,.25); margin:8px 0 4px; overflow:visible; }
.leiter-ist { position:absolute; left:0; top:0; bottom:0; border-radius:7px; background:linear-gradient(90deg, #b87333, #d9a520); }
.leiter-m { position:absolute; top:-4px; width:22px; height:22px; margin-left:-11px; border-radius:50%; border:2px solid rgba(60,40,20,.5); }
.leiter-m.m2 { background:radial-gradient(circle at 35% 30%, #ffffff, #a9b0b8); }
.leiter-m.m3 { background:radial-gradient(circle at 35% 30%, #fff0b0, #d9a520); }
#meld { z-index:10; }
#ov { z-index:20; }
#stage.quer-handy .dlg.eng2 .modus em { display:none; }
#stage.quer-handy .dlg.eng2 .modus b { font-size:22px; }
#stage.quer-handy .dlg.eng2 .kb { font-size:20px; }

.finger #stage:not(.hoch):not(.quer-handy) .kb-ic { width:54px; height:54px; min-width:54px; flex:0 0 54px; }
.finger #stage:not(.hoch):not(.quer-handy) .kb { min-height:54px; }
.finger #stage:not(.hoch):not(.quer-handy) .dlg .zu { width:54px; height:54px; }
.finger #stage:not(.hoch):not(.quer-handy) .wahl button { min-height:54px; }

.besonders { list-style:none; padding:0; margin:8px 0; display:grid; gap:6px; }
.besonders li { display:flex; gap:10px; align-items:center; font-size:14px; line-height:1.35; }
.besonders canvas { width:44px; height:44px; flex:none; border-radius:8px; background:rgba(120,100,80,.12); }
#stage.hoch .besonders li, #stage.quer-handy .besonders li { font-size:16px; }

#lern { position:absolute; left:50%; top:calc(var(--feld-o, 108px) + 8px); transform:translateX(-50%); width:min(760px, calc(var(--feld-b, 880px) - 24px)); z-index:8;
  background:rgba(255,248,232,.95); color:#3a2414; border:2px solid #c99a4a; border-radius:12px; box-shadow:0 6px 18px rgba(40,20,0,.35); padding:8px 12px 8px; }
#lern.gut { background:rgba(232,248,226,.96); border-color:#4bae5f; }
#lern.nochmal { background:rgba(255,236,226,.96); border-color:#e2434f; }
.lern-kopf { display:flex; align-items:center; justify-content:space-between; gap:10px; font:700 17px var(--kopf); }
#lern-punkte { display:flex; gap:4px; flex:none; }
#lern-punkte i { width:10px; height:10px; border-radius:50%; background:rgba(90,60,30,.25); }
#lern-punkte i.ok { background:#4bae5f; } #lern-punkte i.jetzt { background:#e8a014; box-shadow:0 0 0 2px rgba(232,160,20,.35); }
#lern-text { margin:4px 0 6px; font-size:16px; line-height:1.35; }
.lern-knoepfe { display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }
.lern-knoepfe .kb { min-height:44px; padding:4px 12px; font-size:14px; }
#stage.hoch #lern { width:calc(var(--feld-b) - 8px); padding:6px 10px; }
#stage.hoch .lern-kopf { font-size:19px; } #stage.hoch #lern-text { font-size:18px; }
#stage.hoch .lern-knoepfe .kb, #stage.quer-handy .lern-knoepfe .kb { min-height:64px; font-size:17px; }
#stage.quer-handy #lern { top:calc(var(--feld-o) + 4px); padding:5px 10px; }
#stage.quer-handy #lern-text { font-size:17px; margin:2px 0 4px; }
.kb.neu { box-shadow:0 0 0 3px rgba(232,160,20,.55); }
#stage.hoch #lern { top:82px; min-height:210px; box-sizing:border-box; display:flex; flex-direction:column; justify-content:space-between; }
#stage.hoch #lern[hidden] { display:none; }
#stage.quer-handy #lern { top:58px; min-height:112px; box-sizing:border-box; padding:5px 10px; }
#stage.quer-handy .lern-knoepfe { display:none; }
#stage.quer-handy .lern-kopf { font-size:17px; }
#stage.quer-handy #lern-text { font-size:15px; line-height:1.3; }

.ende-kopf { display:flex; align-items:center; justify-content:space-between; gap:14px; padding-right:52px; }
.ende-kopf h2 { margin:14px 0 4px; }
.ende-kopf .medaillen.gross { margin:10px 0 0; }
.ende-kopf .medaillen.gross i { width:34px; height:34px; }
#ov .grund { margin:2px 0 6px; font-size:14.5px; }
.ende-grid { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.15fr); gap:8px 18px; align-items:start; }
.ende-l .gross { margin:0; text-align:left; }
.ende-l .gross b { font-size:40px; line-height:1.05; }
.ende-l .leiter { margin:6px 0 2px; }
.unter.klein { font-size:13px; margin:4px 0; }
.ende-r table.rw { margin-top:0; font-size:13.5px; }
.ende-r table.rw td { padding:3px 5px; }
.ende-r table.rw small { font-size:12px; }
.ende-r .liste h3 { font-size:15px; margin:6px 0 2px; }
#ov .tipp { margin:6px 0 4px; font-size:13.5px; }
#ov .status { margin:4px 0; padding:5px 10px; font-size:13.5px; }
.auftraege.kompakt h3 { font-size:16px; margin:8px 0 2px; }
.auftraege.kompakt h3 small { font:400 12.5px var(--sans); color:var(--dlg-dim); margin-left:6px; }
.auftraege.kompakt ul { grid-template-columns:repeat(3, minmax(0, 1fr)); gap:6px; margin:4px 0; }
.auftraege.kompakt li { padding:4px 8px; font-size:13px; line-height:1.25; }
.ende-kopf + .grund + .ende-grid ~ .knopfreihe, .auftraege.kompakt ~ .knopfreihe { margin-top:8px; }
#stage.hoch .ende-grid { grid-template-columns:1fr; }
#stage.hoch .auftraege.kompakt ul { grid-template-columns:1fr; }
#stage.hoch .unter.klein, #stage.quer-handy .unter.klein, #stage.hoch .auftraege.kompakt li, #stage.quer-handy .auftraege.kompakt li, #stage.hoch .ende-r table.rw td, #stage.quer-handy .ende-r table.rw td { font-size:16px; }
#stage.hoch .ende-l .gross { text-align:center; }
#ov .ende-kopf + .grund { text-align:left; }
#stage.hoch #ov .ende-kopf + .grund { text-align:center; }

.buehnen { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; margin:8px 0; }
.buehne { display:flex; flex-direction:column; align-items:center; gap:4px; padding:6px; min-height:44px; border-radius:10px; border:2px solid var(--dlg-linie); background:transparent; color:var(--dlg-t); font:700 15px var(--kopf); cursor:pointer; }
.buehne canvas { width:100%; aspect-ratio:16 / 10; height:auto; border-radius:6px; }
.buehne.an { border-color:var(--akz); box-shadow:0 0 0 2px var(--akz); }
.buehne:focus-visible { outline:3px solid var(--akz-hell); outline-offset:2px; }
#stage.hoch .buehne, #stage.quer-handy .buehne { font-size:16px; min-height:64px; }
.modi .modus.breit { grid-column:1 / -1; border-width:2px; border-color:var(--gold, #d9a520); }
#stage.quer-handy .buehnen { grid-template-columns:repeat(5, minmax(0, 1fr)); gap:6px; margin:4px 0; }
#stage.quer-handy .buehne { padding:4px; gap:2px; }
#stage.quer-handy .buehne canvas { aspect-ratio:16 / 8; object-fit:cover; }
#stage.quer-handy .buehnen-text { display:none; }
#stage.quer-handy #ov h2 { margin-top:10px; }

#stage { --mo-bg1:#6a2f27; --mo-bg2:#3b1813; --mo-bg3:#22100c; --mo-rand:#d9a520; --mo-rand-weich:rgba(232,184,74,.3);
  --mo-akzent:#ffd36a; --mo-akzent2:#e8b84a; --mo-hell:#fff4d0; --mo-text:#efe3c8; --mo-leise:#e7d6bd; --mo-leiser:#d2bfa2;
  --mo-gut:#c9efb0; --mo-band1:#ffe39a; --mo-band2:#a7781e; --mo-band-t:#2a1606; }
#stage.hoch, #stage.quer-handy { --mo-fs-klein:16px; }
.dlg.mit-tafel { color:var(--mo-text); }
.dlg.mit-tafel .zu { background:#f6ead2; color:#3b1813; border-color:#d9a520; }
.tafel { text-align:center; padding:2px 4px 6px; }
.tafel .mo-kopf { padding-top:12px; padding-left:52px; padding-right:52px; }
.tafel .tk-held { position:relative; display:flex; align-items:center; justify-content:center; min-height:112px; padding:4px 0 0; }
.tafel .tk-mitte { flex:1; min-width:0; }
.tafel .tk-held .medaillen.gross { position:absolute; left:4px; top:50%; transform:translateY(-50%); flex-direction:column; gap:6px; margin:0; }
.tafel .tk-held .medaillen.gross i { width:30px; height:30px; }
.tafel .tk-held .medaillen.gross ~ .tk-mitte { padding:0 70px; }
.tafel h2 { margin:4px 0 0; font-size:22px; letter-spacing:.12em; text-transform:uppercase; color:#ffe39a; }
.tafel .mo-zahl b { font-family:inherit; }
.tafel .mo-zahl.mo-mittel b { font-size:44px; }
.tafel .mo-plakette b { color:#ffe39a; }
.tafel .mo-plakette .kb.klein { min-height:36px; padding:2px 10px; font-size:13px; }
#ov .tafel .grund { margin:8px 0 4px; font-size:14px; color:var(--mo-leise); text-align:center; }
.tafel .ziel { margin:6px 0; font-size:14px; color:#ffe39a; } .tafel .ziel svg { width:16px; height:16px; vertical-align:-3px; }
.tafel .mo-leiter { margin-top:2px; }
#ov .tafel .tipp { margin:6px 0; font-size:13.5px; color:var(--mo-leise); background:rgba(0,0,0,.28); border:1px solid rgba(232,184,74,.25); border-radius:10px; padding:6px 10px; text-align:left; }
.tafel .auftraege.kompakt h3 { color:#ffe39a; text-align:left; } .tafel .auftraege.kompakt h3 small { color:var(--mo-leiser); }
.tafel .auftraege li { color:var(--mo-text); border-color:rgba(232,184,74,.35); background:rgba(0,0,0,.22); text-align:left; }
.tafel .auftraege li svg { color:#e8b84a; }
.tafel .besonders li { text-align:left; color:var(--mo-text); } .tafel .besonders canvas { background:rgba(255,255,255,.08); }
.tafel .knopfreihe { margin-top:10px; }
.tafel details.mehr { margin-top:10px; text-align:left; background:#f6ead2; color:#3b1813; border-radius:10px; }
.tafel details.mehr > summary { cursor:pointer; min-height:44px; display:flex; align-items:center; justify-content:center; gap:6px; font-weight:700; color:#7a2a20; list-style:none; }
.tafel details.mehr > summary::-webkit-details-marker { display:none; }
.tafel details.mehr > summary svg { width:16px; height:16px; }
.tafel details.mehr[open] { padding:0 12px 10px; }
.tafel details.mehr table.rw td { color:#3b1813; border-color:rgba(59,24,19,.2); } .tafel details.mehr table.rw small { color:#7a5a48; }
#stage.hoch .tafel .mo-kacheln.mo-n4 { grid-template-columns:repeat(2, 1fr); }
#stage.hoch .tafel .mo-zahl b { font-size:50px; }
#stage.hoch .tafel .tk-held { min-height:96px; }
#stage.hoch .tafel .mo-kopf, #stage.quer-handy .tafel .mo-kopf, #stage.hoch .tafel .mo-plakette, #stage.quer-handy .tafel .mo-plakette,
#stage.hoch .tafel .mo-zahl span, #stage.quer-handy .tafel .mo-zahl span, #stage.hoch .tafel .mo-rang-kopf, #stage.quer-handy .tafel .mo-rang-kopf,
#stage.hoch .tafel .mo-leiter p, #stage.quer-handy .tafel .mo-leiter p { font-size:16px; }
#stage.hoch .tafel details.mehr > summary, #stage.quer-handy .tafel details.mehr > summary { min-height:64px; font-size:18px; }
.tafel .tk-unten.zwei { display:grid; grid-template-columns:minmax(0, 1.15fr) minmax(0, 1fr); gap:10px; align-items:start; }
.tafel .tk-unten.zwei .mo-rang { margin:8px 0 0; }
.tafel .tk-unten.zwei .auftraege.kompakt ul { grid-template-columns:1fr; }
.tafel .tk-unten.zwei .auftraege.kompakt h3 { margin-top:8px; }
#stage.hoch .tafel .tk-unten.zwei { grid-template-columns:1fr; }
#stage.quer-handy .tafel .tipp, #stage.quer-handy #ov .tafel .grund { display:none; }
#stage.quer-handy .tafel .mo-rang li:not(.mo-ich):not(.mo-luecke):nth-child(n+4) { display:none; }
#stage.quer-handy .tafel .tk-held { min-height:80px; }
#stage.quer-handy .tafel .mo-zahl b { font-size:46px; }
#stage.quer-handy .tafel h2 { font-size:18px; }
#stage.quer-handy .tafel .mo-kopf { padding-top:8px; padding-bottom:4px; }
.finger #stage:not(.hoch):not(.quer-handy) .tafel details.mehr > summary { min-height:54px; }
#zwtafel { position:absolute; left:50%; top:50%; transform:translate(-50%, -50%); width:min(440px, 86%); border-radius:14px; z-index:6; box-shadow:0 14px 30px rgba(0,0,0,.5); }
#zwtafel[hidden] { display:none; }
#zwtafel .mo-mini-fuss { display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap; margin-top:4px; font-size:14px; }
#zwtafel .kb.klein { min-height:40px; padding:4px 14px; font-size:14px; }
#stage.hoch #zwtafel, #stage.quer-handy #zwtafel { width:min(520px, 94%); }
#stage.hoch #zwtafel .mo-mini-fuss, #stage.quer-handy #zwtafel .mo-mini-fuss { font-size:16px; }
.tafel .leiter { margin:8px 6px 2px; background:rgba(0,0,0,.35); }
#stage.hoch .tafel .ziel, #stage.quer-handy .tafel .ziel { font-size:16px; }
#stage.quer-handy .tafel:has(#srv-rest.tk-unten) { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); column-gap:14px; align-items:start;
  grid-template-areas:"k k" "h r" "a a" "l m" "b b"; }
#stage.quer-handy .tafel:has(#srv-rest.tk-unten) > .mo-kopf { grid-area:k; }
#stage.quer-handy .tafel:has(#srv-rest.tk-unten) > .tk-held { grid-area:h; }
#stage.quer-handy .tafel:has(#srv-rest.tk-unten) > .mo-kacheln { grid-area:a; margin:4px 0; }
#stage.quer-handy .tafel:has(#srv-rest.tk-unten) > .tk-leiter { grid-area:l; }
#stage.quer-handy .tafel:has(#srv-rest.tk-unten) > #srv-rest { grid-area:r; display:block; }
#stage.quer-handy .tafel:has(#srv-rest.tk-unten) > #srv-rest .mo-rang { margin:6px 0 0; }
#stage.quer-handy .tafel:has(#srv-rest.tk-unten) > .knopfreihe { grid-area:b; }
#stage.quer-handy .tafel:has(#srv-rest.tk-unten) > details.mehr { grid-area:m; margin-top:8px; }
#stage.quer-handy .tafel:has(#srv-rest.tk-unten) > details.mehr[open] { grid-area:auto; grid-column:1 / -1; }
#stage.quer-handy .tafel .mo-zahl b { font-size:54px; }
#stage.quer-handy .tafel:has(#srv-rest.tk-unten):not(:has(.tk-leiter)) > details.mehr { grid-area:auto; grid-column:1 / -1; }
.dlg .titel h1 { margin-top:calc(18px + var(--luft, 0px) * 1.2); }
.dlg.eng .titel h1 { margin-top:calc(8px + var(--luft, 0px) * 1.2); }
.dlg .titel p { margin-bottom:calc(14px + var(--luft, 0px) * .6); }
.dlg .kb.schnell { margin-top:calc(4px + var(--luft, 0px) * .4); margin-bottom:calc(8px + var(--luft, 0px) * .8); }
.dlg .modi { gap:calc(12px + var(--luft, 0px) * .6); }
.dlg .modus { padding-top:calc(12px + var(--luft, 0px) * .35); padding-bottom:calc(12px + var(--luft, 0px) * .35); }
.dlg.eng .modus { padding-top:calc(8px + var(--luft, 0px) * .35); padding-bottom:calc(8px + var(--luft, 0px) * .35); }
.dlg:not(.mo-tafel) .knopfreihe { margin-top:calc(18px + var(--luft, 0px) * .8); }
.dlg.eng:not(.mo-tafel) .knopfreihe { margin-top:calc(10px + var(--luft, 0px) * .8); }
.dlg-inhalt { padding-bottom:calc(26px + var(--luft, 0px) * .6); }
#stage.hoch .dlg-inhalt { padding-bottom:calc(20px + var(--luft, 0px) * .6); }
.dlg.eng .dlg-inhalt { padding-bottom:calc(14px + var(--luft, 0px) * .6); }
#zwtafel .zw-abr { margin:6px 0 2px; } #zwtafel .mo-abr td { font-size:16px; } #zwtafel .mo-abr td small { color:var(--mo-leiser); font-size:13px; margin-left:4px; }
#zwtafel .mo-abr td.mo-w { font-size:20px; font-weight:700; }
#zwtafel .zw-summe { display:flex; align-items:baseline; justify-content:center; gap:10px; padding:4px 0 2px; border-top:1px solid var(--mo-rand-weich); }
#zwtafel .zw-summe span { font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--mo-leise); }
#zwtafel .zw-summe b { font-size:30px; color:var(--mo-akzent); display:inline-block; }
#zwtafel .zw-summe small { font-size:13px; color:var(--mo-leiser); }
#stage.hoch #zwtafel .mo-abr td, #stage.quer-handy #zwtafel .mo-abr td, #stage.hoch #zwtafel .zw-summe span, #stage.quer-handy #zwtafel .zw-summe span,
#stage.hoch #zwtafel .zw-summe small, #stage.quer-handy #zwtafel .zw-summe small, #stage.hoch #zwtafel .mo-abr td small, #stage.quer-handy #zwtafel .mo-abr td small { font-size:16px; }
.pflug { position:absolute; z-index:7; pointer-events:none; font:900 17px var(--kopf); color:var(--f, #fff3c8); white-space:nowrap;
  text-shadow:0 0 3px rgba(40,20,10,.9), 0 2px 0 rgba(40,20,10,.8), 0 0 10px rgba(255,210,90,.45); transform:translate(-50%,-50%); font-variant-numeric:tabular-nums lining-nums; }
.pflug.serie { font-size:19px; } .pflug.gross { font-size:24px; }
.karte.stoss #w-punkte { animation:kStoss .32s ease-out; }
@keyframes kStoss { 0% { transform:scale(1); } 35% { transform:scale(1.16); color:#c2711a; } 100% { transform:scale(1); } }
.karte.rekord { box-shadow:0 0 0 3px #e8b84a, 0 0 18px rgba(255,200,70,.75), 4px 8px 14px rgba(0,0,0,.4); }
#w-serie .kette { display:inline-flex; align-items:center; gap:3px; vertical-align:middle; }
#w-serie .kette i { width:8px; height:10px; border-radius:50% 50% 45% 45%; background:var(--f); opacity:.55; box-shadow:inset -1px -2px 0 rgba(0,0,0,.2); }
#w-serie .kette.an i { opacity:1; box-shadow:0 0 6px var(--f), inset -1px -2px 0 rgba(0,0,0,.15); }
#w-serie .kette i.neu { animation:lampe .35s ease-out; }
#w-serie .kette em { font-style:normal; margin-left:4px; font-weight:700; }
#w-serie .kette.reisst i { animation:lampeFaellt .6s ease-in forwards; }
#w-serie .kette.reisst i:nth-child(2n) { animation-delay:.05s; } #w-serie .kette.reisst em { opacity:.5; text-decoration:line-through; }
@keyframes lampe { 0% { transform:scale(.2) translateY(-6px); } 60% { transform:scale(1.4); } 100% { transform:scale(1); } }
@keyframes lampeFaellt { to { transform:translateY(16px) rotate(70deg); opacity:0; } }
#w-fort { position:absolute; left:50%; bottom:13px; width:42%; height:6px; transform:translateX(-50%); border-radius:3px; background:rgba(74,56,38,.25); overflow:hidden; }
#w-fort[hidden] { display:none; }
#w-fort b { display:block; height:100%; width:0; background:linear-gradient(90deg, #e2434f, #ffd23c, #4c8ff0, #4cc26a); transition:width .35s ease-out; }
#w-fort.fast b { animation:fastFertig .8s ease-in-out infinite; }
@keyframes fastFertig { 50% { filter:brightness(1.35); } }
#stage.quer-handy #w-fort { bottom:8px; height:5px; } #stage.hoch #w-fort { bottom:12px; width:50%; }
#w-rek { display:block; height:5px; margin:4px 14px 0; border-radius:3px; background:rgba(0,0,0,.12); overflow:hidden; }
#w-rek[hidden] { display:none; }
#w-rek b { display:block; height:100%; width:0; background:linear-gradient(90deg, #c9902a, #ffd36a); transition:width .3s ease-out; }
#w-rek.drueber b { background:linear-gradient(90deg, #ffd36a, #fff3b0, #ffd36a); animation:fastFertig 1.2s ease-in-out infinite; }
.rekord-band { position:absolute; left:50%; top:15%; z-index:7; pointer-events:none; text-align:center; transform:translate(-50%,-50%);
  animation:rekBand 2.2s cubic-bezier(.2,1.4,.4,1) both; }
.rekord-band span { display:inline-block; padding:8px 26px; background:linear-gradient(#ffe08a, #c9902a); color:#2a1806; font:900 30px var(--kopf); letter-spacing:.08em; text-transform:uppercase;
  border-radius:6px; box-shadow:0 0 26px rgba(255,200,70,.7), 0 5px 0 rgba(0,0,0,.35); transform:rotate(-4deg); }
.rekord-band small { display:inline-block; margin-top:10px; padding:2px 10px; border-radius:999px; background:rgba(40,20,10,.82); font:700 15px var(--kopf); color:#fff3dc; }
@keyframes rekBand { 0% { transform:translate(-50%,-50%) scale(2.6); opacity:0; } 18% { transform:translate(-50%,-50%) scale(1); opacity:1; } 80% { opacity:1; } 100% { transform:translate(-50%,-80%) scale(.9); opacity:0; } }
.muenze { position:absolute; z-index:8; width:54px; height:54px; border-radius:50%; pointer-events:none; border:3px solid rgba(0,0,0,.25); box-shadow:0 0 18px rgba(255,220,120,.8); }
.muenze::after { content:''; position:absolute; inset:9px; border-radius:50%; border:2px dashed rgba(255,255,255,.55); }
.muenze.m2 { background:radial-gradient(circle at 35% 30%, #ffffff, #a9b0b8); } .muenze.m3 { background:radial-gradient(circle at 35% 30%, #fff0b0, #d9a520); }
#torte .rauch { position:absolute; top:2px; width:12px; height:12px; border-radius:50%; background:rgba(120,120,120,.55); pointer-events:none; animation:rauch 1.4s ease-out forwards; }
@keyframes rauch { 0% { transform:translate(-50%,0) scale(.4); opacity:.8; } 100% { transform:translate(calc(-50% + 14px),-46px) scale(2.2); opacity:0; } }
@media (prefers-reduced-motion:reduce) { .pflug, .rekord-band, .muenze, #torte .rauch, #w-serie .kette i { animation:none; } }
#w-rek b, #w-fort b { margin:0; font-size:0; line-height:0; }
#stage.quer-handy #zwtafel .kb.klein, #stage.hoch #zwtafel .kb.klein { min-height:60px; padding:4px 16px; font-size:17px; }
#w-serie .kette { gap:2px; }
.pflug.gold { font-size:22px; color:#ffd76a; text-shadow:0 0 3px rgba(40,20,10,.9), 0 2px 0 rgba(40,20,10,.8), 0 0 14px rgba(255,200,60,.9); }
.dflug { position:absolute; z-index:8; width:44px; height:44px; pointer-events:none; filter:drop-shadow(0 3px 4px rgba(0,0,0,.45)) drop-shadow(0 0 8px rgba(255,230,140,.8)); }
.kflug { position:absolute; z-index:8; width:14px; height:22px; pointer-events:none; border-radius:50% 50% 45% 45% / 65% 65% 35% 35%;
  background:radial-gradient(circle at 50% 70%, #fff6c0 0 25%, #ffb03a 60%, #e2602a 100%); box-shadow:0 0 14px 4px rgba(255,180,60,.75); }
#brett.nimmt, #wecker.nimmt, #torte.nimmt { animation:nimmt .5s ease-out; }
@keyframes nimmt { 0% { filter:none; } 30% { filter:brightness(1.25) drop-shadow(0 0 10px rgba(255,220,120,.9)); transform:scale(1.06); } 100% { filter:none; } }
#torte.nimmt { transform-origin:50% 60%; }
#wecker.ablauf { animation:klingeln .25s ease-in-out infinite; }
#wecker.ablauf::before { box-shadow:inset 0 0 0 4px #4cc26a, inset 2px 3px 6px rgba(0,0,0,.25); }
#feld.blitz-gold { animation:blitzGold 1.2s ease-out; } #feld.blitz-rot { animation:blitzRot 1.2s ease-out; }
@keyframes blitzGold { 0%, 60% { box-shadow:0 0 0 6px #ffd36a, 0 0 40px 10px rgba(255,200,70,.8); } 100% { box-shadow:none; } }
@keyframes blitzRot { 0%, 25%, 50% { box-shadow:0 0 0 6px #e2434f, 0 0 40px 10px rgba(226,67,79,.8); } 12%, 37% { box-shadow:0 0 0 2px #e2434f; } 100% { box-shadow:none; } }
.restzahl { position:absolute; left:50%; top:38%; z-index:5; pointer-events:none; font:900 130px/1 var(--kopf); color:rgba(226,67,79,.82);
  -webkit-text-stroke:3px rgba(255,243,220,.95); text-shadow:0 4px 12px rgba(0,0,0,.35); transform:translate(-50%,-50%); animation:restZahl .9s ease-out forwards; font-variant-numeric:tabular-nums lining-nums; }
@keyframes restZahl { 0% { transform:translate(-50%,-50%) scale(1.8); opacity:0; } 18% { opacity:1; transform:translate(-50%,-50%) scale(1); } 60% { opacity:.9; } 100% { transform:translate(-50%,-50%) scale(.8); opacity:0; } }
@media (prefers-reduced-motion:reduce) { #brett.nimmt, #wecker.nimmt, #torte.nimmt, #wecker.ablauf, #feld.blitz-gold, #feld.blitz-rot, .restzahl { animation:none; } }
