@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:#2a1f15; --panel:rgba(43,29,18,.92); --panel2:rgba(58,40,24,.96); --panel-solid:#3a2818;
  --akz:#e3b54f; --akz-hell:#f6d77f; --akz2:#9a7414; --linie:rgba(227,181,79,.32);
  --text:#f6ecd8; --text-2:#e2d2b4; --text-3:#c3ae8a; --dim:#b9a07a;
  --gold:#f6d77f; --rot:#f0836a; --gruen:#a8d77a; --blau:#9cc4f0;
  --ov-a:#4a321c; --ov-b:#2a1c10; --scrim:rgba(14,9,4,.7);
  --knopf-a:#5a3d22; --knopf-b:#3a2614; --glas:rgba(30,20,10,.38);
  --feld1:#f2e6c8; --feld2:#e4d3ab; --feldlinie:rgba(110,80,40,.35);
  --kopf:'SGZ Ziffern', Georgia, 'Times New Roman', serif;
  --sans:'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}
:root[data-ansicht="sommer"] {
  --bg:#dfe6ea; --panel:rgba(246,241,230,.94); --panel2:rgba(236,229,214,.97); --panel-solid:#ece4d4;
  --akz:#8a5a12; --akz-hell:#7a4e0c; --akz2:#c09a3a; --linie:rgba(110,80,40,.32);
  --text:#2b2216; --text-2:#45382a; --text-3:#5d4e3c; --dim:#5d4e3c;
  --gold:#7a4e0c; --rot:#b4232f; --gruen:#2f7a2a; --blau:#1a5fb4;
  --ov-a:#f4eee2; --ov-b:#e3d9c6; --scrim:rgba(40,30,20,.45);
  --knopf-a:#f6efe0; --knopf-b:#ddd0b6; --glas:rgba(255,252,244,.6);
}
:where(html, html *) { scrollbar-width:thin; scrollbar-color:var(--akz) var(--panel2); }
:where(html) ::-webkit-scrollbar { width:9px; height:9px; }
:where(html) ::-webkit-scrollbar-track { background:var(--panel2); border-radius:5px; }
:where(html) ::-webkit-scrollbar-thumb { background:var(--akz); border-radius:5px; border:2px solid transparent; background-clip:padding-box; }
* { box-sizing:border-box; }
html, body { margin:0; height:100%; background:#160f08; 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, #3a2818 0%, #120c06 80%); }
:root[data-ansicht="sommer"] #wrap { background:radial-gradient(ellipse at center, #e8ecee 0%, #a9b2b8 85%); }
#stage { position:relative; width:1280px; height:800px; flex:none; transform-origin:center center; overflow:hidden; background:var(--bg); -webkit-touch-callout:none; font-variant-numeric:lining-nums tabular-nums; }
:root { --grund-q:url(img/stube-abend-q.webp?v=1); --grund-h:url(img/stube-abend-h.webp?v=1); --rand-flur:blur(3px) brightness(.6) saturate(.9); --rand-flur-hell:blur(3px) brightness(1.05) saturate(.7); }
:root[data-ansicht="nacht"] { --grund-q:url(img/stube-nacht-q.webp?v=1); --grund-h:url(img/stube-nacht-h.webp?v=1); }
:root[data-ansicht="sommer"] { --grund-q:url(img/stube-sommer-q.webp?v=1); --grund-h:url(img/stube-sommer-h.webp?v=1); --rand-flur:blur(3px) brightness(1.05) saturate(.7); }
#kulisse { position:absolute; inset:0; background:url(img/stube-abend-q.webp?v=1) center/cover, linear-gradient(#d9cdb3, #8a6f4c); }
#stage.hoch #kulisse { background-image:url(img/stube-abend-h.webp?v=1), linear-gradient(#d9cdb3, #8a6f4c); }
:root[data-ansicht="nacht"] #kulisse { background-image:url(img/stube-nacht-q.webp?v=1), linear-gradient(#2b2a3e, #5a3e24); }
:root[data-ansicht="nacht"] #stage.hoch #kulisse { background-image:url(img/stube-nacht-h.webp?v=1), linear-gradient(#2b2a3e, #5a3e24); }
:root[data-ansicht="sommer"] #kulisse { background-image:url(img/stube-sommer-q.webp?v=1), linear-gradient(#eef2f4, #b8c3c8); }
:root[data-ansicht="sommer"] #stage.hoch #kulisse { background-image:url(img/stube-sommer-h.webp?v=1), linear-gradient(#eef2f4, #b8c3c8); }
#stage.lobbyhg #kulisse { filter:blur(3px) brightness(.6) saturate(.9); }
:root[data-ansicht="sommer"] #stage.lobbyhg #kulisse { filter:blur(3px) brightness(1.05) saturate(.7); }
#kulisse i { position:absolute; width:7px; height:7px; border-radius:50%; background:#fff6d8; opacity:0; box-shadow:0 0 10px 3px rgba(255,236,170,.5); animation:schweben 7s ease-in-out infinite; }
#kulisse i:nth-child(1) { left:6%; top:14%; } #kulisse i:nth-child(2) { left:92%; top:18%; animation-delay:-2.4s; } #kulisse i:nth-child(3) { left:50%; top:4%; animation-delay:-4.6s; }
@keyframes schweben { 0%, 100% { opacity:0; transform:translate(0, 0); } 40% { opacity:.8; } 70% { opacity:.3; transform:translate(14px, 18px); } }
:root[data-ansicht="nacht"] #kulisse i { background:#ffc46b; box-shadow:0 0 14px 6px rgba(255,170,70,.55); animation-duration:4.4s; }
#stage.lobbyhg #kulisse i { display:none; }
@media (prefers-reduced-motion: reduce) { #kulisse i { animation:none; opacity:.4; } }
[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; }

.holz { background:linear-gradient(rgba(40,24,12,.55), rgba(30,18,8,.7)), url(img/holz.webp?v=1) center / 360px auto, #4a321c; border-color:rgba(227,181,79,.45) !important; }
:root[data-ansicht="sommer"] .holz { background:linear-gradient(rgba(250,244,232,.82), rgba(240,232,214,.88)), url(img/holz.webp?v=1) center / 360px auto, #e8dcc4; }
.panel { background:var(--panel); border:1px solid var(--linie); border-radius:12px; box-shadow:inset 0 1px 0 rgba(255,236,190,.1), 0 8px 22px rgba(0,0,0,.45); }
:root[data-ansicht="sommer"] .panel { box-shadow:inset 0 1px 0 #fff8, 0 6px 18px rgba(60,40,20,.22); }

.kb { display:inline-flex; align-items:center; justify-content:center; gap:7px; background:linear-gradient(180deg, var(--knopf-a), var(--knopf-b)); color:var(--text); border:1px solid var(--linie); border-radius:9px; padding:9px 16px; font-size:16px; font-weight:700; box-shadow:inset 0 1px 0 rgba(255,236,190,.15), 0 2px 8px rgba(0,0,0,.4); min-height:40px; }
:root[data-ansicht="sommer"] .kb { box-shadow:inset 0 1px 0 #fff8, 0 2px 6px rgba(60,40,20,.2); }
@media (hover: hover) { .kb:hover:not(:disabled) { border-color:var(--akz-hell); } }
.kb:disabled { opacity:.5; cursor:default; border-style:dashed; }
.kb-gold { background:linear-gradient(#fbe7a3, #d1a33d) !important; color:#2b1d05 !important; border-color:#fff0bd; box-shadow:0 2px 0 #6a4b06, inset 0 1px 0 #fff6; }
.kb-gruen { background:linear-gradient(#bfe39a, #5f9f3a) !important; border-color:#def3c8; color:#142408 !important; }
.kb.an { outline:2px solid var(--akz-hell); }
.kb-ic { width:47px; height:47px; display:inline-flex; align-items:center; justify-content:center; background:var(--glas); color:var(--text); border:1px solid var(--linie); border-radius:9px; padding:0; }
.kb-ic .sgzi { width:20px; height:20px; }
.kb-ic.an { background:rgba(227,181,79,.32); border-color:var(--akz-hell); }
.kb-ic:disabled { opacity:.45; border-style:dashed; cursor:default; }
@media (hover: hover) { .kb-ic:hover:not(:disabled) { border-color:var(--akz-hell); } }
.kb-klein { padding:5px 12px; font-size:14px; min-height:47px; }
.kb-gross { width:100%; padding:11px 18px; font-size:18px; }

#lobby, #tisch { position:absolute; inset:0; z-index:3; display:flex; flex-direction:column; }
.lo-kopf { position:relative; display:flex; align-items:center; gap:18px; padding:12px 24px 10px; border-bottom:1px solid var(--linie); }
.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); }
:root[data-ansicht="sommer"] .lo-logo { text-shadow:none; }
.lo-raum { font-size:18px; color:var(--text-2); font-style:italic; font-family:var(--kopf); }
.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 var(--linie); border-radius:8px; padding:9px 11px; font-size:15px; line-height:1.45; user-select:text; min-height:0; }
:root[data-ansicht="sommer"] :is(#chatwin, #tchatwin, #pchatwin) { background:rgba(255,252,244,.6); }
#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-ansicht="sommer"] :is(#chatin, #tchatin, #pchatin) { background:rgba(255,252,244,.85); }
.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; min-height:40px; }
:root[data-ansicht="sommer"] .lo-tabs button { background:rgba(255,252,244,.5); }
.lo-tabs button.an { background:rgba(227,181,79,.22); 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; }
:root[data-ansicht="sommer"] :is(.tb, .it, .ar, .st-k) { background:rgba(255,252,244,.55); }
@media (hover: hover) { .tb:hover { border-color:var(--akz-hell); } }
.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:.4; }
.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(246,215,127,.12); border:1px solid rgba(246,215,127,.6); }
.lo-stat { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:8px; }
.st-k { flex:1 1 90px; background:rgba(0,0,0,.2); border:1px solid var(--linie); border-radius:8px; padding:6px 8px; text-align:center; }
.st-k b { display:block; font-size:20px; color:var(--akz-hell); }
.st-k small { color:var(--text-3); font-size:12px; }
.aufgaben { flex:1 1 100%; border:1px solid var(--linie); border-radius:8px; padding:6px 10px; }
.au-kopf { font-weight:800; color:var(--akz-hell); font-size:14px; margin-bottom:4px; } .au-kopf small { color:var(--text-3); font-weight:500; }
.au { display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--text-2); padding:2px 0; }
.au-haken { width:18px; height:18px; border:1px solid var(--linie); border-radius:4px; display:inline-flex; align-items:center; justify-content:center; color:var(--gruen); }
.au.ok { color:var(--text); }
.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:.8; }
.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); }
.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; padding:10px; }
.pl { display:flex; align-items:center; gap:10px; padding:8px 12px; background:rgba(0,0,0,.18); border:1px solid var(--linie); border-radius:8px; }
:root[data-ansicht="sommer"] .pl { background:rgba(255,252,244,.6); }
.pl.me { border-color:var(--akz-hell); }
.pl.bereit { box-shadow:inset 3px 0 0 var(--gruen); }
.pl.leer { opacity:.78; }
.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; }
.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; min-height:36px; }
:root[data-ansicht="sommer"] :is(.ti-wahl, .lw-wahl) button { background:rgba(255,252,244,.7); }
.ti-wahl button.an { background:rgba(227,181,79,.24); 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; }
.lo-streifen { display:flex; align-items:center; gap:14px; margin:10px 24px 0; padding:9px 16px; border-radius:12px; background:var(--panel); border:1px solid var(--gruen); }
.lo-streifen.warten { border-color:var(--akz-hell); }
.ls-ico .sgzi { width:24px; height:24px; }
.ls-text { display:flex; flex-direction:column; font-size:15px; } .ls-text small { color:var(--text-2); font-size:13px; }
#ls-knopf { margin-left:auto; }
.lo-haupt { position:relative; flex:1; display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:16px; padding:12px 24px 16px; min-height:0; }
.lo-start { display:flex; flex-direction:column; gap:8px; min-height:0; padding:12px 16px; border:2px solid var(--akz); }
.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; min-height:42px; }
.lo-seg button + button { border-left:1px solid var(--linie); }
.lo-seg button.an { color:#2b1d05; background:linear-gradient(#fbe7a3, #d1a33d); }
.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-wahl > :nth-child(5))), .lo-optionen > .lw-paar > .lw-zeile:is(.lw-breit, :has(.lw-wahl > :nth-child(5))) { 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); min-height:36px; }
@media (hover: hover) { .lw-wahl button:hover { border-color:var(--akz-hell); } }
.lw-wahl button.an { background:rgba(227,181,79,.26); border-color:var(--akz-hell); color:var(--akz-hell); font-weight:800; }
.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-ansicht="sommer"] .lw-name input { background:rgba(255,252,244,.85); }
.lw-wuerfel { width:40px; flex:none; padding:0; }
.lw-info { display:inline-flex; width:20px; height:20px; margin-left:5px; border-radius:50%; align-items:center; justify-content:center; font:800 11.5px/1 var(--sans); color:#2b1d05; background:var(--akz-hell); border:0; vertical-align:1px; cursor:pointer; padding:0; }
:root[data-ansicht="sommer"] .lw-info { color:#fff8e6; }
.lw-zeile.gesperrt .lw-wahl button, .ti-opt.gesperrt .ti-wahl button { opacity:.5; border-style:dashed; }
.lw-zeile.gesperrt .lw-titel::after { content:' · nur zu zweit'; color:var(--text-3); }
.lw-box { font-size:12.5px; color:var(--text-2); line-height:1.45; background:rgba(227,181,79,.1); border:1px solid var(--linie); 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:rgba(227,181,79,.08); border:1px solid var(--linie); }
.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:#2b1d05; background:var(--akz-hell); }
:root[data-ansicht="sommer"] .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; }

#partie { position:absolute; inset:0; z-index:3; }
#kopf { position:absolute; left:16px; right:16px; top:12px; height:56px; display:flex; align-items:center; gap:14px; padding:0 14px; border:1px solid var(--linie); border-radius:12px; box-shadow:0 6px 18px rgba(0,0,0,.4); z-index:5; }
.logo { font-family:var(--kopf); font-size:24px; font-weight:900; letter-spacing:4px; color:var(--akz-hell); display:flex; flex-direction:column; line-height:1; text-shadow:0 2px 0 rgba(0,0,0,.55); }
:root[data-ansicht="sommer"] .logo { text-shadow:none; }
.logo small { font-size:12.5px; letter-spacing:2px; color:var(--text-2); margin-top:3px; font-family:var(--sans); }
.trenner { width:1px; height:32px; background:var(--linie); }
.runde { display:flex; align-items:baseline; gap:6px; font-size:14px; color:var(--text-2); } .runde b { font-size:22px; color:var(--text); min-width:2ch; }
.k-phase { flex:1 1 auto; min-width:0; font-size:17px; font-weight:700; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:420px; }
#stage.hoch:not(.hf) .logo { font-size:20px; letter-spacing:2px; } #stage.hoch:not(.hf) #kopf { gap:10px; }
#stage.hoch:not(.hf) .k-phase { font-size:15px; line-height:1.15; white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
#kopf .rechts { margin-left:auto; display:flex; align-items:center; gap:6px; }
.uhr { font-size:18px; font-weight:800; color:var(--akz-hell); padding:4px 10px; border-radius:8px; background:var(--glas); border:1px solid var(--linie); min-width:5ch; text-align:center; }
.uhr.knapp { color:var(--rot); border-color:var(--rot); }

#seite { position:absolute; right:var(--sr, 16px); top:80px; bottom:auto; height:var(--bw, calc(100% - 96px)); width:var(--sw, 434px);  display:flex; flex-direction:column; gap:10px; }
.pt { font-size:12.5px; letter-spacing:2px; text-transform:uppercase; color:var(--akz); font-weight:800; display:flex; justify-content:space-between; margin-bottom:6px; }
.pt-r { text-transform:none; letter-spacing:0; color:var(--text-3); font-weight:500; }
#aussteller { padding:10px 12px; flex:none; }
.as { display:grid; grid-template-columns:40px minmax(0, 1fr) 30px auto 26px; align-items:center; gap:8px; padding:5px 6px; border-radius:9px; border:1px solid transparent; }
.as + .as { margin-top:3px; }
#ausstellerliste:has(.as:nth-child(4)) .as { padding:1px 6px; } #ausstellerliste:has(.as:nth-child(4)) .as + .as { margin-top:1px; } #ausstellerliste:has(.as:nth-child(4)) .as .ava { width:36px; height:36px; font-size:16px; }
.as.ich { background:rgba(227,181,79,.08); }
.as.dran { border-color:var(--akz-hell); background:rgba(227,181,79,.16); }
.as.aus { opacity:.6; }
.ava { width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--rf); color:#fff; font-weight:800; font-size:18px; border:2px solid var(--rf); overflow:hidden; box-shadow:0 2px 6px rgba(0,0,0,.4); }
.ava.bild { background:#e8dcc4; }
.ava img { width:100%; height:100%; object-fit:cover; display:block; }
.as-nm { display:flex; flex-direction:column; min-width:0; } .as-nm b { font-size:15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .as-nm small { font-size:12px; color:var(--text-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mini-fig { overflow:visible; }
.mreihe { display:flex; gap:2px; }
.mk { width:20px; height:24px; border-radius:4px; display:inline-flex; align-items:center; justify-content:center; font-size:12px; font-weight:800; color:#3b2a0a; background:linear-gradient(#fbe7a3, #c9993a); border:1px solid #6b4a10; position:relative; }
.mk .sgzi { width:13px; height:13px; }
.mk.ab { background:transparent; color:var(--text-3); border-style:dashed; border-color:var(--text-3); transform:translateY(3px); }
.mk.kn::after { content:''; position:absolute; top:-3px; right:-3px; width:7px; height:7px; border-radius:50%; background:#fff3b0; border:1px solid #6b4a10; }
.mk.plan { box-shadow:0 0 0 2px #ffcf6a, 0 0 10px #ffcf6a; }
.mk.frisch, .sk.frisch { animation:frisch .9s ease-out; }
@keyframes frisch { 0% { box-shadow:0 0 0 0 rgba(255,230,140,.9); } 100% { box-shadow:0 0 0 14px rgba(255,230,140,0); } }
.as-uhr { font-size:13px; font-weight:800; color:var(--akz-hell); text-align:right; }

#aktion { padding:10px 12px; flex:none; display:flex; flex-direction:column; gap:8px; }
.l-text { font-size:15px; line-height:1.4; height:44px; overflow:hidden; color:var(--text); }
.l-text b { color:var(--akz-hell); }
.ratzeile { display:block; margin-top:3px; font-size:13.5px; color:var(--gold); }
.l-knoepfe { display:flex; gap:8px; height:47px; }
.zuschau { color:var(--text-3); font-style:italic; margin:6px 0; }
#pchat { flex:0 1 250px; min-height:0; display:flex; flex-direction:column; padding:8px 12px 10px; background:linear-gradient(rgba(250,244,230,.9), rgba(242,232,210,.92)), url(img/papier.webp?v=1) center / 320px auto; color:#2b2216; }
:root:not([data-ansicht="sommer"]) #pchat { --text:#2b2216; --text-2:#45382a; --text-3:#5d4e3c; --akz-hell:#7a4e0c; --linie:rgba(110,80,40,.32); }
.ch-tabs { display:flex; gap:4px; margin-bottom:6px; align-items:center; }
.ch-tabs button[data-c] { flex:1; padding:6px; font-size:14px; font-weight:700; border-radius:7px; border:1px solid var(--linie); background:transparent; color:var(--text-2); min-height:47px; }
.ch-tabs button.an { background:rgba(122,78,12,.14); color:var(--akz-hell); }
.ch-zu { display:none; }
.ch-liste { flex:1; overflow-y:auto; display:flex; flex-direction:column; gap:3px; font-size:13.5px; line-height:1.35; min-height:0; }
.ch-z { padding:3px 7px; border-left:3px solid var(--rf, transparent); border-radius:4px; background:rgba(255,252,244,.55); color:#2b2216; }
.ch-z.runde { font-weight:800; color:#7a4e0c; background:transparent; border:0; text-align:center; }
.ch-z.gut { color:#2f6a1c; } .ch-z.schlecht { color:#9c2a1a; }
.ch-chat { flex:1; display:flex; flex-direction:column; min-height:0; }
#pchatwin { background:rgba(255,252,244,.6); color:#2b2216; }
#pchatin { background:rgba(255,252,244,.9); color:#2b2216; }

.wahl { position:absolute; left:50%; top:50%; transform:translate(-50%, -50%); z-index:70; width:340px; padding:12px; display:flex; flex-direction:column; gap:7px; border-radius:14px; background:var(--panel-solid); border:2px solid var(--akz); box-shadow:0 14px 40px rgba(0,0,0,.6); }
.wahl-kopf { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:15px; position:sticky; top:0; }
.wahl-o { justify-content:flex-start; }
#meldungen { position:absolute; left:40px; width:calc(100% - 80px - 450px); top:118px; z-index:60; display:flex; flex-direction:column; align-items:center; gap:6px; pointer-events:none; }
.meldung { max-width:560px; }
#stage.hoch #meldungen { left:40px; right:40px; width:auto; top:118px; }
.meldung { padding:9px 14px; border-radius:10px; background:var(--panel-solid); border:1px solid var(--rot); color:var(--text); font-size:15px; line-height:1.4; box-shadow:0 6px 18px rgba(0,0,0,.5); transition:opacity .4s; }
.meldung.neutral { border-color:var(--akz); }
.meldung.weg { opacity:0; }
.banner { position:absolute; left:50%; top:38%; transform:translate(-50%, -50%) scale(.85); z-index:65; padding:16px 34px; border-radius:16px; text-align:center; background:var(--panel-solid); border:3px solid var(--akz); box-shadow:0 18px 50px rgba(0,0,0,.6); opacity:0; transition:opacity .3s, transform .3s; pointer-events:none; }
.banner.an { opacity:1; transform:translate(-50%, -50%) scale(1); }
.bn-titel { font-family:var(--kopf); font-size:40px; font-weight:900; letter-spacing:4px; color:var(--akz-hell); }
.bn-unter { font-size:17px; color:var(--text-2); margin-top:4px; }
.banner.klein .bn-titel { font-size:30px; }
.banner.gold { border-color:#fbe7a3; }
.wimpel { position:absolute; top:-20px; width:14px; height:18px; clip-path:polygon(0 0, 100% 0, 50% 100%); z-index:66; animation:wimpelfall 3s linear forwards; pointer-events:none; }
@keyframes wimpelfall { to { transform:translateY(900px) rotate(540deg); } }
#en-zurueck { position:absolute; left:50%; bottom:14px; transform:translateX(-50%); z-index:85; display:none; gap:10px; padding:8px 10px; border-radius:14px; background:var(--panel-solid); border:1px solid var(--akz); box-shadow:0 6px 20px rgba(0,0,0,.55); }

.overlay { position:absolute; inset:0; z-index:80; display:flex; align-items:center; justify-content:center; background:var(--scrim); }
#stage.hoch.lobbyhg #popup .ov-knoepfe .kb, #stage.hoch.lobbyhg #popup .ov-x { min-height:58px; min-width:58px; }
.ov-box { zoom:var(--ovz, 1); max-width:min(560px, calc(100% - 32px)); max-height:calc(100% - 40px); overflow:auto; padding:0 20px 18px; border-radius:16px; background:linear-gradient(var(--ov-a), var(--ov-b)); border:2px solid var(--akz); box-shadow:0 20px 60px rgba(0,0,0,.6); }
.ov-breit { max-width:min(860px, calc(100% - 32px)); width:860px; }
.ov-kopf { position:sticky; top:0; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0 8px; background:var(--ov-a); z-index:2; }
.ov-titel { font-family:var(--kopf); font-size:26px; font-weight:900; color:var(--akz-hell); }
.ov-x { flex:none; }
.pop-text { white-space:pre-line; font-size:15px; line-height:1.5; color:var(--text-2); margin:4px 0 12px; }
.ov-knoepfe { display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap; margin-top:12px; }
.en-unter { color:var(--text-2); font-size:15px; margin-bottom:10px; }
.en-liste { display:flex; flex-direction:column; gap:6px; }
.en-platz { display:grid; grid-template-columns:44px 44px minmax(0, 1fr) 70px 60px 100px 120px; align-items:center; gap:8px; padding:7px 10px; border-radius:10px; background:rgba(0,0,0,.2); }
:root[data-ansicht="sommer"] .en-platz { background:rgba(255,252,244,.6); }
.en-platz.kopf { background:transparent; font-size:12px; color:var(--text-3); text-transform:uppercase; letter-spacing:1px; padding:0 10px; }
.en-platz.ich { outline:2px solid var(--akz-hell); }
.en-platz .w { text-align:right; } .en-platz .w small { display:block; font-size:11.5px; color:var(--text-3); }
.nmx { display:flex; flex-direction:column; font-weight:700; } .nmx small { font-weight:400; font-size:12.5px; color:var(--text-3); }
.medaille { display:inline-flex; width:32px; height:32px; border-radius:50%; align-items:center; justify-content:center; font-weight:900; color:#3b2a0a; }
.medaille.m1 { background:linear-gradient(#fbe7a3, #d1a33d); } .medaille.m2 { background:linear-gradient(#f0f0ea, #a9adab); } .medaille.m3 { background:linear-gradient(#f0c79a, #b0702e); }
.en-einladung { margin-top:10px; padding:8px 12px; border-radius:8px; border:1px solid var(--gruen); color:var(--text); }
.hilfe-text { font-size:15px; line-height:1.55; color:var(--text-2); }
.hilfe-text h1, .hilfe-text h2 { color:var(--akz-hell); font-family:var(--kopf); }
#note { position:absolute; left:50%; bottom:20px; transform:translateX(-50%); z-index:90; padding:10px 16px; border-radius:10px; background:var(--panel-solid); border:1px solid var(--rot); }

#stage.hoch #feld { left:16px; right:16px; width:auto; top:80px; bottom:auto; height:calc(100% - 80px - 560px); }
#stage.hoch #seite { left:16px; right:16px; width:auto; top:auto; bottom:16px; height:540px; }
#stage.hoch #pchat { display:none; }
#stage.hoch .lo-haupt { grid-template-columns:minmax(0, 1fr); grid-template-rows:auto minmax(0, 1fr); }
#stage.hoch .ti-mitte { flex-direction:column; }
#stage.hoch .ti-plaetze, #stage.hoch .ti-chat { flex:none; }
#stage.hoch .ti-chat { height:200px; }

#feld { position:absolute; left:16px; top:80px; width:var(--fw, 820px); height:var(--fh, 704px); display:flex; flex-direction:column; gap:10px; padding:14px 16px 16px; }
#werktisch { position:absolute; inset:0; border-radius:18px; background:linear-gradient(rgba(60,34,14,.18), rgba(30,16,6,.28)), url(img/werktisch.webp?v=2) center / cover, linear-gradient(135deg, #8a5a32, #4e2e14);
  border:10px solid #3e2410; box-shadow:inset 0 0 0 2px rgba(255,220,160,.22), inset 0 0 50px rgba(0,0,0,.4), 0 18px 30px rgba(0,0,0,.55); }
#werktisch::after { content:''; position:absolute; inset:-10px; border-radius:18px; pointer-events:none; background:linear-gradient(135deg, rgba(255,230,180,.16), transparent 35%, transparent 70%, rgba(0,0,0,.25)); }
#gegner { position:relative; z-index:1; display:flex; gap:12px; justify-content:center; flex:none; }
#gegner:empty { display:none; }
.gegner-platz { display:flex; flex-direction:column; gap:4px; padding:6px 8px 8px; border-radius:12px; background:rgba(28,16,8,.86); border:1px solid rgba(227,181,79,.35); box-shadow:0 6px 14px rgba(0,0,0,.4); --zm:15px; }
#gegner[data-n="1"] .gegner-platz { --zm:20px; } #gegner[data-n="2"] .gegner-platz { --zm:17px; }
.gegner-platz.dran { border-color:var(--akz-hell); box-shadow:0 0 0 2px var(--akz-hell), 0 6px 14px rgba(0,0,0,.4); }
.gp-kopf { display:flex; align-items:center; gap:7px; font-size:14px; color:#f6ecd8; white-space:nowrap; }
.gp-kopf b { max-width:150px; overflow:hidden; text-overflow:ellipsis; }
.gp-kopf .zf { margin-left:auto; color:#f6d77f; font-weight:800; }
.gp-fach { width:22px; height:22px; border-radius:5px; border:1px dashed rgba(227,181,79,.5); display:inline-flex; }
.gp-fach.voll { border-style:solid; }
.gp-fach svg { width:100%; height:100%; }
:root[data-ansicht="sommer"] .gegner-platz { background:rgba(248,242,228,.92); }
:root[data-ansicht="sommer"] .gp-kopf { color:#2b2216; } :root[data-ansicht="sommer"] .gp-kopf .zf { color:#7a4e0c; }

#tischmitte { position:relative; z-index:1; flex:1; min-height:0; display:flex; gap:14px; align-items:stretch; justify-content:center; }

.rahmen { display:flex; gap:calc(var(--z, 52px) * .22); padding:8px 14px 12px; border-radius:12px; background:linear-gradient(#7a4c26, #4e2c12); border:3px solid #2e1a0a;
  box-shadow:inset 0 2px 0 rgba(255,220,170,.3), inset 0 -3px 0 rgba(0,0,0,.35), 0 10px 18px rgba(0,0,0,.45); align-items:flex-start; }
.rahmen.gross { align-self:center; }
.rahmen.mini { --z:var(--zm, 15px); padding:3px 5px 4px; gap:3px; border-width:2px; border-radius:7px; }
.rahmen-leer { color:#f6ecd8; font-size:15px; padding:20px; font-style:italic; }
.schnur { position:relative; display:flex; flex-direction:column; align-items:center; width:var(--sb, calc(var(--z, 52px) + 10px)); cursor:default; border-radius:9px; padding:2px 0 4px; }
.rahmen.mini .schnur { width:var(--z); padding:0; }
.schild { height:34px; width:calc(100% + 6px); display:flex; flex-direction:column; align-items:center; justify-content:center; font-size:12.5px; line-height:1.1; text-align:center; color:#2b1d0c;
  background:linear-gradient(#f6ecd2, #e2d0a8); border:1px solid #9c865c; border-radius:6px; box-shadow:0 2px 3px rgba(0,0,0,.35); margin-bottom:5px; overflow:hidden; }
.schild b { font-size:12.5px; white-space:nowrap; max-width:100%; overflow:hidden; text-overflow:ellipsis; } .schild .zf { font-weight:800; color:#7a4e0c; font-size:12.5px; }
.schild.offen { color:#6a5a3e; font-style:italic; }
.schild .sgzi { width:13px; height:13px; color:#2f7a2a; }
.rahmen.mini .schild { height:calc(var(--z) * .9); min-height:12px; width:var(--z); font-size:11px; margin-bottom:2px; border-radius:3px; padding:0; }
.rahmen.mini .schild .zf { font-size:11px; }
.faden { position:absolute; left:50%; top:36px; bottom:6px; width:2px; transform:translateX(-50%); background:linear-gradient(#e9dcc0, #b9a57e); box-shadow:0 0 2px rgba(0,0,0,.5); }
.rahmen.mini .faden { top:calc(var(--z) * .9 + 2px); width:1px; }
.zellen { position:relative; display:flex; flex-direction:column; gap:calc(var(--z, 52px) * .12); will-change:transform; }
.rahmen.mini .zellen { gap:2px; }
.zelle { position:relative; width:var(--z, 52px); height:var(--z, 52px); display:flex; align-items:center; justify-content:center; filter:drop-shadow(2px 4px 3px rgba(0,0,0,.5)); }
.zelle svg.perle { width:100%; height:100%; display:block; }
.zelle.unterwegs, .sp.unterwegs, .hand-perle.unterwegs { visibility:hidden; }
.zelle.offen-unten::after { content:''; position:absolute; inset:-3px; border-radius:50%; border:2px solid #f6d77f; box-shadow:0 0 8px rgba(246,215,127,.6); pointer-events:none; }
.rahmen.mini .zelle.offen-unten::after { inset:-1px; border-width:1px; }
.zelle.fehl::before { content:''; position:absolute; inset:-2px; border-radius:50%; border:2px dashed #f0836a; pointer-events:none; }
.zelle.waehlbar { cursor:pointer; animation:waehlbar 1.1s ease-in-out infinite; }
@keyframes waehlbar { 50% { filter:drop-shadow(0 0 8px #fff3b0) drop-shadow(2px 4px 3px rgba(0,0,0,.5)); } }
.zelle.gew { outline:3px solid #fff3b0; outline-offset:2px; border-radius:50%; }
.zelle.legbar { cursor:pointer; opacity:.85; } .zelle.gelegt { cursor:pointer; }
.eigen-siegel { position:relative; width:100%; height:100%; display:block; } .eigen-siegel > svg { width:100%; height:100%; }
.es-x { position:absolute; right:-4px; bottom:-4px; width:45%; height:45%; } .es-x svg { width:100%; height:100%; }
.oese { width:12px; height:12px; border-radius:50%; border:3px solid #c9a24a; margin-top:6px; box-shadow:0 1px 2px rgba(0,0,0,.5); }
.knoten { width:18px; height:14px; margin-top:4px; border-radius:50% 50% 40% 40%; background:radial-gradient(circle at 35% 35%, #f3e6c4, #a98c58); box-shadow:0 2px 3px rgba(0,0,0,.5); }
.rahmen.mini .oese, .rahmen.mini .knoten { display:none; }
.schnur.zu { background:rgba(80,140,60,.18); }
.schnur.zu .faden { background:linear-gradient(#c7e6a8, #6fa64a); }
.schnur.kann { cursor:pointer; background:rgba(255,243,176,.14); box-shadow:inset 0 0 0 2px rgba(255,243,176,.75); }
.schnur.kann::before { content:''; position:absolute; left:50%; top:-16px; width:0; height:0; transform:translateX(-50%); border:9px solid transparent; border-top:12px solid #8fe07a; filter:drop-shadow(0 1px 2px rgba(0,0,0,.6)); animation:pfeil 1s ease-in-out infinite; }
.schnur.kann.tausch { box-shadow:inset 0 0 0 2px #f0a35a; } .schnur.kann.tausch::before { border-top-color:#f0a35a; }
@keyframes pfeil { 50% { transform:translate(-50%, 5px); } }
.schnur.rat { box-shadow:inset 0 0 0 3px #ffe27a, 0 0 14px rgba(255,226,122,.6); }
.schnur.verknotet { animation:verknotet 1.4s ease-out; }
@keyframes verknotet { 0% { box-shadow:0 0 0 0 rgba(143,224,122,.9); background:rgba(143,224,122,.45); } 100% { box-shadow:0 0 0 22px rgba(143,224,122,0); } }
@media (prefers-reduced-motion: reduce) { .schnur.kann::before, .zelle.waehlbar, .schnur.verknotet { animation:none; } }

#ablage { flex:none; width:170px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; }
#ablage small { font-size:13px; color:#f6ecd8; font-weight:700; background:rgba(28,16,8,.86); padding:1px 7px; border-radius:6px; }
#schale { position:relative; width:166px; height:150px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; border-radius:50%;
  background:radial-gradient(ellipse at 40% 35%, #ffffff 0%, #f1ede4 45%, #cfc6b4 80%, #a99f8c 100%); box-shadow:inset 0 -10px 18px rgba(0,0,0,.18), inset 0 6px 10px rgba(255,255,255,.8), 0 10px 16px rgba(0,0,0,.45); border:2px solid #9f9886; }
#schale::before { content:''; position:absolute; inset:12px; border-radius:50%; border:2px solid #3e6aa8; opacity:.45; pointer-events:none; }
#schale small { color:#3e3426; background:none; position:absolute; bottom:6px; font-size:12.5px; }
#schale-perlen { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:6px; margin-top:-8px; }
#schale-perlen .sp:nth-child(5) { grid-column:1 / -1; justify-self:center; }
.sp { width:52px; height:52px; padding:3px; border-radius:50%; background:transparent; border:2px solid transparent; cursor:pointer; filter:drop-shadow(2px 3px 2px rgba(0,0,0,.45)); }
.sp svg { width:100%; height:100%; display:block; }
.sp.passt { border-color:rgba(143,224,122,.7); }
.sp.gew { border-color:#fff3b0; background:rgba(255,243,176,.4); transform:translateY(-3px); }
.sp.rat { box-shadow:0 0 0 3px #ffe27a; }
#hand { width:120px; height:92px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; border-radius:12px; background:rgba(28,16,8,.86); border:1px dashed rgba(227,181,79,.55); padding:6px; }
#hand small.leer { color:#c3ae8a; font-weight:500; text-shadow:none; }
.hand-perle { width:56px; height:56px; filter:drop-shadow(0 0 8px rgba(255,243,176,.7)) drop-shadow(2px 4px 3px rgba(0,0,0,.5)); }
.hand-perle svg { width:100%; height:100%; }
#sackfach { display:flex; gap:10px; align-items:flex-end; }
#sack { display:flex; flex-direction:column; align-items:center; gap:2px; }
.sack-bild { width:58px; height:62px; display:block; border-radius:42% 42% 30% 30% / 30% 30% 50% 50%; background:radial-gradient(circle at 35% 35%, #e9d9b0, #b89c66 70%, #7d6538); box-shadow:inset 0 -6px 10px rgba(0,0,0,.25), 0 6px 10px rgba(0,0,0,.45); position:relative; }
.sack-bild::before { content:''; position:absolute; left:18px; right:18px; top:6px; height:6px; border-radius:3px; background:#7d5a2a; }
#fach { display:flex; flex-direction:column; align-items:center; gap:2px; }
.fach-platz { width:58px; height:58px; border-radius:10px; background:linear-gradient(#6b4424, #3e2410); border:2px solid #2a160a; box-shadow:inset 0 3px 6px rgba(0,0,0,.6); display:flex; align-items:center; justify-content:center; padding:5px; }
.fach-platz svg { width:100%; height:100%; }

#seite { position:absolute; right:16px; top:80px; width:var(--sw, 420px); height:var(--fh, 704px); display:flex; flex-direction:column; gap:10px; }
.as { grid-template-columns:40px minmax(0, 1fr) 62px auto 26px; }
.as .ava { border:2px solid var(--sf, #c9a24a); }
.as-zu { display:flex; flex-direction:column; align-items:center; line-height:1.05; } .as-zu b { font-size:17px; color:var(--akz-hell); } .as-zu small { font-size:12px; color:var(--text-3); }
.as-vb { display:flex; gap:1px; } .as-vb .vb { width:16px; height:16px; opacity:.55; display:inline-flex; } .as-vb svg { width:100%; height:100%; }
.si-uhr { font-size:13px; font-weight:800; color:var(--akz-hell); text-align:right; }
.ava { width:40px; height:40px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:var(--sf, #5a4630); color:#fff; font-weight:800; overflow:hidden; flex:none; }
.ava.bild { background:#e8dcc4; } .ava img { width:100%; height:100%; object-fit:cover; display:block; }
#aktion .l-text { height:66px; overflow:hidden; }
.l-knoepfe { flex-wrap:wrap; height:auto; min-height:47px; }
#pchat { flex:1 1 auto; min-height:0; display:flex; flex-direction:column; padding:8px 12px 10px; }
.flug { position:absolute; z-index:60; pointer-events:none; filter:drop-shadow(3px 8px 6px rgba(0,0,0,.5)); }
.flug svg { width:100%; height:100%; display:block; }
.sonderblitz { position:absolute; z-index:61; width:100px; height:100px; pointer-events:none; animation:sonderblitz 1.15s ease-out forwards; }
.sonderblitz svg { width:100%; height:100%; }
@keyframes sonderblitz { 0% { transform:scale(.4); opacity:0; } 30% { transform:scale(1.25); opacity:1; } 100% { transform:scale(1.6); opacity:0; } }
.wahl.breit { width:min(760px, calc(100% - 24px)); }
.wahl-perle { display:flex; gap:12px; align-items:center; margin:8px 0; font-size:14.5px; line-height:1.4; }
.wahl-perle svg { width:64px; height:64px; flex:none; }
.wahl-hin { font-size:13.5px; color:var(--text-2); margin:4px 0 8px; }
.wahl-knoepfe { display:flex; flex-direction:column; gap:8px; }
.dr-platz { margin:8px 0; } .dr-name { display:flex; align-items:center; gap:6px; margin-bottom:4px; }
.rahmen.dr { --z:30px; padding:4px 8px 6px; gap:6px; display:inline-flex; }
.rahmen.dr .schnur { width:var(--z); } .rahmen.dr .schild { height:20px; width:var(--z); font-size:11px; }
.en-platz { grid-template-columns:44px 44px minmax(0, 1fr) 70px 54px 130px 70px; }
.zf { font-variant-numeric:lining-nums tabular-nums; }
#en-zurueck { position:absolute; left:50%; bottom:14px; transform:translateX(-50%); z-index:85; display:none; gap:10px; }

#stage.hoch #feld { left:16px; right:16px; width:auto; height:var(--fh); }
#stage.hoch #seite { left:16px; right:16px; width:auto; top:calc(92px + var(--fh)); bottom:16px; height:auto; }
#stage.hoch #tischmitte { flex-direction:column; align-items:center; }
#stage.hoch #ablage { width:auto; flex-direction:row; align-items:center; }
#stage.hoch #schale { width:310px; height:116px; } #stage.hoch #schale-perlen { grid-template-columns:repeat(5, auto); }
#stage.hoch #pchat { display:none; }
#stage.hf #kopf { left:8px; right:8px; top:8px; height:62px; gap:8px; padding:0 8px; }
#stage.hf .logo { font-size:17px; letter-spacing:2px; } #stage.hf .logo small, #stage.hf .trenner, #stage.hf .runde, #stage.hf .k-phase, #stage.hf #k-hilfe, #stage.hf #k-turbo { display:none !important; }
#stage.hf .kb-ic { width:52px; height:52px; }
#stage.hf #feld { left:8px; right:8px; top:76px; padding:8px; gap:6px; }
#stage.hf #seite { left:8px; right:8px; top:calc(84px + var(--fh)); bottom:8px; }
#stage.hf .gegner-platz { --zm:10px; padding:4px; } #stage.hf .gp-kopf { font-size:12.5px; } #stage.hf .gp-kopf b { max-width:70px; }
#stage.hf .schild b { font-size:11px; } #stage.hf .schild { height:28px; font-size:11px; }
#stage.hf .sp { width:44px; height:44px; } #stage.hf #schale { width:200px; height:96px; }
#stage.hf .l-knoepfe .kb { min-height:52px; }
#stage.hf #pchat, #stage.quer-handy #pchat { display:none; position:absolute; z-index:75; left:8px; right:8px; top:66px; bottom:8px; box-shadow:0 14px 40px rgba(0,0,0,.6); }
#stage.hf #partie.ch-offen #pchat, #stage.quer-handy #partie.ch-offen #pchat { display:flex; }
#stage.hf .ch-zu, #stage.quer-handy .ch-zu { display:inline-flex; flex:none; }
#k-blatt { display:none; }
#stage.hf #k-blatt, #stage.quer-handy #k-blatt { display:inline-flex; }
#k-blatt.neu { border-color:var(--akz-hell); box-shadow:0 0 0 2px var(--akz-hell); }
#stage.hf #meldungen { left:14px; right:14px; width:auto; top:96px; }
#stage.hf .en-platz { grid-template-columns:36px 40px minmax(0, 1fr) 54px 44px 76px; } #stage.hf .en-platz > :nth-child(6) { display:none; }
#stage.quer-handy #kopf { left:auto; right:12px; top:6px; width:calc(var(--sw) - 4px); height:64px; gap:6px; padding:0 8px; }
#stage.quer-handy .logo { font-size:16px; letter-spacing:2px; } #stage.quer-handy .logo small, #stage.quer-handy .trenner, #stage.quer-handy .k-phase, #stage.quer-handy #k-hilfe, #stage.quer-handy .runde { display:none !important; }
#stage.quer-handy .kb-ic { width:52px; height:52px; }
#stage.quer-handy #feld { left:12px; top:12px; height:calc(100% - 24px); width:calc(100% - var(--sw) - 36px); padding:6px 10px; gap:6px; }
#stage.quer-handy #seite { right:12px; top:78px; bottom:6px; height:auto; width:var(--sw); gap:8px; }
#stage.quer-handy .gegner-platz { --zm:10px; padding:3px 5px; }
#stage.quer-handy #ablage { width:150px; gap:6px; } #stage.quer-handy #schale { width:150px; height:140px; } #stage.quer-handy .sp { width:58px; height:58px; }
#stage.quer-handy #hand { width:100px; height:70px; } #stage.quer-handy .hand-perle { width:44px; height:44px; }
#stage.quer-handy .sack-bild { width:40px; height:44px; } #stage.quer-handy .fach-platz { width:44px; height:44px; }
#stage.quer-handy .schild { height:26px; } #stage.quer-handy .schild b { font-size:11px; }
#stage.quer-handy #meldungen { left:24px; width:calc(100% - var(--sw) - 60px); top:30px; }
@media (pointer: coarse) { .lw-info { width:26px; height:26px; } }

.sn-t { display:flex; flex-direction:column; align-items:center; max-width:100%; }
.sn-i { display:none; align-items:center; gap:2px; font-size:14px; font-weight:800; color:#7a4e0c; }
.sn-i .zz { width:16px; height:16px; flex:none; }
#stage.hf .sn-t, #stage.quer-handy .sn-t { display:none; }
#stage.hf .sn-i, #stage.quer-handy .sn-i { display:flex; }
#stage.hf .schild, #stage.quer-handy .schild { height:28px; }
#stage.hf #ablage { gap:8px; }
#stage.hf #schale { width:246px; height:104px; } #stage.hf #schale-perlen { grid-template-columns:repeat(5, auto); gap:3px; margin-top:-10px; }
#stage.hf .sp { width:52px; height:52px; }
#stage.hf #hand { width:88px; height:104px; }
#stage.hf #sackfach { flex-direction:column; gap:4px; align-items:center; }
#stage.hf .sack-bild { width:42px; height:44px; } #stage.hf .fach-platz { width:50px; height:50px; }
#stage.hf #sack small, #stage.hf #fach small { font-size:12px; }
#stage.hf #fach > small { display:none; }
#stage.hf .gp-kopf b { max-width:110px; }

#stage.quer-handy .logo { display:none; }
#stage.quer-handy #kopf { gap:4px; justify-content:flex-end; } #stage.quer-handy #kopf .rechts { gap:4px; margin-left:0; }
#stage.quer-handy .kb-ic { width:56px; height:56px; }
#stage.quer-handy .l-knoepfe .kb { min-height:56px; }
#stage.hf .schild .sn-i .zf, #stage.quer-handy .schild .sn-i .zf { font-size:14px; }
#stage.hf .rahmen.mini .schild .zf, #stage.quer-handy .rahmen.mini .schild .zf { font-size:13px; }


#stage.hoch #seite { bottom:auto; height:auto; }
#stage.hoch #aktion .l-text { height:auto; min-height:44px; max-height:66px; }
#stage.hoch #feld { height:auto; max-height:var(--fh); }
#stage.hoch #tischmitte { flex:none; }
#stage.hoch #seite { top:auto; bottom:12px; }
#stage.hf #seite { bottom:8px; }

#aussteller.panel, #aktion.panel { background:linear-gradient(rgba(40,24,12,.72), rgba(30,18,8,.82)), url(img/holz.webp?v=1) center / 360px auto, #4a321c; }
:root[data-ansicht="sommer"] #aussteller.panel, :root[data-ansicht="sommer"] #aktion.panel { background:linear-gradient(rgba(250,244,232,.86), rgba(240,232,214,.9)), url(img/holz.webp?v=1) center / 360px auto, #e8dcc4; }
#stage.hf #feld { left:20px; right:20px; } #stage.hf #seite { left:16px; right:16px; bottom:14px; }
#stage.quer-handy #feld { height:auto; max-height:calc(100% - 24px); top:50%; transform:translateY(-50%); }
#stage.quer-handy #tischmitte { flex:none; }
#stage.quer-handy #seite { bottom:auto; height:auto; max-height:calc(100% - 84px); }

#stage:not(.hoch):not(.quer-handy) #feld { left:24px; top:84px; height:var(--fh); }
#stage:not(.hoch):not(.quer-handy) #seite { right:24px; top:84px; height:var(--fh); }
#stage:not(.quer-handy) #tischmitte { flex-direction:column; align-items:center; justify-content:center; gap:12px; }
#stage:not(.quer-handy) #ablage { width:auto; flex-direction:row; align-items:center; gap:16px; }
#stage:not(.hoch):not(.quer-handy) #schale { width:300px; height:112px; } #stage:not(.hoch):not(.quer-handy) #schale-perlen { grid-template-columns:repeat(5, auto); margin-top:-12px; }
#stage:not(.hoch):not(.quer-handy) #pchat { flex:1 1 auto; }
.sn-t { flex-direction:row; gap:3px; align-items:center; white-space:nowrap; }
.sn-t .zz { width:14px; height:14px; flex:none; }
.sn-t b { font-size:12.5px; }
.schild { flex-direction:row; }
.schnur.zu .schild { background:linear-gradient(#d9f0c2, #a9d58a); border-color:#4f8a3a; }
.schnur.zu .zellen::after { content:''; position:absolute; inset:-4px -6px; border-radius:10px; border:2px solid rgba(143,224,122,.85); box-shadow:0 0 12px rgba(143,224,122,.5); pointer-events:none; }
.rahmen.gross .schild { width:calc(100% + 12px); padding:0 3px; position:relative; z-index:1; }
.sn-t { gap:2px; } .sn-t .zz { width:13px; height:13px; }
.rahmen.gross .schild { width:calc(100% + 16px); padding:0 2px; } .sn-t b { font-size:12px; letter-spacing:-.1px; } .schild .zf { font-size:12px; }

#stage:not(.hoch):not(.quer-handy) #meldungen { left:auto; right:24px; width:var(--sw); top:auto; bottom:28px; align-items:stretch; }
#stage.hoch #meldungen, #stage.hf #meldungen { left:24px; right:24px; width:auto; top:calc(76px + var(--fh)); transform:translateY(-100%); }
#stage.quer-handy #meldungen { left:auto; right:12px; width:var(--sw); top:auto; bottom:12px; align-items:stretch; }

.hilfe-text .anl-kurz { margin:0 0 14px; padding:10px 14px; border-radius:10px; border:1px solid var(--akz); background:rgba(227,181,79,.12); }
.hilfe-text .anl-kurz > b { display:block; margin-bottom:6px; color:var(--akz-hell); }
.hilfe-text .anl-kurz ul { margin:0; padding-left:20px; display:grid; gap:4px; }
.hilfe-text table { border-collapse:collapse; width:100%; margin:8px 0; } .hilfe-text th, .hilfe-text td { text-align:left; padding:5px 8px; border-bottom:1px solid var(--linie); vertical-align:top; }
.hilfe-text th { color:var(--akz-hell); font-weight:700; }

.gegner-platz { transition:transform .38s ease; transform-origin:top center; position:relative; }
.gegner-platz.dran { transform:scale(var(--spot, 1.8)); z-index:6; box-shadow:0 0 0 2px var(--akz-hell), 0 18px 40px rgba(0,0,0,.6); }
#gegner[data-n="1"] { --spot:1.7; } #gegner[data-n="2"] { --spot:1.8; } #gegner[data-n="3"] { --spot:1.9; }
#stage.hf #gegner { --spot:1.6; } #stage.quer-handy #gegner { --spot:1.5; }
.sp.plan { box-shadow:0 0 0 4px var(--sf, #ffcf6a), 0 0 16px #ffcf6a; transform:translateY(-4px) scale(1.08); transition:transform .25s, box-shadow .25s; }
.schnur.plan, .schnur.ziel { box-shadow:inset 0 0 0 3px #ffcf6a, 0 0 14px rgba(255,207,106,.7); background:rgba(255,207,106,.18); }
@media (prefers-reduced-motion: reduce) { .gegner-platz { transition:none; } }

.zelle.austeilen { animation:austeilen .5s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes austeilen { from { opacity:0; transform:translateY(-26px) scale(.6); } to { opacity:1; transform:none; } }
.knotenstempel { position:absolute; z-index:62; transform:translate(-50%, -50%) rotate(-8deg); display:flex; align-items:center; gap:6px; padding:6px 12px; border-radius:10px;
  background:linear-gradient(#d9f0c2, #8cc46e); border:2px solid #3e7a2e; color:#1d3a12; font:800 16px var(--sans); box-shadow:0 8px 18px rgba(0,0,0,.5); pointer-events:none; animation:stempel 1.5s ease-out forwards; }
.knotenstempel .zz { width:20px; height:20px; }
@keyframes stempel { 0% { transform:translate(-50%, -50%) rotate(-8deg) scale(1.8); opacity:0; } 18% { transform:translate(-50%, -50%) rotate(-8deg) scale(1); opacity:1; } 80% { opacity:1; } 100% { opacity:0; } }
@media (prefers-reduced-motion: reduce) { .zelle.austeilen, .knotenstempel { animation:none; } }

#schale-perlen .sp, #hand .hand-perle { touch-action:none; }
.flug.geist { transition:none !important; opacity:.92; filter:drop-shadow(4px 12px 8px rgba(0,0,0,.55)); z-index:70; }
#partie.zieht { cursor:grabbing; }
.schnur.ueber { box-shadow:inset 0 0 0 3px #8fe07a, 0 0 16px rgba(143,224,122,.8); background:rgba(143,224,122,.2); }
.mk-knopf { min-height:32px; padding:3px 10px; font-size:12.5px; } .mk-knopf .sgzi { width:15px; height:15px; }
.mk-text { margin:0 0 10px; font-size:14px; color:var(--text-2); }
.mk-gitter { display:grid; grid-template-columns:1fr 1fr; gap:14px; } .mk-gitter h3 { margin:0 0 6px; font-size:15px; color:var(--akz-hell); }
.mk-z { display:grid; grid-template-columns:22px minmax(0, 1fr) 30px 52px; align-items:center; gap:6px; padding:3px 6px; border-radius:6px; font-size:14px; }
.mk-z .zz { width:18px; height:18px; } .mk-z b { text-align:right; font-size:15px; } .mk-z small { color:var(--text-3); font-size:12px; }
.mk-z.mein { background:rgba(143,224,122,.18); box-shadow:inset 3px 0 0 #8fe07a; }
#stage.hf .mk-gitter { grid-template-columns:1fr; }
.sack-bild { background:none !important; box-shadow:none !important; width:64px; height:70px; } .sack-bild::before { display:none; }
.sack-svg { width:100%; height:100%; filter:drop-shadow(2px 6px 5px rgba(0,0,0,.5)); }
#hand { background:radial-gradient(ellipse at 40% 35%, #7a1f2e, #4a0f1a 70%, #2e0810); border:3px solid #6b4424; box-shadow:inset 0 4px 10px rgba(0,0,0,.6), 0 6px 12px rgba(0,0,0,.45); }
#hand small.leer { color:#e8c9cf; }
.fach-platz { background:linear-gradient(135deg, #8a5a32, #4e2c12); border:3px solid #2e1a0a; box-shadow:inset 0 0 0 3px rgba(255,220,170,.15), inset 0 6px 10px rgba(0,0,0,.6), 0 6px 10px rgba(0,0,0,.4); }
#en-liste .sz-nm { display:grid; grid-template-columns:44px minmax(0, 1fr); column-gap:10px; align-items:center; }
#en-liste .sz-nm > .ava { grid-row:1 / span 4; }

#oben { position:relative; z-index:2; display:flex; gap:12px; justify-content:center; align-items:flex-start; flex:none; }
#oben #gegner { flex:0 1 auto; }
#auftraege { flex:none; display:flex; flex-direction:column; gap:5px; width:168px; }
#auftraege[hidden] { display:none; }
.az-kopf { font:800 12px var(--sans); letter-spacing:1.5px; text-transform:uppercase; color:#f6ecd8; background:rgba(28,16,8,.86); padding:2px 8px; border-radius:6px; align-self:flex-start; }
.zettel { display:grid; grid-template-columns:22px minmax(0, 1fr) auto; align-items:center; gap:6px; padding:4px 8px; border-radius:4px; color:#2b1d0c;
  background:url(img/papier.webp?v=1) center / 220px auto, #efe3c8; border:1px solid #b39b6c; box-shadow:0 3px 6px rgba(0,0,0,.4); transform:rotate(-1deg); }
.zettel:nth-child(odd) { transform:rotate(1.2deg); }
.zettel .zz { width:20px; height:20px; } .zz-k { width:20px; height:20px; border-radius:50%; background:#7a4e0c; color:#fff6dc; font:800 12px var(--sans); display:flex; align-items:center; justify-content:center; }
.zettel .zt { display:flex; flex-direction:column; min-width:0; line-height:1.15; } .zettel .zt b { font-size:12.5px; } .zettel .zt small { font-size:12px; color:#5a4630; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.zettel .zp { font:800 14px var(--sans); color:#2f6a1c; }
.zettel.unterwegs { visibility:hidden; }
.zettel.erfuellt { box-shadow:0 0 0 3px #8fe07a, 0 0 18px rgba(143,224,122,.7); }
.zettelflug { z-index:66; }
#stage.hf #auftraege, #stage.quer-handy #auftraege { width:132px; } #stage.hf .zettel .zt small, #stage.quer-handy .zettel .zt small { display:none; }
#stage.hf #oben { gap:6px; }
#auftraege { width:176px; gap:4px; } .zettel { padding:3px 7px; }
#stage.hf #ablage { flex-wrap:wrap; justify-content:center; } #stage.hf #auftraege { flex-direction:row; width:auto; } #stage.hf .az-kopf { display:none; }
#stage:not(.hoch):not(.quer-handy) #schale { width:156px; height:146px; } #stage:not(.hoch):not(.quer-handy) #schale-perlen { grid-template-columns:repeat(2, auto); margin-top:-10px; }
#stage:not(.quer-handy) #ablage { gap:14px; }
#ablage .zettel small { background:none; padding:0; border-radius:0; color:#5a4630; font-weight:500; text-shadow:none; }
#ablage .az-kopf { font-size:12px; }
.gegner-platz { background:none; border:0; box-shadow:none; padding:0; }
.gegner-platz .gp-kopf { background:rgba(28,16,8,.88); padding:2px 8px; border-radius:8px; border:1px solid rgba(227,181,79,.35); }
:root[data-ansicht="sommer"] .gegner-platz { background:none; } :root[data-ansicht="sommer"] .gegner-platz .gp-kopf { background:rgba(248,242,228,.94); }
.gegner-platz.dran { box-shadow:none; } .gegner-platz.dran .rahmen { box-shadow:0 0 0 3px var(--akz-hell), 0 14px 30px rgba(0,0,0,.6); } .gegner-platz.dran .gp-kopf { border-color:var(--akz-hell); }
#feld { border-radius:18px; box-shadow:0 18px 30px rgba(0,0,0,.5); }

.lw-lern { display:flex; align-items:center; gap:10px; justify-content:space-between; border-color:var(--akz); } .lw-lern .kb { flex:none; }
#lernplatz { flex:none; }
.lernkarte { padding:8px 12px; border-radius:10px; background:linear-gradient(rgba(250,244,230,.96), rgba(236,226,204,.96)); color:#2b2216; border:1px solid #b39b6c; box-shadow:0 4px 12px rgba(0,0,0,.4); display:flex; flex-direction:column; gap:3px; }
.lernkarte small { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:12px; font-weight:800; letter-spacing:1px; text-transform:uppercase; color:#7a4e0c; }
.lernkarte b { font-size:16px; } .lernkarte em { font-style:normal; font-size:14px; line-height:1.35; color:#45382a; }
.lern-p { display:inline-flex; gap:4px; } .lern-p i { width:10px; height:10px; border-radius:50%; border:1.5px solid #7a4e0c; } .lern-p i.an { background:#2f7a2a; border-color:#2f7a2a; }

.pt { align-items:center; } .a-dran { display:none; font-family:var(--kopf); font-size:17px; font-weight:800; line-height:1.2; letter-spacing:0; text-transform:none; color:var(--akz-hell); min-width:0; }
#stage.hf .a-dran, #stage.quer-handy .a-dran { display:block; } #stage.hf .pt-t, #stage.quer-handy .pt-t { display:none; }
#stage.hf .kb-ic { width:56px; height:56px; }
#stage.hf .logo { display:none; }
#stage.hf #kopf { justify-content:flex-end; } #stage.hf #kopf .rechts { margin-left:0; }
#stage.hf .sp { width:56px; height:56px; } #stage.hf #schale { width:300px; }
#stage.hf small, #stage.hf #sack small, #stage.hf #fach small, #stage.hf #sack-zahl, #stage.quer-handy small, #stage.quer-handy #sack-zahl { font-size:13px; }
#stage.hf .kb.kb-klein, #stage.quer-handy .kb.kb-klein { min-height:56px; }
#stage.hf #kopf, #stage.hf #feld, #stage.hf #seite { left:26px; right:26px; }
#stage.hf #ablage { gap:6px; flex-wrap:wrap; } #stage.hf #hand { width:78px; padding:4px; } #stage.hf #hand small { font-size:13px; line-height:1.15; text-align:center; }
#stage.hf #schale { width:242px; } #stage.hf #schale-perlen { grid-template-columns:repeat(4, auto); }
#stage.hf #feld { padding:6px 8px; gap:4px; }
#stage.hf .l-knoepfe .kb { min-height:56px; }
#stage.quer-handy #k-turbo { display:none !important; }
#stage.quer-handy #kopf { background:none; border-color:transparent; box-shadow:none; }
#stage.quer-handy #seite { overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; gap:8px; }
#stage.quer-handy #lernplatz { order:5; }
#stage.quer-handy .as-nm small, #stage.quer-handy .as-zu small { display:none; }
#stage.quer-handy #schale { height:128px; } #stage.quer-handy #hand { height:62px; }
#stage.quer-handy #hand { width:140px; flex-direction:row; gap:6px; } #stage.quer-handy #hand small { line-height:1.15; text-align:left; }

.kv { position:absolute; left:50%; bottom:-7px; transform:translateX(-50%); display:inline-flex; align-items:center; gap:2px; height:22px; padding:0 5px; border-radius:11px; font-family:var(--sans); font-size:12.5px; font-weight:800; line-height:1; white-space:nowrap; z-index:3; pointer-events:none; box-shadow:0 2px 4px rgba(0,0,0,.5); }
.kv svg { width:13px; height:13px; flex:none; }
.kv-ja { background:#2f6e26; color:#f2ffe8; border:1px solid #8fe07a; }
.kv-nein { background:rgba(40,26,14,.92); color:#e0cfae; border:1px solid #8a7350; }
.kv-sonder { background:#6b4a12; color:#ffe9a8; border:1px solid #e3b54f; }
.oese.mit-kv { visibility:hidden; }
#stage.hf .kv, #stage.quer-handy .kv { font-size:13px; }
.schnur.kv-ziel { box-shadow:inset 0 0 0 3px #8fe07a, 0 0 12px rgba(143,224,122,.55); }
#stage.hf #auftraege { flex:0 0 100%; justify-content:center; }
#stage.hf #gegner[data-n="3"] { gap:6px; }
#stage.hf #gegner[data-n="3"] .gp-kopf { gap:3px; padding:2px 5px; }
#stage.hf #gegner[data-n="3"] .gp-kopf b { max-width:54px; }
#stage.hf #gegner[data-n="3"] .gp-kopf .ava { width:24px !important; height:24px !important; }
#stage.hf #gegner[data-n="3"] .gp-fach { display:none; }
#stage.hf #ablage { row-gap:4px; }
#stage.hf .sack-bild { width:38px; height:38px; } #stage.hf .fach-platz { width:44px; height:44px; } #stage.hf #sackfach { gap:2px; }
#stage.hf #gegner[data-n="3"] .gegner-platz { --zm:9px; }
.schnur.kann.arm { box-shadow:inset 0 0 0 3px #ffe27a, 0 0 14px rgba(255,226,122,.7); background:rgba(255,226,122,.22); }
#stage.quer-handy #ablage { width:auto; display:grid; grid-template-columns:150px 76px; grid-auto-rows:min-content; align-content:center; column-gap:8px; row-gap:6px; }
#stage.quer-handy #schale { grid-column:1; grid-row:1; } #stage.quer-handy #hand { grid-column:1; grid-row:2; width:150px; }
#stage.quer-handy #sackfach { grid-column:2; grid-row:1; flex-direction:column; align-items:center; gap:4px; }
#stage.quer-handy #auftraege { grid-column:2; grid-row:2 / span 2; width:76px; gap:4px; }
#stage.quer-handy #auftraege .az-kopf { display:none; }
#stage.quer-handy .zettel { grid-template-columns:22px auto; padding:3px 5px; min-height:40px; } #stage.quer-handy .zettel .zt { display:none; }
#stage.quer-handy #fach > small { display:none; } #stage.quer-handy #sackfach { gap:2px; }

#rahmen { position:relative; }
#rahmen.fremd { border-color:var(--sf, #2e1a0a); box-shadow:0 0 0 3px var(--sf, transparent), 0 10px 22px rgba(0,0,0,.55); }
#brett-wer { position:absolute; left:50%; bottom:0; transform:translate(-50%, 55%); z-index:4; display:flex; align-items:center; gap:8px; padding:3px 6px 3px 4px; border-radius:16px; white-space:nowrap;
  background:rgba(28,16,8,.94); border:2px solid var(--sf, #c9a24a); color:#f6ecd8; font-size:13px; box-shadow:0 4px 10px rgba(0,0,0,.5); }
#brett-wer[hidden] { display:none; }
#brett-wer b { color:#ffe9b0; } #brett-wer small { color:#d8c7a6; font-size:13px; }
#brett-wer .kb { min-height:30px; padding:2px 10px; }
.gegner-platz[data-s] { cursor:default; }
#stage.hf #brett-wer { font-size:12.5px; gap:5px; padding:2px 6px 2px 3px; } #stage.hf #brett-wer small { font-size:12.5px; }
#stage.hf #meldungen { top:calc(66px + var(--fh)); }

#stage:not(.hoch):not(.quer-handy) #gegner .gegner-platz { --zm:var(--zmq, 15px); }
#seite #auftraege { width:auto; flex:none; display:flex; flex-direction:column; gap:5px; }
#seite #auftraege .az-kopf { display:block; }
#seite #auftraege .zettel { transform:none; } #seite #auftraege .zettel .zt small { display:inline; }
#stage:not(.hoch):not(.quer-handy) #hand { width:150px; height:120px; } #stage:not(.hoch):not(.quer-handy) .hand-perle { width:64px; height:64px; }
#stage:not(.hoch):not(.quer-handy) .sack-bild { width:62px; height:68px; } #stage:not(.hoch):not(.quer-handy) .fach-platz { width:68px; height:68px; }
#stage:not(.hoch):not(.quer-handy) #ablage { gap:18px; }

#stage:not(.hoch):not(.quer-handy) #schale { width:330px; height:104px; border-radius:52px; }
#stage:not(.hoch):not(.quer-handy) #schale::before { inset:9px 12px; border-radius:44px; }
#stage:not(.hoch):not(.quer-handy) #schale-perlen { grid-template-columns:repeat(5, auto); gap:8px; margin-top:-12px; }
#stage:not(.hoch):not(.quer-handy) #schale-perlen .sp:nth-child(5) { grid-column:auto; }
#stage:not(.hoch):not(.quer-handy) #ablage { align-items:flex-end; }
#stage:not(.hoch):not(.quer-handy) #sackfach { align-items:flex-end; }
#stage:not(.hoch):not(.quer-handy) #tischmitte { padding-top:22px; }
.as-zu small { color:var(--text); }

.zelle.offen-unten svg { filter:saturate(.45) brightness(.8) contrast(.9); }
.zelle.offen-unten::after { border:2px dashed #d9c79c; box-shadow:none; }
.rahmen.mini .zelle.offen-unten::after { border-width:1px; }

.fach-plaetze { display:flex; gap:6px; }
#stage.quer-handy .fach-plaetze { flex-direction:column; gap:4px; }
#stage.hf #schale { width:236px; } #stage.hf #hand { width:70px; } #stage.hf .fach-plaetze { gap:4px; }
#sack small, #fach > small { white-space:nowrap; }
.gp-aus { font-size:11px; font-weight:800; color:#2a1a08; background:#f1cf74; border-radius:999px; padding:1px 7px; letter-spacing:.02em; }
.zelle.aufgedeckt { animation: pe-aufgedeckt 1.3s ease-out; }
@keyframes pe-aufgedeckt { 0% { filter: drop-shadow(0 0 0 #fff3b0); transform: scale(1.25); } 40% { filter: drop-shadow(0 0 10px #fff3b0); } 100% { filter: none; transform: none; } }
.sanduhr-wahl .kb { display:flex; align-items:center; gap:8px; }
@media (prefers-reduced-motion: reduce) { .zelle.aufgedeckt { animation: none; outline: 2px solid #f1cf74; } }
.schild { position:relative; }
.sn-bunt { position:absolute; top:2px; right:2px; width:9px; height:9px; border-radius:50%; pointer-events:none; background:conic-gradient(#c0392b,#e6a91e,#3c8a3a,#2f62a8,#7d3c98,#c0392b); box-shadow:0 0 0 1.5px #fff8e6; }
.schild.bunt { box-shadow: inset 0 -2px 0 rgba(230,169,30,.55); }
.fach-plaetze.kasten { display:grid; grid-template-columns:repeat(3, auto); gap:4px; }
.fach-plaetze.kasten .fach-platz { width:42px !important; height:42px !important; padding:3px; border-width:2px; border-radius:8px; }
#stage.hf .fach-plaetze.kasten .fach-platz, #stage.quer-handy .fach-plaetze.kasten .fach-platz { width:34px !important; height:34px !important; padding:2px; }
.fach-platz.geht { cursor:pointer; box-shadow:0 0 0 2px #f1cf74, 0 0 10px rgba(241,207,116,.7) !important; }
.kasten-hin { display:block; margin-top:4px; font-size:13px; }
.faerben-wahl { display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; padding:10px; }
.faerben-wahl .fw { display:flex; flex-direction:column; align-items:center; gap:3px; padding:6px; border-radius:10px; border:2px solid #9c865c; background:linear-gradient(#f6ecd2, #e2d0a8); cursor:pointer; min-height:44px; }
.faerben-wahl .fw svg { width:40px; height:40px; } .faerben-wahl .fw small { font-size:12px; color:#2b1d0c; }
.faerben-wahl .fw.gleich { opacity:.45; cursor:default; } .faerben-wahl .fw:not(.gleich):hover { border-color:#c9a24a; box-shadow:0 0 8px rgba(201,162,74,.6); }
#stage.hf #schale-perlen { grid-template-columns:repeat(5, auto); gap:2px; }
#stage.hf .sp { width:42px; height:42px; padding:2px; }
#stage.hf #sackfach { flex-direction:row; align-items:center; gap:8px; }
#stage.hf .fach-plaetze.kasten { grid-template-columns:repeat(6, auto); gap:3px; }
#stage.hf .fach-plaetze.kasten .fach-platz { width:32px !important; height:32px !important; }
#stage.hf #schale-perlen .sp:nth-child(5), #stage.hoch #schale-perlen .sp:nth-child(5) { grid-column:auto; }
#stage.quer-handy #schale-perlen { grid-template-columns:repeat(3, auto); gap:2px; justify-content:center; }
#stage.quer-handy .sp { width:42px !important; height:42px !important; padding:2px; }
#stage.quer-handy #schale-perlen .sp:nth-child(5) { grid-column:auto; }
.ch-werk { flex:1 1 auto; min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:10px; padding:8px 4px 4px; }
.ch-werk[hidden] { display:none; }
.ch-werk #sackfach { display:flex; flex-direction:row; align-items:flex-start; justify-content:center; gap:22px; }
.ch-werk #sack, .ch-werk #fach { display:flex; flex-direction:column; align-items:center; gap:4px; }
.ch-werk small { font-size:13px; font-weight:700; color:#2b1d0c; }
.ch-werk .sack-bild { width:52px !important; height:58px !important; }
.ch-werk .fach-plaetze.kasten .fach-platz { width:46px !important; height:46px !important; padding:3px; }
.ch-werk #auftraege { width:auto !important; flex:none; display:flex; flex-direction:column; gap:5px; }
.ch-werk #auftraege .az-kopf { display:block; } .ch-werk #auftraege .zettel { transform:none; } .ch-werk #auftraege .zettel .zt small { display:inline; }
.ch-tabs button[data-c="werk"][hidden] { display:none; }
#ch-werk-knopf.lockt { box-shadow:0 0 0 2px #e6a91e, 0 0 12px rgba(230,169,30,.75); animation: pe-lockt 1.6s ease-in-out infinite; }
@keyframes pe-lockt { 50% { box-shadow:0 0 0 2px #e6a91e, 0 0 4px rgba(230,169,30,.3); } }
@media (prefers-reduced-motion: reduce) { #ch-werk-knopf.lockt { animation:none; } }
.schild.offen { background:transparent; border-color:transparent; box-shadow:none; }
.schild:not(.offen) { border-radius:999px; }
.ch-tabs button[data-c] { min-height:34px !important; padding:3px 6px !important; font-size:13.5px; }
.ch-werk { overflow:hidden; gap:8px; padding:6px 2px 2px; }
.ch-werk .sack-bild { width:44px !important; height:48px !important; }
.ch-werk .fach-plaetze.kasten .fach-platz { width:42px !important; height:42px !important; padding:3px; }
.ch-werk #auftraege { gap:3px; } .ch-werk #auftraege .zettel { padding:2px 7px; }
#stage:not(.hoch):not(.quer-handy) #schale { width:470px; height:118px; border-radius:59px; }
#stage:not(.hoch):not(.quer-handy) #schale-perlen { gap:14px; }
#stage:not(.hoch):not(.quer-handy) .sp { width:66px; height:66px; }
.ch-werk { display:grid; grid-template-columns:auto minmax(0, 1fr); align-items:start; align-content:start; column-gap:12px; row-gap:8px; }
.ch-werk #sackfach { gap:10px; }
.ch-werk #auftraege .zettel { min-width:0; }
.ch-werk { display:block; container-type:size; overflow:hidden; padding:6px 2px 2px; }
.ch-werk[hidden] { display:none; }
.werk-in { height:100%; display:grid; grid-template-columns:auto minmax(0, 1fr); align-items:start; align-content:start; column-gap:12px; row-gap:8px; }
@container (min-height: 250px) {
  .werk-in { grid-template-columns:1fr; align-content:space-evenly; row-gap:clamp(4px, 3cqh, 28px); }
  .werk-in #sackfach { justify-content:center; align-items:center; gap:clamp(14px, 6cqw, 40px); }
  .werk-in .sack-bild { width:clamp(44px, 12cqh, 86px) !important; height:clamp(48px, 13cqh, 94px) !important; }
  .werk-in .fach-plaetze.kasten { gap:clamp(4px, 1.4cqh, 10px); }
  .werk-in .fach-plaetze.kasten .fach-platz { width:clamp(40px, min(18cqw, 14cqh), 88px) !important; height:clamp(40px, min(18cqw, 14cqh), 88px) !important; padding:clamp(3px, 1cqh, 7px); }
  .werk-in small { font-size:clamp(13px, 3cqh, 16px); }
  .werk-in #auftraege { gap:clamp(4px, 1.6cqh, 12px); }
  .werk-in #auftraege .zettel { padding:clamp(3px, 1.4cqh, 10px) 12px; font-size:clamp(13px, 2.8cqh, 17px); }
  .werk-in #auftraege .zettel { grid-template-columns:clamp(22px, 6cqh, 34px) minmax(0, 1fr) auto; gap:10px; }
  .werk-in #auftraege .zettel .zz, .werk-in #auftraege .zettel .zz-k { width:clamp(20px, 5.5cqh, 32px); height:clamp(20px, 5.5cqh, 32px); }
  .werk-in #auftraege .zettel .zt b { font-size:clamp(13px, 3.2cqh, 18px); } .werk-in #auftraege .zettel .zt small { font-size:clamp(12px, 2.8cqh, 15px); }
  .werk-in #auftraege .zettel .zp { font-size:clamp(14px, 3.4cqh, 19px); }
  .werk-in #auftraege .az-kopf { font-size:clamp(12px, 2.6cqh, 15px); }
}
.schild:not(.offen) { width:auto; max-width:calc(100% - 10px); margin-left:auto; margin-right:auto; padding:0 18px 0 11px; height:28px; align-self:center; }
.schild:not(.offen) .sn-t { gap:5px; }
.schild .sn-bunt { top:3px; right:4px; }
.az-rest { font-weight:600; letter-spacing:0; text-transform:none; opacity:.85; }
.az-hin { display:none; font-size:12.5px; color:#5a4630; font-style:italic; margin:-1px 0 2px; }
.werk-in .az-hin { display:block; }
.zettel.neu { position:relative; animation: pe-zettel-rein .7s cubic-bezier(.2,.8,.3,1.2); box-shadow:0 0 0 2px #e6a91e, 0 0 12px rgba(230,169,30,.6); }
.zettel.neu::after { content:'neu'; position:absolute; top:-7px; right:-6px; font:800 11px var(--sans); color:#2a1a08; background:#f1cf74; border-radius:999px; padding:1px 6px; }
@keyframes pe-zettel-rein { 0% { box-shadow:0 0 0 2px #e6a91e, 0 0 26px rgba(230,169,30,.95); } 100% { box-shadow:0 0 0 2px #e6a91e, 0 0 12px rgba(230,169,30,.6); } }
@media (prefers-reduced-motion: reduce) { .zettel.neu { animation:none; } }
#stage:not(.hoch):not(.quer-handy) .banner { left:calc(24px + var(--fw) / 2); top:calc(84px + var(--fh) * .4); }
#stage:not(.hoch):not(.quer-handy) .wahl { left:calc(24px + var(--fw) / 2); top:calc(84px + var(--fh) / 2); max-height:calc(var(--fh) - 20px); overflow-y:auto; }
#stage.quer-handy .banner, #stage.quer-handy .wahl { left:calc(12px + (100% - var(--sw) - 36px) / 2); }
.kasten-rahmen { font-size:12.5px !important; font-weight:600 !important; opacity:.85; }
#stage.hf .kasten-rahmen, #stage.quer-handy .kasten-rahmen { display:none; }
@container (min-height: 250px) {
  .werk-in { align-content:space-between; row-gap:1.5cqh; }
  .werk-in .fach-plaetze.kasten .fach-platz { width:clamp(36px, min(18cqw, 12cqh), 88px) !important; height:clamp(36px, min(18cqw, 12cqh), 88px) !important; }
  .werk-in .sack-bild { width:clamp(40px, 10cqh, 80px) !important; height:clamp(44px, 11cqh, 88px) !important; }
  .werk-in small { font-size:clamp(12px, 2.6cqh, 16px); }
  .werk-in #auftraege { gap:clamp(3px, 1.2cqh, 10px); }
  .werk-in #auftraege .zettel { padding:clamp(2px, 0.9cqh, 8px) 12px; }
  .werk-in #auftraege .zettel .zt b { font-size:clamp(12.5px, 2.7cqh, 17px); } .werk-in #auftraege .zettel .zt small { font-size:clamp(12px, 2.4cqh, 15px); }
  .werk-in #auftraege .zettel .zz, .werk-in #auftraege .zettel .zz-k { width:clamp(20px, 4.6cqh, 30px); height:clamp(20px, 4.6cqh, 30px); }
  .werk-in #auftraege .zettel .zp { font-size:clamp(14px, 3cqh, 18px); }
  .werk-in .az-hin { font-size:clamp(12px, 2.4cqh, 14px); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin:2px 0 0; }
}
@container (max-height: 249px) { .werk-in .az-hin { display:none; } .werk-in #auftraege .zettel { padding:1px 7px; } .werk-in #auftraege { gap:3px; } }
.schnur.zu.zu-bunt .zellen::after { border-color:rgba(241,207,116,.95); box-shadow:0 0 14px rgba(241,207,116,.6); }
.schnur.zu.zu-bunt { background:linear-gradient(rgba(241,207,116,.16), rgba(241,207,116,.08)); }
.schnur.zu.zu-bunt .schild { background:linear-gradient(#fbecb8, #e9c86a); border-color:#a8842a; }
#schale small { bottom:5px; padding:0 8px; border-radius:6px; background:#e6dfd1; display:flex; align-items:center; gap:7px; line-height:16px; }
#schale small::before, #schale small::after { content:''; width:5px; height:5px; background:#3e6aa8; opacity:.6; transform:rotate(45deg); flex:none; }
#stage:not(.hoch):not(.quer-handy) #schale small { bottom:2px; background:#ddd5c4; }
.sn-bunt.unikat { background:#e6a91e; border-radius:2px; transform:rotate(45deg); box-shadow:0 0 0 1.5px #fff8e6; }
.sn-zw { position:absolute; top:2px; left:4px; font:800 11px var(--sans); font-style:normal; color:#fff8e6; background:#7a4e0c; border-radius:6px; padding:0 3px; line-height:12px; pointer-events:none; }
.zettel.geheim { background:linear-gradient(#3a2a1a, #2a1d10); color:#f6ecd8; border:1px solid #7a5a2a; }
.zettel.geheim .zt b { color:#f1cf74; display:flex; align-items:center; gap:4px; } .zettel.geheim .zt b .sgzi, .zettel.geheim .zt b svg { width:12px; height:12px; }
.zettel.geheim .zt small { color:#e6dcc4 !important; } .zettel.geheim .zp { color:#f1cf74; }
.zettel.geheim.ok { box-shadow:0 0 0 2px #8fe07a; } .zettel.geheim.ok .zt small { color:#bdf0a8 !important; }
@container (max-height: 239px) {
  .werk-in #auftraege .zettel .zt { flex-direction:row; gap:4px; white-space:nowrap; overflow:hidden; }
  .werk-in #auftraege .zettel .zt b, .werk-in #auftraege .zettel .zt small { overflow:hidden; text-overflow:ellipsis; }
  .werk-in #auftraege .zettel { padding:1px 6px; min-height:0; } .werk-in #auftraege .az-kopf { font-size:11.5px; }
}
.werk-in { --kslot:42px; --kgap:4px; }
.werk-in .fach-plaetze.kasten { gap:var(--kgap) !important; }
.werk-in .fach-plaetze.kasten .fach-platz { width:var(--kslot) !important; height:var(--kslot) !important; }
.werk-in #sack { justify-content:flex-end; }
.werk-in .sack-bild { width:calc(var(--kslot) * 2 + var(--kgap) - 6px) !important; height:calc(var(--kslot) * 2 + var(--kgap)) !important; }
.werk-in .az-hin { white-space:normal !important; overflow:visible !important; }
.werk-in #auftraege .zettel.geheim { margin-bottom:6px; }
@container (min-height: 250px) { .werk-in { --kslot:clamp(36px, min(16cqw, 11cqh), 80px); --kgap:clamp(4px, 1.2cqh, 9px); } }
@container (max-height: 239px) { .werk-in { --kslot:34px; --kgap:3px; } }
@container (max-height: 249px) {
  .werk-in { --kslot:36px; --kgap:3px; column-gap:8px; }
  .werk-in .sack-bild { width:calc(var(--kslot) * 1.15) !important; height:calc(var(--kslot) * 1.4) !important; }
  .werk-in #sackfach { gap:6px; }
  .werk-in .kasten-rahmen { font-size:11px !important; }
}
#stage.hf #auftraege { flex-wrap:nowrap; gap:6px; justify-content:center; }
#stage.hf #auftraege .zettel { grid-template-columns:auto auto; gap:4px; padding:3px 8px; min-height:40px; transform:none; }
#stage.hf #auftraege .zettel .zt, #stage.hf #auftraege .az-hin, #stage.hf #auftraege .az-kopf { display:none; }
#stage.hf #auftraege .zettel.geheim::before { content:""; width:12px; height:12px; background:currentColor; -webkit-mask:var(--schloss) center/contain no-repeat; mask:var(--schloss) center/contain no-repeat; display:none; }
#stage.hf #ablage { flex-wrap:wrap; justify-content:center; align-items:center; column-gap:8px; row-gap:6px; }
#stage.hf .fach-plaetze.kasten { grid-template-columns:repeat(3, auto) !important; gap:3px !important; }
#stage.hf .fach-plaetze.kasten .fach-platz { width:40px !important; height:40px !important; padding:3px; }
#stage.hf #sackfach { flex-direction:row; align-items:center; gap:6px; }
#stage.hf #auftraege { flex:none !important; display:grid !important; grid-template-columns:repeat(2, auto); gap:4px !important; width:auto !important; }
#stage.hf #auftraege .zettel { min-height:38px; padding:2px 7px; }
#stage.hf #schale { height:88px !important; } #stage.hf .sp { width:40px !important; height:40px !important; }
#stage.hf #hand { height:88px !important; min-height:0 !important; }
.rahmen.mini .schild { display:none !important; }
.en-platz { grid-template-columns:36px 36px minmax(90px, 0.9fr) repeat(6, 64px) 72px !important; gap:6px; }
.en-platz .ex { display:none; }
.en-platz .w b.zf { font-size:17px; } .en-platz .w b.leer { color:var(--text-3); font-weight:500; } .en-platz .summe b.zf { font-size:22px; }
.en-platz.kopf span { font-size:11px; letter-spacing:.5px; line-height:1.15; }
.en-platz .nmx small { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#stage.hf .en-platz { grid-template-columns:30px 32px minmax(0, 1fr) 58px 58px 58px !important; }
#stage.hf .en-platz > :nth-child(n+5):nth-child(-n+9) { display:none !important; } #stage.hf .en-platz .ex { display:block; }
#stage.hf .en-platz > :nth-child(6) { display:none !important; }
.gegner-platz .rahmen.mini { align-self:center; width:max-content; justify-content:center; }
@container (min-height: 250px) { .werk-in { --kslot:clamp(28px, min(16cqw, 10cqh), 80px); --kgap:clamp(3px, 1cqh, 9px); } .werk-in .az-hin { display:none; } .werk-in #auftraege .zettel { padding:clamp(1px, 0.7cqh, 8px) 10px; } }
@container (min-height: 360px) { .werk-in .az-hin { display:block; } }
.rahmen.mini .schnur { flex:0 0 var(--z) !important; }
.rahmen.mini .schnur.zu .zellen::after { inset:-2px -1px; border-width:1.5px; border-radius:4px; box-shadow:none; }
.rahmen.mini .schnur.zu.zu-bunt .zellen::after { box-shadow:none; }
.rahmen.mini .schnur.zu, .rahmen.mini .schnur.zu.zu-bunt { background:none; }
.bw-schritt { text-align:center; font:700 20px var(--serif, Georgia), serif; color:#f1cf74; margin:4px 0 10px; min-height:26px; }
.bw-liste { display:flex; flex-direction:column; gap:12px; }
.bw-zeile { display:grid; grid-template-columns:40px minmax(90px, 150px) minmax(0, 1fr) 64px; grid-template-areas:"ava nm spur zahl" ". . chips ."; align-items:center; column-gap:12px; row-gap:6px; padding:10px 12px; border-radius:12px; background:rgba(0,0,0,.22); border:1px solid transparent; transition:border-color .4s, box-shadow .4s; }
.bw-zeile > .ava { grid-area:ava; } .bw-nm { grid-area:nm; font-weight:700; font-size:16px; display:flex; flex-direction:column; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bw-nm small { font-size:12.5px; font-weight:600; color:#f1cf74; min-height:15px; }
.bw-spur { grid-area:spur; height:26px; border-radius:13px; background:rgba(255,255,255,.08); box-shadow:inset 0 2px 4px rgba(0,0,0,.4); overflow:hidden; }
.bw-fuell { display:block; height:100%; width:0; border-radius:13px; background:linear-gradient(90deg, color-mix(in srgb, var(--sf) 70%, #000), var(--sf)); transition:width .9s cubic-bezier(.3,.7,.2,1); }
.bw-zahl { grid-area:zahl; text-align:right; font-size:28px; opacity:0; transform:scale(.6); transition:opacity .4s, transform .4s; }
.bw-zeile.fertig .bw-zahl { opacity:1; transform:none; }
.bw-chips { grid-area:chips; display:flex; flex-wrap:wrap; gap:5px; }
.bw-chip { font-size:12.5px; padding:2px 9px; border-radius:999px; background:rgba(143,224,122,.14); border:1px solid rgba(143,224,122,.45); animation:pe-chip .35s ease-out; }
.bw-chip small { color:var(--text-3); } .bw-chip b { color:#8fe07a; } .bw-chip.minus { background:rgba(224,110,90,.14); border-color:rgba(224,110,90,.5); } .bw-chip.minus b { color:#f08a6e; }
@keyframes pe-chip { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }
.bw-zeile.sieger { border-color:#f1cf74; box-shadow:0 0 0 1px #f1cf74, 0 0 18px rgba(241,207,116,.45); }
.bw-zeile.sieger .bw-fuell { background:linear-gradient(90deg, #b98a14, #f1cf74); box-shadow:0 0 12px rgba(241,207,116,.7); }
.bw-tab { display:block; margin:12px auto 0; } .bw-tabelle { margin-top:10px; }
#stage.hf .bw-zeile { grid-template-columns:32px minmax(0, 1fr) 54px; grid-template-areas:"ava nm zahl" "spur spur spur" "chips chips chips"; padding:8px; column-gap:8px; }
@media (prefers-reduced-motion: reduce) { .bw-fuell, .bw-zahl { transition:none; } .bw-chip { animation:none; } }
.bw-tabelle { margin-top:14px; } .bw-tabelle.rein { animation:pe-chip .45s ease-out; }
.bw-tab-kopf { text-align:center; font:700 16px var(--serif, Georgia), serif; color:#f1cf74; margin-bottom:6px; }
.bw-chips[hidden] { display:none; }
.bw-liste .bw-zeile { row-gap:0; }
#endtafel .ov-box { --ovze:min(var(--ovz, 1), 1.15); zoom:var(--ovze); max-width:min(980px, calc((100% - 24px) / var(--ovze))); max-height:calc((100% - 20px) / var(--ovze)); padding:0 18px 12px; }
#endtafel .en-unter { margin:2px 0 6px; font-size:13.5px; }
#endtafel .bw-schritt { margin:0 0 6px; font-size:18px; min-height:22px; }
#endtafel .bw-liste { gap:6px; }
#endtafel .bw-zeile { padding:6px 10px; }
#endtafel .bw-zeile .ava { width:32px !important; height:32px !important; }
#endtafel .bw-spur { height:20px; } #endtafel .bw-zahl { font-size:24px; }
#endtafel .bw-tabelle { margin-top:8px; } #endtafel .bw-tab-kopf { margin-bottom:2px; font-size:14px; }
#endtafel .en-platz { padding:4px 10px; } #endtafel .en-platz .ava { width:30px !important; height:30px !important; }
#endtafel .ov-knoepfe { margin-top:8px; }
.as { grid-template-columns:40px minmax(0, 1fr) 70px 66px 26px !important; }
.as-vb { flex-wrap:wrap; justify-content:flex-end; gap:2px; max-width:70px; }
#stage.hf .as, #stage.quer-handy .as { grid-template-columns:32px minmax(0, 1fr) 54px 54px 22px !important; } #stage.hf .as-vb .vb, #stage.quer-handy .as-vb .vb { width:12px; height:12px; }
.schnur.bunt-neu .zellen::after { animation:pe-bunt-neu 1.7s ease-out; }
.schnur.bunt-neu { animation:pe-bunt-hub 1.7s ease-out; }
@keyframes pe-bunt-neu { 0% { box-shadow:0 0 0 0 rgba(241,207,116,0); } 25% { box-shadow:0 0 0 6px rgba(241,207,116,.9), 0 0 30px rgba(241,207,116,.9); } 100% { box-shadow:0 0 14px rgba(241,207,116,.6); } }
@keyframes pe-bunt-hub { 0% { transform:none; } 20% { transform:scale(1.05); } 40% { transform:none; } }
#sack .abwurf { font-size:11px; font-weight:600; opacity:.85; }
#sack.mischt .sack-bild { animation:pe-mischen 1.1s ease-in-out; }
@keyframes pe-mischen { 0%,100% { transform:none; } 20% { transform:rotate(-10deg) scale(1.06); } 40% { transform:rotate(9deg); } 60% { transform:rotate(-6deg) scale(1.04); } 80% { transform:rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { #sack.mischt .sack-bild { animation:none; } }
.knotenstempel.zwilling { flex-wrap:wrap; justify-content:center; max-width:220px; background:linear-gradient(#fff1c4, #e2b64e); border-color:#8a5d10; color:#4a2e05; font-size:17px; animation:stempel-zw 2.7s ease-out forwards; }
.knotenstempel.zwilling i { flex-basis:100%; text-align:center; font:800 13px var(--sans); font-style:normal; letter-spacing:.04em; color:#7a4e0c; }
@keyframes stempel-zw { 0% { transform:translate(-50%, -50%) rotate(-8deg) scale(2.2); opacity:0; } 14% { transform:translate(-50%, -50%) rotate(-8deg) scale(1); opacity:1; } 26% { transform:translate(-50%, -50%) rotate(-4deg) scale(1.15); } 40% { transform:translate(-50%, -50%) rotate(-8deg) scale(1); } 85% { opacity:1; } 100% { opacity:0; } }
.schnur.zwilling-an { animation:zwilling-an 2.5s ease-out; }
@keyframes zwilling-an { 0%,100% { filter:none; } 20%,60% { filter:drop-shadow(0 0 8px #f1cf74) drop-shadow(0 0 3px #fff3c4); } 40% { filter:drop-shadow(0 0 3px #f1cf74); } }
@media (prefers-reduced-motion: reduce) { .knotenstempel.zwilling, .schnur.zwilling-an { animation:none; } }
.schnur.verknotet.zwilling-an { animation:verknotet 1.4s ease-out, zwilling-an 2.5s ease-out; }

#hilfe .ov-box { display:flex; flex-direction:column; overflow:hidden; }
#hilfe .hilfe-text { max-height:none; overflow:auto; min-height:0; flex:1 1 auto; padding-right:8px; }
